Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Gentoo on a Compaq Proliant DL380 (with SmartArray 5300)

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
116 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
Author
Message
TiGeR WooD
n00b
n00b
Posts: 44
Joined: Sun Dec 11, 2005 5:14 pm
Location: Belgium

  • Quote

Post by TiGeR WooD » Sat Mar 18, 2006 1:22 pm

hi all, i read all posts here but nothing help me to find a solution ...

anyone have an idea ?

here is my post
http://forums.gentoo.org/viewtopic-t-444193.html


thx a lot ...
Top
chaosboy
n00b
n00b
Posts: 11
Joined: Fri Nov 14, 2003 6:35 pm

  • Quote

Post by chaosboy » Thu Jul 27, 2006 2:34 pm

I know I am probally missing something very simple, but i've gone over my server build and kernel config over and over and I can't figure out what I'm missing. When I boot from the Gentoo 2006.0 CD, lspci shows all of my PCI devices. When I boot from the hard drive, only a few PCI devices show up. Most notably, the Broadcom Host Bridge is not on the list as well as the IDE and USB contollers (I really need to get USB working). Unlike most people posting here, I have no issues with the array controller and my NICs work fine. The PCI hot plug shows up, and I have built in support for it. The server otherwise functions as it should. I know this is something I am just over looking. Can anyone help point me the right direction? Any ideas would be GREATLY appreciated!
~robert
Top
allengwinn
n00b
n00b
Posts: 3
Joined: Mon Aug 21, 2006 12:47 pm

Error booting the /root partition after kernel upgrade

  • Quote

Post by allengwinn » Tue Jan 09, 2007 8:10 pm

I just finished doing a major update on one of our DL380's and wanted to share something. After getting the kernel compiled, copied, and LILO configured (yes, we use LILO on our DL380's because it's been alot less trouble than grub--but I don't want the debate :) ... we rebooted and it wouldn't recognize /dev/cciss/c1d0p3 as it's /root partition.

I shelled out into the RAMdisk and looked in /dev. Instead of a cciss directory, I found the devices listed as "cciss!c1d0p1" through "cciss!c1d0p4".

So I changed /etc/lilo.conf to reflect append="append="init=/linuxrc ramdisk=8192 real_root=/dev/cciss!c1d0p3 udev".

Rebooted, and everything works just fine.

So if you find yourself missing a /root partition, you might want to be sure the device is really there and how the device is reflected in the initrd.

Hope this helps someone.
Top
mediapirate
n00b
n00b
Posts: 13
Joined: Fri Jul 07, 2006 4:22 pm

Installing Groub No MBR found upon reboot

  • Quote

Post by mediapirate » Fri Jan 26, 2007 8:06 pm

I've been reading up on this thread and I'm still stuck with configuring Grub. Here's my details bellow.

/DEV/C1D1
- /DEV/CCISS/C1D1P3 = HOME
- /DEV/CCISS/C1D1P1 = BOOT
- /DEV/CCISS/C1D1P2 = SWAP

/DEV/C1D0
- /DEV/CCISS/C1D0P1 = ROOT

Configuring Grub-

1) Grub
2) device (hd0) /DEV/CCISS/C1D1
3)root (hd0,0)
Filesystem type is reiserfs, partition type 0x83
4) setup (hd0)
checking if "/boot/grub/stage1" exists... yes
checking if "/boot/grub/stage2" exists... yes
checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 18 sectors are embedded succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.list ... succeeded Done.
5) quit

6) Reboot

7) It doesn't even load Grub, it sits as though it doesn't fine the MBR.

This is a DL380 G3 with 1-RAID5 and 1-RAID1 ... the ROOT is loaded on RAID1 and the rest on the RAID5.

FSTAB

/dev/cciss/c1d1p1 /boot reiserfs noatime 1 2
/dev/cciss/c1d0p1 / reiserfs noatime,notail 0 0
/dev/cciss/c1d1p2 none swap sw 0 0
/dev/cciss/c1d1p3 /home reiserfs noatime,notail 0 0

ANY help would be greatly appreciated!!!
Top
wizard69
Apprentice
Apprentice
User avatar
Posts: 178
Joined: Mon Sep 22, 2003 10:43 am
Location: Berlin

  • Quote

Post by wizard69 » Fri Mar 09, 2007 1:34 pm

THX a lot Guys this thread helped me successfully complete my install on a HP ProLiant DL380 G5. I was also having problems installing grub which wouldn't recognize a disk to write to. Before i found this thread i stumbled accross this blog which proved to be extremly helpful


http://nozell.com/blog/2004/05/08/some- ... ment-76534

This is what i did to get grub up and running

Make sure /boot/grub/device.map is setup right and looks like this mine only had an entry for fd0:

Code: Select all

(fd0)     /dev/fd0
(hd0)     /dev/cciss/c0d0


Run grub like this:

Code: Select all

/sbin/grub --batch --device-map=/boot/grub/device.map --no-floppy
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
Perhaps it might help someone
Top
WhiteHat237
n00b
n00b
User avatar
Posts: 21
Joined: Thu Jun 22, 2006 8:24 pm

New problem with cciss and udev?

  • Quote

Post by WhiteHat237 » Fri Jul 20, 2007 8:11 pm

Ok I've gotten past the grub install issue thanks to the help of this thread, however I ran into a new problem.

During boot, right after activating mdev, and determining root device, it tells me:
!!The root block device is unspecified or not detected. Please specify a device to boot, or "shell" for a shell...
Here's what I did to resolve this issue:

I typed shell to get a shell.

I loaded the cciss kernel module

Code: Select all

modprobe cciss
Next I created the directory which didn't exist.

Code: Select all

mkdir /dev/cciss
Used this command to identify the partitions on the raid 1 array.

Code: Select all

cat /proc/partitions
Which returned...

Code: Select all

major minor  #blocks  name

 104     0  143367120 cciss/c0d0
 104     1      53024 cciss/c0d0p1
 104     2    2003280 cciss/c0d0p2
 104     3  141310800 cciss/c0d0p3
Used the following commands to create /dev/cciss/c0d0px entries

Code: Select all

mknod /dev/cciss/c0d0 b 104 0 
mknod /dev/cciss/c0d0p1 b 104 1 
mknod /dev/cciss/c0d0p2 b 104 2 
mknod /dev/cciss/c0d0p3 b 104 3
This command was also required to create console entries The kernel panics with out them!

Code: Select all

mknod -m 660 console c 5 1
mknod -m 660 null c 1 3
Then I had to exit the shell and specify the root device as /dev/cciss/c0d0p3

After that the box finished booting and I got a login prompt.

My question is, how can I fix udev so that it correctly detects the Smart array 5i controller, and creates the cciss folder and c0d0 objects? Do I need to tinker with one of the rules? Is this a known bug?
Top
WhiteHat237
n00b
n00b
User avatar
Posts: 21
Joined: Thu Jun 22, 2006 8:24 pm

  • Quote

Post by WhiteHat237 » Mon Jul 23, 2007 11:34 pm

Never mind, this was a kernel problem. It helps to boot the right kernel :D
Top
Raposatul
n00b
n00b
Posts: 53
Joined: Tue Sep 25, 2007 9:53 am

  • Quote

Post by Raposatul » Tue Feb 26, 2008 3:46 pm

Hello guys,

Like anyone of this thread I've got a problem.

After installing the grub and rebooted, grub fails to load, it says it Error 15: file not found.

I've installed Grub with the commands:
/sbin/grub –batch /dev/null 2>/dev/null
device (hd0) /dev/cciss/c0d0
root (hd0,0)
setup (hd0)
quit
(chroot) livecd init.d # fdisk -l

Disk /dev/cciss/c0d0: 293.5 GB, 293564211200 bytes
255 heads, 32 sectors/track, 70265 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 25 101984 83 Linux
/dev/cciss/c0d0p2 26 505 1958400 82 Linux swap / Solaris
/dev/cciss/c0d0p3 506 5293 19535040 83 Linux
/dev/cciss/c0d0p4 5294 70265 265085760 83 Linux
Course I tried the path in grub to be /dev/cciss/c0d0p3 , like fdisk said. But it just fails to load.

My fstab is:
/dev/cciss/c0d0p1 /boot ext2 noatime 0 1
/dev/cciss/c0d0p3 / reiserfs noatime,notail 0 2
/dev/cciss/c0d0p2 none swap sw,pri=1 0 0
/dev/cciss/c0d0p4 /var reiserfs noatime,notail 0 3
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
I don't understand what OTHER path could be, except the path specified by fdisk...

PS: I use Smart Array P400 as a controller anr RAID 1+0.
Top
theholymac
n00b
n00b
Posts: 56
Joined: Wed Jun 28, 2006 6:06 pm
Location: Probably at the solar car shop in St. Paul

  • Quote

Post by theholymac » Sun Mar 16, 2008 6:49 am

This thread is a great help.

DL360 G2, dual 1.4GHz PIII processors. 5i raid controller, which uses the cciss module, NOT cpqarray. This is the module to use for the G3 as well.

The current (2007.0) livecd would not boot, so I dug out one of my old Knoppix livecds (3.9, I think?) and installed gentoo from there.

I used the /dev/cciss/c0d0px nomenclature everywhere, it worked fine in both fstab and grub.
Like WhiteHat237, I had to manually create the /dev/cciss and the entries within when booted from the livecd.

Code: Select all

cat /proc/partitions
Should return something like

