Bug #2528
closedIn VirtualBox one of possible network interfaces fails to attach
0%
Description
After updating to current HEAD and recompiling machine fails to boot trapping at device detection:
lnc0: <AMD PCnet-PCI> port 0xd000-0xd01f mem 0xf0080000-0xf00fffff,0xf0000000-0xf0000fff irq 19 at device 3.0 on pci0
lnc0: 16 receive buffers, 4 transmit buffers
Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic->id = 00000000
fault virtual address = 0x74
fault code = supervisor write data, page not present
instruction pointer = 0x8:0xffffffff80767f8f
stack pointer = 0x10:0xffffffff824e5570
frame pointer = 0x10:0xffffffff824e5570
code segment = base 0x0. limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0
current thread = pri 12
kernel: type 12 trap, code=2
CPU0 stopping CPOUs: 0x0000000e
stopped
Stopped at lance_stop+0x19: movl $0,0x74(%rdx)
Files
Updated by kworr over 11 years ago
db> where
lance_stop() at lance_stop+0x19 0xffffffff80767f8f
lance_config() at lance_config+0x248 0xffffffff80768237
am79900_config() at am79900_config+0x25 0xffffffff80766368
le_pci_attach() at le_pci_attach+0x461 0xffffffff80767c68
device_doattach() at device_doattach+0x3t 0xffffffff805221f0
Updated by kworr over 11 years ago
- uname -a
DragonFly 3.3-DEVELOPMENT DragonFly v3.3.0.1375.gf00ea-DEVELOPMENT #0: Mon Mar 18 16:57:56 EET 2013 arcade@:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
Updated by sepherosa over 11 years ago
On Thu, Mar 21, 2013 at 11:39 PM, Volodymyr Kostyrko via Redmine
<bugtracker-admin@leaf.dragonflybsd.org> wrote:
Issue #2528 has been updated by kworr.
File y.png added
File x.png addeddb> where
lance_stop() at lance_stop+0x19 0xffffffff80767f8f
lance_config() at lance_config+0x248 0xffffffff80768237
am79900_config() at am79900_config+0x25 0xffffffff80766368
le_pci_attach() at le_pci_attach+0x461 0xffffffff80767c68
device_doattach() at device_doattach+0x3t 0xffffffff805221f0
Look like the if_attach is not called before the lance_stop()
Please test the following patch:
http://leaf.dragonflybsd.org/~sephe/lance.diff
Best Regards,
sephe
----------------------------------------
Bug #2528: In VirtualBox one of possible network interfaces fails to attach
http://bugs.dragonflybsd.org/issues/2528Author: kworr
Status: New
Priority: Low
Assignee:
Category:
Target version:After updating to current HEAD and recompiling machine fails to boot trapping at device detection:
lnc0: <AMD PCnet-PCI> port 0xd000-0xd01f mem 0xf0080000-0xf00fffff,0xf0000000-0xf0000fff irq 19 at device 3.0 on pci0
lnc0: 16 receive buffers, 4 transmit buffersFatal trap 12: page fault while in kernel mode
cpuid = 0; lapic->id = 00000000
fault virtual address = 0x74
fault code = supervisor write data, page not present
instruction pointer = 0x8:0xffffffff80767f8f
stack pointer = 0x10:0xffffffff824e5570
frame pointer = 0x10:0xffffffff824e5570
code segment = base 0x0. limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0
current thread = pri 12
kernel: type 12 trap, code=2CPU0 stopping CPOUs: 0x0000000e
stopped
Stopped at lance_stop+0x19: movl $0,0x74(%rdx)--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
--
Tomorrow Will Never Die