OpenBSD boot and A7N8X Deluxe
From: Kirlian Nexx (sorry_at_nogo.com)
Date: 09/25/03
- Next message: Joris Kemperman: "Creating one Volume using 2 harddisks"
- Previous message: synuw: "Rebuilding the binaries after a cvs patch branch update"
- Next in thread: Till Boehmert: "Re: OpenBSD boot and A7N8X Deluxe"
- Reply: Till Boehmert: "Re: OpenBSD boot and A7N8X Deluxe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Sep 2003 19:15:43 GMT
Hi all!
Thank you for having a look at this posting. The issue I have is the
following:
- Booting OpenBSD results 8/10 times in the system hanging during the
initialisation/detection of the IDE drives or controllers. The boot steps
where booting hangs are marked.
- Sometimes it hangs on the first boot step I highlighted. Sometimes on the
second one. Sometimes it boots without any problems, but very rarely. It
took me about 20 bloody times to get the 'normal' boot sequence :P...
cpu0: AMD Athlon XP Model 10 (Barton) ("AuthenticAMD" 686-class) 1.84 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,
FXSR,SIMD
real mem = 1073266688 (1048112K)
avail mem = 990375936 (967164K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(5d) BIOS, date 05/14/03, BIOS32 rev. 0 @ 0xfb480
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdeb0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 3 4 5 7 10 11 12
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Nvidia nForce2 Host-PCI" rev 0xa2
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 1 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 2 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 3 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 4 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "Nvidia nForce2 PCI-ISA" rev 0xa3
"Nvidia nForce2 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "Nvidia nForce2 USB" rev 0xa3: irq 11, OHCI
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1 "Nvidia nForce2 USB" rev 0xa3: irq 11, OHCI
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
"Nvidia nForce2 Audio Processing unit" rev 0xa2 at pci0 dev 5 function 0 not
configured
auich0 at pci0 dev 6 function 0 "Nvidia nForce2 AC-97 Audio" rev 0xa1: irq
3, nForce2 AC97
ac97: codec id 0x414c4720 (Avance Logic <20>)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
ppb0 at pci0 dev 8 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
"Texas Instruments DWL-520+" rev 0x00 at pci1 dev 8 function 0 not
configured
bktr0 at pci1 dev 10 function 0 "Brooktree BT878" rev 0x11
fun=2900006<MEM,MASTER,CAPLIST,BACK2BACK_STAT,DEVSEL_MEDIUM>pci_mapreg_map:
memt 1, memh e829d000, size 1000
: irq 5
bktr0: Warning - card vendor 0xbd11 (model 0x1200) unknown.
bktr0: Pinnacle/Miro TV, Philips SECAM tuner.
"Brooktree BT878 Audio" rev 0x11 at pci1 dev 10 function 1 not configured
pciide0 at pci0 dev 9 function 0 "Nvidia nForce2 IDE" rev 0xa2: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST380023A>
wd0: 16-sector PIO, LBA, 76319MB, 16383 cyl, 16 head, 63 sec, 156301488
sectors
wd1 at pciide0 channel 0 drive 1: <ST380023A>
wd1: 16-sector PIO, LBA, 76319MB, 16383 cyl, 16 head, 63 sec, 156301488
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2
------------------------->> HANGS!
cd0 at scsibus0 targ 0 lun 0: <HP, CD-Writer+ 9900j, 1.30> SCSI0 5/cdrom
removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2
------------------------->> HANGS!
cd1 at scsibus1 targ 0 lun 0: <PIONEER, DVD-ROM DVD-119, 1.05> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
ppb1 at pci0 dev 12 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci2 at ppb1 bus 2
xl0 at pci2 dev 1 function 0 "3Com 3c9201 100Base-TX" rev 0x40: irq 11
address 00:e0:18:f1:b2:68
ukphy0 at xl0 phy 2: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000895, model 0x0012, rev. 1
ppb2 at pci0 dev 30 function 0 "Nvidia nForce2 Host-AGP" rev 0xa2
pci3 at ppb2 bus 3
vga1 at pci3 dev 0 function 0 "ATI Radeon 9500/9700" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"ATI Radeon 9500/9700 Sec" rev 0x00 at pci3 dev 0 function 1 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c860 netmask c860 ttymask c862
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
wd0: no disk label
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev
1.10/3.00, addr 2, iclass 3/1
ums0 at uhidev0: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
- After this, the system truly hangs (numlock and shift lock lights do not
respond) or...
- When the system DOES boot, it stays stuck for about 3-4 seconds at those
same lines I mentioned, then it continues booting normally.
- Disabling the IDE Secondary Controller on the BIOS setup fixes it! OpenBSD
boots blindingly fast, without hanging. The same result is achieved if you
physically disconnect both cdroms. In this case, the dmesg log looks like
this:
cpu0: AMD Athlon XP Model 10 (Barton) ("AuthenticAMD" 686-class) 1.84 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,
FXSR,SIMD
real mem = 1073266688 (1048112K)
avail mem = 990375936 (967164K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(5d) BIOS, date 05/14/03, BIOS32 rev. 0 @ 0xfb480
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdeb0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 3 4 5 7 10 11 12 15
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Nvidia nForce2 Host-PCI" rev 0xa2
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 1 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 2 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 3 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 4 not configured
"Nvidia nForce2" rev 0xa2 at pci0 dev 0 function 5 not configured
pcib0 at pci0 dev 1 function 0 "Nvidia nForce2 PCI-ISA" rev 0xa3
"Nvidia nForce2 SMBus" rev 0xa2 at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0 "Nvidia nForce2 USB" rev 0xa3: irq 15, OHCI
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1 "Nvidia nForce2 USB" rev 0xa3: irq 4, OHCI
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
"Nvidia nForce2 Audio Processing unit" rev 0xa2 at pci0 dev 5 function 0 not
configured
auich0 at pci0 dev 6 function 0 "Nvidia nForce2 AC-97 Audio" rev 0xa1: irq
7, nForce2 AC97
ac97: codec id 0x414c4720 (Avance Logic <20>)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
ppb0 at pci0 dev 8 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci1 at ppb0 bus 1
"Texas Instruments DWL-520+" rev 0x00 at pci1 dev 8 function 0 not
configured
bktr0 at pci1 dev 10 function 0 "Brooktree BT878" rev 0x11
fun=2900006<MEM,MASTER,CAPLIST,BACK2BACK_STAT,DEVSEL_MEDIUM>pci_mapreg_map:
memt 1, memh e829d000, size 1000
: irq 12
bktr0: Warning - card vendor 0xbd11 (model 0x1200) unknown.
bktr0: Pinnacle/Miro TV, Philips SECAM tuner.
"Brooktree BT878 Audio" rev 0x11 at pci1 dev 10 function 1 not configured
pciide0 at pci0 dev 9 function 0 "Nvidia nForce2 IDE" rev 0xa2: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST380023A>
wd0: 16-sector PIO, LBA, 76319MB, 16383 cyl, 16 head, 63 sec, 156301488
sectors
wd1 at pciide0 channel 0 drive 1: <ST380023A>
wd1: 16-sector PIO, LBA, 76319MB, 16383 cyl, 16 head, 63 sec, 156301488
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ppb1 at pci0 dev 12 function 0 "Nvidia nForce2 PCI-PCI" rev 0xa3
pci2 at ppb1 bus 2
xl0 at pci2 dev 1 function 0 "3Com 3c9201 100Base-TX" rev 0x40: irq 15
address 00:e0:18:f1:b2:68
ukphy0 at xl0 phy 2: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000895, model 0x0012, rev. 1
ppb2 at pci0 dev 30 function 0 "Nvidia nForce2 Host-AGP" rev 0xa2
pci3 at ppb2 bus 3
vga1 at pci3 dev 0 function 0 "ATI Radeon 9500/9700" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"ATI Radeon 9500/9700 Sec" rev 0x00 at pci3 dev 0 function 1 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask d050 netmask d050 ttymask d052
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
wd0: no disk label
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev
1.10/3.00, addr 2, iclass 3/1
ums0 at uhidev0: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
- I checked the Hardware Supported page on www.openbsd.org and it claims to
support NForce/NForce2 chipsets. However, there is a fair amount of
information on newsgroups about issues with this chipset. Therefore I'm not
sure what to assume: are the drivers stable? If not, are there patches
available for them? It doesn't seem like it...
- I am assuming that I could request the BSD kernel not to use the secondary
IDE controller by passing kernel options at boot. Of course, that means not
being able to mount CDROMS. That would severely suck of course. :T Would
there be a way to 'force-feed' parameters to the kernel automatically so it
doesn't do this hanging thing, and still work properly? I tried selecting
the transfer modes manually as well, since the BIOS allows you to choose
Auto/PIO 1-2-3-4 and Enable UDMA/Disable UDMA. Same result, system still
hangs.
- Finally, I'm seeing a lot of ugly messages on those logs, which seem to
point that a lot of devices are not being configured properly. I expected
some devices not to be supported (the ACX100-based wireless card, drivers
are being written for linux and BSD as we speak) and the Pinnacle TV Card.
However, most of the NForce-2-related functions are not working. Why?
BTW, I'd like to apologize in advance if I am asking something that already
was, or breaking some usenet etiquette rule... It's a lot of text, I know. I
believe that having a detailed dmesg would help in finding out what's going
on though. If I need to get a clue, at least be so kind to tell me how! hehe
Thanks in advance for your help,
Kirlian
- Next message: Joris Kemperman: "Creating one Volume using 2 harddisks"
- Previous message: synuw: "Rebuilding the binaries after a cvs patch branch update"
- Next in thread: Till Boehmert: "Re: OpenBSD boot and A7N8X Deluxe"
- Reply: Till Boehmert: "Re: OpenBSD boot and A7N8X Deluxe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]