From owner-freebsd-stable Wed Dec 5 10:38:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by hub.freebsd.org (Postfix) with ESMTP id D1F7237B416 for ; Wed, 5 Dec 2001 10:38:31 -0800 (PST) Received: from klima.Physik.Uni-Mainz.DE (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by klima.physik.uni-mainz.de (8.11.6/8.11.4) with ESMTP id fB5IcTI26938; Wed, 5 Dec 2001 19:38:29 +0100 (CET) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Wed, 5 Dec 2001 19:38:29 +0100 (CET) From: "Hartmann, O." To: Glenn Johnson Cc: freebsd-stable@FreeBSD.ORG Subject: Re: linux module broken also with patch In-Reply-To: <20011205121744.B7038@node1.cluster.srrc.usda.gov> Message-ID: <20011205192049.F26728-100000@klima.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 5 Dec 2001, Glenn Johnson wrote: Dear Glenn. Yes, of course. I approved this two times on all systems after the first failure! I patched two times and the second time I was asked to patch an already patched file. Then I started to rebuild the kernel. In /etc/make.conf I commented out the option to avoid making modules by each make buildkernel, so that modules are build on each kernel build. I approved this by looking at the time stamp on the freshly generated files. Your patch works, yes, I can asure this, but only on one machine with no fxp interface! Our P4 machine (Dell Precision 340) showed up the same problem as all other before the patch and after the patch (with the exact same steps as on the other systems) it works well and shows up it MAC when typing lmutil lmhostid. But this is not on all systems with the Intel NIC (fxp0). Definitely not ... I'm sorry not being able to confirm that, but that's the truth. I post here the dmesg output from one of the SMP machine which has an fxp0 NIC and is not working with your patch and after this I post the dmesg output of th P4 system that works fine. Nonworking machine: Copyright (c) 1992-2001 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.4-STABLE #9: Wed Dec 5 16:02:46 CET 2001 root@klima.physik.uni-mainz.de:/usr/obj/usr/src/sys/KLIMA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (803.60-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387fbff real memory = 1073725440 (1048560K bytes) avail memory = 1041731584 (1017316K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 3, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0388000. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00f12d0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 16 -> irq 10 pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 10 isab0: at device 4.0 on pci0 isa0: on isab0 pci0: at 4.1 sym0: <1010-33> port 0xb800-0xb8ff mem 0xf1800000-0xf1801fff,0xf2000000-0xf20003ff irq 2 at device 9.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <1010-33> port 0xb400-0xb4ff mem 0xf0800000-0xf0801fff,0xf1000000-0xf10003ff irq 10 at device 9.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-80, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. pcib3: at device 11.0 on pci0 IOAPIC #0 intpin 18 -> irq 11 pci2: on pcib3 pcib4: at device 0.0 on pci2 IOAPIC #0 intpin 17 -> irq 13 pci3: on pcib4 amr0: mem 0xf4000000-0xf5ffffff irq 13 at device 0.0 on pci3 amr0: Firmware F160, BIOS 3.12, 32MB RAM pci2: (vendor=0x1077, dev=0x1216) at 1.0 irq 11 fxp0: port 0x9800-0x983f mem 0xef000000-0xef0fffff,0xef800000-0xef800fff irq 10 at device 12.0 on pci0 fxp0: Ethernet address 00:d0:b7:06:6e:78 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci4: on pcib1 orm0: