3c59x compile problems + Question regarding 3c905C overruns in multi-switched environment

Jim Matthews beowulf at cfdlab.larc.nasa.gov
Mon Aug 19 22:21:45 EDT 2002


I am re-submitting this message to the vortex group I previously submitted
on the beowulf list...  Any help would be appreciated.

Thanks,


--JIM

---------- Forwarded message ----------
Date: Mon, 19 Aug 2002 10:50:03 -0400 (EDT)
From: Jim Matthews <beowulf at cfdlab.larc.nasa.gov>
To: beowulf at beowulf.org
Subject: 3c59x compile problems + Question regarding 3c905C overruns in multi-switched environment

I am trying to compile Donald Becker's latest 3c59x driver into the
2.4.18 kernel.  I have made the following changes to the
drivers/net/Makefile to include support for pci-scan:

20c20
<                       net_init.o mii.o pci-scan.o
---
>                       net_init.o mii.o
66c66
< obj-$(CONFIG_VORTEX) += 3c59x.o pci-scan.o mii.o
---
> obj-$(CONFIG_VORTEX) += 3c59x.o mii.o

When I compile and link I get lots of undefined references (see below).
What do I need to be doing in order to resolve these symbol errors?

Another question (probably a question for Donald Becker).  The reason
why I am trying to compile a new driver is because I have been seeing
lots of (1%) overruns on Dell precision 340s using the 3C905C card in a
multi-switched environment.  I get 0 overruns in a single switch
environment with identical machine hardware and configuration.  These
overruns are definitely affecting performance, some MPI jobs run as much
as 3 times faster on the machines w/o overruns.  Also within the same
multi-switched environment there are machines with intel 82559 cards,
they do not see overruns.  My conclusion is that there is probably a
problem in the way that the 3C905C card or driver is handling traffic in
this multi-switched environment.  Are any such problems resolved in the
latest version of the driver?

I am currently running the 2.4.18 kernel, the 3c59x driver version is:

#define DRV_NAME        "3c59x"
#define DRV_VERSION     "LK1.1.16"
#define DRV_RELDATE     "19 July 2001"


Any help would be appreciated.
Thanks,


--JIM

 -----------------------------------------------------------------------

 James W. Matthews - UNIX System Administration / Beowulf Cluster Design

 Raytheon Technical Services Company - NASA Langley Research Center
 MS 128 - 18E West Taylor Street - Hampton, VA 23681
 E-Mail: J.W.Matthews at LaRC.NASA.GOV - Phone: (757) 864-5259
 -----------------------------------------------------------------------



2.4.18 kernel compile errors with new 3c59x driver:

        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o
drivers/cdrom/driver.o drivers/pci/driver.o drivers/pnp/pnp.o
drivers/video/video.o drivers/usb/usbdrv.o \
        net/network.o \
        /misc/home1/jmatthew/src/linux-2.4.18/arch/i386/lib/lib.a
/misc/home1/jmatthew/src/linux-2.4.18/lib/lib.a
/misc/home1/jmatthew/src/linux-2.4.18/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/pci/driver.o: In function `pci_find_capability':
drivers/pci/driver.o(.text+0x100): multiple definition of
`pci_find_capability'
drivers/net/net.o(.text+0x3810): first defined here
ld: Warning: size of symbol `pci_find_capability' changed from 122 to
183 in drivers/pci/driver.o
drivers/net/net.o: In function `tc59x_probe':
drivers/net/net.o(.text+0x42): undefined reference to `printk_R1b7d4074'

drivers/net/net.o: In function `vortex_probe1':
drivers/net/net.o(.text+0x99): undefined reference to
`init_etherdev_Rdaa25030'
drivers/net/net.o(.text+0xd6): undefined reference to
`pci_read_config_byte_R3bd38f74'
drivers/net/net.o(.text+0xf8): undefined reference to `printk_R1b7d4074'

drivers/net/net.o(.text+0x108): undefined reference to
`pci_write_config_byte_Rc19e8242'
drivers/net/net.o(.text+0x134): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x143): undefined reference to
`kmalloc_R93d4cfe6'
drivers/net/net.o(.text+0x156): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x3bd): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x41a): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x476): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x48f): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x4ac): undefined reference to
`pci_read_config_dword_R1372ae4e'
drivers/net/net.o(.text+0x4c7): undefined reference to
`__ioremap_R9eac042a'
drivers/net/net.o(.text+0x4eb): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x5dc): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x63e): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x689): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x772): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x7a3): more undefined references to
`printk_R1b7d4074' follow
drivers/net/net.o: In function `vortex_probe1':
drivers/net/net.o(.text+0x890): undefined reference to
`ioport_resource_R865ebccd'
drivers/net/net.o(.text+0x895): undefined reference to
`__request_region_R1a1a4f09'
drivers/net/net.o: In function `vortex_open':
drivers/net/net.o(.text+0x945): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0xa64): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0xa88): undefined reference to
`request_irq_R0c60f2e0'
drivers/net/net.o(.text+0xad3): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0xc4e): undefined reference to
`alloc_skb_R55967fe8'
drivers/net/net.o(.text+0xd34): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0xd61): undefined reference to
`add_timer_Ra19eacf8'
drivers/net/net.o: In function `set_media_type':
drivers/net/net.o(.text+0xe58): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `start_operation':
drivers/net/net.o(.text+0x1014): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `vortex_timer':
drivers/net/net.o(.text+0x11f9): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1218): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x124d): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x126b): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1270): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x129a): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x12b7): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x12c7): undefined reference to
`disable_irq_R3ce4ca6f'
drivers/net/net.o(.text+0x136a): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x13a8): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x145a): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x14d3): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1563): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x158b): more undefined references to
`printk_R1b7d4074' follow
drivers/net/net.o: In function `vortex_timer':
drivers/net/net.o(.text+0x163e): undefined reference to
`enable_irq_Rfcec0987'
drivers/net/net.o(.text+0x1674): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1680): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o: In function `vortex_tx_timeout':
drivers/net/net.o(.text+0x16f3): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x170d): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1723): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1780): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x17c6): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x17fc): more undefined references to
`printk_R1b7d4074' follow
drivers/net/net.o: In function `vortex_tx_timeout':
drivers/net/net.o(.text+0x1928): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o: In function `vortex_error':
drivers/net/net.o(.text+0x1994): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1a1f): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1a54): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1aeb): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1b59): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `vortex_start_xmit':
drivers/net/net.o(.text+0x1cf0): undefined reference to
`__kfree_skb_R0374b366'
drivers/net/net.o(.text+0x1d1f): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x1d71): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `boomerang_start_xmit':
drivers/net/net.o(.text+0x1e42): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1e5d): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x1fd0): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o: In function `vortex_interrupt':
drivers/net/net.o(.text+0x205d): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x2097): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x20eb): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x2124): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x212f): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x2139): undefined reference to
`cpu_raise_softirq_Rd01f3ee8'
drivers/net/net.o(.text+0x219b): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x21be): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x21c8): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x21d2): undefined reference to
`cpu_raise_softirq_Rd01f3ee8'
drivers/net/net.o(.text+0x2258): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x2263): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x226d): undefined reference to
`cpu_raise_softirq_Rd01f3ee8'
drivers/net/net.o(.text+0x22b5): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x22bf): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x22c9): undefined reference to
`cpu_raise_softirq_Rd01f3ee8'
drivers/net/net.o(.text+0x2304): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x230f): undefined reference to
`softnet_data_R63e3a12d'
drivers/net/net.o(.text+0x2319): undefined reference to
`cpu_raise_softirq_Rd01f3ee8'
drivers/net/net.o(.text+0x23a3): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x2415): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `vortex_rx':
drivers/net/net.o(.text+0x2472): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x24cd): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x253c): undefined reference to
`alloc_skb_R55967fe8'
drivers/net/net.o(.text+0x256b): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x25e6): undefined reference to
`skb_over_panic_R3831b023'
drivers/net/net.o(.text+0x266a): undefined reference to
`skb_over_panic_R3831b023'
drivers/net/net.o(.text+0x2690): undefined reference to
`eth_type_trans_R547da5ad'
drivers/net/net.o(.text+0x269a): undefined reference to
`netif_rx_R7b7150a7'
drivers/net/net.o(.text+0x269f): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x270a): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `boomerang_rx':
drivers/net/net.o(.text+0x27d1): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x2823): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x28a3): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x28c4): undefined reference to
`alloc_skb_R55967fe8'
drivers/net/net.o(.text+0x2928): undefined reference to
`skb_over_panic_R3831b023'
drivers/net/net.o(.text+0x29a0): undefined reference to
`skb_over_panic_R3831b023'
drivers/net/net.o(.text+0x29c4): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x29d8): undefined reference to
`eth_type_trans_R547da5ad'
drivers/net/net.o(.text+0x2a07): undefined reference to
`netif_rx_R7b7150a7'
drivers/net/net.o(.text+0x2a0c): undefined reference to
`jiffies_R0da02d67'
drivers/net/net.o(.text+0x2a8d): undefined reference to
`alloc_skb_R55967fe8'
drivers/net/net.o: In function `vortex_close':
drivers/net/net.o(.text+0x2bcd): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x2bf3): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x2c02): undefined reference to
`del_timer_Rfc62f16d'
drivers/net/net.o(.text+0x2c12): undefined reference to
`free_irq_Rf20dabd8'
drivers/net/net.o(.text+0x2c58): undefined reference to
`__kfree_skb_R0374b366'
drivers/net/net.o(.text+0x2c98): undefined reference to
`__kfree_skb_R0374b366'
drivers/net/net.o: In function `set_rx_mode':
drivers/net/net.o(.text+0x3019): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o: In function `acpi_set_WOL':
drivers/net/net.o(.text+0x320a): undefined reference to
`pci_write_config_word_Rc7c3e0a9'
drivers/net/net.o: In function `pwr_event':
drivers/net/net.o(.text+0x3249): undefined reference to
`printk_R1b7d4074'
drivers/net/net.o(.text+0x32be): undefined reference to
`dev_close_R5c46a9ed'
drivers/net/net.o(.text+0x32d2): undefined reference to
`unregister_netdev_Rfc73dd6f'
drivers/net/net.o(.text+0x32ec): undefined reference to
`ioport_resource_R865ebccd'
drivers/net/net.o(.text+0x32f1): undefined reference to
`__release_region_Rd49501d4'
drivers/net/net.o(.text+0x32fa): undefined reference to
`iounmap_R5fb196d4'
drivers/net/net.o(.text+0x334d): undefined reference to
`kfree_R037a0cba'
drivers/net/net.o(.text+0x3354): undefined reference to
`kfree_R037a0cba'
drivers/net/net.o: In function `vortex_timer':
drivers/net/net.o(.text+0x169e): undefined reference to
`add_timer_Ra19eacf8'
make: *** [vmlinux] Error 1

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf


_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list