Subject: kern/24958: CD/DVD recording impossible with 1.6ZL, works in 1.6ZG
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <grant@NetBSD.org>
List: netbsd-bugs
Date: 03/29/2004 22:41:22
>Number:         24958
>Category:       kern
>Synopsis:       CD/DVD recording impossible with 1.6ZL, works in 1.6ZG
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 29 12:42:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        NetBSD 1.6ZL
>Organization:
>Environment:
System: NetBSD mofo 1.6ZL NetBSD 1.6ZL (MOFO) #0: Fri Mar 26 22:30:29 EST 2004 grant@mofo:/data1/netbsd/current/src/sys/arch/i386/compile/MOFO i386
Architecture: i386
Machine: i386
>Description:
after upgrading my kernel to 1.6ZL, CD/DVD recording has become
impossible. running "cdrecord -v blah.iso" reports that the FIFO gets
emptied very soon after starting, and towards the middle of the burn
cdrecord aborts. the "buffer" figure always remains close to 100%.

turning on "burn-free" does not help.

booting a 1.6ZG kernel, the same command line for CDs and DVDs works
fine (FIFO and buffer staying close to 100%).

no idea where to start looking at this one .. maybe someone else has a
clue? ;)

dmesg:


NetBSD 1.6ZG (MOFO) #2: Thu Dec 11 00:30:00 EST 2003
	grant@mofo:/src/sys/arch/i386/compile/MOFO
total memory = 639 MB
avail memory = 587 MB
using 8211 buffers containing 32844 KB of memory
BIOS32 rev. 0 found at 0xfb4f0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 866.74 MHz, id 0x686
cpu0: features 387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 387f9ff<PGE,MCA,CMOV,PAT,PSE36,PN,MMX>
cpu0: features 387f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: serial number 0000-0686-0003-44D2-67BE-44A4
cpu0: 8 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20031029
acpi0: X/RSDT: OemId <IntelR,AWRDACPI,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
fdc1 at acpi0 (PNP0700)
fdc1: io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
com3 at acpi0 (PNP0501-1)
com3: io 0x3f8-0x3ff irq 4
com3: ns16550a, working fifo
com4 at acpi0 (PNP0501-2)
com4: io 0x2f8-0x2ff irq 3
com4: ns16550a, working fifo
lpt3 at acpi0 (PNP0400-1)
lpt3: io 0x378-0x37f irq 7
PNP0C0B at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xd0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x05)
wsdisplay0 at vga1 kbdmux 1: console (80x25, sun emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
fxp0 at pci0 dev 13 function 0: Intel i82557 Ethernet, rev 1
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:a0:c9:39:60:26
nsphy0 at fxp0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
emuxki0 at pci0 dev 15 function 0: Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x05)
emuxki0: interrupting at irq 12
emuxki0: ac97: TriTech TR28602 codec; no 3D stereo
audio0 at emuxki0: full duplex, mmap, independent
joy0 at pci0 dev 15 function 1: Creative Labs PCI Gameport Joystick (rev 0x05)
joy0: joystick not connected
hptide0 at pci0 dev 19 function 0
hptide0: Triones/Highpoint HPT370 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
hptide0: using irq 11 for native-PCI interrupt
atabus2 at hptide0 channel 0
hptide0: secondary channel wired to native-PCI mode
atabus3 at hptide0 channel 1
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 1: <PIONEER DVD-RW  DVR-106D, CIDC248184WL, 1.07> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus0 drive 0: <QUANTUM FIREBALLP AS40.0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38172 MB, 77557 cyl, 16 head, 63 sec, 512 bytes/sect x 78177792 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
cd0(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
atapibus1 at atabus1: 2 targets
cd1 at atapibus1 drive 1: <SONY    CD-RW  CRX195E1, , ZYS5> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd2 at atabus1 drive 0: <ST340016A>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
cd1(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Sun Microsystems Type 6 USB mouse, rev 1.00/1.02, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
uhidev1 at uhub0 port 2 configuration 1 interface 0
uhidev1: Sun Microsystems Type 6 USB keyboard, rev 1.00/1.02, addr 3, iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wd4 at atabus2 drive 0: <ST380021A>
wd4: drive supports 16-sector PIO transfers, LBA addressing
wd4: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd4: 32-bit data port
wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd4(hptide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd6 at atabus3 drive 0: <ST380021A>
wd6: drive supports 16-sector PIO transfers, LBA addressing
wd6: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd6: 32-bit data port
wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd6(hptide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)

>How-To-Repeat:
boot 1.6ZL, attempt to burn a CD or DVD to an ATAPI drive. boot 1.6ZG and
have it succeed.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: