Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* AW: Q: attempt to access beyond end of device
@ 1998-12-09  8:00 Dauter, Oliver
  0 siblings, 0 replies; 9+ messages in thread
From: Dauter, Oliver @ 1998-12-09  8:00 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

> > > I4ve run into a problem booting my AS400 (RH5.2) with a 
> "new" self-compiled
> > > kernel.
> > > I get the following message:
> > >
> > > MILO> boot sda5:vmlinux.gz root=/dev/sda5
> > > attempt to access beyond end of device
> > > 08:05: rw=0, want=2145443872, limit=6291440
> > > block_read: read failed (after 0 bytes)
> > > ext_iget: read error
> > > MILO: Failed to load the kernel
> > >
> >   I guess your kernel is not totally within the first xx Mb 
> of your disk. I
> >   had the same problem once. Installing it on a small 
> partition (hda1 - 5Mb)
> >   solved it.
> 
> YEP, I noticed the very same several times on a LX 533. Can 
> it really be
> that the Alpha resp. MILO is plagued by the very same 1024 cylinder
> problem as good old x86 BIOS ??? Does this only happen on 
> "Alph-Bios for
> NT" (which, as somebody wrote, Microsoft ported "scrupolessly, but
> carefully from the IBM PC") or also on other machines ?? 
> 
> Interestingly, I NEVER read about it in the MILO docs 
> (probably did not
> find/notice it), where is it written ??? Why does it happen 
> with a SCSI
> disc, too ???

... and is a workaround known?

I don´t have a good mind to reinstall my hole system to get an new partition
at the front of my disk. 

bye,

Oliver Dauter
Operations Management Services
Digital Equipment
mailto:oliver.dauter@digital.com


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

* Re: AW: Q: attempt to access beyond end of device
       [not found] <69E411B6ED3DD2118CFA0001FAF8F1CE909FDC@blbexchange06.prod. blb.de>
@ 1998-12-09 16:14 ` Maurice Hilarius
  0 siblings, 0 replies; 9+ messages in thread
From: Maurice Hilarius @ 1998-12-09 16:14 UTC (permalink / raw)
  To: axp-list

With regards to your message at 09:00 AM 12-09-98 +0100, Dauter, Oliver.
Where you stated:
>> >   I guess your kernel is not totally within the first xx Mb 
>> of your disk. I
>> >   had the same problem once. Installing it on a small 
>> partition (hda1 - 5Mb)
>> >   solved it.
>> 
>> YEP, I noticed the very same several times on a LX 533. Can 
>> it really be
>> that the Alpha resp. MILO is plagued by the very same 1024 cylinder
>> problem as good old x86 BIOS ??? Does this only happen on 
>> "Alph-Bios for
>> NT" (which, as somebody wrote, Microsoft ported "scrupolessly, but
>> carefully from the IBM PC") or also on other machines ?? 
>> 
>> Interestingly, I NEVER read about it in the MILO docs 
>> (probably did not
>> find/notice it), where is it written ??? Why does it happen 
>> with a SCSI
>> disc, too ???
>
>... and is a workaround known?
>
>I don´t have a good mind to reinstall my hole system to get an new partition
>at the front of my disk. 
The blame is nothing to do with "trying to emulate PC BIOS" and mostly to
do with a loader called AlphaBIOS which was designed to load NT.
AlphaBIOS expects to find the boot information in the first partition, that
it be a FAT16 partition, and so forth. As far as I have seen it is hardcoed
to that first partition.
You could also use the SRM firmware and aboot, but SRM is a licensed
software product, which bears an additional cost to you.. However it would
give you a more flexible booting solution. It still means backing up and
re-installing your files, however..


Best regards,

  Maurice W. Hilarius                   Telephone: 01-403-414-9319
  Hard Data Ltd.                      **FAX:       01-403-456-1510
  11060 - 166 Avenue                    email:maurice@harddata.com
  Edmonton, AB, Canada  - T5X 1Y3       http://www.harddata.com
  


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

* Re: AW: Q: attempt to access beyond end of device
@ 1998-12-09 16:48 Greg Lindahl
  1998-12-09 19:16 ` Joachim Wesner
  1998-12-09 20:58 ` Wes Bauske
  0 siblings, 2 replies; 9+ messages in thread
From: Greg Lindahl @ 1998-12-09 16:48 UTC (permalink / raw)
  To: axp-list

> AlphaBIOS expects to find the boot information in the first partition, that
> it be a FAT16 partition, and so forth. As far as I have seen it is hardcoed
> to that first partition.

Nope; I boot off the 4th.

-- g


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

* Re: AW: Q: attempt to access beyond end of device
  1998-12-09 16:48 Greg Lindahl
@ 1998-12-09 19:16 ` Joachim Wesner
  1998-12-09 20:58 ` Wes Bauske
  1 sibling, 0 replies; 9+ messages in thread
From: Joachim Wesner @ 1998-12-09 19:16 UTC (permalink / raw)
  To: axp-list

Greg Lindahl wrote:
> 
> > AlphaBIOS expects to find the boot information in the first partition, that
> > it be a FAT16 partition, and so forth. As far as I have seen it is hardcoed
> > to that first partition.
> 
> Nope; I boot off the 4th.
> 
>

Somehow it does not explan my experience, it really looks like it has to
do with a certain physical location on the disk. Otherwise, you could
put it everywhere on the same partition where it worked before and it
should continue to work.

Instead, my "solution" was to copy the file several times and re-sync
and reboot the whole thing. After several of these "iterations" it
usually works and keeps worling (till your next new kernel).....

Am I fully wrong here ???


Joachim


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

* Re: AW: Q: attempt to access beyond end of device
@ 1998-12-09 19:53 Greg Lindahl
  0 siblings, 0 replies; 9+ messages in thread
From: Greg Lindahl @ 1998-12-09 19:53 UTC (permalink / raw)
  To: axp-list

> Somehow it does not explan my experience, it really looks like it has to
> do with a certain physical location on the disk.

Oh, I agree that there's something funny going on, even in addition to
the weirdness of getting valid-looking FAT partitions due to the
variable size bug in fdisk.

As a result, I have 66 machines that boot off the 4th partition, and 1
that boots off the first. I think this is because I got lucky on my
first install, physically cloned that partition table to 64 other
machines, and then in my other 2 installs, I got lucky one out of two
times. But, once I get a working partition table, it works forever.

-- g


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

* Re: AW: Q: attempt to access beyond end of device
@ 1998-12-09 20:28 Greg Lindahl
  1998-12-11  5:06 ` Bill Roman
  0 siblings, 1 reply; 9+ messages in thread
From: Greg Lindahl @ 1998-12-09 20:28 UTC (permalink / raw)
  To: axp-list

> I would think the restriction is that milo must live within 
> the first 1GB on the disk, not what partition it's in.
> 
> Does your partition qualify on that?

No -- My 66 happy machines boot off the 4th partition, which is at the
end of a 4 gig disk. I belive Jay claimed to me once that AlphaBIOS
shouldn't have any silly limits along those lines.

-- g


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

* Re: AW: Q: attempt to access beyond end of device
  1998-12-09 16:48 Greg Lindahl
  1998-12-09 19:16 ` Joachim Wesner
@ 1998-12-09 20:58 ` Wes Bauske
  1 sibling, 0 replies; 9+ messages in thread
From: Wes Bauske @ 1998-12-09 20:58 UTC (permalink / raw)
  To: axp-list

Greg Lindahl wrote:
> 
> > AlphaBIOS expects to find the boot information in the first partition, that
> > it be a FAT16 partition, and so forth. As far as I have seen it is hardcoed
> > to that first partition.
> 
> Nope; I boot off the 4th.
> 
> -- g

I would think the restriction is that milo must live within 
the first 1GB on the disk, not what partition it's in.

Does your partition qualify on that?


Wes


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

* Re: AW: Q: attempt to access beyond end of device
  1998-12-09 20:28 Greg Lindahl
