Boot floppy ethernet drivers

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

 



I have a machine with an SMC ethernet card that I'm trying to kickstart.
The driver isn't on the default bootnet.cfg image (from RedHat 7.1 CD).

I know that the card works with the 8139too.o driver, because I already
have Linux running on this box.  I just want it to work with Kickstart.

The problem is that the driver doesn't load.  I boot from the floppy,
and instead of starting the installation, it asks about language and keyboard,
then asks what type of media to use.  When I tell it "NFS image", it asks
me which ethernet driver to try.  It lists the 8139too driver (thankfully),
but if I choose it, it fails to insert the module.  On another virtual
console, I get these error messages:
   /tmp/8139too.o: unresolved symbol __kfree_skb_R047ef26a
   /tmp/8139too.o: unresolved symbol __netdev_watchdog_up_R1bbf5ccf
   /tmp/8139too.o: unresolved symbol skb_over_panic_R11c3adeb
   /tmp/8139too.o: unresolved symbol netif_rx_R3d8840b1
   /tmp/8139too.o: unresolved symbol __io_virt_debug_R2fd62b99
   /tmp/8139too.o: unresolved symbol eth_type_trans_R1c8f948c
   /tmp/8139too.o: unresolved symbol init_etherdev_Rc021b5af
   /tmp/8139too.o: unresolved symbol unregister_netdev_R85ef872c
   /tmp/8139too.o: unresolved symbol irq_stat_Rc0ba6f96
   /tmp/8139too.o: unresolved symbol alloc_skb_R5df18efe
   /tmp/8139too.o: unresolved symbol softnet_data_R707c3960

(there might be a few typos -- I was typing this blind)

I note that if I do an "nm -o" on some of the other drivers in the modules
directory, they all have different hex numbers at the end of their symbols
(identical to each other, but different from the drivers on the hard disk,
or on the driver disk).

I don't understand how the module linking works; maybe someone could explain
that as part of the answer (as long as I'm asking for the moon  :-)

Thanks for any help.

    -- Rick


P.S.  Here's what I did, if you want gory details...
   zcat < /mnt/floppy/initrd.img > /tmp/new-initrd.img.uncompressed
   mkdir /mnt/new-initrd
   mount -t ext2 -o loop /tmp/new-initrd.img.uncompressed /mnt/new-initrd
   mkdir /tmp/new-modules ; cd /tmp/new-modules
   zcat < /mnt/new-initrd/modules/modules.cgz | cpio -imdv
   cp -p /lib/modules/2.4.2-2/kernel/drivers/net/8139too.o 2.4.2-2BOOT
   find 2.4.2-2BOOT -type f -print | cpio -o -H crc | gzip > /mnt/new-initrd/modules/modules.cgz
   vi /mnt/new-initrd/modules/module-info
      Copy section from /usr/lib/anaconda-runtime/loader/module-info:
         8139too
                 eth
                 "RTL8139, SMC EZ Card Fast Ethernet"
   vi /mnt/new-initrd/modules/pcitable
      Copy lines from /usr/share/kudzu/pcitable
         0x10ec  0x8129  "8139too"       "Realtek|RTL-8129"
         0x10ec  0x8139  "8139too"       "Realtek|RTL-8139"
         0x1113  0x1211  "8139too"       "Accton|SMC2-1211TX"
   umount /mnt/new-initrd
   gzip < /tmp/new-initrd.img.uncompressed > /mnt/floppy/initrd.img





[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