Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem installing Gentoo on a SparcStation 5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Sun Mar 28, 2004 5:44 pm    Post subject: Problem installing Gentoo on a SparcStation 5 Reply with quote

Hi all,

For the impatient readers :wink: : 'emerge sync' seems to hang/sleep.

I am trying to get Gentoo running on a SparcStation 5, model 5-110. It has 96MB of memory, a 2Gb scsi disk an an external scsi cdrom (the internal one is broken, so I disconnected it).

First I had some arguments with the external cdrom. It showed up as all possible scsi IDs. Luckily in the end I won the argument :D . It turned out to be a broken scsi ID selector switch of the external drive. Using normal jumpers did the trick in the end.

So, I can boot the historical Gentoo Linux livecd, which I also used for installing my UltraSparc 5 system.

I partitionned the drive:
Code:
# fdisk -l /dev/sda

Disk /dev/sda (Sun disk label): 19 heads, 80 sectors, 2733 cylinders
Units = cylinders of 1520 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0        44     33440   83  Linux native
/dev/sda2 u          44       303    196840   82  Linux swap
/dev/sda3             0      2733   2077080    2  Whole disk
/dev/sda4           303      2733   1846800   83  Linux native


I set up /dev/sda1 and /dev/sda4 to be the /boot resp. / (root) partitions and choose ext2 as filesystem. Next I mounted the partitions under /mnt/gentoo and /mnt/gentoo/boot. Mounted the CD and untarred the stage3 tarball. Also mounted /mnt/gentoo/proc.

Next thing was to get networking up. Needed to do this the manual way:
Code:
# ifconfig lo 127.0.0.1
# ifconfig eth0 192.168.2.199
# route add default gw 192.168.2.254

And set up /etc/resolv.conf
Code:

# cat /etc/resolv.conf
nameserver 192.168.2.200
search mendelejev.net

(Note mendelejev.net is my local lan domain. I will probably change it to mendelejev.lan in the future as to be sure nbot to conflict with official interet domains. However, this setup works for all other macines.)

I tested the network by pinging some externally known domain, using a URL in stead of IP to make sure DNS lookups work as well. I copied the /etc/resolv.conf to the /mnt/gentoo/etc directory. So now I'm ready to chroot.

Chrooting works fine. Get to run env-update and source /etc/profile.

Here I see a strange thing:
Code:

# env-update
>>> Note ......
>>> Regenerating ...
ldconfig[77]: Unimplemented SPARC system call 69


I get a warning about the same system call for whoami when I run source/etc/profile. This might be due to the fact that the boot cd uses BusyBox. Not sure

This is as far as I get as I need to emerge sync the portage tree, and that doesn't work.
Code:

# emerge sync
>>> Note: /etc/make.profile isn't available; an 'emerge sync' will probably fix this.
>>> starting rsync with rsync://cvs.gentoo.org/gentoo-x86-portage...


Then is stops. Or hangs. When I use top to look at what it going on the processes are there but doing nothing.

I also worry a bit about the gentoo-x86-portage part, but this may be a historical name.

:?: I'm a bit stuck now. Does anyone here have an idea what might be wrong and how to fix it. It would be nice to have this old box running gentoo as well.
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Sun Mar 28, 2004 5:46 pm    Post subject: Reply with quote

Just saw the following announcement: Removing default-sparc-1.0 and default-sparc64-1.0 profiles

Might this be related? And how do I fix it?
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Sun Mar 28, 2004 6:29 pm    Post subject: Reply with quote

Ok, I let my machine in the sleeping state, and finally it got back with the following:
Code:

# emerge sync
>>> Note: /etc/make.profile isn't available; an 'emerge sync' will probably fix this.
>>> starting rsync with rsync://cvs.gentoo.org/gentoo-x86-portage...
rsync: failed to connect to cvs.gentoo.org: Connection timed out
rsync error: error in socket IO (code 10) at clientserver.c(89)


It seems to be network related. But I can ping cvs.gentoo.org.
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
hardave
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 38
Location: Alberta, Canada

PostPosted: Sun Mar 28, 2004 9:46 pm    Post subject: Reply with quote

You appear to be trying to rsync against cvs.gentoo.org, which doesn't seem to provide rsync access. Edit your make.conf and set your you SYNC variable as such:

Code:
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Mon Mar 29, 2004 2:09 am    Post subject: Reply with quote

You might also see if you have cvs in your FEATURES line in make.conf. This will cause that to happen.
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Mon Mar 29, 2004 7:33 am    Post subject: Reply with quote

I do not have that in make.conf. (No FEATURES line at all, and USE is empty as well). make.conf is very barebones. I'm running it straight from the stage3 tarball extraction. And it failed with the stage1 as well.

I will check the livecd as mentionned here as well. Maybe mine is a bit too old for some reason.

Is the rsync address correct, or should I use another one?

Thanks for helping
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
GenTimJS
Guru
Guru


Joined: 03 May 2003
Posts: 406
Location: NH, USA

PostPosted: Mon Mar 29, 2004 1:59 pm    Post subject: Reply with quote

after you chroot dont forget to
Code:
source /etc/profile

after you do the env-update
_________________
-Tim Smith
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Mon Mar 29, 2004 2:19 pm    Post subject: Reply with quote

Hi GenTimJS,

Thanks for trying to help out, but as you can read in my post, I did run source /etc/profile. I just didn't write it formatted as
Code:
source /etc/profile
:wink:

I also noticed that it resulted in an error/warning when running whoami. This might be related of course. I'll see when I get home.

At least I will get the latest sparc32 livecd, I think it is newer than mine. It still feels strange because I used the current one for the other installation (ultra 5) as far as I can remember.
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Mon Mar 29, 2004 2:24 pm    Post subject: Reply with quote

OFF TOPIC:

GenTimJS:
Nice domain name you have! (Not sure if I want you as my sysadmin though, I might see all my processes misteriously disappear :wink: )

I also saw the Ultrasparc driven image, is it a free image? Looks nice.

Cheers
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Mon Mar 29, 2004 8:13 pm    Post subject: Reply with quote

Well, it seems the latest sparc32 livecd did the trick. Probably the old one doesn't work with the current state of the portage mirrors or ... I don't know.

At least, this one works fine. It only takes ages before the first emerge sync is done on this box.

Now going to fetch the kernel sources...

Cheers
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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