Having problems getting ethernet back up and running

Michael J. McGillick (mike@dungeon.ne.mediaone.net)
Fri, 10 Apr 1998 21:48:37 -0400 (EDT)


Hello:

I just downloaded the 2.1.95 source and have run into a few snags:

1) When compiling the kernel, I get an error and the kernel stops
compiling when it hits the aic7xxx part of the compilation. The error
that is causing this is in:

/usr/src/linux/drivers/scsi/aic7xxx/sequencer.h

The lines that are causing the problem are:

#if defined(__KERNEL__)
typedef unsigned char u_int8_t;
#endif

I believe someone mentioned that u_int8_t is defined elsewhere, and to
simply comment these lines out. Might be nice if we can fix this once and
for all, so we don't have to keep commenting these lines out everytime a
new release comes out.

2) I have a cable modem through MediaOne in Massachusetts, and a DaynaPORT
10baseT ethernet card. The card has the DEC Tulip 21041 chipset. I have
a dual boot with 2.0.33 on my system, and when I boot under 2.0.33, it
boots just fine, and connects. No problems. I set up my kernel config to
be identical to the 2.0.33 setup, and as plain jane as possible, none of
the new features.

Here is what I'm getting in /var/log/messages:

dungeon kernel: klogd 1.3-3, log source = /proc/kmsg started.
dungeon kernel: Loaded 6260 symbols from /boot/System.map.
dungeon kernel: Symbols match kernel version 2.1.95.
dungeon kernel: No module symbols loaded.
dungeon kernel: Linux version 2.1.95
(root@dungeon.ne.mediaone.net) (gcc version 2.7.2.3) #2 SMP Fri Apr 10
20:33:27 EDT 1998
dungeon kernel: Console: 16 point font, 400 scans
dungeon kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63)
dungeon kernel: Calibrating delay loop... 466.94 BogoMIPS
dungeon kernel: Memory: 127876k/131072k available (1000k kernel code,
400k reserved, 1764k data, 32k init)
dungeon kernel: Swansea University Computer Society NET3.039 for Linux
2.1
dungeon kernel: NET3: Unix domain sockets 0.16 for Linux NET3.038.
dungeon kernel: Swansea University Computer Society TCP/IP for NET3.037
dungeon kernel: IP Protocols: ICMP, UDP, TCP
dungeon kernel: Initializing RT netlink socket
dungeon kernel: VFS: Diskquotas version dquot_5.6.0 initialized
dungeon kernel:
dungeon kernel: Checking 386/387 coupling... Ok, fpu using exception 16
error reporting.
dungeon kernel: Checking 'hlt' instruction... Ok.
dungeon kernel: Intel Pentium with F0 0F bug - workaround enabled.
dungeon kernel: POSIX conformance testing by UNIFIX
dungeon kernel: CPU0: Intel Pentium MMX stepping 03
dungeon kernel: SMP motherboard not detected. Using dummy APIC
emulation.
dungeon kernel: PCI: BIOS32 Service Directory structure at 0xc00f99d0
dungeon kernel: PCI: BIOS32 Service Directory entry at 0xf0530
dungeon kernel: PCI: PCI BIOS revision 2.10 entry at 0xf0560
dungeon kernel: PCI: Probing PCI hardware.
dungeon kernel: PCI: Enabling I/O for device 00:09
dungeon kernel: Starting kswapd v 1.5
dungeon kernel: parport0: PC-style at 0x378, irq 7, dma 3
[SPP,ECP,ECPEPP,ECPPS2]
dungeon kernel: Serial driver version 4.24 with no serial options
enabled
dungeon kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
dungeon kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
dungeon kernel: lp0: using parport0 (interrupt-driven).
dungeon kernel: PS/2 auxiliary pointing device detected -- driver
installed.
dungeon kernel: Real Time Clock Driver v1.09
dungeon kernel: Floppy drive(s): fd0 is 1.44M, fd1 is 1.44M
dungeon kernel: FDC 0 is a post-1991 82077
dungeon kernel: aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at
PCI 9
dungeon kernel: aic7xxx: Warning - detected auto-termination. Please
verify driver
dungeon kernel: detected settings and use manual termination
if necessary.
dungeon kernel: aic7xxx: BIOS enabled, IO Port 0xd400, IO Mem
0xe6000000, IRQ b, Revision B
dungeon kernel: aic7xxx: Wide Channel, SCSI ID 7, 16/255
SCBs, QFull 16, QMask 0x1f
dungeon kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast
SCSI) 4.1/3.2
dungeon kernel: scsi : 1 host.
dungeon kernel: scsi0: Scanning channel A for devices.
dungeon kernel: Vendor: SEAGATE Model: ST34572W Rev: 0784
dungeon kernel: Type: Direct-Access ANSI SCSI revision: 02

