Re: panic: bogus refcnt 0 on lle 0xfffff80121a13a00

2016-07-12 Thread Hans Petter Selasky

On 07/12/16 11:03, Michael Zhilin wrote:

Hi,

I have same issue everyday on my laptop. It happens randomly and I suppose
due to network issues.
I want to test D4507. I've tried to apply patch, it's successful except one
chunk:



I've updated D4605 . It will fix the panic that results of the command 
sequence in the differential revision's comments at least.


--HPS

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


Re: panic: bogus refcnt 0 on lle 0xfffff80121a13a00

2016-07-12 Thread Peter Holm
On Tue, Jul 12, 2016 at 10:55:31AM +0200, Hans Petter Selasky wrote:
> On 07/12/16 10:37, Peter Holm wrote:
> > Exiting from single-user mode triggers this:
> >
> > ifa_maintain_loopback_route: deletion failed for interface igb0: 3
> > panic: bogus refcnt 0 on lle 0xf80121a13a00
> > cpuid = 9
> > KDB: stack backtrace:
> > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
> > 0xfe1048c63470
> > vpanic() at vpanic+0x182/frame 0xfe1048c634f0
> > kassert_panic() at kassert_panic+0x126/frame 0xfe1048c63560
> > llentry_free() at llentry_free+0x136/frame 0xfe1048c63590
> > in_lltable_free_entry() at in_lltable_free_entry+0xb0/frame 
> > 0xfe1048c635c0
> > htable_prefix_free() at htable_prefix_free+0xce/frame 0xfe1048c63620
> > lltable_prefix_free() at lltable_prefix_free+0x5d/frame 0xfe1048c63660
> > in_scrubprefix() at in_scrubprefix+0x290/frame 0xfe1048c63700
> > in_difaddr_ioctl() at in_difaddr_ioctl+0x285/frame 0xfe1048c63750
> > in_control() at in_control+0x96/frame 0xfe1048c637d0
> > ifioctl() at ifioctl+0xda1/frame 0xfe1048c63860
> > kern_ioctl() at kern_ioctl+0x246/frame 0xfe1048c638c0
> > sys_ioctl() at sys_ioctl+0x171/frame 0xfe1048c639a0
> > amd64_syscall() at amd64_syscall+0x2f6/frame 0xfe1048c63ab0
> > Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe1048c63ab0
> > --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800fd2eba, rsp = 
> > 0x7fffe468, rbp = 0x7fffe4b0 -
> >
> > Details @ https://people.freebsd.org/~pho/stress/log/bogus_refcnt.txt
> >
> 
> FYI:
> https://reviews.freebsd.org/D4605
> 
> Might be related.
> 
> --HPS

No difference with this patch (- netinet6/nd6.c).

BTW The problem is really easy to reproduce: init 1 followed by
"exit" in the single-user shell.

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


Re: panic: bogus refcnt 0 on lle 0xfffff80121a13a00

2016-07-12 Thread Michael Zhilin
Hi,

I have same issue everyday on my laptop. It happens randomly and I suppose
due to network issues.
I want to test D4507. I've tried to apply patch, it's successful except one
chunk:

|Index: sys/netinet6/nd6.c
|===
|--- sys/netinet6/nd6.c
|+++ sys/netinet6/nd6.c
--
Patching file sys/netinet6/nd6.c using Plan A...
Hunk #1 succeeded at 520 (offset 31 lines).
Hunk #2 failed at 739.
Hunk #3 succeeded at 1357 with fuzz 1 (offset 19 lines).
Hunk #4 succeeded at 1446 with fuzz 2 (offset 32 lines).
1 out of 4 hunks failed--saving rejects to sys/netinet6/nd6.c.rej
done

Hans,
Could you please check patch?

Thanks!


On Tue, Jul 12, 2016 at 11:55 AM, Hans Petter Selasky <h...@selasky.org>
wrote:

> On 07/12/16 10:37, Peter Holm wrote:
>
>> Exiting from single-user mode triggers this:
>>
>> ifa_maintain_loopback_route: deletion failed for interface igb0: 3
>> panic: bogus refcnt 0 on lle 0xf80121a13a00
>> cpuid = 9
>> KDB: stack backtrace:
>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
>> 0xfe1048c63470
>> vpanic() at vpanic+0x182/frame 0xfe1048c634f0
>> kassert_panic() at kassert_panic+0x126/frame 0xfe1048c63560
>> llentry_free() at llentry_free+0x136/frame 0xfe1048c63590
>> in_lltable_free_entry() at in_lltable_free_entry+0xb0/frame
>> 0xfe1048c635c0
>> htable_prefix_free() at htable_prefix_free+0xce/frame 0xfe1048c63620
>> lltable_prefix_free() at lltable_prefix_free+0x5d/frame 0xfe1048c63660
>> in_scrubprefix() at in_scrubprefix+0x290/frame 0xfe1048c63700
>> in_difaddr_ioctl() at in_difaddr_ioctl+0x285/frame 0xfe1048c63750
>> in_control() at in_control+0x96/frame 0xfe1048c637d0
>> ifioctl() at ifioctl+0xda1/frame 0xfe1048c63860
>> kern_ioctl() at kern_ioctl+0x246/frame 0xfe1048c638c0
>> sys_ioctl() at sys_ioctl+0x171/frame 0xfe1048c639a0
>> amd64_syscall() at amd64_syscall+0x2f6/frame 0xfe1048c63ab0
>> Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe1048c63ab0
>> --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800fd2eba, rsp =
>> 0x7fffe468, rbp = 0x7fffe4b0 -
>>
>> Details @ https://people.freebsd.org/~pho/stress/log/bogus_refcnt.txt
>>
>>
> FYI:
> https://reviews.freebsd.org/D4605
>
> Might be related.
>
> --HPS
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: panic: bogus refcnt 0 on lle 0xfffff80121a13a00

2016-07-12 Thread Hans Petter Selasky

On 07/12/16 10:37, Peter Holm wrote:

Exiting from single-user mode triggers this:

ifa_maintain_loopback_route: deletion failed for interface igb0: 3
panic: bogus refcnt 0 on lle 0xf80121a13a00
cpuid = 9
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe1048c63470
vpanic() at vpanic+0x182/frame 0xfe1048c634f0
kassert_panic() at kassert_panic+0x126/frame 0xfe1048c63560
llentry_free() at llentry_free+0x136/frame 0xfe1048c63590
in_lltable_free_entry() at in_lltable_free_entry+0xb0/frame 0xfe1048c635c0
htable_prefix_free() at htable_prefix_free+0xce/frame 0xfe1048c63620
lltable_prefix_free() at lltable_prefix_free+0x5d/frame 0xfe1048c63660
in_scrubprefix() at in_scrubprefix+0x290/frame 0xfe1048c63700
in_difaddr_ioctl() at in_difaddr_ioctl+0x285/frame 0xfe1048c63750
in_control() at in_control+0x96/frame 0xfe1048c637d0
ifioctl() at ifioctl+0xda1/frame 0xfe1048c63860
kern_ioctl() at kern_ioctl+0x246/frame 0xfe1048c638c0
sys_ioctl() at sys_ioctl+0x171/frame 0xfe1048c639a0
amd64_syscall() at amd64_syscall+0x2f6/frame 0xfe1048c63ab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe1048c63ab0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800fd2eba, rsp = 
0x7fffe468, rbp = 0x7fffe4b0 -

Details @ https://people.freebsd.org/~pho/stress/log/bogus_refcnt.txt



FYI:
https://reviews.freebsd.org/D4605

Might be related.

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


panic: bogus refcnt 0 on lle 0xfffff80121a13a00

2016-07-12 Thread Peter Holm
Exiting from single-user mode triggers this:

ifa_maintain_loopback_route: deletion failed for interface igb0: 3
panic: bogus refcnt 0 on lle 0xf80121a13a00
cpuid = 9
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe1048c63470
vpanic() at vpanic+0x182/frame 0xfe1048c634f0
kassert_panic() at kassert_panic+0x126/frame 0xfe1048c63560
llentry_free() at llentry_free+0x136/frame 0xfe1048c63590
in_lltable_free_entry() at in_lltable_free_entry+0xb0/frame 0xfe1048c635c0
htable_prefix_free() at htable_prefix_free+0xce/frame 0xfe1048c63620
lltable_prefix_free() at lltable_prefix_free+0x5d/frame 0xfe1048c63660
in_scrubprefix() at in_scrubprefix+0x290/frame 0xfe1048c63700
in_difaddr_ioctl() at in_difaddr_ioctl+0x285/frame 0xfe1048c63750
in_control() at in_control+0x96/frame 0xfe1048c637d0
ifioctl() at ifioctl+0xda1/frame 0xfe1048c63860
kern_ioctl() at kern_ioctl+0x246/frame 0xfe1048c638c0
sys_ioctl() at sys_ioctl+0x171/frame 0xfe1048c639a0
amd64_syscall() at amd64_syscall+0x2f6/frame 0xfe1048c63ab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe1048c63ab0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800fd2eba, rsp = 
0x7fffe468, rbp = 0x7fffe4b0 -

Details @ https://people.freebsd.org/~pho/stress/log/bogus_refcnt.txt

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