From owner-freebsd-smp Mon Apr 21 00:32:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26697 for smp-outgoing; Mon, 21 Apr 1997 00:32:31 -0700 (PDT) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA26683 for ; Mon, 21 Apr 1997 00:32:25 -0700 (PDT) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.5/8.8.5) with SMTP id IAA00305; Mon, 21 Apr 1997 08:31:50 +0100 (BST) Date: Mon, 21 Apr 1997 08:31:50 +0100 (BST) From: Doug Rabson To: Steve Passe cc: Peter Wemm , smp@freebsd.org Subject: Re: cvs commit: /home/smp/sys/kern init_smp.c In-Reply-To: <199704201617.KAA06759@Ilsa.StevesCafe.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 20 Apr 1997, Steve Passe wrote: > Hi, > > assumming that your hardware can boot a COMPLETELY GENERIC UP kernel, build > an SMP kernel that is COMPLETELY GENERIC, ie start with GENERIC and add ONLY: > > options SMP # Symmetric MultiProcessor Kernel > options NCPU=2 # number of CPUs > options APIC_IO # Symmetric (APIC) I/O > options SMP_INVLTLB # > > boot -v and -s, see how far you get... It was similar to the last config I tried but stopping in single user mode meant that I could capture the dmesg output. Basically, nothing printed on the console except kernel printfs appears until I try to break into the debugger with Ctl-SysRq. That seems to trigger some kind of delayed interrupt in syscons and the text appears. It doesn't matter whether DDB is in the kernel or not. Something odd is happening interrupt-wise. Maybe the clock isn't running? Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-SMP #0: Mon Apr 21 08:19:21 BST 1997 dfr@herring.nlsystems.com:/mnt/herring/a/dfr/smp/sys/compile/SMP FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011 cpu1 (AP): apic id: 0, version: 0x00040011 io0 (APIC): apic id: 2, version: 0x00170011 Calibrating clock(s) ... i8254 clock: 1193310 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff,MTRR,PGE,MCA,CMOV> real memory = 68153344 (66556K bytes) avail memory = 63934464 (62436K bytes) bdevsw_add_generic: adding D_DISK flag for device 7 bdevsw_add_generic: adding D_DISK flag for device 16 bdevsw_add_generic: adding D_DISK flag for device 17 pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x8000005c pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 [class=60000] [hdr=0] is there (id=12378086) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. chip0 rev 2 on pci0:0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 mapreg[20] type=1 addr=0000ffa0 size=0010. I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks Extended BIOS: disabled Lower BIOS: disabled Coprocessor IRQ13: disabled Mouse IRQ12: disabled Interrupt Routing: A: , B: , C: , D: MB0: , MB1: vga0 rev 1 int a irq 17 on pci0:18:0 Freeing (NOT implimented) irq 11 for ISA cards. mapreg[10] type=0 addr=ffafc000 size=4000. mapreg[14] type=0 addr=fe000000 size=800000. fxp0 rev 1 int a irq 18 on pci0:19:0 Freeing (NOT implimented) irq 9 for ISA cards. mapreg[10] type=0 addr=febff000 size=1000. mapreg[14] type=1 addr=0000ef80 size=0020. mapreg[18] type=0 addr=ff900000 size=100000. reg16: virtual=0xf4d16000 physical=0xfebff000 size=0x1000 fxp0: Ethernet address 00:a0:c9:30:2c:7b ahc0 rev 0 int a irq 19 on pci0:20:0 Freeing (NOT implimented) irq 10 for ISA cards. mapreg[10] type=1 addr=0000ec00 size=0100. mapreg[14] type=0 addr=ffafb000 size=1000. reg16: ioaddr=0xec00 size=0x100 ahc0: Reading SEEPROM...done. internal50 cable is present internal68 cable is present brdctl == 0x2c external cable not present eprom is present brdctl == 0xec low byte termination disabled, high byte termination enabled ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: Downloading Sequencer Program...ahc0: 386 instructions downloaded Done ahc0: Probing channel A ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 0 using 16Bit transfers ahc0: target 0 synchronous at 20.0MHz, offset = 0x8 sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 4157MB (8515173 512 byte sectors) sd0: with 5720 cyls, 8 heads, and an average 186 sectors/track ahc0: target 6 synchronous at 10.0MHz, offset = 0xf cd0 at scbus0 target 6 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd present [258777 x 2048 byte records] pci0: uses 9461760d bytes of memory from fe000000 upto ffafffff. pci0: uses 304d bytes of I/O space from ec00 upto ffaf. Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0065 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 not found at 0x300 fe0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found mse0: wrong signature ff mse0 not found at 0x23c psm0: disabled, not probed. fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 bt0 not found at 0x330 uha0 not found at 0x330 aha0 not found at 0x330 aic0 not found at 0x340 nca0 not found at 0x1f88 nca1 not found at 0x350 sea0 not found wt0 not found at 0x300 mcd0: timeout getting status mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ie0: unknown board_id: f000 ie0 not found at 0x300 ie1: unknown board_id: f000 ie1 not found at 0x360 ep0 not found at 0x300 ex0 not found le0 not found at 0x300 lnc0 not found at 0x280 ze0 not found at 0x300 zp0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface apm0: disabled, not probed. imasks: bio c0080040, tty f004009a, net f004009a BIOS Geometries: 0:0211fe3f 0..529=530 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. changing root device to sd0a configure() finished. Enabled INTs: 1, 2, 3, 4, 6, 7, 8, 18, 19, imen: 0x00f3fe21 sd0s1: type 0xa5, start 63, end = 8514449, size 8514387 : OK SMP: All idle procs online. No debugger in kernel No debugger in kernel No debugger in kernel -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891