DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am running sarge with the 2.6.8 kernel. I'm running it on a Dell Inspiron 1100 laptop. When I plug my usb cd/dvd rw drive in, it works fine. When I umount it it unmounts. But when I then unplug it, the system freezes. It doesn't happen immediately, it seems to happen as I am accessing the Applications or Actions menu. I don't know how to troubleshoot this. Is there a log file that would record this?
you unplug after you unmount you said, right?
when you mount the drive check 'dmesg | tail'.. then go open a file on the drive or something and check the same command.. unmount it and check the same command.. then finally unplug it and check the same command. or post the output of the last two here if it doesnt say anything logical.
after unplugging, if you dont touch anything and leave it for awhile, will it still freeze?
The device mounts automatically when I plug it in. When I plug it in, access a file an unmount it, dmesg | tail is the same:
usb 4-3: new high speed USB device using address 4
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: DVDRW Model: USB 16X Rev: A087
Type: CD-ROM ANSI SCSI revision: 02
USB Mass Storage device found at 4
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 5
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
When I unplug it, I get the following (dmesg | tail doesn't catch it all, so I saved dmesg):
when the device is plugged in post the output of 'mount', 'lsusb', and 'lsmod'. what is the name of the device? do you have problems with it on any other distro or OS?
/dev/hdc1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hdc3 on /home type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
/dev/scd0 on /media/cdrecorder type iso9660 (ro,noexec,nosuid,nodev,uid=1000,gid=1000)
output of lsusb
Bus 004 Device 002: ID 046e:3005 Behavior Tech. Computer Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
As far as I have experienced debian is the only distro that this happens with. It doesn't happen with slackware or fedora core, or even ubuntu. It happened when I was trying out etch also. It's the only persistent problem I've had with debian. If I could solve it, this would be the "perfect" distro.
do you have a live cd on hand? or are you dual booting any of those other distros that worked fine with this? if so check the output of their dmesg and mount to see what device file its mounting.
sorry im of no help! im interested to see the answer, im still looking.. hope someone can help you.
is there a /etc/rc.d/rc.hotplug file that is executable? if not try and make it executable so it runs at startup.. try booting with the device plugged in.
ya, i was reading the dmesg output and i thought it was saying something else.. so disregard that. my last guess is to have hotplug run at boot. give that a shot as i have suggested.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.