[Bug 201371] panic: negative refcount after dhclient during boot

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201371

--- Comment #1 from Rink Springer r...@freebsd.org ---
Created attachment 158408
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158408action=edit
Kernel configuration file

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


[Bug 201371] panic: negative refcount after dhclient during boot

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201371

Bug ID: 201371
   Summary: panic: negative refcount after dhclient during boot
   Product: Base System
   Version: 11.0-CURRENT
  Hardware: mips
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: r...@freebsd.org

Created attachment 158407
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158407action=edit
Boot log

FreeBSD/mips on a RouterStation Pro panics shortly after reboot:

FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0 r285099: Sun Jul  5 12:31:47 CEST 2015
   
r...@greed.home.rink.nu:/home/rink/freebsd/obj/mips.mips/home/rink/freebsd/head/sys/FRINGE
mips
gcc version 4.2.1 20070831 patched [FreeBSD]
[...]
Starting devd.
Additional inet routing options: gateway=YES.
Starting dhclient.
DHCPREQUEST on arge0 to 255.255.255.255 port 67
panic: negative refcount 0x8087ec24
KDB: enter: panic
[ thread pid 11 tid 100027 ]
Stopped at  kdb_enter+0x4c: lui at,0x8066
db r
?
KDB: reentering
KDB: stack backtrace:
db_trace_thread+30 (?,?,?,?) ra cc72b5180018 sp 0 sz 0
db_trace_self+1c (?,?,?,?) ra cc72b5300018 sp 0 sz 0
80086f30+34 (?,?,?,?) ra cc72b54801a0 sp 0 sz 0
kdb_backtrace+44 (?,?,?,?) ra cc72b6e80018 sp 0 sz 0
kdb_reenter+3c (?,?,?,?) ra cc72b718 sp 0 sz 0
db_error+30 (?,?,?,?) ra cc72b7180018 sp 0 sz 0
db_run_cmd+28 (?,?,?,?) ra cc72b7300018 sp 0 sz 0
80084204+388 (?,?,?,?) ra cc72b74800a8 sp 0 sz 0
db_command_loop+70 (?,?,?,?) ra cc72b7f00018 sp 0 sz 0
80086dc8+f4 (?,?,?,?) ra cc72b80801a8 sp 0 sz 0
kdb_trap+110 (?,?,?,?) ra cc72b9b00030 sp 0 sz 0
trap+cfc (?,?,?,?) ra cc72b9e000c8 sp 0 sz 0
MipsKernGenException+134 (0,4,80560720,12f) ra cc72baa800c8 sp
10001 sz 1
kdb_enter+4c (?,?,?,?) ra cc72bb700018 sp 0 sz 0
vpanic+ec (?,?,?,?) ra cc72bb880020 sp 0 sz 0
kassert_panic+78 (?,8087ec24,80c7b470,0) ra cc72bba80020 sp 1 sz 1
ifa_free+40 (?,?,?,?) ra cc72bbc80018 sp 0 sz 0
ip_forward+838 (?,?,?,?) ra cc72bbe00068 sp 0 sz 0
ip_input+ce4 (823baa00,?,?,?) ra cc72bc480038 sp 1 sz 0
netisr_dispatch_src+134 (?,?,?,?) ra cc72bc800040 sp 0 sz 0
netisr_dispatch+14 (?,?,?,?) ra cc72bcc00018 sp 0 sz 0
ether_demux+254 (?,823baa00,?,?) ra cc72bcd80028 sp 1 sz 0
80333ffc+530 (823baa00,?,?,?) ra cc72bd30 sp 1 sz 0
netisr_dispatch_src+134 (?,?,?,?) ra cc72bd300040 sp 0 sz 0
netisr_dispatch+14 (?,?,?,?) ra cc72bd700018 sp 0 sz 0
80333b58+54 (?,?,?,?) ra cc72bd880020 sp 0 sz 0
804c7948+30c (?,?,?,?) ra cc72bda80048 sp 0 sz 0
intr_event_execute_handlers+13c (?,?,?,?) ra cc72bdf00028 sp 0 sz 0
80228a80+c8 (?,?,?,?) ra cc72be180040 sp 0 sz 0
fork_exit+b0 (?,?,?,?) ra cc72be580028 sp 0 sz 0
fork_trampoline+10 (?,?,?,?) ra cc72be80 sp 0 sz 0
pid 11
db

Reproduces 100%. I only started getting the panic after 'gateway_enable=YES' in
/etc/rc.conf

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

trond.endres...@ximalas.info changed:

   What|Removed |Added

 CC||trond.endres...@ximalas.inf
   ||o

--- Comment #4 from trond.endres...@ximalas.info ---
(In reply to Mariusz Zaborski from comment #1)

r285138 builds cleanly on amd64 with custom kernel with options ZFS, without
device nvme and device nvd, r285139 does not.

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


[Bug 201299] Merge Linux Emulation (lemul) to stable/10 branch for 10.2-RELEASE

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201299

Johannes Jost Meixner x...@freebsd.org changed:

   What|Removed |Added

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

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #5 from Mariusz Zaborski osho...@freebsd.org ---
(In reply to Trond.Endrestol from comment #4)
Thank you for replay.
I will look into it.
Could you add please configuration which doesn't work?

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #6 from Larry Rosenman l...@lerctr.org ---
Created attachment 158415
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158415action=edit
config that breaks

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #7 from trond.endres...@ximalas.info ---
(In reply to Mariusz Zaborski from comment #5)

My custom kernel is this one:

http://ximalas.info/~trond/create-zfs/canmount/VBOX-amd64-head

Note that GENERIC was also affected, i.e. it compiled flawlessly on r285138,
but not on r285139.

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #8 from Mariusz Zaborski osho...@freebsd.org ---
Thank you for help.
I confirm issue.

I will work on it ASAP.

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #10 from Larry Rosenman l...@lerctr.org ---
this patch DOES appear to fix it, albeit leaving some *.rej files around for
the deletes.

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #11 from Larry Rosenman l...@lerctr.org ---
borg.lerctr.org /usr/src $ find . -name \*rej

./sys/contrib/libnv/nvlist.c.rej
./sys/contrib/libnv/dnvlist.c.rej
./sys/contrib/libnv/nvpair.c.rej
borg.lerctr.org /usr/src $
borg.lerctr.org /usr/src $

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #9 from Mariusz Zaborski osho...@freebsd.org ---
Created attachment 158427
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158427action=edit
Patch

Could you pleas try this patch?
Please notice that the are renamed file in patch.

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


[Bug 201378] Sometimes seeing ENOENT for directories in NFS-mounted ports tree

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201378

Bug ID: 201378
   Summary: Sometimes seeing ENOENT for directories in NFS-mounted
ports tree
   Product: Base System
   Version: 10.0-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: da...@catwhisker.org

This is a bit vague, for which I apologize -- in large part, it may be viewed
as a pleas for guidance as to what other information or testing I might do to
help isolate and identify the problem.

I'm filing this under kern largely because of my prior experience in
isolating the bug that was addressed by
http://svnweb.freebsd.org/base?view=revisionrevision=189287 -- and which had
scarily similar symptoms.

The page at http://www.catwhisker.org/~david/FreeBSD/convert_i386_amd64.html
documents some of my activities where I encountered this issue (about mid-way
down the page).  Summarizing:

Several years ago, I placed my SVN working copy of the ports tree on the
ReadyNAS at home, for use among 3 systems.  One of these systems used svnlite
to update the ports tree daily; each of the three used it for building/updating
ports in place (using portmaster(8)).  I never had a problem with this.

More recently (ref. the above-cited Web page), I made an initial foray into
using poudriere(8) to build custom packages for my installed ports.  After a
few mis-steps, I got it to work for about 10 minutes, at which point I started
seeing errors such as make: chdir /usr/ports/devel/gsettings-desktop-schemas:
No such file or directory -- while an ls from the same machine showed the
directory.

Eventually, I created a new SVN working copy of the ports tree that was
locally-mounted... and that did not exhibit the failure.

From what I have seen so far, the effect is 100% reproducible.

That said, it could be a flaw or limitation in the ReadyNAS, or Something Weird
Happened with my network, or ... lots of things, I suppose.

But I seem to have access to an environment where the problem can be re-created
at will, and the machine where the problem is most evident is not needed for
critical activities (and it's reasonably fast), so I'd like to do what I can to
nail this bug down and squash it.

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


[Bug 197922] [patch] [sched] Remove random() from sched_ule, add short circuit for non-SMP, non-balancing

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197922

Pedro F. Giffuni p...@freebsd.org changed:

   What|Removed |Added

 Status|New |Closed
 CC|p...@freebsd.org |i...@freebsd.org
 Resolution|--- |FIXED

--- Comment #8 from Pedro F. Giffuni p...@freebsd.org ---
sched_random() was committed in r279349 (by imp) and further refined
afterwards.

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


[Bug 201356] lots of whines about nvpair* functions in kernel link

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356

--- Comment #12 from trond.endres...@ximalas.info ---
(In reply to Mariusz Zaborski from comment #9)

Patch works for me too.

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


[Bug 201376] explicit_bzero authinfo in sctp

2015-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201376

Bug ID: 201376
   Summary: explicit_bzero authinfo in sctp
   Product: Base System
   Version: 10.1-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: lo...@elandsys.com

Created attachment 158422
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158422action=edit
bzero-explicit_bzero

Rather than simply bzero() sensitive stuff, go further and use explicit_bzero()
for local variables that may be optmized away.

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