dungeon kernel: Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
dungeon kernel: Vendor: SEAGATE Model: ST34572W Rev: 0876
dungeon kernel: Type: Direct-Access ANSI SCSI revision: 02

dungeon kernel: Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
dungeon kernel: Vendor: WDIGTL Model: WDE9100 Rev: 1.30
dungeon kernel: Type: Direct-Access ANSI SCSI revision: 02

dungeon kernel: Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
dungeon kernel: Vendor: NEC Model: CD-ROM DRIVE:502 Rev: 2.2e
dungeon kernel: Type: CD-ROM ANSI SCSI revision: 02

dungeon kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun
0
dungeon kernel: scsi : detected 1 SCSI cdrom 3 SCSI disks total.

dungeon kernel: Uniform CD-ROM driver Revision: 2.12
dungeon kernel: SCSI device sda: hdwr sector= 512 bytes.
Sectors= 8888924 [4340 MB] [4.3 GB]
dungeon kernel: SCSI device sdb: hdwr sector= 512 bytes.
Sectors= 8888924 [4340 MB] [4.3 GB]
dungeon kernel: SCSI device sdc: hdwr sector= 512 bytes.
Sectors= 17783204 [8683 MB] [8.7 GB]

-> dungeon kernel: tulip.c:v0.83 10/19/97 becker@cesdis.gsfc.nasa.gov
-> dungeon kernel: eth0: Digital DS21041 Tulip at 0xd000, 21041 mode, 00
-> 80 19 35 9a d6, IRQ 14.
-> dungeon kernel: eth0:21041 Media information at 30, default media
-> 0800 (Autosense).
-> dungeon kernel: eth0: 21041 media 00 (10baseT), csr13 0401 csr14
-> 0100 csr15 0100.
-> dungeon kernel: eth0: 21041 media 00 (10baseT), csr13 2000 csr14
-> 0080 csr15 0000.
-> dungeon kernel: eth0: 21041 media 00 (10baseT), csr13 0000 csr14
-> 0000 csr15 0000.
dungeon kernel: Partition check:
dungeon kernel: sda: sda1 sda2 sda3
dungeon kernel: sdb: sdb1 sdb2
dungeon kernel: sdc: sdc1
dungeon kernel: VFS: Mounted root (ext2 filesystem) readonly.
dungeon kernel: Starting kmod
dungeon kernel: Freeing unused kernel memory: 32k freed
dungeon kernel: Adding Swap: 130748k swap-space (priority -1)
dungeon kernel: Adding Swap: 130748k swap-space (priority -2)
dungeon named[210]: starting. named 4.9.6-REL Tue Mar 31 13:35:17 EST
1998 ewt@porky.redhat.com:/usr/src/redhat/BUILD/bind-4.9.6/named
dungeon named[210]: cache zone "" loaded (serial 0)
dungeon named[210]: primary zone "0.0.127.in-addr.arpa" loaded (serial
1998040701)
dungeon named[210]: primary zone "dungeon-master.com" loaded (serial
1998033101)
dungeon named[210]: primary zone "17.128.24.in-addr.arpa" loaded
(serial 1998033101)
dungeon named[211]: Ready to answer queries.
dungeon named[211]: sysquery: sendto([198.41.0.10].53): Network is
unreachable

When I boot up under 2.1.95, everything in the bootup sequence appears to
run just fine except the ethernet card getting initialized. I believe
the card is being loaded correctly, but it is not getting an IP Address
from the DHCP server. I configured my card to initialize at boot via DHCP,
and under 2.0.33, it works beautifully.

Is this a known problem, or does anyone have a suggestion on where to look
to resolve this?

- Thanks

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu