Mailing List Archive

problems installing on SunFire V100
Hi all,

I've been trying to get gentoo installed on a SunFire V100 (aka Netra
V100), but I've run into a wall. I've successfully partitioned and
progressed from stage 1 through to building the kernel. I'm booting the
2005.0 complete livecd. I've compiled the kernel ok, and installed silo.
The problem is, when booting, just after mounting /dev, I get Oopses like:

Mounted devfs on /dev
OOPS: Bogus kernel PC [0000002700000028] in fault handler
[0000000000408ccc] [000000000044d6e4] [000000000040eb40]
[000000000041a504] [00000000006be694] [0000000000404678] [0000000000000000]
Unable to handle kernel paging request at virtual address 0000002700000028

Here's the full boot message output:
http://loki.ws/~josh/sunFireV100.bootlog

Here's my kernel config (using 2.4.29-sparc):
http://loki.ws/~josh/sunFireV100.config
(vmlinux file size is 3.0M, stripped)

and here's my silo.conf:
http://loki.ws/~josh/sunFireV100.silo.conf
I've placed the silo.conf in /boot and in /etc. I've also tried running
silo as 'silo' and 'silo -C /boot/silo.conf' with no difference in
operation.

my modules.autoload.d/kernel-2.4 (every module for now..):
http://loki.ws/~josh/sunFireV100.modules

some general system info (cpuinfo, lspci, etc):
http://loki.ws/~josh/sunFireV100.sysinfo

and my /etc/make.conf
http://loki.ws/~josh/sunFireV100.make.conf

Btw, I've also tried a 2.6 kernel and got different errors - something
about invalid code or register? I don't remember exactly.
I'm probably being a moron and forgetting something really basic.

Thanks in advance for all your help!!! I feel like a moron on sparc
hardware :P
-Josh
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
On Tue, 19 Apr 2005 19:10:11 -0400
Joshua Szmajda <josh@loki.ws> wrote:

> Mounted devfs on /dev
> OOPS: Bogus kernel PC [0000002700000028] in fault handler
> [0000000000408ccc] [000000000044d6e4] [000000000040eb40]
> [000000000041a504] [00000000006be694] [0000000000404678] [0000000000000000]
> Unable to handle kernel paging request at virtual address 0000002700000028

The kernel tried to jmp to address 0x2700000028 which is outside
any valid range of kernel instruction addresss, even for modules.
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
On Tue, 19 Apr 2005 19:36:32 -0400
Joshua Szmajda <josh@loki.ws> wrote:

> ok, so why? ;)

What's the value of "ret_pc" in the dump you get (the dump
you posted was truncated, we need all of the information
the kernel prints) and where does that value match up in
the "System.map" of the kernel you are booting that generates
that crash?
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
ok, so why? ;)

David S. Miller wrote:

>On Tue, 19 Apr 2005 19:10:11 -0400
>Joshua Szmajda <josh@loki.ws> wrote:
>
>
>
>>Mounted devfs on /dev
>>OOPS: Bogus kernel PC [0000002700000028] in fault handler
>>[0000000000408ccc] [000000000044d6e4] [000000000040eb40]
>>[000000000041a504] [00000000006be694] [0000000000404678] [0000000000000000]
>>Unable to handle kernel paging request at virtual address 0000002700000028
>>
>>
>
>The kernel tried to jmp to address 0x2700000028 which is outside
>any valid range of kernel instruction addresss, even for modules.
>
>
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
I linked in my orig post to the full output, but ret_pc shows in these
lines:
o4: 0000000000000008 o5: 0000000000000000 sp: 0000000000417391 ret_pc:
000000000044d6e4

and

o4: 0000000000000000 o5: 00000000007403d9 sp: 0000000000416ff1 ret_pc:
000000000041dbb8

http://loki.ws/~josh/sunFireV100.bootlog is the full output

-Josh

David S. Miller wrote:

>On Tue, 19 Apr 2005 19:36:32 -0400
>Joshua Szmajda <josh@loki.ws> wrote:
>
>
>
>>ok, so why? ;)
>>
>>
>
>What's the value of "ret_pc" in the dump you get (the dump
>you posted was truncated, we need all of the information
>the kernel prints) and where does that value match up in
>the "System.map" of the kernel you are booting that generates
>that crash?
>
>
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
On Tue, 19 Apr 2005 19:42:51 -0400
Joshua Szmajda <josh@loki.ws> wrote:

