vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am installing the driver for Marvell Yukon Ethernet driver to redhat enterprise linux server 4.0 -SMP-x86-EMT64 with redhat 2.6.9 kernel the lspci -v command returns the following:- 02:00.0 Ethernet controller: Marvell Technology Group Ltd. Gigabit Ethernet Controller (rev 19) Subsystem: ASUSTeK Computer Inc. Marvell 88E8053 Gigabit Ethernet Controller (Asus) Flags: bus master, fast devsel, latency 0, IRQ 177 Memory at d7efc000 (64-bit, non-prefetchable) [size=16K] I/O ports at c800 [size=256] Expansion ROM at d7ec0000 [disabled] [size=128K] Capabilities: [48] Power Management version 2 Capabilities: [50] Vital Product Data Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable- Capabilities: [e0] Express Legacy Endpoint IRQ 0 Capabilities: [100] Advanced Error Reporting I have downloaded the latest drivers from www.syskonnect.de:- install-8_18.tar.bz2 and used 'bunzip2' to uncompressed into '/usr/src/DriverInstall' I have kernel sources installed at '/usr/src/kernel-2.6.9<arch>' and made a symbolic link to '/usr/src/linux' as per installation instructions of ethernet driver. I used the '/usr/src/DriverInstall/install.sh' to generate a driver patch. A patch file (sk98lin_v8.18.2.2(beta)_2.6.9_patch) was created. I issued the following two command to apply the driver patch to the kernel:- #cd /usr/src/linux #cat /usr/src/DriverInstall/sk98lin_v8.18.2.2(beta)_2.6.9_patch | patch -p1 then I got the following error:- bash: syntex error near expected token '(' So I re-issued the command with single-quotes around the file name:- # cat 'sk98lin_v8.18.2.2(beta)_2.6.9_patch' | patch -p1 And I got the following error again:- can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -ruN linux/drivers/net/sk98lin/h/lm80.h linux-new/drivers/net/sk98lin/h/lm80.h |--- linux/drivers/net/sk98lin/h/lm80.h 2004-10-19 07:55:06.000000000 +1000 |+++ linux-new/drivers/net/sk98lin/h/lm80.h 2005-04-26 00:06:58.000000000 +1000 -------------------------- |
| |||
| elanore wrote: > #cat /usr/src/DriverInstall/sk98lin_v8.18.2.2(beta)_2.6.9_patch | > #patch > -p1 This is not how to install a patch with Red Hat, it's more like; patch -p1 < name_of_the_patch_file Try as root from the /usr/src/linux location; patch -p1 < sk98lin_v8.16.2.3_2.6.11_patch -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- B. Franklin, 1759 |
| |||
| Thanks Lenard, that worked. I have successfully apply the driver patch into the kernel. But a few fhings remain: I need help with installing new kernel. I've configured the linux kernel, using 'make menuconfig'. I intergrated the driver permanently into the kernel. I've compiled the kernel using following commands:- #make dep #make clean bzImage #make modules #make modules_install I copied the new kernel into boot directory with following:- #cp arch/x86_64/boot/bzImage /boot/vmlinuz-new #cp System.map /boot/System.map-new The difficulity I am having is here: I do not know how to create image for initrd /<cile-name.img> |
| ||||
| "elanore" <kntchbll@yahoo.com> wrote in message news:1118046186.126983.252050@z14g2000cwz.googlegr oups.com... > Thanks Lenard, that worked. > > I have successfully apply the driver patch into the kernel. But a few > fhings remain: I need help with installing new kernel. > > I've configured the linux kernel, using 'make menuconfig'. I > intergrated the driver permanently into the kernel. > > I've compiled the kernel using following commands:- > #make dep > #make clean bzImage > #make modules > #make modules_install > > I copied the new kernel into boot directory with following:- > #cp arch/x86_64/boot/bzImage /boot/vmlinuz-new > #cp System.map /boot/System.map-new Ah-hah. You missed the "edit the Makefile or the .config to add a suffix to the name of my kernel" step, and then "make install" which does mkinitrd for you. |
| Thread Tools | |
| Display Modes | |
|
|