Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 5.1 on UDB - not a success
@ 1998-06-14  2:40 Thompson Freeman
  1998-06-15  1:35 ` Mark Conway Wirt
  1998-06-15 14:38 ` 5.1 on UDB - not a success and kernel mods Andrew Smith
  0 siblings, 2 replies; 4+ messages in thread
From: Thompson Freeman @ 1998-06-14  2:40 UTC (permalink / raw)
  To: axp-list


I have a UDB currently running 4.2 which I want to bring up to 5.1 for
learning purposes. Frankly I'm not having success, so I'm wondering if
this list has pointers or ideas (I did look in the archives, but didn't
see anything) with respect to getting going here. 

The difficulty appears to lie in the image for the ram disk, taken both
from the distribution cd and from the Red Hat ftp site. On three different
disks, three different machines, and under both Linux and DOS, I have not
been able to create a working disk. Ok. I haven't attempted to create each
floppy with each of the three machines, but there is significant overlap,
so I'm quite suspicious of the image file, not the disk drives or the
floppys themselves. I can get the kernel image to load, but it blows up
asking for the ramdisk.

I'd rather appreciate tips, thoughts, ideas, pointers, or flat out telling
me how to get this thing to update. (I'll be hasseling RH over the web,
but it is a weekend... 8-))

(I haven't had any luck with getting milo on floppy either, but I seem to
be able to run with the milo currently supporting 4.2 8-)

Thanks in advance.

---------------------------------------------------
Thompson Freeman

Free Wisdom!! Bring your own bucket and shovel!
---------------------------------------------------


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

* Re: 5.1 on UDB - not a success
  1998-06-14  2:40 5.1 on UDB - not a success Thompson Freeman
@ 1998-06-15  1:35 ` Mark Conway Wirt
  1998-06-16 14:38   ` Thompson Freeman
  1998-06-15 14:38 ` 5.1 on UDB - not a success and kernel mods Andrew Smith
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Conway Wirt @ 1998-06-15  1:35 UTC (permalink / raw)
  To: Thompson Freeman; +Cc: axp-list

On Sat, 13 Jun 1998, Thompson Freeman wrote:

> 
> The difficulty appears to lie in the image for the ram disk, taken both
> from the distribution cd and from the Red Hat ftp site. On three different
> disks, three different machines, and under both Linux and DOS, I have not
> been able to create a working disk. Ok. I haven't attempted to create each
> floppy with each of the three machines, but there is significant overlap,
> so I'm quite suspicious of the image file, not the disk drives or the
> floppys themselves. I can get the kernel image to load, but it blows up
> asking for the ramdisk.
> 

I upgraded my UDB to 5.1 using the disk image on redhat's FTP site --
worked fine.  Created it under linux, ie:

                   dd if=ramdisk.img of=/dev/fd0

so I'm pretty sure this image in OK.  to make sure the transfer worked,
this is the MD5 checksum of the image I have:

             4cf6e4418e28b8173b88b4b6c6894480  ramdisk.img

--don't have the CD, so I can't comment on it.

--Mark


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

* Re: 5.1 on UDB - not a success and kernel mods
  1998-06-14  2:40 5.1 on UDB - not a success Thompson Freeman
  1998-06-15  1:35 ` Mark Conway Wirt
@ 1998-06-15 14:38 ` Andrew Smith
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Smith @ 1998-06-15 14:38 UTC (permalink / raw)
  To: axp-list

Hello, I too was haveing much truoble. I have installed linux an many
machines.  I still don't know what I was doing wrong but Paul Brown sent me
this. I folowed
and it worked.  a few things are wrong on it like paths to milo on the
cdrom and nameing your milo image milo. But these things are pretty straght
forward

I my self spent the greater part of the weekend trying to get IP
masqarading to work. I compiled a kenel with all the firewalling IP masq,
accounting, etc. made  module made modues_install and when i issue

/sbin/ipfwadm -P tcp -F -a masq -S 10.0.0.0/255.0.0.0 -D 0/0

I recive ipfwadm:  setsocket failed: Invalid argument.


It looks as if there is some problem with kernel modules. any help would be
much  liked!




                    To Install RedHat Linux 5.1 on a UDB
                     ====================================

A. PRE-INSTALLATION SETUP
   ----------------------

1.  Get 5 MS-DOS formatted 3.5" (1.44MB) diskettes
2.  Label diskette #1: UDB/Milo Boot Disk
3.  Label diskette #2: UDB/Noname Boot Disk
4.  Label diskette #3: UDB/Noname Root Disk
5.  Label diskette #4: UDB Firmware Update 4.3.3
6.  Label diskette #5: UDB Failsafe Loader
7.  Load the RedHat Linux 5.1 CD-ROM into another Linux box that has a CD
    Drive.
8.  mount -r -t iso9660 /dev/cdrom /mnt/cdrom
9.  Insert diskette #1 into the diskette drive of the other Linux box that
    the CD is mounted on.
10. mount -t msdos /dev/fd0 /mnt/floppy
11. cp /mnt/cdrom/milo/arc/linload.exe /mnt/floppy
12. cp /mnt/cdrom/milo/noname-udb/milo /mnt/floppy
13. umount /mnt/floppy
14. Remove diskette #1 from the drive.
15. Insert diskette #2 into the same drive.
16. cd /mnt/cdrom/images
17. dd if=noname.img of=/dev/fd0 bs=1440k
18. Remove diskette #2 from the drive.
19. Insert diskette #3 into the same drive.
20. dd if=ramdisk.img of=/dev/fd0 bs=1440k
21. Remove diskette #3 from the drive.
22. Insert diskette #4 into the same drive.
23. umount /mnt/cdrom
24. Remove the RedHat Linux 5.1 CD from the drive.
25. cd /tmp
26. mkdir udb
27. cd udb
28. Dial into your ISP
29. ftp ftp.digital.com
30.     ftp> cd /pub/Digital/Alpha/firmware/interim/multia
31.     ftp> get readme.txt
32.     ftp> get udbfs138.img
33.     ftp> get udbupd38.img
34.     ftp> quit
35. Disconnect from the Internet
36. dd if=udbupd38.img of=/dev/fd0h1440 bs=10240
37. Remove diskette #4 from the drive.
38. Insert diskette #5 into the same drive.
39. dd if=udbfsl38.img of=/dev/fd0h1440 bs=10240
40. Remove diskette #5 from the drive.
41. Now read the readme.txt file you just downloaded and skip to section:
       Firmware Install/Update
42. Bring up your UDB for the first time and follow the directions in the
    readme.txt file.
43. Make sure you are now running version 4.3.3 of the firmware.  That is
    the latest and greatest.
44. Turn off your UDB.
45. Make sure a CD-ROM drive is attached to your UDB
46. Insert the RedHat Linux 4.2 CD into the CD-ROM drive.
47. Turn on your UDB and the CD-ROM drive.
48. You will come to a "Boot Menu"
49. Select "Supplementary Menu..."
50. Select "Setup the System..."
51. Select "Manage Boot Selection Menu..."
52. Select "Add a Boot Selection..."
53. Select "Floppy Disk 0" if that option is there.
    If not there then,
    53.1. Select "New System Partition"
    53.2. Select "Floppy Disk"
    53.3. The drive number to select is: 0
54. At the prompt: "Enter the OS loader directory and name:", type:
    \linload.exe
55. Respond "yes" to the OS being on the same partition as the OS loader.
56. Enter "\" as the OS root directory.
57. Enter "Linux" as the name for the boot partition.
58. Select "No" when  asked if we want the debugger initialized at boot
    time.
59. We should now be back to the "Boot Selection menu"
60. Select "Change a Boot Selection"
61. Select "Linux"
62. Using the up and down arrow keys to move, RETURN to select, and ESC to
    leave, make the setting look like:

    LOADIDENTIFIER=Linux
    SYSTEMPARTITION=multi(0)disk(0)fdisk(0)
    OSLOADER=multi(0)disk(0)fdisk(0)\linload.exe
    OSLOADPARTITION=multi(0)disk(0)fdisk(0)
    OSLOADFILENAME=\milo
    OSLOADOPTIONS=

63. When finished, press ESC to back out to the "Supplementary Menu"
64. Save the changes.
63. Press ESC to back out to the "Boot Menu"
64. Insert diskette #1 into the UDB's diskette drive.
65. Select "Boot Linux"
66. The MILO> prompt will eventually appear.
67. Remove diskette #1 from the drive.
68. Insert diskette #2 into the UDB's diskette drive.
69. At the MILO> prompt, type:

    boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1

70. Press RETURN and the system will begin the boot process.
71. After a short while, the system will prompt for diskette #3.
72. Remove diskette #2 from the drive.
73. Insert diskette #3 into the UDB's diskette drive and press RETURN.
74. In about a minute you should come up to:

    "Welcome to RedHat"

B. INSTALLATION SETUP:
   ------------------

75. Pull out the RedHat Alpha/Linux 4.2 Users Manual and use it to help
    you load the system.  The sore spot here is partitioning the drive.
    If you don't know the number of heads, cylinders, and sectors for your
    SCSI drive, you will need to figure them out or you will get nowhere.
    At the end of this document there is a small C program that needs only
    the number of bytes of the formatted SCSI disk and it will give the
    user the head/cylinder/sector counts needed.  Once you are past the
    disk partitioning stage, the rest of the installation is magically
    simple.  Bear in mind what your intended use is for the machine or,
    like me, you will load a lot of superfluous rubbish you will never use.

    I do suggest a disk partitioning of at least the following:

    Partition   Device    Size in MBs      Filesystem Type       Mount
    ---------  ---------  -----------  -----------------------  -------
        1      /dev/sda1  2 MB         DOS 16-bit <32M (id=4)    /dosc
        2      /dev/sda2  Same as RAM  Linux Swap      (id=82)
        3      /dev/sda3  > 50 MB      Linux native    (id=83)   /
        4      /dev/sda4  Remainder    Linux native    (id=83)   /usr

    The reason for the first partition is to have linload.exe and milo on
    it's own partition.  I do this in leau of putting linload.exe and milo
    into flashROM.  You mess up flashROM, you will have a nice UDB paper
    weight.

    NOTE: Do NOT set any partition as bootable.  This is not needed due to
          the way ARC works with linload.exe and milo.

76. When the loading is complete and you can login to your new UDB as root.
77. Insert diskette #1 into the UDB's diskette drive.
78. dd if=/dev/fd0 of=/dev/sda1 bs=1440k
    - This copies linload.exe and milo to your 2 MB DOS partition.  It will
      also format 1,440k worth of the space for you, killing two bird with
      one stone.
79. Remove diskette #1 from the drive.
80. Store all 5 diskettes in a safe place.
81. Edit /etc/fstab and insert the following lines at the end of the file:

    /dev/sda1  /dos         msdos    defaults  1  2
    /dev/fd0   /mnt/floppy  msdos    noauto    1  2
    /dev/scd0  /mnt/cdrom   iso9660  noauto    1  2

    The file should already contain some if not all of the following:

    /dev/sda2  swap         swap     defaults  0  0
    /dev/sda3  /            ext2     defaults  1  1
    /dev/sda4  /usr         ext2     defaults  1  2

82. Save and exit the file, /etc/fstab.
83. Shutdown the UDB: shutdown -h now

C. POST-INSTALLATION SETUP:
   -----------------------

84. Start the UDB.
85. You will come to a "Boot Menu"
86. Select "Supplementary Menu..."
87. Select "Edit Environment Variables..."
88. Using the up and down arrow keys to move, RETURN to select, and ESC to
    leave, make the setting look like:

    CONSOLEIN=multi()key()keyboard()console()
    CONSOLEOUT=multi()video()monitor()console()
    FWSEARCHPATH=scsi(0)disk(0)rdisk(0)paritition(1)
    TIMEZONE=EST5EDT
    A:=multi(0)disk(0)fdisk(0)
    FLOPPY=1
    FLOPPY2=N
    KEYBOARDTYPE=0
    AUTOLOAD=YES
    COUNTDOWN=15
    LANG_ID=1
    ENABLEPCIPARITYCHECKING=FALSE
    LASTFIRMWAREREVISION=4.33
    DISABLEPCIPARITYCHECKING=FALSE
    OSLOADFILENAMENONAME.IMG=noname.img

    Some of these setting will vary depending on your setup.  TIMEZONE will
    change for obvious reasons.  You may have a second floppy drive so
    FLOPPY2 may be set to Y.  I like my COUNTDOWN to AUTOLOAD to be 15
    seconds.  You may want it set to some other delay or you may just turn
    AUTOLOAD to NO.  LANG_ID=1 means English.  This may not be good for you
    so . . . change it.  The last 2 entries, DISABLEPCIPARITYCHECKING and
    OSLOADFILENAMENONAME.IMG, may not even show up on your list.  If then
    don't, then don't mess with them.

89. When finished, press ESC to back out to the "Supplementary Menu"
90. Select "Manage Boot Selection menu..."
91. Select "Change A Boot Selection..."
92. Select "Linux"
93. Using the up and down arrow keys to move, RETURN to select, and ESC to
    leave, make the setting look like:

    LOADIDENTIFIER=Linux
    SYSTEMPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
    OSLOADER=scsi(0)disk(0)rdisk(0)partition(1)\linload.exe
    OSLOADPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
    OSLOADFILENAME=\milo
    OSLOADOPTIONS= boot sda3:vmlinux.gz root /dev/sda3

94. When finished, press ESC to back out to the "Boot Selections Menu..."
95. Select "Verify Boot Selections"
    - If the screen winks out and back on and does nothing further then
      your setup has been checked and verified.
    - If there is a report of errors then go back to the two settings areas
      and try again until this option only flashes at you signifying all is
      well.
96. When the boot selection has been verified successfully, press ESC back
    to the "Setup Menu"
97. Select "Supplementary Menu and Save Changes..."
    - Make sure you save changes only when all is well and don't save
      changes if things went haywire!
98. At the Supplementary Menu, Select "Boot Menu..."
99. If all went well, at the Boot Menu, select "Boot Linux"
100. And now the fun begins . . . . :-)

-- CUT HERE --

 #include <stdio.h>

/******************************************************************************
 *
 * Source Code: calc_hcs.c
 *
 * compile/link statement: gcc -o calc_hcs calc_hcs.c
 *
 * Description: This program will calculate the heads/cylinders/sectors on
 *              a Linux SCSI drive.  Simply Change the define statement
 *              below, DISK_SIZE, specifying the size, in bytes, of the
 *              formatted SCSI drive, compile it, run it, and your done!
 *              Future version will need to be updated based on the info
 *              given in the SCSI HOWTO and the Large Disks mini-HOWTO.
 *
 * History:
 *
 * Who          Date    Comment
 * -----------  ------  ---------------------------------------------------
 * Paul Brown   970511  Initial version 0.1b
 *
 ******************************************************************************/

/*
 * Change this setting when you wish to calculate a new drive.  It should be
 * the size of the formatted drive in bytes.
 */
#define DISK_SIZE (long) 345090000           /* Maxtor 7345S - 342 MB */

/*
 * Standard setting - DO NOT TOUCH
 */
#define BYTES_PER_SECTOR (long) 512

/*
 * These settings are right out of the SCSI HOWTO.  These are the max settings
 * Linux will understand for SCSI drives.  With these settings you cannot have
 * a SCSI drive more than 8 formatted Gigabytes in size.  Bummer!
 */
#define MAX_HEADS     (long)  256
#define MAX_CYLINDERS (long) 1024
#define MAX_SECTORS   (long)   63

main() {
   long disk_size;
   long cur_guess;
   long heads;
   long cylinders;
   long sectors;
   long best_heads;
   long best_cylinders = (long) 0;
   long best_sectors = (long) 0;
   long best_guess = (long) 0;

   best_guess = disk_size = DISK_SIZE / BYTES_PER_SECTOR;

   for (heads = (long) 1; heads <= MAX_HEADS; heads++) {
      for (cylinders = (long) 1; cylinders <= MAX_CYLINDERS; cylinders++) {
         for (sectors = (long) 1; sectors <= MAX_SECTORS; sectors++) {
            cur_guess = disk_size - (heads * cylinders * sectors);

            if (cur_guess < (long) 0) break;

            if (cur_guess == (long) 0)
               printf("DIRECT HIT -> %ld/%ld/%ld (heads/cylinders/sectors)\n",
                       heads, cylinders, sectors);

            if (cur_guess < best_guess) {
               best_heads     = heads;
               best_cylinders = cylinders;
               best_sectors   = sectors;
               best_guess     = cur_guess;
            }
         }
      }
   }
/*
 * I pick the first direct hit to be the best guess because I have a preference
 * for the lowest number of heads.  Just a quirk of mine . . . . ;->
 */
   printf("BEST GUESS -> %ld/%ld/%ld (heads/cylinders/sectors)\n",
           best_heads, best_cylinders, best_sectors);

   exit(0);
}

-- CUT HERE --

[Paul B. Brown, Copyright 1998]


>I have a UDB currently running 4.2 which I want to bring up to 5.1 for
>learning purposes. Frankly I'm not having success, so I'm wondering if
>this list has pointers or ideas (I did look in the archives, but didn't
>see anything) with respect to getting going here.
>
>The difficulty appears to lie in the image for the ram disk, taken both
>from the distribution cd and from the Red Hat ftp site. On three different
>disks, three different machines, and under both Linux and DOS, I have not
>been able to create a working disk. Ok. I haven't attempted to create each
>floppy with each of the three machines, but there is significant overlap,
>so I'm quite suspicious of the image file, not the disk drives or the
>floppys themselves. I can get the kernel image to load, but it blows up
>asking for the ramdisk.
>
>I'd rather appreciate tips, thoughts, ideas, pointers, or flat out telling
>me how to get this thing to update. (I'll be hasseling RH over the web,
>but it is a weekend... 8-))
>
>(I haven't had any luck with getting milo on floppy either, but I seem to
>be able to run with the milo currently supporting 4.2 8-)
>
>Thanks in advance.
>
>---------------------------------------------------
>Thompson Freeman
>
>Free Wisdom!! Bring your own bucket and shovel!
>---------------------------------------------------
>
>--
>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


------------------------------------------------------------------------------
Andrew Smith			    			asmith@eriver.com
Eagle River Interactive
Developer				 		212 358 5431
------------------------------------------------------------------------------





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

* Re: 5.1 on UDB - not a success
  1998-06-15  1:35 ` Mark Conway Wirt
