Date: Thu, 25 Jan 1996 02:53:01 +0100 From: se@zpr.uni-koeln.de (Stefan Esser) To: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> Cc: freebsd-current@freebsd.org Subject: Re: my recent problem withthe ncr driver Message-ID: <199601250153.AA22251@Sysiphos> In-Reply-To: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> "my recent problem withthe ncr driver" (Jan 25, 2:42)
next in thread | previous in thread | raw e-mail | index | archive | help
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 <se@ZPR.Uni-Koeln.DE>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601250153.AA22251>
