View previous topic :: View next topic |
Author |
Message |
Lviz n00b
Joined: 24 Apr 2003 Posts: 8
|
Posted: Thu Apr 24, 2003 7:06 pm Post subject: use the aurora sparc distro cd for boot kernel 2.4 |
|
|
hi all
use the cd 1 from aurora sparc distro to boot
2.4 kernel
all problems are gone for me .
regards
lviz
http://auroralinux.org/ |
|
Back to top |
|
|
torradan Retired Dev
Joined: 29 Dec 2002 Posts: 52 Location: Niagara Falls, NY
|
Posted: Fri Apr 25, 2003 1:33 pm Post subject: |
|
|
This is all well and good to get the machine to boot this way, but we're trying to fix our current test iso to work on sparc32 and ultrasparc machines for the 1.4 release.
We need people to test the isos, and either post on here, hop on irc and tell us the problems, or email to the gentoo-sparc mailing list so that we can fix the problems and get it all working.
Bear with us while we get this worked out. _________________ -Todd <todd@gentoo.org>
-Gentoo/SPARC Developer |
|
Back to top |
|
|
Lviz n00b
Joined: 24 Apr 2003 Posts: 8
|
Posted: Fri Apr 25, 2003 1:55 pm Post subject: |
|
|
torradan wrote: | This is all well and good to get the machine to boot this way, but we're trying to fix our current test iso to work on sparc32 and ultrasparc machines for the 1.4 release.
We need people to test the isos, and either post on here, hop on irc and tell us the problems, or email to the gentoo-sparc mailing list so that we can fix the problems and get it all working.
Bear with us while we get this worked out. |
Ok no problem i'll test
btw: where are the test isos is /~manson/iso the right place ?
hope to hear from you soon
i'll try in on an ss20 4 way ross hypersparc quad ethernet
cheers
lviz |
|
Back to top |
|
|
torradan Retired Dev
Joined: 29 Dec 2002 Posts: 52 Location: Niagara Falls, NY
|
Posted: Tue Apr 29, 2003 6:31 pm Post subject: |
|
|
the latest test can be found at:
http://cvs.gentoo.org/~weeve/iso/gentoo-s32-s64-test3.iso
beware though, openssl still seems to be b0rked on it, so you'll have to wget one of the stage tarballs either with a debian cd (maybe aurora works, i dunno). Working on solving that problem now. _________________ -Todd <todd@gentoo.org>
-Gentoo/SPARC Developer |
|
Back to top |
|
|
teamgoodwrench n00b
Joined: 06 May 2003 Posts: 3
|
Posted: Tue May 06, 2003 2:43 pm Post subject: |
|
|
OK.. how do you use the Aurora CD 1 to boot and install gentoo ???
I can boot the Aurora CD, but there is no "ramdisk" option and the "rescue" option talks about needing a diskette -- my Sparcstation 5 only has a CD-ROM -- no diskette.
Help !
Thanks |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Fri May 09, 2003 1:00 pm Post subject: |
|
|
after 2 days of trying with the 1.1a boot-cd, i figured out that it simply won't work and then found this forum.. will try the new image also, on a sparcstation 5.
/// tomas
torradan wrote: | the latest test can be found at:
http://cvs.gentoo.org/~weeve/iso/gentoo-s32-s64-test3.iso
beware though, openssl still seems to be b0rked on it, so you'll have to wget one of the stage tarballs either with a debian cd (maybe aurora works, i dunno). Working on solving that problem now. |
|
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Wed May 14, 2003 11:43 am Post subject: |
|
|
booting and installing worked fine, but the machine won't boot, silo tells me something about old prom version (SMCC) which can't read stuff written to over 1GB....?!? what to do ?
tomas
torradan wrote: | the latest test can be found at:
http://cvs.gentoo.org/~weeve/iso/gentoo-s32-s64-test3.iso
beware though, openssl still seems to be b0rked on it, so you'll have to wget one of the stage tarballs either with a debian cd (maybe aurora works, i dunno). Working on solving that problem now. |
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed May 14, 2003 12:04 pm Post subject: |
|
|
What you want to do is make sure the partition your kernel is in is under the 1GB limit. For instance, making your first partition something small (10 or 20MB) and making it /boot takes care of this problem (Note: you also may need to put your silo.conf in /boot/etc to have silo work right). |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Wed May 14, 2003 12:15 pm Post subject: |
|
|
that's what i fear,
is there any possibility to shift partitions dynamically ? i don't want to do all this procedure which took me some days again...?!?
tomas
Weeve wrote: | What you want to do is make sure the partition your
kernel is in is under the 1GB limit. For instance, making your first partition something small (10 or 20MB) and making it /boot takes care of this problem (Note: you also may need to put your silo.conf in /boot/etc to have silo work right). |
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed May 14, 2003 12:25 pm Post subject: |
|
|
You can try looking at the GNU parted software but I have not attempted to use it on sparc, so I have no clue if it works or not. What I've done in this situation is boot with the cd and once inside the chroot, mount an nfs partition from the network file server and tar up my fs onto the nfs partition. Then you can re-partition the disk and extract the tarball back onto the system without loosing all your work.
Hope that helps |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Wed May 14, 2003 3:46 pm Post subject: |
|
|
yes, this was second choice, but i was so lucky that i put swapspace to sector 0-690, so i could delete this swap space and repartition one little 10M boot part and rest is swap, this worked fine. second my pretty long compiled kernel wouldn't boot "watchdog reset!", first approach was to take the "up" kernel of the test3 cd. this boots.... but i'd like to use my kernel.... will check settings against .config on cd.
bye.
tomas
Weeve wrote: | You can try looking at the GNU parted software but I have not attempted to use it on sparc, so I have no clue if it works or not. What I've done in this situation is boot with the cd and once inside the chroot, mount an nfs partition from the network file server and tar up my fs onto the nfs partition. Then you can re-partition the disk and extract the tarball back onto the system without loosing all your work.
Hope that helps |
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed May 14, 2003 3:53 pm Post subject: |
|
|
Which kernel did you choose to use? It sounds like you used the vanilla-sources or one you downloaded. You'll need to adjust your kernel's makefile to use kgcc instead of gcc if this is the case. |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Wed May 14, 2003 4:25 pm Post subject: |
|
|
first i tried 2.4.18 from www.kernel.org, because they were mentioned in the sparc-install-faq... they wouldn't compile on sparc32 anyway, did some checkings in the source code that produced errors, and there were significant differencies between sparc32 and 64 sources, so i downloaded 2.4.20 from www.ultralinux.org, it looked like this one would compile on sparc32, and it did perfectly well. i'm not sure, but i think gcc was used. how do i tell to use kgcc (and what IS kgcc ???) or which kernel-sources (and from where) do you suggest ?
thanks for helping.
tomas
Weeve wrote: | Which kernel did you choose to use? It sounds like you used the vanilla-sources or one you downloaded. You'll need to adjust your kernel's makefile to use kgcc instead of gcc if this is the case. |
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed May 14, 2003 4:34 pm Post subject: |
|
|
If you are running a uni-processor system (single processor) sparc-sources will work fine. If you use sparc-sources it knows about kgcc and uses it by default so you wouldn't have to do anything different from a regular kernel complation. If you are running an SMP system, you will need vanilla-sources (which is the same as downloading the kernel source from a mirror.
The problem with sparc32 machines and the kernel is that gcc-3.x cannot currently be used to compile a working kernel (partly gcc's fault, partly kernel sources fault). The way to make a working kernel is to use gcc.-2.95.3. What kgcc is is a stripped down version of gcc-2.95.3 which consists of only what you need to compile the kernel. To adjust a kernel to use this, just change the line in the (assuming your kernel source is in /usr/src/linux) /usr/src/linux/Makefile from "CC = $(CROSS_COMPILE)gcc" to "CC = $(CROSS_COMPILE)kgcc" and you should be all set. |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Wed May 14, 2003 4:48 pm Post subject: |
|
|
yes, you're right, my gcc was 3.2.2, and i should have known myself how to change to kgcc. kgcc -v gives 2.95.3.something. started compiling... we'll see tomorrow, thanks anyway.
tomas
Weeve wrote: | If you are running a uni-processor system (single processor) sparc-sources will work fine. If you use sparc-sources it knows about kgcc and uses it by default so you wouldn't have to do anything different from a regular kernel complation. If you are running an SMP system, you will need vanilla-sources (which is the same as downloading the kernel source from a mirror.
The problem with sparc32 machines and the kernel is that gcc-3.x cannot currently be used to compile a working kernel (partly gcc's fault, partly kernel sources fault). The way to make a working kernel is to use gcc.-2.95.3. What kgcc is is a stripped down version of gcc-2.95.3 which consists of only what you need to compile the kernel. To adjust a kernel to use this, just change the line in the (assuming your kernel source is in /usr/src/linux) /usr/src/linux/Makefile from "CC = $(CROSS_COMPILE)gcc" to "CC = $(CROSS_COMPILE)kgcc" and you should be all set. |
|
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Thu May 15, 2003 11:06 am Post subject: |
|
|
yap,
compiling went fine. took about 4-5 hours.... kernel was bootable... now i'll try to install X11
tomas |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Thu May 15, 2003 11:11 am Post subject: |
|
|
Glad it worked |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Thu May 15, 2003 12:53 pm Post subject: now X11... :) |
|
|
puh, this is my first message unser gentoo/sparc, with self-compiled kernel. emegred lynx to connect to gentoo org. i have some 500MB free, can i try to install X11 ? what happens if not enough space is available ? for binaries it should be enough, but if i emerge i think X11 will get compiled for/by my machine... and then with 500MB ???? /// tomas |
|
Back to top |
|
|
tmuehlhoff n00b
Joined: 09 May 2003 Posts: 11
|
Posted: Thu May 15, 2003 12:56 pm Post subject: XClient only |
|
|
or... can i use it as XClient only ??? |
|
Back to top |
|
|
|