Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pcibios(4) related crash during boot on system with General Software BIOS



In the past few days I've been experimenting with a little embedded
board that goes in a VOiP device to act as an auxiliary server for
add-on applications.  It's basically an embedded PC without any VGA or
keyboard interfaces -- serial console only.

The BIOS is identified as follows:

General Software P7+ Class Embedded BIOS(R) 2000 Revision 5.3
Copyright (C) 2005 General Software, Inc.  All rights reserved.
AudioCodes M1KSBC (Pentium-M/855GME/6300ESB) Board BIOS - SHM 2.02

General Software, Inc. was at www.gensw.com, but they've apparently been
acquired by Pheonix in Sept. of 2008 and now their old web site is dead.

Yesterday's experiment was to try to boot and install NetBSD-4 on it.

The install goes mostly fine (except for pckbc(4) and pckbd(4) timeout
issues during boot), but in booting from the GENERIC.MP kernel that has
installed on the internal hard drive, it panics as follows.

Has anyone ever seen this kind of crash before?  Should I send-pr?

I don't know if I'll be able to do any further debugging on this device
or not -- ultimately the goal was to try to run Solaris x86 on it, but
that's also having problems getting going, and OpenSolaris is no better.
The manufacturer's officially supported options only include Linux and
Windoze, of course.  If they decide to go with NetBSD though, then I'll
be able to try NetBSD-5, and maybe -current too.

After the GENERIC.MP crash I've copied in the dmesg from a successful
INSTALL_LARGE boot.


NetBSD MBR boot

NetBSD/i386 ffsv1 Primary Bootstrap
found consdev=COM0, trying....

console=com0[0x3f8] @115200 baud

console=com at 0x3f8, 115200 baud

>> NetBSD/i386 BIOS Boot, Revision 3.3
>> (woods@once, Thu Feb 25 11:32:33 EST 2010)
>> Memory: 631/2083729 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in ... interrupted!
type "?" or "help" for help.
> boot -vc
booting hd0a:netbsd (howto 0x21000)
9450032+412004+375052 [443584+426220]=0xa99bc0
initial mem_cluster_cnt: 0
BIOS MEMORY MAP (8 ENTRIES):
    addr 0x0  size 0x9dc00  type 0x1
    addr 0x9dc00  size 0x2400  type 0x2
    addr 0xe0000  size 0x20000  type 0x2
    addr 0x100000  size 0x7f2e4400  type 0x1
    addr 0x7f3e4400  size 0x4800  type 0x3
    addr 0x7f3e8c00  size 0x400  type 0x4
    addr 0x7f3e9000  size 0x417000  type 0x2
    addr 0xfff00000  size 0x100000  type 0x2
final mem_cluster_cnt: 2
KVA space seems to be: 1056956416
buf_memcalc: bufcache is preset to 5%
buf_memcalc: bufmem calculated to be to 106700800 bytes
loading 0x7000-0x9d000 (0x7-0x9d)
loading 0xba2000-0x1000000 (0xba2-0x1000)
loading 0x1000000-0x7f3e4000 (0x1000-0x7f3e4)
kenter: 0x00002000
acpi: wakecode is installed at 0x2000, size=376
Loaded initial symtab at 0xc0ac5270, strtab at 0xc0b31ad4, # entries 26185, 
NKSYMS=1
BIOS CFG: Model-SubM-Rev: fc-00-05, 0x7c<EBDA,WAITEV,KBDINT,RTC,IC2>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    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 4.0_STABLE (GENERIC.MP) #2: Sun Mar 28 15:56:53 EDT 2010
        
