[Parted-maintainers] Bug#693510: Treat adaN devices as SCSI (cam) devices; improve detection

Jeff Epler jepler at unpythonic.net
Thu Dec 20 14:22:46 UTC 2012


Control: tags -1 + patch

As noted earlier, the problem is that devices like "ada0" are
incorrectly being treated as IDE devices (ad0), not SCSI (cam) devices
(da0); subsequent ioctls specific to IDE devices (such as IOCATAGPARM)
would fail.

I believe the attached change (debdiff) resolves the problem.  

I only tested on an installed system, but believe it would equally well
fix the problem as seen in the installer.

However, I do not have any true scsi devices to test it on, nor do I
have a freebsd 8 kernel to test it on (reportedly, the problem I'm
solving occurs only on the freebsd 9 kernel)

Also, I experienced a little feature creep as I noticed that 'model' was
blank and 'sector size' was not right for AF drives.  These are
corrected as well.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug693510.patch
Type: text/x-diff
Size: 4232 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20121220/3c3c97e0/attachment.patch>


More information about the Parted-maintainers mailing list