| View previous topic :: View next topic |
| Author |
Message |
Drasica Tux's lil' helper


Joined: 16 Apr 2006 Posts: 133
|
Posted: Thu Oct 30, 2008 5:22 pm Post subject: HP DL360 w/ Minimal Install |
|
|
I'm trying to install gentoo on a HP DL360 which uses the SmartArray 5i raid controller. I've initailaized a raid1 mirrored logical volume with the controller, and now I'm using fdisk to partition...
But when I type fdisk /dev/rd/c0d0, I get an 'Unable to Open' error.
I've tried /dev/ida/c0d0, /dev/sda, and dev/hda (even thought it shouldn't be any of those), and those don't work either.
Is it a driver thing because I'm using the minimal disk? (I am new to doing installs on servers, excuse my ignorance)
If not, what am I doing wrong?! |
|
| Back to top |
|
 |
davascript l33t


Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Sat Nov 01, 2008 5:02 am Post subject: |
|
|
If it is a driver issue the array won't show up when running the following command:
Try that it should give you the device path if it isn't a kernel module issue. _________________ Registered Linux User # 451058 |
|
| Back to top |
|
 |
elgato319 Guru

Joined: 15 Sep 2005 Posts: 546
|
Posted: Mon Nov 03, 2008 8:07 am Post subject: |
|
|
| did you try: /dev/cciss/c0d0 ? |
|
| Back to top |
|
 |
Drasica Tux's lil' helper


Joined: 16 Apr 2006 Posts: 133
|
Posted: Tue Nov 04, 2008 12:15 am Post subject: |
|
|
I did use fdisk -l, and I cciss/c0d0 worked. Thanks!
...But new problem:
Everything has installed fine, but I've run into grub problems.
I had trouble with grub install using cciss/c0d0 (no entry in the dev map), so I put (hd0) /dev/cciss/c0d0 in grub's device.map, and the 'grub install' then ran fine.
But it won't boot!
It the kernel loads a little way and then there's a kernel panic: not syncing:VFS: Unable to mount root fs on unknown-block (1,0)
Do I need to install a cciss module? Could someone give me a pointer as to what it would be called and how I would find it in menuconfig? |
|
| Back to top |
|
 |
elgato319 Guru

Joined: 15 Sep 2005 Posts: 546
|
Posted: Tue Nov 04, 2008 2:36 pm Post subject: |
|
|
I have this compiled into the kernel:
| Code: | | <*> Compaq Smart Array 5xxx support |
Device Drivers -> Block Devices
| Code: |
c0d0p1 Compaq diagnostics
c0d0p2 Linux - /boot
c0d0p3 Linux swap
c0d0p4 Linux - /
|
device.map
| Code: |
(fd0) /dev/fd0
(hd0) /dev/cciss/c0d0
|
menu.lst
| Code: |
title=Gentoo
root (hd0,1)
kernel /boot/vmlinuz root=/dev/cciss/c0d0p4
title=Gentoo-fallback
root (hd0,1)
kernel /boot/vmlinuz.old root=/dev/cciss/c0d0p4
title=Memtest86Plus
root (hd2,-1)
kernel /boot/memtest86plus/memtest.bin
title Compaq Diagnostics
root (hd0,0)
chainloader +1
|
|
|
| Back to top |
|
 |
Drasica Tux's lil' helper


Joined: 16 Apr 2006 Posts: 133
|
Posted: Tue Nov 04, 2008 7:22 pm Post subject: |
|
|
OK,
so I've rebuilt the kernel so that the cciss driver is built in... but I'm getting the same error. I still think it may be a driver thing because when I get the VFS it says:
VFS: cannot open root device: "cciss/c0d0p3"
Please append a correct "root=" boot option; here are the available partitions:
0100 4096 ram0 (driver?)
..
.
.. etc until
010f 4096 ram15 (driver?)
0300 4194320 hda driver: ide-cdrom
The lack of anything cciss/c0d0 in the above list makes me thing I'm still missing drivers.
I have ext3 and everything compiled. Do I need to add any scsi drivers other than what is defaultly checked in menuconfig? |
|
| Back to top |
|
 |
elgato319 Guru

Joined: 15 Sep 2005 Posts: 546
|
Posted: Wed Nov 05, 2008 11:15 am Post subject: |
|
|
those should be enough:
| Code: |
<*> SCSI device support
<*> SCSI generic support
|
i presume that c0d0p3 is your root partition? |
|
| Back to top |
|
 |
Drasica Tux's lil' helper


Joined: 16 Apr 2006 Posts: 133
|
Posted: Wed Nov 05, 2008 5:56 pm Post subject: |
|
|
Yes, c0d0p3 is my root.
I have SCSI support enabled and the SmartArray driver built in. What on earth could i be doing wrong?!! |
|
| Back to top |
|
 |
Drasica Tux's lil' helper


Joined: 16 Apr 2006 Posts: 133
|
Posted: Fri Nov 07, 2008 3:15 pm Post subject: |
|
|
I don't need an initrd, do I?
What do the ram0 (driver?) messages mean? |
|
| Back to top |
|
 |
nativemad Developer


Joined: 30 Aug 2004 Posts: 759 Location: Switzerland
|
Posted: Fri Nov 07, 2008 4:46 pm Post subject: |
|
|
The only thing that the initrd would offer in your case would be a minimal shell, where you could look, if the devices are in their place....
just emerge genkernel and do an genkernel initrd and you should get one!
i think the ram0 is just for shm (ramdrive)
You could try out from the livecd which module is really the right one... just rmmod until the array disappears...
It could also be, that the array becomes a different naming with different kernels.......
Cheers _________________ Power to the people! |
|
| Back to top |
|
 |
Frustie Tux's lil' helper


Joined: 31 Aug 2007 Posts: 94 Location: My own little planet.
|
Posted: Tue Jan 24, 2012 4:21 pm Post subject: |
|
|
I know im bumping a very old topic, but just in case anyone else used the power of google,
| Code: | root (hd1,0)
kernel /boot/kernel-genkernel-x86_64-3.1.6-gentoo real_root=/dev/cciss!c0d1p1 vga=788
initrd /boot/initramfs-genkernel-x86_64-3.1.6-gentoo
|
it's and ! (exclamation mark) _________________ If we ignore it maybe it will go away. |
|
| Back to top |
|
 |
|