Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2002 16:57:29 +0100
From:      "Julian Stacey" <jhs@berklix.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: -CURRENT panic on SMP Athlon box. 
Message-ID:  <200212211557.gBLFvTm10945@flip.jhs.private>
In-Reply-To: Your message of "Sat, 21 Dec 2002 12:59:59 %2B0100." <20021221115959.GI11475@garage.freebsd.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote:
> 
> On Sat, Dec 21, 2002 at 08:51:27AM +0100, Poul-Henning Kamp wrote:
> +> My SMP Athlon box paniced again tonight, and this time my serial
> +> console caught it in the act.
> +>=20
> +> I have no idea what has caused this, and have no idea if it has any
> +> significance for 5.0-R or not.  I wonder if we have a memory leak ?
> 
> Maybe a good way to debug it is to show memory statistics just like sysctl
> kern.malloc do, befor this panic (or any panic caused by insufficient
> memory) is called?

It might not just be an Athlon specific problem, or running out of
RAM, cos I've got Intel a half a gig of RAM ...

My SMP running {yesterday's (roughly, via ctm)} current, is also
regularly panicing with a variety of different messages. Box ran
just fine with 4.7-REL single CPU, & for short time with dual CPU,
(but I didnt run that long with a dual config 4.7, cos I couldnt
access my IDE bus in dual cpu mode on 4.7 (reported)).

I checked the Asus ftp site, & unfortuantely I do have the newest BIOS,
(so no easy hope of a solution there), so now I `just' have to:
	- learn about kernel hints file (I still include GENERIC's)
	- read my fresh downloaded Asus BIOS .pdf manual, & check settings,
	- read the FreeBSD handbook on trapping debug messages to a serial 
	  port, so I can easily trap edit & post them here,
then I can give current@ meaningful debugs,
meanwhile FWIW dmesg & config diff appended:

----------
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Thu Dec 19 23:42:47 CET 2002
    jhs@dual.jhs.private:/usr/ftp/public/freebsd/work/current/src/sys/i386/compile/DUAL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b00000.
Preloaded mfs_root "/boot/mfsroot" at 0xc0b000a8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b000ec.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 536858624 (511 MB)
avail memory = 509820928 (486 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 12
IOAPIC #0 intpin 17 -> irq 5
IOAPIC #0 intpin 19 -> irq 9
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc067c958
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P2L97-DS> on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 7 entries at 0xc00f0d20
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Timecounter "PIIX"  frequency 3579545 Hz
pci0: <bridge, PCI-unknown> at device 4.3 (no driver attached)
ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xd000-0xd0ff mem 0xde800000-0xde800fff irq 9 at device 6.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb800-0xb81f mem 0xde000000-0xde0fffff,0xe1000000-0xe1000fff irq 5 at device 11.0 on pci0
fxp0: Ethernet address 00:a0:c9:9c:e0:a5
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROM> at iomem 0xd0000-0xd4fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ed1: <PLUG & PLAY ETHERNET CARD> at port 0x240-0x25f iomem 0xc0000-0xc3fff irq 10 on isa0
ed1: address 00:00:b4:36:a5:04, type NE2000 (16 bit) 
Timecounters tick every 10.000 msec
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
ata1-slave: ATAPI identify retries exceeded
acd0: DVD-ROM <_NEC DV-5700A> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-39130W S92A> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 132 files 1
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
-------
diff -c --context=1 GENERIC DUAL
*** GENERIC     Tue Dec 17 11:37:07 2002
--- DUAL        Thu Dec 19 22:59:58 2002
***************
*** 18,24 ****
  #
! # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.370 2002/12/16 18:47:37 cognet Exp $
  
  machine               i386
- cpu           I486_CPU
- cpu           I586_CPU
  cpu           I686_CPU
--- 18,22 ----
  #
! # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.369 2002/10/19 16:54:07 rwatson Exp $
  
  machine               i386
  cpu           I686_CPU
***************
*** 59,60 ****
--- 57,59 ----
                                        # output.  Adds ~215k to driver.
+ options "NO_F00F_HACK"
  
***************
*** 68,71 ****
  # To make an SMP kernel, the next two are needed
! #options      SMP                     # Symmetric MultiProcessor Kernel
! #options      APIC_IO                 # Symmetric (APIC) I/O
  
--- 67,70 ----
  # To make an SMP kernel, the next two are needed
! options       SMP                     # Symmetric MultiProcessor Kernel
! options       APIC_IO                 # Symmetric (APIC) I/O
  
***************
*** 95,97 ****
  device                sym             # NCR/Symbios Logic (newer chipsets + those of `ncr')
- device                trm             # Tekram DC395U/UW/F DC315U adapters
  
--- 94,95 ----
--------

Julian Stacey
jhs @ berklix.com   Computer Systems Engineer, Unix & Net Consultant, Munich.
  Ihr Rauchen => mein allergischer Kopfschmerz !  Schnupftabak probieren.
  Munich BSD Conference:		http://berklix.org/conf/
  Spam phrases triggering deletion:	http://berklix.com/jhs/mail/

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?200212211557.gBLFvTm10945>