Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [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 06:03:50
Message-Id: 4C204707.6060201@gmail.com
In Reply to: [gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w by rocwhite168
1 rocwhite168 wrote:
2 > Kaddeh<kaddeh<at> gmail.com> writes:
3 >
4 >> it would help to also put your /etc/fstaband let us know what FS you have root
5 >>
6 > setup asin addition to your /boot/grub/grub.conf
7 >
8 >> 2010/6/20 rocwhite168<rocwhite168<at> 163.com>
9 >> I used genkernel to configure the kernel. It complained every time at shutdown
10 >>
11 > that
12 >
13 >> "Code: Bad EIP value.
14 >>
15 >> ...
16 >> do_IRQ: 0.43 No irq handler for vector (irq -1)".
17 >> I had to press the power button to shut down the machine. How should I solve
18 >>
19 > this problem?
20 >
21 >> On the other hand, I'm trying to configure the kernel manually. I did this
22 >>
23 > according to several online tutorials, but it still won't even start up: "Root
24 > filesystem could not be mounted read/write." Can anyone please have a look at my
25 > configuration? Thank you very much!
26 >
27 >> Roc
28 >>
29 > fstab
30 > --------------------------------------
31 > /dev/sda1 /boot ext4 noauto,noatime 1 2
32 > /dev/sda5 / ext4 noatime 0 1
33 > /dev/sda3 /usr ext4 noatime 0 2
34 > /dev/sda4 /home ext4 noatime 0 2
35 > /dev/sda7 /tmp ext4 noatime 0 0
36 > /dev/sda6 none swap sw 0 0
37 > shm /dev/shm tmpfs nodev,nosuid,noexec
38 > 0 0
39 >
40 > grub.conf
41 > --------------------------------------
42 > default 0
43 > timeout 3
44 > #splashimage=(hd0,0)/boot/grub/splash.xpm.gz
45 >
46 > title Gentoo Linux 2.6.31-r10
47 > root (hd0,0)
48 > kernel /boot/kernel-2.6.31-gentoo-r10 root=/dev/sda5
49 >
50 > title Gentoo Linux 2.6.31-r10 -- genkernel
51 > root (hd0,0)
52 > kernel /boot/kernel-genkernel-x86-2.6.31-gentoo-r10 root=/dev/ram0 init=/linuxrc
53 > ramdisk=8192 real_root=/dev/sda5
54 > initrd /boot/initramfs-genkernel-x86-2.6.31-gentoo-r10
55 >
56 > The first entry is for the manual configuration, while the second one is for the
57 > kernel generated by genkernel.
58 >
59 > Thanks,
60 > Roc
61 >
62 >
63
64 I notice you are using ext4 for the root partition file system. Do you
65 have support for ext4 compiled in the kernel? Not as a module but built
66 into the kernel? Using modules is OK but things that it has to have to
67 get to the point where it can read the root partition and start loading
68 modules has to be built in, unless you want to go to the additional
69 effort to use a initrd.
70
71 Dale
72
73 :-) :-)

Replies