Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* latest Alpha XL Kernel/Milo Package?
@ 2003-07-09 20:36 Stefan Reier
  2003-07-10 20:54 ` Alexander Stokman
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Reier @ 2003-07-09 20:36 UTC (permalink / raw)




Hello,

i am using an Alpha XL 366 running Debian 3.0. Unfortunately
my Kernelversion is 2.2.18 and i would like to upgrade this. 

Perhaps you can help me, finding the latest Kernelversion and
the fitting MILO Version. I just downloaded milo-2.4, but that doesn't 
seems to work with an Alpha XL (-> milo README). I thought,
someone might have some experiences with this case!?

Thanks a lot for your help,
  Stefan



-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG


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

* Re: latest Alpha XL Kernel/Milo Package?
  2003-07-09 20:36 latest Alpha XL Kernel/Milo Package? Stefan Reier
@ 2003-07-10 20:54 ` Alexander Stokman
  2003-07-10 23:00   ` Stefan Reier
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stokman @ 2003-07-10 20:54 UTC (permalink / raw)


Hi Stefan,

> i am using an Alpha XL 366 running Debian 3.0. Unfortunately
> my Kernelversion is 2.2.18 and i would like to upgrade this. 
> 
> Perhaps you can help me, finding the latest Kernelversion and
> the fitting MILO Version. I just downloaded milo-2.4, but that doesn't 
> seems to work with an Alpha XL (-> milo README). I thought,
> someone might have some experiences with this case!?

I am running kernel 2.4.21 with Debian 3.0 on an XL-300 with MILO
2.2-18. This works fine as long as I select the legacy kernel start
address when compiling the kernel. I posted a question about this to
this group a few days ago.

I guess MILO is not too dependent on the kernel, as long as it has the
drivers for the hardware and filesystem you want to load the kernel
from.

Just curious, I have been looking for a 2.4 milo myself. Where did you
find yours?

Regards, Sander.


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

* Re: latest Alpha XL Kernel/Milo Package?
  2003-07-10 20:54 ` Alexander Stokman
@ 2003-07-10 23:00   ` Stefan Reier
  2003-07-12  0:47     ` Alexander Stokman
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Reier @ 2003-07-10 23:00 UTC (permalink / raw)



> I am running kernel 2.4.21 with Debian 3.0 on an XL-300 with MILO
> 2.2-18. 

Hmm, i'll try this. Just tried 2.4.19 (from deb
www.fs.tum.de/~bunk/debian potato main)
But only got tons of "###" at the screen after booting. So i switched
back
to 2.2.18. Do you know whether make-kpkg builds a zipped kernel (like
make bzImage)?
I remember, there was also an strange error message, that the kernel
isn't zipped.
And ls -al offered, that the kernel was really not small. 
So probably not zipped?!

> Just curious, I have been looking for a 2.4 milo myself. Where did you
> find yours?

SuSe delivers their new AXP Version with Kernel 2.4.18 (or 2.4.19?).
You can download the 2.4 MILO Version at 
ftp://ftp.suse.com/pub/people/stepan/milo/new (also found in this ng).

Unfortunately i got problems compiling it (reiserfs.c made probs
although i didn't install reiserfs). 

Kind regards,
  Stefan


-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG


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

* Re: latest Alpha XL Kernel/Milo Package?
  2003-07-10 23:00   ` Stefan Reier
@ 2003-07-12  0:47     ` Alexander Stokman
  2003-07-17 22:22       ` Andreas Feldner
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stokman @ 2003-07-12  0:47 UTC (permalink / raw)


> Hmm, i'll try this. Just tried 2.4.19 (from deb
> www.fs.tum.de/~bunk/debian potato main)
> But only got tons of "###" at the screen after booting.

I had this a couple of days ago. Check the kernel start address using

readelf -h <uncompressed_kernel> | grep Entry

Look at the last 7 positions of the entry point address. You should
see 0310000, 0810000 or 1010000.

Older Milo's can only deal with kernels which have a start address of
0310000. The most recent Milo I could find can deal with 0810000, but
not with 1010000. Anyway, there is an option when compilong the kernel
CONFIG_ALPHA_LEGACY_START_ADDRESS which forces it to use the 0310000
address. It works great for me.

> So i switched back
> to 2.2.18. Do you know whether make-kpkg builds a zipped kernel (like
> make bzImage)?

I am afraid I do not know, I build my kernels from the kernel source.
bzIamge is something specific for x86, I believe. On Alpha you would
do 'make boot'. This produces the uncompressed vmlinux kernel image in
the top level kernel directory. The compressed image can be found in
arch/alpha/boot/vmlinux.gz.

> I remember, there was also an strange error message, that the kernel
> isn't zipped. And ls -al offered, that the kernel was really not small. 
> So probably not zipped?!

You can find out using

file <kernel_file>

If it says 'gzip compressed data', it's compressed. If it says 'ELF 64
bit LSB executable', it's not.
 
> You can download the 2.4 MILO Version at 
> ftp://ftp.suse.com/pub/people/stepan/milo/new (also found in this ng).

Hmm... I posted that some time ago. I guess we've come full circle.
;^)
 
> Unfortunately i got problems compiling it (reiserfs.c made probs
> although i didn't install reiserfs). 

There is a patch at the same place that fixed the reiserfs issue for
me. Milo uses it so it can read the kernel from a reiserfs FS if you
decide to use it.

I am stuck at devices.c. :^(

Regards, Sander.


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

* Re: latest Alpha XL Kernel/Milo Package?
  2003-07-12  0:47     ` Alexander Stokman
@ 2003-07-17 22:22       ` Andreas Feldner
  2003-07-19 13:19         ` Andreas Feldner
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Feldner @ 2003-07-17 22:22 UTC (permalink / raw)


Alexander Stokman wrote:

>> Hmm, i'll try this. Just tried 2.4.19 (from deb
>> www.fs.tum.de/~bunk/debian potato main)
>> But only got tons of "###" at the screen after booting.

Amazing. 2.4.19 works beautyful for me, but not 2.4.21...

> I had this a couple of days ago. Check the kernel start address using
> 
> readelf -h <uncompressed_kernel> | grep Entry
> 
> Look at the last 7 positions of the entry point address. You should
> see 0310000, 0810000 or 1010000.

This seems to shine some light on the subject, as that adress indeed changed
from 810000 to 1010000 between 2.4.20 and 2.4.21, at least for me.


> Older Milo's can only deal with kernels which have a start address of
> 0310000. The most recent Milo I could find can deal with 0810000, but
> not with 1010000. Anyway, there is an option when compilong the kernel
> CONFIG_ALPHA_LEGACY_START_ADDRESS which forces it to use the 0310000
> address. It works great for me.

That one causes a crash for me directly after "jumping into the kernel". My
Milo seems to jump into the right entry point, but doesn't appear to pass
any boot parameters.

I'm wondering if one could patch the LEGACY_START_ADDRESS to 0810000?

> There is a patch at the same place that fixed the reiserfs issue for
> me. Milo uses it so it can read the kernel from a reiserfs FS if you
> decide to use it.

Hm. I de-configured reiserfs and removed it from the relevant make file.

> I am stuck at devices.c. :^(

That's where I am also. As it says it's the ersatz kernel, probably removing
it from makefiles wouldn't lead to success ;-)  It seems that scheduling
was changed completely since the days of the milo sources?

Cheers,
Andreas.




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

* Re: latest Alpha XL Kernel/Milo Package?
  2003-07-17 22:22       ` Andreas Feldner
@ 2003-07-19 13:19         ` Andreas Feldner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Feldner @ 2003-07-19 13:19 UTC (permalink / raw)


Following up my own stuff here...

Andreas Feldner wrote:

>> Older Milo's can only deal with kernels which have a start address of
>> 0310000. The most recent Milo I could find can deal with 0810000, but
>> not with 1010000. Anyway, there is an option when compilong the kernel
>> CONFIG_ALPHA_LEGACY_START_ADDRESS which forces it to use the 0310000
>> address. It works great for me.
> 
> That one causes a crash for me directly after "jumping into the kernel".
> My Milo seems to jump into the right entry point, but doesn't appear to
> pass any boot parameters.
> 
> I'm wondering if one could patch the LEGACY_START_ADDRESS to 0810000?

Amazingly stupid an aproach, still it *does* work! 

I patched arch/alpha/vmlinux.lds.in:

#ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
  . = 0xfffffc0000810000; /* instead of 0xfffffc0000810000 */
#else

and include/asm-alpha/system.h:

#ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
/*#define KERNEL_START_PHYS     0x0300000 */
                             /* Old bootloaders hardcoded this.  */
#define KERNEL_START_PHYS       0x0800000 
             /* well... newer ones hardcoded THIS! pelzi@flying-snail.de */
#else
#define KERNEL_START_PHYS       0x1000000 
                         /* required: Wildfire/Titan/Marvel */
#endif

And now it actually works! It is beyond me how the non-legacy-compiled
kernel could even start with the wrong entry address, but still it did but
didn't get any boot arguments.

Perhaps this helps someone else, too?

Cheers,
Andreas.



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

end of thread, other threads:[~2003-07-19 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-09 20:36 latest Alpha XL Kernel/Milo Package? Stefan Reier
2003-07-10 20:54 ` Alexander Stokman
2003-07-10 23:00   ` Stefan Reier
2003-07-12  0:47     ` Alexander Stokman
2003-07-17 22:22       ` Andreas Feldner
2003-07-19 13:19         ` Andreas Feldner

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