From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 02:20:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93BBA37B401 for ; Mon, 11 Aug 2003 02:20:46 -0700 (PDT) Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37C0E43F3F for ; Mon, 11 Aug 2003 02:20:45 -0700 (PDT) (envelope-from ohartman@klima.physik.uni-mainz.de) Received: from klima.physik.uni-mainz.de (klima.physik.uni-mainz.de [134.93.180.162])h7B9KiCl033574 for ; Mon, 11 Aug 2003 11:20:44 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Mon, 11 Aug 2003 11:20:44 +0200 (CEST) From: "Hartmann, O." To: freebsd-questions@freebsd.org Message-ID: <20030811110733.E33387@klima.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: FBSD 5.1-RELEASE-p2 crashes/SMP wont work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 09:20:46 -0000 Hello. Since we upgraded our SMP server (TYAN Thunder 2500 based system) from FreeBSD 4.8 to FreeBSD 5.1-RELEASE the machine crashed sporadicaly while in heavy load or wont start after recognition of the AMI Enterprise 1600 RAID controller! Kernel of FBSD 5.1-RELEASE start in single user mode, 5.1-RELEASE-p2 doesn't! At this moment, the only working kernel is a 5.1-CURRENT kernel from two weeks ago (see dmesg output below). FreeBSD 5.1-RELEASE worked for a while, but when samba started and under heavy load the system crashes (I got no error message, sorry). FreeBSD 5.1-RELEASE-p2 doesn't want to start anymore! The last line I see while kernel is booting is this: amrd0: on amr0 amrd0: 245014MB (501788672 sectors) RAID 5 (optimal) and it freezes forever. Sometimes I see this message below the last line: amr0: bad slot 2 completed or amr0: bad slot 15 completed What does it mean? Is this something like a problem in IRQ routing? normaly, after the RAID controler has been recognized, a message about the launched second CPU shows up. Using the most recent freeBSD 5.1-CURRENT stuff is impossible on our machine, it freezes completely after a while or does a spontanous reboot (earlier versions did not!). Is any help available? Another couriosity is that kernels build with SCHED_ULE freeze much faster than those build with SCHED_4BSD, but SCHED_ULE kernels seem to boot, while SCHED_4BSD kernels sometimes do not. Tnaks a lot for your help. This is dmesg of the running and obviously working kernel: Copyright (c) 1992-2003 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.1-CURRENT #2: Fri Jul 25 11:45:43 GMT 2003 root@atmos.physik.uni-mainz.de:/usr/obj/usr/src/sys/ATMOS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 868644587 Hz CPU: Intel Pentium III (868.64-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x387fbff real memory = 2147483648 (2048 MB) avail memory = 2086006784 (1989 MB) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 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: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec01000 netsmb_dev: loaded Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fdf00 pcib0: at pcibus 0 on motherboard pci0: on pcib0 IOAPIC #1 intpin 13 -> irq 2 IOAPIC #1 intpin 12 -> irq 16 pcib1: at device 0.1 on pci0 pci1: on pcib1 IOAPIC #1 intpin 1 -> irq 17 pci1: at device 0.0 (no driver attached) sym0: <896> port 0xf800-0xf8ff mem 0xfeafe000-0xfeafffff,0xfeafac00-0xfeafafff irq 2 at device 1.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-40, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym1: <896> port 0xf400-0xf4ff mem 0xfeafc000-0xfeafdfff,0xfeafa800-0xfeafabff irq 16 at device 1.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. isab0: port 0x500-0x50f at device 15.0 on pci0 isa0: on isab0 pci0: at device 15.1 (no driver attached) pcib2: at pcibus 2 on motherboard pci2: on pcib2 IOAPIC #1 intpin 8 -> irq 18 em0: port 0xf0c0-0xf0ff mem 0xf7ee0000-0xf7efffff irq 18 at device 1.0 on pci2 em0: Speed:N/A Duplex:N/A pcib3: at device 2.0 on pci2 pci3: on pcib3 IOAPIC #1 intpin 11 -> irq 19 pcib4: at device 0.0 on pci3 pci4: on pcib4 IOAPIC #1 intpin 10 -> irq 20 amr0: mem 0xf0000000-0xf3ffffff irq 20 at device 0.0 on pci4 amr0: Firmware G170, BIOS F316, 64MB RAM pci3: at device 1.0 (no driver attached) pci3: at device 2.0 (no driver attached) orm0: