* indy r4000FPC kernel?
@ 2004-02-12 16:12 Joost
2004-02-12 16:42 ` Dominik 'Rathann' Mierzejewski
2004-02-12 17:48 ` Guido Guenther
0 siblings, 2 replies; 8+ messages in thread
From: Joost @ 2004-02-12 16:12 UTC (permalink / raw)
To: linux-mips
Hello,
Is this the correct list to be asking about kernel trouble?
If not, i apologize for this lengthy piece of offtopic ranting :-)
I'm trying to get a working kernel on my indy, but 2.4.16
seems to be as far as it will go. The 2.4.22 that comes with
debian testing gives an error while booting so i decided
to try and be adventurous and downloaded the 2.6 sources
via cvs. The PROM in this beast is old i gues, it won't
boot elf kernels, so i used the 'ecoff' tip on linux-mips.com.
Going from elf to ecoff gives out a warning:
arch/mips/boot/elf2ecoff vmlinux vmlinux.ecoff
wrote 20 byte file header.
wrote 56 byte a.out header.
wrote 120 bytes of section headers.
wrote 12 byte pad.
writing 3685492 bytes...
Warning: 908 byte intersegment gap.
writing 499845 bytes...
Is this warning about the 'intersegment gap' something I
can safely ignore?
After booting this kernel it panics, complaining about
'unaligned instruction access in arch/mips/kernel/unaligned.c::do_ade,
line 544[#1]: cpu 0' followd by lots of yukkie numbers and a call trace:
[<883e558c>] mem_init+0x6c/0x1e4
[<883ef580>] start_kernel+0x114/0x238
[<883ef588>] start_kernel+0x17c/0x238
[<883ef30c>] unknown_bootoption+0x0/0x130
[<883ef08c>] no_smp+0x0/0x10
Kernel Panic! Attempted to kill the idle task!
Am I doing something obvious wrong? The compiler in use is
gcc-2.95.4, the machine is an indy with r4000FPC. I'm doing
a native compile (yes, my time is cheap :-).
Thank you for your time!
Joost.
--
I have spent most of my money on women and beer. The rest I just wasted...
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-12 16:12 indy r4000FPC kernel? Joost
@ 2004-02-12 16:42 ` Dominik 'Rathann' Mierzejewski
2004-02-12 17:03 ` Joost
2004-02-12 17:48 ` Guido Guenther
1 sibling, 1 reply; 8+ messages in thread
From: Dominik 'Rathann' Mierzejewski @ 2004-02-12 16:42 UTC (permalink / raw)
To: linux-mips
On Thu, Feb 12, 2004 at 05:12:58PM +0100, Joost wrote:
> Hello,
>
> Is this the correct list to be asking about kernel trouble?
> If not, i apologize for this lengthy piece of offtopic ranting :-)
>
> I'm trying to get a working kernel on my indy, but 2.4.16
> seems to be as far as it will go. The 2.4.22 that comes with
> debian testing gives an error while booting so i decided
> to try and be adventurous and downloaded the 2.6 sources
> via cvs. The PROM in this beast is old i gues, it won't
> boot elf kernels, so i used the 'ecoff' tip on linux-mips.com.
Get a current version (branch linux_2_4) from linux-mips.org's CVS
and try that one. There have been some trouble with r4k processors
lately, but they seem to be resolved now. I'm running 2.4.25-pre6
at the moment. Oh, and use arcboot - it saves a lot of hassle.
You don't have to upload your kernel to volume header and you can
boot any ELF kernel image that is on any ext2/3 partition on your
system.
HTH
--
Dominik 'Rathann' Mierzejewski <rathann@icm.edu.pl>
Interdisciplinary Centre for Mathematical and Computational Modelling
Warsaw University | http://www.icm.edu.pl | tel. +48 (22) 5540810
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-12 16:42 ` Dominik 'Rathann' Mierzejewski
@ 2004-02-12 17:03 ` Joost
0 siblings, 0 replies; 8+ messages in thread
From: Joost @ 2004-02-12 17:03 UTC (permalink / raw)
To: linux-mips
On Thu, 12 Feb 2004, Dominik 'Rathann' Mierzejewski wrote:
> Get a current version (branch linux_2_4) from linux-mips.org's CVS
> and try that one. There have been some trouble with r4k processors
> lately, but they seem to be resolved now. I'm running 2.4.25-pre6
> at the moment. Oh, and use arcboot - it saves a lot of hassle.
> You don't have to upload your kernel to volume header and you can
> boot any ELF kernel image that is on any ext2/3 partition on your
> system.
Thank you!
I will give it a try right now, should be finished by dawn :-)
Joost.
--
When I was a child I could remember anything...
Whether it happened or not. -- Mark Twain
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-12 16:12 indy r4000FPC kernel? Joost
2004-02-12 16:42 ` Dominik 'Rathann' Mierzejewski
@ 2004-02-12 17:48 ` Guido Guenther
2004-02-12 18:46 ` Joost
1 sibling, 1 reply; 8+ messages in thread
From: Guido Guenther @ 2004-02-12 17:48 UTC (permalink / raw)
To: Joost; +Cc: linux-mips
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
On Thu, Feb 12, 2004 at 05:12:58PM +0100, Joost wrote:
> seems to be as far as it will go. The 2.4.22 that comes with
> debian testing gives an error while booting so i decided
What kind of error?
-- Guido
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-12 17:48 ` Guido Guenther
@ 2004-02-12 18:46 ` Joost
2004-02-12 20:10 ` Guido Guenther
0 siblings, 1 reply; 8+ messages in thread
From: Joost @ 2004-02-12 18:46 UTC (permalink / raw)
To: linux-mips
On Thu, 12 Feb 2004, Guido Guenther wrote:
> On Thu, Feb 12, 2004 at 05:12:58PM +0100, Joost wrote:
> > seems to be as far as it will go. The 2.4.22 that comes with
> > debian testing gives an error while booting so i decided
> What kind of error?
It might have been the "can't load elf" problem. I'm very new
to all of this so at the time (yesterday :-) I didn't know a
solution existed. If it's important to you I could check again
tomorow?
Joost.
--
"I distrust camels, and anyone else who can go for a week without a drink."
-- Joe E Lewis
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-12 18:46 ` Joost
@ 2004-02-12 20:10 ` Guido Guenther
2004-02-13 8:37 ` Joost
0 siblings, 1 reply; 8+ messages in thread
From: Guido Guenther @ 2004-02-12 20:10 UTC (permalink / raw)
To: Joost; +Cc: linux-mips
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
On Thu, Feb 12, 2004 at 07:46:36PM +0100, Joost wrote:
> On Thu, 12 Feb 2004, Guido Guenther wrote:
> > On Thu, Feb 12, 2004 at 05:12:58PM +0100, Joost wrote:
> > > seems to be as far as it will go. The 2.4.22 that comes with
> > > debian testing gives an error while booting so i decided
> > What kind of error?
> It might have been the "can't load elf" problem. I'm very new
> to all of this so at the time (yesterday :-) I didn't know a
> solution existed. If it's important to you I could check again
> tomorow?
Yes please do. Thanks.
-- Guido
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-12 20:10 ` Guido Guenther
@ 2004-02-13 8:37 ` Joost
2004-02-13 14:17 ` Guido Guenther
0 siblings, 1 reply; 8+ messages in thread
From: Joost @ 2004-02-13 8:37 UTC (permalink / raw)
To: linux-mips
On Thu, 12 Feb 2004, Guido Guenther wrote:
> On Thu, Feb 12, 2004 at 07:46:36PM +0100, Joost wrote:
> > On Thu, 12 Feb 2004, Guido Guenther wrote:
> > > On Thu, Feb 12, 2004 at 05:12:58PM +0100, Joost wrote:
> > > > seems to be as far as it will go. The 2.4.22 that comes with
> > > > debian testing gives an error while booting so i decided
> > > What kind of error?
> > It might have been the "can't load elf" problem. I'm very new
> > to all of this so at the time (yesterday :-) I didn't know a
> > solution existed. If it's important to you I could check again
> > tomorow?
> Yes please do. Thanks.
After running elf2ecoff on it, the kernel from debian testing
(kernel-image-2.4.22-r4k-ip22) seems to run just fine.
The linux_2_4 cvs that compiled this night also works ok.
Many thanks for all your help!
Joost.
--
"Love is the delusion that one woman differs from another." -- HL Mencken
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: indy r4000FPC kernel?
2004-02-13 8:37 ` Joost
@ 2004-02-13 14:17 ` Guido Guenther
0 siblings, 0 replies; 8+ messages in thread
From: Guido Guenther @ 2004-02-13 14:17 UTC (permalink / raw)
To: Joost; +Cc: linux-mips
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
On Fri, Feb 13, 2004 at 09:37:00AM +0100, Joost wrote:
> On Thu, 12 Feb 2004, Guido Guenther wrote:
> > On Thu, Feb 12, 2004 at 07:46:36PM +0100, Joost wrote:
> > > On Thu, 12 Feb 2004, Guido Guenther wrote:
> > > > On Thu, Feb 12, 2004 at 05:12:58PM +0100, Joost wrote:
> > > > > seems to be as far as it will go. The 2.4.22 that comes with
> > > > > debian testing gives an error while booting so i decided
> > > > What kind of error?
> > > It might have been the "can't load elf" problem. I'm very new
> > > to all of this so at the time (yesterday :-) I didn't know a
> > > solution existed. If it's important to you I could check again
> > > tomorow?
> > Yes please do. Thanks.
> After running elf2ecoff on it, the kernel from debian testing
> (kernel-image-2.4.22-r4k-ip22) seems to run just fine.
> The linux_2_4 cvs that compiled this night also works ok.
Thanks a lot for testing this. BTW you can avoid elf2ecoff by using
arcboot.
Cheers,
-- Guido
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-02-13 14:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 16:12 indy r4000FPC kernel? Joost
2004-02-12 16:42 ` Dominik 'Rathann' Mierzejewski
2004-02-12 17:03 ` Joost
2004-02-12 17:48 ` Guido Guenther
2004-02-12 18:46 ` Joost
2004-02-12 20:10 ` Guido Guenther
2004-02-13 8:37 ` Joost
2004-02-13 14:17 ` Guido Guenther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox