View previous topic :: View next topic |
Author |
Message |
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sat May 22, 2004 10:03 pm Post subject: 2004.1 on Sparc64 |
|
|
Is it my imagination or is 2004.1 SPARC64 NOT ready for primetime? I was able to get a stage3 install to extract. I got silo installed (1.3.3-r1, not the included 1.4.4). Not a single kernel I tried to compile would compile error free. After messing around with it for a good 10 hours I am making no headway and have no bootable system except for the live CD.
Screw it. I'm going back to 2004.0 for now. Hopefully it works. Last Gentoo I installed on this Ultra 2 was 1.4 and it worked flawlessly. |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sat May 22, 2004 11:51 pm Post subject: |
|
|
I've had no problems on an Ultra 2 I've built out with the 2004.1 sets. Going back to 2004.0 probably isn't really going to change anything unless you use the portage snapshot on the CD over the live tree. As for kernels not building, are you sure the problem is due to Gentoo and not broken drivers in the kernel or bad config options? |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sun May 23, 2004 12:00 am Post subject: |
|
|
I'm in the middle of another kernel compile (this time in 2004.0) and will post whatever messages I get. Problem is it takes a very long time for the errors to come up on each iteration.
Anyhow I've compiled literally hundreds of kernels on sparc and x86. I never had this kind of difficulty getting it to compile before! |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sun May 23, 2004 12:07 am Post subject: |
|
|
Yep. No luck on 2004.0 either - just as you predicted. This is what I get and I have no idea what the hell it means.
Code: |
make[2]: Leaving directory `/usr/src/linux-2.4.26-sparc/arch/sparc64/math-emu'
make[1]: Leaving directory `/usr/src/linux-2.4.26-sparc/arch/sparc64/math-emu'
ld -m elf64_sparc -T arch/sparc64/vmlinux.lds arch/sparc64/kernel/head.o arch/sparc64/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/sparc64/kernel/kernel.o arch/sparc64/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/sparc64/math-emu/math-emu.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sbus/sbus_all.o drivers/video/video.o drivers/media/media.o drivers/input/inputdrv.o crypto/crypto.o \
net/network.o \
grsecurity/grsec.o \
/usr/src/linux-2.4.26-sparc/lib/lib.a /usr/src/linux-2.4.26-sparc/lib/lib.a /usr/src/linux-2.4.26-sparc/arch/sparc64/prom/promlib.a /usr/src/linux-2.4.26-sparc/arch/sparc64/lib/lib.a \
--end-group \
-o vmlinux
drivers/input/inputdrv.o(.text+0xc84): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcdc): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xce8): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcf8): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xd40): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xd58): more undefined references to `handle_scancode' follow
drivers/input/inputdrv.o(.text.init+0x9c): In function `keybdev_init':
: undefined reference to `kbd_ledfunc'
drivers/input/inputdrv.o(.text.init+0xa0): In function `keybdev_init':
: undefined reference to `kbd_refresh_leds'
drivers/input/inputdrv.o(.text.init+0xa4): In function `keybdev_init':
: undefined reference to `kbd_ledfunc'
make: *** [vmlinux] Error 1
livecd linux #
|
It seems obvious but how do I fix this extremely annoying problem? |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sun May 23, 2004 12:16 am Post subject: |
|
|
My guess would be that something in the input core support section is missing. What do your options there look like? |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sun May 23, 2004 12:22 am Post subject: |
|
|
Input core options are defaulted. Hang on. I was just able to emerge the 2.6.6 kernel. Let's see what the produces.... |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sun May 23, 2004 4:19 am Post subject: |
|
|
Man have I gone completely stupid?!
I got kernel 2.6.6 to compile cleanly but now silo is complaining that it can't load the root partition! Aghhh! I've only been at this for 15 hours today... This is NOT getting old. Shah!
So what the heck does this mean...
Code: |
VFS: Cannot open root device "sda5" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
|
This is what my /boot/silo.conf looks like...
Code: |
partitition=1
root=/dev/sda5
timeout=5
image=/boot/kernel-2.6.6
label=linux
|
I did do silo -C /boot/silo.conf.
/dev/sda1 is ext2 and mounted at /boot
/dev/sda5 is /
/dev/sda5 is a reiserfs partition. Reiserfs is compiled into the kernel as is ext2. I'm at Witts-end here. HELP! |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sun May 23, 2004 8:53 pm Post subject: |
|
|
Oddly enough I can get by the kernel compilation problem if I compile in PCI support. Go figure!
Anyhow I decided to start over using 2004.1 with the 2.4.26 kernel. Hopefully I'll have more luck this time around.
[EDIT]
Well I got it to boot! Silo was giving me some grief (not the illegal instruction that others are having). It was telling me "fast mmu data miss" whenever I tried to boot from the hard disk but would boot the cdrom fine. It looked like a hardware problem but wasnt.
[/EDIT] |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Sat May 29, 2004 4:59 pm Post subject: Retraction |
|
|
Well it is up and running for nearly a week without a hitch. I retract my initial statement that it's not ready for primetime! I was just getting frustrated because I had installed Gentoo on that box successfully on more than 1 occasion with relative ease. The install docs have gotten better! |
|
Back to top |
|
|
imk n00b
Joined: 03 Jun 2004 Posts: 1 Location: Perth, Western Australia
|
Posted: Mon Jun 14, 2004 3:34 am Post subject: |
|
|
The PCI requirement appeared to be because the framebuffer code required a PCI device list. A patch I received set it to a NULL list and I got past that.
I believe it was fixed in later 2.6.6-mm? kernels. If I remember rightly it doesn't need to be selected in the recent 2.6.7-rc series. At least I think I was able to compile and boot 2.6.7-rc3-mm1 without PCI support the other day.
Alas Ultra 1 cgsix frame buffer code still broken. |
|
Back to top |
|
|
|