Re: how to add driver module to initrd ?



If you find module is available. type modprobe -v <module name>
run lsmod to see it is loaded. New modules appears on the top. Make a
ramdisk so that it appear in next boot. Copy kernel and initrd in some
place, if something goes wrong put it back in grup.conf file.
See man page for mkinitd to make ram disk.


On Mon, Jul 28, 2008 at 9:55 AM, Patil, Manjiri S <mpatil@xxxxxx> wrote:
Hi ,

After using Disk imaging software my destination machine doesn't boot
because kernel on source machine doesn't have necessary driver modules
for RAID Controller on destination machine which is Poweredge 2950
running PERC 6/i RAID controller .

I want to add megaraid driver module to source machine RHEL kernel
running 2.6.9-67.0.4.ELsmp. So after imaging , I booted destination
machine using RHEL 5 rescue disk , mounted all partitions , did chown
/mnt/sysimage and can see following modules loaded

$ lsmod

megaraid_sas 71677 2



How do I add megaraid_sas module to kernel image ?



Thanks

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjectunsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
Regards.
Sanjay Chakraborty

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Software RAID-5 attempt to access beyond end of device...
    ... The reiserfs is on top of an lvm2 on top of a raid5 ... >information that has previously been stored on disk. ... Sep 7 20:32:04 cu kernel: Buffer I/O error on device dm-0, ... PCI: PCI BIOS revision 2.10 entry at 0xf1150, ...
    (Linux-Kernel)
  • Re: Spontaneous reboots
    ... yet I keep experiencing spontaneous reboots and crashes. ... > I have postfix handling mail and use cyrus-imap with virtual ... Page fault while in kernel mode ... > Disk errors: ...
    (freebsd-questions)
  • athlon-xp + fakeraid regression
    ... The build completes fine, the kernel boots fine, the machine will seem to be fine as long as it remains quiescent. ... At the beginning, just after hitting enter on the make command, one of the ad4 disk light goes on solid for several seconds. ... There is a well known thing where these cheap pata fakeraid cards will try to do ata133 if the drive says it can, when really, even if he drives are new ata133 drives and the cables are new and short and shielded, you still shouldn't try to do ata133 since the spec is too tight and you'll just get bit errors or other failures. ... The fix is use ata100 somehow, either by disabling dma entirely in loader.conf (since you have no more selective option there, and the raid card bios never has an option for controlling pio/dma mode like motherboard bios's have) and then use atacontrol in rc.early to set udma5, or by using disks that can only do ata100 and only advertise ata100 to the controller. ...
    (freebsd-current)
  • Re: F8 k3b problem or just random glitch?
    ... I must have been thinking of the last dvd I burnt. ... led went out the last time and a what do we do with this new disk requester had ... but to me a file manager is a 2 pane operation ala mc. ... All this BTW with kernel 2.6.26-rc6 doing the chores. ...
    (Fedora)
  • Re: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
    ... Sep 28 04:32:41 locker current size: 625140335 sectors ... Reboot and the disk was missing, ... I've changed hardware and kernel in a non controled manner, ... 32bit SMP kernel ...
    (Linux-Kernel)