Re: 8.0-BETA2: mi_startup() panic on VIA C7 diskless

From: Kip Macy <kmacy_at_freebsd.org>
Date: Tue, 11 Aug 2009 12:35:18 -0700
Please try the following patch:

http://people.freebsd.org/~kmacy/flowtable_boot.patch



On Tue, Aug 11, 2009 at 9:27 AM, Arno J.
Klaassen<arno_at_heho.snv.jussieu.fr> wrote:
>
> Robert Noland <rnoland_at_FreeBSD.org> writes:
>
>> On Mon, 2009-08-10 at 18:40 +0200, Arno J. Klaassen wrote:
>>> Hello,
>>>
>>> I get the following panic when pxebooting a 8.0-BETA2 on a
>>> VIA-C7-MB. The kernel is cross-build from a clean amd64-7-stable
>>> and I defined CPUTYPE?=pentiumpro in make.conf.
>>>
>>> Let me know what I can provide more as info to get around this.
>>
>> I've seen this as well.  You can disable apic which I see has been
>> suggested.  The NMI seems to be generated by HWPMC_HOOKS, in my case
>> removing it from the GENERIC config allows it to boot and use apic.  I'm
>> not certain what the correct fix is, but after talking to jkoshy_at_ we did
>> find the specific point in the HWPMC_HOOKS code that triggers this,
>> which can be disabled by testing for CPU_VENDOR_CENTAUR.
>>
>> The attached hack should get things booting...
>
>
> Correct. It now boots OK with apic enabled (but still panics
> at the 'flowtable bug').
> Thanks.
>
> Arno
>
>
>> robert.
>>
>>> Thanks in advance.
>>>
>>> Best, Arno
>>>
>>>
>>>
>>> #####
>>>
>>> OK boot -sv
>>> KDB: debugger backends: ddb
>>> KDB: current backend: ddb
>>> SMAP type=01 base=0000000000000000 len=000000000009f800
>>> SMAP type=02 base=000000000009f800 len=0000000000000800
>>> SMAP type=02 base=00000000000f0000 len=0000000000010000
>>> SMAP type=01 base=0000000000100000 len=000000007bde0000
>>> SMAP type=04 base=000000007bee0000 len=0000000000003000
>>> SMAP type=03 base=000000007bee3000 len=000000000000d000
>>> SMAP type=02 base=000000007bef0000 len=0000000000010000
>>> SMAP type=02 base=00000000e0000000 len=0000000010000000
>>> SMAP type=02 base=00000000fec00000 len=0000000000001000
>>> SMAP type=02 base=00000000fee00000 len=0000000000001000
>>> SMAP type=02 base=00000000ffff0000 len=0000000000010000
>>> Copyright (c) 1992-2009 The FreeBSD Project.
>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>>         The Regents of the University of California. All rights reserved.
>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>> FreeBSD 8.0-BETA2 #1 r196087M: Mon Aug 10 15:16:20 CEST 2009
>>>     toor_at_push:/raid1/obj/i386/raid1/bsd/8/src/sys/C7-FW
>>> WARNING: WITNESS option enabled, expect reduced performance.
>>> WARNING: DIAGNOSTIC option enabled, expect reduced performance.
>>> MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
>>>         MEMGUARD map base: 0xc4c00000
>>>         MEMGUARD map limit: 0xc6c01000
>>>         MEMGUARD map size: 33558528 (Bytes)
>>> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0bdc000.
>>> Timecounter "i8254" frequency 1193182 Hz quality 0
>>> Calibrating TSC clock ... TSC clock: 999896638 Hz
>>> CPU: VIA C7 Processor 1000MHz (999.90-MHz 686-class CPU)
>>>   Origin = "CentaurHauls"  Id = 0x6d0  Stepping = 0
>>>   Features=0xa7c9bbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
>>>   Features2=0x4181<SSE3,EST,TM2,xTPR>
>>>   VIA Padlock Features=0xffcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
>>> real memory  = 2079195136 (1982 MB)
>>> Physical memory chunk(s):
>>> 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
>>> 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
>>> 0x0000000000c26000 - 0x0000000079baffff, 2029559808 bytes (495498 pages)
>>> avail memory = 2027855872 (1933 MB)
>>> Table 'FACP' at 0x7bee3080
>>> Table 'MCFG' at 0x7bee6ec0
>>> Table 'APIC' at 0x7bee6e40
>>> MADT: Found table at 0x7bee6e40
>>> MP Configuration Table version 1.4 found at 0xc00f1ce0
>>> APIC: Using the MADT enumerator.
>>> MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
>>> SMP: Added CPU 0 (AP)
>>> ACPI APIC Table: <VX800  AWRDACPI>
>>> APIC: CPU 0 has ACPI ID 0
>>> bios32: Found BIOS32 Service Directory header at 0xc00f8f70
>>> bios32: Entry = 0xf9580 (c00f9580)  Rev = 0  Len = 1
>>> pcibios: PCI BIOS entry at 0xf0000+0x95d0
>>> pnpbios: Found PnP BIOS data at 0xc00fa110
>>> pnpbios: Entry = f0000:a140  Rev = 1.0
>>> Other BIOS signatures found:
>>> ULE: setup cpu 0
>>> ACPI: RSDP 0xf79d0 00014 (v0 VX800 )
>>> ACPI: RSDT 0x7bee3000 00030 (v1 VX800  AWRDACPI 42302E31 AWRD 00000000)
>>> ACPI: FACP 0x7bee3080 00074 (v1 VX800  AWRDACPI 42302E31 AWRD 00000000)
>>> ACPI: DSDT 0x7bee3100 03D16 (v1 VX800  AWRDACPI 00001000 MSFT 03000000)
>>> ACPI: FACS 0x7bee0000 00040
>>> ACPI: MCFG 0x7bee6ec0 0003C (v1 VX800  AWRDACPI 42302E31 AWRD 00000000)
>>> ACPI: APIC 0x7bee6e40 00066 (v1 VX800  AWRDACPI 42302E31 AWRD 00000000)
>>> MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
>>> ioapic0: Routing external 8259A's -> intpin 0
>>> MADT: Found IO APIC ID 3, Interrupt 24 at 0xfecc0000
>>> MADT: Interrupt override: source 0, irq 2
>>> ioapic0: Routing IRQ 0 -> intpin 2
>>> MADT: Interrupt override: source 9, irq 9
>>> ioapic0: intpin 9 trigger: level
>>> ioapic0: intpin 9 polarity: low
>>> lapic0: Routing NMI -> LINT1
>>> lapic0: LINT1 trigger: edge
>>> lapic0: LINT1 polarity: high
>>> ioapic0 <Version 0.3> irqs 0-23 on motherboard
>>> ioapic1 <Version 0.3> irqs 24-47 on motherboard
>>> cpu0 BSP:
>>>      ID: 0x00000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
>>>   lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
>>>   timer: 0x000100ef therm: 0x00010000 err: 0x00010000 pcm: 0x00000400
>>> null: <null device, zero device>
>>> nfslock: pseudo-device
>>> random: <entropy source, Hardware, VIA Nehemiah>
>>> io: <I/O>
>>> kbd: new array size 4
>>> kbd1 at kbdmux0
>>> mem: <memory>
>>> npx0: INT 16 interface
>>> acpi0: <VX800 AWRDACPI> on motherboard
>>> PCIe: Memory Mapped configuration base _at_ 0xe0000000
>>> pcibios: BIOS version 3.00
>>> ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
>>> acpi0: [MPSAFE]
>>> acpi0: [ITHREAD]
>>> acpi0: Power Button (fixed)
>>> acpi0: wakeup code va 0xc4b9c000 pa 0x1000
>>> AcpiOsDerivePciId: \_SB_.PCI0.IDEC.SAPR -> bus 0 dev 15 func 0
>>> AcpiOsDerivePciId: \_SB_.PCI0.USB1.U2F0 -> bus 0 dev 16 func 0
>>> AcpiOsDerivePciId: \_SB_.PCI0.USB2.U2F1 -> bus 0 dev 16 func 1
>>> AcpiOsDerivePciId: \_SB_.PCI0.USB3.U2F2 -> bus 0 dev 16 func 2
>>> AcpiOsDerivePciId: \_SB_.PCI0.EHCI.U2F4 -> bus 0 dev 16 func 4
>>> AcpiOsDerivePciId: \_SB_.PCI0.AZAC.AZAR -> bus 0 dev 20 func 0
>>> AcpiOsDerivePciId: \_SB_.PCI0.PEXG.RPXG -> bus 0 dev 2 func 0
>>> AcpiOsDerivePciId: \_SB_.PCI0.PEX0.RPX0 -> bus 0 dev 3 func 0
>>> AcpiOsDerivePciId: \_SB_.PCI0.PEX1.RPX1 -> bus 0 dev 3 func 1
>>> AcpiOsDerivePciId: \_SB_.PCI0.P2PB.P2PR -> bus 0 dev 19 func 0
>>> AcpiOsDerivePciId: \_SB_.PCI0.VT86.VTSB -> bus 0 dev 17 func 0
>>> acpi0: reservation of 0, a0000 (3) failed
>>> acpi0: reservation of 100000, 7bde0000 (3) failed
>>> ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>>> pci_link0:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0   10   N     0  3 4 6 7 10 11 12
>>>   Validation          0   10   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link1:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0   11   N     0  3 4 6 7 10 11 12
>>>   Validation          0   11   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link2:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0    7   N     0  3 4 6 7 10 11 12
>>>   Validation          0    7   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link3:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0    5   N     0  3 4 6 7 10 11 12
>>>   Validation          0  255   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link4:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0  255   N     0  3 4 6 7 10 11 12
>>>   Validation          0  255   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link5:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0  255   N     0  3 4 6 7 10 11 12
>>>   Validation          0  255   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link6:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0  255   N     0  3 4 6 7 10 11 12
>>>   Validation          0  255   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> pci_link7:        Index  IRQ  Rtd  Ref  IRQs
>>>   Initial Probe       0   11   N     0  3 4 6 7 10 11 12
>>>   Validation          0   11   N     0  3 4 6 7 10 11 12
>>>   After Disable       0  255   N     0  3 4 6 7 10 11 12
>>> acpi_button0: <Power Button> on acpi0
>>> acpi_button1: <Sleep Button> on acpi0
>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>>> pci0: <ACPI PCI bus> on pcib0
>>> pci0: domain=0, physical bus=0
>>> found-> vendor=0x1106, dev=0x0353, revid=0x11
>>>         domain=0, bus=0, slot=0, func=0
>>>         class=06-00-00, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords)
>>>         lattimer=0x08 (240 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x1353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=1
>>>         class=06-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x2353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=2
>>>         class=06-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x3353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=3
>>>         class=06-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0006, statreg=0x0200, cachelnsz=0 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x4353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=4
>>>         class=06-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x5353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=5
>>>         class=08-00-20, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0006, statreg=0x0000, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x6353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=6
>>>         class=06-00-00, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0006, statreg=0x0000, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x7353, revid=0x00
>>>         domain=0, bus=0, slot=0, func=7
>>>         class=06-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x1122, revid=0x11
>>>         domain=0, bus=0, slot=1, func=0
>>>         class=03-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0007, statreg=0x3010, cachelnsz=0 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         intpin=a, irq=10
>>>         powerspec 2  supports D0 D1 D2 D3  current D0
>>>         MSI supports 1 message
>>>         map[10]: type Prefetchable Memory, range 32, base 0xd8000000, size 26, enabled
>>>         map[14]: type Memory, range 32, base 0xde000000, size 24, enabled
>>>         map[18]: type Memory, range 32, base 0xc0000000, size 28, enabled
>>> pcib0: matched entry for 0.1.INTA
>>> pcib0: slot 1 INTA hardwired to IRQ 16
>>> found-> vendor=0x1106, dev=0xc353, revid=0x00
>>>         domain=0, bus=0, slot=2, func=0
>>>         class=06-04-00, hdrtype=0x01, mfdev=0
>>>         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
>>>         intpin=a, irq=11
>>>         powerspec 2  supports D0 D3  current D0
>>>         MSI supports 1 message, 64 bit, vector masks
>>> pcib0: matched entry for 0.2.INTA
>>> pcib0: slot 2 INTA hardwired to IRQ 27
>>> found-> vendor=0x1106, dev=0xe353, revid=0x00
>>>         domain=0, bus=0, slot=3, func=0
>>>         class=06-04-00, hdrtype=0x01, mfdev=1
>>>         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
>>>         intpin=a, irq=11
>>>         powerspec 2  supports D0 D3  current D0
>>>         MSI supports 1 message, 64 bit, vector masks
>>> pcib0: matched entry for 0.3.INTA
>>> pcib0: slot 3 INTA hardwired to IRQ 31
>>> found-> vendor=0x1106, dev=0xf353, revid=0x00
>>>         domain=0, bus=0, slot=3, func=1
>>>         class=06-04-00, hdrtype=0x01, mfdev=1
>>>         cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
>>>         intpin=b, irq=11
>>>         powerspec 2  supports D0 D3  current D0
>>>         MSI supports 1 message, 64 bit, vector masks
>>> pcib0: matched entry for 0.3.INTB
>>> pcib0: slot 3 INTB hardwired to IRQ 39
>>> found-> vendor=0x1106, dev=0x5324, revid=0x00
>>>         domain=0, bus=0, slot=15, func=0
>>>         class=01-01-8a, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         powerspec 2  supports D0 D3  current D0
>>>         map[20]: type I/O Port, range 32, base 0xfc00, size  4, enabled
>>> found-> vendor=0x1106, dev=0x3038, revid=0xa0
>>>         domain=0, bus=0, slot=16, func=0
>>>         class=0c-03-00, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0007, statreg=0x0218, cachelnsz=16 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         intpin=a, irq=10
>>>         powerspec 2  supports D0 D1 D2 D3  current D0
>>>         map[20]: type I/O Port, range 32, base 0xf800, size  5, enabled
>>> pcib0: matched entry for 0.16.INTA
>>> pcib0: slot 16 INTA hardwired to IRQ 20
>>> found-> vendor=0x1106, dev=0x3038, revid=0xa0
>>>         domain=0, bus=0, slot=16, func=1
>>>         class=0c-03-00, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0007, statreg=0x0210, cachelnsz=16 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         intpin=b, irq=11
>>>         powerspec 2  supports D0 D1 D2 D3  current D0
>>>         map[20]: type I/O Port, range 32, base 0xf400, size  5, enabled
>>> pcib0: matched entry for 0.16.INTB
>>> pcib0: slot 16 INTB hardwired to IRQ 22
>>> found-> vendor=0x1106, dev=0x3038, revid=0xa0
>>>         domain=0, bus=0, slot=16, func=2
>>>         class=0c-03-00, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0007, statreg=0x0210, cachelnsz=16 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         intpin=c, irq=7
>>>         powerspec 2  supports D0 D1 D2 D3  current D0
>>>         map[20]: type I/O Port, range 32, base 0xf000, size  5, enabled
>>> pcib0: matched entry for 0.16.INTC
>>> pcib0: slot 16 INTC hardwired to IRQ 21
>>> found-> vendor=0x1106, dev=0x3104, revid=0x90
>>>         domain=0, bus=0, slot=16, func=4
>>>         class=0c-03-20, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0007, statreg=0x0210, cachelnsz=16 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         intpin=d, irq=5
>>>         powerspec 2  supports D0 D1 D2 D3  current D0
>>>         map[10]: type Memory, range 32, base 0xdffff000, size  8, enabled
>>> pcib0: matched entry for 0.16.INTD
>>> pcib0: slot 16 INTD hardwired to IRQ 23
>>> found-> vendor=0x1106, dev=0x8353, revid=0x00
>>>         domain=0, bus=0, slot=17, func=0
>>>         class=06-01-00, hdrtype=0x00, mfdev=1
>>>         cmdreg=0x0003, statreg=0x0210, cachelnsz=0 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         powerspec 2  supports D0 D3  current D0
>>> found-> vendor=0x1106, dev=0xa353, revid=0x00
>>>         domain=0, bus=0, slot=17, func=7
>>>         class=06-00-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0000, statreg=0x2200, cachelnsz=0 (dwords)
>>>         lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0xb353, revid=0x00
>>>         domain=0, bus=0, slot=19, func=0
>>>         class=06-04-00, hdrtype=0x01, mfdev=0
>>>         cmdreg=0x0007, statreg=0x2010, cachelnsz=0 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
>>> found-> vendor=0x1106, dev=0x3288, revid=0x10
>>>         domain=0, bus=0, slot=20, func=0
>>>         class=04-03-00, hdrtype=0x00, mfdev=0
>>>         cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
>>>         lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>>>         intpin=a, irq=10
>>>         powerspec 2  supports D0 D3  current D0
>>>         MSI supports 1 message, 64 bit
>>>         map[10]: type Memory, range 64, base 0xdfff8000, size 14, enabled
>>> pcib0: matched entry for 0.20.INTA
>>> pcib0: slot 20 INTA hardwired to IRQ 17
>>> NMI ISA 3c, EISA 0
>>> NMI ... going to debugger
>>> [thread pid 0 tid 100000 ]
>>> Stopped at      0xc060098f = vsscanf+0x98f:     movl    %edx,0xfffffe8c(%ebp)
>>> db> ps
>>>   pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
>>>     5     0     0     0  RL                          [xpt_thrd]
>>>     4     0     0     0  RL                          [g_down]
>>>     3     0     0     0  RL                          [g_up]
>>>     2     0     0     0  RL                          [g_event]
>>>    12     0     0     0  WL      (threaded)          intr
>>> 100021                   I                           [irq9: acpi0]
>>> 100016                   I                           [swi2: cambio]
>>> 100014                   I                           [swi6: task queue]
>>> 100013                   I                           [swi6: Giant taskq]
>>> 100011                   I                           [swi5: +]
>>> 100006                   I                           [swi1: netisr 0]
>>> 100005                   I                           [swi4: clock]
>>> 100004                   I                           [swi3: vm]
>>>    11     0     0     0  RL                          [idle: cpu0]
>>>     1     0     0     0  ?L                          [kernel]
>>>    10     0     0     0  RL                          [audit]
>>>     0     0     0     0  RLs     (threaded)          kernel
>>> 100020                   RunQ                        [acpi_task_2]
>>> 100019                   RunQ                        [acpi_task_1]
>>> 100018                   RunQ                        [acpi_task_0]
>>> 100017                   RunQ                        [kqueue taskq]
>>> 100012                   RunQ                        [thread taskq]
>>> 100010                   RunQ                        [firmware taskq]
>>> 100000                   Run     CPU 0               [swapper]
>>> db> where
>>> Tracing pid 0 tid 100000 td 0xc0934590
>>> vsscanf(c6ce5440,c089c6a3,c0c207b0,c0c207b0,c0c208c4,...) at 0xc060098f = vsscanf+0x98f
>>> sscanf(c6ce5440,c089c6a3,c0c20894,c0c207f0,c0c20874,...) at 0xc0600a22 = sscanf+0x22
>>> res_find(c0c20940,c089252b,0,0,0,...) at 0xc05f7ba9 = res_find+0x319
>>> resource_find(c0c20940,c089252b,0,0,0,...) at 0xc05f7eda = resource_find+0x5a
>>> resource_string_value(c6d117b0,2,c089252b,c0c20964,ffffffff,...) at 0xc05f8041 = resource_string_value+0x61
>>> devclass_add_device(101,c6d0acc0,c6dffb80,c0c209c0,c05f3e6b,...) at 0xc05f071e = devclass_add_device+0x16e
>>> device_set_devclass(c6dffb80,c08852dc,c089d6c5,c6dffbbc,c6dffbbc,...) at 0xc05f16af = device_set_devclass+0x6f
>>> device_probe_child(c6dff780,c6dffb80,0,c6d11780,c6dffb80,...) at 0xc05f3e6b = device_probe_child+0xfb
>>> device_probe(c6dffb80,c0c20a1c,c048ebcc,c091efd4,c6dffb80,...) at 0xc05f4160 = device_probe+0xa0
>>> device_probe_and_attach(c6dffb80,c6dff780,0,c6df3080,c6df3080,...) at 0xc05f4238 = device_probe_and_attach+0x48
>>> bus_generic_attach(c6dff780,c6dd86c0,1,c04b21a0,c6dff780,0,c6dd86c0) at 0xc05f42a8 = bus_generic_attach+0x48
>>> acpi_pci_attach(c6dff780,c6dba05c,c08e9428,c089bed4,80000000,...) at 0xc04b275c = acpi_pci_attach+0x18c
>>> device_attach(c6dff780,c6d10e88,c6d10e88,c6df3080) at 0xc05f34c7 = device_attach+0x3b7
>>> device_probe_and_attach(c6dff780,c04b4680,c6d77000,c6df3080,c6d77000,...) at 0xc05f4255 = device_probe_and_attach+0x65
>>> bus_generic_attach(c6df3080,c08c3e86,0,c0c20ae0,c6dd86c0,...) at 0xc05f42a8 = bus_generic_attach+0x48
>>> acpi_pcib_attach(c6df3080,c6de82d4,0,c0c20b10,2,...) at 0xc04b4911 = acpi_pcib_attach+0x1a1
>>> acpi_pcib_acpi_attach(c6df3080,c6d8a85c,c08e9428,c089bed4,80000000,...) at 0xc04b54a1 = acpi_pcib_acpi_attach+0x251
>>> device_attach(c6df3080,c0c20b84,c05f8cd1,c6d19ca0) at 0xc05f34c7 = device_attach+0x3b7
>>> device_probe_and_attach(c6df3080,c08e9418,fffeffff,c6dd1900,fffeffff,...) at 0xc05f4255 = device_probe_and_attach+0x65
>>> bus_generic_attach(c6d77000,fff80000,fffeffff,c6deb468,fff80000,...) at 0xc05f42a8 = bus_generic_attach+0x48
>>> acpi_attach(c6d77000,c6d8385c,c08e9428,c089bed4,80000000,...) at 0xc04aa1ae = acpi_attach+0xbbe
>>> device_attach(c6d77000,c6ce4c50,0,c6d77500) at 0xc05f34c7 = device_attach+0x3b7
>>> device_probe_and_attach(c6d77000,c087ebd2,0,c6d77500,c6d77500,...) at 0xc05f4255 = device_probe_and_attach+0x65
>>> bus_generic_attach(c6d77500,a,c087ebd2,0) at 0xc05f42a8 = bus_generic_attach+0x48
>>> nexus_acpi_attach(c6d77500,c6da785c,c08e9428,c089bed4,80000000,...) at 0xc081caae = nexus_acpi_attach+0x7e
>>> device_attach(c6d77500,c089df99,184,20000) at 0xc05f34c7 = device_attach+0x3b7
>>> device_probe_and_attach(c6d77500,c6d77c80,c6d77c80,c6d19100,c6d77c80,...) at 0xc05f4255 = device_probe_and_attach+0x65
>>> bus_generic_new_pass(c6d77c80,c6d79000,c08e9368,c08cf034,fffffff,...) at 0xc05f449d = bus_generic_new_pass+0xcd
>>> bus_set_pass(7fffffff,c0c20d6c,c081efdc,fffffff,c0c20d88,...) at 0xc05f2341 = bus_set_pass+0x81
>>> root_bus_configure(fffffff,c0c20d88,c05839d6,0,c1ec00,...) at 0xc05f2392 = root_bus_configure+0x12
>>> configure(0,c1ec00,c1ec00,c1e000,c25000,...) at 0xc081efdc = configure+0xc
>>> mi_startup() at 0xc05839d6 = mi_startup+0xa6
>>> begin() at 0xc0453005 = begin+0x2c
>>> db>
>>> _______________________________________________
>>> freebsd-current_at_freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
> --
>
>  Arno J. Klaassen
>
>  SCITO S.A.
>  8 rue des Haies
>  F-75020 Paris, France
>  http://scito.com
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>



-- 
When bad men combine, the good must associate; else they will fall one
by one, an unpitied sacrifice in a contemptible struggle.

    Edmund Burke
Received on Tue Aug 11 2009 - 17:35:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC