Re: current-APM causes panic on SMP-System

1999-08-28 Thread Mike Smith

 since the apm-code was changed to use the generic bios-call interface
 (dated around 1999/07/28) my FreeBSD-4.0-current system panics when I do
 an "apmconf -e". This has not changed since then. I reproduced it with 
 a very current System (1999/08/25) today.
 
 The system is a Dual-Proc GigaByte 6BXDS-MB with 2x350Mhz PII and 256MB-RAM.
 For further information I have added the Config-File and dmesg-output.

This is a known bug in the generic BIOS code on SMP systems; I have a 
patch in hand and will be committing it soon.

-- 
\\  The mind's the standard   \\  Mike Smith
\\  of the man.   \\  [EMAIL PROTECTED]
\\-- Joseph Merrick   \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



current-APM causes panic on SMP-System

1999-08-27 Thread Michael Class

Hello,

since the apm-code was changed to use the generic bios-call interface
(dated around 1999/07/28) my FreeBSD-4.0-current system panics when I do
an "apmconf -e". This has not changed since then. I reproduced it with 
a very current System (1999/08/25) today.

The system is a Dual-Proc GigaByte 6BXDS-MB with 2x350Mhz PII and 256MB-RAM.
For further information I have added the Config-File and dmesg-output.

When calling apmconf -e i am getting the following panic:
(written down by hand, so there might be some typos)

---
Fatal trap 12: page fault while in kernel mode
mp_lock=0102; cpuid=1; lapic.id=0100
fault virtual address   = 0x8380
fault code  = supervisor read, page not present
ip  = 0x50:0x8380
stack   = 0x10:0xff80df24
frame   = 0x10:0xc02bde80

code= base 0xc00f, limit 0x, type 0x1b
= DPL 0, pres 1, def32 1, gran 0

proc flags  = intr enabled, resume, iopl=0
current proc= idle

interrupt mask  =  -- SMP: XXX
---

The Adress 0x8380 seems to be the one from the APM-BIOS-Call.

What can I do to track this further down?

Michael

-
michael class, viktor-renner str. 39, 72074 tuebingen, frg
E-Mail: [EMAIL PROTECTED]
 Phone: +49 7031 14-3707 (work) +49 7071 81950 (private)
-


#
# SMP-GENERIC -- Smp machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration - 
# Configuring the FreeBSD Kernel - The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# URL:http://www.FreeBSD.ORG/
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#   $Id: SMP-GENERIC,v 1.20 1998/10/22 13:49:51 bde Exp $

machine i386
cpu I686_CPU
ident   MCSMP
maxusers64

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

# Create a SMP capable kernel (mandatory options):
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O

# Optional, these are the defaults:
#optionsNCPU=2  # number of CPUs
#optionsNBUS=4  # number of busses
#optionsNAPIC=1 # number of IO APICs
#optionsNINTR=24# number of INTs

# Lets always enable the kernel debugger for SMP.
options DDB

# SMP shouldn't need x87 emulation, disable by default.
#optionsMATH_EMULATE#Support for x87 emulation

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options MFS #Memory Filesystem
options MFS_ROOT#MFS usable as root device, "MFS" req'ed
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, "NFS" req'ed
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed
options PROCFS  #Process filesystem
options KERNFS  
options COMPAT_LINUX
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=1#Be pessimistic about Joe SCSI device
options UCONSOLE#Allow users to grab the console
#optionsFAILSAFE#Be conservative
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor

# Enable the following (IPFIREWALL_VERBOSE optional) to enable the IP firewall
# code.  This is used in conjunction with the ipfw(1) command.  See the
# man page for more details.
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #print information about 
# dropped packets
options IPFIREWALL_FORWARD  #enable xparent proxy support
#options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow