Re: Speeding up OBSD bootup

2007-10-08 Thread Ted Unangst
On 10/6/07, Karel Kulhavy [EMAIL PROTECTED] wrote:
 Is it possible to specify the kernel that the hardware for which there are
 drivers probing for but I don't have in my PC is absent? Since OBSD has no
 suspend to disk/RAM, the bootup speed is critical when working with a laptop
 in public transport.

the majority of devices probe faster than you can blink.  only
exception is floppy, but it's only slow on some machines.

 Or are there any other possible ways how to speed up the bootup process?

i'm not sure what your goal is here.  i can boot and start X in about
30 seconds.  if that's too long, you don't have enough time to get any
work done anyway.



Speeding up OBSD bootup

2007-10-06 Thread Karel Kulhavy
Is it possible to specify the kernel that the hardware for which there are
drivers probing for but I don't have in my PC is absent? Since OBSD has no
suspend to disk/RAM, the bootup speed is critical when working with a laptop
in public transport.

Or are there any other possible ways how to speed up the bootup process?

CL



Re: Speeding up OBSD bootup

2007-10-06 Thread Eric Faurot
On Sat, 6 Oct 2007 16:08:41 +0200
Karel Kulhavy [EMAIL PROTECTED] wrote:

 Is it possible to specify the kernel that the hardware for which there are
 drivers probing for but I don't have in my PC is absent? Since OBSD has no
 suspend to disk/RAM, the bootup speed is critical when working with a laptop
 in public transport.

Look at config(8). There is also an entry in the FAQ:
http://openbsd.org/faq/faq5.html#config

Eric.



Re: Speeding up OBSD bootup

2007-10-06 Thread Mark Mathias
On 10/6/07, Karel Kulhavy [EMAIL PROTECTED] wrote:

 Is it possible to specify the kernel that the hardware for which there are
 drivers probing for but I don't have in my PC is absent? Since OBSD has no
 suspend to disk/RAM, the bootup speed is critical when working with a
 laptop
 in public transport.

 Or are there any other possible ways how to speed up the bootup process?

 CL




OpenBSD can suspend,

man 8 apm


apm -s for standby or apm -z for suspend state. I don't know if it will work
with your device, but it does work on some







-- 
Mark Mathias



Re: Speeding up OBSD bootup

2007-10-06 Thread Matthias Kilian
On Sat, Oct 06, 2007 at 04:08:41PM +0200, Karel Kulhavy wrote:
 Is it possible to specify the kernel that the hardware for which there are
 drivers probing for but I don't have in my PC is absent? Since OBSD has no
 suspend to disk/RAM, the bootup speed is critical when working with a laptop
 in public transport.

You can use config(8) to disable drivers without building a new
kernel, but you really have to know what you're doing. There's a
tool called dmassage in the ports tree (sysutils/dmassage) which
can help determining unused devices by looking at dmesgs's output.

My experience (I tried it once on a Soekris Net4801) is that doing
this kind of tuning won't gain you much speed at but time but is a
real PITA if you want to plug some new device and have to re-enable
it first to use it.

Ciao,
Kili

-- 
Automake and autoconf deserve to wither and die, but unfortunately noone
at GNU seems to make much of an effort to euthanasize them.
-- Han-Wen Nienhuys, on Lilypond-devel mailing list



Re: Speeding up OBSD bootup

2007-10-06 Thread Constantine A. Murenin
On 06/10/2007, Karel Kulhavy [EMAIL PROTECTED] wrote:
 Is it possible to specify the kernel that the hardware for which there are
 drivers probing for but I don't have in my PC is absent? Since OBSD has no
 suspend to disk/RAM, the bootup speed is critical when working with a laptop
 in public transport.

 Or are there any other possible ways how to speed up the bootup process?

You might want to checkout ports/sysutils/dmassage/.

Obviously, under improper use this might disable all hotpluggable USB stuff.

C.



Re: Speeding up OBSD bootup

2007-10-06 Thread Shawn K. Quinn
On Sat, 2007-10-06 at 16:31 -0400, Constantine A. Murenin wrote:
 On 06/10/2007, Karel Kulhavy [EMAIL PROTECTED] wrote:
  Is it possible to specify the kernel that the hardware for which there are
  drivers probing for but I don't have in my PC is absent?
 
 You might want to checkout ports/sysutils/dmassage/.
 
 Obviously, under improper use this might disable all hotpluggable USB stuff.

Ideally, you should plug in all USB gadgets you ever plan to use with
the laptop before running dmassage. If you can't do that, then you
should specifically re-enable them. Be sure to enable things like the
SCSI subsystem if you plan to use a USB mass storage device (pen drive,
external hard drive, CD-/DVD-ROM, floppy drive). I made the mistake of
leaving this out once after compiling a custom kernel, then weeks later
plugged in a pen drive and wondered why I wasn't able to mount the damn
thing. (Note this is exactly why you shouldn't compile a custom kernel
unless you know what you're doing.)

-- 
Shawn K. Quinn [EMAIL PROTECTED]