|
Home > Archive > Red Hat Kernel > February 2004 > Adding new device drivers support into Linux Kernel image
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Adding new device drivers support into Linux Kernel image
|
|
| Eyal Rif 2004-01-23, 7:28 pm |
| Hi,
I am trying to compile Redhat kernel 2.4.18 on new intel machine.
After compiling the kernel and rebooting from it i get the following
message:
Kernel Panic: VFS: Unable to mount root fs at 08:08
By default there is no support for my scsi device in kernel 2.4.18.
I need to load the device driver with e thkernel so it can boot from
the root partition.
How can i add new device drivers to the kernel so it can load the
device with the kernel itself ?
Any help/suggestion would be appreciated ?
Regards,
| |
| Alexander Dalloz 2004-01-23, 7:28 pm |
| On Wed, 03 Dec 2003 10:49:59 -0800 Eyal Rif wrote:
quote:
> Hi,
>
>
> I am trying to compile Redhat kernel 2.4.18 on new intel machine.
> After compiling the kernel and rebooting from it i get the following
> message:
Why 2.4.18? This kernel is vulnerable! Don't use it unpatched.
quote:
> Kernel Panic: VFS: Unable to mount root fs at 08:08
>
> By default there is no support for my scsi device in kernel 2.4.18.
>
> I need to load the device driver with e thkernel so it can boot from
> the root partition.
>
> How can i add new device drivers to the kernel so it can load the
> device with the kernel itself ?
Use a ramdisk. Create it with mkinitrd.
quote:
> Any help/suggestion would be appreciated ?
>
> Regards,
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
| |
| Unregistered 2004-02-05, 4:53 pm |
| hi,
Entered in Single User mode, stopped all the network services and xinetd service and Removed all the modules .
here's the output of lsmod
Module Size Used by
nls_iso8859-1 2832 1 (autoclean)
nls_cp437 4352 1 (autoclean)
vfat 9584 1 (autoclean)
fat 32384 0 (autoclean) [vfat]
usb-uhci 21536 0 (unused)
usbcore 51712 1 [usb-uhci]
ext3 64624 2
jbd 40992 2 [ext3]
tried to insert the moduel 02_pci.o
found out the base register 0 =c001
tried ioremap(base_reg,0x80000);
then ioremap gives an error the error is as follows
Error while cheking 512 KB region on the car
02_pci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters,, including invalid IO or IRQ parameters
What is the problem?
vinujoshua@yahoo.com |
|
|
|
|