[Bug 205262] centos 6.7 x86_64 panic on bhyve

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205262

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|freebsd-virtualization@Free
   ||BSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205270] [zfs] Panic at shutdown in 11.0-CURRENT

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205270

Bug ID: 205270
   Summary: [zfs] Panic at shutdown in 11.0-CURRENT
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: 21474...@gmail.com

Sometimes I have the panic in the photo at shutdown:

http://imgur.com/mXrgFLp

Unfortunately this happens randomly.

After a bit of investigation I have understood the panic cause: is an invalid
offset.

The original function in  /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c
is:

boolean_t
txg_list_member(txg_list_t *tl, void *p, uint64_t txg)
{
int t = txg & TXG_MASK;
txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset);

return (tn->tn_member[t] != 0);
}

I have modified the function to print an uncommon or invalid tl->tl_offset :

boolean_t
txg_list_member(txg_list_t *tl, void *p, uint64_t txg)
{
size_t ofs = tl->tl_offset;
{
static int cnt=0;
if ( (cnt++ % 1000) == 0
|| (ofs != 88 && ofs != 984) )
printf(" %d) tl->tl_offset %zu\n", cnt, ofs);
}

txg_node_t *tn = (txg_node_t *)((char *)p + ofs);

return (tn->tn_member[txg & TXG_MASK] != 0);
}

I have received the panic again with an invalid  tl->tl_offset of
16045693110842147038.
In /val/log/messages I have:

