[Bug 38757] lshal does not list SCSI disc devices (DVD drive, CD writer)

Tim Müller t.i.m at zen.co.uk
Sat Apr 8 16:09:08 UTC 2006


Public bug reported:

Affects: hal (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed
Affects: Baltix
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed


Description:
lshal does not list any of my two SCSI devices, which is
  - a DVD-ROM drive, and a
  - CD reader/writer.

This is from dmesg after boot-up:

[4294676.518000] SCSI subsystem initialized
[4294679.817000] scsi0 : AdvanSys SCSI 3.3K: PCI Ultra: IO 0xD400-0xD40F, IRQ 0xA9
[4294679.822000]   Type:   CD-ROM                             ANSI SCSI revision: 02
[4294680.879000]   Vendor: TOSHIBA   Model: DVD-ROM SD-M1401  Rev: 1007
[4294680.879000]   Type:   CD-ROM                             ANSI SCSI revision: 02
[4294690.987000] sr0: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray
[4294690.987000] sr 0:0:0:0: Attached scsi CD-ROM sr0
[4294691.006000] sr1: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
[4294691.006000] sr 0:0:6:0: Attached scsi CD-ROM sr1
[4294691.018000] sr 0:0:0:0: Attached scsi generic sg0 type 5
[4294691.018000] sr 0:0:6:0: Attached scsi generic sg1 type 5
[4294701.105000] cdrom: open failed.

$ cat /sys/devices/platform/host0/scsi_host\:host0/device/target0\:0\:6/0\:0\:6\:0/model
DVD-ROM SD-M1401
$ cat /sys/devices/platform/host0/scsi_host\:host0/device/target0\:0\:0/0\:0\:0\:0/model
CD-R/RW MP7040S

$ lsmod

8139cp                 22528  0 
8139too                26880  0 
ac                      5252  1 acpi_sbs
acpi_sbs               19980  0 
advansys               82464  0 
agpgart                34888  1 via_agp
battery                 9988  1 acpi_sbs
binfmt_misc            12296  1 
bitblit                 6272  1 fbcon
bluetooth              49892  4 rfcomm,l2cap
button                  6672  0 
capability              5000  0 
cdrom                  38560  1 sr_mod
commoncap               7296  1 capability
container               4608  0 
cpufreq_conservative     7332  0 
cpufreq_ondemand        6428  0 
cpufreq_powersave       1920  0 
cpufreq_stats           5636  0 
cpufreq_userspace       4696  0 
dev_acpi               11140  0 
dm_mod                 58936  4 
evdev                   9856  1 
ext3                  135688  6 
fan                     4868  0 
fbcon                  42784  72 
font                    8320  1 fbcon
freq_table              4740  1 cpufreq_stats
gameport               15496  1 snd_via82xx
generic                 5124  0 
hotkey                 11556  0 
i2c_acpi_ec             5120  1 acpi_sbs
i2c_core               21904  4 i2c_acpi_ec,via686a,i2c_isa,i2c_viapro
i2c_isa                 4992  1 via686a
i2c_viapro              8980  0 
ide_disk               17664  9 
ide_generic             1536  0 
ipv6                  265600  10 
isofs                  37688  0 
jbd                    58772  1 ext3
l2cap                  26244  5 rfcomm
lp                     11844  0 
md_mod                 72532  0 
mii                     5888  3 via_rhine,8139cp,8139too
Module                  Size  Used by
parport                36296  2 lp,parport_pc
parport_pc             35780  1 
pcc_acpi               12288  0 
pci_hotplug            29236  1 shpchp
pcspkr                  2180  0 
processor              23360  1 thermal
psmouse                36228  0 
rfcomm                 40216  0 
rtc                    13492  0 
scsi_mod              138984  3 sg,sr_mod,advansys
serio_raw               7300  0 
sg                     37920  0 
shpchp                 45632  0 
snd                    55268  13 snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
snd_ac97_bus            2304  1 snd_ac97_codec
snd_ac97_codec         92704  1 snd_via82xx
snd_mixer_oss          18688  1 snd_pcm_oss
snd_mpu401_uart         7680  1 snd_via82xx
snd_page_alloc         10632  2 snd_via82xx,snd_pcm
snd_pcm                89736  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_pcm_oss            53664  0 
snd_rawmidi            25504  2 snd_seq_midi,snd_mpu401_uart
snd_seq                51984  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device          8716  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_seq_dummy           3844  0 
snd_seq_midi            9376  0 
snd_seq_midi_event      7552  2 snd_seq_oss,snd_seq_midi
snd_seq_oss            33536  0 
snd_timer              25220  2 snd_seq,snd_pcm
snd_via82xx            28696  1 
softcursor              2304  1 bitblit
sony_acpi               5516  0 
soundcore              10208  1 snd
sr_mod                 16932  0 
tc1100_wmi              6916  0 
thermal                13576  0 
tileblit                2816  1 fbcon
tsdev                   8000  0 
udf                    88452  0 
uhci_hcd               33680  0 
usbcore               129668  2 uhci_hcd
vga16fb                13448  1 
vgastate               10368  1 vga16fb
via686a                17672  0 
via82cxxx               9988  0 [permanent]
via_agp                 9856  1 
via_rhine              23940  0 
video                  16260  0 


Not sure if this is a hal bug or udev bug or whatever bug - please let me know what information you require.

FWIW, this has never worked for me in dapper (so it isn't anything that
only broke recently).

 Cheers
   -Tim


Note: the original reporter indicated the bug was in package 'hal'; however, that package was not published in Baltix.

** Also affects: hal (Ubuntu)
     Severity: Normal
     Priority: (none set)
       Status: Unconfirmed
-- 
lshal does not list SCSI disc devices (DVD drive, CD writer)
https://launchpad.net/malone/bugs/38757




More information about the desktop-bugs mailing list