woods@once:/rest/build/woods/once/netbsd-4-i386-i386-ppro-obj/rest/work/woods/m-NetBSD-4/sys/arch/i386/compile/GENERIC.MP
total memory = 2035 MB
rbus: rbus_min_start set to 0x80000000
avail memory = 1977 MB
buf_memcalc: bufcache is preset to 5%
buf_memcalc: bufmem calculated to be to 106700800 bytes
nbuf (bufhashtbl size) = 34733
rnd: initialised (4096) with counter
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable pckbc
[144] pckbc0 disabled
[145] pckbc* disabled
uc> disable pckbd
[383] pckbd* disabled
uc> exit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Calibrating TSC clock ... TSC clock: 1400102650 Hz
BIOS32 rev. 0 found at 0xff080
PCI BIOS rev. 2.1 found at 0xff686
pcibios: config mechanism [1][x], special cycles [x][x], last bus 3
uvm_fault(0xc0ab0b60, 0xf1000, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (swapper) at 0xc0c01617:     repe movsb      (%esi),%es:(%edi
)
db{0}> trace
_prop_array_pool(c3855a00,c0ab5924,c0ab590a,c045f945,c0a1bf6c) at 0xc0c01617
pcibios_pir_init(c09e8bc4,c0984103,c09840ff,c09840ff,c09840ff) at netbsd:pcibios
_pir_init+0x163
pcibios_init(c0b9dc40,20,c0b9dc08,c0454daf,c096514b) at netbsd:pcibios_init+0x11
f
cpu_configure(c096514b,0,0,c0b9a010,b9a000) at netbsd:cpu_configure+0x15
configure(0,1,0,0,0) at netbsd:configure+0x2f
main(fbff,c01002d2,0,0,0) at netbsd:main+0xf5
db{0}> reboot

The operating system has halted.
Please press any key to reboot.

(read key value 0xd)

rebooting...
cpu_reset(): trying generic PCI-bus system & CPU reset...




Here's the INSTALL_LARGE boot:

NetBSD/i386 cd9660 Primary Bootstrap
found consdev=auto
trying COM0...:-(
console=com0[0x3f8] @115200 baud

console=com at 0x3f8, 115200 baud

>> NetBSD/i386 BIOS Boot, Revision 3.3
>> (woods@once, Thu Feb 25 11:32:33 EST 2010)
>> Memory: 629/2083729 k
Press return to boot now, any other key for boot menu
booting cd0a:netbsd - starting in ... interrupted!
type "?" or "help" for help.
> boot -c
booting cd0a:netbsd (howto 0x1000)
4151376+5319812+164212 [284352+268018]=0x9b8f28
KVA space seems to be: 1057878016
kenter: 0x00001000
acpi: wakecode is installed at 0x1000, size=376
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    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 4.0_STABLE (INSTALL_LARGE) #2: Sun Mar 28 15:58:27 EDT 2010
        
woods@once:/rest/build/woods/once/netbsd-4-i386-i386-ppro-obj/rest/work/woods/m-NetBSD-4/sys/arch/i386/compile/INSTALL_LARGE
total memory = 2035 MB
rbus: rbus_min_start set to 0x80000000
avail memory = 1990 MB
rnd: initialised (4096) with counter
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable pckbc
[115] pckbc0 disabled
uc> disable pckbd
[237] pckbd* disabled
uc> exit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xff080
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium M (Dothan) (686-class), 1400.12 MHz, id 0x6d8
cpu0: "Intel(R) Pentium(R) M processor 1.40GHz"
cpu0: using thermal monitor 2
cpu0: calibrating local timer
cpu0: apic clock running at 100 MHz
ioapic0 at mainbus0 apid 14 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 1
ioapic0: remapped to apic 14
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: fixed-feature power button present
acpi0: fixed-feature sleep button present
ACPI Error (evxfevnt-0292): Could not enable SleepButton event [20060217]
ACPI Warning (evxface-0236): Could not enable fixed event 3 [20060217]
acpi0: unable to install handler for fixed sleep button: AE_NO_HARDWARE_RESPONSE
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0C [ACPI power button device] at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
INT0800 [Intel FWH Random Number Generator] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pci0 at mainbus0 bus 0
pci0: PCI bus configuration mode 1 (all devs 0-32)
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x3580 (rev. 0x02)
agp at pchb0 not configured
vendor 0x8086 product 0x3584 (miscellaneous system, revision 0x02) at pci0 dev 
0 function 1 not configured
vendor 0x8086 product 0x3585 (miscellaneous system, revision 0x02) at pci0 dev 
0 function 3 not configured
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x3581 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: no spaces enabled!
vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x3582 (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x25ae (rev. 0x02)
pci2 at ppb1 bus 2
pci2: no spaces enabled!
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x25a9 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x25aa (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x25ab (miscellaneous system, revision 0x02) at pci0 dev 
29 function 4 not configured
vendor 0x8086 product 0x25ac (interrupt system, interface 0x20, revision 0x02) 
at pci0 dev 29 function 5 not configured
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x25ad (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23 (irq 11)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb2 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x0a)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
mskc0 at pci3 dev 0 function 0, Yukon-2 XL rev. A3 (0x3): ioapic0 pin 21 (irq 
10)
msk0 at mskc0 port A: Ethernet address 00:90:8f:22:1d:97
ukphy0 at msk0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x0009, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
rnd: mskc0 attached as an entropy source (off)
msk1 at mskc0 port B: Ethernet address 00:90:8f:22:1d:98
ukphy1 at msk1 phy 0: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000ac2, model 0x0009, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
rnd: mskc0 attached as an entropy source (off)
fxp0 at pci3 dev 1 function 0: i82550 Ethernet, rev 16
fxp0: interrupting at ioapic0 pin 22 (irq 11)
fxp0: Ethernet address 00:90:8f:22:1d:96
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rnd: fxp0 attached as an entropy source (off)
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x25a1 (rev. 0x02)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 6300ESB Serial ATA Controller (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x25a4 (SMBus serial bus, revision 0x02) at pci0 dev 31 
function 3 not configured
vendor 0x8086 product 0x25a6 (audio multimedia, revision 0x02) at pci0 dev 31 
function 5 not configured
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
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
timecounter: Timecounter "TSC" frequency 1400131050 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Kernelized RAIDframe activated
md0: internal 5000 KB image area
umass0 at uhub2 port 1 configuration 1 interface 0
umass0: TSSTcorp USB Mass Storage Device, rev 2.00/6.17, addr 2
umass0: using ATAPI over Bulk-Only
atapibus0 at umass0: 2 targets
cd0 at atapibus0 drive 0: <TSSTcorp, CDDVDW SE-S084C, TS01> cdrom removable
rnd: cd0 attached as an entropy source (collecting)
wd0 at atabus0 drive 0: <WDC WD800BEVT-00ZCT0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
rnd: wd0 attached as an entropy source (collecting)
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: cd0
root on md0a dumps on md0b
root file system type: ffs
WARNING: clock gained 33 days
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
warning: no /dev/constty
init: Running '/bin/sh /sbin/MAKEDEV all' in the new MFS /dev...
init: starting single user mode...
init: starting single user mode...
init: /etc/pwd.db: No such file or directory
erase ^?, werase ^W, kill ^U, intr ^C



--
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>       +1 416 218 0099        http://www.planix.com/

Attachment: pgpZoPIh6Ye1v.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index