Sponsored Content
Top Forums UNIX for Advanced & Expert Users Help with adding a new driver in initrd at install time Post 302810429 by jjinno on Tuesday 21st of May 2013 07:40:03 PM
Old 05-21-2013
Help with adding a new driver in initrd at install time

I have a really old distro (FC7) that I am trying to make compatible with some new hardware (ie. new RAID drivers)...

I put the RAID driver into the ISO so that the installer can detect the RAID set... but post-install (aka: first boot) it appears that the Anaconda-generated initrd does not have the RAID driver?

I get a kernel panic (quoted as much as possible):
Quote:
i8042.c: No controller found.
Red Hat nash version 6.0.9 starting
Unable to access resume device (LABEL=SWAP-sda6)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Yeah yeah, I realize the swap *could* be messed up, but since the kickstart file I am using (that does the mkswap) used to work fine before I switched to newer hardware, I am *guessing* that the only problem is that the RAID driver is not making it into the initrd file for boot...

But how do I get the driver there? who calls mkinitrd at install time? to edit the ISO, I was able to add just a single module to the modules.cgz inside the initrd.img file... but thats because that is static within the ISO... how do I make the same happen within the install-created initrd?

Any help?
 

10 More Discussions You Might Find Interesting

1. SCO

Need to create megasas driver floppy for new install

I have a new Dell PowerEdge 2900 with perc5/i and no os. I need to install SCO Openserver 6 and I need create a megasas BTLD floppy in order to install the os. http://ftp.sco.com/pub/unixware7/714/drivers/megasas_1.1/README.hba.megasas.1.1.txt According to the link, I need to download the... (4 Replies)
Discussion started by: jpop2000
4 Replies

2. Solaris

Tape Driver Install

Hi , How to check the drivers of a dat tape? And once downloaded how to install drivers for the same?? Where to download drivers from? Having some trouble with Dat tape drive configuration.. (2 Replies)
Discussion started by: saurabh84g
2 Replies

3. Solaris

Can I Install the Gani Network Driver Using the Application that Came on the CD?

When I boot up the Solaris 10 5/09 install CD and select 'Solaris' from the GRUB menu that comes up, a menu loads. Option 5 is 'Apply Driver Updates'. Can I install the Gani driver using that? I tried using the tar file (the way it came) that I wrote to a floppy but when I asked it to look at the... (8 Replies)
Discussion started by: Bradj47
8 Replies

4. Solaris

After update Solaris version, HBA driver still need to install?

Hi all I had update a server from Solaris 8 to Solaris 10 is it the HBA driver still need to reinstall? since i can get the driver info as below: root@sgerpdev # fcinfo hba-port HBA Port WWN: 21000003ba9b58a3 OS Device Name: /dev/cfg/c1 Manufacturer: QLogic Corp. ... (1 Reply)
Discussion started by: SmartAntz
1 Replies

5. Hardware

How to install a driver of my USB-A to Serial Cable

Hi Gurus of Unix Recently I install a OpenSolaris in My HP 530 In this moment want to install a USB-A to Serial Cable. Any guru can send a Link where I can use how reference. I want to configure a Router and my PC don't have any serial Port. My LapTOP only has USB ports. In this case I buy a... (2 Replies)
Discussion started by: andresguillen
2 Replies

6. Fedora

How i can install Driver ATI on OpenBSD 4.8 & HARD

hi guys i am using fedora 14 but today moving to OpenBSD4.8 and remove all part hard :mad: but easy install programs pkg_add program :b: now How i can install Driver ATI on OpenBSD 4.8 ? and i am use "lspci" show hardware but not work openbsd & how i can create part my home size... (0 Replies)
Discussion started by: OpenBSD1986
0 Replies

7. Ubuntu

Is Ubuntu OS good? Do you need to install any driver after installing it?

I'm planning to install the Ubuntu OS on my laptop(currently has windows Vista), but I don't know if Ubuntu is good. Do you need to install any drivers for Ubuntu? Can I send stuff to my printer in Ubuntu? Is it compatible with my printer driver? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

8. UNIX for Dummies Questions & Answers

Driver Install Script

Hi, I am faily new to linux and bash scripting. But essentially what I am trying to do is create a small bash script that will automatically install a driver I want. I can do it manually but I want to create a script so I won't forget, since it is an internet driver I won't be able to get help when... (0 Replies)
Discussion started by: dmacmillan
0 Replies

9. Shell Programming and Scripting

Adding time to date time in UNIX shell scipting

I needed some help in adding a duration (in seconds) to a start time (in hhmmss format) and a start date (in mmddyy format) in order to get an end date and end time. The concept of a leap year is also to be considered while incrementing the day. The code/ function that I have formed so far is as... (3 Replies)
Discussion started by: codehelp04
3 Replies

10. Debian

Debian Etch - install us-keyboard driver

Hi, i'm using a debian-4.0r1 on an old subnet machine. I have to extend it with an other keyboard . What i have is a DVD of etch 4.0r7. How can i install and load the keyboard-driver for the us-keyboard? Can anybody please give me a hint how to do that? Thanks in advance (0 Replies)
Discussion started by: IMPe
0 Replies
ATARAID(4)						   BSD Kernel Interfaces Manual 						ATARAID(4)

NAME
ataraid -- ATA software RAID support SYNOPSIS
device ata device ataraid DESCRIPTION
The ataraid driver provides support for so-called software RAID (sometimes referred to as fake RAID or pseudo RAID). When a controller that supports software RAID is instructed to create a RAID array, its BIOS writes data structures in a specific metadata format to the disks. These data structures are picked up by the ataraid driver, so that FreeBSD can work with the array. The ataraid driver has to understand the specific metadata format of a controller BIOS in order to support its RAID capabilities. Read-only support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Creation and rebuild of such arrays has to be done from the controller BIOS. Read and write support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Additionally, the atacontrol(8) utility can be used to create, rebuild, update and fail such RAID arrays. The ataraid driver can read the following metadata formats: o Adaptec HostRAID o Highpoint V2 RocketRAID o Highpoint V3 RocketRAID o Intel MatrixRAID o Integrated Technology Express (ITE) o JMicron o LSI Logic V2 MegaRAID o LSI Logic V3 MegaRAID o NVIDIA MediaShield o Promise FastTrak o Silicon Image Medley o Silicon Integrated Systems (SiS) o VIA Tech V-RAID o FreeBSD PseudoRAID The ataraid driver can write the following metadata formats: o Highpoint V2 RocketRAID o Intel MatrixRAID o JMicron o Promise FastTrak o Silicon Integrated Systems (SiS) o VIA Tech V-RAID o FreeBSD PseudoRAID It is also possible to use software RAID on controllers that do not have special software RAID capabilities. See atacontrol(8) for details. FILES
/dev/ar* ATA RAID device nodes SEE ALSO
ata(4), atacontrol(8) CAVEATS
RAID5 is not supported at this time. Code exists, but it neither uses nor maintains parity information. AUTHORS
The ataraid driver was written by Soren Schmidt <sos@FreeBSD.org>. This manual page was written by Christian Brueffer <brueffer@FreeBSD.org>. BSD
February 17, 2006 BSD
All times are GMT -4. The time now is 09:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy