Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems booting my server - ext2 - e2fsck
Date: Wed, 28 Jul 2010 18:15:04
Message-Id: 4C50736D.2080302@gmail.com
In Reply to: Re: [gentoo-user] Problems booting my server - ext2 - e2fsck by KH
1 On 07/28/2010 09:37 AM, KH wrote:
2 > Am 28.07.2010 17:27, schrieb Bill Longman:
3 >> On 07/28/2010 07:56 AM, KH wrote:
4 >>> Am 28.07.2010 15:45, schrieb Bill Longman:
5 >>>>
6 >>>> Konstantin, please post what your kernel has for IDE support. If you
7 >>>> have /proc/config.gz, then please post the results from "zgrep IDE
8 >>>> /proc/config.gz" so we can get an idea of why you have no /dev/hd*
9 >>>> devices. We will also need to know what kind of disk controller your
10 >>>> server really has. Are they IDE or SATA controllers?
11 >>>>
12 >>>
13 >>> Hi Bill,
14 >>>
15 >>> Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
16 >>> /boot. btw it is a p3 coppermine.
17 >>>
18 >>> This is the output from zgrep IDE /proc/config.gz .
19 >>>
20 >>>
21 >>> CONFIG_HAVE_IDE=y
22 >>> CONFIG_IDE=y
23 >>> # Please see Documentation/ide/ide.txt for help/info on IDE drives
24 >>> CONFIG_IDE_XFER_MODE=y
25 >>> CONFIG_IDE_TIMINGS=y
26 >>> CONFIG_IDE_ATAPI=y
27 >>> # CONFIG_BLK_DEV_IDE_SATA is not set
28 >>> CONFIG_IDE_GD=y
29 >>> CONFIG_IDE_GD_ATA=y
30 >>> CONFIG_IDE_GD_ATAPI=y
31 >>> CONFIG_BLK_DEV_IDECD=y
32 >>> CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
33 >>> # CONFIG_BLK_DEV_IDETAPE is not set
34 >>> CONFIG_BLK_DEV_IDEACPI=y
35 >>> # CONFIG_IDE_TASK_IOCTL is not set
36 >>> CONFIG_IDE_PROC_FS=y
37 >>> # IDE chipset support/bugfixes
38 >>> CONFIG_IDE_GENERIC=y
39 >>> # CONFIG_BLK_DEV_IDEPNP is not set
40 >>> CONFIG_BLK_DEV_IDEDMA_SFF=y
41 >>> # PCI IDE chipsets support
42 >>> CONFIG_BLK_DEV_IDEPCI=y
43 >>> CONFIG_IDEPCI_PCIBUS_ORDER=y
44 >>> CONFIG_BLK_DEV_IDEDMA_PCI=y
45 >>> CONFIG_BLK_DEV_IDEDMA=y
46 >>> # CONFIG_VIDEO_DEV is not set
47 >>> # CONFIG_VIDEO_MEDIA is not set
48 >>> # CONFIG_VIDEO_OUTPUT_CONTROL is not set
49 >>> # CONFIG_FB_TRIDENT is not set
50 >>> # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
51 >>
52 >> I would expect to see:
53 >>
54 >> CONFIG_BLK_DEV_PIIX=y
55 >>
56 >> in your configuration given that it's a Coppermine. You might want to
57 >> add that in the 2.6.30 and the 2.6.34 kernels, although DEV_GENERIC
58 >> should give you what you need, as you are probably using that right now.
59 >>
60 >> Use "make menuconfig" to configure the kernel. Make sure it's "<*>" not
61 >> "<M>" for the PIIX controller and then rebuild and install the kernel.
62 >>
63 >> Do you have "lspci" installed? The results from "lspci -v" would be very
64 >> helpful right now.
65 >>
66 >>> I just tried /etc/init.de/udev resart . I am getting errors not to use
67 >>> the script with baselayout-1 . The box is very slow now. Will reboot and
68 >>> see what baselayout is on it.
69 >>
70 >> Yeah, don't worry about this right now.
71 >>
72 >
73 > lspci:
74 >
75 > 00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and
76 > Memory Controller Hub (rev 02)
77 > Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
78 > Flags: bus master, fast devsel, latency 0
79 > Memory at f8000000 (32-bit, prefetchable) [size=64M]
80 > Capabilities: [88] Vendor Specific Information <?>
81 > Capabilities: [a0] AGP version 2.0
82 > Kernel driver in use: agpgart-intel
83 >
84 > 00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev
85 > 02) (prog-if 00 [Normal decode])
86 > Flags: bus master, 66MHz, fast devsel, latency 64
87 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
88 > Memory behind bridge: ee000000-efefffff
89 > Prefetchable memory behind bridge: eff00000-f7ffffff
90 >
91 > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02) (prog-if
92 > 00 [Normal decode])
93 > Flags: bus master, fast devsel, latency 0
94 > Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
95 > I/O behind bridge: 0000d000-0000dfff
96 > Memory behind bridge: ed800000-edffffff
97 >
98 > 00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
99 > Flags: bus master, medium devsel, latency 0
100 >
101 > 00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller
102 > (rev 02) (prog-if 80 [Master])
103 > Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
104 > Flags: bus master, medium devsel, latency 0
105 > [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
106 > [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
107 > [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
108 > [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
109 > I/O ports at b800 [size=16]
110 > Kernel driver in use: PIIX_IDE
111 >
112 > 00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
113 > (rev 02) (prog-if 00 [UHCI])
114 > Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
115 > Flags: bus master, medium devsel, latency 0, IRQ 12
116 > I/O ports at b400 [size=32]
117 > Kernel driver in use: uhci_hcd
118 >
119 > 00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 02)
120 > Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
121 > Flags: medium devsel, IRQ 10
122 > I/O ports at e800 [size=16]
123 >
124 > 00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
125 > (rev 02) (prog-if 00 [UHCI])
126 > Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
127 > Flags: bus master, medium devsel, latency 0, IRQ 6
128 > I/O ports at b000 [size=32]
129 > Kernel driver in use: uhci_hcd
130 >
131 > 01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2
132 > MX200] (rev b2) (prog-if 00 [VGA controller])
133 > Subsystem: ABIT Computer Corp. Device 6106
134 > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
135 > Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
136 > Memory at f0000000 (32-bit, prefetchable) [size=128M]
137 > Expansion ROM at efff0000 [disabled] [size=64K]
138 > Capabilities: [60] Power Management version 2
139 > Capabilities: [44] AGP version 2.0
140 > Kernel modules: nvidia
141 >
142 > 02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
143 > RTL-8139/8139C/8139C+ (rev 10)
144 > Subsystem: Allied Telesyn International AT-2500TX/ACPI
145 > Flags: bus master, medium devsel, latency 32, IRQ 5
146 > I/O ports at d800 [size=256]
147 > Memory at ed800000 (32-bit, non-prefetchable) [size=256]
148 > Capabilities: [50] Power Management version 2
149 > Kernel driver in use: 8139too
150 >
151 >
152
153 Well this is very strange indeed. If I were you, I would rebuild the
154 2.6.34 kernel with "make menuconfig".
155
156 In the Device Drivers section, (this is for 2.6.34!), turn OFF the
157 deprecated ATA/ATAPI/MFM/RLL support. That corresponds to CONFIG_IDE in
158 your .config. Then, turn ON, Serial ATA and Parallel ATA drivers which
159 corresponds to CONFIG_ATA in your .config. Then, under Serial ATA,
160 you'll need to turn on ATA SFF and then Intel ESB, ICH, PIIX3, PIIX4
161 PATA/SATA support.
162
163 Rebuild the kernel as normal and give that a try. Indeed, it is not at
164 all obvious to me how you cannot have /dev/hda devices while having
165 /dev/hda3 mounted. Unless your /dev filesystem is goofed up and you're
166 saving a bad copy of it, they should be there. You might want to try
167 "udevadm info --query=all --name=hda" or various permutations of that to
168 see what is going on.

Replies

Subject Author
Re: [gentoo-user] Problems booting my server - ext2 - e2fsck Peter Humphrey <peter@××××××××××××××.org>