Re: Trouble updating net drivers on RH8.0 Disc 1...

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

 



Hi Christopher,

The answer to this should be in the archives as it is a common problem.  
However, I have found two particular emails of great help and have included 
them here verbatim.  The second email likely contains the key you are missing
:)

-brad

--------------------------------
From: Carlos Villegas <villegas@xxxxxxxxxxxxxxx>
To: kickstart-list@xxxxxxxxxx
Subject: Re: NVidia nforce ethetnet
Message-ID: <20030910225436.GE2473@xxxxxxxxxxxxxxxxxxxx>
References: <Pine.WNT.4.56.0308110944190.3800@lapwing> <20030821154137.GA7960@xxxxxxxxxxxxxxxxxxxx> <20030828192118.GA1613@xxxxxxxxxxxxxxxxxxxx>
In-Reply-To: <20030828192118.GA1613@xxxxxxxxxxxxxxxxxxxx>
User-Agent: Mutt/1.4.1i
X-NonLocal-Relay: 130.207.146.192
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Loop: kickstart-list@xxxxxxxxxx
Sender: kickstart-list-admin@xxxxxxxxxx
Errors-To: kickstart-list-admin@xxxxxxxxxx
X-BeenThere: kickstart-list@xxxxxxxxxx
X-Mailman-Version: 2.0.13
Precedence: junk
Reply-To: kickstart-list@xxxxxxxxxx
List-Help: <mailto:kickstart-list-request@xxxxxxxxxx?subject=help>
List-Post: <mailto:kickstart-list@xxxxxxxxxx>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/kickstart-list>,
	<mailto:kickstart-list-request@xxxxxxxxxx?subject=subscribe>
List-Id: Discussion list about Kickstart <kickstart-list.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/kickstart-list>,
	<mailto:kickstart-list-request@xxxxxxxxxx?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/kickstart-list/>
Date: Wed, 10 Sep 2003 18:54:36 -0400
X-Spam-Status: No, hits=-8.6 required=3.0
	tests=BAYES_01,IN_REP_TO,REFERENCES,USER_AGENT_MUTT,X_LOOP
	autolearn=ham version=2.55
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-Sanitizer: Advosys mail filter
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Status: OR


Hi,

I finally got it working almost two weeks ago, but hadn't had the chance
to write it up, so here it is:

I also added the broadcom driver that was discussed recently, since it's needed
for some laptops we have. It works great for both network cards.

You can find what I did at:

http://www.math.gatech.edu/~villegas/linux/kickstart/add_driver.html

There are all the steps mentioned recently, plus some additional "gottchas"
that I found along the way. Hope it helps.

Carlos

PS: I also thought about publishing the initrd.img to put in the CD, 
however I'm not sure if someone will actually want it. Let me know.


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

From: Stephen Mah <steve.mah@xxxxxxxxxx>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
X-Accept-Language: en-us, en
To: kickstart-list@xxxxxxxxxx
Subject: Re: Adding network driver to kickstart
References: <010401c37256$a31c4a40$4d00a8c0@catamount> <3F564AAF.5050106@xxxxxxxxxxx> <3F565140.50600@xxxxxxxxxx>
In-Reply-To: <3F565140.50600@xxxxxxxxxx>
X-Loop: kickstart-list@xxxxxxxxxx
Sender: kickstart-list-admin@xxxxxxxxxx
Errors-To: kickstart-list-admin@xxxxxxxxxx
X-BeenThere: kickstart-list@xxxxxxxxxx
X-Mailman-Version: 2.0.13
Precedence: junk
Reply-To: kickstart-list@xxxxxxxxxx
List-Help: <mailto:kickstart-list-request@xxxxxxxxxx?subject=help>
List-Post: <mailto:kickstart-list@xxxxxxxxxx>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/kickstart-list>,
	<mailto:kickstart-list-request@xxxxxxxxxx?subject=subscribe>
List-Id: Discussion list about Kickstart <kickstart-list.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/kickstart-list>,
	<mailto:kickstart-list-request@xxxxxxxxxx?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/kickstart-list/>
Date: Wed, 03 Sep 2003 13:57:25 -0700
X-Spam-Status: No, hits=-5.1 required=3.0
	tests=BAYES_10,IN_REP_TO,REFERENCES,USER_AGENT_MOZILLA_UA,X_LOOP
	version=2.55
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-Sanitizer: Advosys mail filter
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Content-Transfer-Encoding: 7bit
Status: OR

Okay, I found my doc:

Adding broadcom driver to bootable CD RH 9 (shrike)

zcat -9 initrd.img >> initrd.img.un
mount -o loop initrd.img.un loop/

edit modules-info file (ascii text): added:
bcm5700
         eth
         "BCM5700 NetXtreme Gigabit Ethernet Driver"

Modify modules.cgz
zcat modules.cgz  > modules.cpio
cpio -i --make-directories < modules.cpio
this creates the directory: 2.4.20-8BOOT
copy desired modules into this 2.4.20-8BOOT folder.
Ie: bcm5700.o

Now you need to repackage and recompress your modules
  find 2.4.9-e.3BOOT > filelist
  cpio -o -H crc < filelist > modules.cpio
  gzip --best modules.cpio
  mv modules.cpio.gz modules.cgz
Append the following lines into: pcitable
0x14e4  0x1644  "bcm5700"       "Broadcom NetXtreme BCM5700 Gigabit 
Ethernet"
0x14e4  0x1645  "bcm5700"       "Broadcom NetXtreme BCM5701 Gigabit 
Ethernet"
0x14e4  0x1646  "bcm5700"       "Broadcom NetXtreme BCM5702 Gigabit 
Ethernet"
0x14e4  0x16a6  "bcm5700"       "Broadcom NetXtreme BCM5702 Gigabit 
Ethernet"
0x14e4  0x16c6  "bcm5700"       "Broadcom NetXtreme BCM5702 Gigabit 
Ethernet"
0x14e4  0x1647  "bcm5700"       "Broadcom NetXtreme BCM5703 Gigabit 
Ethernet"
0x14e4  0x16a7  "bcm5700"       "Broadcom NetXtreme BCM5703 Gigabit 
Ethernet"
0x14e4  0x16c7  "bcm5700"       "Broadcom NetXtreme BCM5703 Gigabit 
Ethernet"
0x14e4  0x1648  "bcm5700"       "Broadcom NetXtreme BCM5704 Gigabit 
Ethernet"
0x14e4  0x16a8  "bcm5700"       "Broadcom NetXtreme BCM5704S Gigabit 
Ethernet"
0x14e4  0x1653  "bcm5700"       "Broadcom NetXtreme BCM5705 Gigabit 
Ethernet"
0x14e4  0x1654  "bcm5700"       "Broadcom NetXtreme BCM5705 Gigabit 
Ethernet"
0x14e4  0x165d  "bcm5700"       "Broadcom NetXtreme BCM5705M Gigabit 
Ethernet"
0x14e4  0x165e  "bcm5700"       "Broadcom NetXtreme BCM5705M Gigabit 
Ethernet"
0x14e4  0x1696  "bcm5700"       "Broadcom NetXtreme BCM5782 Gigabit 
Ethernet"
0x14e4  0x169c  "bcm5700"       "Broadcom NetXtreme BCM5788 Gigabit 
Ethernet"
0x14e4  0x170d  "bcm5700"       "Broadcom NetXtreme BCM5901 Fast Ethernet"
0x14e4  0x170e  "bcm5700"       "Broadcom NetXtreme BCM5901 Fast Ethernet"


umount initrd loop
gzip --best initrd.img.un
cp initrd.img.un.gz initrd.img


Adding the broadcom driver to the custom CD
Install source rpm package:
  rpm -ivh bcm5700-6.2.17-1.src.rpm

cd to /usr/src/redhat/SPECS

build rpm:
rpmbuild -bb bcm5700.spec
this will only build the bcm driver for the currently running kernel:
for example, if you are running 2.4.20-20
then it will build: /lib/modules/2.4.20-20-9/kernel/drivers/net/bcm5700.o

install the rpm


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


> Hi everybody... 
> 
> I  need to  do  a network  Kickstart installation of   RH 8.0, but the
> drivers for  my NIC aren't on the  CD.  My environment requires that I
> start my Kickstart install with a bootable CD, then install over HTTP.
> I *can't* use floppies or PXE.
> 
> Since I'm pretty sure the problem is that RH8 doesn't have drivers for
> my Broadcom 10/100/1000 NIC,  I figured I'd just  open up the ISO, add
> the drivers, and close it back up.   Unfortunately, I'm having trouble
> getting this to work.  The simplest way to phrase my question is:
> 
> How do I change the drivers available  to the initial isolinux so that
> the CD is still bootable?  I know how to tear open the isolinux/initrd
> and edit the modules.cgz/modules.dep/pcitable/etc. and put it all back
> together,  but whenever  I do this  I  wind up with  an unbootable CD.
> There must be a  problem with either my mkisofs  or my re-packaging of
> the initrd.
> 
> I'm not sure what kind of a "build environment" is  required - I don't
> need  a full mirror  of the whole RH8  five-disk tree  for this, do I?
> I'm  only re-creating Disc 1, so  an image  dd'd  (!!) from my CD-ROM,
> mounted -o loop,  and  cp -a to   a directory should work   just fine,
> right?   To test this theory, I  tried the above,  then made a new ISO
> from that:
> 
>      mkisofs -r -J -T -v -V "Test install" \
>      -c isolinux/boot.cat \
>      -b isolinux/isolinux.bin \
>      -no-emul-boot -boot-load-size 4 \
>      -boot-info-table -o /home/cdemarco/isos/ibms_170903_1.iso . \
> 
> And the resultant CD boots just fine.  But  any time I attempt to play
> with the isolinux/initrd, I can't boot the CD.
> 
> Can anybody make heads or tails out of what I'm talking about!?  And
> better yet... what am I doing worng ;) ?
> 
> Thanks in advance...
> 
> -- 
> % You are in a maze of twisty passages, all alike.
> Christopher DeMarco
> cdemarco@xxxxxxxxxxx
> +6013 389 5658
> 
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
> 

-- 
Brad Doctor, CISSP




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux