Re: Oopses with 2.1.8

Gerard Roudier (
Wed, 13 Nov 1996 23:53:07 +0000 (GMT)

On Tue, 12 Nov 1996, Philippe Strauss wrote:

> Hi Linus, hi Gerard,
> Compiling 2.1.8 with Drew's 53c7,8xx driver made
> 2.1.8 very stable. Trying to lower the features
> with Gerard's driver didn't help (oops, crash & burn :)

Sorry for my late reply. I only can read mail at evening and yesterday I
did not have received your mail.
Prior to posting the 1.14c patch, I have done some heavy tests under 2.1.8
without problems.
My current Linux is 2.0.25 + ncr1.14c. I donnot notice problems too.
Obviously that does not prove 1.14c has no problems.

I notice in another post that you have set max queued commands to 12.
The queue depth will be set to this value for all devices that
supports tagged commands even if tagged command is not yet enabled.
That's due to a design lack in the middle scsi code.
If your ZIP100 supports tagged commands (probably not), 12 is too big for it.
With your configuration, 4 is a reasonnable value and 8 probably a maximum.
I use only 8 queued commands with my Atlas Wide with 1MB internal cache.
But 12 should work. You would probably have some risk of timeout or
"queue full" scsi status, but not crash.

I will not have time this evening to try linux-2.1.9.
Can you check the driver source code you used in 2.1.8 against the source
code available at the following location:

Just to be sure the patch I have posted was ok.

> 2.1.9 with Gerard's driver seem to work flawlessly,
> despite the fact that 1.14c ncrBsd was crashing
> 2.1.8.. Strange interaction, but it's OK now.

It's strange, indeed. Let me know if all stay really ok with 2.1.9.
I will check the driver source and run some tests.
Your problem description looks like a bug in the driver but perhaps it is
1.14b to 1.14c is in my opinion a minor change and checking the source
should be enough.

> Gpm still doesn't work correctly with 2.1.9 and
> my Logitech Mouseman.
> Thanks, Philippe
> [PS: Gerard, i use the following devices:

All seems ok with your scsi devices.

> Vendor: SEAGATE Model: ST31200N Rev: 8648
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> Vendor: NEC Model: CD-ROM DRIVE:500 Rev: 2.5
> Type: CD-ROM ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
> Vendor: IOMEGA Model: ZIP 100 Rev: C.19
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi removable disk sdb at scsi0, channel 0, id 6, lun 0
> ncr53c810-0-<target 0, lun 0>: FAST SCSI-2 100ns (10 Mb/sec) offset 8.