Re: refcnt 0 on LLE at boot....

2016-07-14 Thread Matthew Macy



  On Thu, 07 Jul 2016 06:36:19 -0700 Larry Rosenman  wrote 
 
 > Thanks for that.  I've added myself to the cc list, and a comment about 
 > having 2 vmcore's.
 > 
This was introduced by  302350.  It broke the return value of 
callout_{stop,drain}. returning 1 even if the callout system did not hold a 
reference. That in turn broke the following code in lltable_free:

LIST_FOREACH_SAFE(lle, , lle_chain, next) {
if (callout_stop(>lle_timer) > 0)
LLE_REMREF(lle);
llentry_free(lle);
}


 > 
 > On 2016-07-07 08:28, Edward Tomasz Napierała wrote:
 > > FWIW, I'm seeing this too.  I've filed a PR:
 > > 
 > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210884
 > > 
 > > On 0707T0813, Larry Rosenman wrote:
 > >> and now it's been up for 13+ hours.  I do have both VMCORE's from the 
 > >> 2
 > >> crashes.
 > >> 
 > >> 
 > >> 
 > >> On 2016-07-06 18:22, Larry Rosenman wrote:
 > >> > Got a similar crash a few minutes later.
 > >> >
 > >> >
 > >> > On 2016-07-06 18:17, Larry Rosenman wrote:
 > >> >> First boot, and I got the following panic.  2nd boot ran just fine.
 > >> >>
 > >> >>
 > >> >> borg.lerctr.org dumped core - see /var/crash/vmcore.0
 > >> >>
 > >> >> Wed Jul  6 18:13:34 CDT 2016
 > >> >>
 > >> >> FreeBSD borg.lerctr.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #5 r302379:
 > >> >> Wed Jul  6 16:59:11 CDT 2016
 > >> >> r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64
 > >> >>
 > >> >> panic: bogus refcnt 0 on lle 0xf800aa941200
 > >> >>
 > >> >> 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"...
 > >> >>
 > >> >> Unread portion of the kernel message buffer:
 > >> >> Copyright (c) 1992-2016 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 11.0-ALPHA6 #5 r302379: Wed Jul  6 16:59:11 CDT 2016
 > >> >> r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
 > >> >> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on
 > >> >> LLVM 3.8.0)
 > >> >> can't re-use a leaf (ixl_rx_miss_bufs)!
 > >> >> MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
 > >> >> MEMGUARD map base: 0xfe40
 > >> >> MEMGUARD map size: 128604256 KBytes
 > >> >> VT(vga): resolution 640x480
 > >> >> CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2327.55-MHz
 > >> >> K8-class CPU)
 > >> >>   Origin="GenuineIntel"  Id=0x10676  Family=0x6  Model=0x17
 > >> >> Stepping=6
 > >> >>
 > >> >> Features=0xbfebfbff
 > >> >>
 > >> >> Features2=0xce3bd
 > >> >>   AMD Features=0x20100800
 > >> >>   AMD Features2=0x1
 > >> >>   VT-x: HLT,PAUSE
 > >> >>   TSC: P-state invariant, performance statistics
 > >> >> real memory  = 68719476736 (65536 MB)
 > >> >> avail memory = 65382842368 (62353 MB)
 > >> >> Event timer "LAPIC" quality 400
 > >> >> ACPI APIC Table: 
 > >> >> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 > >> >> FreeBSD/SMP: 2 package(s) x 4 core(s)
 > >> >> random: unblocking device.
 > >> >> ioapic0  irqs 0-23 on motherboard
 > >> >> ioapic1  irqs 24-47 on motherboard
 > >> >> random: entropy device external interface
 > >> >> netmap: loaded module
 > >> >> module_register_init: MOD_LOAD (vesa, 0x80f2cb40, 0) error 19
 > >> >> kbd1 at kbdmux0
 > >> >> vtvga0:  on motherboard
 > >> >> cryptosoft0:  on motherboard
 > >> >> acpi0:  on motherboard
 > >> >> acpi0: Power Button (fixed)
 > >> >> unknown: I/O range not supported
 > >> >> cpu0:  on acpi0
 > >> >> cpu1:  on acpi0
 > >> >> cpu2:  on acpi0
 > >> >> cpu3:  on acpi0
 > >> >> cpu4:  on acpi0
 > >> >> cpu5:  on acpi0
 > >> >> cpu6:  on acpi0
 > >> >> cpu7:  on acpi0
 > >> >> hpet0:  iomem 0xfed0-0xfed003ff irq
 > >> >> 0,8 on acpi0
 > >> >> Timecounter "HPET" frequency 14318180 Hz quality 950
 > >> >> Event timer "HPET" frequency 14318180 Hz quality 350
 > >> >> Event timer "HPET1" frequency 14318180 Hz quality 340
 > >> >> Event timer "HPET2" frequency 14318180 Hz quality 340
 > >> >> atrtc0:  port 0x70-0x71 on acpi0
 > >> >> Event timer "RTC" frequency 32768 Hz quality 0
 > >> >> attimer0:  port 0x40-0x43,0x50-0x53 on acpi0
 > >> >> Timecounter "i8254" frequency 1193182 Hz quality 0
 > 

