Public bug reported: Binary package hint: pcmcia-cs
[not sure which package, might as well be cdrom-detect or gnome-utils]. I was trying to expand http://wiki.ubuntu.com/LaptopTestingTeam/FujitsuLifebookC1110 and test PCMCIA functionality with Dapper. A PCMCIA network card is nicely integrated and added as eth2 to the system. My expectation as a user is that a CD-ROM inserted into an external drive via a PCMCIA -> SCSI bridge would behave as well as the internal one or an external USB memory stick and show up on the Gnome desktop. The USB stick and the internal CD-ROM are automatically mounted to /media/ and shown on the desktop. But for the PCMCIA SCSI drive, nothing appears on the desktop nor in /etc/fstab (as in the old days with USB memory sticks), nor in /proc/mounts. The good news is that Dapper works better than Breezy in that I've been able to mount the external CD-ROM device manually, guessing the drive name from the log files. In Breezy, this produced errors: Sep 9 22:17:04 localhost cardmgr[7668]: executing: './scsi stop scsi0' Sep 9 22:17:04 localhost cardmgr[7668]: + open() failed: No such file or directory Sep 9 22:17:04 localhost cardmgr[7668]: + /dev/scsi0: No such file or directorySep 9 22:17:04 localhost cardmgr[7668]: stop cmd exited with status 1 Sep 9 22:17:04 localhost cardmgr[7668]: executing: 'modprobe -r aha152x_cs' But let's forget about Breezy now and consider Dapper only. Here are relevant snippets from the log files on Dapper: Sep 9 22:42:23 jchlaptop kernel: [17179834.544000] SCSI subsystem initialized Sep 9 22:42:23 jchlaptop kernel: [17179834.620000] aha152x: resetting bus... Sep 9 22:42:23 jchlaptop kernel: [17179834.972000] aha152x0: vital data: rev=1, io=0x3340 (0x3340/0x3340), irq=4, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled, delay=100, extended translation=disabled Sep 9 22:42:24 jchlaptop kernel: [17179834.976000] aha152x0: trying software interrupt, ok. Sep 9 22:42:24 jchlaptop kernel: [17179835.976000] scsi0 : Adaptec 152x SCSI driver; $Revision: 2.7 $ Sep 9 22:42:26 jchlaptop kernel: [17179837.556000] (scsi0:6:0) Synchronous Data Transfer Request period = 248 ns, offset = 8 Sep 9 22:42:26 jchlaptop kernel: [17179837.568000] Vendor: SONY Model: CDU 561 SUNMSCD Rev: 1.9k Sep 9 22:42:26 jchlaptop kernel: [17179837.568000] Type: CD-ROM ANSI SCSI revision: 02 Sep 9 22:42:26 jchlaptop kernel: [17179837.648000] sr0: scsi3-mmc drive: 0x/0x caddy Sep 9 22:42:26 jchlaptop kernel: [17179837.648000] sr 0:0:6:0: Attached scsi CD-ROM sr0 Sep 9 22:42:26 jchlaptop kernel: [17179837.664000] sr 0:0:6:0: Attached scsi generic sg0 type 5 Sep 9 22:42:26 jchlaptop scsi_id[5410]: 0:0:6:0: page 0 not available. Sep 9 22:42:26 jchlaptop scsi_id[5411]: 0:0:6:0: page 0 not available. Guessing the device names from the log files, I've successfully issued the following command: # mount -v -t iso9660 /dev/sr0 /mnt mount: block device /dev/sr0 is write-protected, mounting read-only /dev/scd0 on /mnt type iso9660 (ro) The CD-ROM is readable from there on. So it basically works. The bug is a) the lack of integration with the desktop and b) possibly should it create /etc/fstab entries (however these days, USB memory sticks are just mounted to /media and do not augment /etc/fstab anymore) or become automatically mounted and visible in /proc/mounts and /media. BTW, why do /etc/mtab and /proc/mounts then differ in device names? /proc/mounts reports: /dev/sr0 /mnt iso9660 ro 0 0 /etc/mtab contains: /dev/scd0 /mnt iso9660 ro 0 0 Furthermore, I'd feel much more comfortable if there were commands to safely remove the device, instead of ejecting the card and seeing some errors: [after umount /mnt, switch off CD-ROM and manual eject of PCMCIA] Sep 12 05:51:03 jchlaptop kernel: [17230907.216000] pccard: card ejected from slot 1 Sep 12 05:51:59 jchlaptop kernel: [17230962.932000] sr 1:0:6:0: scsi: Device offlined - not ready after error recovery Sep 12 05:53:50 jchlaptop kernel: [17231074.364000] sr0: CDROM (ioctl) error, command: <6>Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00 Sep 12 05:53:50 jchlaptop kernel: [17231074.364000] sr: Current: sense key: No Sense Sep 12 05:53:50 jchlaptop kernel: [17231074.364000] Additional sense: No additional sense information LANG=C eject /dev/sr0 Error: mount point /mnt is not below /media/ eject: unmount of `/mnt' failed Regards, Jörg Höhle ** Affects: pcmcia-cs (Ubuntu) Importance: Untriaged Status: Unconfirmed -- PCMCIA CD-ROM neither mounted nor appears on desktop https://launchpad.net/bugs/60031 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs