https://bugzilla.novell.com/show_bug.cgi?id=679277
https://bugzilla.novell.com/show_bug.cgi?id=679277#c20
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |REOPENED
CC| |jbottomley@novell.com
Component|Kernel |Basesystem
Resolution|UPSTREAM |
AssignedTo|jbottomley@novell.com |bnc-team-screening@forge.pr
| |ovo.novell.com
--- Comment #20 from Dr. Werner Fink 2011-03-21 08:56:04 UTC ---
First: I've the syste mup and running.
(In reply to comment #19):
The error handling of the aic7xxx should fixed upstream yes.
Nevertheless, I've the system up and running as I've fixed
the bug in udev as reported by me in comment #16.
It is not a good idea to root the ATA HDIO_GET_IDENTITY to
as SCSI 2 device, like CDROMs or CD-writes. And this is
done in /lib/udev/rules.d/60-persistent-storage.rules at
line 31ff:
# ATA/ATAPI devices using the "scsi" subsystem
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi",
ATTRS{type}=="5", IMPORT{program}="ata_id --export $tempnode"
I've changed this on my local system to:
# ATA/ATAPI devices using the "scsi" subsystem
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi",
ATTRS{type}=="5", IMPORT{program}="ata_id --export $tempnode"
KERNEL=="sr2", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi", ATTRS{type}=="5",
IMPORT{program}="ata_id --export $tempnode"
KERNEL=="sr[01]", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi", ATTRS{type}=="5",
IMPORT{program}="scsi_id --export --whitelisted -d $tempnode"
and now the systems boot in a perfect way.
The major problem from the side of udev is that it is not possible to
distinguish a SCSI 2 CDROM from a ATAPI CDROM: both are of type 5
and *both* show a vendor not equal to ATA! The only difference is
the scsi_level found in the sysfs entry. Maybe there is an other
trick to avoid this.
IMHO these are two bugs: first of all udev or better its rules should
not fire an ATA HDIO_GET_IDENTITY to an device with SCSI level < 6.
Next bug is a new one: the SCSI or ATAPI layer of the kernel should
not route such inquires to devices not supporting such queries.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.