You are not logged in.

#1 2006-01-09 14:02:33

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

5 seconds to settle USB

after upgrading the kernel, load up takes longer than it used to... the main reason for this is it takes 5 seconds for the USB to settle... it never did this before- do i need it to do this or is there a way of stopping it? ... and while on the topic- is there anything else i could do to speed up the startup? (bearing in mind I'm a newbie wink ...so no including stuff in the kernel! etc)

thanks-o!

Offline

#2 2006-01-09 15:47:10

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 430

Re: 5 seconds to settle USB

if you want to learn something about your system and are a bit experienced with linux, read this:
http://wiki.archlinux.org/index.php/Initrd

Offline

#3 2006-01-09 15:56:48

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: 5 seconds to settle USB

thanks- I've been over the initrd- it's just it says nothing about the 5secs for USB...

the only bit in my mkinitrd.conf which i could change is:

# Number of seconds to wait for USB devices to settle
USB_TIMEOUT=5

in http://wiki.archlinux.org/index.php/Initrd, it's not mentioned and not even there... so should i just delete it?

thanks

Offline

#4 2006-01-09 18:26:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: 5 seconds to settle USB

Many USB devices take several seconds to initialize.  Perhaps yours is fast enough to remove moast of the 5 seconds!!! big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2006-01-09 18:52:26

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: 5 seconds to settle USB

yeah but i don't want it to go through the USB devices on startup- i never have any USB devices plugged in thatare important enough. I'm perfectly happy for it to do it when i'm all booted up... is there a way of turning it off during boot? thanks smile

Offline

#6 2006-01-09 21:53:18

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: 5 seconds to settle USB

The five seconds applies to the initiation of the USB device AFAIK and the loading of USB during boot is another matter. 

There are hundreds of USB devices addressed in Linux and provision for many of them is made in the kernel. 

In order to restrict the number of USB devices provided by the kernel, AFAIK, you would need to modify the kernel to reduce the number addressed by the config to those you are using.  Therefore, a custom kernel is required.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2006-01-10 06:45:18

torindan2
Member
Registered: 2004-07-15
Posts: 74

Re: 5 seconds to settle USB

No need to compile custom kernel, just edit /etc/mkinitrd.conf and remove USB from there (because you are booting from normal hdd, not usb).

REMOVE_USB=1

You can also disable SCSI,FW or other things that you are not using to boot from.

Then run

mkinitrd auto

to generate initrd

Look in the grub/lilo configs to be sure you are booting initrd not initrd-full.

Reboot.

Offline

#8 2006-01-10 11:34:57

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: 5 seconds to settle USB

Actually... Are you using initrd-full.img? Because you probably shouldn't unless you have good reason to.

Offline

#9 2006-01-10 15:57:11

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: 5 seconds to settle USB

ah-ha! that sorted it! thanks... damn arch is fast!

Offline

Board footer

Powered by FluxBB