Re: BETA1 IPv6 crash

2011-08-22 Thread Tom Vijlbrief
2011/8/22 Sergey Kandaurov :
> On 8 August 2011 22:06, Tom Vijlbrief  wrote:
>> 2011/8/7 Sergey Kandaurov :
>>> On 7 August 2011 17:11, Tom Vijlbrief  wrote:
 I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the
 new installer.

 Major issue I noticed was the missing /home.

 It took me quite some time to get IPv6 working in the guest (a Linux
 configuration issue), but now that it works
 BETA1 panics in about 50% of the boot attempts:

 testbsd dumped core - see /var/crash/vmcore.0

 Sun Aug  7 08:25:28 CEST 2011

 FreeBSD testbsd 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16
 UTC 2011     r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386

 panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
 /usr/src/sys/netinet6/mld6.c:1676

 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 "i386-marcel-freebsd"...
>>> [..]
 panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
 /usr/src/sys/netinet6/mld6.c:1676

 cpuid = 0
 KDB: enter: panic
 Uptime: 28s
 Physical memory: 491 MB
 Dumping 45 MB: 30 14

 #0  doadump (textdump=1) at pcpu.h:244
 244     pcpu.h: No such file or directory.
        in pcpu.h
 (kgdb) #0  doadump (textdump=1) at pcpu.h:244
 #1  0xc0a04965 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:430
 #2  0xc0a04291 in panic (fmt=Variable "fmt" is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc09f4a4a in _mtx_lock_sleep (m=0xc35f3a28, tid=3278693824, opts=0,
    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
    at /usr/src/sys/kern/kern_mutex.c:341
 #4  0xc09f4c67 in _mtx_lock_flags (m=0xc35f3a28, opts=0,
    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
    at /usr/src/sys/kern/kern_mutex.c:203
 #5  0xc0bbf007 in mld_set_version (mli=0xc3589a00, version=Variable
 "version" is not available.
 )
    at /usr/src/sys/netinet6/mld6.c:1676
 #6  0xc0bc0c00 in mld_input (m=0xc3951e00, off=48, icmp6len=24)
    at /usr/src/sys/netinet6/mld6.c:690
 #7  0xc0ba5696 in icmp6_input (mp=0xc3313a54, offp=0xc3313a68, proto=58)
    at /usr/src/sys/netinet6/icmp6.c:654
 #8  0xc0bba23a in ip6_input (m=0xc3951e00)
    at /usr/src/sys/netinet6/ip6_input.c:964
 #9  0xc0ac9b1c in netisr_dispatch_src (proto=10, source=0, m=0xc3951e00)
    at /usr/src/sys/net/netisr.c:1013
 #10 0xc0ac9da0 in netisr_dispatch (proto=10, m=0xc3951e00)
    at /usr/src/sys/net/netisr.c:1104
 #11 0xc0abecf1 in ether_demux (ifp=0xc35f3800, m=0xc3951e00)
    at /usr/src/sys/net/if_ethersubr.c:936
 #12 0xc0abf1b3 in ether_nh_input (m=0xc3951e00)
    at /usr/src/sys/net/if_ethersubr.c:755
 #13 0xc0ac9b1c in netisr_dispatch_src (proto=9, source=0, m=0xc3951e00)
    at /usr/src/sys/net/netisr.c:1013
 #14 0xc0ac9da0 in netisr_dispatch (proto=9, m=0xc3951e00)
    at /usr/src/sys/net/netisr.c:1104
 #15 0xc0abe7f5 in ether_input (ifp=0xc35f3800, m=0xc3951e00)
    at /usr/src/sys/net/if_ethersubr.c:796
 #16 0xc0672bc9 in lem_handle_rxtx (context=0xc3732000, pending=1)
    at /usr/src/sys/dev/e1000/if_lem.c:3554
 #17 0xc0a468ab in taskqueue_run_locked (queue=0xc359ca80)
    at /usr/src/sys/kern/subr_taskqueue.c:306
 #18 0xc0a47307 in taskqueue_thread_loop (arg=0xc37365ec)
    at /usr/src/sys/kern/subr_taskqueue.c:495
 #19 0xc09d7af8 in fork_exit (callout=0xc0a472a0 ,
    arg=0xc37365ec, frame=0xc3313d28) at /usr/src/sys/kern/kern_fork.c:941
 #20 0xc0d1d714 in fork_trampoline () at 
 /usr/src/sys/i386/i386/exception.s:275
 (kgdb)

>>>
>>> This is the same as in PR kern/158426.
>>> Can you try the patch from PR followup and report us whether it helps?
>>> Full link to PR with patch:
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/158426
>>>
>>
>> I applied the patch and tried about 15 reboots and all went fine
>>
>
> Hi, Tom.
> A better fix for this problem has been developed since then. Would you
> please try it as well? For doing that, you need to revert a previous
> patch and apply this one.
> Please report if this change also fixes the panic for you, so it  has
> better chances to get into 9.0 release.
>
>
> Index: sys/netinet6/mld6.c
> ===
> --- sys/netinet6/mld6.c (revision 224471)
> +++ sys/netinet6/mld6.c (working copy)
> @@ -680,7 +680,6 @@ mld_v1_input_query(struct ifnet *ifp, cons

Re: BETA1 IPv6 crash

2011-08-22 Thread Sergey Kandaurov
On 8 August 2011 22:06, Tom Vijlbrief  wrote:
> 2011/8/7 Sergey Kandaurov :
>> On 7 August 2011 17:11, Tom Vijlbrief  wrote:
>>> I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the
>>> new installer.
>>>
>>> Major issue I noticed was the missing /home.
>>>
>>> It took me quite some time to get IPv6 working in the guest (a Linux
>>> configuration issue), but now that it works
>>> BETA1 panics in about 50% of the boot attempts:
>>>
>>> testbsd dumped core - see /var/crash/vmcore.0
>>>
>>> Sun Aug  7 08:25:28 CEST 2011
>>>
>>> FreeBSD testbsd 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16
>>> UTC 2011     r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
>>> i386
>>>
>>> panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
>>> /usr/src/sys/netinet6/mld6.c:1676
>>>
>>> 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 "i386-marcel-freebsd"...
>> [..]
>>> panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
>>> /usr/src/sys/netinet6/mld6.c:1676
>>>
>>> cpuid = 0
>>> KDB: enter: panic
>>> Uptime: 28s
>>> Physical memory: 491 MB
>>> Dumping 45 MB: 30 14
>>>
>>> #0  doadump (textdump=1) at pcpu.h:244
>>> 244     pcpu.h: No such file or directory.
>>>        in pcpu.h
>>> (kgdb) #0  doadump (textdump=1) at pcpu.h:244
>>> #1  0xc0a04965 in kern_reboot (howto=260)
>>>    at /usr/src/sys/kern/kern_shutdown.c:430
>>> #2  0xc0a04291 in panic (fmt=Variable "fmt" is not available.
>>> ) at /usr/src/sys/kern/kern_shutdown.c:595
>>> #3  0xc09f4a4a in _mtx_lock_sleep (m=0xc35f3a28, tid=3278693824, opts=0,
>>>    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
>>>    at /usr/src/sys/kern/kern_mutex.c:341
>>> #4  0xc09f4c67 in _mtx_lock_flags (m=0xc35f3a28, opts=0,
>>>    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
>>>    at /usr/src/sys/kern/kern_mutex.c:203
>>> #5  0xc0bbf007 in mld_set_version (mli=0xc3589a00, version=Variable
>>> "version" is not available.
>>> )
>>>    at /usr/src/sys/netinet6/mld6.c:1676
>>> #6  0xc0bc0c00 in mld_input (m=0xc3951e00, off=48, icmp6len=24)
>>>    at /usr/src/sys/netinet6/mld6.c:690
>>> #7  0xc0ba5696 in icmp6_input (mp=0xc3313a54, offp=0xc3313a68, proto=58)
>>>    at /usr/src/sys/netinet6/icmp6.c:654
>>> #8  0xc0bba23a in ip6_input (m=0xc3951e00)
>>>    at /usr/src/sys/netinet6/ip6_input.c:964
>>> #9  0xc0ac9b1c in netisr_dispatch_src (proto=10, source=0, m=0xc3951e00)
>>>    at /usr/src/sys/net/netisr.c:1013
>>> #10 0xc0ac9da0 in netisr_dispatch (proto=10, m=0xc3951e00)
>>>    at /usr/src/sys/net/netisr.c:1104
>>> #11 0xc0abecf1 in ether_demux (ifp=0xc35f3800, m=0xc3951e00)
>>>    at /usr/src/sys/net/if_ethersubr.c:936
>>> #12 0xc0abf1b3 in ether_nh_input (m=0xc3951e00)
>>>    at /usr/src/sys/net/if_ethersubr.c:755
>>> #13 0xc0ac9b1c in netisr_dispatch_src (proto=9, source=0, m=0xc3951e00)
>>>    at /usr/src/sys/net/netisr.c:1013
>>> #14 0xc0ac9da0 in netisr_dispatch (proto=9, m=0xc3951e00)
>>>    at /usr/src/sys/net/netisr.c:1104
>>> #15 0xc0abe7f5 in ether_input (ifp=0xc35f3800, m=0xc3951e00)
>>>    at /usr/src/sys/net/if_ethersubr.c:796
>>> #16 0xc0672bc9 in lem_handle_rxtx (context=0xc3732000, pending=1)
>>>    at /usr/src/sys/dev/e1000/if_lem.c:3554
>>> #17 0xc0a468ab in taskqueue_run_locked (queue=0xc359ca80)
>>>    at /usr/src/sys/kern/subr_taskqueue.c:306
>>> #18 0xc0a47307 in taskqueue_thread_loop (arg=0xc37365ec)
>>>    at /usr/src/sys/kern/subr_taskqueue.c:495
>>> #19 0xc09d7af8 in fork_exit (callout=0xc0a472a0 ,
>>>    arg=0xc37365ec, frame=0xc3313d28) at /usr/src/sys/kern/kern_fork.c:941
>>> #20 0xc0d1d714 in fork_trampoline () at 
>>> /usr/src/sys/i386/i386/exception.s:275
>>> (kgdb)
>>>
>>
>> This is the same as in PR kern/158426.
>> Can you try the patch from PR followup and report us whether it helps?
>> Full link to PR with patch:
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/158426
>>
>
> I applied the patch and tried about 15 reboots and all went fine
>

Hi, Tom.
A better fix for this problem has been developed since then. Would you
please try it as well? For doing that, you need to revert a previous
patch and apply this one.
Please report if this change also fixes the panic for you, so it  has
better chances to get into 9.0 release.


Index: sys/netinet6/mld6.c
===
--- sys/netinet6/mld6.c (revision 224471)
+++ sys/netinet6/mld6.c (working copy)
@@ -680,7 +680,6 @@ mld_v1_input_query(struct ifnet *ifp, const struct

IN6_MULTI_LOCK();
MLD_LOCK();
-   IF_ADDR_LOCK(ifp);

/*
 * Switch to MLDv1 host compatibility mode.
@@ -693,6 +692

Re: BETA1 IPv6 crash

2011-08-08 Thread Tom Vijlbrief
2011/8/7 Sergey Kandaurov :
> On 7 August 2011 17:11, Tom Vijlbrief  wrote:
>> I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the
>> new installer.
>>
>> Major issue I noticed was the missing /home.
>>
>> It took me quite some time to get IPv6 working in the guest (a Linux
>> configuration issue), but now that it works
>> BETA1 panics in about 50% of the boot attempts:
>>
>> testbsd dumped core - see /var/crash/vmcore.0
>>
>> Sun Aug  7 08:25:28 CEST 2011
>>
>> FreeBSD testbsd 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16
>> UTC 2011     r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
>> i386
>>
>> panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
>> /usr/src/sys/netinet6/mld6.c:1676
>>
>> 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 "i386-marcel-freebsd"...
> [..]
>> panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
>> /usr/src/sys/netinet6/mld6.c:1676
>>
>> cpuid = 0
>> KDB: enter: panic
>> Uptime: 28s
>> Physical memory: 491 MB
>> Dumping 45 MB: 30 14
>>
>> #0  doadump (textdump=1) at pcpu.h:244
>> 244     pcpu.h: No such file or directory.
>>        in pcpu.h
>> (kgdb) #0  doadump (textdump=1) at pcpu.h:244
>> #1  0xc0a04965 in kern_reboot (howto=260)
>>    at /usr/src/sys/kern/kern_shutdown.c:430
>> #2  0xc0a04291 in panic (fmt=Variable "fmt" is not available.
>> ) at /usr/src/sys/kern/kern_shutdown.c:595
>> #3  0xc09f4a4a in _mtx_lock_sleep (m=0xc35f3a28, tid=3278693824, opts=0,
>>    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
>>    at /usr/src/sys/kern/kern_mutex.c:341
>> #4  0xc09f4c67 in _mtx_lock_flags (m=0xc35f3a28, opts=0,
>>    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
>>    at /usr/src/sys/kern/kern_mutex.c:203
>> #5  0xc0bbf007 in mld_set_version (mli=0xc3589a00, version=Variable
>> "version" is not available.
>> )
>>    at /usr/src/sys/netinet6/mld6.c:1676
>> #6  0xc0bc0c00 in mld_input (m=0xc3951e00, off=48, icmp6len=24)
>>    at /usr/src/sys/netinet6/mld6.c:690
>> #7  0xc0ba5696 in icmp6_input (mp=0xc3313a54, offp=0xc3313a68, proto=58)
>>    at /usr/src/sys/netinet6/icmp6.c:654
>> #8  0xc0bba23a in ip6_input (m=0xc3951e00)
>>    at /usr/src/sys/netinet6/ip6_input.c:964
>> #9  0xc0ac9b1c in netisr_dispatch_src (proto=10, source=0, m=0xc3951e00)
>>    at /usr/src/sys/net/netisr.c:1013
>> #10 0xc0ac9da0 in netisr_dispatch (proto=10, m=0xc3951e00)
>>    at /usr/src/sys/net/netisr.c:1104
>> #11 0xc0abecf1 in ether_demux (ifp=0xc35f3800, m=0xc3951e00)
>>    at /usr/src/sys/net/if_ethersubr.c:936
>> #12 0xc0abf1b3 in ether_nh_input (m=0xc3951e00)
>>    at /usr/src/sys/net/if_ethersubr.c:755
>> #13 0xc0ac9b1c in netisr_dispatch_src (proto=9, source=0, m=0xc3951e00)
>>    at /usr/src/sys/net/netisr.c:1013
>> #14 0xc0ac9da0 in netisr_dispatch (proto=9, m=0xc3951e00)
>>    at /usr/src/sys/net/netisr.c:1104
>> #15 0xc0abe7f5 in ether_input (ifp=0xc35f3800, m=0xc3951e00)
>>    at /usr/src/sys/net/if_ethersubr.c:796
>> #16 0xc0672bc9 in lem_handle_rxtx (context=0xc3732000, pending=1)
>>    at /usr/src/sys/dev/e1000/if_lem.c:3554
>> #17 0xc0a468ab in taskqueue_run_locked (queue=0xc359ca80)
>>    at /usr/src/sys/kern/subr_taskqueue.c:306
>> #18 0xc0a47307 in taskqueue_thread_loop (arg=0xc37365ec)
>>    at /usr/src/sys/kern/subr_taskqueue.c:495
>> #19 0xc09d7af8 in fork_exit (callout=0xc0a472a0 ,
>>    arg=0xc37365ec, frame=0xc3313d28) at /usr/src/sys/kern/kern_fork.c:941
>> #20 0xc0d1d714 in fork_trampoline () at 
>> /usr/src/sys/i386/i386/exception.s:275
>> (kgdb)
>>
>
> This is the same as in PR kern/158426.
> Can you try the patch from PR followup and report us whether it helps?
> Full link to PR with patch:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/158426
>
> --
> wbr,
> pluknet
>
>

I applied the patch and tried about 15 reboots and all went fine
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: BETA1 IPv6 crash

2011-08-07 Thread Sergey Kandaurov
On 7 August 2011 17:11, Tom Vijlbrief  wrote:
> I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the
> new installer.
>
> Major issue I noticed was the missing /home.
>
> It took me quite some time to get IPv6 working in the guest (a Linux
> configuration issue), but now that it works
> BETA1 panics in about 50% of the boot attempts:
>
> testbsd dumped core - see /var/crash/vmcore.0
>
> Sun Aug  7 08:25:28 CEST 2011
>
> FreeBSD testbsd 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16
> UTC 2011     r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> i386
>
> panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
> /usr/src/sys/netinet6/mld6.c:1676
>
> 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 "i386-marcel-freebsd"...
[..]
> panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
> /usr/src/sys/netinet6/mld6.c:1676
>
> cpuid = 0
> KDB: enter: panic
> Uptime: 28s
> Physical memory: 491 MB
> Dumping 45 MB: 30 14
>
> #0  doadump (textdump=1) at pcpu.h:244
> 244     pcpu.h: No such file or directory.
>        in pcpu.h
> (kgdb) #0  doadump (textdump=1) at pcpu.h:244
> #1  0xc0a04965 in kern_reboot (howto=260)
>    at /usr/src/sys/kern/kern_shutdown.c:430
> #2  0xc0a04291 in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:595
> #3  0xc09f4a4a in _mtx_lock_sleep (m=0xc35f3a28, tid=3278693824, opts=0,
>    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
>    at /usr/src/sys/kern/kern_mutex.c:341
> #4  0xc09f4c67 in _mtx_lock_flags (m=0xc35f3a28, opts=0,
>    file=0xc0f1ab65 "/usr/src/sys/netinet6/mld6.c", line=1676)
>    at /usr/src/sys/kern/kern_mutex.c:203
> #5  0xc0bbf007 in mld_set_version (mli=0xc3589a00, version=Variable
> "version" is not available.
> )
>    at /usr/src/sys/netinet6/mld6.c:1676
> #6  0xc0bc0c00 in mld_input (m=0xc3951e00, off=48, icmp6len=24)
>    at /usr/src/sys/netinet6/mld6.c:690
> #7  0xc0ba5696 in icmp6_input (mp=0xc3313a54, offp=0xc3313a68, proto=58)
>    at /usr/src/sys/netinet6/icmp6.c:654
> #8  0xc0bba23a in ip6_input (m=0xc3951e00)
>    at /usr/src/sys/netinet6/ip6_input.c:964
> #9  0xc0ac9b1c in netisr_dispatch_src (proto=10, source=0, m=0xc3951e00)
>    at /usr/src/sys/net/netisr.c:1013
> #10 0xc0ac9da0 in netisr_dispatch (proto=10, m=0xc3951e00)
>    at /usr/src/sys/net/netisr.c:1104
> #11 0xc0abecf1 in ether_demux (ifp=0xc35f3800, m=0xc3951e00)
>    at /usr/src/sys/net/if_ethersubr.c:936
> #12 0xc0abf1b3 in ether_nh_input (m=0xc3951e00)
>    at /usr/src/sys/net/if_ethersubr.c:755
> #13 0xc0ac9b1c in netisr_dispatch_src (proto=9, source=0, m=0xc3951e00)
>    at /usr/src/sys/net/netisr.c:1013
> #14 0xc0ac9da0 in netisr_dispatch (proto=9, m=0xc3951e00)
>    at /usr/src/sys/net/netisr.c:1104
> #15 0xc0abe7f5 in ether_input (ifp=0xc35f3800, m=0xc3951e00)
>    at /usr/src/sys/net/if_ethersubr.c:796
> #16 0xc0672bc9 in lem_handle_rxtx (context=0xc3732000, pending=1)
>    at /usr/src/sys/dev/e1000/if_lem.c:3554
> #17 0xc0a468ab in taskqueue_run_locked (queue=0xc359ca80)
>    at /usr/src/sys/kern/subr_taskqueue.c:306
> #18 0xc0a47307 in taskqueue_thread_loop (arg=0xc37365ec)
>    at /usr/src/sys/kern/subr_taskqueue.c:495
> #19 0xc09d7af8 in fork_exit (callout=0xc0a472a0 ,
>    arg=0xc37365ec, frame=0xc3313d28) at /usr/src/sys/kern/kern_fork.c:941
> #20 0xc0d1d714 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:275
> (kgdb)
>

This is the same as in PR kern/158426.
Can you try the patch from PR followup and report us whether it helps?
Full link to PR with patch:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/158426

-- 
wbr,
pluknet
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


BETA1 IPv6 crash

2011-08-07 Thread Tom Vijlbrief
I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the
new installer.

Major issue I noticed was the missing /home.

It took me quite some time to get IPv6 working in the guest (a Linux
configuration issue), but now that it works
BETA1 panics in about 50% of the boot attempts:

testbsd dumped core - see /var/crash/vmcore.0

Sun Aug  7 08:25:28 CEST 2011

FreeBSD testbsd 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16
UTC 2011 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386

panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @
/usr/src/sys/netinet6/mld6.c:1676

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 "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-BETA1 #0: Thu Jul 28 16:34:16 UTC 2011
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
WARNING: WITNESS option enabled, expect reduced performance.
CPU: QEMU Virtual CPU version 0.14.0 (3013.63-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x623  Family = 6  Model = 2  Stepping = 3
  
Features=0x783fbfd
  Features2=0x80802001
  AMD Features=0x100800
  AMD Features2=0x61
real memory  = 536870912 (512 MB)
avail memory = 501788672 (478 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0
cpu0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci_link4: Unable to route IRQs: AE_NOT_FOUND
isab0:  at device 1.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc580-0xc58f at device 1.1 on
pci0
ata0:  on atapci0
ata1:  on atapci0
uhci0:  port 0xc540-0xc55f irq
11 at device 1.2 on pci0
usbus0: controller did not stop
usbus0:  on uhci0
pci0:  at device 1.3 (no driver attached)
vgapci0:  mem
0xfc00-0xfdff,0xfebf-0xfebf0fff at device 2.0 on pci0
em0:  port
0xc500-0xc53f mem 0xfebc-0xfebd irq 11 at device 3.0 on pci0
em0: Memory Access and/or Bus Master bits were not set!
em0: Ethernet address: 52:54:00:d6:ff:9e
pcm0:  port 0xc000-0xc3ff,0xc400-0xc4ff irq 11 at
device 4.0 on pci0
pcm0: 
pci0:  at device 5.0 (no driver attached)
hpet0:  iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 1 Hz quality 950
atrtc0:  port 0x70-0x71,0x72-0x77 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0:  port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
attimer0:  at port 0x40 on isa0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
ppc0: parallel port not found.
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Timecounters tick every 10.000 msec
pcm0: measured ac97 link rate at 64028 Hz
usbus0: 12Mbps Full Speed USB v1.0
ugen0.1:  at usbus0
uhub0:  on usbus0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0:  ATA-7 device
ada0: 16.700MB/s transfers (WDMA2, PIO 8192bytes)
ada0: 12288MB (25165824 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [254792 x 2048 byte records]
Timecounter "TSC" frequency 3013632108 Hz quality 800
WARNING: WITNESS option enabled, expect reduced performance.
Root mount waiting for: usbus0
uhub0: 2 ports with 2 removable, self powered
Trying to mount root from ufs:/dev/ada0p2 [rw]...
WARNING: / was not properly dismounted
<118>Setting hostuuid: 06ffa4c2-9c9c-c26a-65d5-36b743860adc.
<118>Setting hostid: 0x0895d182.
<118>Entropy harvesting: interrupts ethernet point_to_point kickstart.
<118>Starting file system checks:
<118>** SU+J Recovering /dev/ada0p2
<118>** Reading 33554432 byte journal from inode 4.
<118>** Building recovery table.
<118>** Resolving unreferenced inode list.
<118>** Proce