Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Octane installation problems
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
spbecker
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 73

PostPosted: Wed Nov 02, 2005 2:06 am    Post subject: Reply with quote

Redhatter wrote:
Galahad wrote:
May I ask what the status of VPro is and what will be supported in an upcoming driver? Just console or X, too? And if, will X be accelerated or shadowfb like Impact.
I guess all that would be needed would be an accelerated X over opengl driver.
When it has progressed that far, I'll happily betatest everything I can get my hands on. I even bought a second HD for my octane in anticipation ;) .


I don't think there's a VPro driver for X as yet.... shadowfb or otherwise.
In fact, I don't even think Skylark's figured out DMA on VPro yet -- which will hurt performance rather bad.



s/I don't think there's/There isn't a/

And no, he certainly hasn't figured out DMA on vpro which is the very reason why no such driver exists.
Back to top
View user's profile Send private message
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Wed Nov 02, 2005 9:13 pm    Post subject: Reply with quote

Quote:

I just had a look now, I believe the config option you're after is one of CONFIG_FB_IMPACT, CONFIG_FB_IMPACTSR or CONFIG_FB_VPRO(?). I don't see any of those for that kernel config. ;-)


I Added these options and...

LD vmlinux
drivers/built-in.o(.text+0x16440): In function `impactsr_earlychar':
: undefined reference to `font_vga_8x16'
drivers/built-in.o(.text+0x16444): In function `impactsr_earlychar':
: undefined reference to `font_vga_8x16'
drivers/built-in.o(.text+0x16448): In function `impactsr_earlychar':
: undefined reference to `font_vga_8x16'
drivers/built-in.o(.text+0x16454): In function `impactsr_earlychar':
: undefined reference to `font_vga_8x16'
drivers/built-in.o(.text+0x185f4): In function `odyssey_earlychar':
: undefined reference to `font_vga_8x16'
drivers/built-in.o(.text+0x185f8): more undefined references to `font_vga_8x16' follow
make: *** [vmlinux] Error 1
Back to top
View user's profile Send private message
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Wed Nov 02, 2005 9:17 pm    Post subject: Reply with quote

I am now compiling the netboot .config

will let u know
Back to top
View user's profile Send private message
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Wed Nov 02, 2005 9:21 pm    Post subject: Reply with quote

Sorry , it was too fast.

Just after I typed make.......etc.

arch/mips/ramdisk/ramdisk.S: Assembler messages:
arch/mips/ramdisk/ramdisk.S:7: Error: file not found: arch/mips/ramdisk/../../../../sgimips-initrd-20050724.img.gz
make[1]: *** [arch/mips/ramdisk/ramdisk.o] Error 1
make: *** [arch/mips/ramdisk] Error 2


It seems it's looking for something I do not have or built.

I removed it from the config file and re-compiling.
Back to top
View user's profile Send private message
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Wed Nov 02, 2005 9:24 pm    Post subject: Reply with quote

Didn't go very far:

arch/mips/kernel/process.c:295: error: `__preempt_spin_lock' undeclared here (not in a function)
arch/mips/kernel/process.c:295: error: initializer element is not constant
arch/mips/kernel/process.c:295: error: (near initialization for `mfinfo[12].func')
arch/mips/kernel/process.c:295: error: initializer element is not constant
arch/mips/kernel/process.c:295: error: (near initialization for `mfinfo[12]')
arch/mips/kernel/process.c:296: error: `__preempt_write_lock' undeclared here (not in a function)
arch/mips/kernel/process.c:296: error: initializer element is not constant
arch/mips/kernel/process.c:296: error: (near initialization for `mfinfo[13].func')
arch/mips/kernel/process.c:296: error: initializer element is not constant
arch/mips/kernel/process.c:296: error: (near initialization for `mfinfo[13]')
arch/mips/kernel/process.c:299: error: initializer element is not constant
arch/mips/kernel/process.c:299: error: (near initialization for `mfinfo[14]')
arch/mips/kernel/process.c:302: error: initializer element is not constant
arch/mips/kernel/process.c:302: error: (near initialization for `mfinfo[15]')
arch/mips/kernel/process.c:303: error: initializer element is not constant
arch/mips/kernel/process.c:303: error: (near initialization for `mfinfo[16]')
make[1]: *** [arch/mips/kernel/process.o] Error 1
make: *** [arch/mips/kernel] Error 2


What am I doing SO wrong?
Back to top
View user's profile Send private message
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Wed Nov 02, 2005 11:11 pm    Post subject: Reply with quote

It recompiled OK (using the ip30.conf) now after adding the options for the VGA fonts and impactsr but it still hangs to:

"Entering Kernel"

I guess that if I had anything wrong with fstab or other things it should at least boot.

Same thing happens if I change the console to d1 and use the serial port to enter command mode

ARCLoader version 0.43 (c) 2004-5 Stanislaw Skowronek
Loading configuration for 'ip30(sda)'...
Loading xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(8)/linux...
Reading 4113912 bytes... OK.
Reading 807046 bytes... OK.
Entering kernel.
_________________
If windows fails, who you gonna call? Re-install......
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 Nov 03, 2005 9:24 am    Post subject: Reply with quote

cioannou wrote:
Sorry , it was too fast.

Just after I typed make.......etc.

arch/mips/ramdisk/ramdisk.S: Assembler messages:
arch/mips/ramdisk/ramdisk.S:7: Error: file not found: arch/mips/ramdisk/../../../../sgimips-initrd-20050724.img.gz
make[1]: *** [arch/mips/ramdisk/ramdisk.o] Error 1
make: *** [arch/mips/ramdisk] Error 2


It seems it's looking for something I do not have or built.

I removed it from the config file and re-compiling.


Ahh... go into the menuconfig... and somewhere you should see an option for an Embedded Ramdisk -- disable it.
It's looking for an initrd image to stuff into the kernel image -- this is how the netboot images are built. Since you're booting from disk, there's no need for an initrd.
_________________
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
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Thu Nov 03, 2005 12:02 pm    Post subject: Reply with quote

Already did that and:

arch/mips/kernel/process.c:295: error: `__preempt_spin_lock' undeclared here (not in a function)
arch/mips/kernel/process.c:295: error: initializer element is not constant
arch/mips/kernel/process.c:295: error: (near initialization for `mfinfo[12].func')
arch/mips/kernel/process.c:295: error: initializer element is not constant
arch/mips/kernel/process.c:295: error: (near initialization for `mfinfo[12]')


That's why I went for the ip30.conf to which I added support for impact and vga fonts.

It finally compiled but still no boot.
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 Nov 03, 2005 12:33 pm    Post subject: Reply with quote

Still no boot on the serial console? Or no boot on the monitor?
_________________
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
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Sun Nov 06, 2005 5:06 pm    Post subject: Reply with quote

Yes , nothing happens using "g" or "d1" (VGA or Serial)

any other suggestions?

It "hangs" after loading the kernel, the machine is stuck.

Could this be a compile time error or wrong option?
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: Mon Nov 07, 2005 12:47 am    Post subject: Reply with quote

It could be either. Or it could simply be mispatched sources.... or an unusually picky machine.

My IP28 is very picky... so this problem of "hanging" is nothing unusual -- some machines are really picky about kernels, you've just got to keep trying.
Idea, have you tried using the netboot image, but passing root=/dev/sdaX to mount and boot off the root HDD?
_________________
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
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Mon Nov 07, 2005 6:11 pm    Post subject: Reply with quote

Could you be more specific?

after bootp().......

I place root=/dev/sda3 ????
_________________
If windows fails, who you gonna call? Re-install......
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: Tue Nov 08, 2005 2:07 am    Post subject: Reply with quote

cioannou wrote:
Could you be more specific?

after bootp().......

I place root=/dev/sda3 ????


Got it in one:

bootp(): root=/dev/sda3 ro console=tty0

The console=tty0 bit forces local console... perhaps that's worth a try?
_________________
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
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Mon Nov 14, 2005 6:49 pm    Post subject: Reply with quote

:lol: :D :lol: :D :lol: :D :lol:

It finally boots.

:lol: :D :lol: :D :lol: :D :lol:

THANKS A LOT!

Thanks , I am now starting to "emerge" stuff.

I don't care if it boots that way until a better solution appears.

Now , if I remember correctly , you said that I cannot run KDE on this, am I right?
_________________
If windows fails, who you gonna call? Re-install......
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: Mon Nov 14, 2005 11:30 pm    Post subject: Reply with quote

Did I? Where?

KDE should work just fine.... the thing that may not work though, is X.
But that won't stop you using KDE... see the thread about X without a monitor.
_________________
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
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Tue Nov 15, 2005 12:54 pm    Post subject: Reply with quote

Hmmmm,

should I have any hope that KDE & X could work , aren't the guys from SGI providing any help to the whole project?

Is there any way to copy the netboot kernel to the volhdr and retry booting?

By the way , isn't there a tested kernel that includes support for impact(sr),graphics consoles etc. and all other Octane devices? I guess that if I copy that to the volhdr it could just work.


Thanks for your time
_________________
If windows fails, who you gonna call? Re-install......
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: Wed Nov 16, 2005 5:04 am    Post subject: Reply with quote

cioannou wrote:
Hmmmm,

should I have any hope that KDE & X could work , aren't the guys from SGI providing any help to the whole project?


I wish :-D. Sadly, no... they've got a new toy to play with (Linux/IA64). In fact, we do some kernel hacking... but the majority of the work is done by upstream developers. Octane support in particular. Just about all this work is done without SGI's assistance. At the very most, they might sanitise and release documentation on these machines. Boxes like the Octane though, were (AFAIK, others will correct me if I'm wrong) 100% completely reverse-engineered without any assistance from SGI.

Quote:
Is there any way to copy the netboot kernel to the volhdr and retry booting?


Provided there's space to do so, you should be able to copy the netboot kernel to the volume header just like any other kernel.

Quote:
By the way , isn't there a tested kernel that includes support for impact(sr),graphics consoles etc. and all other Octane devices? I guess that if I copy that to the volhdr it could just work.
Thanks for your time


As in, a precompiled kernel image? Kumba would be the one to ask there... but as far as I know... there isn't.
Cobalt is the only machine for which I provide working kernel images for booting systems.
I could also provide IP28 (Indigo2 Impact) and R4k IP22 (Indy) kernels there too -- and I may do that.

Octane though, I can't do. Not without an Octane to test on.
Likewise with Origin200/2000 and O2 -- before anybody asks.
_________________
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
cioannou
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2005
Posts: 82
Location: Greece

PostPosted: Wed Nov 16, 2005 9:19 am    Post subject: Reply with quote

That's too bad , I checked SGI site yesterday and they claim that they embrace linux and bull..it.

I guess it's all about the IP and patent protection stuff. They have probably seen a demand increase in their hardware because they sell remanufactured/refurbished Octanes/O2s etc. Which could mean that if they give the h/w information for free they would loose some money from the Irix market.
_________________
If windows fails, who you gonna call? Re-install......
Back to top
View user's profile Send private message
pleung
n00b
n00b


Joined: 16 Nov 2005
Posts: 2
Location: San Francisco, CA

PostPosted: Wed Nov 16, 2005 2:56 pm    Post subject: Reply with quote

cioannou wrote:
That's too bad , I checked SGI site yesterday and they claim that they embrace linux and bull..it.

I guess it's all about the IP and patent protection stuff. They have probably seen a demand increase in their hardware because they sell remanufactured/refurbished Octanes/O2s etc. Which could mean that if they give the h/w information for free they would loose some money from the Irix market.


I believe that SGI means RedHat Ent. Linux support on their new x386 only. Yea, IRIX is dead. Nice old MIPS graphic machine with no graphic OS support anymore. Oh well, the O2 is heavy like hell ... can't take it home ... eventhough no OS to run on, it is a nice heater or used as a base for a nice table, that my university uses it for.
_________________
Please send me secure email from CryptoMail.org, free secure email service and email system GNU GPL.
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 Nov 17, 2005 7:00 am    Post subject: Reply with quote

They embrace Linux/IA64 not Linux/MIPS.

All their high scalability Linux stuff they toy with now, is done on the Intel Itanium architecture.... but I do wonder why they don't do the same for MIPS.
_________________
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
SilverDirk
n00b
n00b


Joined: 06 Aug 2004
Posts: 32

PostPosted: Wed Nov 23, 2005 3:54 am    Post subject: Another machine sticking at Entering Kernel Reply with quote

Ok, we've got an Octane (ip30) which is stuck at this same point. We can netboot using
Code:
bootp(): root=/dev/ram0

with tftp and etc, and we can get everything emerged and kernel compiled and etc, but we can't get arcload to work. we have arcload installed, we have sash64 copied to /sash, /arc.cf, vmlinux copied to /working (the kernel) on the volume header, and a config that looks exactly like the one on the wiki, minus the serial console bit. We also have the kernel config options posted earlier in this thread. However, it still hangs.

Also, when we try
Code:
bootp(): root=/dev/sda3
it still tries to netboot (and comes up with errors if we unplug the network) though i would expect it to load straight off the drive.

The exact message after typing "boot" is:
Code:
>> boot
1088+17136+144+2152+432 entry: 0xa80000003fff8000
ARCLoader version 0.43 (c) 2004-5 Stanislaw Skowronek
Loading configuration for 'ip30(working)'...
Loading xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(8)/working...
Reading 4163816 bytes... OK.
Reading 868486 bytes... OK.
Reading 0 bytes... OK.
Entering kernel.
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: Wed Nov 23, 2005 4:19 am    Post subject: Reply with quote

SilverDirk: Well, bootp() means exactly that... netboot using BOOTP/TFTP. Hence why it tries to netboot.
I'll pester Kumba and see if he's got any ideas... I lack an Octane, so I have little idea what's going on.
_________________
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
SilverDirk
n00b
n00b


Joined: 06 Aug 2004
Posts: 32

PostPosted: Wed Nov 23, 2005 11:56 pm    Post subject: toBoot an Octane Reply with quote

So, when you said
Quote:
have you tried using the netboot image, but passing root=/dev/sdaX to mount and boot off the root HDD?

you meant to use the netboot loader/kernel but have it use all the binaries/configs from the drive? or would that give us the kernel from the drive as well?

So the way I understand it, there's the SGI PROM, which invokes a small loader which loads the kernel which boots the machine. With the netboot setup, the DHCP server sends (both the loader and the kernel to the SGI prom?) and it boots successfully. With the current setup, we are giving parameters to the prom at the prompt, and then it runs ARCLoad (named sash) which is supposed to load the kernel, and either the loader isn't working correctly or the kernel image is disfunctional.

So, in the short run we would like to get the system to boot automatically. I think I read something about the SGI prom being smart enough to load the kernel itself? I would like to just forget arcload if it solves the problem.

If I copy the netboot image to the volume header, does that give me both the loader and kernel? Is there a way to use that to load the kernel we compiled? (automatically?)

(for a little background, this is a small student-run lab in a university, where we have several people playing with the system, and its hard to keep everyone informed about what people have tried, and what they should type to get the thing booted. This is why it would be very nice to have it "just boot" automatically. Also, people tend to graduate and we end up continually losing valuable information ;-) so we really do need some automatic boot sequence)
Back to top
View user's profile Send private message
SilverDirk
n00b
n00b


Joined: 06 Aug 2004
Posts: 32

PostPosted: Thu Nov 24, 2005 12:04 am    Post subject: Reply with quote

Oh, and I should mention that the netboot server is my laptop, so we don't really have the option to give it a permanent bootp server unless we want it using one of the lab machines as a gateway... i.e. we have no permission to touch our real dhcp server.
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 Nov 24, 2005 8:01 am    Post subject: Reply with quote

Sorta... actually when you're netbooting on SGI machines, you're downloading the raw kernel image.

The boot sequence, following the bootp(): command is: (T = Target, S = BOOTP/TFTP Server)
T > S : BOOTP Request -- Can I have a network address please?
T < S : BOOTP Reply -- Sure, your address is 111.222.333.2, default gateway; 111.222.333.1, download /kernel-image from TFTP server 111.222.333.1
T > S : TFTP Request -- Can I have /kernel-image please?
T < S : TFTP Reply -- Sure ... here it is.

This is a simplification of course. The bootloader in this case is the SGI PROM.

When you're installing to the hard drive, you use ARCLoad as your bootloader. This acts as a second stage bootloader, loaded by the PROM, and uses the PROM's API calls to load another kernel image.

I can understand not wanting to enter commands to boot the machine up everytime... It gets tedious even if you happen to know what commands to use. :-) (I know, having netbooted my IP28 many times). It's possible to tell the PROM to netboot automatically, but since you have no control of the DHCP server, this is obviously not desirable.

I did discuss this on #gentoo-mips, the general consensis is that the machine is possibly using one console, when you're expecting it on the other (i.e. serial console when you're watching monitor, or vice versa). The other possibility (which I haven't explored) is that the PROM is set for a diskless machine. Check the setting of the diskless envvar on the PROM, it should be set to 0.
Incidentally, what video chipset does this machine have? (try hinv at the PROM console)
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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