From owner-freebsd-smp Fri Nov 29 11:16:09 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA00912 for smp-outgoing; Fri, 29 Nov 1996 11:16:09 -0800 (PST) Received: from ceylon.informatik.uni-rostock.de (ceylon.informatik.uni-rostock.de [139.30.5.237]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA00907 for ; Fri, 29 Nov 1996 11:16:06 -0800 (PST) Received: by ceylon.informatik.uni-rostock.de id UAA27942; Fri, 29 Nov 1996 20:15:56 +0100 Received: by donau.informatik.uni-rostock.de id UAA00453; Fri, 29 Nov 1996 20:15:50 +0100 (MET) Date: Fri, 29 Nov 1996 20:15:50 +0100 (MET) From: Gunther Hipper Message-Id: <199611291915.UAA00453@donau.informatik.uni-rostock.de> To: freebsd-smp@freebsd.org Subject: Re: Problems: includes / segmentation faults / latest SMP-kernel doesn't boot Cc: smp@csn.net X-Sun-Charset: US-ASCII Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi ! As my last mail reached the list i suppose the two before didn't. So: >> The first thing: >> When i did "make most; make installmost; cd /usr/src/sys-SMP/compile/SMP", >> i had to make links/copies of the opt_smp.h. >> i used the following commands: >> cp /usr/src/sys-SMP/compile/SMP/opt_smp.h /usr/src/sys/sys >> cp /usr/src/sys-SMP/compile/SMP/opt_smp.h /usr/src/sys/i386/isa >> cp /usr/src/sys-SMP/compile/SMP/opt_smp.h /usr/include/machine >> cp /usr/src/sys-SMP/compile/SMP/opt_smp.h /usr/include >> Is this a fault in the configuration of my includes or is it not my >I assumme you were in /usr/src when doing "make most"? This probably broke >the opt.smp file. after making things outside /usr/src/sys-SMP >you will probably need to go to sys-SMP/i386/conf and config file> before attempting to build the SMP kernel. this will create opt_smp.h >and place it in the correct directiries. You were right - my configuration was wrong. dunno exactly what was wrong. >> fault ? There seem to be lots of "opt_smp.h" and .... >> Shouldn't these be all ? >they probably should all be one or the other, but I'm not sure which... You were right - everything is gone, compiling is just fine >> The third (and the BIGGEST) problem: >> I just supped the lastest version of the kernel and compiled it. >> Conf is the same as metioned in the beginning. >> Now i get the following messages (last from file kern/init_main.c, smp_idleloop(): >> SMP: Idle procs online, starting an AP ! >> AP CPU #1 Launched ! Starting Scheduling ... >> TADA! CPU#1 made it into the scheduler >> and the final one is >> SMP: All 2 CPU's are online! >> >> And that's it - no more booting......... please help. Give me hints, >> what could i do to find out a bit more. >> It's probably not a fault in smp_idleloop(), where else ? >> Could it be an idle SCSI controller (IRQ problem) .. ? >this is biting about 50% of the testers right now. Since we have very similar >hardware and I don't have this problem it is an excellant opportunity for >us to figure out why. After I look at your config file and mptable output >I will get back in touch with a suggested plan of attack, I'm sorry (or better i really don't know what to say), but this problem is gone. Maybe it was caused by my wrong configuration or making... could this be ? I tried to get this error again, but it seems to be gone. Or is there some connection to the one which i actually have right now (please, don't be bothered).. There is another problem concerning the root-filesystem: panic(cpu#0): nobody wants to mount my root I stopped over in configure(), autoconf.c but couldn't find out why its not mounted...still trying. Hope i can solve this on myself. If not, i'll have to ask tomorrow. Anyway - hereafter is the output of mptable 2.0.4 as requested. Bye Gunther =============================================================================== MPTable, version 2.0.4 looking for EBDA pointer @ 0x040e, NOT found searching CMOS 'top of mem' @ 0x0009fc00 (639K) searching BIOS @ 0x000f0000 MP FPS found in BIOS @ physical addr: 0x000f0c80 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f0c80 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0xf4 mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x000f0c94 signature: 'PCMP' base table length: 292 version: 1.1 checksum: 0x31 OEM ID: 'OEM00000' Product ID: 'PROD00000000' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 28 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 0 0x11 BSP, usable 5 2 1 0x07bf 1 0x11 AP, usable 5 2 1 0x07bf -- Bus: Bus ID Type 0 ISA 1 PCI -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT conforms conforms 0 0 2 0 INT conforms conforms 0 1 2 1 INT conforms conforms 0 0 2 2 INT conforms conforms 0 3 2 3 INT conforms conforms 0 4 2 4 INT conforms conforms 0 5 2 5 INT conforms conforms 0 6 2 6 INT conforms conforms 0 7 2 7 INT conforms conforms 0 8 2 8 INT conforms conforms 0 9 2 9 INT conforms conforms 0 10 2 10 INT conforms conforms 0 11 2 11 INT conforms conforms 0 12 2 12 INT conforms conforms 0 13 2 13 INT conforms conforms 0 14 2 14 INT conforms conforms 0 15 2 15 INT active-lo level 1 8:A 2 16 INT active-lo level 1 9:A 2 17 INT active-lo level 1 10:A 2 18 INT active-lo level 1 12:A 2 19 SMI conforms conforms 0 0 2 23 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ExtINT active-hi edge 0 0 255 0 NMI active-hi edge 0 0 255 1 ------------------------------------------------------------------------------- dmesg output: FreeBSD 2.2-961014-SNAP #22: Sun Nov 17 16:03:37 1996 root@fcna1.informatik.uni-rostock.de:/usr/src/sys/compile/GENERIC_FCNA Calibrating clock(s) relative to mc146818A clock... i586 clock: 150376665 Hz, i8254 clock: 1193468 Hz CPU: Pentium (150.34-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x3bf real memory = 33554432 (32768K bytes) avail memory = 30720000 (30000K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 vga0 rev 227 int a irq 11 on pci0:8 chip3 rev 2 on pci0:10 ahc0 rev 0 int a irq 9 on pci0:12 ahc0: aic7880 Unsupported adapter type. Ignoring Probing for devices on PCI bus 1: de0 rev 32 int a irq 10 on pci1:4 **** This is an EM400 Master **** **** EM400 Master returning 0 de0: enabling 100baseTX port de0: Cogent EM400 MS DC21140A [10-100Mb/s] pass 2.0 de0: address 00:00:92:95:16:b8 Hi from tulip_dc21140_cogent_em100_media_probe() de1 rev 32 int a irq 9 on pci1:5 **** This is an EM400 Slave **** root_unit 0 set hwaddr..set boardsw.. de1: enabling 100baseTX port de1: Cogent EM400 SL DC21140A [10-100Mb/s] pass 2.0 de1: address 00:00:92:95:16:b9 Hi from tulip_dc21140_cogent_em100_media_probe() de2 rev 32 int a irq 11 on pci1:6 **** This is an EM400 Slave **** root_unit 1 0 set hwaddr..set boardsw.. de2: enabling 100baseTX port de2: Cogent EM400 SL DC21140A [10-100Mb/s] pass 2.0 de2: address 00:00:92:95:16:ba Hi from tulip_dc21140_cogent_em100_media_probe() de3 rev 32 int a irq 7 on pci1:7 **** This is an EM400 Slave **** root_unit 2 1 0 set hwaddr..set boardsw.. de3: enabling 100baseTX port de3: Cogent EM400 SL DC21140A [10-100Mb/s] pass 2.0 de3: address 00:00:92:95:16:bb Hi from tulip_dc21140_cogent_em100_media_probe() Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 5 on isa ed0: address 00:40:05:32:cb:aa, type NE2000 (16 bit) fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface ------------------------------------------------------------------------------- # SMP kernel config file options: options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O options NCPU=2 # number of CPUs options NBUS=2 # number of busses options NAPIC=1 # number of IO APICs options NINTR=21 # number of INTs ===============================================================================