Network-related crash on boot
Sepherosa Ziehau
sepherosa at gmail.com
Sat Aug 2 18:46:54 PDT 2008
On Sun, Aug 3, 2008 at 7:28 AM, Tim <t-df at timdarby.net> wrote:
> I'm running the release version of 2.0 unpatched. My Dell Inspiron 8000
> laptop has a two nics: dc0 (cardbus) and xl0 (built-in). When I include
> ifconfig lines in rc.conf for both of these interfaces, I get the following
> error during boot right after "setting hostname":
>
> fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x4c
Look like mbuf is NULL.
> fault code = supervisor write, page not present
> instruction pointer = 0x8 :0xc03ede5b
> stack pointer = 0x10 :0xca615cac
> frame pointer = 0x10 :0xca615cac
> 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 = idle
> current thread = pri 60 (CRIT)
>
> kernel: type 12 trap, code=2
> Stopped at dc_rxeof+0x223: movl %edx,0x4c(%eax)
This probably is:
m->m_pkthdr.rcvif = ifp;
on line 2571
Please test following patch:
http://leaf.dragonflybsd.org/~sephe/if_dc.c.diff
Best Regards,
sephe
--
Live Free or Die
More information about the Bugs
mailing list