RE: Kickstart on RH6.2 + Module Update Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for your reply.  I manage to do all the complicated stuff fine
however when it comes to recompressing the modules.cgz file i managed to
stuff up the directory structure, all works now!

Thanks
dj

-----Original Message-----
From: Taylor, ForrestX [mailto:forrestx.taylor@xxxxxxxxx]
Sent: Tuesday, November 06, 2001 05:35
To: 'kickstart-list@xxxxxxxxxx'
Subject: RE: Kickstart on RH6.2 + Module Update Problem


> Hi,
> 
> I need to do a kickstart with RedHat 6.2 (Don't ask) via NFS. 
>  I was having
> issues that the VIA - Rhine Ethernet card was giving a 
> Device or resource busy everytime kickstart started.  I did a bit of
> investigation and realised that the version that RedHat 6.2
> ships with is not compatible with my VIA Rhine card.  I then 
> got the newest
> drivers compiled it against a standard 6.2 machine
> using the following command:

Try compiling it against the 6.2-BOOT kernel (it should be on your disc).
That is the kernel that everything in the install is compiled against.

> 
> gcc -D__BOOT_KERNEL_BOOT=1 
> -D__BOOT_KERNEL_ENTERPRISE=0__BOOT_KERNEL_UP=0
> -I/usr/src/linux/include -include 
> /usr/src/linux/include/linux/modversions.h
> -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c
> via-rhine.c -o via-rhine.o
> 
> I also had to compile pci-scan.c and that needed to be 
> insmodded before
> via-rhine to work... but it did work manually.
> 
> So I then wanted to integrate it into kickstart since I 
> noticed the drivers
> now worked when I manually insmod'd them.
> 
> I mounted initrd.img did a zcat | cpio (blahblah) on the modules.cgz ,
> unpacked it - overwrote the via-rhine.o and stuck in pci-scan.o.
> Removed one or two .o files so I could fit it.  I then 
> changed modules.dep
> to say via-rhine: pci-scan , since pci-scan needs to run first.
> 
> I put everything back together again and tried, and it says 
> something like
> Loading pci-scan.o (NULL) , Loading via-rhine.o (NULL) failed 
> to insert
> module via-rhine.  Anyone got any ideas?  I refuse to accept 
> this since it
> works manually if it never worked manually I would accept it.
> 
> thanks a lot.
> 
> p.s. this is my first post, be nice ;) and yes i know this is 
> a gay mailer
> but it was the first laptop i got my hands on.
> 
> Regards,
> 
> David Jacobson
> Linux Systems Architect
> Quadriga UK Ltd.
> 020 89876 836 (w)
> 07960 565 010 (c)



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux