On Thu, 16 Sep 2004, Mohammed Sameer wrote: > > This looks like the system was using the CD drive for something when you > > disconnected it. Was anything happening at the time? > > > No, It happes even when I connect the drive, then disconnect it. > In 2.6.7/2.6.8, I had no problem even when disconnecting the drive in the middle of > an operation, But with 2.6.9-rc2, I can't even disconnect it, Even when it's idle. > > > It also looks like the problem leading to the oops exists somewhere in the > > SCSI layer, not in the USB stack. > > > > What do you get in your log if you turn on the usb-storage verbose > > debugging option in the kernel configuration, and configure > > /etc/syslog.conf to capture kernel debugging messages? > > > /var/log/debug: > > Sep 16 18:03:38 localhost kernel: usb-storage: storage_disconnect() called > Sep 16 18:03:38 localhost kernel: usb-storage: usb_stor_stop_transport called > Sep 16 18:03:38 localhost kernel: usb-storage: queuecommand called > Sep 16 18:03:38 localhost kernel: usb-storage: *** thread awakened. > Sep 16 18:03:38 localhost kernel: usb-storage: No command during disconnect > Sep 16 18:03:38 localhost kernel: usb-storage: *** thread sleeping. > Sep 16 18:03:43 localhost kernel: usb-storage: command_abort called > Sep 16 18:03:43 localhost kernel: usb-storage: -- nothing to abort > Sep 16 18:03:43 localhost kernel: usb-storage: device_reset called > Sep 16 18:03:43 localhost kernel: usb-storage: No reset during disconnect > Sep 16 18:03:43 localhost kernel: usb-storage: bus_reset called > Sep 16 18:03:43 localhost kernel: usb-storage: No reset during disconnect
That looks highly suspicious, but you need to start farther back in time for me to be sure. Can you edit /etc/syslog.conf to make _all_ the kernel messages, not just the debug-level ones, get stored in /var/log/debug? (That's a lot easier than mentally trying to merge two different files!) And then post everything that shows up in the log starting from the time you plug the drive in. After you plug it in don't do anything with it, just wait a few seconds and unplug it. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
