Project

General

Profile

Actions

Bug #2528

closed

In VirtualBox one of possible network interfaces fails to attach

Added by kworr about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/21/2013
Due date:
% Done:

0%

Estimated time:

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

x.png (11.3 KB) x.png kworr, 03/21/2013 06:43 AM
y.png (16.3 KB) y.png kworr, 03/21/2013 08:39 AM
x.png (16.4 KB) x.png kworr, 03/21/2013 08:39 AM
Actions #1

Updated by kworr about 11 years ago

Everything was working nice on 3.2.2.

Updated by kworr about 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

Actions #3

Updated by kworr about 11 years ago

  1. 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
Actions #4

Updated by sepherosa about 11 years ago

On Thu, Mar 21, 2013 at 11:39 PM, Volodymyr Kostyrko via Redmine
<> wrote:

Issue #2528 has been updated by kworr.

File y.png added
File x.png added

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

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/2528

Author: 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 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)

--
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

Actions #5

Updated by kworr about 11 years ago

Yes, everything works now. Thanks.

Actions #6

Updated by swildner about 11 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF