From owner-freebsd-questions Wed Sep 27 15:26:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from zaphod.wox.org (cr686582-a.ktchnr1.on.wave.home.com [24.112.23.202]) by hub.freebsd.org (Postfix) with SMTP id 89CEA37B422 for ; Wed, 27 Sep 2000 15:25:58 -0700 (PDT) Received: (qmail 485 invoked by uid 1001); 27 Sep 2000 22:25:57 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Sep 2000 22:25:57 -0000 Date: Wed, 27 Sep 2000 18:25:57 -0400 (EDT) From: Richard Glidden X-Sender: rglidden@zaphod.localnet To: freebsd-questions@freebsd.org Subject: SCSI Freezing on HP Vectra XU Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm running FreeBSD 4.1.1 on an HP Vectra XU 5/90 machine (Dual P133). I have 3 SCSI HD's running off the on-board AMD 53c794 (amd0) controller. I have built a custom kernel, which is just GENERIC with the devices I don't have commented out, and SMP turned on. Occasionally the whole SCSI system seems to lock up. The hard drive light turns on solid, and any process that tries to access any disks freezes. The rest of the machine is still responsive, until each process locks up when it eventually accesses the disks. Rebooting solves the problem. I have let the machine sit in this frozen state for roughly 12 hours to see if it would unfreeze itself. It never does. I can easily reproduce the problem. If all filesystems are dirty when I boot, the same problem will occur when fsck tries to check all the filesystems. I have worked around this (for now) by telling fsck to check one filesystem at a time. However, the drives still lock up occasionally under normal use. As far as I know, the bus is terminated correctly, all drives have proper IDs, etc. The same hardware was working properly in Linux before I switched to FreeBSD. Does anyone have any ideas as to what might be causing the problem, or where I should look for more information that may help? I've posted dmesg output below. Thanks, Richard Glidden rglidden@zaphod.wox.org --- Copyright (c) 1992-2000 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.1-RELEASE #6: Mon Sep 25 23:27:15 EDT 2000 root@zaphod.localnet:/usr/src/sys/compile/ZAPHOD Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (132.96-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x3bf real memory = 67108864 (65536K bytes) avail memory = 62025728 (60572K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0333000. Intel Pentium detected, installing workaround for F00F bug module_register_init: MOD_LOAD (vesa, c024f490, 0) error 6 md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 1.0 isab0: at device 2.0 on pci0 isa0: on isab0 pci0: (vendor=0x1022, dev=0x2000) at 3.0 irq 253 amd0: port 0xff80-0xffff irq 9 at device 4.0 on pci0 pci0: at 5.0 irq 14 pci0: at 14.0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ed0 at port 0x300-0x31f iomem 0xd8000 irq 3 on isa0 ed0: address 00:4f:4c:04:48:db, type NE2000 (16 bit) ep0: <3Com 3C509-TPO EtherLink III> at port 0x210-0x21f irq 11 on isa0 ep0: Ethernet address 00:a0:24:ef:b2:ca APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default Waiting 15 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! da0 at amd0 bus 0 target 1 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 520MB (1065664 512 byte sectors: 64H 32S/T 520C) cd0 at amd0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 15) cd0: cd present [329657 x 2048 byte records] da2 at amd0 bus 0 target 3 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da2: 2014MB (4124736 512 byte sectors: 255H 63S/T 256C) da1 at amd0 bus 0 target 2 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 2062MB (4223444 512 byte sectors: 255H 63S/T 262C) Mounting root from ufs:/dev/da0s1a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message