* aboot problems with AlphaStation 200
@ 1998-09-15 19:30 Rob Rupprath
1998-09-15 20:06 ` Jeff Noxon
1998-09-15 20:35 ` B. James Phillippe
0 siblings, 2 replies; 5+ messages in thread
From: Rob Rupprath @ 1998-09-15 19:30 UTC (permalink / raw)
To: axp-list
Hello,
I recently purchased an AlphaStation 200 4/233 and installed RedHat 5.1 on
it. This comes with kernel 2.0.24, but I need some features not compiled
into the default kernel so I compiled my own (2.0.24 + RedHat Patches). I
have been using the Avanti-s boot disk. My drive configuration is as follows:
/dev/sda1 (Approx 5MB) No Mount Point, recoommended by aboot
/dev/sda2 (Approx 1.85GB) /
/dev/sda3 (Approx 128MB) swap
Now when I try to install the new kernel by doing a "swriteboot /dev/sda
boot1x vmlinux.gz" it suceeds, but the machine will never boot again, not
even from the floppy (Unable to mount rootfs). I suppose I have the syntax
wrong somewhere.
I then reinstalled and tried the same thing, but using the floppy method.
It boots, and brings me to "Now starting the kernel", but never gets any
further. I do have the SRM boot option enabled in my kernel config.
Are 2.0.x kernels not good for alpha systems? In reading the archives
many people are running 2.1.x If anyone has any helpful answers on the hd
boot issue please let me know. I have no problem installing the machine
again if necessary. I also get a lot of segmentation faults when doing
simple things like "man ls". In my messages file there are a lot of
"unaligned trap" errors. Is this normal?
Thanks,
Rob
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: aboot problems with AlphaStation 200
@ 1998-09-15 19:42 Mark Dohojda
0 siblings, 0 replies; 5+ messages in thread
From: Mark Dohojda @ 1998-09-15 19:42 UTC (permalink / raw)
To: axp-list
There is a patch available from RedHat that will fix your man page files
error.
Its located in the product errata section of the web page.
> -----Original Message-----
> From: Rob Rupprath [SMTP:rob@omega.net]
> Sent: Tuesday, September 15, 1998 12:31 PM
> To: axp-list@redhat.com
> Subject: aboot problems with AlphaStation 200
>
>
> Hello,
>
> I recently purchased an AlphaStation 200 4/233 and installed
> RedHat 5.1 on
> it. This comes with kernel 2.0.24, but I need some features not
> compiled
> into the default kernel so I compiled my own (2.0.24 + RedHat
> Patches). I
> have been using the Avanti-s boot disk. My drive configuration is as
> follows:
>
> /dev/sda1 (Approx 5MB) No Mount Point, recoommended by
> aboot
> /dev/sda2 (Approx 1.85GB) /
> /dev/sda3 (Approx 128MB) swap
>
> Now when I try to install the new kernel by doing a "swriteboot
> /dev/sda
> boot1x vmlinux.gz" it suceeds, but the machine will never boot again,
> not
> even from the floppy (Unable to mount rootfs). I suppose I have the
> syntax
> wrong somewhere.
>
> I then reinstalled and tried the same thing, but using the
> floppy method.
> It boots, and brings me to "Now starting the kernel", but never gets
> any
> further. I do have the SRM boot option enabled in my kernel config.
>
> Are 2.0.x kernels not good for alpha systems? In reading the
> archives
> many people are running 2.1.x If anyone has any helpful answers on the
> hd
> boot issue please let me know. I have no problem installing the
> machine
> again if necessary. I also get a lot of segmentation faults when
> doing
> simple things like "man ls". In my messages file there are a lot of
> "unaligned trap" errors. Is this normal?
>
> Thanks,
> Rob
>
> --
> 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: aboot problems with AlphaStation 200
1998-09-15 19:30 aboot problems with AlphaStation 200 Rob Rupprath
@ 1998-09-15 20:06 ` Jeff Noxon
1998-09-15 20:35 ` B. James Phillippe
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Noxon @ 1998-09-15 20:06 UTC (permalink / raw)
To: axp-list
On Tue, Sep 15, 1998 at 02:30:55PM -0500, Rob Rupprath wrote:
> Now when I try to install the new kernel by doing a "swriteboot /dev/sda
> boot1x vmlinux.gz" it suceeds, but the machine will never boot again, not
> even from the floppy (Unable to mount rootfs). I suppose I have the syntax
> wrong somewhere.
>
> I then reinstalled and tried the same thing, but using the floppy method.
> It boots, and brings me to "Now starting the kernel", but never gets any
> further. I do have the SRM boot option enabled in my kernel config.
>
> Are 2.0.x kernels not good for alpha systems? In reading the archives
> many people are running 2.1.x If anyone has any helpful answers on the hd
> boot issue please let me know. I have no problem installing the machine
> again if necessary. I also get a lot of segmentation faults when doing
> simple things like "man ls". In my messages file there are a lot of
> "unaligned trap" errors. Is this normal?
I run Debian (and 2.1.119), so I may be a bit off, but here goes:
I'm guessing that you're using fdisk or cfdisk to partition your disk.
You can't use aboot to boot from the hard drive if you do that. You must
use OSF/1 style partitions, which is a big pain in the ass. The problem
is that SRM stores its pointer to the bootloader right on top of where
your partition table is. If you run swriteboot on an fdisk'd disk,
you'll hose up the partition table.
I'm booting my box with aboot via bootp. I also tried using it on a second
hard disk, which works fine.
If you want to try it, use sdisklabel to partition your drive.
Good luck,
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: aboot problems with AlphaStation 200
1998-09-15 19:30 aboot problems with AlphaStation 200 Rob Rupprath
1998-09-15 20:06 ` Jeff Noxon
@ 1998-09-15 20:35 ` B. James Phillippe
1998-09-15 21:08 ` Maciej W. Rozycki
1 sibling, 1 reply; 5+ messages in thread
From: B. James Phillippe @ 1998-09-15 20:35 UTC (permalink / raw)
To: axp-list
On Tue, 15 Sep 1998, Rob Rupprath wrote:
>
> Hello,
>
> I recently purchased an AlphaStation 200 4/233 and installed RedHat 5.1
> on it. This comes with kernel 2.0.24, but I need some features not
You mean 2.0.34. ?
> compiled into the default kernel so I compiled my own (2.0.24 + RedHat
> Patches). I have been using the Avanti-s boot disk. My drive
> configuration is as follows:
>
> /dev/sda1 (Approx 5MB) No Mount Point, recoommended by aboot
> /dev/sda2 (Approx 1.85GB) /
> /dev/sda3 (Approx 128MB) swap
One comment. This partitioning scheme should work, but there is an
unnecessary step: the reserved space at the beginning of the disk does not
need to be a partition. In other words, if you simply start your first
partition at an offset (other than zero :) from the beginning of the drive,
this is sufficient. This way you do not need any "useless partitions".
The only requirement is that the empty space you reserve is enough for
aboot (about 1-2MB is typical). Here is what my disklabel looks like:
% fdisk
Using /dev/sda as default device!
Command (m for help): b
BSD disklabel command (m for help): p
4 partitions:
# size offset fstype [fsize bsize cpg]
a: 131936 8246 swap # (Cyl. 2 - 17)
b: 1030750 140182 ext2 # (Cyl. 18 - 142)
c: 4510562 1170932 ext2 # (Cyl. 143 - 689)
d: 2704688 5681494 ext2 # (Cyl. 690 - 1017)
BSD disklabel command (m for help): q
%
> Now when I try to install the new kernel by doing a "swriteboot /dev/sda
> boot1x vmlinux.gz" it suceeds, but the machine will never boot again, not
> even from the floppy (Unable to mount rootfs). I suppose I have the syntax
> wrong somewhere.
The Alpha does not suffer from the limited boot concept employed by PC's.
In a PC, your boot loader must be very small and is subject to the
restrictions of the BIOS (large disks, etc). Therefore, the boot loader
itself must contain the actual physical offset of the kernel image to load.
This is why we have to reinstall LILO on a PC every time we change the
kernel. This is not required (nor should be done) for Alpha. For the
Alpha (using SRM, as you are), you simply install aboot once. Forever
after, you can stick as many kernels as you want in as many places as you
want (more or less), and simply specify that filename instead at the SRM
prompt.
The command for installing aboot is "swriteboot /dev/sda bootlx". I don't
know what effect this will have on your partition scheme because of the
first partition starting at offset zero. I suspect that it will be okay as
long as you don't ever try to use /dev/sda1.
Next, lets say you build a new kernel. Copy the file
linux/arch/alpha/boot/vmlinux.gz to some location, say,
/boot/new-kernel.gz. Now you can reboot, and at the >>> SRM prompt, you
can select it like this:
>>> boot dka0 -file 2/new-kernel.gz -flags root=/dev/sda2
> Are 2.0.x kernels not good for alpha systems? In reading the archives
> many people are running 2.1.x If anyone has any helpful answers on the hd
> boot issue please let me know. I have no problem installing the machine
You should start with a 2.0 kernel. I would suggest getting the 2.0.35
kernel and applying the alpha patches from gatekeeper.dec.com, I don't
recall the subdirectory (for some reason I always have trouble finding
it...). Pick the "Avanti" kernel type and answer yes to SRM support. The
2.1 kernels are supposed to be much better for Alpha, but unfortunately
I've never gotten one to work, and they sound quite broken in many regards
right now. I'd suggest waiting for a while. When you do go for a 2.1
kernel, you'll want to make sure you have a later version of egcs (1.1 is
out now) and Maciej's patch for aboot.
> again if necessary. I also get a lot of segmentation faults when doing
> simple things like "man ls". In my messages file there are a lot of
> "unaligned trap" errors. Is this normal?
I'd suggest going to RedHat's errata section on the website and finding out
about all of the bugfixes made before you do anything else (there are some
biggies). The man problem is fixed in an update.
After you get your Alpha up and going, drop me a note with your opinion of
the system and satisfaction level, and also what your primary use is (if
you don't mind :)
Hope this helps,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGTI.
http://earth.terran.org/~bryan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: aboot problems with AlphaStation 200
1998-09-15 20:35 ` B. James Phillippe
@ 1998-09-15 21:08 ` Maciej W. Rozycki
0 siblings, 0 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 1998-09-15 21:08 UTC (permalink / raw)
To: axp-list
On Tue, 15 Sep 1998, B. James Phillippe wrote:
> The command for installing aboot is "swriteboot /dev/sda bootlx". I don't
> know what effect this will have on your partition scheme because of the
> first partition starting at offset zero. I suspect that it will be okay as
> long as you don't ever try to use /dev/sda1.
Well, I find it useful to create a one cylinder long partition at the
beginning of the disk. I always mark it as "boot" type (type "d"). I
make it to remind whoever might mess with the disk the free space at the
beginning is intentional.
One has to use `swriteboot -f1' in this configuration.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-09-15 21:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-15 19:30 aboot problems with AlphaStation 200 Rob Rupprath
1998-09-15 20:06 ` Jeff Noxon
1998-09-15 20:35 ` B. James Phillippe
1998-09-15 21:08 ` Maciej W. Rozycki
-- strict thread matches above, loose matches on Subject: below --
1998-09-15 19:42 Mark Dohojda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox