[ltp] Re: [ibm-acpi-devel] udev hotswap events broken for bay in 2.6.24?

Marc MERLIN linux-thinkpad@linux-thinkpad.org
Sat, 10 May 2008 10:17:42 -0700


On Sat, May 10, 2008 at 10:10:09AM -0300, Henrique de Moraes Holschuh wrote:
> On Fri, 09 May 2008, Marc MERLIN wrote:
> > So, as shown below, I had it working until I upgraded to a newer kernel and
> > distro (2.6.24 / ubuntu hardy), and how I don't get a hotswap event anymore:
> 
> It is the ACPI issue indeed, drop libata ACPI support and your bay will
> start working again.

Hi Henrique, thanks for answering too.

See my other post which I sent just before seeing your reply.
It doesn't look like the bay driver is registering itself.

But given what you said, I tried to pull the latch (not the drive), and
things seem to have worked, yet I got no trace of bay.0/Bay event.
Is this how things are supposed to work now:

UEVENT[1210439655.108721] remove   /class/scsi_generic/sg1 (scsi_generic)
UEVENT[1210439655.108771] remove   /class/scsi_device/4:0:0:0 (scsi_device)
UEVENT[1210439655.109478] remove   /class/scsi_disk/4:0:0:0 (scsi_disk)
UEVENT[1210439655.109507] remove   /block/sdb (block)
UDEV  [1210439655.111086] remove   /class/scsi_generic/sg1 (scsi_generic)
UDEV  [1210439655.112054] remove   /class/scsi_device/4:0:0:0 (scsi_device)
UDEV  [1210439655.113125] remove   /class/scsi_disk/4:0:0:0 (scsi_disk)
UDEV  [1210439655.115017] remove   /block/sdb (block)
UEVENT[1210439657.573734] remove   /devices/pci0000:00/0000:00:1f.1/host4/target4:0:0/4:0:0:0 (scsi)
UDEV  [1210439657.574772] remove   /devices/pci0000:00/0000:00:1f.1/host4/target4:0:0/4:0:0:0 (scsi)



UEVENT[1210439700.324225] add      /devices/pci0000:00/0000:00:1f.1/host4/target4:0:0/4:0:0:0 (scsi)
UEVENT[1210439700.324265] add      /class/scsi_disk/4:0:0:0 (scsi_disk)
UEVENT[1210439700.351712] add      /block/sdc (block)
UEVENT[1210439700.351746] add      /class/scsi_device/4:0:0:0 (scsi_device)
UEVENT[1210439700.351764] add      /class/scsi_generic/sg1 (scsi_generic)
UDEV  [1210439700.439481] add      /devices/pci0000:00/0000:00:1f.1/host4/target4:0:0/4:0:0:0 (scsi)
UDEV  [1210439700.439506] add      /class/scsi_disk/4:0:0:0 (scsi_disk)
UDEV  [1210439700.439521] add      /class/scsi_device/4:0:0:0 (scsi_device)
UDEV  [1210439700.439532] add      /class/scsi_generic/sg1 (scsi_generic)
UEVENT[1210439700.474042] add      /kernel/uids/65534 (kernel)
UDEV  [1210439700.475129] add      /kernel/uids/65534 (kernel)
UEVENT[1210439700.514159] remove   /kernel/uids/65534 (kernel)
UDEV  [1210439700.515262] remove   /kernel/uids/65534 (kernel)
UDEV  [1210439700.621613] add      /block/sdc (block)

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/