Gentoo Archives: gentoo-user

From: rocwhite168 <rocwhite168@×××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w
Date: Tue, 22 Jun 2010 05:04:05
Message-Id: loom.20100622T061522-567@post.gmane.org
In Reply to: Re: [gentoo-user] kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w by Kaddeh
1 Kaddeh <kaddeh <at> gmail.com> writes:
2 >
3 > it would help to also put your /etc/fstaband let us know what FS you have root
4 setup asin addition to your /boot/grub/grub.conf
5 > 2010/6/20 rocwhite168 <rocwhite168 <at> 163.com>
6 > I used genkernel to configure the kernel. It complained every time at shutdown
7 that
8 >
9 > "Code: Bad EIP value.
10 >
11 > ...
12 > do_IRQ: 0.43 No irq handler for vector (irq -1)".
13 > I had to press the power button to shut down the machine. How should I solve
14 this problem?
15 >
16 > On the other hand, I'm trying to configure the kernel manually. I did this
17 according to several online tutorials, but it still won't even start up: "Root
18 filesystem could not be mounted read/write." Can anyone please have a look at my
19 configuration? Thank you very much!
20 >
21 > Roc
22
23 fstab
24 --------------------------------------
25 /dev/sda1 /boot ext4 noauto,noatime 1 2
26 /dev/sda5 / ext4 noatime 0 1
27 /dev/sda3 /usr ext4 noatime 0 2
28 /dev/sda4 /home ext4 noatime 0 2
29 /dev/sda7 /tmp ext4 noatime 0 0
30 /dev/sda6 none swap sw 0 0
31 shm /dev/shm tmpfs nodev,nosuid,noexec
32 0 0
33
34 grub.conf
35 --------------------------------------
36 default 0
37 timeout 3
38 #splashimage=(hd0,0)/boot/grub/splash.xpm.gz
39
40 title Gentoo Linux 2.6.31-r10
41 root (hd0,0)
42 kernel /boot/kernel-2.6.31-gentoo-r10 root=/dev/sda5
43
44 title Gentoo Linux 2.6.31-r10 -- genkernel
45 root (hd0,0)
46 kernel /boot/kernel-genkernel-x86-2.6.31-gentoo-r10 root=/dev/ram0 init=/linuxrc
47 ramdisk=8192 real_root=/dev/sda5
48 initrd /boot/initramfs-genkernel-x86-2.6.31-gentoo-r10
49
50 The first entry is for the manual configuration, while the second one is for the
51 kernel generated by genkernel.
52
53 Thanks,
54 Roc

Replies