cdrecord/k3b/nautilus problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
linux-source-2.6.15 (Ubuntu) |
Fix Released
|
High
|
Ben Collins |
Bug Description
On Hoary I have had problems burning cds. Many strange kernel scsi messages appear
and the burning is very unreliable (sometimes works sometimes not). Here is some
relevant information:
k3b cd-rw erase appears to work although the following messages appear in the
dmesg log
scsi2:0:4:0: Attempting to abort cmd f0351380: 0x0 0x0 0x0 0x0 0x0 0x0
scsi2: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi2: Dumping Card State at program address 0xe0 Mode 0x11
Card was paused
HS_MAILBOX[0x0] INTCTL[
SAVED_MODE[0x11] DFFSTAT[
SCSISIGI[
SCSIBUS[0x0] LASTPHASE[
SCSISEQ1[
SEQ_FLAGS[
SSTAT1[
SSTAT3[0x0] PERRDIAG[
SIMODE1[
LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0]
LQOSTAT1[0x0] LQOSTAT2[0x0]
SCB Count = 4 CMDS_PENDING = 1 LASTSCB 0xffff CURRSCB 0x3 NEXTSCB 0x0
qinstart = 3214 qinfifonext = 3214
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
3 FIFO_USE[0x0] SCB_CONTROL[
Total 1
Kernel Free SCB list: 2 1 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:
scsi2: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
SEQIMODE[
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[
SG_CACHE_
SOFFCNT[0x0] MDFFSTAT[
HADDR = 0x00, HCNT = 0x0 CCSGCTL[
scsi2: FIFO1 Active, LONGJMP == 0x81d7, SCB 0x3
SEQIMODE[
SEQINTSRC[0x0] DFCNTRL[
SG_CACHE_
SOFFCNT[0x0] MDFFSTAT[
HADDR = 0x00, HCNT = 0x0 CCSGCTL[
LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0
scsi2: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x52
scsi2: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0
SIMODE0[
CCSCBCTL[
scsi2: REG0 == 0x3, SINDEX = 0x1c0, DINDEX = 0x10a
scsi2: SCBPTR == 0x3, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xffc3
CDB 0 0 0 0 0 0
STACK: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
DevQ(0:4:0): 0 waiting
scsi2:0:4:0: Device is active, asserting ATN
Recovery code sleeping
(scsi2:A:4:0): Abort Message Sent
(scsi2:A:4:0): SCB 3 - Abort Tag Completed.
Recovery SCB completes
found == 0x1
Recovery code awake
Burn of iso in k3b starts out OK but halfway through write fails with following
message:
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 02 28 4F 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 00 02 28 E5 0A 00 00 00 00 0C 07 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x07 (write error - recovery needed) Fru 0x0
Sense flags: Blk 141541 (valid)
resid: 63488
cmd finished after 0.012s timeout 40s
/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
write track data: error after 289568768 bytes
Writing time: 485.250s
Average write speed 7.3x.
Min drive buffer fill was 96%
Fixating...
Fixating time: 79.281s
resid: 4
/usr/bin/cdrecord: fifo had 4625 puts and 4562 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 2834 times full, min fill was 92%.
Last selected write speed: 4x
Max media write speed: 4x
Last actual write speed: 4x
BURN-Free was never needed.
cdrecord comand:
-------
/usr/bin/
-eject -overburn -data /home/richard/
dmesg message above reappears when write fails.
Reerased in k3b and then tried nautilus:
Tried to burn iso file. Nautilus first blanks cd-rw
During erase following scsi errors show up in dmesg
scsi2:0:4:0: Attempting to abort cmd cc111c80: 0x0 0x0 0x0 0x0 0x0 0x0
scsi2:0:4:0: Command found on device queue
scsi2:0:4:0: Attempting to abort cmd cc111c80: 0x1e 0x0 0x0 0x0 0x0 0x0
scsi2: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi2: Dumping Card State at program address 0x197 Mode 0x11
Card was paused
HS_MAILBOX[0x0] INTCTL[
SAVED_MODE[0x11] DFFSTAT[
SCSISIGI[
LASTPHASE[
SEQCTL0[0x0] SEQINTCTL[0x0] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0]
SSTAT0[0x0] SSTAT1[
PERRDIAG[
SIMODE1[
LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0]
LQOSTAT1[0x0] LQOSTAT2[0x0]
SCB Count = 4 CMDS_PENDING = 1 LASTSCB 0xffff CURRSCB 0x3 NEXTSCB 0x0
qinstart = 13641 qinfifonext = 13641
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
3 FIFO_USE[0x0] SCB_CONTROL[
Total 1
Kernel Free SCB list: 2 1 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:
scsi2: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
SEQIMODE[
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[
SG_CACHE_
SOFFCNT[0x0] MDFFSTAT[
HADDR = 0x00, HCNT = 0x0 CCSGCTL[
scsi2: FIFO1 Active, LONGJMP == 0x81d7, SCB 0x3
SEQIMODE[
SEQINTSRC[0x0] DFCNTRL[
SG_CACHE_
DFFSXFRCTL[0x0] SOFFCNT[0x0] MDFFSTAT[
SHADDR = 0x06, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0
CCSGCTL[
LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0
scsi2: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x52
scsi2: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0
SIMODE0[
CCSCBCTL[
scsi2: REG0 == 0x3, SINDEX = 0x1c0, DINDEX = 0x10a
scsi2: SCBPTR == 0x3, SCB_NEXT == 0xffc0, SCB_NEXT2 == 0xffee
CDB 1e 0 0 0 0 0
STACK: 0xc9 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
DevQ(0:4:0): 0 waiting
scsi2:0:4:0: Device is active, asserting ATN
Recovery code sleeping
Recovery SCB completes
Recovery code awake
cdrom: This disc doesn't have any tracks I recognize!
scsi: unknown opcode 0xe9
scsi: unknown opcode 0xed
scsi: unknown opcode 0x01
scsi2:0:4:0: Attempting to abort cmd e699be00: 0x0 0x0 0x0 0x0 0x0 0x0
scsi2: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi2: Dumping Card State at program address 0xca Mode 0x33
Card was paused
HS_MAILBOX[0x0] INTCTL[
SAVED_MODE[0x11] DFFSTAT[
SCSISIGI[
SCSIBUS[0xc0] LASTPHASE[
SCSISEQ1[
SEQ_FLAGS[
SSTAT1[
SSTAT3[0x0] PERRDIAG[
SIMODE1[
LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0]
LQOSTAT1[0x0] LQOSTAT2[0x0]
SCB Count = 4 CMDS_PENDING = 1 LASTSCB 0xffff CURRSCB 0x3 NEXTSCB 0x0
qinstart = 14735 qinfifonext = 14735
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
3 FIFO_USE[0x0] SCB_CONTROL[
Total 1
Kernel Free SCB list: 2 1 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:
scsi2: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
SEQIMODE[
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[
SG_CACHE_
SOFFCNT[0x0] MDFFSTAT[
HADDR = 0x00, HCNT = 0x0 CCSGCTL[
scsi2: FIFO1 Free, LONGJMP == 0x81d7, SCB 0x3
SEQIMODE[
SEQINTSRC[0x0] DFCNTRL[
SG_CACHE_
SOFFCNT[0x0] MDFFSTAT[
HADDR = 0x00, HCNT = 0x0 CCSGCTL[
LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0
scsi2: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x52
scsi2: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0
SIMODE0[
CCSCBCTL[
scsi2: REG0 == 0x3, SINDEX = 0x10a, DINDEX = 0x10a
scsi2: SCBPTR == 0x3, SCB_NEXT == 0xffc0, SCB_NEXT2 == 0xffee
CDB 0 0 0 0 0 0
STACK: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
DevQ(0:4:0): 0 waiting
scsi2:0:4:0: Device is active, asserting ATN
(scsi2:A:4:0): Abort Message Sent
Recovery code sleeping
(scsi2:A:4:0): SCB 3 - Abort Tag Completed.
Recovery SCB completes
found == 0x1
Recovery code awake
scsi: unknown opcode 0xf5
Nautilus then starts writing and completes successfully.
On other occasions nautilus also fails and similar dmesg messages as above appear
lsmod shows
Module Size Used by
nls_cp437 5824 0
isofs 36700 0
udf 89412 0
proc_intf 4260 0
freq_table 4320 0
cpufreq_userspace 6240 0
cpufreq_ondemand 6728 0
cpufreq_powersave 1856 0
video 16196 0
sony_acpi 6152 0
pcc_acpi 11232 0
button 6704 0
battery 10212 0
container 4544 0
ac 4900 0
capifs 5960 1
ipv6 257760 10
af_packet 22504 2
sg 38656 0
ohci1394 34916 0
emu10k1_gp 3872 0
gameport 4864 1 emu10k1_gp
usblp 12992 0
snd_emu10k1 98532 2
snd_rawmidi 25024 1 snd_emu10k1
snd_seq_device 8716 2 snd_emu10k1,
snd_ac97_codec 74336 1 snd_emu10k1
snd_pcm_oss 52836 1
snd_mixer_oss 19968 2 snd_pcm_oss
snd_pcm 95780 3 snd_emu10k1,
snd_timer 25572 1 snd_pcm
snd_page_alloc 9988 2 snd_emu10k1,snd_pcm
tsdev 7776 0
snd_util_mem 4640 1 snd_emu10k1
snd_hwdep 9700 1 snd_emu10k1
snd 56580 9
snd_emu10k1,
soundcore 10400 3 snd
i2c_i801 8652 0
i2c_core 22720 1 i2c_i801
ahci 11076 0
piix 10884 1
hw_random 5620 0
usbhid 32384 0
ehci_hcd 33252 0
uhci_hcd 33488 0
usbcore 119480 5 usblp,usbhid,
pciehp 96556 0
shpchp 99620 0
pci_hotplug 33980 2 pciehp,shpchp
floppy 59472 0
pcspkr 3788 0
rtc 12776 0
md 48112 0
dm_mod 60480 1
capability 4872 0
commoncap 8032 1 capability
nvidia 3471932 12
parport_pc 37924 1
lp 11464 0
parport 37352 2 parport_pc,lp
evdev 9600 0
sbp2 24008 0
ieee1394 108856 2 ohci1394,sbp2
ide_generic 1536 0
ide_disk 20896 0
ide_cd 42052 0
ide_core 129656 4 piix,ide_
mousedev 11612 1
psmouse 21736 0
sk98lin 204168 1
ext3 138664 5
jbd 63544 1 ext3
mbcache 8452 1 ext3
sr_mod 17444 0
cdrom 40476 2 ide_cd,sr_mod
sd_mod 18080 7
aic79xx 310556 14
ata_piix 9412 0
libata 49508 2 ahci,ata_piix
scsi_mod 128288 7 sg,ahci,
unix 28692 775
thermal 13672 0
processor 23400 1 thermal
fan 4612 0
fbcon 37856 0
font 8416 1 fbcon
bitblit 5696 1 fbcon
vesafb 6948 0
cfbcopyarea 4032 1 vesafb
cfbimgblt 3136 1 vesafb
cfbfillrect 3712 1 vesafb
lspci -v shows
0000:00:00.0 Host bridge: Intel Corp. 925X Memory Controller Hub (rev 04)
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, fast devsel, latency 0
0000:00:01.0 PCI bridge: Intel Corp. 925X PCI Express Root Port (rev 04)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: fa300000-fe3fffff
0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/
Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
Memory behind bridge: fe700000-fe7fffff
0000:00:1c.1 PCI bridge: Intel Corp. 82801FB/
Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: fe600000-fe6fffff
0000:00:1c.2 PCI bridge: Intel Corp. 82801FB/
Express Port 3 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: fe500000-fe5fffff
0000:00:1c.3 PCI bridge: Intel Corp. 82801FB/
Express Port 4 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: fe400000-fe4fffff
0000:00:1d.0 USB Controller: Intel Corp. 82801FB/
UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at cc00 [size=32]
0000:00:1d.1 USB Controller: Intel Corp. 82801FB/
UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at d000 [size=32]
0000:00:1d.2 USB Controller: Intel Corp. 82801FB/
UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at d400 [size=32]
0000:00:1d.3 USB Controller: Intel Corp. 82801FB/
UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at d800 [size=32]
0000:00:1d.7 USB Controller: Intel Corp. 82801FB/
USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at febff800 (32-bit, non-prefetchable) [size=1K]
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) (prog-if 01
[Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
I/O behind bridge: 0000a000-0000bfff
Memory behind bridge: fe800000-feafffff
0000:00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface
Bridge (rev 03)
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0
0000:00:1f.1 IDE interface: Intel Corp. 82801FB/
Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at ffa0 [size=16]
0000:00:1f.2 IDE interface: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA
Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at ec00 [size=8]
I/O ports at e800 [size=4]
I/O ports at e400 [size=8]
I/O ports at e000 [size=4]
I/O ports at dc00 [size=16]
Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
0000:00:1f.3 SMBus: Intel Corp. 82801FB/
Controller (rev 03)
Subsystem: Intel Corp.: Unknown device 4356
Flags: medium devsel, IRQ 10
I/O ports at c800 [size=32]
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 00fb
(rev a2) (prog-if 00 [VGA])
Subsystem: Giga-byte Technology: Unknown device 3121
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Expansion ROM at fe3e0000 [disabled] [size=128K]
0000:04:00.0 Ethernet controller: Marvell Technology Group Ltd.: Unknown device
4361 (rev 17)
Subsystem: Intel Corp.: Unknown device 3063
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fe6fc000 (64-bit, non-prefetchable) [size=16K]
I/O ports at 9800 [size=256]
Expansion ROM at fe6c0000 [disabled] [size=128K]
0000:06:02.0 SCSI storage controller: Adaptec ASC-39320A U320 (rev 10)
Subsystem: Adaptec: Unknown device 0040
Flags: bus master, 66MHz, slow devsel, latency 32, IRQ 18
I/O ports at b000 [disabled] [size=256]
Memory at feafc000 (64-bit, non-prefetchable) [size=8K]
I/O ports at a800 [disabled] [size=256]
Expansion ROM at fe980000 [disabled] [size=512K]
0000:06:02.1 SCSI storage controller: Adaptec ASC-39320A U320 (rev 10)
Subsystem: Adaptec: Unknown device 0040
Flags: bus master, 66MHz, slow devsel, latency 32, IRQ 19
I/O ports at b800 [disabled] [size=256]
Memory at feafe000 (64-bit, non-prefetchable) [size=8K]
I/O ports at b400 [disabled] [size=256]
Expansion ROM at fea00000 [disabled] [size=512K]
0000:06:03.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
Subsystem: Creative Labs: Unknown device 1007
Flags: bus master, medium devsel, latency 32, IRQ 19
I/O ports at ac00 [size=64]
0000:06:03.1 Input device controller: Creative Labs SB Audigy MIDI/Game port
(rev 04)
Subsystem: Creative Labs SB Audigy MIDI/Game Port
Flags: bus master, medium devsel, latency 32
I/O ports at bc00 [size=8]
0000:06:03.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev
04) (prog-if 10 [OHCI])
Subsystem: Creative Labs SB Audigy FireWire Port
Flags: bus master, medium devsel, latency 32, IRQ 18
Memory at feafb800 (32-bit, non-prefetchable) [size=2K]
Memory at feaf4000 (32-bit, non-prefetchable) [size=16K]
0000:06:05.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 61)
(prog-if 10 [OHCI])
Subsystem: Intel Corp.: Unknown device 4356
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at feafa000 (32-bit, non-prefetchable) [size=4K]
Changed in linux-source-2.6.15: | |
status: | Confirmed → Fix Committed |
Changed in cupsys: | |
status: | Unconfirmed → Rejected |
Changed in linux-source-2.6.15: | |
status: | Fix Committed → Fix Released |
I should have added that I have a Plextor scsi cdburner 40/4