Subject: Re: -current kernel hangs on amd64
To: Mindaugas R. <rmind@NetBSD.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 10/11/2007 09:06:30
Hi,

On Wed, Oct 10, 2007 at 05:54:22PM +0300, Mindaugas R. wrote:
> Kurt Schreiner <ks@ub.uni-mainz.de> wrote:
> >
> > [...] 
> > Here the machine hangs hard and has to be power cycled...
> 
> Have you compiled the kernel with LOCKDEBUG and DIAGNOSTIC options? It would
> be good to see what is the output of "show sched" in DDB, if possible.
Hm, a kernel with these options doesn't like to run very far:
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
RTC (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
SPKR (PNP0800) [AT-style speaker sound] at acpi0 not configured
COPR (PNP0C04) [Math Coprocessor] at acpi0 not configured
SYSR (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not configured
SIO (PNP0A05) [Generic Container Device] at acpi0 not configured
lpt0 at acpi0 (LPT, PNP0400-1)
lpt0: io 0x378,0x0 irq 7 drq 4
extent_alloc_region: extent `ioport', size 0x0
panic: extent_alloc_region: bad size
Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x1:  ret
db{0}> bt
breakpoint() at netbsd:breakpoint+0x1
extent_alloc_region() at netbsd:extent_alloc_region+0x1f2
bus_space_map() at netbsd:bus_space_map+0x67
lpt_acpi_attach() at netbsd:lpt_acpi_attach+0xd0
config_attach_loc() at netbsd:config_attach_loc+0x13d
acpi_attach() at netbsd:acpi_attach+0x2b9
config_attach_loc() at netbsd:config_attach_loc+0x13d
mainbus_attach() at netbsd:mainbus_attach+0x1fd
config_attach_loc() at netbsd:config_attach_loc+0x13d
cpu_configure() at netbsd:cpu_configure+0x21
configure() at netbsd:configure+0x36
main() at netbsd:main+0x175
db{0}> 

I'll try a kernel config file w/o lpt...

Kurt