PX-2410TU freezes system, doesn't write well
Hello,
I am running woody 2.4.18 on a toshiba portege laptop. I have an
external USB CDR: plextor's 24/10/40U. (PX-2410TU)
I cannot reliably write complete and uncorrupted data (direct to cdr, I don't
have space to make an iso on my harddisk).
Furthermore, it appears that the system gets 'hung' after writes
(dummy or otherwise). If I do not power cycle the CDR unit, before
launching another cdrecord command, my whole system freezes and I have
to hard boot. It is also filling up syslog with not very nice looking
messages (appended below), that I don't understand.
I have tried cdrecord directly and xcdroast.
The commands used in cdrecord were:
for a dummy run as a script, taking directories/files to be burnt as args:
cdblocks=`mkisofs -print-size -quiet $@`;
nice --18 mkisofs -R -r $@ | cdrecord -v fs=4m -dummy -dao -nofix speed=5 -driveropts=burnfree -tsize=${cdblocks}s dev=0,0,0 -;
for a real write:
cdblocks=`mkisofs -print-size -quiet $@`;
nice --18 mkisofs -R -r $@ | cdrecord -v fs=4m -dao speed=5 -driveropts=burnfree -tsize=${cdblocks}s dev=0,0,0 - ;
I have lots of incompletely burnt cds, and am running out of ideas, so I
would be grateful if someone could help. Happy to provide more info if
useful, but below are some diagnostics,
tia
deetee.
----
# cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'PLEXTOR ' 'CD-R PX-W2410A' '1.04' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
-----
from syslog
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk status Sig 0x53425355 T 0x632 R 0 Stat 0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: scsi cmd done, result=0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: *** thread sleeping.
Feb 17 01:22:01 cygnus kernel: usb-storage: queuecommand() called
Feb 17 01:22:01 cygnus kernel: usb-storage: *** thread awakened.
Feb 17 01:22:01 cygnus kernel: usb-storage: Command MODE_SENSE_10 (10 bytes)
Feb 17 01:22:01 cygnus kernel: usb-storage: 5a 00 05 00 00 00 00 00 3c 00 0a c2
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk command S 0x43425355 T 0x633 Trg 0 LUN 0 L 60 F 128 CL 10
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk command transfer result=0
Feb 17 01:22:01 cygnus kernel: usb-storage: usb_stor_transfer_partial(): xfer 60 bytes
Feb 17 01:22:01 cygnus kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 60/60
Feb 17 01:22:01 cygnus kernel: usb-storage: usb_stor_transfer_partial(): transfer complete
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk data transfer result 0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: Attempting to get CSW...
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk status result = 0
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk status Sig 0x53425355 T 0x633 R 0 Stat 0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: scsi cmd done, result=0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: *** thread sleeping.
Feb 17 01:22:01 cygnus kernel: usb-storage: queuecommand() called
Feb 17 01:22:01 cygnus kernel: usb-storage: *** thread awakened.
Feb 17 01:22:01 cygnus kernel: usb-storage: Command TEST_UNIT_READY (6 bytes)
Feb 17 01:22:01 cygnus kernel: usb-storage: 00 00 00 00 00 00 2b c5 60 19 0a c2
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk command S 0x43425355 T 0x634 Trg 0 LUN 0 L 0 F 0 CL 6
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk command transfer result=0
Feb 17 01:22:01 cygnus kernel: usb-storage: Attempting to get CSW...
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk status result = 0
Feb 17 01:22:01 cygnus kernel: usb-storage: Bulk status Sig 0x53425355 T 0x634 R 0 Stat 0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: scsi cmd done, result=0x0
Feb 17 01:22:01 cygnus kernel: usb-storage: *** thread sleeping.
Feb 17 01:22:01 cygnus kernel: usb-storage: queuecommand() called
Feb 17 01:22:01 cygnus kernel: usb-storage: *** thread awakened.
---------------
# lspci -v
cygnus:~> lspci -v
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Capabilities: <available only to root>
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fec00000-ff7fffff
00:05.0 Bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0
00:05.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at fff0 [size=16]
00:05.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at ff80 [size=32]
00:05.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 03)
Flags: medium devsel, IRQ 9
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
Subsystem: Toshiba America Info Systems Internal V.90 Modem
Flags: bus master, medium devsel, latency 0, IRQ 3
Memory at ffefff00 (32-bit, non-prefetchable) [size=256]
I/O ports at 02f8 [size=8]
I/O ports at 1c00 [size=256]
Capabilities: <available only to root>
00:09.0 IRDA controller: Toshiba America Info Systems FIR Port Type-DO
Subsystem: Toshiba America Info Systems FIR Port Type-DO
Flags: bus master, slow devsel, latency 64, IRQ 11
I/O ports at ff60 [size=32]
Capabilities: <available only to root>
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
Subsystem: Toshiba America Info Systems ES1978 Maestro-2E Audiodrive
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at fc00 [size=256]
Capabilities: <available only to root>
00:0f.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 6c)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at fb00 [size=128]
Memory at febfff80 (32-bit, non-prefetchable) [size=128]
Expansion ROM at febc0000 [disabled] [size=128K]
Capabilities: <available only to root>
01:00.0 VGA compatible controller: Trident Microsystems Cyber 9540 (rev 52) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 8, IRQ 11
Memory at ff400000 (32-bit, non-prefetchable) [size=4M]
Memory at ff3e0000 (32-bit, non-prefetchable) [size=128K]
Memory at fec00000 (32-bit, non-prefetchable) [size=4M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: <available only to root>
--------------
# more /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
13 input
14 sound
21 sg
29 fb
162 raw
180 usb
254 pcmcia
Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
11 sr
22 ide1
----
# more /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ff80
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=093b ProdID=0010 Rev=11.01
S: Manufacturer=Plextor Corp.
S: Product=USB Storage Adapter
S: SerialNumber=11100E00004495C3
C:* #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl= 16ms
-------
using xcdroast:
cdrecord.mmap: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord.mmap: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord.mmap: WARNING: This causes a high risk for buffer underruns.
---------
Reply to: