Subject: kern/10870: siop(4) failed to burn CD-R.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 08/21/2000 08:29:16
>Number:         10870
>Category:       kern
>Synopsis:       siop(4) failed to burn CD-R.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 21 08:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Takahiro Kambe
>Release:        NetBSD 1.5_ALPHA2, 2000/8/18
>Organization:
	
>Environment:
	
System: NetBSD land.sky.yamashina.kyoto.jp 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (LAND) #102: Mon Aug 21 23:53:23 JST 2000 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386


>Description:
	siop(4) failed to burn CD-R.  cdrecord showed those
	messages bellow:

Performing OPC...
cdrecord: Input/output error. send opc: scsi sendcmd: retryable error
CDB:  54 01 00 00 00 00 00 00 00 00
status: 0x0 (GOOD STATUS)
cdrecord: No such file or directory. OPC failed.
cdrecord: fifo had 68 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

	On the same hardware, ncr(4) driver successfully burned CD-R.

>How-To-Repeat:
	Using siop(4) and SCSI CD-R driver.
>Fix:
	Unknown and it might not be just siop(4)'s problem.
	I've attach dmesg(8)'s output.

NetBSD 1.5_ALPHA2 (LAND) #100: Tue Aug 15 08:03:16 JST 2000
    taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND
cpu0: family 6 model 1 step 2
cpu0: AMD K7 (Athlon) (686-class)
total memory = 255 MB
avail memory = 233 MB
using 3296 buffers containing 13184 KB of memory
BIOS32 rev. 0 found at 0xfdb50
PCI BIOS rev. 2.1 found at 0xfdb71
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf7a10, size 144 bytes (7 entries)
PCI Interrupt Router at 000:07:3 (Advanced Micro Devices AMD756 Power Management Controller)
PIR Entry 0:
	Bus: 0  Device: 1
		INTA: link 0x01 bitmap 0xdeb8
		INTB: link 0x02 bitmap 0xdeb8
		INTC: link 0x03 bitmap 0xdeb8
		INTD: link 0x04 bitmap 0xdeb8
PIR Entry 1:
	Bus: 0  Device: 7
		INTA: link 0xfe bitmap 0x4000
		INTB: link 0xff bitmap 0x8000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x04 bitmap 0xdeb8
PIR Entry 2:
	Bus: 0  Device: 8
		INTA: link 0x01 bitmap 0xdeb8
		INTB: link 0x02 bitmap 0xdeb8
		INTC: link 0x03 bitmap 0xdeb8
		INTD: link 0x04 bitmap 0xdeb8
PIR Entry 3:
	Bus: 0  Device: 9
		INTA: link 0x02 bitmap 0xdeb8
		INTB: link 0x03 bitmap 0xdeb8
		INTC: link 0x04 bitmap 0xdeb8
		INTD: link 0x01 bitmap 0xdeb8
PIR Entry 4:
	Bus: 0  Device: 10
		INTA: link 0x03 bitmap 0xdeb8
		INTB: link 0x04 bitmap 0xdeb8
		INTC: link 0x01 bitmap 0xdeb8
		INTD: link 0x02 bitmap 0xdeb8
PIR Entry 5:
	Bus: 0  Device: 11
		INTA: link 0x04 bitmap 0xdeb8
		INTB: link 0x01 bitmap 0xdeb8
		INTC: link 0x02 bitmap 0xdeb8
		INTD: link 0x03 bitmap 0xdeb8
PIR Entry 6:
	Bus: 0  Device: 12
		INTA: link 0x01 bitmap 0xdeb8
		INTB: link 0x02 bitmap 0xdeb8
		INTC: link 0x03 bitmap 0xdeb8
		INTD: link 0x04 bitmap 0xdeb8
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1022 product 0x740b
Warning: unable to fix up PCI interrupt routing
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bus #1 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1022 0x7006 
	10h mem  0xe8000000 0x04000000
	14h mem  0xeddff000 0x00001000
	18h port 0x0000ce00 0x00000004
		[OK]
