www.centos.org Forum Index CentOS 5 - General Support Need information about customizing ISO images
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: Need information about customizing ISO images | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2005/1/3
From /country/belgium
Posts: 859
|
There is no need (at least for such a basic problem) to rebuild a modified iso (with a modified initrd that contains the .ko for the raid controller) : just specify dd= and point to the necessary driver disk (can be on http/ftp/nfs remote folder)
On the other hand i'm surprized that a HP/Compaq raid controller isn't handled by the cciss .ko module .. I don't have time to search for you but are you sure that it's a real raid controller and not a fake one ? |
||
|
_________________
idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum |
|||
Posted on: 2009/11/4 19:31
|
|||
|
Re: Need information about customizing ISO images | #3 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
Do you have an example of syntax required for the dd command to include the driver in the iso image?
|
||
Posted on: 2009/11/4 22:40
|
|||
|
Re: Need information about customizing ISO images | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater Virginia, North America
Posts: 3404
|
The "dd=" parameter is to specify a "driver disk" for the installer to load. It has nothing to do with the "dd" command, nor creating a new ISO image.
|
||
|
_________________
Phil Required reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/11/5 2:07
|
|||
|
Re: Need information about customizing ISO images | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
Quote:
Im sorry but this does not solve the problem i am faced with. With the types of systems I deal with, sometimes I wont have physical access to these system to build. I have to do it through iLO (hardware based remote access to the server). At the moment the only solution I can see that will work is to re-author the iso image of CentOS 5.3 to inlcude the raid controller driver when it loads all the other drivers before the installation application starts. Is there any official documentation/faq/howto to do this? Regards Martin. |
||
Posted on: 2009/11/5 5:21
|
|||
|
Re: Need information about customizing ISO images | #6 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2005/1/3
From /country/belgium
Posts: 859
|
Quote:
Yes it solves the problem you're faced to (assuming your hardware manufacturer gives you a driver disk). What's the problem with the dd= parameter we gave you ? The only time i had to modify the initrd.img file was when i had to setup over the network *and* that the network card wasn't included, which isn't your problem here. You don't need physical access to that system for the dd= parameter to work (see http://www.centos.org/docs/5/html/5.2/Installation_Guide/ch-bootopts-x86.html) BTW you still haven't answered the 'fakeraid' question, which i think is the real issue here : i doubt such embedded controller is a real raid adapter, and i even think that it's only based on the ICH10 chipset. When you boot the installer, do you see two independant volumes ? If so , forget about that fakeraid configuration and use linux software raid instead ... |
||
|
_________________
idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum |
|||
Posted on: 2009/11/5 7:21
|
|||
|
Re: Need information about customizing ISO images | #7 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater Virginia, North America
Posts: 3404
|
Quote:
The current release is 5.4, so starting with 5.3 is not recommended. I strongly agree with arrfab that dd= should do what you need, and that you need to give some consideration to the RAID. Please see http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5 for some discussion of the issues. |
||
|
_________________
Phil Required reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2009/11/5 11:13
|
|||
|
Re: Need information about customizing ISO images | #8 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
Quote:
To be honest im not sure about what you mean by real raid/fake raid as there is a built in hardware controller for it. I might agree with you that it might be a fake raid as in the past with these systems, the raid controller that came with them I not only had to create the raid config but build the array as well. With these new ones you create the raid config but you dont build the array! Quote:
Thanks for the link, as you said it definately does answer my question. I was getting really frustrated that everything i tried before getting on the forums wasnt working. I have one question though. The way HP releases the drivers is in a format created by the dd command (iso format I think), will I need to get the files extracted and put into the same directory layout if i put the files on a nfs/http location? |
||
Posted on: 2009/11/5 21:16
|
|||
|
Re: Need information about customizing ISO images | #9 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
I have been trying the dd= option as suggested. I have extracted the files as they were out of the iso image(hpahcisr-1.2.1-6.rhel5.x86_64.dd) provided by HP. The list of files from the archive are:
i then copied these files to a apache webserver that is local to my network (ie: http://192.168.X.X/hpb110i). when the boot loader came up i entered: but it didnt load or find anything. I also tried: I even extracted out the "hpahcisr.ko" for the 2.6.18-128.el5 kernel (default for CentOS 5.3) and tried to reference it specifically after changing the extension of hpahcisr-1.2.1-6.rhel5.x86_64.dd from dd to iso/img (they are the same format arent they?) i tried: and still didnt work. Is there something basic that i might be missing? also I am stuck with having to use CentOS 5.3 as the default supported kernel by the driver is 2.6.18.128.el5 or 2.6.18-92.el5. There is no newer releases yet. I have even gone as far as trying RHEL 5.4 (the driver doesnt work with the kernel in this version, i know this because I have built one of the two servers following the steps outlined in the text files, ie: writing the image to a usbkey, running "linux dd" at the boot prompt, pluging in the usbkey to the server for the bootloader to find and load the drivers) |
||
Posted on: 2009/11/5 23:28
|
|||
|
Re: Need information about customizing ISO images | #10 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 4294
|
Something to try.
Quote:
The modules.cgz file contains the driver module. It's a gzip'ed cpio archive, so you could extract the .ko file from it and attempt to use it . . . ? |
||
Posted on: 2009/11/6 14:33
|
|||
|
Re: Need information about customizing ISO images | #11 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2005/1/3
From /country/belgium
Posts: 859
|
Let's split the thread in two parts : the raid/fakeraid discussion and the dd one
Quote:
When you don't specifiy dd= (and so don't use a driver disk), what are you able to see in the disk partitioning step ? No disks at all or two separate volumes ? If so that confirms that it's a "fakeraid", meaning a mix of proprietary software driver to simulate a raid1 controller (and that uses ~10% of cpu just for the IOs). Let's answer first that part .. |
||
|
_________________
idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum |
|||
Posted on: 2009/11/6 15:40
|
|||
|
Re: Need information about customizing ISO images | #12 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
Quote:
If the driver is not loaded when the boot loader starts, the installer finds two seperate disks sda/sdb. In the older server you have to build the array with the bios utilities. With the newer one you just create the raid config and thats it, no build option, nothing. Even with the kick start software that HP include (which is able to talk to the raid controller) doesnt have an option to build the array. So i'm going to say (based on your descriptions) that it is a fakeraid array. |
||
Posted on: 2009/11/9 0:51
|
|||
|
Re: Need information about customizing ISO images | #13 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
Quote:
Well in the modules.cgz archive, there are 4 directories, one for each of the four kernels supported by the driver: * 2.6.18-128.el5 * 2.6.18-128.el5xen * 2.6.18-92.el5 * 2.6.18-92.el5xen Would there be a better chance of it working if I created a new modules.cgz archive with just the .ko for the default kernel that is installed? |
||
Posted on: 2009/11/9 0:55
|
|||
|
Re: Need information about customizing ISO images | #14 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2005/1/3
From /country/belgium
Posts: 859
|
Quote:
Okay so now we're sure that it's a fakeraid. Don't even try to load a proprietary binary driver that "emulates" a raid1 and do that directly within Linux with software raid (with mdadm). You'll save yourself time and pains : the problem with such driver (that taints the kernel) is that they are tied to a specific kernel version and so cause you pain when you want to just update your kernel. That problem doesn't occur of course with linux software raid. I've seen also that it's better/faster on the IO level to use the included software raid than a proprietary solution (I migrated two small servers for a customer who wanted to use the proprietary driver and those machines were suffering during work time : iowait , while they were reinstalled using simple linux software raid and work like a charm now) |
||
|
_________________
idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum |
|||
Posted on: 2009/11/9 7:44
|
|||
|
Re: Need information about customizing ISO images | #15 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/11/4
From
Posts: 8
|
Quote:
hmmmm......i think I might have to talk with my manager and HP about the raid card setup and get some more information. These systems that I am using, have in the past had hardware bought that supports redundancy, dual power supplies, raid, etc... This is the first system that we have had with the raid like this. I guess I will have to lookup some information about the linux software raid setup. Are there any gotchya's with the linux software raid (IE: what happens when one of the drives fails, etc)? |
||
Posted on: 2009/11/9 21:58
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
marty_one





You cannot start a new topic.
You can view topic.