@ 1998-12-11  5:06 ` Bill Roman
  1998-12-11  5:57   ` Wes Bauske
  0 siblings, 1 reply; 9+ messages in thread
From: Bill Roman @ 1998-12-11  5:06 UTC (permalink / raw)
  To: axp-list

Greg Lindahl wrote:
> 
> > I would think the restriction is that milo must live within 
> > the first 1GB on the disk, not what partition it's in.
> > 
> > Does your partition qualify on that?
> 
> No -- My 66 happy machines boot off the 4th partition, which is at the
> end of a 4 gig disk. I belive Jay claimed to me once that AlphaBIOS
> shouldn't have any silly limits along those lines.
> 
Jay is right.  My Miata at work boots (NT, sigh) from a system partition
at the end of a 4 GB drive.  I then use it to develop AlphaBIOS.  If
anyone can prove that AlphaBIOS has any such "silly limits", let me
know and I'll remove them.

I suspect that the reported problems have to do with: 1) the known bug
in mkdosfs (assumption that sizeof (unsigned long) == 4); and 2) following
the installation instructions and copying the MILO floppy image to the raw
partition.  The latter has always made me uncomfortable....

Personally, I got lucky.  The partition I initialized with mkdosfs works
for me on my XL 300.

-- 
Bill Roman  (roman@songdog.eskimo.com / roman@songdog.uucp)   running linux


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

* Re: AW: Q: attempt to access beyond end of device
  1998-12-11  5:06 ` Bill Roman
@ 1998-12-11  5:57   ` Wes Bauske
  0 siblings, 0 replies; 9+ messages in thread
From: Wes Bauske @ 1998-12-11  5:57 UTC (permalink / raw)
  To: axp-list

Bill Roman wrote:
> 
> Greg Lindahl wrote:
> >
> > > I would think the restriction is that milo must live within
> > > the first 1GB on the disk, not what partition it's in.
> > >
> > > Does your partition qualify on that?
> >
> > No -- My 66 happy machines boot off the 4th partition, which is at the
> > end of a 4 gig disk. I belive Jay claimed to me once that AlphaBIOS
> > shouldn't have any silly limits along those lines.
> >
> Jay is right.  My Miata at work boots (NT, sigh) from a system partition
> at the end of a 4 GB drive.  I then use it to develop AlphaBIOS.  If
> anyone can prove that AlphaBIOS has any such "silly limits", let me
> know and I'll remove them.
> 
> I suspect that the reported problems have to do with: 1) the known bug
> in mkdosfs (assumption that sizeof (unsigned long) == 4); and 2) following
> the installation instructions and copying the MILO floppy image to the raw
> partition.  The latter has always made me uncomfortable....
> 
> Personally, I got lucky.  The partition I initialized with mkdosfs works
> for me on my XL 300.
> 

I remember reading about Alphas having some sort
of problem with larger disk drives. The limit may
have been 2GB but it was broken. I don't know if it was
ARC/AlphaBios or milo that had the problem but it did
exist sometime in the past year or so. Also, older
milos can't load larger kernels. When I installed
RH5.0, I had to use a new milo in order to get it
to boot the kernel. So, if you get bad combinations,
things won't work. Getting the latest stuff worked
for my systems...


Wes


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

end of thread, other threads:[~1998-12-11  6:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-09 19:53 AW: Q: attempt to access beyond end of device Greg Lindahl
  -- strict thread matches above, loose matches on Subject: below --
1998-12-09 20:28 Greg Lindahl
1998-12-11  5:06 ` Bill Roman
1998-12-11  5:57   ` Wes Bauske
1998-12-09 16:48 Greg Lindahl
1998-12-09 19:16 ` Joachim Wesner
1998-12-09 20:58 ` Wes Bauske
     [not found] <69E411B6ED3DD2118CFA0001FAF8F1CE909FDC@blbexchange06.prod. blb.de>
1998-12-09 16:14 ` Maurice Hilarius
1998-12-09  8:00 Dauter, Oliver

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