Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Milo/kernel problem
@ 1998-09-10 18:54 James Ratliff
  1998-09-10 19:41 ` Nils Faerber
  1998-09-18 19:34 ` Nikita Schmidt
  0 siblings, 2 replies; 9+ messages in thread
From: James Ratliff @ 1998-09-10 18:54 UTC (permalink / raw)
  To: axp-list

I just put a new 4.5 gig hard drive in my LX164 and am having a problem
getting kernels that I have compiled to boot. Here is the message when I
try to get a custom kernel to boot:

....
scsi : detected 1 SCSI disk total
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8910423 [4350 MB] [4.4
GB]
Partition check:
  sda: sda1 sda2 sda3
attempt to access beyond end of device
08:02: rw=0, want=2146730027, limit=4313088
block_read: read failed (after 0 bytes)
ext_iget: read error
MILO: Failed to load the kernel
MILO>

I am running RH5.1 and have this problem happen with both 2.0.34 and
2.1.119 kernels. I tried compiling 2.0.34 with egcs-1.02 and 1.1a. I was
only able to get 2.1.119 to compile using egcs-1.1a (but both give the
sam error on boot). The stock kernel off the RH5.1 CD works just fine.
BTW, I am using an Adaptec 2940UW and a Quantum VikingII 4.5GB hard
drive. Any suggestions?

Thanks in advance,
James


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

* Re: Milo/kernel problem
  1998-09-10 18:54 Milo/kernel problem James Ratliff
@ 1998-09-10 19:41 ` Nils Faerber
  1998-09-18 19:34 ` Nikita Schmidt
  1 sibling, 0 replies; 9+ messages in thread
From: Nils Faerber @ 1998-09-10 19:41 UTC (permalink / raw)
  To: axp-list

Hello!

> I just put a new 4.5 gig hard drive in my LX164 and am having a problem
> getting kernels that I have compiled to boot. Here is the message when I
> try to get a custom kernel to boot:
> ....
> scsi : detected 1 SCSI disk total
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 8910423 [4350 MB] [4.4
> GB]
> Partition check:
>   sda: sda1 sda2 sda3
> attempt to access beyond end of device
> 08:02: rw=0, want=2146730027, limit=4313088
> block_read: read failed (after 0 bytes)
> ext_iget: read error
> MILO: Failed to load the kernel
> MILO>
HI ;)
Had the same one... this is obviously a bug in MILO which makes it
impossible for it to access files or disk blocks beyond 2GB...
I solved this by putting a small partition near the beginning of the
harddisk where I just put my compiled kernels.

> Thanks in advance,
> James
CU
  nils

-- 
Nils Faerber (Linux Nils)        eMail: nils@unix-ag.org
Student of computer science      http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!
--


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

* Re: Milo/kernel problem
  1998-09-10 18:54 Milo/kernel problem James Ratliff
  1998-09-10 19:41 ` Nils Faerber
@ 1998-09-18 19:34 ` Nikita Schmidt
  1998-09-18 22:54   ` Michal Jaegermann
  1 sibling, 1 reply; 9+ messages in thread
From: Nikita Schmidt @ 1998-09-18 19:34 UTC (permalink / raw)
  To: axp-list

On Thursday, 10 Sep, James Ratliff wrote:
> attempt to access beyond end of device
> 08:02: rw=0, want=2146730027, limit=4313088
> block_read: read failed (after 0 bytes)
> ext_iget: read error
> MILO: Failed to load the kernel

Current MILO can't handle ext2fs partitions larger than 2Gb.  There are
images in ftp://genie.ucd.ie/pub/alpha/milo/milo-980902 that contain a
fix for this, but they are built with the free x86 emulation library so
they may fail with some sorts of video hardware.

Nikita


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

* Re: Milo/kernel problem
  1998-09-18 19:34 ` Nikita Schmidt