@ 1998-06-16 14:38   ` Thompson Freeman
  0 siblings, 0 replies; 4+ messages in thread
From: Thompson Freeman @ 1998-06-16 14:38 UTC (permalink / raw)
  To: axp-list


Well, I have to report that I was able to get 5.1 loaded on the UDB, and I
was able to do so without any floppys. I booted from the old MILO with
   "boot -t iso9660 scd0:/kernels/noname.gz root=/dev/scd0 r/o"
which started the whole install process. (Note: I had tried this before,
without success: perhaps I didn't hold my tongue correctly? 8-)). While I
was successful, I didn't get the job done in the manner I expected.

This takes the pressure off making floppys which work, although I would
still like to know why I couldn't make workable boot floppys. The image
file I worked with give the same MD5 checksum as Mark got, only his effort
worked and mine didn't. Most perplexing as I utilized multiple drives in
the creation efforts and multiple OS's and multiple floppys.

Out of curiosity, once you create a MILO disk or the ramdisk, shouldn't
you be able to mount these disks and get a directory? Milo is on a msdos
format disk (I think that is what I read) and the ramdisk I would guess is
a ext2. Am I correct?

In any event, my thanks to the list for their assistance. Things didn't
work out quite as expected, but I did benifit from your assistance.



On Sun, 14 Jun 1998, Mark Conway Wirt wrote:

> On Sat, 13 Jun 1998, Thompson Freeman wrote:
> 
> > 
> > The difficulty appears to lie in the image for the ram disk, taken both
> > from the distribution cd and from the Red Hat ftp site. On three different
> > disks, three different machines, and under both Linux and DOS, I have not
> > been able to create a working disk. Ok. I haven't attempted to create each
> > floppy with each of the three machines, but there is significant overlap,
> > so I'm quite suspicious of the image file, not the disk drives or the
> > floppys themselves. I can get the kernel image to load, but it blows up
> > asking for the ramdisk.
> > 
> 
> I upgraded my UDB to 5.1 using the disk image on redhat's FTP site --
> worked fine.  Created it under linux, ie:
> 
>                    dd if=ramdisk.img of=/dev/fd0
> 
> so I'm pretty sure this image in OK.  to make sure the transfer worked,
> this is the MD5 checksum of the image I have:
> 
>              4cf6e4418e28b8173b88b4b6c6894480  ramdisk.img
> 
> --don't have the CD, so I can't comment on it.
> 
> --Mark
> 
> -- 
> 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
> 

---------------------------------------------------
Thompson Freeman

Free Wisdom!! Bring your own bucket and shovel!
---------------------------------------------------


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

end of thread, other threads:[~1998-06-16 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-14  2:40 5.1 on UDB - not a success Thompson Freeman
1998-06-15  1:35 ` Mark Conway Wirt
1998-06-16 14:38   ` Thompson Freeman
1998-06-15 14:38 ` 5.1 on UDB - not a success and kernel mods Andrew Smith

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