From owner-freebsd-questions Sat Sep 2 7:31:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 6212537B422 for ; Sat, 2 Sep 2000 07:31:54 -0700 (PDT) Received: from ix.netcom.com (sil-wa15-13.ix.netcom.com [207.93.148.13]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id KAA14859 for ; Sat, 2 Sep 2000 10:31:50 -0400 (EDT) Received: (from tomdean@localhost) by ix.netcom.com (8.11.0/8.9.3) id e82EViD03535; Sat, 2 Sep 2000 07:31:44 -0700 (PDT) (envelope-from tomdean@ix.netcom.com) Date: Sat, 2 Sep 2000 07:31:44 -0700 (PDT) Message-Id: <200009021431.e82EViD03535@ix.netcom.com> From: "Thomas D. Dean" To: freebsd-questions@FreeBSD.ORG Subject: Ifconfig Causes Fatal Trap Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently received the 4.1 subscription CD. I have a 486-66 machine running ppp and serving a printer in a very low usage net. Seemed to work fine. But, I thought, might as well get in this century. Wrong! I backed-up all the config files and misc tools, etc. I installed 4.1, not changing any partitions, just enabling newfs. All seemed to go OK. The errata said boot0 had a bug in it, but, the machine booted OK. I fetched the new boot0 and installed it. I made no hardware changes and did not even cycle power on the machine. I restored the configuration files and rebooted. Fatal Trap 12. I removed all the restored configuration. The machine boots OK. 'ifconfig le0 inet 192.168.1.1 netmask 255.255.255.0' causes a Fatal Trap 12. Fatal 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:0x32e7d70 frame pointer = 0x10:0x32e7d84 code segment = base 0x0, limit 0xfffff, type 0x1b DPL 0, pres 1, def32 1, gran 1 processor eflagfs = interrupt enabled, resume, IPLL = 0 current process = 179 (ifconfig) interrupt mask = net kernel: type 12 trap, code=0 Stopped at 0: followed immediately by another trap 12. Dmesg is attached. This has to be something simple, but, I can't see it. tomdean ====== dmesg ======== Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.1-RELEASE #0: Tue Jan 1 19:21:10 PST 1980 root@:/usr/src/sys/compile/TDD486 Timecounter "i8254" frequency 1193182 Hz CPU: i486 DX2 (486-class CPU) Origin = "GenuineIntel" Id = 0x435 Stepping = 5 Features=0x3 real memory = 20971520 (20480K bytes) avail memory = 17854464 (17436K bytes) Preloaded elf kernel "kernel" at 0xc02b5000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02b509c. npx0: on motherboard npx0: INT 16 interface isa0: on motherboard fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 fd1: <1200-KB 5.25" drive> on fdc0 drive 1 WARNING: "fd" is usurping "fd"'s cdevsw[] WARNING: "fd" is usurping "fd"'s bmaj aha0 at port 0x330-0x333 irq 11 drq 5 on isa0 aha0: AHA-1542C FW Rev. 0.1 (ID=44) SCSI Host Adapter, SCSI ID 7, 16 CCBs atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16450 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16450 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port le0 at port 0x300-0x31f iomem 0xd0000-0xd07ff irq 10 on isa0 le0: DE205-AC ethernet address 00:00:f8:50:25:07 le0: driver is using old-style compatability shims le0 XXX: driver didn't set ifq_maxlen Waiting 10 seconds for SCSI devices to settle da0 at aha0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 3.333MB/s transfers (3.333MHz, offset 8) da0: 1041MB (2131992 512 byte sectors: 64H 32S/T 1041C) da1 at aha0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 3.333MB/s transfers (3.333MHz, offset 8) da1: 3090MB (6328861 512 byte sectors: 64H 32S/T 3090C) cd0 at aha0 bus 0 target 2 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [329507 x 2048 byte records] Mounting root from ufs:/dev/da0s1a fd0c: hard error reading fsbn 16 of 16-31 (ST0 40 ST1 1 ST2 0 cyl 0 hd 0 sec 17) fd0c: hard error reading fsbn 16 of 16-31 (ST0 40 ST1 1 ST2 0 cyl 0 hd 0 sec 17) fd0c: hard error reading fsbn 16 of 16-31 (ST0 40 ST1 1 ST2 0 cyl 0 hd 0 sec 17) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message