Re: refcnt 0 on LLE at boot....

2016-07-07 Thread Larry Rosenman
Thanks for that.  I've added myself to the cc list, and a comment about 
having 2 vmcore's.



On 2016-07-07 08:28, Edward Tomasz Napierała wrote:

FWIW, I'm seeing this too.  I've filed a PR:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210884

On 0707T0813, Larry Rosenman wrote:
and now it's been up for 13+ hours.  I do have both VMCORE's from the 
2

crashes.



On 2016-07-06 18:22, Larry Rosenman wrote:
> Got a similar crash a few minutes later.
>
>
> On 2016-07-06 18:17, Larry Rosenman wrote:
>> First boot, and I got the following panic.  2nd boot ran just fine.
>>
>>
>> borg.lerctr.org dumped core - see /var/crash/vmcore.0
>>
>> Wed Jul  6 18:13:34 CDT 2016
>>
>> FreeBSD borg.lerctr.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #5 r302379:
>> Wed Jul  6 16:59:11 CDT 2016
>> r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64
>>
>> panic: bogus refcnt 0 on lle 0xf800aa941200
>>
>> 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"...
>>
>> Unread portion of the kernel message buffer:
>> Copyright (c) 1992-2016 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 11.0-ALPHA6 #5 r302379: Wed Jul  6 16:59:11 CDT 2016
>> r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
>> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on
>> LLVM 3.8.0)
>> can't re-use a leaf (ixl_rx_miss_bufs)!
>> MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
>>MEMGUARD map base: 0xfe40
>>MEMGUARD map size: 128604256 KBytes
>> VT(vga): resolution 640x480
>> CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2327.55-MHz
>> K8-class CPU)
>>   Origin="GenuineIntel"  Id=0x10676  Family=0x6  Model=0x17
>> Stepping=6
>>
>> 
Features=0xbfebfbff
>>
>> 
Features2=0xce3bd
>>   AMD Features=0x20100800
>>   AMD Features2=0x1
>>   VT-x: HLT,PAUSE
>>   TSC: P-state invariant, performance statistics
>> real memory  = 68719476736 (65536 MB)
>> avail memory = 65382842368 (62353 MB)
>> Event timer "LAPIC" quality 400
>> ACPI APIC Table: 
>> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
>> FreeBSD/SMP: 2 package(s) x 4 core(s)
>> random: unblocking device.
>> ioapic0  irqs 0-23 on motherboard
>> ioapic1  irqs 24-47 on motherboard
>> random: entropy device external interface
>> netmap: loaded module
>> module_register_init: MOD_LOAD (vesa, 0x80f2cb40, 0) error 19
>> kbd1 at kbdmux0
>> vtvga0:  on motherboard
>> cryptosoft0:  on motherboard
>> acpi0:  on motherboard
>> acpi0: Power Button (fixed)
>> unknown: I/O range not supported
>> cpu0:  on acpi0
>> cpu1:  on acpi0
>> cpu2:  on acpi0
>> cpu3:  on acpi0
>> cpu4:  on acpi0
>> cpu5:  on acpi0
>> cpu6:  on acpi0
>> cpu7:  on acpi0
>> hpet0:  iomem 0xfed0-0xfed003ff irq
>> 0,8 on acpi0
>> Timecounter "HPET" frequency 14318180 Hz quality 950
>> Event timer "HPET" frequency 14318180 Hz quality 350
>> Event timer "HPET1" frequency 14318180 Hz quality 340
>> Event timer "HPET2" frequency 14318180 Hz quality 340
>> atrtc0:  port 0x70-0x71 on acpi0
>> Event timer "RTC" frequency 32768 Hz quality 0
>> attimer0:  port 0x40-0x43,0x50-0x53 on acpi0
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> Event timer "i8254" frequency 1193182 Hz quality 100
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
>> pcib0:  port 0xcf8-0xcff on acpi0
>> pci0:  on pcib0
>> pcib1:  at device 2.0 on pci0
>> pci1:  on pcib1
>> pcib2:  irq 16 at device 0.0 on pci1
>> pci2:  on pcib2
>> pcib3:  irq 16 at device 0.0 on pci2
>> pci3:  on pcib3
>> pcib4:  at device 0.0 on pci3
>> pci4:  on pcib4
>> pcib5:  at device 0.2 on pci3
>> pci5:  on pcib5
>> pcib6:  irq 18 at device 2.0 on pci2
>> pci6:  on pcib6
>> em0:  port 0x2000-0x201f
>> mem 0xd922-0xd923,0xd920-0xd921 irq 18 at device 0.0
>> on pci6
>> em0: Using an MSI interrupt
>> em0: Ethernet address: 00:30:48:f2:29:9c
>> em0: netmap queues/slots: TX 1/1024, RX 1/1024
>> em1:  port 0x2020-0x203f
>> mem 0xd926-0xd927,0xd924-0xd925 irq 19 at device 0.1
>> on pci6
>> em1: Using an MSI interrupt
>> em1: Ethernet address: 00:30:48:f2:29:9d
>> em1: 

Re: refcnt 0 on LLE at boot....

2016-07-07 Thread Edward Tomasz Napierała
FWIW, I'm seeing this too.  I've filed a PR:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210884

On 0707T0813, Larry Rosenman wrote:
> and now it's been up for 13+ hours.  I do have both VMCORE's from the 2 
> crashes.
> 
> 
> 
> On 2016-07-06 18:22, Larry Rosenman wrote:
> > Got a similar crash a few minutes later.
> > 
> > 
> > On 2016-07-06 18:17, Larry Rosenman wrote:
> >> First boot, and I got the following panic.  2nd boot ran just fine.
> >> 
> >> 
> >> borg.lerctr.org dumped core - see /var/crash/vmcore.0
> >> 
> >> Wed Jul  6 18:13:34 CDT 2016
> >> 
> >> FreeBSD borg.lerctr.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #5 r302379:
> >> Wed Jul  6 16:59:11 CDT 2016
> >> r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64
> >> 
> >> panic: bogus refcnt 0 on lle 0xf800aa941200
> >> 
> >> 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"...
> >> 
> >> Unread portion of the kernel message buffer:
> >> Copyright (c) 1992-2016 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 11.0-ALPHA6 #5 r302379: Wed Jul  6 16:59:11 CDT 2016
> >> r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
> >> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on
> >> LLVM 3.8.0)
> >> can't re-use a leaf (ixl_rx_miss_bufs)!
> >> MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
> >>MEMGUARD map base: 0xfe40
> >>MEMGUARD map size: 128604256 KBytes
> >> VT(vga): resolution 640x480
> >> CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2327.55-MHz 
> >> K8-class CPU)
> >>   Origin="GenuineIntel"  Id=0x10676  Family=0x6  Model=0x17  
> >> Stepping=6
> >> 
> >> Features=0xbfebfbff
> >> 
> >> Features2=0xce3bd
> >>   AMD Features=0x20100800
> >>   AMD Features2=0x1
> >>   VT-x: HLT,PAUSE
> >>   TSC: P-state invariant, performance statistics
> >> real memory  = 68719476736 (65536 MB)
> >> avail memory = 65382842368 (62353 MB)
> >> Event timer "LAPIC" quality 400
> >> ACPI APIC Table: 
> >> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
> >> FreeBSD/SMP: 2 package(s) x 4 core(s)
> >> random: unblocking device.
> >> ioapic0  irqs 0-23 on motherboard
> >> ioapic1  irqs 24-47 on motherboard
> >> random: entropy device external interface
> >> netmap: loaded module
> >> module_register_init: MOD_LOAD (vesa, 0x80f2cb40, 0) error 19
> >> kbd1 at kbdmux0
> >> vtvga0:  on motherboard
> >> cryptosoft0:  on motherboard
> >> acpi0:  on motherboard
> >> acpi0: Power Button (fixed)
> >> unknown: I/O range not supported
> >> cpu0:  on acpi0
> >> cpu1:  on acpi0
> >> cpu2:  on acpi0
> >> cpu3:  on acpi0
> >> cpu4:  on acpi0
> >> cpu5:  on acpi0
> >> cpu6:  on acpi0
> >> cpu7:  on acpi0
> >> hpet0:  iomem 0xfed0-0xfed003ff irq 
> >> 0,8 on acpi0
> >> Timecounter "HPET" frequency 14318180 Hz quality 950
> >> Event timer "HPET" frequency 14318180 Hz quality 350
> >> Event timer "HPET1" frequency 14318180 Hz quality 340
> >> Event timer "HPET2" frequency 14318180 Hz quality 340
> >> atrtc0:  port 0x70-0x71 on acpi0
> >> Event timer "RTC" frequency 32768 Hz quality 0
> >> attimer0:  port 0x40-0x43,0x50-0x53 on acpi0
> >> Timecounter "i8254" frequency 1193182 Hz quality 0
> >> Event timer "i8254" frequency 1193182 Hz quality 100
> >> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
> >> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> >> pcib0:  port 0xcf8-0xcff on acpi0
> >> pci0:  on pcib0
> >> pcib1:  at device 2.0 on pci0
> >> pci1:  on pcib1
> >> pcib2:  irq 16 at device 0.0 on pci1
> >> pci2:  on pcib2
> >> pcib3:  irq 16 at device 0.0 on pci2
> >> pci3:  on pcib3
> >> pcib4:  at device 0.0 on pci3
> >> pci4:  on pcib4
> >> pcib5:  at device 0.2 on pci3
> >> pci5:  on pcib5
> >> pcib6:  irq 18 at device 2.0 on pci2
> >> pci6:  on pcib6
> >> em0:  port 0x2000-0x201f
> >> mem 0xd922-0xd923,0xd920-0xd921 irq 18 at device 0.0
> >> on pci6
> >> em0: Using an MSI interrupt
> >> em0: Ethernet address: 00:30:48:f2:29:9c
> >> em0: netmap queues/slots: TX 1/1024, RX 1/1024
> >> em1:  port 0x2020-0x203f
> >> mem 0xd926-0xd927,0xd924-0xd925 irq 19 at device 

Re: refcnt 0 on LLE at boot....

2016-07-07 Thread Larry Rosenman
and now it's been up for 13+ hours.  I do have both VMCORE's from the 2 
crashes.




On 2016-07-06 18:22, Larry Rosenman wrote:

Got a similar crash a few minutes later.


On 2016-07-06 18:17, Larry Rosenman wrote:

First boot, and I got the following panic.  2nd boot ran just fine.


borg.lerctr.org dumped core - see /var/crash/vmcore.0

Wed Jul  6 18:13:34 CDT 2016

FreeBSD borg.lerctr.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #5 r302379:
Wed Jul  6 16:59:11 CDT 2016
r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64

panic: bogus refcnt 0 on lle 0xf800aa941200

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"...

Unread portion of the kernel message buffer:
Copyright (c) 1992-2016 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 11.0-ALPHA6 #5 r302379: Wed Jul  6 16:59:11 CDT 2016
r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on
LLVM 3.8.0)
can't re-use a leaf (ixl_rx_miss_bufs)!
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
MEMGUARD map base: 0xfe40
MEMGUARD map size: 128604256 KBytes
VT(vga): resolution 640x480
CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2327.55-MHz 
K8-class CPU)
  Origin="GenuineIntel"  Id=0x10676  Family=0x6  Model=0x17  
Stepping=6


Features=0xbfebfbff

Features2=0xce3bd
  AMD Features=0x20100800
  AMD Features2=0x1
  VT-x: HLT,PAUSE
  TSC: P-state invariant, performance statistics
real memory  = 68719476736 (65536 MB)
avail memory = 65382842368 (62353 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
random: unblocking device.
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
random: entropy device external interface
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0x80f2cb40, 0) error 19
kbd1 at kbdmux0
vtvga0:  on motherboard
cryptosoft0:  on motherboard
acpi0:  on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
cpu6:  on acpi0
cpu7:  on acpi0
hpet0:  iomem 0xfed0-0xfed003ff irq 
0,8 on acpi0

Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 340
Event timer "HPET2" frequency 14318180 Hz quality 340
atrtc0:  port 0x70-0x71 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0:  port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 0.0 on pci1
pci2:  on pcib2
pcib3:  irq 16 at device 0.0 on pci2
pci3:  on pcib3
pcib4:  at device 0.0 on pci3
pci4:  on pcib4
pcib5:  at device 0.2 on pci3
pci5:  on pcib5
pcib6:  irq 18 at device 2.0 on pci2
pci6:  on pcib6
em0:  port 0x2000-0x201f
mem 0xd922-0xd923,0xd920-0xd921 irq 18 at device 0.0
on pci6
em0: Using an MSI interrupt
em0: Ethernet address: 00:30:48:f2:29:9c
em0: netmap queues/slots: TX 1/1024, RX 1/1024
em1:  port 0x2020-0x203f
mem 0xd926-0xd927,0xd924-0xd925 irq 19 at device 0.1
on pci6
em1: Using an MSI interrupt
em1: Ethernet address: 00:30:48:f2:29:9d
em1: netmap queues/slots: TX 1/1024, RX 1/1024
pcib7:  at device 0.3 on pci1
pci7:  on pcib7
pcib8:  at device 4.0 on pci0
pci8:  on pcib8
vgapci0:  port 0x3000-0x307f mem
0xd800-0xd8ff,0xc000-0xc7ff,0xc800-0xc9ff irq
36 at device 0.0 on pci8
hdac0:  mem 0xd900-0xd9003fff irq 37
at device 0.1 on pci8
pcib9:  at device 6.0 on pci0
pci9:  on pcib9
pcib10:  irq 17 at device 28.0 on pci0
pcib10: [GIANT-LOCKED]
pci10:  on pcib10
pcib11:  irq 32 at device 0.0 on pci10
pci11:  on pcib11
pcm0:  port 0x4080-0x409f,0x4000-0x407f irq
32 at device 0.0 on pci11
pcm0: system configuration
  SubVendorID: 

Re: refcnt 0 on LLE at boot....

2016-07-06 Thread Larry Rosenman

Got a similar crash a few minutes later.


On 2016-07-06 18:17, Larry Rosenman wrote:

First boot, and I got the following panic.  2nd boot ran just fine.


borg.lerctr.org dumped core - see /var/crash/vmcore.0

Wed Jul  6 18:13:34 CDT 2016

FreeBSD borg.lerctr.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #5 r302379:
Wed Jul  6 16:59:11 CDT 2016
r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64

panic: bogus refcnt 0 on lle 0xf800aa941200

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"...

Unread portion of the kernel message buffer:
Copyright (c) 1992-2016 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 11.0-ALPHA6 #5 r302379: Wed Jul  6 16:59:11 CDT 2016
r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on
LLVM 3.8.0)
can't re-use a leaf (ixl_rx_miss_bufs)!
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
MEMGUARD map base: 0xfe40
MEMGUARD map size: 128604256 KBytes
VT(vga): resolution 640x480
CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2327.55-MHz 
K8-class CPU)

  Origin="GenuineIntel"  Id=0x10676  Family=0x6  Model=0x17  Stepping=6

Features=0xbfebfbff

Features2=0xce3bd
  AMD Features=0x20100800
  AMD Features2=0x1
  VT-x: HLT,PAUSE
  TSC: P-state invariant, performance statistics
real memory  = 68719476736 (65536 MB)
avail memory = 65382842368 (62353 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
random: unblocking device.
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
random: entropy device external interface
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0x80f2cb40, 0) error 19
kbd1 at kbdmux0
vtvga0:  on motherboard
cryptosoft0:  on motherboard
acpi0:  on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
cpu6:  on acpi0
cpu7:  on acpi0
hpet0:  iomem 0xfed0-0xfed003ff irq 0,8 
on acpi0

Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 340
Event timer "HPET2" frequency 14318180 Hz quality 340
atrtc0:  port 0x70-0x71 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0:  port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 0.0 on pci1
pci2:  on pcib2
pcib3:  irq 16 at device 0.0 on pci2
pci3:  on pcib3
pcib4:  at device 0.0 on pci3
pci4:  on pcib4
pcib5:  at device 0.2 on pci3
pci5:  on pcib5
pcib6:  irq 18 at device 2.0 on pci2
pci6:  on pcib6
em0:  port 0x2000-0x201f
mem 0xd922-0xd923,0xd920-0xd921 irq 18 at device 0.0
on pci6
em0: Using an MSI interrupt
em0: Ethernet address: 00:30:48:f2:29:9c
em0: netmap queues/slots: TX 1/1024, RX 1/1024
em1:  port 0x2020-0x203f
mem 0xd926-0xd927,0xd924-0xd925 irq 19 at device 0.1
on pci6
em1: Using an MSI interrupt
em1: Ethernet address: 00:30:48:f2:29:9d
em1: netmap queues/slots: TX 1/1024, RX 1/1024
pcib7:  at device 0.3 on pci1
pci7:  on pcib7
pcib8:  at device 4.0 on pci0
pci8:  on pcib8
vgapci0:  port 0x3000-0x307f mem
0xd800-0xd8ff,0xc000-0xc7ff,0xc800-0xc9ff irq
36 at device 0.0 on pci8
hdac0:  mem 0xd900-0xd9003fff irq 37
at device 0.1 on pci8
pcib9:  at device 6.0 on pci0
pci9:  on pcib9
pcib10:  irq 17 at device 28.0 on pci0
pcib10: [GIANT-LOCKED]
pci10:  on pcib10
pcib11:  irq 32 at device 0.0 on pci10
pci11:  on pcib11
pcm0:  port 0x4080-0x409f,0x4000-0x407f irq
32 at device 0.0 on pci11
pcm0: system configuration
  SubVendorID: 0x1412, SubDeviceID: 0x2403
  XIN2 Clock Source: 24.576MHz(96kHz*256)
  MPU-401 UART(s) #: not implemented
  ADC #: 1 and SPDIF 

refcnt 0 on LLE at boot....

2016-07-06 Thread Larry Rosenman
First boot, and I got the following panic.  2nd boot ran just fine. 


borg.lerctr.org dumped core - see /var/crash/vmcore.0

Wed Jul  6 18:13:34 CDT 2016

FreeBSD borg.lerctr.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #5 r302379: Wed Jul  6 
16:59:11 CDT 2016 r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64

panic: bogus refcnt 0 on lle 0xf800aa941200

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"...

Unread portion of the kernel message buffer:
Copyright (c) 1992-2016 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 11.0-ALPHA6 #5 r302379: Wed Jul  6 16:59:11 CDT 2016
r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 
3.8.0)
can't re-use a leaf (ixl_rx_miss_bufs)!
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
MEMGUARD map base: 0xfe40
MEMGUARD map size: 128604256 KBytes
VT(vga): resolution 640x480
CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2327.55-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x10676  Family=0x6  Model=0x17  Stepping=6
  
Features=0xbfebfbff
  
Features2=0xce3bd
  AMD Features=0x20100800
  AMD Features2=0x1
  VT-x: HLT,PAUSE
  TSC: P-state invariant, performance statistics
real memory  = 68719476736 (65536 MB)
avail memory = 65382842368 (62353 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
random: unblocking device.
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
random: entropy device external interface
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0x80f2cb40, 0) error 19
kbd1 at kbdmux0
vtvga0:  on motherboard
cryptosoft0:  on motherboard
acpi0:  on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
cpu6:  on acpi0
cpu7:  on acpi0
hpet0:  iomem 0xfed0-0xfed003ff irq 0,8 on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 340
Event timer "HPET2" frequency 14318180 Hz quality 340
atrtc0:  port 0x70-0x71 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0:  port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 0.0 on pci1
pci2:  on pcib2
pcib3:  irq 16 at device 0.0 on pci2
pci3:  on pcib3
pcib4:  at device 0.0 on pci3
pci4:  on pcib4
pcib5:  at device 0.2 on pci3
pci5:  on pcib5
pcib6:  irq 18 at device 2.0 on pci2
pci6:  on pcib6
em0:  port 0x2000-0x201f mem 
0xd922-0xd923,0xd920-0xd921 irq 18 at device 0.0 on pci6
em0: Using an MSI interrupt
em0: Ethernet address: 00:30:48:f2:29:9c
em0: netmap queues/slots: TX 1/1024, RX 1/1024
em1:  port 0x2020-0x203f mem 
0xd926-0xd927,0xd924-0xd925 irq 19 at device 0.1 on pci6
em1: Using an MSI interrupt
em1: Ethernet address: 00:30:48:f2:29:9d
em1: netmap queues/slots: TX 1/1024, RX 1/1024
pcib7:  at device 0.3 on pci1
pci7:  on pcib7
pcib8:  at device 4.0 on pci0
pci8:  on pcib8
vgapci0:  port 0x3000-0x307f mem 
0xd800-0xd8ff,0xc000-0xc7ff,0xc800-0xc9ff irq 36 at 
device 0.0 on pci8
hdac0:  mem 0xd900-0xd9003fff irq 37 at device 
0.1 on pci8
pcib9:  at device 6.0 on pci0
pci9:  on pcib9
pcib10:  irq 17 at device 28.0 on pci0
pcib10: [GIANT-LOCKED]
pci10:  on pcib10
pcib11:  irq 32 at device 0.0 on pci10
pci11:  on pcib11
pcm0:  port 0x4080-0x409f,0x4000-0x407f irq 32 at 
device 0.0 on pci11
pcm0: system configuration
  SubVendorID: 0x1412, SubDeviceID: 0x2403
  XIN2 Clock Source: 24.576MHz(96kHz*256)
  MPU-401 UART(s) #: not implemented
  ADC #: 1 and SPDIF receiver connected
  DAC #: 4
  Multi-track converter type: AC'97(SDATA_OUT:packed)