Subject: Re: Hang (SCSI-related?) on 1.3.2
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Gunnar Helliesen <gunnar@bitcon.no>
List: port-i386
Date: 01/09/2000 19:26:48
On Fri, 7 Jan 2000, Manuel Bouyer wrote:

> On Fri, Jan 07, 2000 at 03:38:50PM +0100, Gunnar Helliesen wrote:
> > But why isn't the kernel panicking? Why does it allow itself to go into
> > an endless loop of printing these messages on the console?
> 
> It tries to reset the device or the bus, which should get things
> working again. It seems there's a bug here ...

Right now the machine has been up for three days. I found this in dmesg:


[....]
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
sd0(ahc0:0:0): timed out in message out phase, SCSISIGI == 0xe6
sd0(ahc0:0:0): asserted ATN - device reset in message buffer
ahc_intr: seqint, intstat == 0xd1, scsisigi = 0xb6
ahc0: target 1 using 16Bit transfers
ahc0: target 1 synchronous at 20.0MHz, offset = 0x8
ahc0: target 3 synchronous at 10.0MHz, offset = 0xf


And this in /var/log/messages:


Jan  8 16:08:53 lyons /netbsd: sd0(ahc0:0:0): timed out in dataout phase,
SCSISIGI == 0x0
Jan  8 16:10:56 lyons /netbsd: sd0(ahc0:0:0): BUS DEVICE RESET message
queued.
Jan  8 16:10:56 lyons /netbsd: Bus Device Reset Message Sent
Jan  8 16:10:56 lyons /netbsd:  = 0x8
Jan  8 16:10:56 lyons /netbsd: ahc0: target 0 synchronous at 20.0MHz,
offset = 0x8
Jan  8 16:10:57 lyons last message repeated 59 times
Jan  8 16:10:57 lyons /netbsd: sd0(ahc0:0:0): timed out in message out
phase, SCSISIGI == 0xe6
Jan  8 16:10:57 lyons /netbsd: sd0(ahc0:0:0): asserted ATN - device reset
in message buffer
Jan  8 16:10:57 lyons /netbsd: ahc_intr: seqint, intstat == 0xd1, scsisigi
= 0xb6
Jan  8 16:10:58 lyons /netbsd: ahc0: target 1 using 16Bit transfers
Jan  8 16:10:58 lyons /netbsd: ahc0: target 1 synchronous at 20.0MHz,
offset = 0x8


Does this indicate that sd0 is going bad?

Gunnar

--
Gunnar Helliesen   | Bergen IT Consult AS  | NetBSD/VAX on a uVAX II
Systems Consultant | Bergen, Norway        | '86 Jaguar Sovereign 4.2
gunnar@bitcon.no   | http://www.bitcon.no/ | '73 Mercedes 280 (240D)