[Bug 8189] New: [Hoary] Recording DVD through external USB writer fails. Kernel error.
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Fri Mar 25 13:39:32 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=8189
Ubuntu | linux
Summary: [Hoary] Recording DVD through external USB writer fails.
Kernel error.
Product: Ubuntu
Version: unspecified
Platform: i386
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: linux
AssignedTo: kernel-team at lists.ubuntu.com
ReportedBy: jjchico at dte.us.es
QAContact: kernel-bugs at lists.ubuntu.com
I run an up-to-date hoary distribution. Writing (with k3b) to my external USB
DVD writer worked fine some time ago (kernel 2.6.8 I think). Now it fails when
writting is almost finished.
STEPS:
1. On boot, external drive is recognized OK and works
>From dmesg:
Vendor: FREECOM_ Model: DVD+/-RW16B9 Rev: 2.46
Type: CD-ROM ANSI SCSI revision: 00
usb-storage: device scan complete
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
2. I start writing. Tried with DVD+R and DVD+RW. k3b 0.11.20, using growisofs 5.21
Writing goes well until some point. See k3b log below. At this point, kernel says:
usb 6-3: reset high speed USB device using ehci_hcd and address 2
scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
scsi1 (0:0): rejecting I/O to offline device
SCSI error: host 1 id 0 lun 0 return code = 4000000
Sense class 0, sense error 0, extended sense 0
and the device is no longer available.
3. I unplug the usb cable from the dvd-writer and kernel says:
usb 6-3: USB disconnect, address 2
slab error in kmem_cache_destroy(): cache `scsi_cmd_cache': Can't free all objects
[<c01427cf>] kmem_cache_destroy+0xbf/0x100
[<d2b7d47e>] scsi_destroy_command_freelist+0x4e/0x80 [scsi_mod]
[<d2b7e662>] scsi_host_dev_release+0x32/0xa0 [scsi_mod]
[<c0217d4b>] device_release+0x5b/0x60
[<c0116240>] default_wake_function+0x0/0x20
[<c01bb8f8>] kobject_cleanup+0x98/0xa0
[<c01bb900>] kobject_release+0x0/0x10
[<c01bc3a9>] kref_put+0x39/0xa0
[<c01bb92f>] kobject_put+0x1f/0x30
[<c01bb900>] kobject_release+0x0/0x10
[<d2ba0a78>] usb_stor_release_resources+0xb8/0xe0 [usb_storage]
[<d2ba0f4b>] storage_disconnect+0x8b/0x9b [usb_storage]
[<d2ad5136>] usb_unbind_interface+0x86/0x90 [usbcore]
[<c0219256>] device_release_driver+0x86/0x90
[<c02194d4>] bus_remove_device+0x64/0xb0
[<c02181dd>] device_del+0x5d/0xa0
[<d2adc6f8>] usb_disable_device+0xb8/0x100 [usbcore]
[<d2ad76d6>] usb_disconnect+0xa6/0x150 [usbcore]
[<d2ad8a17>] hub_port_connect_change+0x3c7/0x400 [usbcore]
[<d2ad6357>] clear_port_feature+0x57/0x60 [usbcore]
[<d2ad8cc1>] hub_events+0x271/0x3c0 [usbcore]
[<d2ad8e45>] hub_thread+0x35/0x120 [usbcore]
[<c012e380>] autoremove_wake_function+0x0/0x60
[<c0102f82>] ret_from_fork+0x6/0x14
[<c012e380>] autoremove_wake_function+0x0/0x60
[<d2ad8e10>] hub_thread+0x0/0x120 [usbcore]
[<c01012bd>] kernel_thread_helper+0x5/0x18
4. I plug again the usb cord but the device is no longer available. Kernel says:
usb 6-3: new high speed USB device using ehci_hcd and address 3
kmem_cache_create: duplicate cache scsi_cmd_cache
------------[ cut here ]------------
kernel BUG at mm/slab.c:1445!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: isofs speedstep_lib proc_intf freq_table cpufreq_userspace
cpufreq_ondemand cpufreq_powersave video sony_acpi pcc_acpi button battery
container ac ipv6 sg sr_mod nfs lockd sunrpc 8139cp 8139too mii ehci_hcd
usb_storage scsi_mod ohci_hcd snd_ens1371 snd_rawmidi snd_seq_device
snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore
snd_page_alloc gameport i2c_viapro i2c_core uhci_hcd usbcore pci_hotplug via_agp
floppy pcspkr rtc reiserfs md dm_mod capability commoncap nvidia_agp agpgart
parport_pc lp parport ide_cd tsdev evdev cdrom mousedev psmouse ext3 jbd mbcache
ide_generic via82cxxx ide_disk ide_core unix thermal processor fan fbcon font
bitblit vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU: 0
EIP: 0060:[<c0142370>] Not tainted VLI
EFLAGS: 00010202 (2.6.10-5-686)
EIP is at kmem_cache_create+0x3d0/0x570
eax: 00000032 ebx: d1e396d0 ecx: c02e56ec edx: c02e56ec
esi: d2b886cf edi: d2b886cf ebp: c9aa1d60 esp: cc8f1d34
ds: 007b es: 007b ss: 0068
Process khubd (pid: 4705, threadinfo=cc8f0000 task=d03ce500)
Stack: c02b6a20 d2b886c0 00000020 00002000 cc8f1d54 c9aa1d9c c0000000 ffffffe0
000000a0 c4be9c00 d2b9b0a0 c4be9c0c d2bae6c0 d2b7d3a7 d2b886c0 00000160
00000020 00002000 00000000 00000000 00000234 c4be9c00 c4be9e34 d2b7e871
Call Trace:
[<d2b7d3a7>] scsi_setup_command_freelist+0x67/0xf0 [scsi_mod]
[<d2b7e871>] scsi_host_alloc+0x1a1/0x2b0 [scsi_mod]
[<d2b9f869>] usb_stor_Bulk_max_lun+0x59/0xa0 [usb_storage]
[<d2ba0911>] usb_stor_acquire_resources+0x71/0x120 [usb_storage]
[<d2ba0dd1>] storage_probe+0x141/0x230 [usb_storage]
[<c0198b54>] sysfs_add_file+0x54/0x80
[<d2ad5092>] usb_probe_interface+0x72/0x90 [usbcore]
[<c021903f>] driver_probe_device+0x2f/0x80
[<c02190cf>] device_attach+0x3f/0xa0
[<c01bb84a>] kobject_get+0x1a/0x30
[<c021941b>] bus_add_device+0x5b/0xb0
[<c021c2bb>] device_pm_add+0x5b/0xa0
[<c0218076>] device_add+0xc6/0x160
[<d2adcde3>] usb_set_configuration+0x303/0x470 [usbcore]
[<d2ad78f2>] usb_new_device+0xb2/0x170 [usbcore]
[<d2ad886e>] hub_port_connect_change+0x21e/0x400 [usbcore]
[<d2ad8cc1>] hub_events+0x271/0x3c0 [usbcore]
[<d2ad8e45>] hub_thread+0x35/0x120 [usbcore]
[<c012e380>] autoremove_wake_function+0x0/0x60
[<c0102f82>] ret_from_fork+0x6/0x14
[<c012e380>] autoremove_wake_function+0x0/0x60
[<d2ad8e10>] hub_thread+0x0/0x120 [usbcore]
[<c01012bd>] kernel_thread_helper+0x5/0x18
Code: 04 00 74 ec e9 ac 01 00 00 89 f6 c7 04 24 20 6a 2b c0 8b 4c 24 38 89 4c 24
04 e8 2c 79 fd ff ff 05 2c 96 39 c0 0f 8e 8f 17 00 00 <0f> 0b a5 05 0e 62 2b c0
8b 0b e9 6b ff ff ff 90 8b 47 34 c7 04
Some information follows:
#### k3b log ####
Devices
-----------------------
FREECOM_ DVD+/-RW16B9 2.46 (/dev/scd0, ) at /media/cdrom1 [CD-R; CD-RW; CD-ROM;
DVD-ROM; DVD-R; DVD-RW; DVD+R; DVD+RW] [DVD-ROM; DVD-R Sequential; DVD-RW
Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer;
CD-ROM; CD-R; CD-RW] [SAO; TAO;
RAW; SAO/R16; RAW/R96P; RAW/R96R]
LG DVD-ROM DRD8120B 1.04 (/dev/hdd, ) at /media/cdrom0 [CD-ROM; DVD-ROM]
[DVD-ROM; CD-ROM] [None]
System
-----------------------
K3b Version: 0.11.20
KDE Version: 3.4.0
QT Version: 3.3.3
Kernel: 2.6.10-5-686
growisofs
-----------------------
INFO: ISO-8859-1 character encoding detected by locale settings.
Assuming ISO-8859-1 encoded filenames on source filesystem,
use -input-charset to override.
...
/dev/scd0: restarting DVD+RW format...
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
0.03% done, estimate finish Sat Mar 26 14:49:30 2005
0.05% done, estimate finish Sat Mar 26 02:22:44 2005
...
91.54% done, estimate finish Fri Mar 25 13:45:48 2005
91.56% done, estimate finish Fri Mar 25 13:45:48 2005
:-[ WRITE at LBA=1c5350h failed with SK=2h/ASC=04h/ACQ=01h]: Resource temporarily
unavailable
:-( write failed: Resource temporarily unavailable
/dev/scd0: flushing cache
/dev/scd0: writing lead-out
growisofs comand:
-----------------------
/usr/bin/growisofs -Z /dev/scd0 -use-the-force-luke=notray
-use-the-force-luke=tty -use-the-force-luke=dao -dvd-compat -speed=4 -gui
-graft-points -volid K3b data project -volset -appid K3B THE CD KREATOR VERSION
0.11.20 (C) 2003 SEBASTIAN TRUEG AND THE K3B TEAM -publisher -preparer K3b -
Version 0.11.20 -sysid LINUX -volset-size 1 -volset-seqno 1 -sort
/tmp/kde-root/k3berqnka.tmp -rational-rock -hide-list
/tmp/kde-root/k3b5ktsNb.tmp -full-iso9660-filenames -iso-level 2 -path-list
/tmp/kde-root/k3by9r5Aa.tmp
#### Kernel version ####
jjchico at valhalla:~$ uname -a
Linux valhalla 2.6.10-5-686 #1 Thu Mar 24 14:58:42 GMT 2005 i686 GNU/Linux
#### Devices ####
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
(rev c4)
Flags: bus master, medium devsel, latency 0
Memory at d0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: d6000000-d7ffffff
Prefetchable memory behind bridge: d4000000-d5ffffff
Capabilities: <available only to root>
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 41)
Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: <available only to root>
0000:00:07.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a
[Master SecP PriP])
Flags: bus master, medium devsel, latency 32
I/O ports at c000 [size=16]
Capabilities: <available only to root>
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 16) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at c400 [size=32]
Capabilities: <available only to root>
0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 16) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at c800 [size=32]
Capabilities: <available only to root>
0000:00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 40)
Flags: medium devsel, IRQ 11
Capabilities: <available only to root>
0000:00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI128
Flags: bus master, slow devsel, latency 32, IRQ 5
I/O ports at dc00 [size=64]
Capabilities: <available only to root>
0000:00:0a.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
(prog-if 10 [OHCI])
Subsystem: ALi Corporation USB 1.1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
Memory at d9004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
0000:00:0a.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
(prog-if 10 [OHCI])
Subsystem: ALi Corporation USB 1.1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
Memory at d9000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
0000:00:0a.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
(prog-if 10 [OHCI])
Subsystem: ALi Corporation USB 1.1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
Memory at d9001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
0000:00:0a.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
(prog-if 20 [EHCI])
Subsystem: Unknown device 2020:8888
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
Memory at d9002000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=256]
Memory at d9003000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2
Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA])
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
Memory at d6000000 (32-bit, non-prefetchable) [size=16M]
Memory at d4000000 (32-bit, prefetchable) [size=32M]
Capabilities: <available only to root>
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the kernel-team
mailing list