I use an external USB-2 burner on my laptop. Laptop is USB-1 using controller: USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 01) I load sd_mod and usb-storage with modprobe and dmesg outputs: Jan 3 20:03:42 tklaptop usb 2-1: new full speed USB device using address 2 Jan 3 20:05:56 tklaptop Initializing USB Mass Storage driver... Jan 3 20:05:56 tklaptop scsi0 : SCSI emulation for USB Mass Storage devices Jan 3 20:05:56 tklaptop Vendor: _NEC Model: DVD_RW ND-3500AG Rev: 2.16 Jan 3 20:05:56 tklaptop Type: CD-ROM ANSI SCSI revision: 02 Jan 3 20:05:56 tklaptop sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray Jan 3 20:05:56 tklaptop Uniform CD-ROM driver Revision: 3.20 Jan 3 20:05:56 tklaptop Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 3 20:05:56 tklaptop Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5 Jan 3 20:05:56 tklaptop USB Mass Storage device found at 2 Jan 3 20:05:56 tklaptop usbcore: registered new driver usb-storage Jan 3 20:05:56 tklaptop USB Mass Storage support registered. When I'm finished using the device I first try to eject -s /dev/sr0 but get the following in messages: program eject is using a deprecated SCSI ioctl, please convert it to SG_IO - I can rmmod sd_mod but running rmmod usb-storage results in the command hanging (not exiting) and the following in messages: usbcore: deregistering driver usb-storage scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0 sr 0:0:0:0: Illegal state transition cancel->offline Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1688 [<e8860d59>] scsi_device_set_state+0xc9/0x120 [scsi_mod] [<e885ea3e>] scsi_eh_offline_sdevs+0x6e/0x90 [scsi_mod] [<e885ef13>] scsi_unjam_host+0xc3/0xd0 [scsi_mod] [<e885efc8>] scsi_error_handler+0xa8/0xd0 [scsi_mod] [<e885ef20>] scsi_error_handler+0x0/0xd0 [scsi_mod] [<c01042cd>] kernel_thread_helper+0x5/0x18 Badness in kref_get at lib/kref.c:32 [<c01b9277>] kref_get+0x47/0x50 [<c01b8e3a>] kobject_get+0x1a/0x30 [<c0222818>] get_device+0x18/0x20 [<e8860415>] scsi_request_fn+0x25/0x3c0 [scsi_mod] [<c02297ac>] blk_insert_request+0xbc/0xe0 [<e885f2d7>] scsi_queue_insert+0x77/0xb0 [scsi_mod] [<e885ee3f>] scsi_eh_flush_done_q+0x9f/0xb0 [scsi_mod] [<e885eedf>] scsi_unjam_host+0x8f/0xd0 [scsi_mod] [<e885efc8>] scsi_error_handler+0xa8/0xd0 [scsi_mod] [<e885ef20>] scsi_error_handler+0x0/0xd0 [scsi_mod] [<c01042cd>] kernel_thread_helper+0x5/0x18 Unable to handle kernel paging request at virtual address 65721001 printing eip: c022f893 *pde = 00000000 Oops: 0000 [#1] PREEMPT Modules linked in: nls_iso8859_1 usb_storage hostap_crypt_wep sg ipv6 snd_pcm_oss snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd soundcore uhci_hcd usbhid usbcore hostap_pci hostap e100 mii ide_tape ide_cd sr_mod scsi_mod cdrom CPU: 0 EIP: 0060:[<c022f893>] Not tainted VLI EFLAGS: 00010083 (2.6.9-gentoo-r13) EIP is at as_requeue_request+0x93/0xf0 eax: 65721001 ebx: 00000000 ecx: e7df7068 edx: c1652ab0 esi: c1652ab0 edi: c15dd280 ebp: e4910000 esp: e4911edc ds: 007b es: 007b ss: 0068 Process scsi_eh_0 (pid: 6832, threadinfo=e4910000 task=e4aff560) Stack: ddd21560 00a4db54 4a2b5c45 00000709 c1652ab0 de69ac00 e4910000 c0226e46 e7df7068 c1652ab0 c1652ab0 de69ac00 e8860681 e7df7068 c1652ab0 e3315b40 c1652ab0 de69ad84 c1652ab0 e3315b40 e7df7068 00000202 c02297ac e7df7068 Call Trace: [<c0226e46>] elv_requeue_request+0x26/0x60 [<e8860681>] scsi_request_fn+0x291/0x3c0 [scsi_mod] [<c02297ac>] blk_insert_request+0xbc/0xe0 [<e885f2d7>] scsi_queue_insert+0x77/0xb0 [scsi_mod] [<e885ee3f>] scsi_eh_flush_done_q+0x9f/0xb0 [scsi_mod] [<e885eedf>] scsi_unjam_host+0x8f/0xd0 [scsi_mod] [<e885efc8>] scsi_error_handler+0xa8/0xd0 [scsi_mod] [<e885ef20>] scsi_error_handler+0x0/0xd0 [scsi_mod] [<c01042cd>] kernel_thread_helper+0x5/0x18 Code: ff c7 43 38 02 00 00 00 8b 43 18 85 c0 74 19 8b 40 10 85 c0 74 12 ff 40 10 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 8b 47 2c <8b> 10 89 72 04 89 16 89 46 04 89 30 8b 5c 24 10 89 7c 24 20 8b <6>note: scsi_eh_0[6832] exited with preempt_count 1 This happens every time if i try to unload the modules - also if i try to unplug the drive straight away. Unplugging the device causes the system to gradually slow down and then stop responding totally. Reboot required. Reproducible: Always Steps to Reproduce: 1.modprobe sd_mod usb-storage and plug in a USB-2 external burner 2.rmmod sd_mod and try to rmmod usb-storage 3.unplug burner Actual Results: Command rmmod usb-storage fails to return (hangs). Unplugging the burner causes the system to gradually slow down and then stop responding totally. Expected Results: Command rmmod usb-storage should return and unplugging the device should not cause this kind of a mess! tklaptop log # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) III Mobile CPU 800MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups encode esd fam fbcon flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 jpeg libwww mad mikmod mmx mmx2 motif mpeg mysql ncurses network nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline samba sdl spell ssl svga tcpd tiff truetype unicode xml xml2 xmms xv xvid zlib"
Please try 2.6.10
Please reopen if issue still exists on 2.6.10.