From owner-freebsd-current Wed Jan 24 17:53:19 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA10981 for current-outgoing; Wed, 24 Jan 1996 17:53:19 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA10972 for ; Wed, 24 Jan 1996 17:53:15 -0800 (PST) Received: by Sysiphos id AA22251 (5.67b/IDA-1.5 for freebsd-current@freebsd.org); Thu, 25 Jan 1996 02:53:01 +0100 Message-Id: <199601250153.AA22251@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Thu, 25 Jan 1996 02:53:01 +0100 In-Reply-To: Jean-Marc Zucconi "my recent problem withthe ncr driver" (Jan 25, 2:42) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: Jean-Marc Zucconi Subject: Re: my recent problem withthe ncr driver Cc: freebsd-current@freebsd.org Sender: owner-current@freebsd.org Precedence: bulk On Jan 25, 2:42, Jean-Marc Zucconi wrote: } Subject: my recent problem withthe ncr driver } Hi, } } Are you still reading the -current list? I signaled a problem with the } latest verstion of the ncr code, and it seems that you did not see it, } because you are usually replying very rapidly :-) Here it is } below. Since, I have compiled a new kernel with the revision 1.56 of } ncr.c and it works. The problem appeared between 1.56 and 1.60 .... Well, yes, I'm still there, just completely overloaded with work :( I currently spend some 80 hours a week here in this institute (10 on the weekend and 14 hours each day over the week). I'll try to look into your problem tomorrow, but due to my being overloaded with other problems, it may take me another day. Regards, STefan PS: I've just made a diff between 1.60 and 1.56, and append it to this message. Perhaps you can find which patch makes it work again ? (I'd guess it is the first one, MAX_LUN must be 1 for your CDROM. This can be fixed by making an entry in /sys/scsi/scsiconf.c, which states that this drive got one LUN only ...) Index: ncr.c =================================================================== RCS file: /usr/cvs/src/sys/pci/ncr.c,v retrieving revision 1.60 retrieving revision 1.56 diff -C2 -r1.60 -r1.56 *** ncr.c 1996/01/18 19:59:23 1.60 --- ncr.c 1996/01/10 21:20:57 1.56 *************** *** 121,125 **** */ ! #define MAX_LUN (8) /* --- 121,125 ---- */ ! #define MAX_LUN (1) /* *************** *** 4427,4431 **** OUTB (nc_stest2, EXT ); /* Extended Sreq/Sack filtering */ OUTB (nc_stest3, TE ); /* TolerANT enable */ ! OUTB (nc_stime0, 0x0b ); /* HTH = disabled, STO = 0.1 sec. */ /* --- 4427,4431 ---- OUTB (nc_stest2, EXT ); /* Extended Sreq/Sack filtering */ OUTB (nc_stest3, TE ); /* TolerANT enable */ ! OUTB (nc_stime0, 0xfb ); /* HTH = 1.6sec STO = 0.1 sec. */ /* *************** *** 4944,4948 **** while ((istat = INB (nc_istat)) & INTF) { if (DEBUG_FLAGS & DEBUG_TINY) printf ("F"); ! OUTB (nc_istat, INTF); np->profile.num_fly++; ncr_wakeup (np, 0); --- 4944,4948 ---- while ((istat = INB (nc_istat)) & INTF) { if (DEBUG_FLAGS & DEBUG_TINY) printf ("F"); ! OUTB (nc_istat, (istat & SIGP) | INTF); np->profile.num_fly++; ncr_wakeup (np, 0); -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se