From owner-freebsd-current@FreeBSD.ORG Mon Aug 8 20:42:46 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7982B16A41F; Mon, 8 Aug 2005 20:42:46 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1A4943D45; Mon, 8 Aug 2005 20:42:45 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice3.sentex.ca (pumice3.sentex.ca [64.7.153.26]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j78Kfoir083198; Mon, 8 Aug 2005 16:41:50 -0400 (EDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice3.sentex.ca (8.13.3/8.13.3) with ESMTP id j78Kghf1097042; Mon, 8 Aug 2005 16:42:43 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id j78Kgeoa025371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Aug 2005 16:42:41 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050808162711.04d40c28@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Mon, 08 Aug 2005 16:44:47 -0400 To: "Poul-Henning Kamp" , Pawel Jakub Dawidek From: Mike Tancsa In-Reply-To: <42475.1123513974@phk.freebsd.dk> References: <42475.1123513974@phk.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.51 on 64.7.153.26 Cc: Michael Reifenberger , freebsd-current@FreeBSD.org Subject: Re: Hifn driver in SMP (was Re: GELI - disk encryption GEOM class committed.) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 20:42:46 -0000 At 11:12 AM 08/08/2005, Poul-Henning Kamp wrote: >I belive there is a bug in the HiFn chips that makes them do a soft reset >under some set of circumstances which we have never been able to nail >down. Actually, I think this is something different. I know the issue you are referring to, and it seems to happen on many (but not all) motherboards. Note, this problem does not happen in UP mode on this box, only on SMP. Also, I just booted RELENG_4_11 on the box and installed an SMP kernel. hippo# hifnstats input 7648447680 bytes 2338053 packets output 7648431264 bytes 2338052 packets invalid 0 nomem 0 abort 0 noirq 1263291 unaligned 0 totbatch 0 maxbatch 0 nomem: map 0 load 0 mbuf 0 mcl 0 cr 0 sd 0 hippo# I am able to run /usr/bin/openssl aes-128-cbc -in big -k pass | ssh -c aes128-cbc mdtancsa@127.0.0.1 "cat - > /dev/null" until the cows come home without issue, even with an SMP kernel built. So it seems like its something with this box and RELENG_6 that causes the box to totally lock up Here is the same hardware on RELENG_4 hippo# dmesg Copyright (c) 1992-2005 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 4.11-RELEASE #0: Mon Aug 8 15:43:47 EDT 2005 root@hippo.netperf.freebsd.org:/usr/obj/usr/src/sys/smp Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (500.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x672 Stepping = 2 Features=0x383fbff real memory = 2147475456 (2097144K bytes) config> q avail memory = 2086166528 (2037272K bytes) Changing APIC ID for IO APIC #0 from 0 to 4 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs cpu0 (BSP): apic id: 3, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu2 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu3 (AP): apic id: 2, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc056a000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc056a09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fc7a0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 14 -> irq 2 pci0: on pcib0 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: at device 2.1 on pci0 atapci0: ATA channel disabled by BIOS uhci0: irq 0 at device 2.2 on pci0 uhci0: Could not map ports device_probe_and_attach: uhci0 attach returned 6 Timecounter "PIIX" frequency 3579545 Hz chip0: port 0x850-0x85f at device 2.3 on pci0 pci0: at 4.0 pcib1: at device 8.0 on pci0 pci1: on pcib1 amr0: mem 0xfe000000-0xfe3fffff irq 2 at device 8.1 on pci0 amr0: Firmware GH6D, BIOS 1.43, 32MB RAM pcib4: at device 18.0 on pci0 pcib5: at device 19.0 on pci0 pcib6: at device 20.0 on pci0 pcib2: on motherboard IOAPIC #0 intpin 21 -> irq 5 IOAPIC #0 intpin 22 -> irq 10 IOAPIC #0 intpin 20 -> irq 11 pci2: on pcib2 ahc0: port 0xec00-0xecff mem 0xfe902000-0xfe902fff irq 5 at device 4.0 on pci2 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xe800-0xe8ff mem 0xfe901000-0xfe901fff irq 10 at device 6.0 on pci2 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc2: port 0xe400-0xe4ff mem 0xfe900000-0xfe900fff irq 11 at device 8.0 on pci2 aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs pcib3: on motherboard IOAPIC #0 intpin 19 -> irq 12 IOAPIC #0 intpin 18 -> irq 13 pci3: on pcib3 em0: port 0xfcc0-0xfcff mem 0xfeb00000-0xfeb1ffff,0xfeb20000-0xfeb3ffff irq 12 at device 1.0 on pci3 em0: Speed:N/A Duplex:N/A hifn0 mem 0xfeb40000-0xfeb47fff,0xfeb48000-0xfeb49fff,0xfeb4a000-0xfeb4afff irq 13 at device 3.0 on pci3 hifn0: Hifn 7955, rev 0, 32KB dram orm0: