Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Qlogic ISP1040 & Digital Alpha
@ 1998-06-07 14:14 Stefan van der Eijk
  1998-06-08  8:14 ` Jay.Estabrook
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan van der Eijk @ 1998-06-07 14:14 UTC (permalink / raw)
  To: axp-list@redhat.com

Hello,

Hello, maybe it's not appropriate to ask this
question here, but since SCSI drivers are a
part of the kernel, I'll try anyway...

I'm having some problems installing
RedHat Linux onto my Digital Personal Workstation
(alpha) which contains a Qlogic ISP1040 SCSI
controller. The SCSI controller is recognized as a
ISP1020, but I can't install the OS. for more
details on what goes wrong see below.

It seems like the ISP1040 isn't compatible
with the ISP1020. Before I go out and buy a new 
SCSI controller so I can run Linux on the machine,
is this true? And if not, what am I doing wrong /
how can I fix it??

Thanks a lot,

Stefan van der Eijk

stefan@stack.nl

PS: you people do a great job on the kernel & it's
drivers... Thanks!!!


> Subject: 
>               PWS 433a/au / ISP1040 install problems
>   Resent-Date: 
>               1 Jun 1998 13:39:38 -0000
>  Resent-From: 
>               axp-list@redhat.com
>    Resent-CC: 
>               "recipient.list.not.shown":;
>          Date: 
>               Mon, 01 Jun 1998 15:10:59 +0200
>         From: 
>               Stefan van der Eijk <stefan@stack.nl>
>     Reply-To: 
>               axp-list@redhat.com
>            To: 
>               "axp-list@redhat.com" <axp-list@redhat.com>
> 
> 
> 
> 
> Hello,
> 
> I'm having some difficulties getting RedHat Linux 5.0 for alpha to
> install on my Personal Workstation 433a/au. 
> 
> I've got the following configuration:
> 
> AlphaBIOS 5.64
> 128Mb RAM, no cache.
> 
> SCSI:
> ID0 Compaq / Seagate Barracuda 4Gb ST-15150N Narrow SCSI disk
> ID1 HP 2Gb C3325A narrow SCSI disk
> ID6 Toshiba XM-5301TA 4speed SCSI CDROM player.
> ID7 Qlogic ISP1040B UW SCSI controller base address = 1000
> 
> 512Kb OAK ISA SVGA card
> 
> Windows NT is installed on the HP disk, on a NTFS
> partition. On the Seagate disk there is a 6Mb FAT 
> partition to help NT boot. NT runs, no problems
> at all.
> 
> Then I tried to install Linux. I added the following
> entries in the ARC:
> 
> Boot name:      Linux CD
> Boot File:      CD:                     \milo\arc\linload.exe
> OS Path:        CD:                     \milo\miata
> OS Options:     boot -t iso9660 scd0:kernels\miata.gz root=/dev/scd0
> 
> This one should start my redhat 5.0 powertools alpha CD.
> 
> and
> 
> Boot name:      Linux Floppy
> Boot File:      Disk0, partition 1      \milo\arc\linload.exe
> OS Path:        Disk1, partition 1      \
> OS Options:
> 
> which should bring me to the milo prompt. (Linload and Milo
> are on the 1st partition of the 1st drive)
> 
> So far so good. But when I try to start Linux CD the following
> happens: Milo loads (partialy) and stops half way through the
> SCSI sequence. It only finds my two SCSI disks, but no CDROM.
> What I find strange is that the base address of the SCSI
> controller is NOT the same, 0x9000 instead of 1000.
> 
> scsi0 : Qlogic ISP1020 SCSI on PCI bus 1 device 8 IRQ 0 base 0x9000
> scsi : 1 host.
> Vendor: compaq  Model: ST15150N         Rev. 5217
> Type:   Direct-Access                   ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> Vendor: HP      Model: C3325A           Rev. 5020
> Type:   Direct-Access                   ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
> 
> and this is the last I see....
> 
> OK, then I try Linux Floppy, and then type "show" at the milo
> prompt I get the same.
> 
> When I disconnect the SCSI cable from the CDROM drive (harddisk
> is the last one on the chain and is terminated, CDrom is in the 
> middle). I then start "Linux Floppy". Milo now can show me the 
> devices, the SCSI come through OK.
> 
> scsi0 : Qlogic ISP1020 SCSI on PCI bus 1 device 8 IRQ 0 base 0x9000
> scsi : 1 host.
> Vendor: compaq  Model: ST15150N         Rev. 5217
> Type:   Direct-Access                   ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> Vendor: HP      Model: C3325A           Rev. 5020
> Type:   Direct-Access                   ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
> scsi: detected 2 SCSI disks total.
> SCSI device sda: hdwr sector= 512 bytes. Sectors 8386000 [4094Mb]
> [4.1GB]
> SCSI device sdb: hdwr sector= 512 bytes. Sectors 4238836 [2069Mb]
> [2.1GB]
> Partition check:
> sda: sda1
> sdb: sdb1
> 
> Devices:
> ramdisk (0100)                  fd (0200)       sd (0800)
> sda:    sda1            sdb:    sdb1
> File systems:
> ext2 iso9660 msdos.
> 
> When I try to boot a kernel from a floppy using 
> boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1
> It starts to unzip the kernel, goes down to the SCSI part and then
> starts throwing with error messages. SCSI resets, qlogicisp: bad
> mailbox return status etc. etc.
> 
> It ends with:
> 
> SCSI host 0 reset (pid 1) timed out again -
> probably an unrecoverable SCSI bus or device hang.
> 
> What now?? Does anybody have any idea what I'm doing wrong?? Does
> anybody have the ISP1040B scsi controller running under alpha-Linux??
> At the moment I'm clueless... Help is very much appreciated. Thanks
> in advance....
> 
> greetings,
> 
> Stefan van der Eijk
> stefan@stack.nl
> 
> -- 
> 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] 7+ messages in thread

* Re: Qlogic ISP1040 & Digital Alpha
  1998-06-07 14:14 Qlogic ISP1040 & Digital Alpha Stefan van der Eijk
@ 1998-06-08  8:14 ` Jay.Estabrook
  1998-06-08 17:43   ` Stefan van der Eijk
  1998-06-09 16:22   ` Hermelito Go
  0 siblings, 2 replies; 7+ messages in thread
From: Jay.Estabrook @ 1998-06-08  8:14 UTC (permalink / raw)
  To: axp-list


>>> Stefan van der Eijk said:
> 
> I'm having some problems installing
> RedHat Linux onto my Digital Personal Workstation
> (alpha) which contains a Qlogic ISP1040 SCSI
> controller. The SCSI controller is recognized as a
> ISP1020, but I can't install the OS. for more
> details on what goes wrong see below.
> 
> It seems like the ISP1040 isn't compatible
> with the ISP1020. Before I go out and buy a new 
> SCSI controller so I can run Linux on the machine,
> is this true? And if not, what am I doing wrong /
> how can I fix it??

Well, they seem to be mostly compatible, it's just the 1020 firmware
that gets downloaded by the driver that causes problems on the 1040B,
sometimes.

As per the recommendation by John Jemiolo, recompiling the driver to NOT
download its firmware seems to help in many cases.  Letting the SRM/ARC
consoles download *their* firmware to the card seems to help, as the driver
will successfully use the 1040B under that condition.

However, this is not real helpful to you when you're not yet installed...

Unfortunately, there's no "canned" kernel that behaves the way you need; my
suggestion would be to find an old IDE disk and CDROM, and install a minimal
system using them, under which you can build an appropriately patched kernel.

Sorry, and good luck.

--Jay++

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

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



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

* RE: Qlogic ISP1040 & Digital Alpha
@ 1998-06-08 12:00 John Jemiolo
  0 siblings, 0 replies; 7+ messages in thread
From: John Jemiolo @ 1998-06-08 12:00 UTC (permalink / raw)
  To: 'axp-list@redhat.com'


	Stefan van der Eijk[SMTP:stefan@stack.nl] Wrote:

	>>I'm having some problems installing
	>>RedHat Linux onto my Digital Personal Workstation
	>>(alpha) which contains a Qlogic ISP1040 SCSI
	>>controller. The SCSI controller is recognized as a
	>>ISP1020, but I can't install the OS. for more
	>>details on what goes wrong see below.

	>>It seems like the ISP1040 isn't compatible
	>>with the ISP1020. Before I go out and buy a new 
	>>SCSI controller so I can run Linux on the machine,
	>>is this true? And if not, what am I doing wrong /
	>>how can I fix it??

	In the file   /usr/src/linux/drivers/scsi/qlogicisp.c

	in the Configuration section, change

	#define RELOAD_FIRMWARE     1

	to

	#define RELOAD_FIRMWARE     0

	The isp1040 will then work..

	JJ


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

* Re: Qlogic ISP1040 & Digital Alpha
  1998-06-08 17:43   ` Stefan van der Eijk
@ 1998-06-08 12:32     ` Jay.Estabrook
  1998-06-09 13:39       ` Stefan van der Eijk
  0 siblings, 1 reply; 7+ messages in thread
From: Jay.Estabrook @ 1998-06-08 12:32 UTC (permalink / raw)
  To: axp-list


>>> Stefan van der Eijk said:
> This is exactly what I'm doing... I pulled my ASUS AS2940UW SCSI controller
> (AIC 7880 chip, one of those weird ones with sound onboard -> for the ASUS 
> media bus) and put it in my alpha. Installed RHL 5.0, and now I'm baking 
> kernels...

Alright! I just expect most folk to have spare IDE rather than SCSI... ;-}

> After I'm done: Where can I put the _built_ milo and kernel so that
> other people can enjoy them too??

Er, well, you won't be able to build a new MILO under 5.0 that will work...
Kernels, yes, but the best MILOs use the DEC BIOS emulator, which is a C++
binary built under 4.2, and it has problems linking with the 5.0 binaries.

I don't have a good solution for you at this time; I've not built a MIATA
kernel or MILO for a while, so it'll take a bit of doing (backport of the
patch to 2.0.30 which is the last kernel source to be known to work for the
building of MILO).

I'll try to get around to doing the port/build tonight, but can't promise
I'll get it done for tomorrow...

BTW, here's what I'm going to put into my patches for qlogicisp.c, so that
the detection/work-around is automatic:

#if RELOAD_FIRMWARE
#if defined(__alpha__)
	/* do not reload firmware if 1040B, ie revision 5 chip */
	if (((struct isp1020_hostdata *) host->hostdata)->revision == 5)
		printk("qlogicisp: 1040B detected, no firmware reload.\n");
	else
#endif /* __alpha__ */

--Jay++

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

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



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

* Re: Qlogic ISP1040 & Digital Alpha
  1998-06-08  8:14 ` Jay.Estabrook
@ 1998-06-08 17:43   ` Stefan van der Eijk
  1998-06-08 12:32     ` Jay.Estabrook
  1998-06-09 16:22   ` Hermelito Go
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan van der Eijk @ 1998-06-08 17:43 UTC (permalink / raw)
  To: axp-list

> Well, they seem to be mostly compatible, it's just the 1020 firmware
> that gets downloaded by the driver that causes problems on the 1040B,
> sometimes.

> As per the recommendation by John Jemiolo, recompiling the driver to NOT
> download its firmware seems to help in many cases.  Letting the SRM/ARC
> consoles download *their* firmware to the card seems to help, as the driver
> will successfully use the 1040B under that condition.

> However, this is not real helpful to you when you're not yet installed...
True.

> Unfortunately, there's no "canned" kernel that behaves the way you need; my
> suggestion would be to find an old IDE disk and CDROM, and install a minimal
> system using them, under which you can build an appropriately patched kernel.
This is exactly what I'm doing... I pulled my ASUS AS2940UW SCSI
controller
(AIC 7880 chip, one of those weird ones with sound onboard -> for the
ASUS 
media bus) and put it in my alpha. Installed RHL 5.0, and now I'm baking 
kernels...

> Sorry, and good luck.
No problem... all a part of the experience.... saves me from buying a
new
SCSI controller... ;-))

After I'm done: Where can I put the _built_ milo and kernel so that
other 
people can enjoy them too??

Thanks,

Stefan van der Eijk
stefan@stack.nl


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

* Re: Qlogic ISP1040 & Digital Alpha
  1998-06-08 12:32     ` Jay.Estabrook
@ 1998-06-09 13:39       ` Stefan van der Eijk
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan van der Eijk @ 1998-06-09 13:39 UTC (permalink / raw)
  To: axp-list

> > This is exactly what I'm doing... I pulled my ASUS AS2940UW SCSI controller
> > (AIC 7880 chip, one of those weird ones with sound onboard -> for the ASUS
> > media bus) and put it in my alpha. Installed RHL 5.0, and now I'm baking
> > kernels...
> Alright! I just expect most folk to have spare IDE rather than SCSI... ;-}
;-)

> > After I'm done: Where can I put the _built_ milo and kernel so that
> > other people can enjoy them too??
> Er, well, you won't be able to build a new MILO under 5.0 that will work...
> Kernels, yes, but the best MILOs use the DEC BIOS emulator, which is a C++
> binary built under 4.2, and it has problems linking with the 5.0 binaries.
aha...

> I don't have a good solution for you at this time; I've not built a MIATA
> kernel or MILO for a while, so it'll take a bit of doing (backport of the
> patch to 2.0.30 which is the last kernel source to be known to work for the
> building of MILO).
Yup... I've also been looking for MILO sources... the latest ones I
found were from 18 or 19 september 1997.

> I'll try to get around to doing the port/build tonight, but can't promise
> I'll get it done for tomorrow...
Don't rush it too much. This is not a production machine in any way...
I myself will probably have time for it again this weekend... Take your
time, first things first...

> BTW, here's what I'm going to put into my patches for qlogicisp.c, so that
> the detection/work-around is automatic:

> #if RELOAD_FIRMWARE
> #if defined(__alpha__)
>         /* do not reload firmware if 1040B, ie revision 5 chip */
>         if (((struct isp1020_hostdata *) host->hostdata)->revision == 5)
>                 printk("qlogicisp: 1040B detected, no firmware reload.\n");
>         else
> #endif /* __alpha__ */

Wow... I love you guys!!! This is cool!!! If there is any way I can help 
by compiling stuff / testing etc. etc. then send me an email...

If it's any help to you: the chip of the ISP1040B says:
ISP1040B 2405101
MIKLR9/N9751D
USPAT#5, 276, 807

The board has the following info:

ASSY PC2010403-11-E REV

Thanks a lot!!!

Stefan van der Eijk
stefan@stack.nl



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

* Re: Qlogic ISP1040 & Digital Alpha
  1998-06-08  8:14 ` Jay.Estabrook
  1998-06-08 17:43   ` Stefan van der Eijk
@ 1998-06-09 16:22   ` Hermelito Go
  1 sibling, 0 replies; 7+ messages in thread
From: Hermelito Go @ 1998-06-09 16:22 UTC (permalink / raw)
  To: axp-list

On Mon, 8 Jun 1998 Jay.Estabrook@digital.com wrote:

> > how can I fix it??
> 
> Well, they seem to be mostly compatible, it's just the 1020 firmware
> that gets downloaded by the driver that causes problems on the 1040B,
> sometimes.
> 
> As per the recommendation by John Jemiolo, recompiling the driver to NOT
> download its firmware seems to help in many cases.  Letting the SRM/ARC
> consoles download *their* firmware to the card seems to help, as the driver
> will successfully use the 1040B under that condition.
> 
> However, this is not real helpful to you when you're not yet installed...
> 
> Unfortunately, there's no "canned" kernel that behaves the way you need; my
> suggestion would be to find an old IDE disk and CDROM, and install a minimal
> system using them, under which you can build an appropriately patched kernel.
> 
> Sorry, and good luck.

I have a PWS500a with an QISP1040B and was able to install RH4.2 & 5.0 on
it. However, I noticed a lethargic disk preformance if I use the RH 5.0
milo (miata) image, so I sticked with the bootm image from RH4.2. 

Lito

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Hermelito O. Go <mailto:lito@msuiit.edu.ph>                            ~   
~ Computer Center                                            InnovaTe    ~
~ MSU-Iligan Institute of Technology                            or       ~
~ Tibanga, 9200 Iligan City, Philippines		      perish!    ~
~ Tel:(63)(63) 221-4071, 221-4050 local 101/117                          ~
~     (63) 917-7160342  FAX: (63)(63) 2214061, 2214056                   ~
~ PGP Public Key http://www.msuiit.edu.ph/~lito/pgpkey.asc               ~
~~~~~~~~~~~~~~~~~~~~| http://www.msuiit.edu.ph/~lito |~~~~~~~~~~~~~~~~~~~~


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

end of thread, other threads:[~1998-06-09 17:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-07 14:14 Qlogic ISP1040 & Digital Alpha Stefan van der Eijk
1998-06-08  8:14 ` Jay.Estabrook
1998-06-08 17:43   ` Stefan van der Eijk
1998-06-08 12:32     ` Jay.Estabrook
1998-06-09 13:39       ` Stefan van der Eijk
1998-06-09 16:22   ` Hermelito Go
  -- strict thread matches above, loose matches on Subject: below --
1998-06-08 12:00 John Jemiolo

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