Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Troubles with NCR controller (was: Unidentified subject!)
       [not found] <Pine.LNX.3.95.961108130902.545C-100000@alphabits.spatz.com>
@ 1996-11-09 18:29 ` Michal Jaegermann
  1996-11-11 15:38   ` Gerard Roudier
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1996-11-09 18:29 UTC (permalink / raw)


> 
> 	I'm having a little trouble with the NCR53c8xxx driver on two
> EB164's (running RHL 3.0.3).  Here are my settings:
> 
> CONFIG_SCSI_NCR53C8XX=y
> # CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE is not set
> CONFIG_SCSI_NCR53C8XX_IOMAPPED=y
> CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT=y
> CONFIG_SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS=y
> # CONFIG_SCSI_NCR53C8XX_FORCE_SYNC_NEGO is not set
> 
> 
> 	The problem only seems to manifest itself when the system crashes
> and fscks on reboot.  It will sometimes completely hang the system.

I used this driver, with very good results, for various kernels from
2.0.x series and on Cabriolet and EB164 machines; but with the following
settings:

CONFIG_SCSI_NCR53C8XX=y
CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT is not set
# CONFIG_SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS is not set
CONFIG_SCSI_NCR53C8XX_FORCE_SYNC_NEGO=y
# CONFIG_SCSI_NCR53C8XX_DISABLE_MPARITY_CHECK is not set
# CONFIG_SCSI_NCR53C8XX_DISABLE_PARITY_CHECK is not set

Double-negatives in configuration options require a careful parsing
when the first time. :-)

> The
> strange thing is that if I reboot to the origional 1.3.90 RedHat kernel,
> it will not hang.

1.3.90 does not support the driver in question.  It uses an alternative
one.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Troubles with NCR controller (was: Unidentified subject!)
  1996-11-09 18:29 ` Troubles with NCR controller (was: Unidentified subject!) Michal Jaegermann
@ 1996-11-11 15:38   ` Gerard Roudier
  0 siblings, 0 replies; 5+ messages in thread
From: Gerard Roudier @ 1996-11-11 15:38 UTC (permalink / raw)


On Sat, 9 Nov 1996, Michal Jaegermann wrote:

> I used this driver, with very good results, for various kernels from
> 2.0.x series and on Cabriolet and EB164 machines; but with the following
> settings:
> 
> CONFIG_SCSI_NCR53C8XX=y
> CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
> # CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
> # CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT is not set
> # CONFIG_SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS is not set
> CONFIG_SCSI_NCR53C8XX_FORCE_SYNC_NEGO=y
> # CONFIG_SCSI_NCR53C8XX_DISABLE_MPARITY_CHECK is not set
> # CONFIG_SCSI_NCR53C8XX_DISABLE_PARITY_CHECK is not set
> 
> Double-negatives in configuration options require a careful parsing
> when the first time. :-)

I just choose 'N' as default answer for all driver options  
(Except CONFIG_SCSI_NCR53C8XX :)) because I thought that people will 
answer 'N' to options they will not understand.
Unfortunately, it seems that I was wrong.

Since version 1.14 of the driver (linux-2.1.3 or near) I have removed 
the stuff that enforced IOMAPPED for Alpha.
As you know, under linux-2.0.X/Alpha, memory mapped io does not work.
So, if you update the driver to 1.14 in a 2.0.X kernel, you _must_ 
force NORMAL IO,

i.e : CONFIG_SCSI_NCR53C8XX_IOMAPPED=y

>   Michal

Gerard.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Troubles with NCR controller (was: Unidentified subject!)
@ 1996-11-11 23:19 Maurice Hilarius
  1996-11-12  0:02 ` Michal Jaegermann
  0 siblings, 1 reply; 5+ messages in thread
From: Maurice Hilarius @ 1996-11-11 23:19 UTC (permalink / raw)


At 03:38 hrs. 11-11-96 +0000, you wrote:
>
>On Sat, 9 Nov 1996, Michal Jaegermann wrote:
>
>> I used this driver, with very good results, for various kernels from
>> 2.0.x series and on Cabriolet and EB164 machines; but with the following
>> settings:
>> 
>> CONFIG_SCSI_NCR53C8XX=y
>> CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
>> # CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
>> # CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT is not set
>> # CONFIG_SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS is not set
>> CONFIG_SCSI_NCR53C8XX_FORCE_SYNC_NEGO=y
>> # CONFIG_SCSI_NCR53C8XX_DISABLE_MPARITY_CHECK is not set
>> # CONFIG_SCSI_NCR53C8XX_DISABLE_PARITY_CHECK is not set
>> 
>> Double-negatives in configuration options require a careful parsing
>> when the first time. :-)
>
>I just choose 'N' as default answer for all driver options  
>(Except CONFIG_SCSI_NCR53C8XX :)) because I thought that people will 
>answer 'N' to options they will not understand.
>Unfortunately, it seems that I was wrong.
>
>Since version 1.14 of the driver (linux-2.1.3 or near) I have removed 
>the stuff that enforced IOMAPPED for Alpha.
>As you know, under linux-2.0.X/Alpha, memory mapped io does not work.
>So, if you update the driver to 1.14 in a 2.0.X kernel, you _must_ 
>force NORMAL IO,
>
>i.e : CONFIG_SCSI_NCR53C8XX_IOMAPPED=y
>
>>   Michal
>
>Gerard.
So, what would the visible effects be of _NOT_ setting this?

Cheers,
        Maurice
+--------------------------------------------------------------------------+
| Maurice Hilarius                   | The Past is History                 |
| President  / Computer Entomologist |  The Future is Mystery              |
| Hard Data Ltd.                     |   Today is a Gift                   |
| 403-456-1510 / FAX 403-457-1338    | That is why they call it            |
| maurice@ellpspace.math.ualberta.ca |     The Present                     |
+--------------------------------------------------------------------------+

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Troubles with NCR controller (was: Unidentified subject!)
  1996-11-11 23:19 Maurice Hilarius
@ 1996-11-12  0:02 ` Michal Jaegermann
  1996-11-13  0:14   ` Gerard Roudier
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1996-11-12  0:02 UTC (permalink / raw)


Gerard wrote:
> >
> >As you know, under linux-2.0.X/Alpha, memory mapped io does not work.
> >So, if you update the driver to 1.14 in a 2.0.X kernel, you _must_ 
> >force NORMAL IO,

Well, yes, I though so from some earlier postings.

> >i.e : CONFIG_SCSI_NCR53C8XX_IOMAPPED=y

I always thought that "_IOMAPPED=y" will set memory mapped io, which
on axp does not work.  Am I misreading something?  To add to this
confusion all NCR controllers (a few) for which I left
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
seem to be working just fine (and quite heavily on occasions).

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Troubles with NCR controller (was: Unidentified subject!)
  1996-11-12  0:02 ` Michal Jaegermann
@ 1996-11-13  0:14   ` Gerard Roudier
  0 siblings, 0 replies; 5+ messages in thread
From: Gerard Roudier @ 1996-11-13  0:14 UTC (permalink / raw)


IOMAPPED     means:  controller io registers mapped into io space.
MEMORYMAPPED means:  controller io registers mapped into memory space.

MMIO         means:  memory mapped io (=MEMORYMAPPED)

I agree that confusion is indeed possible.

Linux-2.0.X does not support MMIO though PCI bus on Alpha. So option 
IOMAPPED should be set to Y for NCR53C8XX driver.
Otherwise, the system will crash at start-up.

In driver revision 1.12c, the driver just ignore this option and forced 
IOMAPPED on Alpha. I have removed the corresponding stuf (#ifdef 
__alpha__) for Linux-2.1.something_that_supports_pci_mmio_on_alpha.

I will add a condition involving LINUX_VERSION_CODE for 2.0.X in the next 
revision of the driver.

Sorry if you had problems under Alpha with the driver 1.14/a/c.

Gerard. 

On Mon, 11 Nov 1996, Michal Jaegermann wrote:

> Gerard wrote:
> > >
> > >As you know, under linux-2.0.X/Alpha, memory mapped io does not work.
> > >So, if you update the driver to 1.14 in a 2.0.X kernel, you _must_ 
> > >force NORMAL IO,
> 
> Well, yes, I though so from some earlier postings.
> 
> > >i.e : CONFIG_SCSI_NCR53C8XX_IOMAPPED=y
> 
> I always thought that "_IOMAPPED=y" will set memory mapped io, which
> on axp does not work.  Am I misreading something?  To add to this
> confusion all NCR controllers (a few) for which I left
> # CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
> seem to be working just fine (and quite heavily on occasions).
> 
>   Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-11-13  0:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.95.961108130902.545C-100000@alphabits.spatz.com>
1996-11-09 18:29 ` Troubles with NCR controller (was: Unidentified subject!) Michal Jaegermann
1996-11-11 15:38   ` Gerard Roudier
1996-11-11 23:19 Maurice Hilarius
1996-11-12  0:02 ` Michal Jaegermann
1996-11-13  0:14   ` Gerard Roudier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox