From owner-freebsd-questions Wed Mar 5 09:26:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA28313 for questions-outgoing; Wed, 5 Mar 1997 09:26:59 -0800 (PST) Received: from phobos.frii.com (phobos.frii.com [204.144.241.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA28300 for ; Wed, 5 Mar 1997 09:26:52 -0800 (PST) Received: from elara.frii.com (elara.frii.com [204.144.241.9]) by phobos.frii.com (8.8.5/8.8.4) with ESMTP id KAA27969 for ; Wed, 5 Mar 1997 10:26:42 -0700 (MST) Received: (from gnat@localhost) by elara.frii.com (8.8.5/8.6.9) id KAA10584; Wed, 5 Mar 1997 10:26:33 -0700 (MST) Date: Wed, 5 Mar 1997 10:26:33 -0700 (MST) Message-Id: <199703051726.KAA10584@elara.frii.com> From: Nathan Torkington To: freebsd-questions@freebsd.org Subject: 2.1.5->2.1.7 causes SCSI errors? Mime-Version: 1.0 (generated by tm-edit 7.103) Content-Type: text/plain; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Our news machine worked just fine under 2.1.5, but barfed miserably when upgraded to 2.1.7. It reboots about every 20 minutes now. The kernel probe finds the disks: kernel: ahc0 rev 3 int a irq 11 on pci0:12 kernel: ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs kernel: ahc0 waiting for scsi devices to settle kernel: (ahc0:0:0): "SEAGATE ST32430N 0510" type 0 fixed SCSI 2 kernel: sd0(ahc0:0:0): Direct-Access 2049MB (4197405 512 byte sectors) kernel: (ahc0:1:0): "SEAGATE ST32430N 0510" type 0 fixed SCSI 2 kernel: sd1(ahc0:1:0): Direct-Access 2049MB (4197405 512 byte sectors) kernel: (ahc0:2:0): "SEAGATE ST32430N 0510" type 0 fixed SCSI 2 kernel: sd2(ahc0:2:0): Direct-Access 2049MB (4197405 512 byte sectors) kernel: (ahc0:3:0): "SEAGATE ST32430N 0510" type 0 fixed SCSI 2 kernel: sd3(ahc0:3:0): Direct-Access 2049MB (4197405 512 byte sectors) kernel: (ahc0:4:0): "QUANTUM XP34300 F81H" type 0 fixed SCSI 2 kernel: sd4(ahc0:4:0): Direct-Access 4101MB (8399520 512 byte sectors) The messages we get before reboots are: kernel: sd4(ahc0:4:0): timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 kernel: SEQADDR == 0x8 kernel: panic: ahc0: Timed-out command times out again kernel: kernel: syncing disks... 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 giving up kernel: Automatic reboot in 15 seconds - press a key on the console to abort kernel: Rebooting... That disk is part of a large CCD device: ccd0 32 0 /dev/sd1s1 /dev/sd2s1 /dev/sd3s1 /dev/sd4s1 I copied the old kernel configuration file from 2.1.5 to 2.1.7 and built and installed it without complaints. I couldn't find anything in the 2.1.7 LINT file to suggest that the format of the SCSI device specification has significantly changed between 2.1.5 and 2.1.7. We haven't seen this behaviour on any of our other 5 servers which I upgraded at the same time and in the same manner (the others don't have ccd or the Quantum drive). What did I do wrong and (more importantly) what do I do to fix it? Thanks, Nat (I'm not a list subscriber, just someone who is following the kernel's instructions and is panicking, so please CC: gnat@frii.com on your replies)