Re: Problems with twa

2008-12-08 Thread Ivan Voras
Giulio Ferro wrote: > I've installed a 3ware 9500 sata controller with 4 1TB disks > in raid 5. > Apart from the usual wrong geometry warning the starting configuration > is ok: I create a single partition with the default labels plus a /usr/home > label with takes most of the disk space (about 2.7

Problems with twa

2008-12-08 Thread Giulio Ferro
I've installed a 3ware 9500 sata controller with 4 1TB disks in raid 5. Apart from the usual wrong geometry warning the starting configuration is ok: I create a single partition with the default labels plus a /usr/home label with takes most of the disk space (about 2.7TB). When I reboot the syste

Re: usb keyboard dying at loader prompt

2008-12-08 Thread Andriy Gapon
[forwarded to the lists] on 28/11/2008 15:48 Luigi Rizzo said the following: > just as a test, can you check if /boot/loader from 6.2 (or sometime > before jan.2008 - e.g. you could take one from a 6.3 CD) which you > can also find at > > http://info.iet.unipi.it/~luigi/doc/20081128-freebsd-6.3-b

MAXFILES in subr_param.c

2008-12-08 Thread Ivan Voras
Hi, I'm looking at kern/subr_param.c: 72 #ifndef MAXFILES 73 #define MAXFILES (maxproc * 2) 74 #endif Shouldn't this be at least maxproc*3, for stdin,out,err for every proc? Also, it looks like MAXFILES is used only once, and in a bit funny way: 238 maxfiles = MAXFILES; 239

Re: crypto(9) choose another driver if we cannot open a session on it

2008-12-08 Thread Philip Paeps
On 2008-12-07 22:45:51 (+0100), Patrick Lamaizière <[EMAIL PROTECTED]> wrote: > I wrote a small patch to allow the crypto framework to choose another > cryptographic driver if we cannot open a session on the driver. Very cool. :-) I've been hacking on this too, mainly to get rid of the code dupli

Re: Why safe using msleep with timeout=0 but not tsleep?

2008-12-08 Thread John Baldwin
On Sunday 07 December 2008 02:00:30 pm Marius Nünnerich wrote: > See subject. > Interesting commit: > http://svn.freebsd.org/viewvc/base?view=revision&revision=77059 Lost wakeups. If you have code like so that doesn't use any locks: int flag; void foo(void) { flag = 1; wakeup(

Enhancing cdboot [patch for review]

2008-12-08 Thread Maxim Sobolev
Hi, Below please find patch that enhances cdboot with two compile-time options: 1. CDBOOT_SILENT. When this option is set, the cdboot doesn't produce any messages except "Loading, please wait..." and it also passes RBX_MUTE flag to the next stage to silence it as well. This is intended for custo

Enhancing cdboot [patch for review]

2008-12-08 Thread Maxim Sobolev
Hi, Below please find patch that enhances cdboot with two compile-time options: 1. CDBOOT_SILENT. When this option is set, the cdboot doesn't produce any messages except "Loading, please wait..." and it also passes RBX_MUTE flag to the next stage to silence it as well. This is intended for cu

Re: Why safe using msleep with timeout=0 but not tsleep?

2008-12-08 Thread Marius Nünnerich
On Mon, Dec 8, 2008 at 9:17 PM, John Baldwin <[EMAIL PROTECTED]> wrote: > On Sunday 07 December 2008 02:00:30 pm Marius Nünnerich wrote: >> See subject. >> Interesting commit: >> http://svn.freebsd.org/viewvc/base?view=revision&revision=77059 > > Lost wakeups. If you have code like so that doesn'

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Luigi Rizzo
On Mon, Dec 08, 2008 at 02:40:41PM -0800, Maxim Sobolev wrote: > Hi, > > Below please find patch that enhances cdboot with two compile-time options: ... > Any comments/suggestions are appreciated. If there are no objections I > would like to commit the change. The long-term goal is to make > CDBOO

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Maxim Sobolev
Luigi Rizzo wrote: On Mon, Dec 08, 2008 at 02:40:41PM -0800, Maxim Sobolev wrote: Hi, Below please find patch that enhances cdboot with two compile-time options: ... Any comments/suggestions are appreciated. If there are no objections I would like to commit the change. The long-term goal is t

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Giorgos Keramidas
On Mon, 08 Dec 2008 16:29:04 -0800, Maxim Sobolev <[EMAIL PROTECTED]> wrote: > Luigi Rizzo wrote: >> On Mon, Dec 08, 2008 at 02:40:41PM -0800, Maxim Sobolev wrote: >>> Hi, >>> Below please find patch that enhances cdboot with two compile-time options: >> ... >>> Any comments/suggestions are appreci

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Luigi Rizzo
On Mon, Dec 08, 2008 at 04:29:04PM -0800, Maxim Sobolev wrote: > Luigi Rizzo wrote: ... > >4. another nitpick -- the value you pass in %si to the MBR does not > > seem to point to anything useful. As discussed about boot0.S and > > the followup in the mailing lists, there seems to be no standar

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Maxim Sobolev
Luigi Rizzo wrote: On Mon, Dec 08, 2008 at 04:29:04PM -0800, Maxim Sobolev wrote: Luigi Rizzo wrote: ... 4. another nitpick -- the value you pass in %si to the MBR does not seem to point to anything useful. As discussed about boot0.S and the followup in the mailing lists, there seems to be