Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keeping the sparc32 arch up ;)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Ixar
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Thu May 10, 2007 1:08 pm    Post subject: Keeping the sparc32 arch up ;) Reply with quote

Hello,

I am going to do the necessary steps to keep the sparc32 architecture working.
I already have my sparcstation 5 running a gentoo 2006.1, and I am trying to make the 2007.0 work.
The work is in progress, I am waiting for some compilations to finish.

I plan to setup a distcc with cross-compilation as suggested yesterday on IRC to speed up things.

I will give feedback about my progress in this thread.
My patches will be submitted to bugzilla if I produce anything useful.

I don't know if I have the necessary skills to solve all the problems I might encounter, but I will try.
Once I have something workable, I would be interested in other people trying, eventually on other sparc32 machines.

If you have suggestions on the way I should be working, or the steps I should follow, you are welcome.
My goal is to make something that is useful to the community, not only for me.
I am gathering documentation any pointer is welcome, especialy documentation related to the release testing process.

Today I have the following setup:
- SS5 (64 MB ram) with gentoo 2006.1
- i686 with gentoo 2006.1, NFS server, Portage Overlay for sparc32 tweaks, (cross compile distcc coming soon)
- athlon-xp with gentoo 2006.1, (cross compile distcc coming soon)

Ixar
Back to top
View user's profile Send private message
Ixar
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Sat May 12, 2007 9:05 am    Post subject: Reply with quote

I have now cross-distcc working.
It's a breeze ;)
Back to top
View user's profile Send private message
Ixar
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Mon May 14, 2007 9:30 am    Post subject: Reply with quote

I am now setting up a NFS root in order to get more space to test/build all the required packages... This will also allow me to switch easily between different root while performing tests.

I had some problems with the tftp experimental image provided by weeve:
- mke2fs seems broken (solved using a debian image) Bug report
- dhcp does not work (at least on my machine), I had to manually configure the NIC, that's not a serious problem, but I am just bad at remembering my network config ;)

I have read the gentoo release guidelines, to know more about required steps to have a sparc32 2007.0 release.
Back to top
View user's profile Send private message
cassee
n00b
n00b


Joined: 25 May 2007
Posts: 1

PostPosted: Fri May 25, 2007 12:17 pm    Post subject: Thanks for the effort! Reply with quote

I will be dusting off my old SS10 (2 CPU's, 64 MB RAM), and I would love to be able to run Gentoo on it. Almost no other Linux distribution (of any other OS) runs on the thing anymore.

Thanks for the effort!
Back to top
View user's profile Send private message
Ixar
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Sun May 27, 2007 8:52 pm    Post subject: Reply with quote

I am still working on it, however even using cross-distcc it is quite slow ;)
I have already rebuild proper boot images, and I am validating my 2007.0 install...
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Sat Jan 31, 2009 9:23 pm    Post subject: Reply with quote

lxar,

I have just seen your post. I have an SS20 and am very keen to install Gentoo on it. Can you provide any images/ ISO's?

Thanks,

Chris.
Back to top
View user's profile Send private message
Ixar
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Sun Feb 01, 2009 6:05 pm    Post subject: Reply with quote

Hi Chris !

The ISO I built almost 2 years ago have passed away...

I just had a look at the official distribution and I find no more sparc32 related stage even in the experimental directory.
So it looks like it is really the end of Gentoo/Sparc32 as announced.

My SS20 is still running on gentoo... but as you guess I am not reinstalling it very often ;)
The remaining alternatives are Debian or an *BSD (or Solaris 2.x).

Good luck !
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Sun Feb 01, 2009 6:58 pm    Post subject: Reply with quote

Hi, lxar.

Unfortunately the Debian installs I have tried have been very limited (and the installs troublesome, especially as Debian usually installs very easily). *BSD is an option, but I'm a GNU/Linux man. Is it possible for me to use any images that you have, to do an install? My other options are Aurora or Splack.

Cheers,

Chris.
Back to top
View user's profile Send private message
Ixar
n00b
n00b


Joined: 02 May 2007
Posts: 15

PostPosted: Sun Feb 01, 2009 8:17 pm    Post subject: Reply with quote

Unfortunately the boot disk I made relied on the stages/isos present in the "experimental" directory.
I basically just changed the mke2fs tools, dhcp and the kernel to have everything working straight out of the box.
But once started you need the stage tarball to start the install, and it does not exists anymore.

Booting with the debian CD to start a gentoo install from stage3 tarball have exactly the same effect (minus the gentoo logo
during install), but as the stage do not exist, I do not know how you could perform the installation.

Another option you might have is to do a cross-LFS ( http://www.linuxfromscratch.org/ ),
but yet none exists for sparc32 (although it should not be complicated to start from another one).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32165
Location: 56N 3W

PostPosted: Sun Feb 01, 2009 8:38 pm    Post subject: Reply with quote

chris_andrew,

Ask in freenode #gentoo-sparc some of the sparc devs may have that stage lying aroud.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Sun Feb 01, 2009 9:15 pm    Post subject: Reply with quote

Thanks, guys. I'll do that.

Just in-case any of the Sparc guys are reading this, do you know whether the appropriate Stage is available, anywhere?

I hope to get an Ultra box soon, but would still like to try to get Gentoo working on 32-bit, if at all possible.

Cheers,

Chris.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Tue Feb 03, 2009 10:52 pm    Post subject: Reply with quote

Lxar,

Does this help?

http://ftp.csie.chu.edu.tw/pub3/Gentoo/releases/sparc/2006.0/sparc32/stages/

I also have the 2005.0 boot cd for sparc(32).

Cheers,

Chris.
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Wed Mar 18, 2009 6:41 pm    Post subject: Reply with quote

Last week I have been looking for old tar-bals. Here:

http://ftp.dedibox.fr/pub/gentoo/releases/sparc/

I found the 2005 and 2006 tar-bals.

Next to my Ultra2 I have a Dual processor SparcServer !? 20 with a second network card I want to install as a firewall. I tried Aurora, but I get so tired of all the stuff I have to deïnstall. So keep us informed of any experiences!

Hika
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Wed Mar 18, 2009 7:23 pm    Post subject: Reply with quote

hika,

I would still like to get my SS20 working with GNU/Linux, but sadly, I think this is probably not going to happen. Even Aurora are going to drop support, and Splack seems to have a very small following and things don't seem good. Unless anybody knows any other route, I think due to the sparc (32) kernel stuff not being maintained, the future looks bleak.

I think *BSD is the only way to go, for supported software.

I'd love to hear something different, though.

Cheers,

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Thu Mar 19, 2009 2:54 am    Post subject: Boot cd Reply with quote

If I'm looking at things rightly, if I boot the machine with for instance my Aurora cd I could continue installing gentoo with the 2006.1 tarball? Or am I wrong?

Only the Aurora cd only supports raid and no lvm, which means a max of 7 different partitions root, swap, usr, var, tmp, portage, distfiles and home is already 8. Of cause I could keep a part out of the raid1, on a firewall the last 4 don't realy need that security.
After long searching I found the old Debian 4 cd's but the machine crashes at boottime after installing the esp scsi driver at 47%. One time it went past but then couldn't find the CD? With Aurora it boots OK. Weird! Do you know if they support lvm at install time? If not I stop trying.

Hika
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Thu Mar 19, 2009 12:23 pm    Post subject: Re: Boot cd Reply with quote

hika wrote:
If I'm looking at things rightly, if I boot the machine with for instance my Aurora cd I could continue installing gentoo with the 2006.1 tarball? Or am I wrong?

Hika


I'd love to know the answer to this. The Debian issue is well documented. I found the best thing to do was to use a Sarge CD, then upgrade the dist to Etch. I found that if I updated the kernel though, my install broke. If what you say above is true, then I'd just do a basic Sarge install and then install Gentoo.

Hope this helps,

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Thu Mar 19, 2009 2:40 pm    Post subject: Reply with quote

Thanks! I found a Sarch cd, that boots OK and! supports lvm2. The only trouble is how to get the stage tar-bal on the machine, because it has no ssh or browser. I first am going to try to put it there by cd. If that won't work I guess I first have to make a minimal debian install to make the machine accessible, put it there and start the real install...

I untar the stage and the portage tree, configure the base system and start trying to make a working kernel.
If that all works I have a running machine!
As long as I compile everything 32 bit, I don't see any other problems than the usual. Anyway as far as I understand on most distros it's only the kernel realy running 64 bits. They all talk about still maintaining 32 bit userland.

Keep you informed!

Hika

(can take a few days. I also want to make an install script first. The machine is not really in a comfortable position. )
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Thu Mar 19, 2009 3:14 pm    Post subject: Reply with quote

hika wrote:
Thanks! I found a Sarch cd


Is Sarch a distro?

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Thu Mar 19, 2009 3:17 pm    Post subject: Reply with quote

Please forgive me for misspelling:Sarge Debian 3.1 r5

Hika
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Thu Mar 19, 2009 3:20 pm    Post subject: Reply with quote

:-) I thought it may have been a version of Arch released for Sparc.

I'm really keen to hear how this goes, as I'd like to do the same.

