[654] in linux-scsi channel archive
53c825 dies w/o ftape's buffers? huh?
daemon@ATHENA.MIT.EDU (Michael Adas)
Wed Oct 4 01:50:57 1995
Date: Tue, 3 Oct 1995 19:49:01 -0500 (CDT)
From: Michael Adas <mja@telecom.wisc.edu>
To: linux-scsi@vger.rutgers.edu
Hello all...
First some details:
ASUS P55TP4Xe 100MHz p5, 256k regular cache, 16meg mem.
Generic NCR 53c825 PCI wide SCSI board (model 1365, unknown manuf.)
Seagate 31200N on ID 0
Diamond Stealth 64 Video VRAM PCI
*NO* (that's NO) floppy tape drive
Linux 1.2.13 (no patches)
Now, the problem:
The kernel recognizes scsi the card and functions perfectly if I enable
QIC-117 support. All other drivers being the same, if I remove
support for floppy tapes, the NCR dies on init. It genrally complains
about an existing issue queue, followed by a slew of other errors. (I
could write them down if need be.)
I peeked in linux/drivers/char/mem.c and the only relevant code I found
was this:
#ifdef CONFIG_FTAPE
/* allocate NR_FTAPE_BUFFERS 32Kb buffers at aligned address */
ftape_big_buffer= (char*) ((mem_start + 0x7fff) & ~0x7fff);
printk( "ftape: allocated %d buffers aligned at: %p\n",
NR_FTAPE_BUFFERS, ftape_big_buffer);
mem_start = (long) ftape_big_buffer + NR_FTAPE_BUFFERS * 0x8000;
#endif
So.. why does the NCR card not like it when CONFIG_FTAPE allocates the
96k of (in my system) unused buffers?
Boot messages that looked relevant to me:
(trimmed for brevity)
----working kernel, with ftape----
ftape: allocated 3 buffers aligned at: 001e8000
scsi-ncr53c7,8xx : at PCI bus 0, device 10, funtion 0
scsi-ncr53c7,8xx : NCR53c825 at memory 0xfbfdf000, io 0xe400, irq 12
scsi0 : NCR code relocated to 0x2002f0
----non-working kernel, removing ftape was the only change----
scsi-ncr53c7,8xx : at PCI bus 0, device 10, funtion 0
scsi-ncr53c7,8xx : NCR53c825 at memory 0xfbfdf000, io 0xe400, irq 12
scsi0 : NCR code relocated to 0x1e3750
I'll be happy to provide more info, if it'll help.
--
= Michael Adas - DoIT Installation & Repair
= Office (608) 262-1880 Fax (608) 262-0123