dapper brennt mit einigen chipsets nicht im DMA Modus? was: k3b: brennen bricht ab.

Gerhard Gaußling ggrubbish at web.de
Sam Jun 10 23:06:29 BST 2006


Am Dienstag, 6. Juni 2006 12:53 schrieb Gerhard Gaußling:
> Auch das System hat jetzt LC_ALL="C".
>
> Damit kam diese Meldung nicht mehr:
> INFO: UTF-8 character encoding detected by locale settings.
>  Assuming UTF-8 encoded filenames on source filesystem,
>  use -input-charset to override.
>
> Aber das war's nicht. Der Brand wird trotzdem nach einer halben
> Serkunde abgebrochern und fixiert den Rohling.

trotzdem:
LANG=C
LANGUAGE=C

diese waren noch auf de_DE at utf-8

Nachdem ich das änderte "ging es". Aber es gibt immer noch massive 
Probleme, die  ähnlich diesem kernel bug 5786 (modul ide-cd) sind:
DMA access to CD-writer hangs IDE bus
http://bugzilla.kernel.org/show_bug.cgi?id=5786

Ich habe zwar keinen "  ALi M5229 " chip, aber ähnlichre Probleme und 
Meldungen.

Mein chip ist ein "nVidia Corporation CK804" (wenn ich lspci richtig 
deute). Motherboard asus A8N-SLI Deluxe.

Nachdem ich mit hdparm den DMA Modus dfür den Brenner abschaltete kann 
ich fehlerfrei (langsam) brennen.

Kann das jemand bestätigen?

Ich hoffe Jemand kann etwas dazu sagen, ich möchte nämlich auf 
kernel.org meine Beobachtungen posten. Was denkt ihr dazu?

ciao

Gerhard


Jun 10 18:14:59 localhost kernel: [ 5089.287873] ide-cd: cmd 0x3 timed 
out
Jun 10 18:14:59 localhost kernel: [ 5089.287877] hdc: lost interrupt
Jun 10 18:15:59 localhost kernel: [ 5127.078782] ide-cd: cmd 0x3 timed 
out
Jun 10 18:15:59 localhost kernel: [ 5127.078786] hdc: lost interrupt

gerhard at ubuntu:~/download/freefonts/fontmanagers$ killall k3b
gerhard at ubuntu:~/download/freefonts/fontmanagers$ lsof /dev/hdc
COMMAND     PID    USER   FD   TYPE DEVICE SIZE NODE NAME
growisofs 18924 gerhard    4r   BLK   22,0      4279 /dev/hdc
growisofs 18924 gerhard    5u   BLK   22,0      4279 /dev/hdc
growisofs 18924 gerhard    6u   BLK   22,0      4279 /dev/hdc
gerhard at ubuntu:~/download/freefonts/fontmanagers$ killall growisofs
gerhard at ubuntu:~/download/freefonts/fontmanagers$ lsof /dev/hdc
COMMAND     PID    USER   FD   TYPE DEVICE SIZE NODE NAME
growisofs 18924 gerhard    4r   BLK   22,0      4279 /dev/hdc
growisofs 18924 gerhard    5u   BLK   22,0      4279 /dev/hdc
growisofs 18924 gerhard    6u   BLK   22,0      4279 /dev/hdc
gerhard at ubuntu:~/download/freefonts/fontmanagers$ sudo killall -9 
growisofs
Password:
gerhard at ubuntu:~/download/freefonts/fontmanagers$ lsof /dev/hdc
COMMAND     PID    USER   FD   TYPE DEVICE SIZE NODE NAME
growisofs 18924 gerhard    4r   BLK   22,0      4279 /dev/hdc
growisofs 18924 gerhard    5u   BLK   22,0      4279 /dev/hdc
growisofs 18924 gerhard    6u   BLK   22,0      4279 /dev/hdc
gerhard at ubuntu:~/download/freefonts/fontmanagers$ 
tail -f /var/log/messages
Jun 10 18:22:59 localhost kernel: [ 5364.589041] ide-cd: cmd 0x3 timed 
out
Jun 10 18:22:59 localhost kernel: [ 5364.589046] hdc: lost interrupt
Jun 10 18:23:59 localhost kernel: [ 5394.770115] ide-cd: cmd 0x3 timed 
out
Jun 10 18:23:59 localhost kernel: [ 5394.770119] hdc: lost interrupt
Jun 10 18:24:59 localhost kernel: [ 5424.409996] ide-cd: cmd 0x3 timed 
out

This happened after 6% Writing.

$ k3b --version
Qt: 3.3.6
KDE: 3.5.2
K3b: 0.12.14
$ uname -r
2.6.15-23-amd64-generic
$ lspci
0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory 
Controller (rev a3)
0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller 
(rev a2)
0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller 
(rev a3)
0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 
Audio Controller (rev a2)
0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA 
Controller (rev a3)
0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA 
Controller (rev a3)
0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev 
a3)
0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 
[Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 
[Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 
[Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 
[Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 
6600 GT] (rev a2)
0000:05:06.0 Network controller: AVM Audiovisuelles MKTG & Computer 
System GmbH Fritz!PCI v2.0 ISDN (rev 01)
0000:05:0a.0 RAID bus controller: Silicon Image, Inc. SiI 3114 
[SATALink/SATARaid] Serial ATA Controller (rev 02)
0000:05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A 
IEEE-1394a-2000 Controller (PHY/Link)
0000:05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 
Gigabit Ethernet Controller (rev 13)

$ dmesg |grep ide
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] Nvidia board detected. Ignoring ACPI timer override.
[    0.000000] ACPI: BIOS IRQ0 pin2 override ignored.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] ACPI: IRQ14 used by override.
[    0.000000] ACPI: IRQ15 used by override.
[   41.836776] Boot video device is 0000:01:00.0
[   41.946918] ide: Assuming 33MHz system bus speed for PIO modes; 
override with idebus=xx
[   42.197989]     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: 
hda:DMA, hdb:DMA
[   42.197997]     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: 
hdc:DMA, hdd:DMA
[   42.198003] Probing IDE interface ide0...
[   43.178048] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   43.181035] Probing IDE interface ide1...
[   44.159346] ide1 at 0x170-0x177,0x376 on irq 15
[ 4008.457286] ide-cd: cmd 0x3 timed out
[ 4041.095994] ide-cd: cmd 0x3 timed out
[ 4089.186529] ide-cd: cmd 0x3 timed out
[ 4128.969616] ide-cd: cmd 0x3 timed out
[ 4160.789522] ide-cd: cmd 0x3 timed out
$ dmesg |grep hdc
[   42.197997]     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: 
hdc:DMA, hdd:DMA
[   43.852709] hdc: HL-DT-ST DVDRAM GSA-4167B, ATAPI CD/DVD-ROM drive
[   44.506449] hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB 
Cache, UDMA(33)
[ 4008.457290] hdc: lost interrupt
[ 4008.457294] hdc: cdrom_pc_intr: The drive appears confused (ireason = 
0x01)
[ 4041.095998] hdc: lost interrupt
[ 4041.096002] hdc: cdrom_pc_intr: The drive appears confused (ireason = 
0x01)
[ 4089.186535] hdc: lost interrupt

$ sudo cdrecord dev=ATA --scanbus
Cdrecord-Clone 2.01.01a01 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of 
cdrecord
      and thus may have bugs that are not present in the original 
version.
      Please send bug reports and support requests to 
<cdrtools at packages.debian.org>.
      The original author should not be bothered with problems of this 
version.

cdrecord: Warning: Running on Linux-2.6.15-23-amd64-generic
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or 
Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27

This might give nothing, because the drive hangs.

I'll post additional Info after reboot.
I also try to burn with DMA disabled, then...

$ growisofs --version
* growisofs by <appro at fy.chalmers.se>, version 5.21,
  front-ending to mkisofs: mkisofs 2.01-unofficial-iconv 
(x86_64-unknown-linux-gnu)

$ lsmod|grep ide
video                  18824  0
ide_scsi               20868  0
ide_disk               19456  0
ide_generic             2816  0
ide_cd                 35744  16
cdrom                  41144  1 ide_cd
scsi_mod              160504  5 sbp2,ide_scsi,sg,sd_mod,libata

$ sudo cdrecord -scanbus dev=ATA
Cdrecord-Clone 2.01.01a01 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of 
cdrecord
      and thus may have bugs that are not present in the original 
version.
      Please send bug reports and support requests to 
<cdrtools at packages.debian.org>.
      The original author should not be bothered with problems of this 
version.

cdrecord: Warning: Running on Linux-2.6.15-23-amd64-generic
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or 
Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg 
(debian-0.8debian2 '@(#)scsitransp.c      1.91 04/06/17 Copyright 
1988,1995,2000-2004 J. Schilling').
scsibus0:
        0,0,0     0) *
        0,1,0     1) 'HL-DT-ST' 'DVDRAM GSA-4163B' 'A100' Removable 
CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'HL-DT-ST' 'DVDRAM GSA-4167B' 'DL13' Removable 
CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
$ dmesg |grep GSA
[   39.483964] hdb: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
[   40.211833] hdc: HL-DT-ST DVDRAM GSA-4167B, ATAPI CD/DVD-ROM drive

The GSA-4167B seems to be defect.

k3b:
$ k3b: ERROR: (K3bDevice::Device) Unable to do inquiry.
k3b: ERROR: (K3bDevice::Device) Unable to do inquiry.
KCrash: Application 'k3b' crashing...

This is reading:

Jun 10 19:52:51 localhost -- MARK --

Jun 10 20:02:10 localhost kernel: [ 2958.592081] UDF-fs: No VRS found
Jun 10 20:02:10 localhost kernel: [ 2958.690627] UDF-fs: No VRS found
Jun 10 20:02:18 localhost kernel: [ 2963.845403] File unit size != 0 for 
ISO file (1856).
Jun 10 20:03:17 localhost kernel: [ 2999.624687] UDF-fs: No VRS found
Jun 10 20:03:17 localhost kernel: [ 2999.680065] UDF-fs: No VRS found
Jun 10 20:03:17 localhost kernel: [ 2999.755172] File unit size != 0 for 
ISO file (20608).
Jun 10 20:03:17 localhost kernel: [ 2999.833390] Interleaved files not 
(yet) supported.
Jun 10 20:03:17 localhost kernel: [ 2999.874666] VFS: Can't find a valid 
FAT filesystem on dev hdc.
Jun 10 20:03:18 localhost kernel: [ 2999.920586] VFS: Can't find a valid 
FAT filesystem on dev hdc.
Jun 10 20:03:18 localhost kernel: [ 3000.030910] HFS+-fs: unable to find 
HFS+ superblock
Jun 10 20:03:18 localhost kernel: [ 3000.081468] HFS+-fs: unable to find 
HFS+ superblock
Jun 10 20:03:18 localhost kernel: [ 3000.136636] VFS: Can't find a HFS 
filesystem on dev hdc.
Jun 10 20:03:18 localhost kernel: [ 3000.178018] VFS: Can't find a HFS 
filesystem on dev hdc.
Jun 10 20:03:18 localhost kernel: [ 3000.338956] VFS: Can't find an ext2 
filesystem on dev hdc.
Jun 10 20:03:19 localhost kernel: [ 3000.394140] VFS: Can't find an ext2 
filesystem on dev hdc.
Jun 10 20:03:25 localhost kernel: [ 3002.712144] ReiserFS: hdc: warning: 
sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
Jun 10 20:03:33 localhost kernel: [ 3003.480077] ReiserFS: hdc: warning: 
sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
Jun 10 20:03:33 localhost kernel: [ 3003.856567] XFS: bad magic number
Jun 10 20:03:33 localhost kernel: [ 3003.856636] XFS: SB validate failed
Jun 10 20:03:33 localhost kernel: [ 3003.897954] XFS: bad magic number
Jun 10 20:03:33 localhost kernel: [ 3003.898024] XFS: SB validate failed
Jun 10 20:04:34 localhost kernel: [ 3034.672150] UDF-fs: No VRS found
Jun 10 20:04:34 localhost kernel: [ 3034.779104] UDF-fs: No VRS found
Jun 10 20:04:34 localhost kernel: [ 3034.854309] File unit size != 0 for 
ISO file (20608).
Jun 10 20:04:35 localhost kernel: [ 3034.932547] Interleaved files not 
(yet) supported.
Jun 10 20:04:35 localhost kernel: [ 3035.153128] VFS: Can't find a valid 
FAT filesystem on dev hdc.
Jun 10 20:04:35 localhost kernel: [ 3035.208291] VFS: Can't find a valid 
FAT filesystem on dev hdc.
Jun 10 20:04:35 localhost kernel: [ 3035.309304] HFS+-fs: unable to find 
HFS+ superblock
Jun 10 20:04:36 localhost kernel: [ 3035.359866] HFS+-fs: unable to find 
HFS+ superblock
Jun 10 20:04:36 localhost kernel: [ 3035.415027] VFS: Can't find a HFS 
filesystem on dev hdc.
Jun 10 20:04:36 localhost kernel: [ 3035.470189] VFS: Can't find a HFS 
filesystem on dev hdc.
Jun 10 20:04:36 localhost kernel: [ 3035.640278] VFS: Can't find an ext2 
filesystem on dev hdc.
Jun 10 20:04:36 localhost kernel: [ 3035.690859] VFS: Can't find an ext2 
filesystem on dev hdc.
Jun 10 20:04:36 localhost kernel: [ 3035.774217] ReiserFS: hdc: warning: 
sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
Jun 10 20:04:37 localhost kernel: [ 3035.843174] ReiserFS: hdc: warning: 
sh-2021: reiserfs_fill_super: can not find reiserfs on hdc
Jun 10 20:04:37 localhost kernel: [ 3035.939224] XFS: bad magic number
Jun 10 20:04:37 localhost kernel: [ 3035.939339] XFS: SB validate failed
Jun 10 20:04:37 localhost kernel: [ 3036.003583] XFS: bad magic number
Jun 10 20:04:37 localhost kernel: [ 3036.003752] XFS: SB validate failed
Jun 10 20:06:30 localhost kernel: [ 3103.797281] hdc: lost interrupt
Jun 10 20:07:10 localhost kernel: [ 3127.701834] hdc: lost interrupt

$ cdrecord dev=/dev/hdc -atip
[...]
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg 
(debian-0.8debian2 '@(#)scsitransp.c      1.91 04/06/17 Copyright 
1988,1995,2000-2004 J. Schilling').
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4167B'
Revision       : 'DL13'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: Found DVD+ media but DVD+R/DVD+RW support code is missing.
cdrecord: If you need DVD+R/DVD+RW support, ask the Author for 
cdrecord-ProDVD.
[...]