Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.0.35 kernel for 164LX (External SCSI devices not detected)
@ 1998-09-18 14:50 Peter S Galbraith
  1998-09-21  8:59 ` Bart-Jan Vrielink
  0 siblings, 1 reply; 5+ messages in thread
From: Peter S Galbraith @ 1998-09-18 14:50 UTC (permalink / raw)
  To: axp-list; +Cc: Peter S Galbraith

Newbie question here...

We have 2 working alpha 164LX running modified versions of RedHat 5.0
(modified by the vendor to get a working compiler) and Linux 2.0.33.
The machines have NCR53C8XX SCSI cards.  The problem is that while external
SCSI devices are recognized by the BIOS and the first MILO boot, they are
not detected during the final Linux boot stage.

I thought I'd try to recompile a fresh 2.0.35 kernel to see if it acts any
differently (Here's where the newbie part comes in). 

Can I use unmodified 2.0.35 sources on alpha?  Or must they be patched?

I copied 2.0.35 pristines sources over from my i386 Linux box and did: 

 make mrproper
 make xconfig
 make dep
 make

It doesn't get very far, with errors like:
/usr/src/linux/include/asm/unistd.h:284: inconsistent operand constraints in an `asm'
{standard input}: Assembler messages:
{standard input}:31: Error: Bad expression
{standard input}:31: Error: syntax error

The synlinks are as follows:

$ ls -l  | grep linux
/usr/include/asm -> ../src/linux/include/asm -> asm-alpha
/usr/include/linux -> ../src/linux/include/linux
/usr/include/scsi -> ../src/linux/include/scsi

(I'm experienced with i386 Linux, but know next to nothing about alpha.
I know I'll have to read up on MILO, and have docs on how to boot from a
kernel on a floppy if I can managed to create one).

Any hints on how to proceed?  Thanks!
-- 
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
   6623'rd Linux user at the Linux Counter -- http://counter.li.org/ 




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

* Re: 2.0.35 kernel for 164LX (External SCSI devices not detected)
  1998-09-18 14:50 2.0.35 kernel for 164LX (External SCSI devices not detected) Peter S Galbraith
@ 1998-09-21  8:59 ` Bart-Jan Vrielink
  0 siblings, 0 replies; 5+ messages in thread
From: Bart-Jan Vrielink @ 1998-09-21  8:59 UTC (permalink / raw)
  To: Peter S Galbraith; +Cc: axp-list

On Fri, 18 Sep 1998, Peter S Galbraith wrote:

> Newbie question here...

> I thought I'd try to recompile a fresh 2.0.35 kernel to see if it acts any
> differently (Here's where the newbie part comes in). 

Beside that' always compile your own kernel, the vendor's kernel usually
has too much support for hardware you don't have and too less support for
things you want to have in the kernel.

> Can I use unmodified 2.0.35 sources on alpha?  Or must they be patched?
> 
> I copied 2.0.35 pristines sources over from my i386 Linux box and did: 
> 
>  make mrproper
>  make xconfig
>  make dep
>  make
> 
> It doesn't get very far, with errors like:
> /usr/src/linux/include/asm/unistd.h:284: inconsistent operand constraints in an `asm'
> {standard input}: Assembler messages:
> {standard input}:31: Error: Bad expression
> {standard input}:31: Error: syntax error
> 
> The synlinks are as follows:
> 
> $ ls -l  | grep linux
> /usr/include/asm -> ../src/linux/include/asm -> asm-alpha
> /usr/include/linux -> ../src/linux/include/linux
> /usr/include/scsi -> ../src/linux/include/scsi
> 
> (I'm experienced with i386 Linux, but know next to nothing about alpha.
> I know I'll have to read up on MILO, and have docs on how to boot from a
> kernel on a floppy if I can managed to create one).

There are a few things different with the i386 platform for compiling
kernels.
First there are a few patches that you want to apply or need to apply for
2.0.* kernels. They can be found somewhere on gatekeeper.dec.com, in
ftp://gatekeeper.dec.com/pub/Digital/Linux-Alpha/Kernels/ if I am correct.
Beside that, make xconfig and make menuconfig are broken on the Alpha
platform, for ages (somebody please fix this !!), use make config. 

Tot ziens,

