Date: Fri, 24 Jan 1997 01:50:38 -0800 From: obrien@dragon.cs.ucdavis.edu (David O'Brien) To: freebsd-scsi@freebsd.org Subject: unstable 2.2-BETA Message-ID: <Mutt.19970124015038.obrien@dragon.cs.ucdavis.edu>
next in thread | raw e-mail | index | archive | help
Hi all, I'm sorry to bother you, but I've got a very unstable 2.2-BETA box right now. I'm believe my problems to be SCSI subsystem related, but I could be wrong. Is the below something to to worry about? (ie, is my SCSI disk going bad, or is this a kernel problem? ------------------------------------------------------------------------------ sd0(ahc0:0:0): partity error during Data-In phase ahc0: ahc)intr reference scb not valid during scsiint 0x17 scb(1) sd0(ahc0:0:0): timed out in datain phase, SCSISIGI==0xb6 SEQADDR == 0x13c ahc0: Issued Channel A Bus Reset. 1 SCBs aborted sd0(ahc0:0:0): UNIT ATTENTION asc:29,0 sd0(ahc0:0:0): Power on, reset, or bus device reset occured, retries 3 ------------------------------------------------------------------------------ I upgraded my 486/66 AHA-2840 to a Tyan/AMD-K5 AHA-2940U about two weeks ago. At first I wasn't having stability problems with the AHA-2940U. But in the last week my machine has become quite unstatable. Since then I filled my root partition to 110%, and recompiled a new kernel. I took some SCSI devices out of the chain, used some different cables, and moved the AHA-2940U to a different PCI slot. I haven't gotten the kernel messages in many days. Instead I now get spontaniously reboots. And I haven't seen any of the bus reset errors that I did at first. It seems to happen when I'm running kernel PPP using /usr/sbin/pppd /dev/modem 38400 debug -vj crtscts asyncmap 0 \ noipdefault defaultroute netmask 255.255.255.0 I'm usually running X and the machine will just totally stop *everything*. After about 3 seconds, it just reboots. No kernel messages in /var/log/* or anything. I've since put things back the way they were at first with the Tyan/AMD-K5 AHA-2940U, but that didn't help anything. I built even built a new kernel from priesteen 2.2-BETA sources with Justin's fixes to: src/sys/dev/aic7xxx/aic7xxx.seq src/sys/dev/aic7xxx/aic7xxx_reg.h src/sys/i386/scsi/aic7xxx.c src/sys/pci/aic7870.c But that didn't change anything. I've got / and /usr on /dev/sd0s1. As an experiment, I also installed 2.2-BETA on an IDE drive and then mount /dev/sd0s1b for additional swap and /dev/sd0s1e for home dirs. This setup is much more stable, but I still get some spontainious reboots. I get non of this from 2.2-961014-SNAP with /, /usr and some swap on an IDE drive and addition swap from sd0s1b and homes from sd0s1e. ============================================================================== KERNEL PROBES: ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:18 **( this was on pci0:19 )*** ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs (ahc0:0:0): "TANDEM 4265-1 1011" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 4303MB (8813870 512 byte sectors) (ahc0:4:0): "EXABYTE EXB-85058SQANXR1 07J0" type 1 removable SCSI 2 st0(ahc0:4:0): Sequential-Access density code 0x0, drive empty (ahc0:6:0): "TEAC CD-ROM CD-56S 1.0D" type 5 removable SCSI 2 cd0(ahc0:6:0): CD-ROM cd present [3910 x 2048 byte records] ============================================================================== DISK INFORMATION ******* Working on device /dev/rsd0 ******* parameters extracted from in-core disklabel are: cylinders=4303 heads=64 sectors/track=32 (2048 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=4303 heads=64 sectors/track=32 (2048 blks/cyl) Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 32, size 8812512 (4302 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 1023/ sector 32/ head 63 The data for partition 1 is: <UNUSED> The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> # /dev/rsd0c: type: SCSI disk: sd0s1 label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 4302 sectors/unit: 8812512 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1024000 0 4.2BSD 0 0 0 # (Cyl. 0 - 499) b: 262144 1024000 swap # (Cyl. 500 - 627) c: 8812512 0 unused 0 0 # (Cyl. 0 - 4302*) e: 4096000 1286144 4.2BSD 0 0 0 # (Cyl. 628 - 2627) f: 1024000 5382144 4.2BSD 0 0 0 # (Cyl. 2628 - 3127) g: 1789952 6406144 4.2BSD 0 0 0 # (Cyl. 3128 - 4001) h: 616416 8196096 4.2BSD 0 0 0 # (Cyl. 4002 - 4302*) ============================================================================== Enjoy! -- David (obrien@NUXI.com -or- obrien@FreeBSD.org)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970124015038.obrien>