Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-19 Thread Tom Evans
On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: > Some latest hard drives have logical sectors of 512 byte when they actually > have 4k physical sectors. Here is the document describing what to do in such > case: > http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html . > For UFS: n

Kqueue + Libevent

2011-08-19 Thread about bus
Hello! I've got some interesting problem with my own server which use Libevent and Kqueue. Kqueue holds some sockets for a long time (while reading data) and gives it back to application when another side closes connection. I have server with FreeBSD 7.2 which serves several thousands requests pe

Re: Kqueue + Libevent

2011-08-19 Thread Adrian Chadd
I've not seen this happen before, are you sure that libevent's kqueue code is properly removing all the pending events for a given FD when it's closed? Adrian On 19 August 2011 18:33, about bus wrote: > Hello! > > I've got some interesting problem with my own server which use Libevent and > Kq

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-19 Thread John Baldwin
On Thursday, August 18, 2011 4:09:35 pm Andriy Gapon wrote: > on 17/08/2011 23:21 Andriy Gapon said the following: > > It seems like everything starts with some kind of a race between terminating > > processes in a jail and termination of the jail itself. This is where the > > details are very thi

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-19 Thread Pieter de Goeje
On Friday, August 19, 2011 12:15:30 PM Tom Evans wrote: > On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: > > Some latest hard drives have logical sectors of 512 byte when they > > actually have 4k physical sectors. Here is the document describing what > > to do in such case: > > http://ivoras.net/bl

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-19 Thread Aled Morris
On 19 August 2011 11:15, Tom Evans wrote: > On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: > > Some latest hard drives have logical sectors of 512 byte when they > actually > > have 4k physical sectors. > ... > Shouldn't UFS and ZFS drivers be able to either read the right sector size > > from th

snd_hda does no output to headphones

2011-08-19 Thread Zhihao Yuan
Hi, I think I must get this problem resolved. I work at night, so without the headphones support, I can listen to music or watch video at that time. The machine is HP Elitebook 8540w. ~> uname -a FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #6 r224860: Sun Aug 14 15:17:57 CDT 2011 lichra

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-19 Thread Andriy Gapon
on 19/08/2011 15:14 John Baldwin said the following: > Yes, it is a bug in kgdb that it only walks allproc and not zombproc. Try > this: The patch worked perfectly well for me, thank you! > Index: kthr.c > === > --- kthr.c(revi

Re: Kqueue + Libevent

2011-08-19 Thread about bus
I've added some debug output in libevent, before and after kevent function call. ### good one request 21:30:05 evhttp_get_request_connection: fd: 196 new request from 127.0.0.1:60010 21:30:05 kq_dispatch: fd: 196 setkevent filter: EVFILT_READ flags: EV_ADD 21:30:05 kq_dispatch: fd: 196 r

Re: snd_hda does no output to headphones

2011-08-19 Thread Zhihao Yuan
On Fri, Aug 19, 2011 at 2:54 PM, Matt wrote: > On 08/19/11 09:15, Zhihao Yuan wrote: >> >> Hi, >> >> I think I must get this problem resolved. I work at night, so without >> the headphones support, I can listen to music or watch video at that >> time. >> >> The machine is HP Elitebook 8540w. >> >>

Re: snd_hda does no output to headphones

2011-08-19 Thread Matt
On 08/19/11 09:15, Zhihao Yuan wrote: Hi, I think I must get this problem resolved. I work at night, so without the headphones support, I can listen to music or watch video at that time. The machine is HP Elitebook 8540w. ~> uname -a FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #6 r22

Re: snd_hda does no output to headphones

2011-08-19 Thread Matt
On 08/19/11 13:20, Zhihao Yuan wrote: On Fri, Aug 19, 2011 at 2:54 PM, Matt wrote: On 08/19/11 09:15, Zhihao Yuan wrote: Hi, I think I must get this problem resolved. I work at night, so without the headphones support, I can listen to music or watch video at that time. The machine is HP Elit