Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stumped by the install on a sgi o2 [resolved]
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
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Thu Dec 29, 2005 2:27 pm    Post subject: stumped by the install on a sgi o2 [resolved] Reply with quote

hi i've been running thought the unoffical guideto try and get gentoo installed on my o2,
i am currently at this pointof the guide
http://www.longlandclan.hopto.org/~stuartl/gentoo/docs/index.php/handbook/handbook-mips.xml?part=1&chap=7
i have run the ln -sf /usr/share/zoneinfo/GMT /etc/localtime

but everything under that is just plain confusing to me,

this is my second ever install of linux the first being suse 10 onto a x86 machine.

i know going from that to installing gentoo onto a o2 is like jumping in at the deep end, but its normally how i leanr best.

but the part i am stuck on currently is just confusing me, as i'm not sure if i should be skipping parts of the guide as it mentions cobalt, ip27, ip28 and ip30 machines but not the o2, so i was thinking i didn'tneed to run that part, but them the !important! part under the code does mention on the o2,

if its of any use its a r5000 sgi o2 machine booting off a liveCD that was burned on windows XP.

if someone could just help point me in the right direction...

many thanks

mattm


Last edited by mattie01 on Tue Jan 03, 2006 8:59 am; edited 2 times in total
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 Dec 29, 2005 3:54 pm    Post subject: Reply with quote

Maybe I'm missing something, but you just linked to the marketing spread on a laptop?! ;-)

On the guide, the bits on Cobalt and IP22/27/28/30, you can safely skip. Stuff for IP32 though, is where you need to pay attention.

So, the USE flags ... those don't affect you. IP32 support is included in upstream Linux/MIPS git, without additional patches. Those USE flags enable patchsets to support those machines.

However, the bit on the mips64 profile, and gcc-mips64, does... note it explicitly lists the O2 there. On the kernel config side, your safest bet is to use /proc/config.gz, and simply turn off the initramfs/embedded initrd option in menuconfig.
_________________
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
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Thu Dec 29, 2005 7:35 pm    Post subject: Reply with quote

opps.. corrected the link now,

thanks for the input, i'll give it a try and let you know how i get on
Back to top
View user's profile Send private message
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Fri Dec 30, 2005 11:04 am    Post subject: Reply with quote

ok as i am following the guide i try both the "make ip32_defconfig" and later on the "make oldconfig"

but both times i get a error saying "make: *** No rule to make target" ?
Back to top
View user's profile Send private message
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Fri Dec 30, 2005 11:23 am    Post subject: Reply with quote

ok i think i know where i went wrong...
i skipped all of the section below, which i think was my problems... opps

# mkdir -p /etc/portage
(Substitute cobalt with the appropriate USE flag for your system if required)
# echo "sys-kernel/mips-sources cobalt" >> /etc/portage/package.use
# emerge mips-sources

so now i have run it again but this time i have only gone with running the following commands

# mkdir -p /etc/portage
# emerge mips-sources


can anyone tell me if thats correct?
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: Fri Dec 30, 2005 11:33 am    Post subject: Reply with quote

Well, you don't even have to do the mkdir /etc/portage. Just emerge mips-sources should do exactly what you want.

I'm still not completely clear on what the problem is though.
_________________
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
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Fri Dec 30, 2005 11:52 am    Post subject: Reply with quote

hi, the problem is now when i get to run the command

ls -l /usr/src/linux i get
"total 0"
which isn't what the guide says i should be getting.

and i also dont understand the part about
"you should switch to the default-linux/mips/mips64/RELEASE profile by altering the /etc/make.profile symlink"

it seems i can run the zcat /proc/config.gz > .config
but i am unable to run the "make oldconfig" and the make menu config it just says
MAKE *** no rule to make target, so i am guessing that i have either missed something or done something wrong on this page of the guide...

any help is much appericiated


mattm
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: Fri Dec 30, 2005 12:03 pm    Post subject: Reply with quote

You might be better off popping into #gentoo-mips (irc.freenode.net) by the sounds of things...

Okay... have you run emerge mips-sources yet? You need to run this command in order to unpack and install a set of kernel sources.

As for altering the /etc/make.profile symlink ... the guide assumes basic proficiency with a Linux command line. Since many of our users are already familiar with the Linux command line, I have not covered its usage here. To do so would yeild a handbook thicker than the book of War and Peace. ;-)

These commands...
Code:
rm /etc/make.profile
ln -s /usr/portage/profiles/default-linux/mips/mips64/2005.0 /etc/make.profile

... should do that for you.
_________________
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
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Fri Dec 30, 2005 1:34 pm    Post subject: Reply with quote

thanks for the help redhatter,

if i now go "cd /usr/src" then do a ls, i can see "linux " and "linux-2.6.14.4-20051030"

but the instuction in the guide says to do a "ls -l /usr/src/linux" and i should see a symlink but all i get is "total 0" so i am guessing i have either done something wrong of miss configured something somewhere
Back to top
View user's profile Send private message
Evangelion
Veteran
Veteran


Joined: 31 May 2002
Posts: 1087
Location: Helsinki, Finland

PostPosted: Wed Jan 04, 2006 9:08 am    Post subject: Re: stumped by the install on a sgi o2 [resolved] Reply with quote

mattie01 wrote:
this is my second ever install of linux the first being suse 10 onto a x86 machine.


Offtopic, but... I have to admire your courage :). You moved from a "next-next-next-next-done"-installation on a well-supported architecture, to installing Gentoo on a SGI-workstation. That take courage and balls, if I may say so!
_________________
My tech-blog | My other blog
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Fri Jan 06, 2006 5:40 am    Post subject: Reply with quote

mattie01 wrote:
thanks for the help redhatter,

if i now go "cd /usr/src" then do a ls, i can see "linux " and "linux-2.6.14.4-20051030"

but the instuction in the guide says to do a "ls -l /usr/src/linux" and i should see a symlink but all i get is "total 0" so i am guessing i have either done something wrong of miss configured something somewhere


A symlink is similar, but radically different to a Windows shortcut. It's a reference to a file someplace else on a linux system. There's two forms of links: hard linking, and symbolic linking (symlink). Hard links create an exact reference to the same inode on the disk I believe, while a symbolic link simply "points" to the destination.

In this case:
Code:
# ls -l /usr/src/linux
lrwxrwxrwx  1 root root 37 Sep 19 19:58 /usr/src/linux -> /usr/src/linux-2.6.13.1-20050902.ip30/


If you're seeing "total 0", then do:
Code:
# ls -l /usr/src


And you should see somrthing like the following:
Code:
total 216M
-rw-r--r--   1 root root 207M Jul 11 20:45 hello
-rw-r--r--   1 root root  19K Oct  5 21:17 ip22-r5k-20050606.cf
-rwxr-xr-x   1 root root 8.6M Sep 20 17:33 ip32-r5k-20050904.img*
lrwxrwxrwx   1 root root   37 Sep 19 19:58 linux -> /usr/src/linux-2.6.13.1-20050902.ip30/
drwxr-xr-x  18 root root 4.0K Oct 15 21:15 linux-2.6.13.1-20050902.ip30/
drwxr-xr-x  18 root root 4.0K Oct 22 22:52 linux-2.6.13.4-20050914.ip30/
drwxr-xr-x  18 root root 4.0K Jan  3 12:01 linux-2.6.14.5-20051030.ip30/



--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
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