Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2006 14:55:00 +0800
From:      Huang wen hui <huang@gddsn.org.cn>
To:        Scott Long <scottl@samsco.org>
Cc:        Julian Elischer <julian@elischer.org>, current@freebsd.org
Subject:   Re: if_em panic
Message-ID:  <43C74EC4.70808@gddsn.org.cn>
In-Reply-To: <43C730EC.7070104@samsco.org>
References:  <43C712A7.1050805@gddsn.org.cn> <43C718EF.9050301@elischer.org> <43C71BFC.5090104@gddsn.org.cn> <43C730EC.7070104@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Long wrote:

> Huang wen hui wrote:
>
>> Julian Elischer wrote:
>>
>>> Huang wen hui wrote:
>>>
>>>  
>>>
>>>> hi,
>>>> when I load if_em on TP42P got this panic:
>>>>
>>>>
>>>>   
>>>
>>>
>>>
>>> looks like the first interrupt occurs before the driver has finished
>>> setting itself up..
>>> (just a first impression).
>>> Scott'll probably nail it.
>>>
>>> I'm guessing it works fine if compiled in..
>>>  
>>>
>> no, that why I use kldload.  Sometimes can kldload successfully in 
>> single-user mode.
>>
>
> I never encountered this with kldload, but I understand what is wrong.
> I'll fix it shortly.

now got this when if_em compile in kernel:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc05469d3
stack pointer           = 0x28:0xc0c20a24
frame pointer           = 0x28:0xc0c20a24
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
[thread pid 0 tid 0 ]
Stopped at      em_disable_intr+0x37:   movl    0x4(%eax),%edx
db> bt
Tracing pid 0 tid 0 td 0xc099c980
em_disable_intr(c4b7a800,c4bd2280,c4bd2280,0,c4b7a800) at 
em_disable_intr+0x37
em_allocate_pci_resources(c4b7a800) at em_allocate_pci_resources+0x1fa
em_attach(c4bd2280) at em_attach+0x31d
device_attach(c4bd2280,c4bd2100,c4bd2280,c4bb8d00,0) at device_attach+0x58
device_probe_and_attach(c4bd2280) at device_probe_and_attach+0xc4
bus_generic_attach(c4bb8d00,6,c4b2d920,1,c0af2a9c) at 
bus_generic_attach+0x16
acpi_pci_attach(c4bb8d00) at acpi_pci_attach+0xd0
device_attach(c4bb8d00,c4bb1a00,c4bb8d00,0,c4bb7400) at device_attach+0x58
device_probe_and_attach(c4bb8d00) at device_probe_and_attach+0xc4
bus_generic_attach(c4bb7400,c4bb7400,c4baa680,c4b2d920,c4bd6cc0) at 
bus_generic_attach+0x16
acpi_pcib_attach(c4bb7400,c4bd6cf0,1,c4b2d920,c4bb7400) at 
acpi_pcib_attach+0x12f
acpi_pcib_pci_attach(c4bb7400) at acpi_pcib_pci_attach+0x7c
device_attach(c4bb7400,c4b90000,c4bb7400,c4baa680,0) at device_attach+0x58
device_probe_and_attach(c4bb7400) at device_probe_and_attach+0xc4
bus_generic_attach(c4baa680,6,c4b90000,1,c0af2a9c) at 
bus_generic_attach+0x16
acpi_pci_attach(c4baa680) at acpi_pci_attach+0xd0
device_attach(c4baa680,c4b89b80,c4baa680,0,c4adf580) at device_attach+0x58
device_probe_and_attach(c4baa680) at device_probe_and_attach+0xc4
bus_generic_attach(c4adf580,c4adf580,c4adf580,c4b90000,c4b93a80) at 
bus_generic_attach+0x16
acpi_pcib_attach(c4adf580,c4b93a94,0,c0c20c58,c06b534c) at 
acpi_pcib_attach+0x12f
acpi_pcib_acpi_attach(c4adf580) at acpi_pcib_acpi_attach+0xcf
device_attach(c4adf580,c4adf700,c4adf580,c4baaa00,c4b8d200) at 
device_attach+0x58
device_probe_and_attach(c4adf580) at device_probe_and_attach+0xc4
bus_generic_attach(c4b8d200,8ff,860,c4b97968,4) at bus_generic_attach+0x16
acpi_attach(c4b8d200) at acpi_attach+0x631
device_attach(c4b8d200,0,c4b8d200,c4a9a780,0) at device_attach+0x58
device_probe_and_attach(c4b8d200) at device_probe_and_attach+0xc4
bus_generic_attach(c4a9a780,c4a9a780,c4a9a780,c0c20d40,c06b1500) at 
bus_generic_attach+0x16
nexus_attach(c4a9a780) at nexus_attach+0x13
device_attach(c4a9a780,c0690e67,c4a9a780,c096dbf0,c25000) at 
device_attach+0x58
device_probe_and_attach(c4a9a780) at device_probe_and_attach+0xc4
root_bus_configure(c0c20d88,c066ce82,0,c1ec00,c1e000) at 
root_bus_configure+0x16
configure(0,c1ec00,c1e000,0,c044f865) at configure+0x9
mi_startup() at mi_startup+0x96
begin() at begin+0x2c


>
> Scott





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C74EC4.70808>