Dec  8 10:32:42 ativ kernel: Waiting (max 60 seconds) for system process
`vnlru' to stop...done
Dec  8 10:32:42 ativ kernel: Waiting (max 60 seconds) for system process
`bufdaemon' to stop...done
Dec  8 10:32:42 ativ kernel: Waiting (max 60 seconds) for system process
`syncer' to stop...
Dec  8 10:32:42 ativ kernel: Syncing disks, vnodes remaining...0 0 0 done
Dec  8 10:32:42 ativ kernel: All buffers synced.
Dec  8 10:32:42 ativ kernel:  9692) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9693) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9694) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9695) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9708) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9709) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9710) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9711) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9720) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9721) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9722) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel:  9723) tl->tl_offset 384
Dec  8 10:32:42 ativ kernel: Uptime: 1h57m42s
Dec  8 10:32:42 ativ kernel:  9736) tl->tl_offset 16045693110842147038
Dec  8 10:32:42 ativ kernel:
Dec  8 10:32:42 ativ kernel:
Dec  8 10:32:42 ativ kernel: Fatal trap 9: general protection fault while in
kernel mode
Dec  8 10:32:42 ativ kernel: cpuid = 2; apic id = 02
Dec  8 10:32:42 ativ kernel: instruction pointer= 0x20:0x8211b1cb
Dec  8 10:32:42 ativ kernel: stack pointer= 0x28:0xfe0119525990
Dec  8 10:32:42 ativ kernel: frame pointer= 0x28:0xfe01195259c0
Dec  8 10:32:42 ativ kernel: code segment= base 0x0, limit 0xf,
type 0x1b
Dec  8 10:32:42 ativ kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Dec  8 10:32:42 ativ kernel: processor eflags= interrupt enabled, resume,
IOPL = 0
Dec  8 10:32:42 ativ kernel: current process= 0 (dbu_evict)

Probably the panic is caused by some memory already freed, the hex  value of
16045693110842147038 is 0xdeadc0dedeadc0de.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205263] Fix for netwait boot order issues and other bugs

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205263

Ian Lepore  changed:

   What|Removed |Added

 Status|New |In Progress
  Flags|mfc-stable10?   |mfc-stable10+
   Severity|Affects Only Me |Affects Some People

--- Comment #5 from Ian Lepore  ---
I agree that this change is shaping up nicely to help folks who use usb-based
network interfaces that rely on devd to start up.

I think any potential controversy over making the ip list optional might
evaporate if the logic were changed to look at both the ip and the interface
list and if they're both empty say something like "Warning: No interfaces or IP
addresses listed, nothing to wait for".  If either list is non-empty, just
quietly do whatever work was requested.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 205263] Fix for netwait boot order issues and other bugs

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205263

Ian Lepore  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|i...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 202200] strip: moving loadable section .bss, is this intentional

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202200

Koop Mast  changed:

   What|Removed |Added

 Resolution|--- |Overcome By Events
 Status|New |Closed

--- Comment #2 from Koop Mast  ---
Since webkit2-gtk3 has been fixed to properly build with cmake framework, I
haven't seen the problem anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 198062] FreeBSD 10.1-RELEASE kernel freezes on 'pci0: on pcib0'

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198062

--- Comment #8 from Joseph King  ---
As request by John Baldwin... comconsole captures of 9.3-64bit and 10.2-64bit.
-- is the break between the captures.

FreeBSD 9.3-64bit boot captured from com1

OK boot
/boot/kernel/kernel text=0xf0bdb0 data=0x13d720+0x123388
syms=[0x8+0x149f88+0x8+0x15abf1]
Booting...
Copyright (c) 1992-2014 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.3-RELEASE #0 r268512: Thu Jul 10 23:44:39 UTC 2014
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: Dual-Core AMD Opteron(tm) Processor 2220 (2793.06-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40f13  Family = 0xf  Model = 0x41  Stepping =
3
 
Features=0x178bfbff
  Features2=0x2001
  AMD Features=0xea500800
  AMD Features2=0x1f
real memory  = 4294967296 (4096 MB)
avail memory = 4082606080 (3893 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <062309 APIC1333>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 2 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-15 on motherboard
ioapic1  irqs 16-31 on motherboard
ioapic2  irqs 32-47 on motherboard
kbd1 at kbdmux0
acpi0: <062309 XSDT1333> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bff0 (3) failed
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
attimer0:  port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0:  port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0:  iomem 0xfed0-0xfed03fff on acpi0
hpet0: HPET never increments, disabling
device_attach: hpet0 attach returned 6
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 13.0 on pci1
pci2:  on pcib2
atapci0:  port
0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb41f mem
0xff4fe000-0xff4f irq 11 at device 14.0 on pci1
ata2:  at channel 0 on atapci0
ata3:  at channel 1 on atapci0
ata4:  at channel 2 on atapci0
ata5:  at channel 3 on atapci0
atapci1:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.1 on pci0
ata0:  at channel 0 on atapci1
ata1:  at channel 1 on atapci1
isab0:  at device 2.2 on pci0
isa0:  on isab0
ohci0:  port 0xd400-0xd4ff mem
0xff6ec000-0xff6ecfff irq 10 at device 3.0 on pci0
usbus0 on ohci0
ohci1:  port 0xd800-0xd8ff mem
0xff6ed000-0xff6edfff irq 10 at device 3.1 on pci0
usbus1 on ohci1
ehci0:  port 0xe800-0xe8ff mem
0xff6ee000-0xff6eefff irq 10 at device 3.2 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
fxp0:  port 0xec00-0xec3f mem
0xff6eb000-0xff6ebfff,0xff6a-0xff6b irq 16 at device 4.0 on pci0
miibus0:  on fxp0
inphy0:  PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp0: Ethernet address: 00:e0:81:4d:5e:c8
pcib3:  at device 6.0 on pci0
pci3:  on pcib3
pcib4:  at device 7.0 on pci0
pci4:  on pcib4
bge0:  mem
0xff5d-0xff5d,0xff5c-0xff5c irq 26 at device 4.0 on pci4
bge0: CHIP ID 0x8100; ASIC REV 0x08; CHIP REV 0x81; PCI-X 133 MHz
miibus1:  on bge0
brgphy0:  PHY 1 on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Ethernet address: 00:e0:81:4d:21:ec
bge1:  mem
0xff5f-0xff5f,0xff5e-0xff5e irq 27 at device 4.1 on pci4
bge1: CHIP ID 0x8100; ASIC REV 0x08; CHIP REV 0x81; PCI-X 133 MHz
miibus2:  on bge1
brgphy1:  PHY 1 on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge1: Ethernet address: 00:e0:81:4d:21:ed
pcib5:  at device 8.0 on pci0
pci5:  on pcib5
pcib6:  at device 9.0 on pci0
pci6:  on pcib6
pcib7:  at device 10.0 on pci0
pci7:  on pcib7
pcib8:  at device 11.0 on pci0
pci8:  on pcib8
vgapci0:  port 0xe000-0xe0ff mem
0xd800-0xdfff,0xff6f-0xff6f irq 17 at device 12.0 on pci0
vgapci0: Boot video device
acpi_button0:  on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
orm0:  at iomem 0xc-0xc8fff on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at at

[Bug 205270] [zfs] Panic at shutdown in 11.0-CURRENT

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205270

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|freebsd...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 191354] [tests] tools/regression/lib/libc/regex fails to link after xlocale changes done in 10.x+

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191354

--- Comment #4 from commit-h...@freebsd.org ---
A commit references this bug:

Author: ngie
Date: Sun Dec 13 06:33:52 UTC 2015
New revision: 292153
URL: https://svnweb.freebsd.org/changeset/base/292153

Log:
  Add -static to CFLAGS to unbreak the tests by using a libc.a with
  the xlocale private symbols exposed which aren't exposed publicly
  via the DSO

  PR: 191354
  MFC after: 1 week
  Sponsored by: EMC / Isilon Storage Division

Changes:
  head/lib/libc/regex/grot/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 191354] [tests] tools/regression/lib/libc/regex fails to link after xlocale changes done in 10.x+

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191354

NGie Cooper  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|n...@freebsd.org
   Severity|Affects Only Me |Affects Some People
  Flags||mfc-stable9?, mfc-stable10?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 178210] [build] [patch] make bsdinstall optional

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178210

NGie Cooper  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed

--- Comment #1 from NGie Cooper  ---
Done in r277677. Closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 140151] [patch] hexdump(1): Fix potential setlocale(3) failure in hexdump / od

2015-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=140151

NGie Cooper  changed:

   What|Removed |Added

 Status|In Progress |Closed
 Resolution|--- |FIXED
Summary|[patch] hexdump(1): Fix |[patch] hexdump(1): Fix
   |potential setlocale(3) in   |potential setlocale(3)
   |hexdump / od|failure in hexdump / od

--- Comment #4 from NGie Cooper  ---
Closing bug due to lack of interest.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"