Re: Lenovo Thinkpad X201 iwn, and screen brightness issues

2011-01-28 Thread Federico G. Schwindt
On Sat, Jan 29, 2011 at 08:19:06AM +0530, Amarendra Godbole wrote: > Hi, > > I recently switched over to Lenovo X201 notebook, from my older X61s. > OpenBSD worked flawlessly when I switched the harddisks (cool!). I > recently updated the src, and rebuilt the kernel, userland, and > xenocara (okay

Lenovo Thinkpad X201 iwn, and screen brightness issues

2011-01-28 Thread Amarendra Godbole
Hi, I recently switched over to Lenovo X201 notebook, from my older X61s. OpenBSD worked flawlessly when I switched the harddisks (cool!). I recently updated the src, and rebuilt the kernel, userland, and xenocara (okay, I do run -current, and know the implications :-)). I am facing two issues: (

Re: tcpbench udp support + libevent.

2011-01-28 Thread Christiano F. Haesbaert
On Thu, Jan 27, 2011 at 10:00:09AM +, Nicholas Marriott wrote: > Hi > > Out of interest, does the same happen if you export EVENT_NOKQUEUE to > force libevent to use poll? > Yes, same thing happens. I'm considering adding a rate option so the user can specify the speed to send, it's nicer t

fix race between usbdevs(8) and usb device attach/detach

2011-01-28 Thread Jacob Meuser
currently, the USB_DEVICEINFO ioctl (used by usbdevs(8)) races against usb device attach/detach. this is particularly problematic for device detachment. if the ioctl is running exactly when a hub with devices attached is removed, there's a good chance of crashing. the following diff makes the ra

more m_free(): memleak in mpe(4)

2011-01-28 Thread Reyk Floeter
hi, this one also looks suspicious to me... OK? reyk Index: net/if_mpe.c === RCS file: /cvs/src/sys/net/if_mpe.c,v retrieving revision 1.24 diff -u -p -r1.24 if_mpe.c --- net/if_mpe.c21 Jan 2011 17:42:57 - 1.24 +++

more m_free(): possible memory leak in trunk(4)'s broadcast mode

2011-01-28 Thread Reyk Floeter
hi, this will plug another memleak by using m_freem() (free whole mbuf chain) instead m_free() (free first mbuf only). ok? reyk Index: net/if_trunk.c === RCS file: /cvs/src/sys/net/if_trunk.c,v retrieving revision 1.76 diff -u -p -

virtual crossover link with vether(4)

2011-01-28 Thread Reyk Floeter
hi, the following diff allows to create a "virtual crossover" link between two vether(4) interfaces that helps to connect two rdomains locally. it is like a crossover cable between two virtual devices - you can connect a vether(4) (a) with another vether(4) (b) interface that will receive the outg

Re: bridge + vether + dhcpd = mbuf leak ?

2011-01-28 Thread Reyk Floeter
On Thu, Jan 27, 2011 at 04:28:26PM +0100, Joerg Goltermann wrote: > >Any hints which functions/code should be inspected deeply to find the leak? > > I think i got it, maybe we should replace some more m_free()'s > with m_freem()'s? > > OK? > yes, absolutely, OK for the diff. > - Joerg > > In

Re: softraid clarification in manpage

2011-01-28 Thread Nick Holland
On 01/27/11 17:17, Amit Kulkarni wrote: > thib@, > > That's a much better suggestion, also keeping in mind what jmc@ said. > I will send a unified diff against the following file over the > weekend. > > http://www.openbsd.org/cgi-bin/cvsweb/www/faq/faq14.html > > But first I will tear down the mi

Re: alc0 panic and splassert: assertwaitok: want -1 have 1

2011-01-28 Thread Gabriel Linder
On 01/27/11 09:13, Gabriel Linder wrote: When booting 4.9-beta/amd64 without a network cable plugged, I get a lot of splassert failures. After changing kern.splassert to 3 I was able to get the following trace (get with dmesg after a reboot) : OpenBSD 4.9-beta (GENERIC.MP) #786: Tue Jan 25 1