-- 
 Bart-Jan Vrielink <b.j.vrielink@de-boulevard.nl>
 De Boulevard Electronic Commerce  -  IT Developer
 Tel. +31 53 4836377  -  Fax. +31 53 4836378



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

* Re: 2.0.35 kernel for 164LX (External SCSI devices not detected)
@ 1998-09-21 18:52 Peter S Galbraith
  1998-09-22  3:38 ` Jay.Estabrook
  0 siblings, 1 reply; 5+ messages in thread
From: Peter S Galbraith @ 1998-09-21 18:52 UTC (permalink / raw)
  To: axp-list


I wrote:

> We have 2 working alpha 164LX running modified versions of RedHat 5.0
> (C++ compiler and other stuff) and Linux 2.0.33.
> The machines have NCR53C8XX SCSI cards.  The problem is that while external
> SCSI devices are recognized by the `BIOS' and the first MILO boot, they are
> not detected during the final Linux boot stage.

I have managed to compile various kernels (2.0.30, 2.0.34; even omitting
extra stuff like ethernet drivers) and none of them recognize external
SCSI devices.  Deeply weird.

Has anyone ever seen anything like this?

-- 
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
   6623'rd Linux user at the Linux Counter -- http://counter.li.org/ 


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

* Re: 2.0.35 kernel for 164LX (External SCSI devices not detected)
  1998-09-21 18:52 Peter S Galbraith
@ 1998-09-22  3:38 ` Jay.Estabrook
  1998-09-22 14:50   ` Brian E.W. Wood
  0 siblings, 1 reply; 5+ messages in thread
From: Jay.Estabrook @ 1998-09-22  3:38 UTC (permalink / raw)
  To: axp-list


>>> Peter S Galbraith said:
> 
> > We have 2 working alpha 164LX running modified versions of RedHat 5.0
> > (C++ compiler and other stuff) and Linux 2.0.33.
> > The machines have NCR53C8XX SCSI cards.  The problem is that while external
> > SCSI devices are recognized by the `BIOS' and the first MILO boot, they are
> > not detected during the final Linux boot stage.
> 
> I have managed to compile various kernels (2.0.30, 2.0.34; even omitting
> extra stuff like ethernet drivers) and none of them recognize external
> SCSI devices.  Deeply weird.

What version of the SCSI driver does MILO use, and which the kernel?

If you have a "fancy" new 53c8xx board in the LX, perhaps the latest MILO
(using rev 2.6n of the ncr53c8xx driver) can handle it, and the linux kernel
sources you're using actually have an older driver that can't?

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corporation                (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-------------------------------------------------------------------------------


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

* Re: 2.0.35 kernel for 164LX (External SCSI devices not detected)
  1998-09-22  3:38 ` Jay.Estabrook
@ 1998-09-22 14:50   ` Brian E.W. Wood
  0 siblings, 0 replies; 5+ messages in thread
From: Brian E.W. Wood @ 1998-09-22 14:50 UTC (permalink / raw)
  To: axp-list


On 22-Sep-98 Jay.Estabrook@digital.com wrote:
> 
> If you have a "fancy" new 53c8xx board in the LX, perhaps the latest MILO
> (using rev 2.6n of the ncr53c8xx driver) can handle it, and the linux kernel
> sources you're using actually have an older driver that can't?

In general a SCSI adapter does not know the difference between an external and
an internal drive, they are electrically on the same buss. The difference
between external and internal devices is mechanical not electrical and I doubt
that any driver would know the difference between them 

I would guess this is some sort of cabling/termination problem, as are most
SCSI problems in my experience. Remember that the on=board termination must be
enabled if you are using only internal or only external devices, but disabled
if you are using both (some cards have an "auto" mode).

Also, some wide cards have three connectors (internal narrow, internal wide and
external wide). You may run into trouble if you attempt to use all three of
these ports at once.

---
Brian E.W. Wood  beww@intac.com


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

end of thread, other threads:[~1998-09-22 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-18 14:50 2.0.35 kernel for 164LX (External SCSI devices not detected) Peter S Galbraith
1998-09-21  8:59 ` Bart-Jan Vrielink
  -- strict thread matches above, loose matches on Subject: below --
1998-09-21 18:52 Peter S Galbraith
1998-09-22  3:38 ` Jay.Estabrook
1998-09-22 14:50   ` Brian E.W. Wood

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