Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 13:17:21 +0200 (MET DST)
From:      Andrzej Bialecki <abial@korin.warman.org.pl>
To:        freebsd-current@FreeBSD.ORG
Subject:   SMP problem: being on wrong cpu#
Message-ID:  <Pine.NEB.3.95.970515124124.10874B-100000@korin.warman.org.pl>

next in thread | raw e-mail | index | archive | help

Hello!

I'm running -current as of Apr 28, on SMP (Tyan Tomcat II) with 2xPentium
133MHz, 64MB RAM, Adaptec 2940U, dmesg output included at the end.

Now, when I run Xwindow (X11R6.3) with fvwm95-2 (either one or two procs
online), I sometimes get panics due to "page not present" when starting or
shutting down the Xs, (I can jot it down the next time if need be), and
there was once even stranger message: 

oops, I'm on cpu#0 but I should be on cpu#1

or similar (this was with both procs online). Then it (of course)
rebooted.

Furthermore, this machine is somewhat weird: in order to reboot it
properly, I have to power it off, or else the controller doesn't see the
disk.

What would you suggest? Is it something with the hardware or is it the SMP
code problem?

I'm willing to help in investigating this problem. Does it mean I should
turn "savecore=YES" :-) ? At this moment, I'm still totally ignorant in
area of kernel debugging, but I'm willing to learn...

Anyway, here goes the `dmesg`:
------------------------------------------------------
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-CURRENT #0: Mon Apr 28 19:24:28 CEST 1997
    root@hortensja.nask.waw.pl:/usr/src/sys/compile/SMP
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id: 0, version: 0x00030010
 cpu1 (AP):  apic id: 1, version: 0x00030010
 io0 (APIC): apic id: 2, version: 0x00170011
CPU: Pentium (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 67108864 (65536K bytes)
avail memory = 63782912 (62288K bytes)
bdevsw_add_generic: adding D_DISK flag for device 15
Probing for devices on PCI bus 0:
chip0 <Intel 82439> rev 2 on pci0:0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
vga0 <VGA-compatible display device> rev 6 int a irq 17 on pci0:19:0
Freeing (NOT implimented) irq 10 for ISA cards.
ahc0 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 16 on pci0:20:0
Freeing (NOT implimented) irq 11 for ISA cards.
ahc0: aic7860 Single Channel, SCSI Id=7, 3 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
sd0 at scbus0 target 0 lun 0
sd0: <QUANTUM FIREBALL_TM3200S 300N> type 0 fixed SCSI 2
sd0: Direct-Access 3067MB (6281856 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-5602B/1656>, removable, intr, dma, iordy
wcd0: 1377Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1: unit 1 (atapi): <ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ/ÿÿÿÿÿÿÿÿ>, 
removable, cmd3, drq3, ovlap, idma, iordis
wdc1: unit 1: unknown ATAPI protocol=3		/* but it works ok */
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 12 on isa
ep0: aui/utp/bnc[*UTP*] address 00:60:97:39:2a:f1
npx0 on motherboard
npx0: INT 16 interface
changing root device to sd0a
Enabled INTs: 0, 1, 3, 4, 6, 7, 8, 12, 15, 16, imen: 0x00fe6e24
WARNING: / was not properly dismounted.
SMP: All idle procs online.
------------------------------------------------------

Thanks in advance for your help.

Sincerely yours,

---
Andrzej Bialecki                  FreeBSD: Turning PCs Into Workstations
<abial@warman.org.pl>             http://www.freebsd.org
Research and Academic Network in Poland




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970515124124.10874B-100000>