Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2010 20:26:21 +0300
From:      "Vladislav V. Prodan" <universite@ukr.net>
To:        freebsd-bugs@freebsd.org
Subject:   Re: kern/149948: [panic] when starting net/ladvd
Message-ID:  <4C7A983D.3010602@ukr.net>
In-Reply-To: <4C7A7CCB.1090009@ukr.net>
References:  <201008291333.o7TDX0GM054834@freefall.freebsd.org> <4C7A7CCB.1090009@ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
These options were already in the kernel:
	options         KDB
	makeoptions     DEBUG=-g

I added a few more:

	options        INVARIANTS
	options        INVARIANT_SUPPORT
	options        WITNESS
	options        WITNESS_SKIPSPIN

And after the service ladvd onestart got hung system.
Helped only reset the computer, coredump is not created.

Aug 29 20:04:58 mary-teresa vlad11: /usr/local/etc/rc.d/ladvd: DEBUG:
checkyesno: ladvd_enable is set to YES.
Aug 29 20:04:58 mary-teresa vlad11: /usr/local/etc/rc.d/ladvd: DEBUG:
run_rc_command: start_precmd: ladvd_check
Aug 29 20:04:58 mary-teresa vlad11: /usr/local/etc/rc.d/ladvd: DEBUG:
run_rc_command: doit: /usr/local/sbin/ladvd -a
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa last message repeated 2 times
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa last message repeated 3 times
Aug 29 20:04:58 mary-teresa last message repeated 3 times
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa kernel:
Aug 29 20:04:58 mary-teresa kernel:
Aug 29 20:04:58 mary-teresa kernel: Fatal trap 12: page fault while in
kernel mode
Aug 29 20:04:58 mary-teresa kernel: cpuid = 1; apic id = 01
Aug 29 20:04:58 mary-teresa kernel: fault virtual address       = 0x0
Aug 29 20:04:58 mary-teresa kernel: fault code          = supervisor
read data, page not present
Aug 29 20:04:58 mary-teresa kernel: instruction pointer =
0x20:0xffffffff806850d4
Aug 29 20:04:58 mary-teresa kernel: stack pointer               =
0x28:0xffffff804b057940
Aug 29 20:04:58 mary-teresa kernel: frame pointer               =
0x28:0xffffff804b0579e0
Aug 29 20:04:58 mary-teresa snmpd[3520]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa snmpd[4612]: RTM_NEWMADDR for unknown
interface 0
Aug 29 20:04:58 mary-teresa kernel:
Aug 29 20:04:58 mary-teresa kernel: code segment                = base


What else can I do to give more information on this error?


29.08.2010 18:29, Vladislav V. Prodan wrote:
> I provoked a kernel panic on another machine.
> 
> panic: page fault
> 
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...
> Cannot access memory at address 0xffffff019dffffe0
> (kgdb) #0  0x0000000000000000 in ?? ()
> Cannot access memory at address 0x0
> (kgdb)
> 
> 
> 
> 29.08.2010 16:33, vwe@FreeBSD.org wrote:
>> Old Synopsis: Panic when starting  ladvd
>> New Synopsis: [panic] when starting net/ladvd
>>
>> State-Changed-From-To: open->feedback
>> State-Changed-By: vwe
>> State-Changed-When: Sun Aug 29 13:26:03 UTC 2010
>> State-Changed-Why: 
>> Vladislav,
>> w/o a backtrace or any other information, it's quite hard to tell where
>> the problem might come from.
>>
>> Your screenshot suggests, there's a NULL pointer causing the trouble.
>>
>> Can you please try at first the following command and post us it's output:
>> addr2line -e /boot/kernel/kernel.symbols 0xffffffff806aa114
>>
>> If your kernel config is near GENERIC, the problem might be in
>> sys/net80211/ieee80211_node.c:2328
>>
>> Having a backtrace would make things simpler. If you're brave enough, you
>> may try to get the kernel dump onto a usb thumb drive (I'm using this for
>> embedded machines, where I don't have the space to store dumps).
>> It works find, just take a look at dumpon(8).
>>
>> If you got a dump, please use the kernel debugger to get the backtrace.
>>
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=149948
>>
>>
>>
> 
> _______________________________________________
> freebsd-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
> 
> 
> 




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