Date: Mon, 26 Feb 2001 10:10:35 -0500 From: Robin Cutshaw <robin@intercore.com> To: Peter Wemm <peter@netplex.com.au> Cc: Robin Cutshaw <robin@XFree86.Org>, freebsd-hackers@FreeBSD.ORG Subject: Re: Build timings - FreeBSD 4.2 vs. Linux Message-ID: <20010226101035.A18698@intercore.com> In-Reply-To: <200102211844.f1LIigf26743@mobile.wemm.org>; from peter@netplex.com.au on Wed, Feb 21, 2001 at 10:44:42AM -0800 References: <20010221090207.A11473@intercore.com> <200102211844.f1LIigf26743@mobile.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 21, 2001 at 10:44:42AM -0800, Peter Wemm wrote: > > > > There's a problem here. I tried to configure an SMP kernel but when it > > booted the fxp0 (Compaq dual eepro100 adapter) got timeout errors and > > wouldn't work. I went back and did the config/make on the GENERIC > > kernel and booted it. Same thing. The stock GENERIC kernel that came > > with the dist works just fine. Any ideas? > > > > One other problem I've seen with the Compaq 8500 system. FreeBSD doesn't > > see the pci adapter on the secondary bus. I had to move the ethernet > > adapter to the primary bus for it to work. > > Perhaps the output of 'pciconf -l' and mptable(8) would be useful. > dmesg also, after a verbose boot (boot -v at the loader). > I did a little more research. The GENERIC kernel works fine, even when rebuilt. If I uncomment SMP/APIC, the kernel doesn't work with the ethernet card. It looks like interrupts aren't being processed. Also, it looks like 4.2 is not scanning the complete PCI bus. Here's the output from pciconf: pcib3@pci0:1:0: class=0x060400 card=0x000000dc chip=0x00261011 rev=0x05 hdr=0x01 none0@pci0:11:0: class=0x080400 card=0xa2f80e11 chip=0xa0f70e11 rev=0x11 hdr=0x00 none1@pci0:12:0: class=0x088000 card=0xb0f30e11 chip=0xa0f00e11 rev=0x00 hdr=0x00 none2@pci0:13:0: class=0x030000 card=0x47561002 chip=0x47561002 rev=0x7a hdr=0x00 ida0@pci0:14:0: class=0x010400 card=0x40400e11 chip=0x00101000 rev=0x02 hdr=0x00 isab0@pci0:15:0: class=0x060100 card=0x02001166 chip=0x02001166 rev=0x4d hdr=0x00 none3@pci0:20:0: class=0x050000 card=0x00000000 chip=0x1117118c rev=0x05 hdr=0x00 none4@pci0:20:1: class=0x050000 card=0x00000000 chip=0x1117118c rev=0x05 hdr=0x00 chip0@pci0:25:0: class=0x060000 card=0x00000000 chip=0x60100e11 rev=0x01 hdr=0x00 chip1@pci0:26:0: class=0x060000 card=0x00000000 chip=0x60100e11 rev=0x01 hdr=0x00 chip2@pci0:27:0: class=0x060000 card=0x00000000 chip=0x60100e11 rev=0x01 hdr=0x00 fxp0@pci1:4:0: class=0x020000 card=0xb0dd0e11 chip=0x12298086 rev=0x05 hdr=0x00 fxp1@pci1:5:0: class=0x020000 card=0xb0dd0e11 chip=0x12298086 rev=0x05 hdr=0x00 Here's the output from scanpci (a little program that I wrote for XFree86): pci bus 0x0 cardnum 0x01 function 0x0000: vendor 0x1011 device 0x0026 Digital Device unknown pci bus 0x0 cardnum 0x0b function 0x0000: vendor 0x0e11 device 0xa0f7 Compaq Device unknown pci bus 0x0 cardnum 0x0c function 0x0000: vendor 0x0e11 device 0xa0f0 Compaq Device unknown pci bus 0x0 cardnum 0x0d function 0x0000: vendor 0x1002 device 0x4756 ATI Mach64 GV pci bus 0x0 cardnum 0x0e function 0x0000: vendor 0x1000 device 0x0010 NCR Device unknown pci bus 0x0 cardnum 0x0f function 0x0000: vendor 0x1166 device 0x0200 Device unknown pci bus 0x0 cardnum 0x14 function 0x0000: vendor 0x118c device 0x1117 Device unknown pci bus 0x0 cardnum 0x14 function 0x0001: vendor 0x118c device 0x1117 Device unknown pci bus 0x0 cardnum 0x19 function 0x0000: vendor 0x0e11 device 0x6010 Compaq Device unknown pci bus 0x0 cardnum 0x1a function 0x0000: vendor 0x0e11 device 0x6010 Compaq Device unknown pci bus 0x0 cardnum 0x1b function 0x0000: vendor 0x0e11 device 0x6010 Compaq Device unknown pci bus 0x1 cardnum 0x04 function 0x0000: vendor 0x8086 device 0x1229 Intel 82557/8/9 10/100MBit network controller pci bus 0x1 cardnum 0x05 function 0x0000: vendor 0x8086 device 0x1229 Intel 82557/8/9 10/100MBit network controller pci bus 0x5 cardnum 0x01 function 0x0000: vendor 0x1011 device 0x0026 Digital Device unknown pci bus 0x5 cardnum 0x0b function 0x0000: vendor 0x0e11 device 0xa0f7 Compaq Device unknown pci bus 0x6 cardnum 0x04 function 0x0000: vendor 0x8086 device 0x1229 Intel 82557/8/9 10/100MBit network controller pci bus 0x6 cardnum 0x05 function 0x0000: vendor 0x8086 device 0x1229 Intel 82557/8/9 10/100MBit network controller pci bus 0xd cardnum 0x0b function 0x0000: vendor 0x0e11 device 0xa0f7 Compaq Device unknown Note that the XFree86 3.3.6 version of scanpci stopped at bus 3 but this new version scans the complete bus. Here's the output from mptable (while running GENERIC): =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f4fd0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x18 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000ff485 signature: 'PCMP' base table length: 668 version: 1.4 checksum: 0x28 OEM ID: 'COMPAQ ' Product ID: 'PROLIANT ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 72 local APIC address: 0xfee00000 extended table length: 172 extended table checksum: 148 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 7 0x10 BSP, usable 6 10 1 0x387fbff 4 0x10 AP, usable 6 10 1 0x387fbff 5 0x10 AP, usable 6 10 1 0x387fbff 6 0x10 AP, usable 6 10 1 0x387fbff -- Bus: Bus ID Type 0 PCI 5 PCI 13 PCI 17 ISA -- I/O APICs: APIC ID Version State Address 8 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# INT active-lo level 0 14:A 8 24 INT active-lo level 0 14:B 8 24 INT active-lo level 5 1:A 8 20 INT active-lo level 5 1:C 8 20 INT active-lo level 5 1:B 8 20 INT active-lo level 5 1:D 8 20 INT active-lo level 5 2:A 8 19 INT active-lo level 5 2:B 8 19 INT active-lo level 5 2:C 8 19 INT active-lo level 5 2:D 8 19 INT active-lo level 5 3:A 8 18 INT active-lo level 5 3:C 8 18 INT active-lo level 5 3:B 8 18 INT active-lo level 5 3:D 8 18 INT active-lo level 5 4:A 8 17 INT active-lo level 5 4:C 8 17 INT active-lo level 5 4:B 8 17 INT active-lo level 5 4:D 8 17 INT active-lo level 5 5:A 8 16 INT active-lo level 5 5:C 8 16 INT active-lo level 5 5:B 8 16 INT active-lo level 5 5:D 8 16 INT active-lo level 5 6:A 8 31 INT active-lo level 5 6:C 8 31 INT active-lo level 5 6:B 8 31 INT active-lo level 5 6:D 8 31 INT active-lo level 0 1:A 8 23 INT active-lo level 0 1:C 8 23 INT active-lo level 0 1:B 8 23 INT active-lo level 0 1:D 8 23 INT active-lo level 0 2:A 8 22 INT active-lo level 0 2:C 8 22 INT active-lo level 0 2:B 8 22 INT active-lo level 0 2:D 8 22 INT active-lo level 0 3:A 8 21 INT active-lo level 0 3:C 8 21 INT active-lo level 0 3:B 8 21 INT active-lo level 0 3:D 8 21 INT active-lo level 13 1:A 8 30 INT active-lo level 13 1:C 8 30 INT active-lo level 13 1:B 8 29 INT active-lo level 13 1:D 8 29 INT active-lo level 13 2:A 8 28 INT active-lo level 13 2:C 8 28 INT active-lo level 13 2:B 8 28 INT active-lo level 13 2:D 8 28 INT active-lo level 0 11:A 8 26 INT active-lo level 5 11:A 8 26 INT active-lo level 13 11:A 8 26 INT active-hi edge 17 1 8 1 INT active-hi edge 17 0 8 2 INT active-hi edge 17 3 8 3 INT active-hi edge 17 4 8 4 INT active-hi edge 17 6 8 6 INT active-hi edge 17 7 8 7 INT active-hi edge 17 8 8 8 INT active-hi edge 17 12 8 12 INT active-lo level 17 13 8 13 INT active-hi edge 17 14 8 14 INT active-hi edge 17 15 8 15 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT conforms conforms 17 0 255 0 NMI conforms conforms 17 0 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: Extended Table HOSED! Robin -- ---- Robin Cutshaw internet: robin@interlabs.com robin@intercore.com Internet Labs, Inc. BellNet: 404-713-4000 robin@XFree86.Org XFree86 coreteam/board member "Time is just one damn thing after another" -- PBS/Nova ---- -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226101035.A18698>