Re: Status on igb crash

2014-02-27 Thread Alexandre Martins
Hi Eric, Thank you for the reply. Regards, -- Alexandre Martins NETASQ -- We secure IT Le mercredi 26 février 2014 10:50:48 Eric Joyner a écrit : > Hi Alexandre, > > We didn't put the fix into the repository because we think it would have > had a significant impact on throughput. It fixed a c

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 08:42, Kohji Okuno wrote: From: Hans Petter Selasky On 02/27/14 08:13, Kohji Okuno wrote: Hi John-Mark, Thank you for you comment. From: John-Mark Gurney Kohji Okuno wrote this message on Thu, Feb 27, 2014 at 14:26 +0900: I tried add kqueue I/F to usb_dev.c. I attached my patc

Re: UDP Lite support

2014-02-27 Thread Joe Nosay
On Wed, Feb 26, 2014 at 11:19 PM, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 02/26/14 18:52, Joe Nosay wrote: > > On Wed, Feb 26, 2014 at 9:19 PM, Brooks Davis > > wrote: > > > >> On Wed, Feb 26, 2014 at 07:36:29PM -0500, Joe Nosay wrote: > >>> The last thread on th

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
Hi Kohji, Can you verify this commit: http://svnweb.freebsd.org/changeset/base/262550 Please test using both read and write direction. For example you can use the ULPT driver or a /dev/usb/X.X.X node which supports both read and write. Thank you! --HPS __

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 10:00, Hans Petter Selasky wrote: Hi Kohji, Can you verify this commit: http://svnweb.freebsd.org/changeset/base/262550 Please test using both read and write direction. For example you can use the ULPT driver or a /dev/usb/X.X.X node which supports both read and write. Thank you!

Re: kqueue for usb_dev

2014-02-27 Thread Kohji Okuno
Hi HPS and John-Mark, We should wait for empty of knlist before knlist_destroy(). When I tried 262551, the kernel panic at KN_LIST_LOCK(kn) in kern_event.c. Regards, Kohji Okuno > On 02/27/14 10:00, Hans Petter Selasky wrote: >> Hi Kohji, >> >> Can you verify this commit: >> >> http://svnweb.fr

Re: kqueue for usb_dev

2014-02-27 Thread Kohji Okuno
Hi HPS and John-Mark, After I changed as the following, the kernel panic does not happen. What do you think about this change? + knlist_clear(&f->selinfo.si_note, 0); knlist_destroy(&f->selinfo.si_note); Regards, Kohji Okuno > We should wait for empty of knlist before knlist_des

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 11:39, Kohji Okuno wrote: Hi HPS and John-Mark, After I changed as the following, the kernel panic does not happen. What do you think about this change? + knlist_clear(&f->selinfo.si_note, 0); knlist_destroy(&f->selinfo.si_note); Regards, Kohji Okuno Can you try

Re: kqueue for KBD.

2014-02-27 Thread Kohji Okuno
Hi John-Mark, Thank you for your comment. I added knote_clear() and knote_destroy() in kbd_detach(). I attached patch, again. But, maybe this patch can not resolve all cases you pointed. Regards, Kohji Okuno > Kohji Okuno wrote this message on Thu, Feb 27, 2014 at 14:24 +0900: >> I tried to add

Re: kqueue for KBD.

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 11:59, Kohji Okuno wrote: + sc = kbd->kb_dev->si_drv1; + knlist_clear(&sc->gkb_rsel.si_note, 0); + knlist_destroy(&sc->gkb_rsel.si_note); + free(kbd->kb_dev->si_drv1, M_DEVBUF); destroy_dev(kbd->kb_dev); Hi, You should put the "knlist_destroy()" af

Re: kqueue for usb_dev

2014-02-27 Thread Kohji Okuno
Hi HPS, Your patch did not resolve the kernel panic. I think, we should check knlist_clear() before knlist_destroy(). When a device is lost suddenly, usb_dev notify to a process in usb_fifo_close() and then calls knlist_destroy(). knlist_destroy() clears knlist->kn_lock and knlist->kn_unlock. But

Re: iwn(4) in -HEAD supporting Centrino Wireless-N 135

2014-02-27 Thread Tom Murphy
Hi Adrian, If I set -ht on wlan0 it works. I have to put it in rc.conf for it to work, though. ifconfig_wlan0="DHCP WPA -country GB -ht" So it does look like 11n isn't right. Kind regards, Tom On Wed, Feb 26, 2014 at 11:32:17PM -0800, Adrian Chadd wrote: > Yeah, try to verify if it's this

py.sqlite3 fails to build in firefox port

2014-02-27 Thread buddha
cc: error: unknown argument: '-R/usr/local/lib' Python build finished, but the necessary bits to build these modules were not found: _bsddb _tkinter dl imageoplinuxaudiodev ossaudiodev spwd sunaudiodev

Re: py.sqlite3 fails to build in firefox port

2014-02-27 Thread Scot Hetzel
On Thu, Feb 27, 2014 at 8:26 AM, buddha wrote: > cc: error: unknown argument: '-R/usr/local/lib' > > Python build finished, but the necessary bits to build these modules were not > found: > _bsddb _tkinter dl > imageoplinuxaudiodev ossaudiodev > spwd

Re: firebox build fails post clang-3.4 merge

2014-02-27 Thread Garrett Wollman
In article <530ea5cd.2070...@protected-networks.net>, i...@protected-networks.net writes: > .. way back in the late 70's or maybe early 80's when I was >actually doing some work on compilers, we had a saying: "produce correct >code even if it's not optimal or exit and tell the user why". > >Produc

Re: firebox build fails post clang-3.4 merge

2014-02-27 Thread David Chisnall
On 27 Feb 2014, at 02:41, Michael Butler wrote: > .. way back in the late 70's or maybe early 80's when I was > actually doing some work on compilers, we had a saying: "produce correct > code even if it's not optimal or exit and tell the user why". In the late '70s, the number of transforms tha

Re: iwn(4) in -HEAD supporting Centrino Wireless-N 135

2014-02-27 Thread Adrian Chadd
On 26 February 2014 23:52, Alexandr wrote: > Tom, could you: > > 1. compile kernel WITH_IWNDEBUG > 2. sysctl dev.iwn.0.debug=0x1 > 3. wlandebug -i wlan0 auth+assoc > 4. Associate with AP in 11n mode > 5. Send us appropriate /var/log/messages > > Then I try to compare it with my log. Please do. I'

Re: BSD XXI Manifesto [mDNS proposal]

2014-02-27 Thread Matthew Rezny
> On 21 February 2014 20:59, Allan Jude wrote: > > I can see the remote controlled installer being especially useful for > > 'appliance' type devices, like FreeNAS, pfSense, FUDO, etc. > > > > How would your phone find the address of the machine once it boots off > > the USB, so you could access

Re: BSD XXI Manifesto [mDNS proposal]