Many thanks,

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Thu Mar 19, 2009 4:40 pm    Post subject: Version names Reply with quote

Actually I don't like naming versions by a name. Because it doesn't give any information at all. I had to look several times to get names and versions for Debian in my memory sorted right. In the process I forgot the spelling.
It's all part of the hiding game Microsoft, Intel etc. play to confuse the consumer. Just follow a numerical scheme with major and minor numbering, so you know where they all stand relative to each other without first having to look it up. Of cause with the numbers they also play games. Wordperfect started numbering at 4 and Word never existed between two and six. At least the year numbering from Gentoo still gives some information, although it would also be interesting to know how many major releases they have seen, which of cause differs per architecture. It tells something about experience.

Hika
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Thu Mar 19, 2009 6:40 pm    Post subject: Reply with quote

Hope the install goes well. Can you keep us informed?

Best of luck.

Chris.
_________________
http://www.whylinuxisbetter.net/
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Sat Apr 11, 2009 11:22 am    Post subject: Reply with quote

As said before I'm trying to get Gentoo running on my SS20. I've installed a minimal version of Aurora and started in a chrooted environment on the 2006.1 tarbal. I had a lot of troubles, I mostly solved, but two remain. Maybe somebody with sparc experience knows something. I already posted both problems on the general kernel and programming forums, but nobody seems to realy know.
If not I'm going to try to create a 32 bit system on my Ultra2 starting with the 2008 tarbal.
The whole upgrade took almost two weeks, not counting the things I had to do again! On the Ultra it will be a lot faster.

The first problem is I can not upgrade glibc I get the error:
Code:
ERROR: unpack
Could not find a gcc that supports the __thread directive!
Please update your binutils/gcc and try again.

ERROR: sys-libs/glibc-2.8_p20080602-r1 failed.
Call stack:
ebuild.sh, line 49: Called src_unpack
environment, line 3239: Called eblit-run 'src_unpack'
environment, line 980: Called eblit-glibc-src_unpack
src_unpack.eblit, line 124: Called toolchain-glibc_src_unpack
src_unpack.eblit, line 59: Called check_nptl_support
src_unpack.eblit, line 25: Called die
The specific snippet of code:
die "No __thread support in gcc!"
The die message:
No __thread support in gcc!


Upgrading gcc to 4.1.2 (which I first had to unmask) won't help.
Could it be that this __thread support is not supported on Sparc32 and if so, could I set the upgrade to not use this feature?

The other problem is that I can't get a running kernel. If I try to boot it SILO panics saying:

Code:
 "Fatal Error: image to large to fit in destination"


This is silo.conf:

Code:
message = /silo.message
timeout = 50
partition = 1
default = aurora

image = /boot/vmlinuz-2.6.23.1-26.5.al3
label = aurora
read-only
root = /dev/sda7
initrd = /boot/initrd-2.6.23.1-26.5.al3.img

image = /boot/linux-2.6.27-gentoo-r8
label = gentoo
read-only
root = /dev/md1
append = "md1,/dev/sda2,/dev/sdb2"


I tried both a compressed and as the handbook 2006.1 suggests an uncompressed kernel. The current uncompressed size is 5.294.601. I already put a lot in modules, but I need raid1 in the kernel.

I'm now off for the weekend and after I continue.

Hika
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 226
Location: Utrecht

PostPosted: Sat Apr 11, 2009 11:24 am    Post subject: Reply with quote

Oh yeah! I forgot to add the current emerge --info
Code:
ortage 2.1.6.7 (default-linux/sparc/sparc32/2006.1, gcc-4.1.2, glibc-2.3.6-r4, 2.6.23.1-26.5.al3 sparc)
=================================================================
System uname: Linux-2.6.23.1-26.5.al3-sparc-sun4m-with-glibc2.0
Timestamp of tree: Tue, 31 Mar 2009 14:15:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.3-r1, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=hypersparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=hypersparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.muntinternet.net/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb cgi clamav cli cracklib crypt dri emboss fbcon foomaticdb fortran ftp gdbm gif gstreamer gtk gtk2 iconv imlib isdnlog jpeg libwww midi motif mudflap ncurses nls openmp oss pam pcre pdf perl php png pppd python readline reflection session sparc spell spl ssl tcpd truetype xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="suncg3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 271
Location: Wiltshire, England

PostPosted: Sat Apr 11, 2009 4:17 pm    Post subject: Reply with quote

Well done, looks like you're going in the right direction.

Chris.
_________________
http://www.whylinuxisbetter.net/
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
Goto page 1, 2  Next
Page 1 of 2

 
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