Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I installed Gentoo on a HP Proliant ML300
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Fr0d083
n00b
n00b


Joined: 08 Feb 2004
Posts: 34

PostPosted: Mon May 10, 2004 4:28 pm    Post subject: How I installed Gentoo on a HP Proliant ML300 Reply with quote

Ok since there are probably a few different models of this computer I am going to specifically list the hardware that is in this box, since it was quite a pain to get this working. These are instructions for getting this box working with the 2.6.5 kernel.

Code:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: ServerWorks GCNB-LE Host Bridge (rev 50).
  Bus  0, device   0, function  1:
    Host bridge: ServerWorks GCNB-LE Host Bridge (#2) (rev 0).
  Bus  0, device   3, function  0:
    VGA compatible controller: ATI Technologies Inc Rage XL (rev 39).
      Master Capable.  Latency=64.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0xf7000000 [0xf7ffffff].
      I/O at 0x2400 [0x24ff].
      Non-prefetchable 32 bit memory at 0xf6ff0000 [0xf6ff0fff].
  Bus  0, device   4, function  0:
    Ethernet controller: Broadcom Corporation NetXtreme BCM5702 Gigabit Ethernet (rev 2).
      IRQ 3.
      Master Capable.  Latency=64.  Min Gnt=64.
      Non-prefetchable 64 bit memory at 0xf6fe0000 [0xf6feffff].
  Bus  0, device   5, function  0:
    System peripheral: Compaq Computer Corporation Advanced System Management Controller (rev 0).
      IRQ 5.
      I/O at 0x1800 [0x18ff].
      Non-prefetchable 32 bit memory at 0xf6fd0000 [0xf6fd00ff].
  Bus  0, device   6, function  0:
    SCSI storage controller: Adaptec AIC-7892A U160/m (rev 2).
      IRQ 10.
      Master Capable.  Latency=64.  Min Gnt=40.Max Lat=25.
      I/O at 0x2800 [0x28ff].
      Non-prefetchable 64 bit memory at 0xf6fc0000 [0xf6fc0fff].
  Bus  0, device   7, function  0:
    RAID bus controller: PCI device 0e11:0046 (Compaq Computer Corporation) (rev 1).
      IRQ 11.
      Master Capable.  Latency=64.
      Non-prefetchable 64 bit memory at 0xf6fb0000 [0xf6fb1fff].
      I/O at 0x2c00 [0x2cff].
      Non-prefetchable 64 bit memory at 0xf6f40000 [0xf6f7ffff].
  Bus  0, device   8, function  0:
    Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8).
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xf6f30000 [0xf6f30fff].
      I/O at 0x3000 [0x303f].
      Non-prefetchable 32 bit memory at 0xf6e00000 [0xf6efffff].
  Bus  0, device  14, function  0:
    IDE interface: PCI device 1166:0217 (ServerWorks) (rev 160).
      I/O at 0x2000 [0x200f].
  Bus  0, device  15, function  0:
    ISA bridge: ServerWorks CSB6 South Bridge (rev 160).
      Master Capable.  Latency=32.
  Bus  0, device  15, function  2:
    USB Controller: ServerWorks CSB6 OHCI USB Controller (rev 5).
      IRQ 3.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xf6df0000 [0xf6df0fff].
  Bus  0, device  15, function  3:
    Host bridge: ServerWorks GCLE-2 Host Bridge (rev 0).


If you are using a live CD to install Gentoo you must modprobe cciss to be able to access your disc partitions. On the live CD your hard disk devices will be listed under /dev/cciss/disc0/partX. If you are not using the live CD I recommend that you do because that is how I got everything working. I tried knoppix at first, but I couldn't get things to work properly under it.

After you inish finstalling Gentoo the first challenge is going to be installing grub. What I did was create my own /boot directory on the partition that holds my kernel and copy the /boot/grub directory from another computer to a floppy disc. I then copied the grub files to /boot/grub. The reason I did this is because if you try to run
Code:
grub-install /dev/cciss/disc0/part1
grub is going to tell you that that disc is not a BIOS device, or something to that effect. Grub is right because the disc is running off of the RAID controller. So I then just typed
Code:
grub
This brings you to the grub prompt. Here I manually installed grub, your parameters here may be different than minen depending on the way you partitioned your disc but here is what I did:
Code:

install = (hd0,1)/grub/stage1 (hd0) (hd0,1)/grub/stage2 0x8000 p (hd0,1)/grub/grub.conf


Hopefully if you gave grub the right paths to all of your files it installed and didn't complain about anything. The next thing to do for grub is to make sure that you pass the right root argument to the kernel. If you are using a grub.conf you can just throw it in there. My grub.conf looks like this:
Code:

default=0
timeout=20

title Gentoo GNU/Linux
root (hd0,0)
kernel /Kernel-2.6.5 root=/dev/cciss/c0d0p6 video=vesa:mtrr, ywrap vga=0x317


The important part is the root argument for the kernel.

The next hurtle is getting the kernel built correctly. I built in support for the compaq smart array 5xxx, this can be found under block devices in the drivers section. I did not build the driver as a module. This computer also came with an adaptec SCSI card. I also built in support for it in the kernel. I used the AIC7xxx driver. Again I did not build this driver as a module. The driver for the broadcom network card can be found under the 1000 Mbit drivers for network cards. Everything alse as far as kernel configuration should be pretty straight forward.

The next thing that you have to worry about is the file /etc/fstab. I don't know why but the driver for the raid card has a few different naming schemes. Before devfs is loaded it uses /dev/cciss/c0d0pX, but after devfs is loaded is uses the scheme /dev/discs/disc0/partX. So you want to make sure that in your fstab you give the proper location of the root file system using /dev/discs/disc0/partX. If you follow this and things still don't work out for you I probably didn't explain something thoroughly. So please post with any questions that you may have.
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Mon May 10, 2004 8:06 pm    Post subject: Reply with quote

Moved from 'IG' to 'DT&T'.
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum