LWN: Comments on "Parallel IDE drivers" https://lwn.net/Articles/198344/ This is a special feed containing comments posted to the individual LWN article titled "Parallel IDE drivers". en-us Sat, 06 Sep 2025 01:23:06 +0000 Sat, 06 Sep 2025 01:23:06 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net LibATA and PATA drivers, hdparm/sdparm, and partitions https://lwn.net/Articles/199982/ https://lwn.net/Articles/199982/ Duncan sdparm is FAR less mature than hdparm, and in many cases is essentially a <br> read-only interface (like hdparm -i/-I). That doesn't seem to be changing <br> very fast, either. OTOH, hdparm is slowly but surely developing <br> additional general SCSI and libATA specific capacities. The biggest <br> holdup initially was that libATA didn't support pass-thru of the needed <br> ATA command set, so hdparm couldn't get the necessary commands thru to the <br> hardware or the necessary results back from the hardware, but that seems <br> to be changing with the latest kernels (2.6.17-rcX+, AFAIK). Apparently, <br> hdparm has actually had the ability to send the commands to libATA for <br> some time and was only waiting on libATA to pass them thru, so the hdparm <br> actually working functionality has been "magically" improving with the <br> latest kernels, even without new versions of hdparm.<br> <p> One can therefore come to a relatively safe conclusion that hdparm will <br> continue to function more or less as it always has, possibly with no <br> actual user visible changes at all, as libATA capacities in regard to PATA <br> hardware improve.<br> <p> Of course, the other big issue is that the traditional IDE interface has <br> allowed for 63 partitions, while SCSI has only allowed for 15. On my last <br> PATA drive I had some 20-plus partitions, some of which were backup images <br> of others. Fortunately, I saw mention of fact that the 15 partition SCSI <br> limit applied to libATA SATA drives as well, before I tried switching <br> over, so I wasn't caught unaware and was able to prepare. However, there <br> will likely be those for whom it's a problem. <br> <p> (As it happened, by the time I actually switched to SATA, I had decided to <br> go quad SATA drive kernel RAID, RAID-1 boot, partitioned RAID-6 main <br> system, RAID-0 for temporary and recacheable/redownloadable data. On the <br> RAID-6, I ran three partitions, root, root-bak, and a third partition <br> overlaid with LVM2, which contained most of my former partitions as LVM2 <br> logical volumes, so I didn't run into the issue. However, had I not seen <br> the warning about the 15 partition limit on SCSI including libATA, I <br> likely would have switched to SATA earlier and would have run into the <br> issue, so yes, it's a very real one for some people.)<br> <p> Maybe the libATA PATA work bypasses the 15-partition SCSI limit some way? <br> I'd certainly be nice if it did for those not running RAID or LVM, given <br> the half-terabyte and larger drives we are seeing now.<br> <p> Duncan<br> Tue, 19 Sep 2006 10:43:04 +0000 Parallel ATA drivers https://lwn.net/Articles/198851/ https://lwn.net/Articles/198851/ giraffedata I think one of the best things about this is retirement of "ide" as a misnomer for ATA (PATA) devices, at least in one place. <p> For those not familiar with the naming mixup: "IDE" is a technology that is used in <em>all</em> modern disk drives, including SCSI. The first IDE drives used the protocol called ATA (now sometimes PATA), and the names got mixed up. Fri, 08 Sep 2006 19:04:42 +0000 Parallel IDE drivers https://lwn.net/Articles/198649/ https://lwn.net/Articles/198649/ jzbiciak What about <A HREF="http://sg.torque.net/sg/sdparm.html">sdparm,</A> given libata disks show up as SCSI? Thu, 07 Sep 2006 13:07:19 +0000 Parallel IDE drivers https://lwn.net/Articles/198621/ https://lwn.net/Articles/198621/ cortana I believe this is a limitation of USB mass storage devices--similar to how you can't run smartctl on them. You might be able to do a few things with sdparm that you couldn't with hdparm, however--since they are 'SCSI' devices, after all.<br> Thu, 07 Sep 2006 10:20:58 +0000 Parallel IDE drivers https://lwn.net/Articles/198572/ https://lwn.net/Articles/198572/ rvfh Last time I checked, hdparm could not send much commands to 'SCSI' hard disk - in my case a USB-attached IDE hard disk -, and especially could not spin it down. Is that sorted now? Or does the [slow] move to libata remove some power management features? Thu, 07 Sep 2006 02:28:09 +0000