@ 1998-09-18 22:54   ` Michal Jaegermann
  1998-09-19 12:41     ` Linus
       [not found]     ` <Pine.LNX.3.96.980919143925.10727A-100000@dockmaster.unix.e du.sollentuna.se>
  0 siblings, 2 replies; 9+ messages in thread
From: Michal Jaegermann @ 1998-09-18 22:54 UTC (permalink / raw)
  To: axp-list

Nikita Schmidt wrote:
> 
> Current MILO can't handle ext2fs partitions larger than 2Gb.

Oh, good that nobody told that to my milo.  It could get scared
and stop working.

$ df -h
Filesystem            Size  Used  Avail  Capacity Mounted on
/dev/sda2             291M   58M   218M     21%   /
/dev/sda3             3.7G  1.7G   1.8G     48%   /usr
/dev/sda1             3.0M  844K   2.1M     28%   /mnt/boot

FWIW I did work with partitions on Alpha of 9Gb order. 

  --mj


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

* Re: Milo/kernel problem
  1998-09-18 22:54   ` Michal Jaegermann
@ 1998-09-19 12:41     ` Linus
  1998-09-19 16:43       ` Michal Jaegermann
  1998-09-21 14:35       ` Don Myroon
       [not found]     ` <Pine.LNX.3.96.980919143925.10727A-100000@dockmaster.unix.e du.sollentuna.se>
  1 sibling, 2 replies; 9+ messages in thread
From: Linus @ 1998-09-19 12:41 UTC (permalink / raw)
  To: axp-list

On Fri, 18 Sep 1998, Michal Jaegermann wrote:
I might be wrong but doesn't milo only read the / partion?
That isn't anywhare near or over 2Gb

> Filesystem            Size  Used  Avail  Capacity Mounted on
> /dev/sda2             291M   58M   218M     21%   /
 			^^^
> /dev/sda3             3.7G  1.7G   1.8G     48%   /usr

/Linus Haapanen

Demokrati krver opinionsbildning.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
"If that makes any sense to you, you have a big problem."
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-



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

* Re: Milo/kernel problem
  1998-09-19 12:41     ` Linus
@ 1998-09-19 16:43       ` Michal Jaegermann
  1998-09-21 17:41         ` Nikita Schmidt
  1998-09-21 14:35       ` Don Myroon
  1 sibling, 1 reply; 9+ messages in thread
From: Michal Jaegermann @ 1998-09-19 16:43 UTC (permalink / raw)
  To: axp-list

Linus wrote:
> 
> I might be wrong but doesn't milo only read the / partion?
> That isn't anywhare near or over 2Gb
> 
> > Filesystem            Size  Used  Avail  Capacity Mounted on
> > /dev/sda2             291M   58M   218M     21%   /
>  			^^^
> > /dev/sda3             3.7G  1.7G   1.8G     48%   /usr

Just for your reading pleasure I copied /vmlinux.gz to
/usr/vmlinux.gz and rebooted this Alpha in question with a command:

  boot sda3:vmlinux.gz root=/dev/sda2

This time milo had to read this 3.7G partition to load my kernel
(root stays that same as I do not plan to rearrange the whole box,
at least for now :-).  The machine is happily up and running.

The blanket statement in the post to which I originally responded
was "the current milo does not handle partitions over 2 Gig".
Maybe there are cases when such partions indeed cause trouble for
milo.  I still have to find one but I would be really interested
to learn about precise conditions for milo hiccups.

  Michal


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

* Re: Milo/kernel problem
       [not found]     ` <Pine.LNX.3.96.980919143925.10727A-100000@dockmaster.unix.e du.sollentuna.se>
@ 1998-09-20  0:33       ` Maurice Hilarius
  0 siblings, 0 replies; 9+ messages in thread
From: Maurice Hilarius @ 1998-09-20  0:33 UTC (permalink / raw)
  To: axp-list

With regards to your message at 02:41 PM 09-19-98 +0200, Linus. Where you
stated:
>On Fri, 18 Sep 1998, Michal Jaegermann wrote:
>I might be wrong but doesn't milo only read the / partion?
>That isn't anywhare near or over 2Gb
>
>> Filesystem            Size  Used  Avail  Capacity Mounted on
>> /dev/sda2             291M   58M   218M     21%   /
> 			^^^
>> /dev/sda3             3.7G  1.7G   1.8G     48%   /usr
>
>/Linus Haapanen
Well, you can load milo, and from its command line list the contents of
partitions of over 2GB, so at least that part of access works..


Cheers,

+--------------------------------------------------------+
| Maurice Hilarius           | The Past is History       |
| Edmonton, Alberta, Canada  |  The Future is Mystery    |
|                            |   Today is a Gift         |
| Phone (403) 456-1510       | That is why they call it  |
| email:maurice@harddata.com |   The Present             |
+--------------------------------------------------------+
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


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

* Re: Milo/kernel problem
  1998-09-19 12:41     ` Linus
  1998-09-19 16:43       ` Michal Jaegermann
@ 1998-09-21 14:35       ` Don Myroon
  1 sibling, 0 replies; 9+ messages in thread
From: Don Myroon @ 1998-09-21 14:35 UTC (permalink / raw)
  To: axp-list

Hello,

I've gotten Linux running on an AlphaStation 500/333.  I am running
Linux on a 4GB RZ29 SCSI drive that I only have a small MILO partition
(Milo isn't on it yet...), a 256MB swap partition, and a 3.7GB root
partition where everything is located.

I'm loading MILO from floppy still but it boots alright.

Later,

Don


Linus wrote:
> 
> On Fri, 18 Sep 1998, Michal Jaegermann wrote:
> I might be wrong but doesn't milo only read the / partion?
> That isn't anywhare near or over 2Gb
> 
> > Filesystem            Size  Used  Avail  Capacity Mounted on
> > /dev/sda2             291M   58M   218M     21%   /
>                         ^^^
> > /dev/sda3             3.7G  1.7G   1.8G     48%   /usr
> 
> /Linus Haapanen
> 
> Demokrati krver opinionsbildning.
> 
> _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> "If that makes any sense to you, you have a big problem."
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> 
> --
> 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

-- 

                               ,'~``.
                               ( o o )
+-------------------------.oooO--(_)--Oooo.---------------------------+
|  Don Myroon, B.Sc., E.I.T.                 Syncrude Canada Ltd.     |
|  Systems Analyst                           P.O Bag 4009, M.D. X300  |
|  myroon@syncrude.com                       Fort McMurray, Alberta   |
|  Phone: (403)790-7939     .oooO            Canada, T9H 3L1          |
|  Fax:   (403)790-7550     (   )   Oooo.                             |
|____________________________\ (____(   )_____________________________|
                              \_)    ) /
                                    (_/


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

* Re: Milo/kernel problem
  1998-09-19 16:43       ` Michal Jaegermann
@ 1998-09-21 17:41         ` Nikita Schmidt
  0 siblings, 0 replies; 9+ messages in thread
From: Nikita Schmidt @ 1998-09-21 17:41 UTC (permalink / raw)
  To: axp-list

On Saturday, 19 Sep, Michal Jaegermann wrote:
> > > /dev/sda3             3.7G  1.7G   1.8G     48%   /usr
[...]
> 
> This time milo had to read this 3.7G partition to load my kernel
> (root stays that same as I do not plan to rearrange the whole box,
> at least for now :-).  The machine is happily up and running.
> 
> The blanket statement in the post to which I originally responded
> was "the current milo does not handle partitions over 2 Gig".

OK, I should have said "does not handle more than the first 2 Gb of a
partition".  Which is pretty close - on a big partition one can never be
sure where the files are.

> Maybe there are cases when such partions indeed cause trouble for
> milo.  I still have to find one but I would be really interested
> to learn about precise conditions for milo hiccups.

I don't know what the precise condition is; at least when the inode
starts beyond the first 2 Gb, Milo should fail - see the `offset'
variable in ext2_iget() in file fs/ext2.c, which is used to calculate
the byte offset into partition and declared as int.

Nikita


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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-10 18:54 Milo/kernel problem James Ratliff
1998-09-10 19:41 ` Nils Faerber
1998-09-18 19:34 ` Nikita Schmidt
1998-09-18 22:54   ` Michal Jaegermann
1998-09-19 12:41     ` Linus
1998-09-19 16:43       ` Michal Jaegermann
1998-09-21 17:41         ` Nikita Schmidt
1998-09-21 14:35       ` Don Myroon
     [not found]     ` <Pine.LNX.3.96.980919143925.10727A-100000@dockmaster.unix.e du.sollentuna.se>
1998-09-20  0:33       ` Maurice Hilarius

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