000:01:0 0x1022 0x7007 
		[OK]
000:07:0 0x1022 0x7408 
		[OK]
000:07:1 0x1022 0x7409 
	20h port 0x0000f000 0x00000010
		[OK]
000:07:3 0x1022 0x740b 
		[OK]
000:07:4 0x1022 0x740c 
	10h mem  0xefffd000 0x00001000
		[OK]
000:08:0 0x1102 0x0002 
	10h port 0x0000d800 0x00000020
		[OK]
000:08:1 0x1102 0x7002 
	10h port 0x0000de00 0x00000008
		[OK]
000:09:0 0x1000 0x000f 
	10h port 0x0000d000 0x00000100
	14h mem  0xefffff00 0x00000100
	18h mem  0xefffe000 0x00001000
		[OK]
000:10:0 0x10b7 0x9050 
	10h port 0x0000da00 0x00000040
		[OK]
000:11:0 0x1282 0x9102 
	10h port 0x0000dc00 0x00000080
	14h mem  0xeffffe80 0x00000080
		[OK]
001:05:0 0x10de 0x002d 
	10h mem  0xee000000 0x01000000
	14h mem  0xe2000000 0x02000000
		[OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x0ffed000
 PCI memory mapped I/O space start: 0x10000000
mainbus0 (root)
pnpbios0 at mainbus0: nodes 13, max len 109
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Advanced Micro Devices AMD751 System Controller (rev. 0x23)
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD751 PCI-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: Nvidia Corporation RIVA TNT2 Model 64 (rev. 0x15)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Advanced Micro Devices AMD756 PCI-to-ISA Bridge (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Advanced Micro Devices AMD756 IDE Controller (rev. 0x03)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DPTA-372050>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 19574 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 40088160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
wd1 at pciide0 channel 1 drive 0: <IBM-DTTA-351010>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 9671 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19807200 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd2 at pciide0 channel 1 drive 1: <IBM-DPTA-353000>
wd2: drive supports 16-sector pio transfers, lba addressing
wd2: 28613 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 58600080 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: secondary channel interrupting at irq 15
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 (using DMA data transfers)
Advanced Micro Devices AMD756 Power Management Controller (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
ohci0 at pci0 dev 7 function 4: Advanced Micro Devices AMD756 USB Host Controller (rev. 0x06)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Advanced Micro  OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x06) at pci0 dev 8 function 0 not configured
Creative Labs PCI Gameport Joystick (miscellaneous input, revision 0x06) at pci0 dev 8 function 1 not configured
siop0 at pci0 dev 9 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop0: using on-board RAM
siop0: interrupting at irq 11
scsibus0 at siop0: 16 targets, 8 luns per target
ex0 at pci0 dev 10 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at irq 12
ex0: MAC address 00:60:08:66:b5:89
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp0 at pci0 dev 11 function 0: Davicom DM9102 Ethernet, pass 1.0
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at irq 10
tlp0: Ethernet address 01:00:00:00:03:19
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: Am79C873 10/100 media interface (OUI 0x00606e, model 0x0000), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
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
lpt0 at isa0 port 0x378-0x37b irq 7
lpt1 at isa0 port 0x278-0x27b irq 5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
apm0 at mainbus0: Power Management spec V1.2
biomask ef45 netmask ff45 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 6 lun 0: <MATSHITA, CD-R   CW-7503, 1.04> SCSI2 5/cdrom removable
IPsec: Initialized Security Association Processing.
wd0: bad sector table corrupted
wd1: bad sector table corrupted
wd2: bad sector table corrupted
wd0: bad sector table corrupted
wd2: bad sector table corrupted
boot device: wd0
root on wd0a dumps on wd0b
wd0: bad sector table corrupted
Aug 15 23:23:56 land last message repeated 4 times
root file system type: ffs
wd2: bad sector table corrupted
wd1: bad sector table corrupted
wd1: bad sector table corrupted
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0


>Release-Note:
>Audit-Trail:
>Unformatted: