You are not logged in.

#1 2009-07-25 17:14:35

Alberto Ferreira
Member
Registered: 2008-10-08
Posts: 41

mkinitcpio fails boot without udev [SOLVED]

Hi, I've tried everything for the last 4 hours. I have already configured my modules manually in rc.conf and disabled the MOD_AUTOLOAD.

My boot works fine but as soon as I take the udev out of the HOOKS in the mkinitcpio.conf I get the same problem as this guy: #created a new thread because the other one is old and marked as solved
http://bbs.archlinux.org/viewtopic.php?id=53014

Here is my mkinitcpio.conf:

MODULES="piix pata_acpi pata_amd ata_generic scsi_mod sata_nv sata_sil ext3"
HOOKS="base autodetect pata scsi sata keymap filesystems"

Already enabled piix - disk controller? but nothing, I still get the same error as the other user.

Last edited by Alberto Ferreira (2009-08-02 23:01:57)

Offline

#2 2009-07-25 17:33:18

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: mkinitcpio fails boot without udev [SOLVED]

From here: http://wiki.archlinux.org/index.php/Con … mkinitcpio

his configuration will work for most users with a standard setup:

HOOKS="base udev autodetect ide scsi sata filesystems"


Well, Aren't you one of most users ? smile

In such a weird situation i would start from the begining once more time.

Offline

#3 2009-07-25 17:40:34

Alberto Ferreira
Member
Registered: 2008-10-08
Posts: 41

Re: mkinitcpio fails boot without udev [SOLVED]

Yeah but I really want to boot fast that's why I need help ( since I'm a noob smile )

Ok I can already boot but I need udev though autodetect and MOD_AUTOLOAD are disabled

mkinicpio.conf:

MODULES="piix sata_nv sata_sil ext3"
HOOKS="base udev sata"

And some boots ago UDEV uevents took no time now I havent changed a thing and it started taking over 3 seconds again. WHY?

Also, what is base hook all about? Can it be disabled without harm to the system?




Also where can I find the description of all the kernel modules so I don't have to ask again?


Thanks

Last edited by Alberto Ferreira (2009-07-25 18:20:43)

Offline

#4 2009-07-25 19:08:28

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: mkinitcpio fails boot without udev [SOLVED]

base sets up the filesystem used in the initial ramfs.
EDIT:

mkinitcpio -H base wrote:

This hook sets up all initial directories and installs base
  klibc utilities and libraries.  DO NOT remove this one unless
  you know what you're doing.

/EDIT

udev is used to create device nodes (/dev/*). If you want to take out udev, you have to find a way to manually make those dev nodes.

Last edited by klixon (2009-07-25 19:13:17)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#5 2009-07-26 01:28:56

Alberto Ferreira
Member
Registered: 2008-10-08
Posts: 41

Re: mkinitcpio fails boot without udev [SOLVED]

Ok thanks, I guess I'll leave it as it is.

where can I find the description of all the kernel modules so I don't have to ask again?

Offline

#6 2009-07-26 06:40:52

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: mkinitcpio fails boot without udev [SOLVED]

You can browse the folder of kernel, and see the c/assembler code of these, and the comments in the code too, and some text file near the driver code.

Some documentation too here, but not just with driver related informations:
/usr/src/linux-$(uname -r)/Documentation/

Would you like to take quicker your system? Which filesystem do you use? Use reiserfs.

Offline

Board footer

Powered by FluxBB