> I linked in my orig post to the full output, but ret_pc shows in these
> lines:
> o4: 0000000000000008 o5: 0000000000000000 sp: 0000000000417391 ret_pc:
> 000000000044d6e4
>
> and
>
> o4: 0000000000000000 o5: 00000000007403d9 sp: 0000000000416ff1 ret_pc:
> 000000000041dbb8

Yes, thanks, but... I also asked you:

> >where does that value match up in
> >the "System.map" of the kernel you are booting that generates
> >that crash?

We need that too.
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
oh, sorry :)

I grepped through the system map, but I couldn't find those addresses
anywhere.. I put that online too:

http://loki.ws/~josh/sunFireV100.System.map

Thanks alot!!!
-Josh

David S. Miller wrote:

>On Tue, 19 Apr 2005 19:42:51 -0400
>Joshua Szmajda <josh@loki.ws> wrote:
>
>
>
>>I linked in my orig post to the full output, but ret_pc shows in these
>>lines:
>>o4: 0000000000000008 o5: 0000000000000000 sp: 0000000000417391 ret_pc:
>>000000000044d6e4
>>
>>and
>>
>>o4: 0000000000000000 o5: 00000000007403d9 sp: 0000000000416ff1 ret_pc:
>>000000000041dbb8
>>
>>
>
>Yes, thanks, but... I also asked you:
>
>
>
>>>where does that value match up in
>>>the "System.map" of the kernel you are booting that generates
>>>that crash?
>>>
>>>
>
>We need that too.
>
>
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
Joshua Szmajda wrote:

> oh, sorry :)
>
> I grepped through the system map, but I couldn't find those addresses
> anywhere.. I put that online too:

Holy loading modules crap!
I can assure you that many of the modules you're trying to load are not
sparc-happy.
In most cases the modules will autoload for stuff that you have,
specially if you "emerge coldplug" and "rc-update add coldplug default"
(this is for hardware, it'll autodetect most pci stuff).
Never wondered why the livecd works and your kernel doesn't?
Do this: get one of the kernels configuration files from the livecd from
/etc/kernels/*, enable your preferred filesystem as Y (they're M in
there), compile and try that.
Unless you wanna debug a ton of drivers for hardware that will never be
present on a sparc machine, and waste memory too...

--
Gustavo Zacarias
Gentoo/SPARC monkey
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
ha! see, I am an idiot. I'm too used to x86 hardware. I was hoping for a
kernel config to refer to. Thanks alot :)

Gustavo Zacarias wrote:

>Joshua Szmajda wrote:
>
>
>
>>oh, sorry :)
>>
>>I grepped through the system map, but I couldn't find those addresses
>>anywhere.. I put that online too:
>>
>>
>
>Holy loading modules crap!
>I can assure you that many of the modules you're trying to load are not
>sparc-happy.
>In most cases the modules will autoload for stuff that you have,
>specially if you "emerge coldplug" and "rc-update add coldplug default"
>(this is for hardware, it'll autodetect most pci stuff).
>Never wondered why the livecd works and your kernel doesn't?
>Do this: get one of the kernels configuration files from the livecd from
>/etc/kernels/*, enable your preferred filesystem as Y (they're M in
>there), compile and try that.
>Unless you wanna debug a ton of drivers for hardware that will never be
>present on a sparc machine, and waste memory too...
>
>
>
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
On Tue, 19 Apr 2005 20:59:38 -0400
Joshua Szmajda <josh@loki.ws> wrote:

> oh, sorry :)
>
> I grepped through the system map, but I couldn't find those addresses
> anywhere.. I put that online too:
>
> http://loki.ws/~josh/sunFireV100.System.map

Not the exact address, just the closest without going over
(you know, "Price is Right" rules).
--
gentoo-sparc@gentoo.org mailing list
Re: problems installing on SunFire V100 [ In reply to ]
woo I got it, but only by appending "root=/dev/hdc1 noudev devfs" in the
silo.conf... any ideas why? also on boot now it failed to read my
/etc/fstab.. probably related?

Thanks!

David S. Miller wrote:

>On Tue, 19 Apr 2005 20:59:38 -0400
>Joshua Szmajda <josh@loki.ws> wrote:
>
>
>
>>oh, sorry :)
>>
>>I grepped through the system map, but I couldn't find those addresses
>>anywhere.. I put that online too:
>>
>>http://loki.ws/~josh/sunFireV100.System.map
>>
>>
>
>Not the exact address, just the closest without going over
>(you know, "Price is Right" rules).
>
>
--
gentoo-sparc@gentoo.org mailing list