Gentoo Archives: gentoo-user

From: "Iván Pérez Domínguez" <ivanperezdominguez@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel hangs after detecting the hard disk
Date: Thu, 26 Apr 2007 22:40:43
Message-Id: 46314511.2060006@gmail.com
In Reply to: Re: [gentoo-user] Kernel hangs after detecting the hard disk by "Guillermo A. Amaral"
1 Guillermo A. Amaral wrote:
2 > On Thursday 26 April 2007 17:05, Iván Pérez Domínguez wrote:
3 >> Looks like I've come with a different situation now:
4 >>
5 >> I installed Ubuntu in a different partition, it works fine.
6 >> I took it's kernel's config and tried to recompile gentoo's with it.
7 >>
8 >> Things are a little better now, but looks like it cannot find /dev/hda2
9 >> (my root partition) nor /dev/sda2. Since no root can be found, it cannot
10 >> boot, and remains asking for the root password. If I log in, I cannot
11 >> access my files in any way. I don't know why.
12 >>
13 >> On the other hand, I also tried to boot Gentoo using Ubuntu's kernel by
14 >> setting root=/dev/sda2 (Gentoo's root partition) instead of
15 >> root=/dev/sda3 (Ubuntu's). It goes perfectly (it even mounts the root
16 >> partition), but stops after trying to remount proc (it cannot be mounted
17 >> because it has already been mounted) since it's considered a critical task.
18 >>
19 >> Any ideas?
20 >>
21 >> Shall I send the new kernel config as well?
22 >>
23 Here's the lspci. (It doesn't look very legible in my thunderbird, hope
24 it's not the same for you).
25
26 00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O
27 Controller (rev 21)
28 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP
29 Controller (rev 21)
30 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
31 (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
32 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
33 (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
34 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
35 (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
36 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
37 EHCI Controller (rev 03)
38 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
39 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
40 Bridge (rev 03)
41 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE
42 Controller (rev 03)
43 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
44 SMBus Controller (rev 03)
45 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
46 (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
47 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
48 AC'97 Modem Controller (rev 03)
49 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility
50 Radeon 9600 M10]
51 02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705
52 Gigabit Ethernet (rev 03)
53 02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG
54 Network Connection (rev 05)
55 02:06.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus
56 Controller (rev 02)
57 02:06.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
58
59 The kernel config is included as an attachment.
60
61 >> btw, is there any web site with a huge database with config files or
62 >> parts of them for different hardware, distributions (if applicable), and
63 >> kernels? (I already did my homework trying to find it) If not, I think
64 >> that would be a great idea.
65 >>
66 >> Iván Pérez Domínguez wrote:
67 >>> Hans-Werner Hilse wrote:
68 >>>> Hi,
69 >>>>
70 >>>> On Tue, 24 Apr 2007 21:07:38 +0200
71 >>>>
72 >>>> Iván Pérez Domínguez <ivanperezdominguez@×××××.com> wrote:
73 >>>>> I'm having another problem, this time it's a kernel related problem.
74 >>>>> I'm currently using kernel 2.6.13, and most things work fine. However,
75 >>>>> when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my
76 >>>>> laptop hangs after detecting the hard disk. If I don't use initrd, it
77 >>>>> stops when udev is loaded.
78 >>>> What's the last (few lines of) message on screen?
79 >>>>
80 >>>> Did you configure your kernel to use the new libata stuff instead of
81 >>>> traditional IDE drivers?
82 >>> I don't know. That might be the problem.
83 >>>
84 >>> The old kernel config (2.6.13) is attached. I tried to change it but
85 >>> couldn't find any good combination.
86 >>>
87 >>>> -hwh
88 >>> Cheers,
89 >>> Ivan.
90 >
91 > Can you provide the LSPCI output and the .config for your kernel?
92 >

Attachments

File name MIME type
.config text/plain

Replies

Subject Author
Re: [gentoo-user] Kernel hangs after detecting the hard disk "Guillermo A. Amaral" <me@×××××××××××××××.com>