Re: Speeding up OBSD bootup

Previous thread: Xbox 360 controller at the -current by Alexander Farber on Saturday, October 6, 2007 - 9:26 am. (3 messages)

Next thread: Re: pf by ropers on Saturday, October 6, 2007 - 11:09 am. (1 message)
To: OpenBSD <misc@...>
Date: Saturday, October 6, 2007 - 10:08 am

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<

To: Karel Kulhavy <clock@...>
Cc: OpenBSD <misc@...>
Date: Monday, October 8, 2007 - 7:49 pm

the majority of devices probe faster than you can blink. only

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.

To: Karel Kulhavy <clock@...>
Cc: OpenBSD <misc@...>
Date: Saturday, October 6, 2007 - 4:31 pm

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

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

C.

To: <misc@...>
Date: Saturday, October 6, 2007 - 10:46 pm

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 <skquinn@speakeasy.net>

To: MISC <misc@...>
Date: Saturday, October 6, 2007 - 10:59 am

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

To: Karel Kulhavy <clock@...>
Cc: OpenBSD <misc@...>
Date: Saturday, October 6, 2007 - 10:51 am

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

To: Karel Kulhavy <clock@...>
Cc: OpenBSD <misc@...>
Date: Saturday, October 6, 2007 - 10:32 am

On Sat, 6 Oct 2007 16:08:41 +0200

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

Eric.

Previous thread: Xbox 360 controller at the -current by Alexander Farber on Saturday, October 6, 2007 - 9:26 am. (3 messages)

Next thread: Re: pf by ropers on Saturday, October 6, 2007 - 11:09 am. (1 message)