From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 06:52:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91FAA37B420 for ; Tue, 5 Aug 2003 06:52:15 -0700 (PDT) Received: from olmec.nighttide.net (jasper.nighttide.net [207.5.141.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 778EA43F75 for ; Tue, 5 Aug 2003 06:52:14 -0700 (PDT) (envelope-from darren@nighttide.net) Received: from localhost (darren@localhost [127.0.0.1]) by olmec.nighttide.net (8.12.9/8.12.9) with ESMTP id h75DqD7h017956 for ; Tue, 5 Aug 2003 09:52:13 -0400 (EDT) (envelope-from darren@nighttide.net) Date: Tue, 5 Aug 2003 09:52:13 -0400 (EDT) From: Darren Henderson To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: miibus, ed0, and the realpath security advisory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 13:52:15 -0000 I cvsup'd on 7/3 after this week's realpath advisory, Rebuilt several 4.8-STABLE systems - most went fine. One system, an old 133Mhz machine that acts as a firewall had several problems that weren't present with a cvsup from 6/23. dmesg and kernel config below. Problems: I assume this one is harmless but it is new: bios32: Bad BIOS32 Service Directory Same for this: pcibios: No call entry point This is the one causing problems: module_register: module miibus/ukphy already exists! linker_file_sysinit "miibus.ko" failed to register! 17 module_register: module pci/ed already exists! linker_file_sysinit "if_ed.ko" failed to register! 17 miibus and ed0 are statically linked yet these still show up. kldstat shows that if_ed and miibus have been dynamically loaded even though they are already in the kernel. I see numerous mentions of this in recent mails but no explanation or work around. Difficult to pin down but we begin to see network aberations (traffic stops flowing through dc1) in the system after its run for awhile (20 minutes) and the system has to be rebooted. Remove ed0 from the kernel everything works fine except ed0 is missing, (not dynamically loaded this time). miibus no longer shows up in kldstat so the statically linked version is running. ---------------------------------------------------------------------- Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-STABLE #0: Mon Aug 4 21:48:23 EDT 2003 darren@olmec.nighttide.net:/usr/obj/usr/src/sys/JASPER Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 132632337 Hz CPU: Pentium/P54C (132.63-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping = 11 Features=0x1bf real memory = 83886080 (81920K bytes) avail memory = 78401536 (76564K bytes) bios32: Bad BIOS32 Service Directory Preloaded elf kernel "kernel" at 0xc031b000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk pcibios: No call entry point npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at 7.1 bt0: port 0xfcec-0xfcef irq 9 at device 17.0 on pci0 bt0: BT-946C FW Rev. 4.25J Narrow SCSI Host Adapter, SCSI ID 7, 100 CCBs pci0: at 18.0 irq 11 dc0: port 0xf800-0xf8ff mem 0xf0dffc00-0xf0dfffff irq 11 at device 19.0 on pci0 dc0: Ethernet address: 00:20:78:11:ac:82 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: port 0xf400-0xf4ff mem 0xf0dff800-0xf0dffbff irq 11 at device 20.0 on pci0 dc1: Ethernet address: 00:20:78:11:ac:8f miibus1: on dc1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: