Current-Users archive

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

Re: today's (2008/04/30, 4.99.62) kernel fails to attach cpu1 on ASUSTeK PCSHSR-A



At Thu, 1 May 2008 13:03:59 +0100, Andrew Doran wrote:
Subject: Re: today's (2008/04/30, 4.99.62) kernel fails to attach cpu1 on 
ASUSTeK PCSHSR-A
> 
> On Wed, Apr 30, 2008 at 01:01:38PM -0400, Greg A. Woods wrote:
> 
> > panic: kernel diagnostic assertion "kpreempt_disabled()" failed: file 
> > "/rest/work/woods/m-NetBSD-current/sys/arch/x86/x86/pmap.c", line 4452
> ...
> > __kernassert(c09fdf14,c0a540dc,1164,c0a42451,c0b725e4) at 
> > netbsd:__kernassert+0x
> > 39
> > pmap_tlb_shootdown(c0bbb720,ccedd000,ccedd000,ffbff11b,0) at 
> > netbsd:pmap_tlb_sho
> > otdown+0x451
> > x86_mem_add_mapping(ffb00000,100000,0,c34d3610,0) at 
> > netbsd:x86_mem_add_mapping+
> > 0x143
> > bus_space_map(1,ffb00000,100000,0,c34d3610) at netbsd:bus_space_map+0xcd
> 
> This one should be fixed now.

Hmmm... I still get the following panic on boot, though it doesn't pause
in DDB after finding cpu1 any more.

I did just do another rsync though and I see the following files are
updated so I'll try again after lunch and some errands....

U sys/arch/i386/i386/kobj_machdep.c
U sys/arch/x86/x86/bus_space.c
U sys/dev/ic/atppcvar.h
U sys/kern/init_main.c
U sys/kern/kern_module.c
U sys/kern/subr_kobj.c
U sys/sys/module.h


>> NetBSD/i386 BIOS Boot, Revision 3.3
>> (woods@once, Mon Jan 28 12:39:39 EST 2008)
>> Memory: 617/2094976 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0 
10265248+431908+690188 [499440+482046]=0xbcdd64
kernel text is mapped with 2 large pages and 716 normal pages
Loaded initial symtab at 0xc0bddf30, strtab at 0xc0c58264, # entries 29451
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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.99.62 (GENERIC) #49: Thu May  1 12:50:34 EDT 2008
        
woods@once:/rest/build/woods/once/current-i386-i386-ppro-obj/rest/work/woods/m-NetBSD-current/sys/arch/i386/compile/GENERIC
total memory = 2046 MB
avail memory = 1997 MB
rnd: initialised (4096) with counter
ASUSTeK COMPUTER INC. PSCHSR-A (1.XX)
mainbus0 (root)
cpu0 at mainbus0 apid 0: (boot processor)
cpu0: Intel (686-class), 2992.61 MHz, id 0xf34
cpu0: "Intel(R) Pentium(R) 4 CPU 3.00GHz"
cpu0: prelint0 700<vector=0,delmode=7,dest=0> 0<target=0>
cpu0: prelint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: timer0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint0 700<vector=0,delmode=7,dest=0> 0<target=0>
cpu0: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1 at mainbus0 apid 1: (application processor)
cpu1: Intel (686-class), 2992.62 MHz, id 0xf34
cpu1: "Intel(R) Pentium(R) 4 CPU 3.00GHz"
ioapic0 at mainbus0 apid 2, virtual wire mode
ioapic1 at mainbus0 apid 3, virtual wire mode
acpi0 at mainbus0: Advanced Configuration and Power Interface
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 3 at level 2
mpacpi: found subordinate bus 2 at level 2
mpacpi: 3 PCI busses
mpacpi: ISA interrupt override 0 -> 2 (0/0)
mpacpi: ISA interrupt override 9 -> 9 (1/3)
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 3 int routing
mpacpi: configuring PCI bus 2 int routing
ioapic0: pin 2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags d<pol=1=Act 
Hi,trig=3=Level>)
ioapic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
ioapic0: pin 16 attached to pci0 device 31 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 31 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 17 attached to pci0 device 31 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 16 attached to pci0 device 29 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 19 attached to pci0 device 29 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 29 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci0 device 29 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 3 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 3 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 3 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci0 device 3 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci3 device 8 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci3 device 8 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci3 device 8 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 18 attached to pci3 device 8 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci3 device 2 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci3 device 2 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci3 device 2 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci3 device 2 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 21 attached to pci3 device 3 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 22 attached to pci3 device 3 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci3 device 3 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci3 device 3 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci3 device 9 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci3 device 9 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci3 device 9 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 23 attached to pci3 device 9 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci3 device 7 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci3 device 7 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci3 device 7 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 20 attached to pci3 device 7 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 0 attached to pci2 device 2 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 1 attached to pci2 device 2 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 2 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 2 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 8 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 8 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 8 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 8 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 7 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 7 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 7 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 7 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 0 attached to pci2 device 4 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 1 attached to pci2 device 4 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 4 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 4 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 5 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 5 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 0 attached to pci2 device 5 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 1 attached to pci2 device 5 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci2 device 6 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 0 attached to pci2 device 6 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 1 attached to pci2 device 6 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci2 device 6 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int9 8060<vector=60,delmode=0,level,dest=0> 0<target=0>
ACPI-Fast 24-bit timer
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
PCI0 (PNP0A03) [PCI/PCI-X Host Bridge] at acpi0 not configured
SYSR (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
PIC (PNP0000) [AT Interrupt Controller] at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
RTC (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04)
npx1: io 0xf0-0xff irq 13
FDC0 (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
UAR2 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
ECP1 (PNP0401) [ECP printer port] at acpi0 not configured
pckbc1 at acpi0 (PS2K, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
PMIO (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
FWH (INT0800) [Intel FWH Random Number Generator] at acpi0 not configured
LNKA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNK1 (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
DMA1 (PNP0200) [AT DMA Controller] at acpi0 not configured
MEM (PNP0C01) [System Board] at acpi0 not configured
FAN (PNP0C0B) [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0 (THRM): active cooling level 0: 99.0C critical 99.0C passive 
64.5C
apm1 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd: error setting scanset 2
pckbd0 at pckbc1 (kbd slot)
pckbd: error setting scanset 2
ioapic0: int1 61<vector=61,delmode=0,dest=0> 0<target=0>
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
rnd: pckbd0 attached as an entropy source (collecting)
pms0 at pckbc1 (aux slot)
pckbc1: unable to establish interrupt for aux slot
wsmouse0 at pms0 mux 0
rnd: pms0 attached as an entropy source (collecting)
pci0 at mainbus0 bus 0: configuration mode 1mainbus0: added to list as bus 0

pchb0 at pci0 dev 0 function 0
pchb0: Intel 82875P Host (rev. 0x02)
panic: kernel diagnostic assertion "kpreempt_disabled()" failed: file 
"/rest/work/woods/m-NetBSD-current/sys/arch/x86/x86/pmap.c", line 4452
Begin traceback...
uvm_fault(0xc0b7de60, 0xffbff000, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (system) at  netbsd:db_read_bytes+0x31:      movl    0(%esi),
%eax
db{0}> trace
db_read_bytes(ffbff11b,4,c0cd15f0,c080261c,2c) at netbsd:db_read_bytes+0x31
db_get_value(ffbff11b,4,0,0,0) at netbsd:db_get_value+0x27
db_stack_trace_print(c0cd16e0,1,ffff,c0ab964d,c04b3b60) at 
netbsd:db_stack_trace_print+0x515
panic(c0ac9760,c0a0fc14,c0a54471,c0a661ac,1164) at netbsd:panic+0x183
__kernassert(c0a0fc14,c0a661ac,1164,c0a54471,c0b846a4) at 
netbsd:__kernassert+0x39
pmap_tlb_shootdown(c0bcd7e0,cceef000,cceef000,ffbff11b,0) at 
netbsd:pmap_tlb_shootdown+0x451
x86_mem_add_mapping(ffb00000,100000,0,c34e5610,0) at 
netbsd:x86_mem_add_mapping+0x143
bus_space_map(1,ffb00000,100000,0,c34e5610) at netbsd:bus_space_map+0xcd
pchb_attach_rnd(c34e5600,c0cd1a2c,c0cd1844,2,100) at netbsd:pchb_attach_rnd+0xad
pchbattach(c3501a00,c3501900,c0cd1a2c,c0cd1a68,c0cd1a2c) at 
netbsd:pchbattach+0xd2
config_attach_loc(c3501a00,c0ad2e48,c0cd1a68,c0cd1a2c,c05a2620) at 
netbsd:config_attach_loc+0x166
pci_probe_device(c3502800,80000000,0,0,0) at netbsd:pci_probe_device+0x22f
pci_enumerate_bus(c3502800,c0849ee0,0,0,c3501a00) at 
netbsd:pci_enumerate_bus+0x187
pcirescan(c3501a00,c0a0f620,c0849ee0,c04b4726,c34b081c) at 
netbsd:pcirescan+0x5a           
pciattach(c34b0800,c3501a00,c0cd1bdc,0,c0cd1bdc) at netbsd:pciattach+0x18e
config_attach_loc(c34b0800,c0ad2590,0,c0cd1bdc,c05a5ed0) at 
netbsd:config_attach_loc+0x166
config_found_ia(c34b0800,c0a0f887,c0cd1bdc,c05a5ed0,0) at 
netbsd:config_found_ia+0x32
mpacpi_scan_pci(c34b0800,c0cd1bdc,c05a5ed0,0,5) at netbsd:mpacpi_scan_pci+0xa7
mainbus_attach(0,c34b0800,0,c04a460e,c0a0ecfe) at netbsd:mainbus_attach+0x30c
config_attach_loc(0,c0ad2578,0,0,0) at netbsd:config_attach_loc+0x166
config_attach(0,c0ad2578,0,0,c0cce014) at netbsd:config_attach+0x2c
config_rootfound(c0a0ecfe,0,0,c0cce014,2) at netbsd:config_rootfound+0x44
cpu_configure(c0b7ede0,1,c0cd1ce8,c04ea7d1,100) at netbsd:cpu_configure+0x28
configure(c0b7de60,1,14,f9300,0) at netbsd:configure+0x38
main(0,c01002bd,0,0,0) at netbsd:main+0x1af
db{0}> 

-- 
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>     +1 416 489-5852 x122     http://www.planix.com/

Attachment: pgpgwoGyBdPDR.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index