Comment 27 for bug 12519

Revision history for this message
Noel J. Bergman (noeljb) wrote :

Amit,

*NOTHING* appears in the acpid log for any of the following:

  - unlock the bay lever
  - pull the DVD drive
  - insert the DVD drive
  - lock the bay lever

This is true for both Gutsy and Hardy.

With Gutsy, I see the following from lshal -m:

  22:30:46.957: pci_8086_2850_scsi_host_scsi_device_lun0_scsi_generic removed
  22:30:46.988: pci_8086_2850_scsi_host_scsi_device_lun0 removed
  22:30:46.988: pci_8086_2850_scsi_host removed
  22:30:47.002: storage_model_DVD_RAM_UJ_852 removed
  22:30:54.717: pci_8086_2850_scsi_host added
  22:30:54.717: pci_8086_2850_scsi_host_scsi_device_lun0 added
  22:30:54.717: pci_8086_2850_scsi_host_scsi_device_lun0_scsi_generic added
  22:30:56.789: storage_model_DVD_RAM_UJ_852 added

and from udevmonitor:

  #udevmonitor --kernel --udev
  udevmonitor will print the received events for:
  UDEV the event which udev sends out after rule processing
  UEVENT the kernel uevent

  --- unlock lever ---
  UEVENT[1204083328.721202] change /devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0 (scsi)
  UDEV [1204083328.722937] change /devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0 (scsi)
  UEVENT[1204083329.309553] remove /class/scsi_generic/sg1 (scsi_generic)
  UEVENT[1204083329.309592] remove /class/scsi_device/2:0:0:0 (scsi_device)
  UEVENT[1204083329.309610] remove /block/sr0 (block)
  UEVENT[1204083329.310684] remove /devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0 (scsi)
  UDEV [1204083329.313203] remove /class/scsi_generic/sg1 (scsi_generic)
  UDEV [1204083329.316554] remove /class/scsi_device/2:0:0:0 (scsi_device)
  UDEV [1204083329.335449] remove /block/sr0 (block)
  UDEV [1204083329.396879] remove /devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0 (scsi)

  -- lock lever --
  UEVENT[1204083412.454330] add /devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0 (scsi)
  UEVENT[1204083412.475358] add /block/sr0 (block)
  UEVENT[1204083412.475397] add /class/scsi_device/2:0:0:0 (scsi_device)
  UEVENT[1204083412.475415] add /class/scsi_generic/sg1 (scsi_generic)
  UDEV [1204083412.549064] add /devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0 (scsi)
  UDEV [1204083412.563941] add /class/scsi_device/2:0:0:0 (scsi_device)
  UDEV [1204083412.564876] add /class/scsi_generic/sg1 (scsi_generic)
  UDEV [1204083414.630600] add /block/sr0 (block)

Now to check Hardy ...