2014-02-27 Thread Lyndon Nerenberg
On Feb 27, 2014, at 12:20 PM, Matthew Rezny wrote: > If IPv4LL is in active use, the DHCP > client should continue to periodically look for a DHCP server and obtain a > lease without manual user intervention (which is unfortunately required on > both OS X and Windows, leading to sub-optimal e

Feature Proposal: Transparent upgrade of crypt() algorithms

2014-02-27 Thread Allan Jude
With r262501 (http://svnweb.freebsd.org/base?view=revision&revision=262501) importing the upgraded bcrypt from OpenBSD and eventually changing the default identifier for bcrypt to $2b$ it reminded me of a feature that is often seen in Forum software and other web apps. Transparent algorithm upgrad

Feature Proposal: 'rounds' tuneables for crypt() algorithms

2014-02-27 Thread Allan Jude
Currently, you can change the password hashing algorithm used by crypt() with the passwd_format in /etc/login.conf However, as far as I could find, you cannot change the number of 'rounds', the dynamic adjustment factor using in bcrypt, and sha256crypt, and sha512crypt. bcrypt uses a log number,

Re: Feature Proposal: 'rounds' tuneables for crypt() algorithms

2014-02-27 Thread John-Mark Gurney
Allan Jude wrote this message on Thu, Feb 27, 2014 at 20:28 -0500: > Currently, you can change the password hashing algorithm used by crypt() > with the passwd_format in /etc/login.conf > > However, as far as I could find, you cannot change the number of > 'rounds', the dynamic adjustment factor u

Centrino Wireless-N 1000 support is also broken (Re: iwn(4) in -HEAD supporting Centrino Wireless-N 135)

2014-02-27 Thread Kaho Toshikazu
Hello, -current members I have a similar problem with Centrino Wireless-N 1000. It operated until r257951 and have a trouble after r258030. I use r262433 kernel with sys/dev/iwn reverted to r257951 and changed from IEEE80211_FC1_WEP to EEE80211_FC1_PROTECTED. r262422 if_iwn module with IWN_DE

Re: firebox build fails post clang-3.4 merge

2014-02-27 Thread Michael Butler
On 02/27/14 12:24, David Chisnall wrote: > On 27 Feb 2014, at 02:41, Michael Butler wrote: > >> .. way back in the late 70's or maybe early 80's when I was >> actually doing some work on compilers, we had a saying: "produce correct >> code even if it's not optimal or exit and tell the user why".

Re: BSD XXI Manifesto [mDNS proposal]

2014-02-27 Thread Lyndon Nerenberg
On Feb 27, 2014, at 15:59, Matthew Rezny wrote: > If they corrected that, it was after I abandoned the platform years ago. It has been like that since at least 10.8. And I am also tempted to say that Windows 7 acts the same, but I don't have one at hand to double check. _

About kevent

2014-02-27 Thread Kohji Okuno
Hi, I have a question about kevent. How should the userland judge knote which is cleared from knlist by knlist_clear() or knlist_delete()? Best regards, Kohji Okuno ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listin

Re: BSD XXI Manifesto [mDNS proposal]

2014-02-27 Thread Matthew Rezny
On Thursday 27 February 2014 14:55:55 Lyndon Nerenberg wrote: > On Feb 27, 2014, at 12:20 PM, Matthew Rezny wrote: > > If IPv4LL is in active use, the DHCP > > client should continue to periodically look for a DHCP server and obtain a > > lease without manual user intervention (which is unfortunat

Re: Centrino Wireless-N 1000 support is also broken (Re: iwn(4) in -HEAD supporting Centrino Wireless-N 135)

2014-02-27 Thread Adrian Chadd
Hi, Yes there are issues; I'm too busy to try and chase them down. I'd appreciate some help in chasing down why things are unhappy. Thanks, -a On 27 February 2014 17:17, Kaho Toshikazu wrote: > Hello, -current members > > I have a similar problem with Centrino Wireless-N 1000. > It ope

Re: py.sqlite3 fails to build in firefox port

2014-02-27 Thread chessmaster
http://svnweb.freebsd.org/ports/head/lang/python27/files/patch-Lib__distutils__unixccompiler.py?view=markup&sortby=date Thanks! For the Fix. On Thu, Feb 27, 2014 at 9:26 AM, buddha wrote: > cc: error: unknown argument: '-R/usr/local/lib' > > Python build finished, but the necessary bits to buil

Re: About kevent

2014-02-27 Thread John-Mark Gurney
Kohji Okuno wrote this message on Fri, Feb 28, 2014 at 11:13 +0900: > I have a question about kevent. > > How should the userland judge knote which is cleared from knlist by > knlist_clear() or knlist_delete()? It looks like I need to read the code better... knlist_clear (killkn=0) and knlist_de

Re: firebox build fails post clang-3.4 merge

2014-02-27 Thread Don Lewis
On 26 Feb, Benjamin Kaduk wrote: > On Wed, 26 Feb 2014, Don Lewis wrote: > >> On 26 Feb, Michael Butler wrote: >>> On 02/18/14 12:10, Michael Butler wrote: Is anyone else seeing firefox failing to install after the clang-3.4 merge? As in xpcshell dumping core .. >>> >>> An update .. >>>