Subject: i386 - Cannot boot from wd(Promise Ultra100) with infinite ``bogus
To: None <current-users@netbsd.org>
From: NISHIO Yasuhiro <nishio@hh.iij4u.or.jp>
List: current-users
Date: 10/13/2003 00:18:43
Hi,
I'm using the ASUS P5A Mother Board with Promise Ultra100/ATA Card.
Recent(in 3 weeks) NetBSD current kernel cannot detect the wd device 
correctly. Kernel got ``bogus intr'' message and cannot boot.

On current-users ML, I found some people's dmesg that kernel found wd
device correctly(without RAID portion). What is wrong on my case?

Could you please give me any advice?
-- 
Boot message & kernel config is here.
     <http://www.hh.iij4u.or.jp/~nishio/netbsd/>
     <http://www.hh.iij4u.or.jp/~nishio/netbsd/boot-msg.txt>	(45Kbyes)
     <http://www.hh.iij4u.or.jp/~nishio/netbsd/kernel-conf.txt>	(41Kbytes)

And I try to use following GENERIC Kernel.

Work fine with 
- ftp://releng.netbsd.org/pub/NetBSD-daily/current/
    200309170000/i386/binary/kernel/netbsd-GENERIC.gz 

Donot work with
- ftp://releng.netbsd.org/pub/NetBSD-daily/current/
    200309210000/i386/binary/kernel/netbsd-GENERIC.gz 
    200309260000/i386/binary/kernel/netbsd-GENERIC.gz 
    200309280000/i386/binary/kernel/netbsd-GENERIC.gz 

Here is boot message(releng.netbsd.org.'s GENERIC kernel).
========================================

2003-09-17 KERNEL

>> NetBSD/i386 BIOS Boot, Revision 2.12
>> (root@mercury.bb.yhn.jp, Thu Oct  3 13:58:04 JST 2002)
>> Memory: 634/523248 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0
type "?" or "help" for help.
> boot hd0a:0917-netbsd -s
booting hd0a:0917-netbsd (howto 0x2)
6129860+132488+403220 [347888+297077]=0x6f9ef8
BIOS CFG: Model-SubM-Rev: fc-01-00, 0x70<KBDINT,RTC,IC2>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6ZC (GENERIC) #0: Sat Sep 20 00:34:15 UTC 2003
	autobuild@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC
total memory = 511 MB
avail memory = 466 MB
using 6144 buffers containing 26296 KB of memory
BIOS32 rev. 0 found at 0xf0690
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD K6-III (586-class), 400.93 MHz, id 0x591
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
cpu0: I-cache 32 KB 32b/line 2-way, D-cache 32 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 4-way
cpu0: ITLB 64 4 KB entries direct-mapped
cpu0: DTLB 128 4 KB entries 2-way
cpu0: 16 page colors
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: Acer Labs M1541 Host-PCI Bridge (rev. 0x04)
agp0 at pchb0: aperture at 0xe5000000, size 0x1000000
ppb0 at pci0 dev 1 function 0: Acer Labs M5243 PCI-AGP Bridge (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at irq 15
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
vga1 at pci0 dev 9 function 0: ATI Technologies 3D Rage Pro (rev. 0x5c)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
pciide0 at pci0 dev 10 function 0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 14 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct15 30>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 28629 MB, 58168 cyl, 16 head, 63 sec, 512 bytes/sect x 58633344 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
wd1 at pciide0 channel 1 drive 0: <ST340810ACE>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
fxp0 at pci0 dev 11 function 0: i82550 Ethernet, rev 12
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:02:b3:41:31:ac
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wm0 at pci0 dev 12 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at irq 11
wm0: Ethernet address 00:07:e9:14:ab:36
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
cbb0 at pci0 dev 13 function 0: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
cbb1 at pci0 dev 13 function 1: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
pciide1 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide1: device disabled (at device)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
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 mux 1
wskbd0: connecting to wsdisplay0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
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
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 0 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 5
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 0 device 0
pcmcia1 at cardslot1
pciide0:0: bogus intr
Kernelized RAIDframe activated
com3 at pcmcia0 function 0: serial device
com3: ns16550a, working fifo
uplcom0 at uhub0 port 1
uplcom0: RATOC Systems, Inc. USB serial adapter REX-USB60, rev 1.10/0.00, addr 2
ucom0 at uplcom0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Enter pathname of shell or RETURN for /bin/sh: 
We recommend creating a non-root account and using su(1) for root access.
No entry for terminal type "dumb";
using dumb terminal settings.
# 
# 
# 
# reboot
Oct 11 00:28:38 reboot: rebooted by root
syncing disks... done
rebooting...

==============================
2003-09-21 KERNEL
>> NetBSD/i386 BIOS Boot, Revision 2.12
>> (root@mercury.bb.yhn.jp, Thu Oct  3 13:58:04 JST 2002)
>> Memory: 634/523248 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0
type "?" or "help" for help.
> boot hd0a:0921-netbsd -s
booting hd0a:0921-netbsd (howto 0x2)
6019096+131300+406104 [331120+296805]=0x6db298
BIOS CFG: Model-SubM-Rev: fc-01-00, 0x70<KBDINT,RTC,IC2>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6ZC (GENERIC) #0: Tue Sep 23 15:30:43 UTC 2003
	autobuild@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC
total memory = 511 MB
avail memory = 466 MB
using 6144 buffers containing 26296 KB of memory
BIOS32 rev. 0 found at 0xf0690
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD K6-III (586-class), 400.92 MHz, id 0x591
cpu0: features 8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8021bf<PGE,MMX>
cpu0: I-cache 32 KB 32b/line 2-way, D-cache 32 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 4-way
cpu0: ITLB 64 4 KB entries direct-mapped
cpu0: DTLB 128 4 KB entries 2-way
cpu0: 16 page colors
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: Acer Labs M1541 Host-PCI Bridge (rev. 0x04)
agp0 at pchb0: aperture at 0xe5000000, size 0x1000000
ppb0 at pci0 dev 1 function 0: Acer Labs M5243 PCI-AGP Bridge (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at irq 15
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
vga1 at pci0 dev 9 function 0: ATI Technologies 3D Rage Pro (rev. 0x5c)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
pciide0 at pci0 dev 10 function 0
pciide0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 14 for native-PCI interrupt
pciide0: secondary channel configured to native-PCI mode
fxp0 at pci0 dev 11 function 0: i82550 Ethernet, rev 12
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:02:b3:41:31:ac
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wm0 at pci0 dev 12 function 0: Intel i82540EM 1000BASE-T Ethernet, rev. 2
wm0: interrupting at irq 11
wm0: Ethernet address 00:07:e9:14:ab:36
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
cbb0 at pci0 dev 13 function 0: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
cbb1 at pci0 dev 13 function 1: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
pciide1 at pci0 dev 15 function 0
pciide1: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide1: device disabled (at device)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
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 mux 1
wskbd0: connecting to wsdisplay0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
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
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 0 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 5
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 0 device 0
pcmcia1 at cardslot1
pciide0:0: bogus intr
pciide0:1: bogus intr
pciide0:0: bogus intr
pciide0:1: bogus intr
pciide0:0: bogus intr
pciide0:1: bogus intr
pciide0:0: bogus intr
pciide0:1: bogus intr

(above message is displayed infinitely.)
--
NISHIO Yasuhiro