https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082013-03-21T14:59:18ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #2528: In VirtualBox one of possible network interfaces fails to attachhttps://bugs.dragonflybsd.org/issues/2528?journal_id=113972013-03-21T14:59:18Zkworrc.kworr@gmail.com
<ul></ul><p>Everything was working nice on 3.2.2.</p> DragonFlyBSD - Bug #2528: In VirtualBox one of possible network interfaces fails to attachhttps://bugs.dragonflybsd.org/issues/2528?journal_id=113982013-03-21T15:39:00Zkworrc.kworr@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/999">y.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/999/y.png">y.png</a> added</li><li><strong>File</strong> <a href="/attachments/1000">x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1000/x.png">x.png</a> added</li></ul><p>db> where<br />lance_stop() at lance_stop+0x19 0xffffffff80767f8f<br />lance_config() at lance_config+0x248 0xffffffff80768237<br />am79900_config() at am79900_config+0x25 0xffffffff80766368<br />le_pci_attach() at le_pci_attach+0x461 0xffffffff80767c68<br />device_doattach() at device_doattach+0x3t 0xffffffff805221f0</p> DragonFlyBSD - Bug #2528: In VirtualBox one of possible network interfaces fails to attachhttps://bugs.dragonflybsd.org/issues/2528?journal_id=113992013-03-21T15:44:58Zkworrc.kworr@gmail.com
<ul></ul><ol>
<li>uname -a<br />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</li>
</ol> DragonFlyBSD - Bug #2528: In VirtualBox one of possible network interfaces fails to attachhttps://bugs.dragonflybsd.org/issues/2528?journal_id=114022013-03-22T01:39:54Zsepherosa
<ul></ul><p>On Thu, Mar 21, 2013 at 11:39 PM, Volodymyr Kostyrko via Redmine<br /><<a class="email" href="mailto:bugtracker-admin@leaf.dragonflybsd.org">bugtracker-admin@leaf.dragonflybsd.org</a>> wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: In VirtualBox one of possible network interfaces fails to attach (Closed)" href="https://bugs.dragonflybsd.org/issues/2528">#2528</a> has been updated by kworr.</p>
<p>File y.png added<br />File x.png added</p>
<p>db> where<br />lance_stop() at lance_stop+0x19 0xffffffff80767f8f<br />lance_config() at lance_config+0x248 0xffffffff80768237<br />am79900_config() at am79900_config+0x25 0xffffffff80766368<br />le_pci_attach() at le_pci_attach+0x461 0xffffffff80767c68<br />device_doattach() at device_doattach+0x3t 0xffffffff805221f0</p>
</blockquote>
<p>Look like the if_attach is not called before the lance_stop()</p>
<p>Please test the following patch:<br /><a class="external" href="http://leaf.dragonflybsd.org/~sephe/lance.diff">http://leaf.dragonflybsd.org/~sephe/lance.diff</a></p>
<p>Best Regards,<br />sephe</p>
<blockquote>
<p>----------------------------------------<br />Bug <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: In VirtualBox one of possible network interfaces fails to attach (Closed)" href="https://bugs.dragonflybsd.org/issues/2528">#2528</a>: In VirtualBox one of possible network interfaces fails to attach<br /><a class="external" href="http://bugs.dragonflybsd.org/issues/2528">http://bugs.dragonflybsd.org/issues/2528</a></p>
<p>Author: kworr<br />Status: New<br />Priority: Low<br />Assignee:<br />Category:<br />Target version:</p>
<p>After updating to current HEAD and recompiling machine fails to boot trapping at device detection:</p>
<p>lnc0: <AMD PCnet-PCI> port 0xd000-0xd01f mem 0xf0080000-0xf00fffff,0xf0000000-0xf0000fff irq 19 at device 3.0 on pci0<br />lnc0: 16 receive buffers, 4 transmit buffers</p>
<p>Fatal trap 12: page fault while in kernel mode<br />cpuid = 0; lapic->id = 00000000<br />fault virtual address = 0x74<br />fault code = supervisor write data, page not present<br />instruction pointer = 0x8:0xffffffff80767f8f<br />stack pointer = 0x10:0xffffffff824e5570<br />frame pointer = 0x10:0xffffffff824e5570<br />code segment = base 0x0. limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1<br />processor eflags = interrupt enabled, resume, IOPL = 0<br />current process = 0<br />current thread = pri 12<br />kernel: type 12 trap, code=2</p>
<p>CPU0 stopping CPOUs: 0x0000000e<br />stopped<br />Stopped at lance_stop+0x19: movl $0,0x74(%rdx)</p>
<p>--<br />You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://bugs.dragonflybsd.org/my/account">http://bugs.dragonflybsd.org/my/account</a></p>
</blockquote>
<p>--<br />Tomorrow Will Never Die</p> DragonFlyBSD - Bug #2528: In VirtualBox one of possible network interfaces fails to attachhttps://bugs.dragonflybsd.org/issues/2528?journal_id=114032013-03-23T07:12:09Zkworrc.kworr@gmail.com
<ul></ul><p>Yes, everything works now. Thanks.</p> DragonFlyBSD - Bug #2528: In VirtualBox one of possible network interfaces fails to attachhttps://bugs.dragonflybsd.org/issues/2528?journal_id=114732013-04-15T19:44:14Zswildner
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul>