Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 1999 21:09:47 +0930 (CST)
From:      "Daniel J. O'Connor" <darius@dons.net.au>
To:        current@freebsd.org
Subject:   SMP & APM
Message-ID:  <XFMail.990505210947.darius@dons.net.au>

next in thread | raw e-mail | index | archive | help
This message is in MIME format
--_=XFMail.1.3.p0.FreeBSD:990505210947:369=_
Content-Type: text/plain; charset=us-ascii

Hi,
Has anyone tried having APM and SMP in the same kernel? It panic()'s mine :)

Basically the machine panics a few seconds after I do 'apmconf -e'. apm seems
to return normal values though.

I've attached a sample output from APM, dmesg and my kernel config.

I get a trap 12: page fault in kernel mode
mp_lock = 01000009; cpuid = 1; lapic.id = 01000000
fault virtual address = 0x75f0
fault code = supervisor read, page not present
interrupt pointer =     0x8:0xc0208a4c
stack pointer =         0x10:0xff80dd78
frame pointer =         0x10:0xff80dd7c
code segment =          base 0x0, limit 0xfffff, type 0x1b
                        DPL 0, pres 1, def32 1, gran 1
processor eflags =      interrupt enabled, resume, IOPL = 0
current process =       Idle
interrupt mask =        <- SMP: XXX

Also, nm kernel.debug | sort shows that 0xc0208a4c is in Xbpt

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum



--_=XFMail.1.3.p0.FreeBSD:990505210947:369=_
Content-Disposition: attachment; filename="dmesg_out.txt"
Content-Transfer-Encoding: 7bit
Content-Description: dmesg_out.txt
Content-Type: text/plain; charset=us-ascii; name=dmesg_out.txt; SizeOnDisk=3762

Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #1: Wed May  5 20:41:20 CST 1999
    root@guppy.dons.net.au:/usr/src/sys/compile/GUPPY.nosmp
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (350.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x653  Stepping=3
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR>
real memory  = 134217728 (131072K bytes)
avail memory = 127442944 (124456K bytes)
Preloaded elf kernel "kernel.nosmp" at 0xc0308000.
Pentium Pro MTRR support enabled, default memory type is uncacheable
ccd0-3: Concatenated disk drivers
Probing for PnP devices:
CSN 1 Vendor ID: CTL00e4 [0xe4008c0e] Serial 0x12939604 Comp ID: PNPb02f [0x2fb0
d041]
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS version 1.2
pcib0: <PCI host bus adapter> on motherboard
pci0: <PCI bus> on pcib0
chip0: <Intel 82443BX host to PCI bridge> at device 0.0 on pci0
chip1: <Intel 82443BX host to AGP bridge> at device 1.0 on pci0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> at device 7.1 on pci0
chip2: <Intel 82371AB Power management controller> at device 7.3 on pci0
de0: <Digital 21140 Fast Ethernet> at device 11.0 on pci0
de0: interrupting at irq 11
de0: 21140 [10-100Mb/s] pass 1.1
de0: address 00:80:ad:16:77:3e
de0: enabling 100baseTX port
devclass_alloc_unit: npx0 already exists, using next available unit number
devclass_alloc_unit: apm0 already exists, using next available unit number
isa0: <ISA bus> on motherboard
fdc0: interrupting at irq 6
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> at fdc0 drive 0
wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
wdc0: unit 0 (wd0): <WDC AC313000R>, DMA, 32-bit, multi-block-16
wd0: 12416MB (25429824 sectors), 25228 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: interrupting at irq 14
wdc1 at port 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa0
wdc1: unit 0 (atapi): <ATAPI CD-ROM DRIVE 40X MAXIMUM/40CP>, removable, dma, ior
dis
wcd0: drive speed 5512KB/sec, 128KB cache
wcd0: supported read types: CD-R, CD-RW, CD-DA
wcd0: Audio: play, 255 volume levels
wcd0: Mechanism: ejectable tray
wcd0: Medium: no/blank disc inside, unlocked
wdc1: interrupting at irq 15
atkbdc0: <keyboard controller (i8042)> at port 0x60 on isa0
psm0: <PS/2 Mouse> on atkbdc0
psm0: model MouseMan+, device ID 0
psm0: interrupting at irq 12
atkbd0: <AT Keyboard> on atkbdc0
atkbd0: interrupting at irq 1
vga0: <Generic ISA VGA> on isa0
sc0: <System console> on isa0
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio0: interrupting at irq 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: interrupting at irq 3
ppc0: not probed (disabled)
sb0 at port 0x220 irq 5 drq 1 on isa0
snd0: <SoundBlaster 16 4.16> 
sb0: interrupting at irq 5
sbxvi0 at drq 5 on isa0
snd0: <SoundBlaster 16 4.16> 
sbmidi0 at port 0x330 on isa0
snd0: <SoundBlaster MPU-401> 
opl0 at port 0x388 on isa0
snd0: <Yamaha OPL3 FM> 
awe0 at port 0x620 on isa0
AWE32: not detected

joy0 at port 0x201 on isa0
joy0: joystick
changing root device to wd0s3a
ffs_mountfs: superblock updated for soft updates
DEVICE_SUSPEND error 6, ignored
resumed from suspended mode (slept 00:00:03)
DEVICE_SUSPEND error 6, ignored
resumed from suspended mode (slept 00:00:12)
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
de0: enabling 10baseT port

--_=XFMail.1.3.p0.FreeBSD:990505210947:369=_
Content-Disposition: attachment; filename="apm_out.txt"
Content-Transfer-Encoding: 7bit
Content-Description: apm_out.txt
Content-Type: text/plain; charset=us-ascii; name=apm_out.txt; SizeOnDisk=346

APM version: 1.2
APM Managment: Enabled
AC Line status: on-line
Battery status: unknown
Remaining battery life: unknown
Remaining battery time: unknown
Number of batteries: 0
Resume timer: disabled
Resume on ring indicator: enabled
APM Capacities:
	global standby state
	global suspend state
	resume timer from standby
	resume timer from suspend

--_=XFMail.1.3.p0.FreeBSD:990505210947:369=_
Content-Disposition: attachment; filename="GUPPY"
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset=us-ascii; name=GUPPY; SizeOnDisk=3390

bWFjaGluZQkJImkzODYiCmNwdQkJIkk2ODZfQ1BVIgppZGVudAkJVEVTVAptYXh1c2VycwkzMgoK
b3B0aW9ucyAgICAgICAgIElOQ0xVREVfQ09ORklHX0ZJTEUgICAgICMgSW5jbHVkZSB0aGlzIGZp
bGUgaW4ga2VybmVsCgpvcHRpb25zICAgICAgICAgVVNFUkNPTkZJRyAgICAgICAgICAgICAgI2Jv
b3QgLWMgZWRpdG9yCm9wdGlvbnMgICAgICAgICBWSVNVQUxfVVNFUkNPTkZJRyAgICAgICAjdmlz
dWFsIGJvb3QgLWMgZWRpdG9yCgpvcHRpb25zCQlJTkVUCQkJI0ludGVyTkVUd29ya2luZwpvcHRp
b25zCQlGRlMJCQkjQmVya2VsZXkgRmFzdCBGaWxlc3lzdGVtCm9wdGlvbnMJCU5GUwkJCSNOZXR3
b3JrIEZpbGVzeXN0ZW0KI29wdGlvbnMJCSJDRDk2NjAiCQkjSVNPIDk2NjAgRmlsZXN5c3RlbQpv
cHRpb25zCQlQUk9DRlMJCQkjUHJvY2VzcyBmaWxlc3lzdGVtCm9wdGlvbnMJCSJDT01QQVRfNDMi
CQkjQ29tcGF0aWJsZSB3aXRoIEJTRCA0LjMgW0tFRVAgVEhJUyFdCm9wdGlvbnMJCVVDT05TT0xF
CQkjQWxsb3cgdXNlcnMgdG8gZ3JhYiB0aGUgY29uc29sZQpvcHRpb25zCQlLVFJBQ0UJCQkja2Vy
bmVsIHRyYWNpbmcKCm9wdGlvbnMJCVNZU1ZTSE0Kb3B0aW9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KGFr
YSBkaXNrcykKZGV2aWNlICAgICAgICAgIHNhMCAgICAgI1NDU0kgdGFwZXMKZGV2aWNlICAgICAg
ICAgIGNkMCAgICAgI1NDU0kgQ0QtUk9NcwpkZXZpY2UgICAgICAgICBvZDAgICAgICNTQ1NJIG9w
dGljYWwgZGlzawpkZXZpY2UgICAgICAgICAgcGFzczAgICAjQ0FNIHBhc3N0aHJvdWdoIGRyaXZl
cgoKCnBzZXVkby1kZXZpY2UJbG9vcApwc2V1ZG8tZGV2aWNlCWV0aGVyCnBzZXVkby1kZXZpY2UJ
cHR5CQkxNgpwc2V1ZG8tZGV2aWNlCWJwZmlsdGVyCTQKcHNldWRvLWRldmljZQlnemlwCQkjIEV4
ZWMgZ3ppcHBlZCBhLm91dCdzCnBzZXVkby1kZXZpY2UJY2NkCTQJI0NvbmNhdGVuYXRlZCBkaXNr
IGRyaXZlcgpwc2V1ZG8tZGV2aWNlCXZuCgoK

--_=XFMail.1.3.p0.FreeBSD:990505210947:369=_--
End of MIME message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990505210947.darius>