Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: Interesting SCSI Performance Problems
@ 2001-03-16 22:36 KirkE
  2001-03-16 22:57 ` Interesting SCSI Performance Problems - discussions where ? Andrei A. Dergatchev
  2001-03-17  6:17 ` Interesting SCSI Performance Problems T. Daniel Crawford
  0 siblings, 2 replies; 12+ messages in thread
From: KirkE @ 2001-03-16 22:36 UTC (permalink / raw)
  To: axp-list

Daniel,

>On each of my workstations I have three 18 GB Ultra 160 SCSI disks, but,
>unfortunately the on-board host adapter is a Qlogic ISP1020 Ultra Wide SCSI
>that is capable of only 40 MB/s transfer rates.  

Its actually a QLA 1040B, the 1020 is a Fast-20 HBA (Fast SCSI II wide).
The last number in Qlogic part number denotes the rate of the ASIC.  The QLA
1080 is Ultra 2 (Fast 40) and the QLA 10160 is Ultra 160 (Fast 80).  The QLA
1040B is an SRM compatible boot device, but shouldn't be used for data
volumes.  I would advise the following:

1) First SCSI controller (1040B) single boot disk (9GB Ultra disks can be
had for $80.00 on Pricewatch.com)
2) Second SCSI controller (10160 or 12160, 12160 being dual channel) with
2-4 disks (may be software stripped, if desired).

The Qlogic 1240 (dual channel 1040B), 1080, 1280, 10160, 12160 controllers
are all 64 bit PCI, boosting your max throughout for the controller (not
necessarily the disks) up to 180-200MBps (minus some bus overhead). You
could easily stack 3 disks per channel on a 1080/10160 for fairly
spectacular performance.  The more you know about the behavior of your app
with regard to disk I/O requirements, the better.  An NVRAM dump utility is
provided that will allow you to modify the NVRAM parameters (you'll have to
use a DOS machine, Win98/ME, etc to run the tool) and tune the FIFO
thresholds, bus timings, etc.  Its worth the extra effort.

Alternatively, you could use a Myles RAID controller (such as the
eXtremeRAID 2000) and run one or more logical volumes in hardware RAID "10"
(mirrored stripes) for the ideal mix between random uncached reads/writes
and sequential cached reads/writes (its the fastest all around RAID level,
though at 50% capacity overhead).  I noticed that you had some negotiation
problems with your disks, possibly due to spin up/spin down during
negotiation.  Unless you have a good reason to maintain the disk spinup at
boot, disable the feature.  I would recommend that for your purposes you
consider an external drive array with two SCSI busses (3 or 4 disks per
bus), these can be had on Pricewatch, Egghead auctions and Ebay for between
$200.00 and $1,000.00 and usually contain one or two 350-550 watt power
supplies, reducing the load on your XP1000's often over-demanded power
supply.

As for your synthetic load generator program to determine max throughput, be
aware that unless your application writes or reads in sequential fashion,
you will not achieve anywhere NEAR those figures (34-74MBps is based on
synchronous rates at the highest negotiated frequency and with highly
cacheable sequentially read/written data). Not even a caching RAID
controller like the eXtremeRAID 1100 or 2000 will achieve maximum throughput
with applications that require paging of only small amounts of data at a
time (high I/O throughput rate, not high MBps rates due to high overhead,
they are mutually exclusive).  Most of the tricks a good caching RAID
controller will due are in late-write and read-ahead, neither of which are
possible with highly random data requests. A realistic data rate will fall
somewhere between maximum throughput in MBps and the minimum MBps for a
large number of small I/O transactions (perhaps close to a thousand per
second). Your results will be application dependent.

For highly transactional (such as DB) I/O requests, it is better to shrink
the RAID stripe blocks down to a fairly small number (8KB to 16KB), this may
vary depending on the DB native paging size and the hardware platform. Cache
should be write-back to provide delayed committal to disk.  Read-ahead won't
benefit you much.

For streaming (such as video editing, DB logs) I/O requests, is better to
use a large or very large stripe block (64KB-256KB), this will vary
depending on the average file size, the transaction commit size and the
capabilities of the RAID controller.  Write-back should be set (where
possible) to the longest delay before a cache buffer overflow.  Read-ahead
will have substantial benefit in sequetentially read data. 

>I wrote a little test program to simply write a 2.4 GB file to disk,
including the appropriate fdatasync() to isolate 
>hardware problems from buffering.  My timing with the ISP1020 controller: a
whopping 9 MB/s sustained transfer rate.

As I mentioned, this is a 1040B, NOT a 1020 (two controllers that are VERY
different and more than 3 years of ASIC development between them).  This
sounds about right for an average sustained throughput for that controller,
at least for reads that cannot be effectively buffered with a single disk.
You may be able to tweak it for your I/O access type through the NVRAM
tweaks I mentioned above, though I encourage you to look at a secondary data
only controller or a RAID controller for the same purpose.  Budget and value
to your development may be the deciding factor.

>I then looked through the qlogicisp.c driver code in the 2.4.2 kernel and
played
>with default settings.  I found that if I recompiled the code to grab its
>defaults from the card's NVRAM, then I could get a 34 MB/s transfer rate
>out of the Qlogic card, but if I used the compiled-in defaults, I could
>get 17 MB/s at best.

Not too surprising, many of the SCSI controller drivers I've seen do NOT
reference the NVRAM variables which will not use more of the advanced
features and a higher frequency bus during or after negotiation.  These
drivers are compiled for safety, not speed. As mentioned, the NVRAM can be
further tweaked, just not from your Alpha (NVRAM dump utils from Qlogic's
website are readmode DOS only). 

Good luck,

--KE 




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

* Re: Interesting SCSI Performance Problems - discussions where ?
  2001-03-16 22:36 Interesting SCSI Performance Problems KirkE
@ 2001-03-16 22:57 ` Andrei A. Dergatchev
  2001-03-17  6:17 ` Interesting SCSI Performance Problems T. Daniel Crawford
  1 sibling, 0 replies; 12+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16 22:57 UTC (permalink / raw)
  To: axp-list

Hi,

KirkE@paccessglobal.com wrote:
[...]

Thanks a lot to Kirk for his detailed explanation !

I just wanted to ask one question.
Recently I got interested in subj - SCSI performance that is.
To my huge surprise, unlike CPI/L1/TLB related discussions
of how to save one-two CPU cycles, SCSI performance
does not seem to attract similar research activity.
scsi*. and *.storage newsgroups devote 99.9% of the bandwidth
to flammage and discussions of LVD termination.
linux-scsi and freebsd-scsi lists aren't active either.
I'm just wondering are there any people working in this area
and if yes, where do they discuss it ?

Thanks a lot to Kirk again,

Regards,

Andrei






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

* RE: Interesting SCSI Performance Problems - discussions where ?
@ 2001-03-16 23:11 KirkE
  0 siblings, 0 replies; 12+ messages in thread
From: KirkE @ 2001-03-16 23:11 UTC (permalink / raw)
  To: axp-list

Andrei,

Alpha/NT list has a bunch of us, including vendors for SCSI controllers,
storage devices and backup software (BEI's Paul Bunn in particular). The
Alpha/NT list is fairly devoid of useful talk these days owing to our
currently dead/dying OS/platform combination thanks to Compaq and MS.  A few
questions about SCSI that don't get to OS specific (as these do not) will
get you quite a few very authorative answers.  The Use/News groups for SCSI
are pretty low quality.  Tru64's list serve is pretty execllent as well,
remember to maintain good discipline with your replies (change your subject
lines, cut off unnecessary and old parts of the thread) and you'll get a
good audience.

--KE

-----Original Message-----
From: Andrei A. Dergatchev [mailto:A.Dergatchev@tn.utwente.nl]
Sent: Friday, March 16, 2001 2:58 PM
To: axp-list@redhat.com
Subject: Re: Interesting SCSI Performance Problems - discussions where ?


Hi,

KirkE@paccessglobal.com wrote:
[...]

Thanks a lot to Kirk for his detailed explanation !

I just wanted to ask one question.
Recently I got interested in subj - SCSI performance that is.
To my huge surprise, unlike CPI/L1/TLB related discussions
of how to save one-two CPU cycles, SCSI performance
does not seem to attract similar research activity.
scsi*. and *.storage newsgroups devote 99.9% of the bandwidth
to flammage and discussions of LVD termination.
linux-scsi and freebsd-scsi lists aren't active either.
I'm just wondering are there any people working in this area
and if yes, where do they discuss it ?

Thanks a lot to Kirk again,

Regards,

Andrei





_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




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

* RE: Interesting SCSI Performance Problems
  2001-03-16 22:36 Interesting SCSI Performance Problems KirkE
  2001-03-16 22:57 ` Interesting SCSI Performance Problems - discussions where ? Andrei A. Dergatchev
@ 2001-03-17  6:17 ` T. Daniel Crawford
  2001-03-17 13:46   ` Alan P. Kennedy, Sr
  2001-03-17 15:24   ` Interesting SCSI Performance Problems Jay Estabrook
  1 sibling, 2 replies; 12+ messages in thread
From: T. Daniel Crawford @ 2001-03-17  6:17 UTC (permalink / raw)
  To: axp-list

On Fri, 16 Mar 2001 KirkE@paccessglobal.com wrote:

> >On each of my workstations I have three 18 GB Ultra 160 SCSI disks, but,
> >unfortunately the on-board host adapter is a Qlogic ISP1020 Ultra Wide SCSI
> >that is capable of only 40 MB/s transfer rates.
>
> Its actually a QLA 1040B, the 1020 is a Fast-20 HBA (Fast SCSI II wide).
> The last number in Qlogic part number denotes the rate of the ASIC.  The QLA
> 1080 is Ultra 2 (Fast 40) and the QLA 10160 is Ultra 160 (Fast 80).  The QLA
> 1040B is an SRM compatible boot device, but shouldn't be used for data
> volumes.

This is good to know, because I was not aware of this naming convention among
the Qlogic adapters.  However, it's bothersome that the card is identified
by the Qlogic SCSI driver in the kernel as ISP 1020A.  Either way, of
course, the card should still provide a 40 MB/s maximum transfer rate.

> I would advise the following:
>
> 1) First SCSI controller (1040B) single boot disk (9GB Ultra disks can be
> had for $80.00 on Pricewatch.com)
> 2) Second SCSI controller (10160 or 12160, 12160 being dual channel) with
> 2-4 disks (may be software stripped, if desired).

I agree.  This is essentially the configuration I have, but with a Symbios
Ultra2 for the scratch disks.

> I noticed that you had some negotiation
> problems with your disks, possibly due to spin up/spin down during
> negotiation.  Unless you have a good reason to maintain the disk spinup at
> boot, disable the feature.

Indeed, the negotation problem due to spin-up was the entire point of my
original message.  The reason for my post was in part to ascertain why this
happens, particularly since I was using the SCSI drivers + host adapter +
disks in their default configurations.  I suspect that there may be many
alpha Linux users who are obtaining poor SCSI transfer rates from thei disks
w/o realizing it, or perhaps realize it, but have no idea what the source
of the problem is.  As the very trustworthy Compaq engineer who recommended
I post this problem to the axp-list said, "This is very broken behavior."

> As for your synthetic load generator program to determine max throughput, be
> aware that unless your application writes or reads in sequential fashion,
> you will not achieve anywhere NEAR those figures (34-74MBps is based on
> synchronous rates at the highest negotiated frequency and with highly
> cacheable sequentially read/written data).

I agree that max throughput is not reasonable for real expectations.
The point of my tests, however, was to find out why the disks were performing
at worse than 25% of the max.  Getting a *peak* performance 9 MB/s from
a host adapter with a max of 40 MB/s (and disks at 160 MB/s) is obviously
unacceptable.  The Compaq engineer agreed.

> >I wrote a little test program to simply write a 2.4 GB file to disk,
> including the appropriate fdatasync() to isolate
> >hardware problems from buffering.  My timing with the ISP1020 controller: a
> whopping 9 MB/s sustained transfer rate.
>
> As I mentioned, this is a 1040B, NOT a 1020 (two controllers that are VERY
> different and more than 3 years of ASIC development between them).  This
> sounds about right for an average sustained throughput for that controller,
> at least for reads that cannot be effectively buffered with a single disk.

The pathetic 9 MB/s was not an average rate, but a sustained value.
I repeat that I *doubled* the measured rate just by rebooting the machine.
I then bumped it up to 34 MB/s by a trivial tweaking of the qlogicisp.c
driver in the kernel.

> >I then looked through the qlogicisp.c driver code in the 2.4.2 kernel and
> played
> >with default settings.  I found that if I recompiled the code to grab its
> >defaults from the card's NVRAM, then I could get a 34 MB/s transfer rate
> >out of the Qlogic card, but if I used the compiled-in defaults, I could
> >get 17 MB/s at best.
>
> Not too surprising, many of the SCSI controller drivers I've seen do NOT
> reference the NVRAM variables which will not use more of the advanced
> features and a higher frequency bus during or after negotiation.  These
> drivers are compiled for safety, not speed.

I find this bothersome, to be frank.  I can understand the need for safety
in the driver, but the performance I observed was pitiful.  Since many of
us purchase alpha's for fast, fast, fast calculations, this kind of problem
strikes me as a serious problem.

-Daniel

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255






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

* Re: Interesting SCSI Performance Problems
  2001-03-17  6:17 ` Interesting SCSI Performance Problems T. Daniel Crawford
@ 2001-03-17 13:46   ` Alan P. Kennedy, Sr
  2001-03-17 14:25     ` T. Daniel Crawford
  2001-03-18  2:21     ` /usr/sbin/mke2fs: error in loading shared libraries J. Hart
  2001-03-17 15:24   ` Interesting SCSI Performance Problems Jay Estabrook
  1 sibling, 2 replies; 12+ messages in thread
From: Alan P. Kennedy, Sr @ 2001-03-17 13:46 UTC (permalink / raw)
  To: axp-list

>>>>> "T" == T Daniel Crawford <crawdad@vt.edu> writes:

 T> I find this bothersome, to be frank. I can understand the need for
 T> safety in the driver, but the performance I observed was pitiful.
 T> Since many of us purchase alpha's for fast, fast, fast
 T> calculations, this kind of problem strikes me as a serious
 T> problem.

This has been a most interesting thread. I would concur with the above
statement. Could you please post your patch for qlogic driver. I would
like to give it a try here.

Thanks




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

* Re: Interesting SCSI Performance Problems
  2001-03-17 13:46   ` Alan P. Kennedy, Sr
@ 2001-03-17 14:25     ` T. Daniel Crawford
  2001-03-18  2:21     ` /usr/sbin/mke2fs: error in loading shared libraries J. Hart
  1 sibling, 0 replies; 12+ messages in thread
From: T. Daniel Crawford @ 2001-03-17 14:25 UTC (permalink / raw)
  To: axp-list

On Sat, 17 Mar 2001, Alan P. Kennedy, Sr wrote:

> >>>>> "T" == T Daniel Crawford <crawdad@vt.edu> writes:
>
>  T> I find this bothersome, to be frank. I can understand the need for
>  T> safety in the driver, but the performance I observed was pitiful.
>  T> Since many of us purchase alpha's for fast, fast, fast
>  T> calculations, this kind of problem strikes me as a serious
>  T> problem.
>
> This has been a most interesting thread. I would concur with the above
> statement. Could you please post your patch for qlogic driver. I would
> like to give it a try here.
>
> Thanks
>

The change to the driver is so trivial it can't even be classified as
interesting.:)

In /usr/src/linux/drivers/scsi/qlogicisp.c, change:

#define USE_NVRAM_DEFAULTS      0

to:

#define USE_NVRAM_DEFAULTS      1

Also, here is a write-only I/O test program that does nothing but write PI
in an 8k buffer to a file to fill up a 2.4 GB file.  There is an
fdatasunc() call at the end so that the timings will not include buffering.

----------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <math.h>

int main(int argc, char *argv[])
{
  int i;
  int fd;
  double *junk;

  fd = open("BIGFILE", O_WRONLY|O_CREAT, 0644);

  junk = (double *) malloc(1024*sizeof(double));
  for(i=0; i < 1024; i++) junk[i] = acos(-1.0);

  /* This should write out 2.4 GB of data to BIGFILE */
  for(i=0; i < 300000; i++)
      write(fd, (char *) junk, 1024*sizeof(double));

  fdatasync(fd);
  close(fd);

  exit(0);
}
----------------------------------------------------------------------

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




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

* Re: Interesting SCSI Performance Problems
  2001-03-17  6:17 ` Interesting SCSI Performance Problems T. Daniel Crawford
  2001-03-17 13:46   ` Alan P. Kennedy, Sr
@ 2001-03-17 15:24   ` Jay Estabrook
  2001-03-17 15:55     ` T. Daniel Crawford
  1 sibling, 1 reply; 12+ messages in thread
From: Jay Estabrook @ 2001-03-17 15:24 UTC (permalink / raw)
  To: axp-list

On Sat, Mar 17, 2001 at 01:17:22AM -0500, T. Daniel Crawford wrote:
>
> This is good to know, because I was not aware of this naming convention among
> the Qlogic adapters.  However, it's bothersome that the card is identified
> by the Qlogic SCSI driver in the kernel as ISP 1020A.  Either way, of
> course, the card should still provide a 40 MB/s maximum transfer rate.

I suspect you've dismissed the "qlogicisp : new isp1020 revision ID (X)"
message a little too quickly... ;-}

The driver, first written for 1020, has always had a debug printout
when it doesn't recognize the chipset revision as being the original
1020. Looking a little deeper into the source, the following turns up:

#define ISP_CFG0        0x04    /* configuration register #0 */
#define  ISP_CFG0_HWMSK  0x000f /* Hardware revision mask */
#define  ISP_CFG0_1020   0x0001 /* ISP1020 */
#define  ISP_CFG0_1020A  0x0002 /* ISP1020A */
#define  ISP_CFG0_1040   0x0003 /* ISP1040 */
#define  ISP_CFG0_1040A  0x0004 /* ISP1040A */
#define  ISP_CFG0_1040B  0x0005 /* ISP1040B */
#define  ISP_CFG0_1040C  0x0006 /* ISP1040C */

So, for example, if you have an XP-1000 with builtin QLogic controller,
you might see (as I do :-):

	qlogicisp : new isp1020 revision ID (6)

indicating what is really present is a 1040C.

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------




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

* Re: Interesting SCSI Performance Problems
  2001-03-17 15:24   ` Interesting SCSI Performance Problems Jay Estabrook
@ 2001-03-17 15:55     ` T. Daniel Crawford
  0 siblings, 0 replies; 12+ messages in thread
From: T. Daniel Crawford @ 2001-03-17 15:55 UTC (permalink / raw)
  To: axp-list

On Sat, 17 Mar 2001, Jay Estabrook wrote:

> On Sat, Mar 17, 2001 at 01:17:22AM -0500, T. Daniel Crawford wrote:
> >
> > This is good to know, because I was not aware of this naming convention among
> > the Qlogic adapters.  However, it's bothersome that the card is identified
> > by the Qlogic SCSI driver in the kernel as ISP 1020A.  Either way, of
> > course, the card should still provide a 40 MB/s maximum transfer rate.
>
> I suspect you've dismissed the "qlogicisp : new isp1020 revision ID (X)"
> message a little too quickly... ;-}
>
> The driver, first written for 1020, has always had a debug printout
> when it doesn't recognize the chipset revision as being the original
> 1020. Looking a little deeper into the source, the following turns up:
>
> #define ISP_CFG0        0x04    /* configuration register #0 */
> #define  ISP_CFG0_HWMSK  0x000f /* Hardware revision mask */
> #define  ISP_CFG0_1020   0x0001 /* ISP1020 */
> #define  ISP_CFG0_1020A  0x0002 /* ISP1020A */
> #define  ISP_CFG0_1040   0x0003 /* ISP1040 */
> #define  ISP_CFG0_1040A  0x0004 /* ISP1040A */
> #define  ISP_CFG0_1040B  0x0005 /* ISP1040B */
> #define  ISP_CFG0_1040C  0x0006 /* ISP1040C */
>
> So, for example, if you have an XP-1000 with builtin QLogic controller,
> you might see (as I do :-):
>
> 	qlogicisp : new isp1020 revision ID (6)
>
> indicating what is really present is a 1040C.
>
> --Jay++
>

