Port-i386 archive

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

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



At Wed, 2 Jun 2010 22:08:23 -0700, buhrow%lothlorien.nfbcal.org@localhost 
(Brian Buhrow) wrote:
Subject: Re: pcibios(4) related crash during boot on system with General 
Software BIOS
>
>       Wow! It looks like your machine is failing in the malloc(9) routine.

No, the malloc() just happens to be the first line shown -- the actual
line indicated by the debugger is in the middle of the listing (#336).
(not that it makes much more sense though it seems)

Note this same kernel boots and runs fine on a fairly wide variety of
other hardware (and virtual machines), including an Asus motherboard I
happen to have with a similar chipset (Intel 6300ESB) but of course with
a different BIOS.  Removing "options PCIBIOS" also makes it boot fine on
the hardware in question, of course, as that's what enables the code
path seen in the backtrace, as well as being the pertinent difference
between the working INSTALL_LARGE kernel and the crashing GENERIC.MP.

There's nothing really very unusual about this embedded server board
except for its BIOS, and the fact that it doesn't seem to even have a
keyboard controller (for Windoze they rely on USB keyboard/mouse).


> On Jun 2,  9:48pm, "Greg A. Woods" wrote:
> } Subject: Re: pcibios(4) related crash during boot on system with General S
> }
> } At Wed, 2 Jun 2010 15:34:16 -0500, David Young <dyoung%pobox.com@localhost> 
> wrote:
> } Subject: Re: pcibios(4) related crash during boot on system with General 
> So> } ftware BIOS
> } > 
> } > On Wed, Jun 02, 2010 at 03:52:14PM -0400, Greg A. Woods wrote:
> } > > 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 
> 0xc0c> } 01617
> } > 
> } > Maybe pcibios_pir_init() jumped through an uninitialized function
> } > pointer, or your symtab is too small.
> }
> } (gdb) l *(pcibios_pir_init+0x163)
> } 0xc064ebd3 is in pcibios_pir_init 
> (/rest/work/woods/m-NetBSD-4/sys/arch/i38> } 6/pci/pcibios.c:336).
> } 331                 sizeof(*pcibios_pir_table), M_DEVBUF, M_NOWAIT);
> } 332             if (pcibios_pir_table == NULL) {
> } 333                     aprint_error("pcibios_pir_init: no memory for 
> $PIR\> } n");
> } 334                     return;
> } 335             }
> } 336             if (pcibios_get_intr_routing(pcibios_pir_table,
> } 337                 &pcibios_pir_table_nentries,
> } 338                 &pcibios_pir_header.exclusive_irq) != PCIBIOS_SUCCESS> 
> } ) {
> } 339                     aprint_normal("No PCI IRQ Routing information 
> avail> } able.\n");
> } 340                     free(pcibios_pir_table, M_DEVBUF);
> }

-- 
                                                Greg A. Woods
                                                Planix, Inc.

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

Attachment: pgpJAaB2OEKc2.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index