Subject: Re: HotSwapping SCSI Disks with RAIDFrame
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 07/10/2003 14:29:51
On 2003.07.09 03:31, Greg A. Woods wrote:
> [ On Wednesday, July 9, 2003 at 08:34:59 (+0200), Christoph Kaegi wrote: ]
> > Subject: HotSwapping SCSI Disks with RAIDFrame
> >
> > When putting it back in, the kernel said:
> > -------------------------------------- 8< --------------------------------------
> > Jul  9 07:34:39 mx2 /netbsd: eset channel A
> > Jul  9 07:34:40 mx2 /netbsd: ahc0: Someone reset channel A
> > Jul  9 07:34:40 mx2 last message repeated 271 times
> > -------------------------------------- 8< --------------------------------------
> > 
> > Is it normal, that the scscibus is reset on insertion of a new
> > disk?
> 
> It is "normal" if your disks are not really "hot" swappable.
> 
> [...]

OK, so I guess, my Hardware is crap. (It was also cheap, which could
explain that).

I tried this with a sun netra T1 today and it worked as expected...

> 
> > The new disk didn't seem to be detected automatically (I couldn't
> > disklabel it) so I tried to 
> > 
> >   scsictl scsibus0 scan any any
> > 
> > to get the system to recognise it. Then it said:
> > -------------------------------------- 8< --------------------------------------
> > Jul  9 07:57:30 mx2 /netbsd: panic: ahc_action: not tagged and device busy
> > Jul  9 07:57:30 mx2 /netbsd: syncing disks... ahc0: WARNING no command for scb 29 (cmdcmplt)
> > Jul  9 07:57:30 mx2 /netbsd: QOUTPOS = 198
> > -------------------------------------- 8< --------------------------------------
> > 
> > ... and ciao. The systm just rebooted.
> 
> That probably should have worked but unless you're running with the new
> AHC driver in -current it's quite possible the earlier reset noise got
> the driver into a bad state and it was bound to crash anyway.
> 

Unfortunately, the driver seems to have some other problems also...
(see http://mail-index.netbsd.org/port-i386/2003/02/13/0003.html)o

Thanks

Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------