I very happily stand correct here.  My card is indeed a 1040C = 1020
revision 6, according to the logs.  Very good to know.  What does the "C"
part indicate?  I checked the Qlogic site, but found nothing.

-Daniel

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




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

* /usr/sbin/mke2fs: error in loading shared libraries
  2001-03-17 13:46   ` Alan P. Kennedy, Sr
  2001-03-17 14:25     ` T. Daniel Crawford
@ 2001-03-18  2:21     ` J. Hart
  2001-03-18  5:10       ` Alexey Chupakhin
  2001-03-18 17:12       ` Michal Jaegermann
  1 sibling, 2 replies; 12+ messages in thread
From: J. Hart @ 2001-03-18  2:21 UTC (permalink / raw)
  To: axp-list

Greetings....:-)

I am trying to install RedHat 6.2 on an AlphaPC164 I was given recently.  My cd
is located at dka200.  I boot the install process from the Redhat alpha linux cd
as follows :

boot dka200 -file  kernels/generic.gz -flags root=/dev/scd0

I get the following messages:

-----------------------------------------------------------------------------------------------
checking for writeable /tmp... no (probably a CD rooted install)

/usr/sbin/mke2fs: error in loading shared libraries: libext2fs.so.2: cannot read
file data: No such file or directory
creating 300k of ramdisk space... done
VFS: Can't find an ext2 file system on dev ramdisk(1,1).
mounting /tmp from ramdisk... failed

I can't recover from this.

-----------------------------------------------------------------------------------------------

I checked the cd on my linux box, and found that library at :

/mnt/cdrom/RedHat/instimage/lib/libext2fs.so.2


any ideas on what's going on ?

With Thanks....:-)

     J. Hart
     Network Tierra Project (Alife)
     ATR ISD Labs
     Kyoto, Japan




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

* Re: /usr/sbin/mke2fs: error in loading shared libraries
  2001-03-18  2:21     ` /usr/sbin/mke2fs: error in loading shared libraries J. Hart
@ 2001-03-18  5:10       ` Alexey Chupakhin
  2001-03-18 11:09         ` J. Hart
  2001-03-18 17:12       ` Michal Jaegermann
  1 sibling, 1 reply; 12+ messages in thread
From: Alexey Chupakhin @ 2001-03-18  5:10 UTC (permalink / raw)
  To: axp-list

Hello!
It seems, your file is corrupt.
Have you tried to simple read this file?

----- Original Message -----
From: J. Hart <jhart@isd.atr.co.jp>
To: <axp-list@redhat.com>
Sent: Sunday, March 18, 2001 5:21 AM
Subject: /usr/sbin/mke2fs: error in loading shared libraries


> Greetings....:-)
>
> I am trying to install RedHat 6.2 on an AlphaPC164 I was given recently.
My cd
> is located at dka200.  I boot the install process from the Redhat alpha
linux cd
> as follows :
>
> boot dka200 -file  kernels/generic.gz -flags root=/dev/scd0
>
> I get the following messages:
>
> --------------------------------------------------------------------------
---------------------
> checking for writeable /tmp... no (probably a CD rooted install)
>
> /usr/sbin/mke2fs: error in loading shared libraries: libext2fs.so.2:
cannot read
> file data: No such file or directory
> creating 300k of ramdisk space... done
> VFS: Can't find an ext2 file system on dev ramdisk(1,1).
> mounting /tmp from ramdisk... failed
>
> I can't recover from this.
>
> --------------------------------------------------------------------------
---------------------
>
> I checked the cd on my linux box, and found that library at :
>
> /mnt/cdrom/RedHat/instimage/lib/libext2fs.so.2
>
>
> any ideas on what's going on ?
>
> With Thanks....:-)
>
>      J. Hart
>      Network Tierra Project (Alife)
>      ATR ISD Labs
>      Kyoto, Japan
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: /usr/sbin/mke2fs: error in loading shared libraries
  2001-03-18  5:10       ` Alexey Chupakhin
@ 2001-03-18 11:09         ` J. Hart
  0 siblings, 0 replies; 12+ messages in thread
From: J. Hart @ 2001-03-18 11:09 UTC (permalink / raw)
  To: axp-list

Alexey Chupakhin wrote:
> 
> Hello!
> It seems, your file is corrupt.
> Have you tried to simple read this file?

Thanks very much for your very kind reply...:-)

     I have read the library file on the cdrom, and compared the structure with
the corresponding file on another working but Intel based Redhat 6.2 system. 
The file does not appear to be corrupt.  The error message also says that mke2fs
cannot find the shared library, which would account for the rest of the errors.

J. Hart
Network Tierra project (Alife)
ATR ISD Labs
Kyoto, Japan




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

* Re: /usr/sbin/mke2fs: error in loading shared libraries
  2001-03-18  2:21     ` /usr/sbin/mke2fs: error in loading shared libraries J. Hart
  2001-03-18  5:10       ` Alexey Chupakhin
@ 2001-03-18 17:12       ` Michal Jaegermann
  1 sibling, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 2001-03-18 17:12 UTC (permalink / raw)
  To: axp-list

On Sun, Mar 18, 2001 at 11:21:58AM +0900, J. Hart wrote:
> 
> I am trying to install RedHat 6.2 on an AlphaPC164 I was given
> recently.  My cd is located at dka200.  I boot the install process
> from the Redhat alpha linux cd as follows :
> 
> boot dka200 -file  kernels/generic.gz -flags root=/dev/scd0

....

First try to boot

  b dka200 -fl 0

or 

  b dka200 -fi kernels/generic.gz -fl 0

If this still gives you troubles then try the following instead:
  - make a floppy from images/ramdisk.img on this CD (write this "raw"
    to a floppy, i.e. no file system)
  - boot as follows:

  b dka200 -fi kernels/generic.gz -fl "root=/dev/fd0 load_ramdisk=1"

You will be asked, hopefuly, for a ramdisk floppy at some moment.

If X is a problem then use '-fl "root=/dev/fd0 load_ramdisk=1 text"'
instead.  If none of the above works then make a boot floppy from
an image in images/ directory on CD and boot:

   b dva0 -fl 0

with CD still in a drive (some boards are reluctant to boot from CD).

One of these should work unless your CD is really corrupted.

  Michal




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

end of thread, other threads:[~2001-03-18 17:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-16 22:36 Interesting SCSI Performance Problems KirkE
2001-03-16 22:57 ` Interesting SCSI Performance Problems - discussions where ? Andrei A. Dergatchev
2001-03-17  6:17 ` Interesting SCSI Performance Problems T. Daniel Crawford
2001-03-17 13:46   ` Alan P. Kennedy, Sr
2001-03-17 14:25     ` T. Daniel Crawford
2001-03-18  2:21     ` /usr/sbin/mke2fs: error in loading shared libraries J. Hart
2001-03-18  5:10       ` Alexey Chupakhin
2001-03-18 11:09         ` J. Hart
2001-03-18 17:12       ` Michal Jaegermann
2001-03-17 15:24   ` Interesting SCSI Performance Problems Jay Estabrook
2001-03-17 15:55     ` T. Daniel Crawford
  -- strict thread matches above, loose matches on Subject: below --
2001-03-16 23:11 Interesting SCSI Performance Problems - discussions where ? KirkE

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