Bug#732693: unable to setup DHCP in kfreebsd-11

2014-01-02 Thread Robert Millan
On 23/12/2013 00:03, Robert Millan wrote:
 On 21/12/2013 22:31, Markus Koschany wrote:
 On 20.12.2013 13:29, Robert Millan wrote:
 [...]
 If you've got spare time to do some tests, it would help to know which 
 version
 of the kfreebsd-11 package introduced this bug.

 I downloaded the first and second kernel image for kfreebsd-11 amd64
 from snapshots.debian.org:

 svn256281-1 works
 svn258494-1 fails

Regression found:

$ svn-bisect good
Regression found!
Last good revision: r257690
First bad revision:

r257692 | glebius | 2013-11-05 08:44:15 +0100 (dt, 05 nov 2013) | 14 lines

Rewrite in_control(), so that it is comprehendable without getting mad.

o Provide separate functions for SIOCAIFADDR and for SIOCDIFADDR, with
  clear code flow from beginning to the end. After that the rest of
  in_control() gets very small and clear.
o Provide sx(9) lock to protect against parallel ioctl() invocations.
o Reimplement logic from r201282, that tried to keep localhost route in
  table when multiple P2P interfaces with same local address are created
  and deleted.

Discussed with: pluknet, melifaro
Sponsored by:   Netflix
Sponsored by:   Nginx, Inc.



I'm not sure what's going on. Perhaps it has to do with the last bit (about
keeping localhost route in table).

Maybe the problem goes away when updating freebsd-net-tools to 10.x...

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#732693: unable to setup DHCP in kfreebsd-11

2013-12-22 Thread Robert Millan
On 21/12/2013 22:31, Markus Koschany wrote:
 On 20.12.2013 13:29, Robert Millan wrote:
 [...]
 If you've got spare time to do some tests, it would help to know which 
 version
 of the kfreebsd-11 package introduced this bug.
 
 I downloaded the first and second kernel image for kfreebsd-11 amd64
 from snapshots.debian.org:
 
 svn256281-1 works
 svn258494-1 fails

SVN log for ifconfig between those two seems to suggest
(see rev 256824) that replacing ifconfig $if $addr
with ifconfig $if $addr up might help.

Perhaps a few adjustments in /sbin/dhclient-script help?
(I'm afraid I don't have time to check right now)

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#732693: unable to setup DHCP in kfreebsd-11

2013-12-20 Thread Robert Millan
Package: kfreebsd-image-11.0-0-amd64
Version: 11.0~svn259528-2
Severity: grave

On 20/12/2013 11:05, Markus Koschany wrote:
 Unfortunately ip4 networking doesn't work anymore with freebsd 11 but
 works fine when I use kfreebsd-image-9.2-1. The em0 interface is up but
 I don't get a DHCP lease. It seems that is another issue to look into.

I got that, too. IIRC there was some error with ioctls in ifconfig. Fortunately
it's kfreebsd-11 only.

If you've got spare time to do some tests, it would help to know which version
of the kfreebsd-11 package introduced this bug.

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org