Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 1997 13:45:25 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        stable@freebsd.org
Subject:   routing problems
Message-ID:  <199707192045.NAA02802@blimp.mimi.com>

next in thread | raw e-mail | index | archive | help
I upgraded a machine from 2.2-stable of 2 months ago to yesterday's,
and now it can't see the network.  This is what happens:

===
No keyboard found.
>> FreeBSD BOOT @ 0x10000: 639/64512 k of memory
Usage: [[[0:][wd](0,a)]/kernel][-abcCdghrsv]
Use 1:sd(0,a)kernel to boot sd0 if it is BIOS drive 1
Use ? for file list or press Enter for defaults

Boot: 
dosdev= 80, biosdrive = 0, unit = 0, maj = 0
Booting 0:wd(0,a)/kernel @ 0x100000
text=0xd0000 data=0xd000 bss=0x104fc symbols=[+0xb04+0x4+0xde60+0x4+0x128a1]
total=0x20e709 entry point=0x100000
BIOS basemem (639K) != RTC basemem (640K), setting to BIOS value
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2-STABLE #0: Sat Jul 19 04:47:20 PDT 1997
    root@m8.cs.berkeley.edu:/a/src/sys/compile/TD
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x616  Stepping=6
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 67108864 (65536K bytes)
Physical memory hole(s):
avail memory = 63803392 (62308K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 0 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
vx0 <3COM 3C595 Fast Etherlink III PCI> rev 0 int a irq 11 on pci0:11
utp/tx[*utp*]: disable 'auto select' with DOS util! address 00:a0:24:c5:f0:03
pci0:15:    vendor=0x10e8, device=0x8043, class=old (misc) int a irq 11 [no driver assigned]
chip3 <DEC 21050 PCI-PCI bridge> rev 2 on pci0:17
vga0 <VGA-compatible display device> rev 3 on pci0:19
Probing for devices on PCI bus 1:
ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci1:4
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
<lots of disks omitted>
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST32140A>
wd0: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
changing root device to wd0a
ccd0-7: Concatenated disk drivers
swapon: adding /dev/wd0b as swap device
Automatic reboot in progress...
/dev/rwd0a: clean, 13584 free (160 frags, 1678 blocks, 0.5% fragmentation)
/dev/rwd0d: clean, 15387 free (11 frags, 1922 blocks, 0.1% fragmentation)
/dev/rwd0e: clean, 6135 free (231 frags, 738 blocks, 1.5% fragmentation)
/dev/rwd0f: clean, 60307 free (2123 frags, 7273 blocks, 1.7% fragmentation)
/dev/rsd0h: clean, 6877516 free (3588 frags, 859241 blocks, 0.0% fragmentation)
Doing initial network setup: hostname.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 128.32.45.184 netmask 0xffffff00 broadcast 128.32.45.255
        ether 00:a0:24:c5:f0:03 
writing to routing socket: File exists
add net default: gateway 128.32.45.1: File exists
Additional routing options:.
^Cchecking for core dump...savecore: no core dump
recording kernel -c changes
additional daemons: syslogd tickadj.
Doing additional network setup: ntpdate portmap.
Starting final network daemons: mountd nfsd rpc.statd nfsiod.
setting ldconfig path: /usr/lib /usr/lib/compat
starting standard daemons: inetd cron printer sendmail.
Initial rc.i386 initialization:.
rc.i386 configuring syscons: keyrate blank_time screensaver.
Local package startup:.
starting local daemons:.
Sat Jul 19 04:49:52 PDT 1997

   FreeBSD (m8.cs.berkeley.edu) (ttyd0)

login: 
===

As you can see, it prints out a couple of error messages when it tries
to set up the routes and gets stuck (in "mount?") after it printed out
"Additional routing options:.".  I can ^C it and it will come up but
without the network.

Here's what it looks like:

===
# ifconfig -a
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 128.32.45.184 netmask 0xffffff00 broadcast 128.32.45.255
        ether 00:a0:24:c5:f0:03 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
127.0.0.1          127.0.0.1          UH          0        0       lo0
128.32.45/24       link#1             UC          0        0 
128.32.45.184      0:a0:24:c5:f0:3    UHLW        1       38       lo0
===

and here is what its sister says (this one hasn't been upgraded):

===
# ifconfig -a
vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 128.32.45.185 netmask 0xffffff00 broadcast 128.32.45.255
        ether 00:a0:24:c5:ef:b6 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            128.32.45.1        UGSc        6        0       vx0
127.0.0.1          127.0.0.1          UH          0        0       lo0
128.32.45/24       link#1             UC          0        0 
128.32.45.1        0:0:a2:c5:87:cd    UHLW        7        0       vx0    347
128.32.45.185      0:a0:24:c5:ef:b6   UHLW        2       42       lo0
===

The defaultrouter is set to "128.32.45.1" and routed is not running (I 
tried running it but it didn't help).  The hardware should be ok
because the machine still boots with the network if I boot it from a
backup system disk (the state before make world and kernel rebuild).

I built the world twice and the kernel twice.  Can someone tell me
what I screwed up?

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707192045.NAA02802>