Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 22:00:14 +0200
From:      "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
To:        freebsd-current@FreeBSD.org
Subject:   Problems with the latest changes to ifconfig (I guess)
Message-ID:  <19990830220014.A11116@bank-pedersen.dk>

next in thread | raw e-mail | index | archive | help
Hi,

After the recent changes to ifconfig and the xl driver I am getting
a panic when rc.network runs ifconfig:

[...]
Doing initial network setup: hostname.
UP,LOOPBACK,RUNN
                ING,MULTICAST> m
E®Wio•Fnetmask 0xff0000a00 
tal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x0
stack pointer           = 0x10:0xc8d18dc4
frame pointer           = 0x10:0xc8d18ddc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 78 (ifconfig)
interrupt mask          = net 
kernel: type 12 trap, code=0
Stopped at      0:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc020cac4
stack pointer           = 0x10:0xc8d18c3c
frame pointer           = 0x10:0xc8d18c40
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 78 (ifconfig)
interrupt mask          = net 
      kernel: type 12 trap, code=0
db>

This is after a make buildworld/installworld on -current (as of today).

dmesg and config-file:


FreeBSD/i386 bootstrap loader, Revision 0.7  639/65472kB
(root@home.bank-pedersen.dk, Mon Aug 30 10:58:22 CEST 1999)
/kernel text=0x164b84 data=0x1ee6c+0x1e1e8
syms=[0x4+0x24760+0x4+0x268f8]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...               
Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.0-CURRENT #0: Mon Aug 30 18:56:22 CEST 1999
    root@home.bank-pedersen.dk:/usr/src/sys/compile/HOME
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (400.90-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134217728 (131072K bytes)
avail memory = 127102976 (124124K bytes)
Preloaded elf kernel "kernel" at 0xc02ef000.
VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc029d042 (1000022)
VESA: ATI MACH64
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
vga-pci0: <ATI model 4742 graphics accelerator> irq 15 at device 0.0 on
pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
chip1: <Intel PIIX4 IDE controller> at device 7.1 on pci0
chip2: <UHCI USB controller> at device 7.2 on pci0
chip3: <Intel 82371AB Power management controller> at device 7.3 on pci0
ahc0: <Adaptec 2940 SCSI adapter> irq 15 at device 15.0 on pci0
ahc0: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs
pcm0: <AudioPCI ES1370> irq 11 at device 16.0 on pci0
pcm0: using I/O space register mapping at 0xe800
xl0: <3Com 3c905B-TX Fast Etherlink XL> irq 10 at device 18.0 on pci0
xl0: Ethernet address: 00:10:4b:7a:96:7d
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xlphy1: <3Com internal media interface> on miibus0
xlphy1: ignoring this PHY, non-zero instance
device_probe_and_attach: xlphy1 attach returned 6
Probing for PnP devices:
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <9 virtual consoles, flags=0x0>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0 at port 0x378-0x37f on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
Waiting 5 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DCAS-34330 S65A> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15)
da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)
da2 at ahc0 bus 0 target 8 lun 0
da2: <IBM DCAS-32160W   !# S69D> Fixed Direct Access SCSI-2 device 
da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DORS-32160W WA6A> Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing
Enabled
da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <TOSHIBA CD-ROM XM-3601TA 0265> Removable CD-ROM SCSI-2 device 
cd0: 4.237MB/s transfers (4.237MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted
vinum: loaded
Can't open history file /var/tmp/vinum_history: Read-only file system
(30)
vinum: reading configuration from /dev/da2s1h
vinum: updating configuration from /dev/da1s1f
vinum: updating configuration from /dev/da1s1g
vinum: updating configuration from /dev/da1s1h
vinum: updating configuration from /dev/da2s1f
vinum: updating configuration from /dev/da2s1g
vinum: /dev is mounted read-only, not rebuilding /dev/vinum
swapon: adding /dev/da0s1b as swap device
swapon: adding /dev/da1s1b as swap device
swapon: adding /dev/da2s1b as swap device
Automatic reboot in progress...


# cat /usr/src/sys/i386/conf/HOME           
machine         i386
cpu             I686_CPU
ident           HOME
maxusers        64

#config         kernel  root on da0

options         INET
options         FFS
options         NFS
options         CD9660
options         FFS_ROOT
options         PROCFS
#options                MSDOSFS
options         COMPAT_43
options         SCSI_DELAY=5000
options         UCONSOLE
options         USERCONFIG
options         MAXCONS=9
#options                VISUAL_USERCONFIG
options         SOFTUPDATES
options         NO_F00F_HACK
options         ICMP_BANDLIM
options         CLK_USE_TSC_CALIBRATION
options         COMPAT_LINUX
options         AHC_ALLOW_MEMIO
options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         KTRACE
options         VESA
options         SC_HISTORY_SIZE=1024
options         XSERVER
options         DDB
#options                GDB_REMOTE_CHAT

controller      isa0    at nexus?
controller      pnp0
controller      pci0    at nexus?

controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12

device          vga0    at isa? port ? conflicts  

device          sc0     at isa?

controller      fdc0    at isa? port IO_FD1 irq 6 drq 2
disk            fd0     at fdc0 drive 0

controller      ahc0

controller      scbus0

device          da0

device          sa0

device          cd0

device          pass0

device          pcm0

device          npx0    at nexus? port IO_NPX irq 13

device          apm0    at nexus?

device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3

device          ppc0    at isa? port?
controller      ppbus0
device          lpt0    at ppbus?
#device         ppi0    at ppbus?
#device         lpbb0   at ppbus?

controller      miibus0
device xl0

#controller     smbus0
#controller     intpm0
#device         smb0    at smbus?

#controller     iicbus0
#controller     iicbb0

#device         ic0     at iicbus?
#device         iic0    at iicbus?
#device         iicsmb0 at iicbus?

#controller     uhci0
#controller     ohci0
#controller     usb0

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty     16
pseudo-device   gzip
pseudo-device   bpf     4
pseudo-device   splash
#


/Niels Chr.

-- 
 Niels Christian Bank-Pedersen, NCB1-RIPE.
 Network Manager, Tele Danmark NET, IP-section.

 "Hey, are any of you guys out there actually *using* RFC 1149?"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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