Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A few issues with gentoo on a Raq 2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
atopo
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 85
Location: Langenzersdorf near Vienna

PostPosted: Mon Oct 03, 2005 4:23 am    Post subject: A few issues with gentoo on a Raq 2 Reply with quote

Hi,

I'm working to get gentoo running on a cobalt raq two. Since yesterday I noticed a few issues:

- emerge mips-sources fails 'coz of a missing patch (I opend a bug report for that: 107880). mips-sources-2.6.12 doesn't have this problem.
- In the standard config the make for the kernel fails, 'coz it's trying to build with "mipsel-linux-gcc" instead of "mipsel-unknown-linux-gnu-gcc". The build works when I remove the "Are you using a crosscompiler" in the kernel hacking options, but I don't know yet if there are side effects later on.
- I have some strange behaviour with colo, using colo on the first hand (boot from harddisk) fails with a "halting" system, using colo by netboot and then using the colo on the harddisk seems to work (altough I still cannot boot my custom 2.4 kernel). I'll supply more infos as soon as I have them.

best regards
Alexander
Back to top
View user's profile Send private message
atopo
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 85
Location: Langenzersdorf near Vienna

PostPosted: Thu Oct 06, 2005 2:29 am    Post subject: Colo Reply with quote

Alright, one of the colo problem is fixed - "mke2fs -r 0" to format the boot partition with revision 0 ext2 fs did it.

Now I get this:

1> lcd 'Booting...' /dev/{mounted-volume}
1> -load /boot/default.colo
000000d7 215t
1> -script
2> lcd "Mounting hda1"
2> mount hda1
ext2: revision 0
2> menu "Which Kernel?" 50 new old vmlinux
unrecognised command
script aborted <2>

Could someone tell me why colo is in trouble? This is my default.colo:

#:CoLo:#

lcd "Mounting hda1"
mount hda1
menu "Which Kernel?" 50 new old vmlinux
lcd "Loading Linux" {menu-option}
load /{menu-option}
lcd "Booting..."
execute root=/dev/hda3 ro console=ttyS0,115200

thanks
Alexander
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Thu Oct 06, 2005 11:48 am    Post subject: Reply with quote

Hi, Sorry I didn't answer earlier -- been busy with Real Life (university). :-|

Okay... the mips-sources issue, Kumba looks after mips-sources and so you're best to bug him with kernel issues. I believe he's releasing 2.6.13 kernels shortly though -- 2.6.13.1 works just fine on my Qube2.

With the default configs, the "Are you using a crosscompiler" option should always be turned off. All it does is set CROSS_COMPILE to "mipsel-linux-".
If you wish to crosscompile using a toolchain built with crossdev, use a line such as make vmlinux modules CROSS_COMPILE=mipsel-unknown-linux-gnu-. Adapt to taste. :-)

On the /boot partition format -- it actually tells you in the handbook that it needs to be EXT2r0. Look for the bits in red. :-)

With regards to CoLo -- the menu command was replaced with the select command in version 1.16. I haven't as yet, gotten around to updating that part of the documentation -- it is on my TODO list however. :-)
On my blog, I have a post covering the issues. Essentially, that script file should be rewritten to look something like this:

Code:
#:CoLo:#
   
lcd "Mounting hda1"
mount hda1
select "Which Kernel?" 50 Working New
   
goto {menu-option}
var image-name vmlinux.gz.working
goto 3f
@var image-name vmlinux.gz.working
goto 2f
@var image-name vmlinux.gz.new
   
@lcd "Loading Linux" {image-name}
load /{image-name}
lcd "Booting..."
execute root=/dev/hda5 ro console=ttyS0,115200
boot


That's the script file I use on my Qube2 with reasonable success.

Incidentally -- if you're going to the trouble of doing an upgrade -- don't bother... I've got new stages comming soon (stage1 is already up, stage2 is ready to go, and stage3 is in the pipeline). I'll let you know when they're released.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
atopo
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 85
Location: Langenzersdorf near Vienna

PostPosted: Sun Oct 09, 2005 6:19 am    Post subject: Reply with quote

Yepp, finally my RAQ boots a 2.6 kernel. There was a link missing in /dev/hda1 from boot -> .

best regards
Alexander
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum