Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2010 22:58:04 GMT
From:      Michael Moll <kvedulv@kvedulv.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/142392: rtadvd triggers kernel panic when started for a hardware WLAN interface
Message-ID:  <201001062258.o06Mw4KO064802@www.freebsd.org>
Resent-Message-ID: <201001062300.o06N0BEN089286@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142392
>Category:       kern
>Synopsis:       rtadvd triggers kernel panic when started for a hardware WLAN interface
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 06 23:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Michael Moll
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD geode.kvedulv.de 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Wed Jan  6 23:12:22 CET 2010     root@buildhost.kvedulv.de:/usr/obj/usr/src/sys/GEODE_DB  i386
>Description:
When upgrading from 7.2 to 8.0 I experienced a panic, before changing the interface for rtadvd from ath0 to wlan0:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0776c20
stack pointer           = 0x28:0xcd0f9064
frame pointer           = 0x28:0xcd0f90dc
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         = 1662 (rtadvd)
[thread pid 1662 tid 100084 ]
Stopped at      bcmp+0x14:      repe cmpsl      (%esi),%es:(%edi)
db> bt
Tracing pid 1662 tid 100084 td 0xc24ac240
bcmp(c20b2800,cd0f9178,c24cc400,cd0f9168,0) at bcmp+0x14
ip6_setmoptions(c23e1e9c) at ip6_setmoptions+0xb3d
ip6_ctloutput(c24d0000) at ip6_ctloutput+0x55c
sosetopt(c24d0000,cd0f9c44,1,29,c,...) at sosetopt+0x2a
kern_setsockopt(c24ac240,4,29,c,bfbfece0,...) at kern_setsockopt+0x99
setsockopt(c24ac240,cd0f9cf8,c07e41dc,c24ac240,292,...) at setsockopt+0x1e
syscall(cd0f9d38) at syscall+0x194
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (105, FreeBSD ELF32, setsockopt), eip = 0x281363b7, esp = 0xbfbfe41c, ebp = 0xbfbfed08 ---

When using wlan0 as interface everything is fine, but this may bite other people when upgrading to 8.
>How-To-Repeat:
I can easily reproduce this with "rtadvd ath0".
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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