Gentoo Archives: gentoo-server

From: Chris Smart <taskara@××××××××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] linux-2.6.8-gentoo-r3 .config for RAID5, help?
Date: Thu, 16 Sep 2004 01:29:09
Message-Id: 200409161129.26795.taskara@internode.on.net
In Reply to: [gentoo-server] linux-2.6.8-gentoo-r3 .config for RAID5, help? by David Wuertele
1 On Thu, 16 Sep 2004 04:11 am, David Wuertele wrote:
2 > The problem:
3 >
4 > Kernel starts to boot, then spews garbage on screen, then hangs (I
5 > don't even get a kernel oops printout). I've tried several .config
6 > permutations, all with the same problem.
7 >
8 > I'm using the new install-x86-2004.2-r1-minimal.iso with a stage1
9 > tarball.
10 >
11 > The request:
12 >
13 > Could anyone please send me your *working* .config for
14 > linux-2.6.8-gentoo-r3?
15
16 Hi David,
17
18 I have attached a 2.6.8-r4 config (cause that's the latest gentoo-dev-sources
19 available) that I made specifically for your system, based on the info you
20 have given.
21
22 You will need to make sure you build the driver for the ide-controller
23 statically into your kernel (I have included via ide).
24
25 Also include parallel device support, and printing support if you need it, and
26 Firewire support - I have left these out.
27
28 I included SCSI as modules incase you want to use a usb thumb drive or cdrom
29 as a scsi device, but once again feel free to remove these if you dont' want
30 them :)
31
32 Not sure, but I assume the nic driver is via_rhine, which I have included as a
33 module - add to /etc/modules.autoload/kernel-2.6 or use hotplug (which you
34 prob should anyway)
35
36 Anyway run over it and add what you need.
37
38 >
39 > Even if your machine is nothing like mine, perhaps I can find some
40 > component of the kernel that you aren't using that causes mine to
41 > blow chunks.
42 >
43 > But if you have an ABIT VA-10 motherboard, PLEASE send me your
44 > working .config for ANY kernel!
45 >
46 > The machine:
47 >
48 > ABIT VA-10 motherboard
49 > VIA KM400 / VT8235 chipset
50 > VIA VT6103 10/100Mbps LAN
51 > S3 UniChrome 2D/3D Graphics
52 >
53 > AMD Barton 2500+ CPU
54 >
55 > PCI IDE controller (for extra two IDE bus)
56 >
57 > Seven 250GB drives
58 >
59 > The partitioning:
60 >
61 > /dev/hda1: / (ext3)
62 > /dev/hda2: linux auto raid
63 > /dev/hda3: swap
64 > /dev/hda4: /boot (ext3)
65 >
66 > /dev/hd{cdefgh}1: swap
67 > /dev/hd{cdefgh}2: linux auot raid
68 >
69 > raiddev /dev/md0 (reiserfs)
70 > raid-level 5
71 > nr-raid-disks 7
72 > nr-spare-disks 0
73 > persistent-superblock 1
74 > parity-algorithm left-symmetric
75 > chunk-size 32
76 > device /dev/hda2
77 > raid-disk 0
78 > device /dev/hdc2
79 > raid-disk 1
80 > device /dev/hdd2
81 > raid-disk 2
82 > device /dev/hde2
83 > raid-disk 3
84 > device /dev/hdf2
85 > raid-disk 4
86 > device /dev/hdg2
87 > raid-disk 5
88 > device /dev/hdh2
89 > raid-disk 6
90
91 Also, some advice - I notice your raid array consists of drives hdc/d/e/f/g
92
93 This means you must be using master slave combinations for IDE drives - this
94 will kill your performance, even with raid5 (infact could make is SLOWER than
95 if you just had 2 drives in raid1!)
96
97 IDE devices should always be on a single ide channel, if possible.
98
99 Anyway just a thought for you - if it were me, I would buy another cheap ide
100 controller and put everything on its own channel.
101
102 Hope this helps anyway,
103
104 Chris

Attachments

File name MIME type
david-2.6.8-gentoo-r4.config text/plain

Replies

Subject Author
[gentoo-server] Re: linux-2.6.8-gentoo-r3 .config for RAID5, help? David Wuertele <dave-gnus@×××××.com>
[gentoo-server] Re: linux-2.6.8-gentoo-r3 .config for RAID5, help? David Wuertele <dave-gnus@×××××.com>