Gentoo Archives: gentoo-user

From: Leandro Melo de Sales <leandroal@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Gentoo and SCSI + RAID
Date: Wed, 24 May 2006 18:38:05
Message-Id: 5bc4c4570605241128o792270c1w1af63cfc4b627d70@mail.gmail.com
In Reply to: [gentoo-user] Gentoo and SCSI + RAID by Leandro Melo de Sales
1 Just to complete information about the previous e-mail that I sent to
2 the list...
3
4 livecd ~ # lspci
5 00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
6 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
7 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
8 00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
9 00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
10 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
11 00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
12 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
13 00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
14 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
15 [Athlon64/Opteron] HyperTransport Technology Configuration
16 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
17 [Athlon64/Opteron] Address Map
18 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
19 [Athlon64/Opteron] DRAM Controller
20 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
21 [Athlon64/Opteron] Miscellaneous Control
22 00:19.0 Host bridge: Advanced Micro Devices [AMD] K8
23 [Athlon64/Opteron] HyperTransport Technology Configuration
24 00:19.1 Host bridge: Advanced Micro Devices [AMD] K8
25 [Athlon64/Opteron] Address Map
26 00:19.2 Host bridge: Advanced Micro Devices [AMD] K8
27 [Athlon64/Opteron] DRAM Controller
28 00:19.3 Host bridge: Advanced Micro Devices [AMD] K8
29 [Athlon64/Opteron] Miscellaneous Control
30 01:03.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
31 02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
32 Gigabit Ethernet (rev 03)
33 02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
34 Gigabit Ethernet (rev 03)
35 03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114
36 [SATALink/SATARaid] Serial ATA Controller (rev 02)
37 03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
38 03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
39 100] (rev 10)
40
41 2006/5/24, Leandro Melo de Sales <leandroal@×××××.com>:
42 > Hi list,
43 >
44 > I'm tired with my problem and I hope someone can help... the problem is:
45 >
46 > I have my / partition on /dev/sda1, including /boot. But 2 days ago
47 > when I did the gentoo instalation I put it on a wrong disk. /
48 > partition must be /dev/sdb2, that is connected to a SCSI controler
49 > different than /dev/sda, that is connected in another one. Well, when
50 > I had / on /dev/sda1 I setup lilo.conf and everything works fine:
51 >
52 > image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
53 > label = Gentoo
54 > read-only # read-only for checking
55 > root=/dev/ram0
56 > append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev"
57 > initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7
58 >
59 > But as I said (due to my company rules) I have to put / partition on
60 > /dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1
61 > data to /dev/sdb2. After this I change the lilo.conf as follows:
62 >
63 > image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
64 > label = Gentoo
65 > read-only # read-only for checking
66 > root=/dev/ram0
67 > append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev"
68 > initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7
69 >
70 > But, when I boot the computer I got the following message:
71 >
72 > >>Mounting root...
73 > mkdir: Cannot create directory '/newroot/tmp':Read-only file system
74 > mkdir: //newroot/dev/console: No such file or directory
75 > mknod: //newroot/dev/tty1: No such file or directory
76 > Booting (initramfs)......
77 > chroot: cannot execute /bin/sh: No such file or directory
78 > Kernel panic - not syncing: Attempted to kill init!
79 >
80 > I put Adaptec AARAID module *build in* in the kernel, without it the
81 > /dev/sdb2 is not recognized. I generated the kernel using genkernel
82 > --menuconfig all.
83 >
84 > Any clue?
85 >
86 > Thank you very much.
87 >
88 > Leandro.
89 >
90
91
92 --
93 Leandro Melo de Sales.
94 Computer Science Student
95 Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
96 Laboratório de Sistemas Embarcados e Computação Pervasiva -
97 www.embeddedacademy.org
98 Universidade Federal de Campina Grande - UFCG
99 Campina Grande - PB - Brasil
100
101 --
102 gentoo-user@g.o mailing list