public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SATA Burner Pioneer DVR-216-DBK won't burn
@ 2008-10-05 18:04 Peter Alfredsen
  2008-10-14  7:15 ` Tejun Heo
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Alfredsen @ 2008-10-05 18:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-ide

[-- Attachment #1: Type: text/plain, Size: 7350 bytes --]

[please CC me on replies]
Linux loki 2.6.27-rc8 #5 SMP PREEMPT Sun Oct 5 17:56:00 CEST 2008 x86_64 
Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux

I recently acquired a DVR-216-DBK Pioneer SATA burner. With my old 
burner, a DVR-110D,  I am able to burn a DVD. With the DVR-216DBK, I'm 
not, it stops always at 98%, no matter which speed I burn at.

My motherboard is a ASUS P5Q-EM, I have 8GB of ram and am running Gentoo 
Linux. I've tried both cdrkit and cdrtools.
DVR-216-DBK Fails, connected to ICH10R AHCI SATA controller
DVR-110D Succeeds, connected to Marvell 6101 PATA_MARVELL controller

I've located other people who seem to be experiencing the same thing:

http://bugs.kde.org/show_bug.cgi?id=169294
http://ubuntuforums.org/showthread.php?t=543483

This seems to me to point to a problem with the AHCI driver's 
interaction with the drive.

Attached is lspci -k and debug output from K3B:

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller 
(rev 03)
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #4
        Kernel driver in use: uhci_hcd
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #5
        Kernel driver in use: uhci_hcd
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #6
        Kernel driver in use: uhci_hcd
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 
EHCI Controller #2
        Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio 
Controller
        Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express 
Port 1
        Kernel driver in use: pcieport-driver
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express 
Port 5
        Kernel driver in use: pcieport-driver
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express 
Port 6
        Kernel driver in use: pcieport-driver
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #1
        Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #2
        Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB 
UHCI Controller #3
        Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 
EHCI Controller #1
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface 
Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA 
AHCI Controller
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
        Kernel driver in use: i801_smbus
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
        Kernel driver in use: r8169
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 
single-port PATA133 interface (rev b2)
        Kernel driver in use: pata_marvell
        Kernel modules: pata_marvell
04:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)
        Kernel driver in use: firewire_ohci




System
-----------------------
K3b Version: 1.0.5

KDE Version: 3.5.10
QT Version:  3.3.8b
Kernel:      2.6.27-rc8
Devices
-----------------------
PIONEER DVD-RW  DVR-110D 1.41 (/dev/sr1, ) [CD-R, CD-RW, CD-ROM, 
DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, 
DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, 
DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R 
Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, 
RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump]

PIONEER DVD-RW  DVR-216D 1.04 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, 
DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, 
DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, 
DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R 
Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, 
RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump]
Burned media
-----------------------
DVD-R Sequential

K3bIsoImager
-----------------------
mkisofs print size result: 1957074 (4008087552 bytes)
Pipe throughput: 4008087552 bytes read, 4008087552 bytes written.

Used versions
-----------------------
mkisofs: 2.1.1a50
growisofs: 7.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'
/dev/sr0: engaging DVD-R DAO upon user request...
/dev/sr0: reserving 1957074 blocks
/dev/sr0: "Current Write Speed" is 20.5x1352KBps.
    1572864/4008087552 ( 0.0%) @0.0x, remaining 212:16 RBU 100.0% UBU   
2.0%
[A lot of the same omitted]
 3942252544/4008087552 (98.4%) @16.8x, remaining 0:03 RBU 100.0% UBU 
100.0%
:-[ WRITE@LBA=1ddcd0h failed with SK=5h/ASC=A8h/ACQ=04h]: Input/output 
error
:-( write failed: Input/output error
/dev/sr0: flushing cache

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:1957074 -use-the-force-luke=dao:1957074 -dvd-compat -speed=20 -use-the-force-luke=bufsize:32m 

mkisofs
-----------------------
1957074
/usr/bin/mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.
/usr/bin/mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.
/usr/bin/mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.
Setting input-charset to 'UTF-8' from locale.
  0.03% done, estimate finish Sun Oct  5 19:10:06 2008
[a few houndred lines omitted for brevity's sake]
 99.97% done, estimate finish Sun Oct  5 19:14:14 2008
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 4248
Path table size(bytes): 42
Max brk space used 0
1957074 extents written (3822 MB)

mkisofs calculate size command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -print-size -quiet -volid 
madrid07 -volset  -appid K3B THE CD KREATOR (C) 1998-2006 SEBASTIAN 
TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 
1 -volset-seqno 
1 -sort /tmp/kde-pa/k3b26pqfa.tmp -no-cache-inodes -udf -iso-level 
1 -path-list /tmp/kde-pa/k3bdhn4Wb.tmp -dvd-video -f /tmp/kde-pa/k3bVideoDvd0 

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid madrid07 -volset  -appid K3B 
THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B 
TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 
1 -sort /tmp/kde-pa/k3bKNxcVb.tmp -no-cache-inodes -udf -iso-level 
1 -path-list /tmp/kde-pa/k3bM12aPb.tmp -dvd-video -f /tmp/kde-pa/k3bVideoDvd0 



-- 
/PA

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: SATA Burner Pioneer DVR-216-DBK won't burn
@ 2008-10-05 21:03 Joerg Schilling
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Schilling @ 2008-10-05 21:03 UTC (permalink / raw)
  To: loki_val, linux-kernel; +Cc: joerg.schilling


[please CC me on replies]

>Linux loki 2.6.27-rc8 #5 SMP PREEMPT Sun Oct 5 17:56:00 CEST 2008 x86_64
>Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux

>I recently acquired a DVR-216-DBK Pioneer SATA burner. With my old
>burner, a DVR-110D,  I am able to burn a DVD. With the DVR-216DBK, I'm
>not, it stops always at 98%, no matter which speed I burn at.

>My motherboard is a ASUS P5Q-EM, I have 8GB of ram and am running Gentoo
>Linux. I've tried both cdrkit and cdrtools.
>DVR-216-DBK Fails, connected to ICH10R AHCI SATA controller
>DVR-110D Succeeds, connected to Marvell 6101 PATA_MARVELL controller

First a note on your mkisofs command: you should not use the option
"-no-cache-inodes" unless you have a _really_ good reason and I am really sure 
that you don't have a reason ;-) mkisofs works best if you omit this option!

Regarding your write problems. From your mail, it is obvious that you did not 
try cdrecord but you used only the original mkisofs together with growisofs
and you tried to use growisofs in a mode that it's author does not like.


I cannot recommend wodim, it is based on a 3 year old version of cdrecord and 
the original DVD support from cdrecord code has been replaced by half baken
play code by someone else. There is even no support for it since May 6th 2007.

I would recommend you to try cdrecord. The k3b people told me that k3b prefers
cdrecord if found.

Make sure that cdrecord is installed suid root.
If your have more than one drive, first call cdrecord -scanbus for the right
dev= parameter. If you only have one drive, just omit dev= from your command 
line.

In order to get help, you need to send some information:

1) the cdrecord -atip output to indicate the media manufacturer.
	Media from cheap manufacturers may cause problems.

2) the cdrecord -minfo output to indicate the state of the medium before
	the write process started

3) the cdrecord -dao -v xxx.iso output to see what happens

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-16  0:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-05 18:04 SATA Burner Pioneer DVR-216-DBK won't burn Peter Alfredsen
2008-10-14  7:15 ` Tejun Heo
2008-10-15 14:47   ` Peter Alfredsen
2008-10-16  0:10     ` Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2008-10-05 21:03 Joerg Schilling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox