Airlie: raspberry pi drivers are NOT useful
Airlie: raspberry pi drivers are NOT useful
Posted Oct 26, 2012 8:09 UTC (Fri) by khim (subscriber, #9252)In reply to: Airlie: raspberry pi drivers are NOT useful by bjacob
Parent article: Airlie: raspberry pi drivers are NOT useful
I can understand disappointment, but I can not see what the fuss is all about.
Bugs? CD drives and, especially, chipsets (especially easrly IDE chipsets) have tons of them - and kernel contains quite a set of workarounds. Some are not usable because of bugs.
Different APIs? Well, there were Creative/MKE/Panasonic, Mitsumi, and Sony interfaces - which needed different code in a supporting program. That was before ATAPI won, of course.
Support for different APIs? There were tons of them. Besides three CD-specific ones there were ATAPI, SCSI - and these evolved over time.
IOW: I see absolutely nothing unique in this driver. Well, except for the fact that graphic driver developers feel that they deserve to have lower-level interface then what Broadcom is offering.
Basically everything "bad" people are now saying about these drivers you could have said about CD interfaces when when they were "hot".
Posted Oct 26, 2012 12:34 UTC (Fri)
by bjacob (guest, #58566)
[Link] (4 responses)
Disk drivers don't typically cause your applications to crash. Disk driver bugs may have been problematic in the past but today, either due to being fixed or due to work-arounds, they're not an issue anymore for the user. Graphics driver bugs are a major user-visible issue everyday. We have detailed crash statistics for Firefox and driver issues are a significant cause of crashes. We had to add blacklists for graphics driver to bring crashiness down to acceptable levels. I don't think that any application has disk driver blacklists.
The correct disk analogy would be if a disk could only be used via the stdio and POSIX file API --- fopen, fwrite, fclose, chmod, unlink, etc. You wouldn't be able to access the disk as a block device at all, you couldn't even know or change what filesystem it's formatted as, and for reformatting/partitioning you could only use an opaque vendor-provided tool.
Posted Oct 26, 2012 15:28 UTC (Fri)
by renox (guest, #23785)
[Link] (2 responses)
Very funny, quite a few disk firmware lie(lied?) about the state of the data causing data loss in case of a crash because the firmware said that the data was on the disk even though it wasn't.
Posted Oct 26, 2012 17:00 UTC (Fri)
by magila (guest, #49627)
[Link] (1 responses)
Disks only "lie" about write data having been written if they are configured with write cache enabled. In this case they aren't lying at all, they are doing exactly what they were told to do. Turning off write caching will ensure no write completes without having been written to non-volatile storage. There may be isolated incidents where there are legitimate bugs in this functionality, but the overwhelming majority of drives have no issues here.
Posted Oct 27, 2012 7:48 UTC (Sat)
by farnz (subscriber, #17727)
[Link]
The historical problem to which people are referring is drives lying. There is a command in the ATA specification, FLUSH CACHE, documented as not completing until all data stored in drive caches is written to the disk. Back before ATX power supplies, many desktop drives completed the FLUSH CACHE command as soon as it came in, and then wrote the data from the cache to the platters as if no FLUSH CACHE command had been received, to improve benchmark results; it was sufficiently common a problem that Microsoft issued a hotfix for Windows 98SE and Windows ME that simply put in a two second delay before powering off the computer.
Posted Oct 26, 2012 17:05 UTC (Fri)
by khim (subscriber, #9252)
[Link]
It's quite an argument: because disks have good firmware in 2012 it's Ok to include CD Linux drivers in 1993. So you are saying that GPU firmware is still problematic in 2031 and thats the problem with Broadcom's driver? I wish to have such a precise crystal ball. I was talking about CD drivers, not about HDD drivers. CD burning software usually has extensive list of workarounds for different devices. Ah, you mean MTP? Yeah, it's supported by Linux, too. Both as host and as target.
Posted Oct 26, 2012 15:03 UTC (Fri)
by Zizzle (guest, #67739)
[Link]
Following the disk analogy, this more like your disk only exposing a filesystem interface.
And then the manufacture claiming it's the most open device ever.
Want to improve performance? Fix bugs? Use a FS more suited to your needs?
Better start begging Broadcom.
But it gets better, the Alan Cox is endorsing this model. Maybe all linux drivers should just be RPC shims in front of closed firmware blobs. Yay freedom.
Airlie: raspberry pi drivers are NOT useful
Airlie: raspberry pi drivers are NOT useful
So closed source disk firmware is a very big issue, but at least you can try to select providers with good firmware..
Airlie: raspberry pi drivers are NOT useful
Airlie: raspberry pi drivers are NOT useful
Disk driver bugs may have been problematic in the past but today, either due to being fixed or due to work-arounds, they're not an issue anymore for the user.
Airlie: raspberry pi drivers are NOT useful
Airlie: raspberry pi drivers are NOT useful
