RH6 + SMP + 0.91(ish) = Problem

cavd cavd@globular.com
Mon Aug 9 22:28:26 1999


I'm a relative newbie to Linux, and I'm having a problem with both the Tulip
driver that ships with RH6, and the 0.91g driver from
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html

The existing drivers are installed by RH6, but give this error (in dmesg)
during startup...

>tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
>eth0: Macronix 98713 PMAC at 0xe000, 00 80 c6 f7 2c e5, IRQ 5.
>eth0: 21140 transmit timed out, status f4261000, SIA 000020ce ffff0001
fffffff9 fff00000, resetting...

...with the last line repeating every 30 seconds or so, while everything
else fires up. Oddly, if "amd" is not auto-started, this timeout doesn't
happen. However, the card doesn't actually work either way.

So, I grabbed the source, and tried to compile it. RH6 was installed with
the "everything" option, and I followed the instructions from the URL above
and in the tulip.c file itself - but I get the errors...

/usr/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/include/linux/smp.h:11,
from /usr/include/linux/sched.h:20,
from tulip.c:118:
/usr/include/asm/smp.h:209: warning: implicit declaration of function
`GET_APIC_ID'
/usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this
function)
/usr/include/asm/smp.h:209: (Each undeclared identifier is reported only
once
/usr/include/asm/smp.h:209: for each function it appears in.)
/usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this
function)

Just for laughs, I did a grep for the string "GET_APIC_ID", which turned up
nothing.

Machine spec FWIW,
SuperMicro P2DBS
Dual Celeron 300a @ 450
On-board UW-SCSI
CL 16Mb AGP TNT
CL SB Live (anyone got SMP drivers?)
SohoWare/Macronix PCI 10/100 NIC
448Mb RAM
RH6 is installed on a 4.3Gb UDMA IDE
4.3Gb and 9.1Gb UW-SCSI drives with W2K rc1 and BeOS 4.5
ZIP SCSI
Toshiba 32x SCSI CD-ROM
Yamaha 4416S SCSI CDR/CDRW

All the above works flawlessly under W2k (also under Win9x and marginaly
under BeOS, but thats another story) so I'm not thinking hardware. I switch
between RH and W2k/BeOS by toggling the 1st boot driver in the mobo's BIOS,
so it shouldn't be a LILO problem either...

Can anyone help, either with pointers to build the driver, or an SMP build
of 0.91g?

TIA, etc
Christian