Code: Select all

major minor  #blocks  name

 104     0  143367120 cciss/c0d0
 104     1      53024 cciss/c0d0p1
 104     2    2003280 cciss/c0d0p2
 104     3  141310800 cciss/c0d0p3

I then used the following commands to create /dev/cciss/c0d0px entries

Code: Select all

mknod /dev/cciss/c0d0 b 104 0
mknod /dev/cciss/c0d0p1 b 104 1
mknod /dev/cciss/c0d0p2 b 104 2
mknod /dev/cciss/c0d0p3 b 104 3
FInally, grub did not work right off the bat.

I manually edited /boot/grub/device.map as follows:

Code: Select all

(fd0)     /dev/fd0
(hd0)     /dev/cciss/c0d0 
Then:

Code: Select all

emerge grub
grub --device-map /boot/grub/device.map
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
grub setup was straightforward from here, and no surprises with fstab either.
As noted above, both grub at fstab use /dev/cciss/c0d0px style labeling.

The 10/100/1000 ethernet on the G2 model DL360 uses the tg3 driver.

I'm actually still having problems getting the ethernet working, on a gentoo-2.6.24-r3 kernel, network errors out at boot with:

Code: Select all

Error, eth0: socket: Address family not supported by protocol
Ideas?
Top
theholymac
n00b
n00b
Posts: 56
Joined: Wed Jun 28, 2006 6:06 pm
Location: Probably at the solar car shop in St. Paul

  • Quote

Post by theholymac » Mon Mar 17, 2008 8:46 am

Nevermind, fixed
Top
justincataldo
Guru
Guru
User avatar
Posts: 376
Joined: Wed Jun 15, 2005 11:44 pm
Location: Australia

  • Quote

Post by justincataldo » Tue Jul 08, 2008 2:45 am

Thanks for this! 8)
Top
ahbang
n00b
n00b
Posts: 1
Joined: Mon Aug 18, 2008 4:52 am

  • Quote

Post by ahbang » Mon Aug 18, 2008 10:27 am

Thanks to everyone for writing to this thread - was installing on a Compaq DL360 G2 smart array 5i RAID1 with a 2007 gentoo liveCD.
(need to boot liveCD interactively and couldn't install networkless, so used the normal network install)

Exact same problems with grub and this
!!The root block device is unspecified or not detected. Please specify a device to boot, or "shell" for a shell...
My solution is to simply change the real_root device in grub.conf
from real_root=/dev/cciss/c0d0p3 to real_root=/dev/cciss!c0d0p3

Seems like most proliants will have this problem and is actually documented at
http://gentoo-wiki.com/HARDWARE_HP_Prol ... Bootloader
Top
jzc-az
n00b
n00b
Posts: 1
Joined: Thu Sep 18, 2008 5:31 pm

  • Quote

Post by jzc-az » Sun Sep 21, 2008 12:47 am

I want to drop a note about this as I just did an install on a DL360 G3.

I just booted the latest Gentoo LiveCD, went thru the steps in installing and only had a tiny bit of problem in getting GRUB installed and this link
ahbang wrote:
Seems like most proliants will have this problem and is actually documented at
http://gentoo-wiki.com/HARDWARE_HP_Prol ... Bootloader
helped in getting it installed and ready to go. Rebooted and had a problem in finding the right kernel as I did emerge kernel-sources and genkernel it. corrected it and rebooted and it all came right up.

It was fun install.

jzc
Top
Fog_Watch
Apprentice
Apprentice
User avatar
Posts: 271
Joined: Mon Jul 24, 2006 2:58 am
Location: Utility Muffin Research Kitchen

  • Quote

Post by Fog_Watch » Sat May 16, 2009 6:36 am

preacher wrote:

Code: Select all

cat CP005083.scexe | sed s/"tail +$_SKIP"/"tail -n +$_SKIP"/ > CP005083.scexe2
Excellent. With this I was able to flash my DL380 G3.
Top
Fog_Watch
Apprentice
Apprentice
User avatar
Posts: 271
Joined: Mon Jul 24, 2006 2:58 am
Location: Utility Muffin Research Kitchen

  • Quote

Post by Fog_Watch » Sat May 16, 2009 6:40 am

jzc-az wrote:getting GRUB installed
I had to device (hd0) /dev/cciss/c0d0 to get grub going on a DL380 G3.
Top
uprooter
n00b
n00b
Posts: 70
Joined: Sun Mar 06, 2005 9:08 pm

CCIS Speed

  • Quote

Post by uprooter » Wed Jan 06, 2010 11:03 pm

I don't want to soil the party
but have you noticed this:
http://bugzilla.kernel.org/show_bug.cgi?id=13127

cciss is very slow on recent kernel.
Top
Post Reply

116 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic