* [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
@ 2004-11-24 21:35 Andrew Finley
2004-11-25 1:08 ` Kumba
0 siblings, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-24 21:35 UTC (permalink / raw
To: gentoo-mips
Hello All,
I am trying to install on a O2 r5000. After what I thought was a
successful kernel build, etc. (following the install instruction on the
MIPS project page, and using the experimental livecd). I powered off
then tried to boot, then received the message below.
> boot -f vmlinux
2125824+167632 entry: 0x881d2040
Exception: <vector=UTLB Miss>
Status register: 0x34010002<CUI,CU0,FR,DE,IPL=8,KX,MODE=KERNEL>
Cause register: 0x....
Exception PC: 0x..., Exception RA: 0x...
exception, bad address: 0x....
Saved user regs in hex (...
...
PANIC: Unexpected exception
[Press reset or ENTER to restart.]
I'm not sure what you might need from the error so I just copied the
beginning and end down.
I double checked my steps an am not sure what is going on. Does anyone
have any ideas? I would really really appreciate any help you could
offer.
-Andy
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
2004-11-24 21:35 [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000 Andrew Finley
@ 2004-11-25 1:08 ` Kumba
2004-11-25 1:56 ` Andrew Finley
2004-11-28 16:52 ` Andrew Finley
0 siblings, 2 replies; 22+ messages in thread
From: Kumba @ 2004-11-25 1:08 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Hello All,
> I am trying to install on a O2 r5000. After what I thought was a
> successful kernel build, etc. (following the install instruction on the
> MIPS project page, and using the experimental livecd). I powered off
> then tried to boot, then received the message below.
[snip]
O2 can't boot off disk directly (that is, load a kernel from the volume header
like IP22). You have to use arcboot for that. Arcboot's a hair slow at
reading kernels off disk, but wesolows made a wicked patch I'm going to test
soon and put into portage which will dramatically speed up disk loading.
Just `emerge arcboot`, and follow the instructions printed after the build
finishes, and things should work out fine. If not, drop a note here about it.
--Kumba
--
"Such is oft the course of deeds that move the wheels of the world: small
hands do them because they must, while the eyes of the great are elsewhere."
--Elrond
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
2004-11-25 1:08 ` Kumba
@ 2004-11-25 1:56 ` Andrew Finley
2004-11-25 2:02 ` Stephen P. Becker
2004-11-28 16:52 ` Andrew Finley
1 sibling, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-25 1:56 UTC (permalink / raw
To: gentoo-mips
Hi Kumba,
thanks for the note back and all your work getting me this far. I'm a
bit slow, so let me get this straight, I had the livecd and followed all
the directions (e.g., did a stage 2, and built the kernel then put it in
the volume header), then had the boot off the main disk problem. So now
should I do the following?
steps:
1) put the live cd back in and boot off of it, then chroot
2) emerge arcboot
3) once the arcboot is done compiling it will print some directions on
how to boot the kernel from the main disk header?
Is this right?
Also, I followed the kernel specs for the Indigo2/Indy, is that still ok
for the o2?
Thanks again for your help, I really look forward to getting this
machine up and running again, if it works we have 6 more 02s' in queue.
-andy
--
Andrew Finley
Department of Forest Resources
College of Natural Resources
University of Minnesota
305 Green Hall
1530 Cleveland Avenue N.
St. Paul, MN 55108
Ph 612-624-1714 office
www.cnr.umn.edu/FR/people/facstaff/finley/index.html
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
2004-11-25 1:56 ` Andrew Finley
@ 2004-11-25 2:02 ` Stephen P. Becker
0 siblings, 0 replies; 22+ messages in thread
From: Stephen P. Becker @ 2004-11-25 2:02 UTC (permalink / raw
To: gentoo-mips
> Also, I followed the kernel specs for the Indigo2/Indy, is that still ok
> for the o2?
Indy/Indigo2 systems are known as ip22, whereas O2 is ip32. It is
almost a completely different arch aside from the processor, so if you
compiled a kernel for ip22, then arcboot won't even save you here.
If you want a kernel that is known to work for O2, check out
http://dev.gentoo.org/~geoman/vmlinux64-2004-11-06.bz2 for now. It will
let you boot your system do stuff until you are able to build a proper
kernel.
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
@ 2004-11-25 2:16 Andrew Finley
2004-11-25 2:32 ` Stephen P. Becker
0 siblings, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-25 2:16 UTC (permalink / raw
To: gentoo-mips
Thanks Steve,
Ok, should this kernel go in the volume header then use arcboot? If I
wanted to build a proper kernel, can I still use the kernel that comes from
emerge-source (if so what build options should be used)?
-andy
On 24 Nov 2004, Stephen P. Becker wrote:
>
> > Also, I followed the kernel specs for the Indigo2/Indy, is that still
ok
> > for the o2?
>
> Indy/Indigo2 systems are known as ip22, whereas O2 is ip32. It is
> almost a completely different arch aside from the processor, so if you
> compiled a kernel for ip22, then arcboot won't even save you here.
>
> If you want a kernel that is known to work for O2, check out
> http://dev.gentoo.org/~geoman/vmlinux64-2004-11-06.bz2 for now. It will
> let you boot your system do stuff until you are able to build a proper
> kernel.
>
> Steve
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
2004-11-25 2:16 [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000 Andrew Finley
@ 2004-11-25 2:32 ` Stephen P. Becker
0 siblings, 0 replies; 22+ messages in thread
From: Stephen P. Becker @ 2004-11-25 2:32 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Thanks Steve,
> Ok, should this kernel go in the volume header then use arcboot? If I
> wanted to build a proper kernel, can I still use the kernel that comes from
> emerge-source (if so what build options should be used)?
> -andy
>
Arcboot loads from the volume header, but it doesn't boot kernels out of
a volume header at all. Rather, it boots them from an ext2/ext3
partition. So, you would put arcboot in the volume header, and then the
kernel on and ext3 or ext3 partition, set up the config file, and then
just do "boot -f arcboot" from the prom to get going. If you happened
to do something silly like make your entire filesystem reiserfs or xfs,
then you are out of luck with respect to arcboot.
As for building your own ip32 kernel, you have to use 2.6 sources, which
you will have to unmask yourself. You can run "make ip32_defconfig"
inside the source tree, which will give you a base config to work from.
You can then enter menuconfig and tweak to your liking. Or, you could
get my config from /proc/config.gz when/if you are able to boot my
kernel, and then tweak that. In any case, you can't use the native
system compiler, since the kernel must be 64-bit. You will either have
to emerge gcc-mips64 (after making sure you are using the proper
cascaded profile), or build a mips64 cross-compiler on another machine.
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
@ 2004-11-25 2:45 Andrew Finley
0 siblings, 0 replies; 22+ messages in thread
From: Andrew Finley @ 2004-11-25 2:45 UTC (permalink / raw
To: gentoo-mips
Sweet, looks like building my own kernel is out of the question in the near
future. Fortunately, my boot and root are ext2 and ext3 respectfully, so
perhaps this will still have a happy ending. I'll give it all a whirl with
your kernel tomorrow. Thanks for your patience. Have a good turkey day.
-andy
On 24 Nov 2004, Stephen P. Becker wrote:
> Andrew Finley wrote:
> > Thanks Steve,
> > Ok, should this kernel go in the volume header then use arcboot? If I
> > wanted to build a proper kernel, can I still use the kernel that comes
from
> > emerge-source (if so what build options should be used)?
> > -andy
> >
>
> Arcboot loads from the volume header, but it doesn't boot kernels out of
> a volume header at all. Rather, it boots them from an ext2/ext3
> partition. So, you would put arcboot in the volume header, and then the
> kernel on and ext3 or ext3 partition, set up the config file, and then
> just do "boot -f arcboot" from the prom to get going. If you happened
> to do something silly like make your entire filesystem reiserfs or xfs,
> then you are out of luck with respect to arcboot.
>
> As for building your own ip32 kernel, you have to use 2.6 sources, which
> you will have to unmask yourself. You can run "make ip32_defconfig"
> inside the source tree, which will give you a base config to work from.
> You can then enter menuconfig and tweak to your liking. Or, you could
> get my config from /proc/config.gz when/if you are able to boot my
> kernel, and then tweak that. In any case, you can't use the native
> system compiler, since the kernel must be 64-bit. You will either have
> to emerge gcc-mips64 (after making sure you are using the proper
> cascaded profile), or build a mips64 cross-compiler on another machine.
>
> Steve
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
2004-11-25 1:08 ` Kumba
2004-11-25 1:56 ` Andrew Finley
@ 2004-11-28 16:52 ` Andrew Finley
2004-11-28 21:05 ` Kumba
1 sibling, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-28 16:52 UTC (permalink / raw
To: gentoo-mips
Hi Kumba and Steve,
I started working on your suggestions. But get a package masked error
when trying to emerge arcboot. What do I need to do?
-thanks andy
On Wed, 2004-11-24 at 19:08, Kumba wrote:
> Andrew Finley wrote:
> > Hello All,
> > I am trying to install on a O2 r5000. After what I thought was a
> > successful kernel build, etc. (following the install instruction on the
> > MIPS project page, and using the experimental livecd). I powered off
> > then tried to boot, then received the message below.
> [snip]
>
> O2 can't boot off disk directly (that is, load a kernel from the volume header
> like IP22). You have to use arcboot for that. Arcboot's a hair slow at
> reading kernels off disk, but wesolows made a wicked patch I'm going to test
> soon and put into portage which will dramatically speed up disk loading.
>
> Just `emerge arcboot`, and follow the instructions printed after the build
> finishes, and things should work out fine. If not, drop a note here about it.
>
>
> --Kumba
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000
2004-11-28 16:52 ` Andrew Finley
@ 2004-11-28 21:05 ` Kumba
2004-11-29 21:30 ` [gentoo-mips] arcboot problem R5000 o2 Andrew Finley
0 siblings, 1 reply; 22+ messages in thread
From: Kumba @ 2004-11-28 21:05 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Hi Kumba and Steve,
> I started working on your suggestions. But get a package masked error
> when trying to emerge arcboot. What do I need to do?
> -thanks andy
>
It's advised you give the "Portage Introduction" a quick readover at this URL:
http://www.gentoo.org/doc/en/handbook/handbook-mips.xml?part=2&chap=1
(The mips bits of the handbook are very outdated, so don't fully expect other
mips bits there to work, we need a docs dev that can help get things
straightened out).
It's a little unfair to throw some users new to gentoo right into the
experimental stuff sometimes, but that's the nature of O2 units right now, as
well as some of the other mips hardware. I'll probably stable-mark arcboot in
a few days to clear up some of the confusion, and eventually put one of the
2.6 mips-sources stable (2.6.9 is unstable now).
--Kumba
--
"Such is oft the course of deeds that move the wheels of the world: small
hands do them because they must, while the eyes of the great are elsewhere."
--Elrond
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* [gentoo-mips] arcboot problem R5000 o2
2004-11-28 21:05 ` Kumba
@ 2004-11-29 21:30 ` Andrew Finley
2004-11-29 21:46 ` Stephen P. Becker
0 siblings, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-29 21:30 UTC (permalink / raw
To: gentoo-mips
Ok, I tried.
On the R5000 O2:
1) emerged arcboot, then following the man page, I put it in the volume
header.
2) ignored the boot partition I made during the system install, and made
a file called kernel in sda3 (i.e., my root partition see fstab below)
3) I put the kernel that Steve gave me into the kernel file
4) changed the arcboot.conf to reflect my changes (see below).
5) then back to prom I did "boot -f arcboot" - result was an error
something like "can't find kernel looking in \unix"
I tried several variation on this theme but with no luck. What am I
doing wrong?
Thanks again.
-andy
# arcboot.conf
#
# copyright 2002 Guido Guenther <agx@sigxcpu.org>
#
label=linux
image=/kernel/vmlinux64-2004-11-06
append="root=/dev/sda3"
#fstab
#/dev/sda1 /boot ext2 noauto,noatime 1 1
/dev/sda3 / ext3 noatime 0 0
/dev/sda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
On Sun, 2004-11-28 at 15:05, Kumba wrote:
> Andrew Finley wrote:
> > Hi Kumba and Steve,
> > I started working on your suggestions. But get a package masked error
> > when trying to emerge arcboot. What do I need to do?
> > -thanks andy
> >
>
> It's advised you give the "Portage Introduction" a quick readover at this URL:
> http://www.gentoo.org/doc/en/handbook/handbook-mips.xml?part=2&chap=1
>
> (The mips bits of the handbook are very outdated, so don't fully expect other
> mips bits there to work, we need a docs dev that can help get things
> straightened out).
>
> It's a little unfair to throw some users new to gentoo right into the
> experimental stuff sometimes, but that's the nature of O2 units right now, as
> well as some of the other mips hardware. I'll probably stable-mark arcboot in
> a few days to clear up some of the confusion, and eventually put one of the
> 2.6 mips-sources stable (2.6.9 is unstable now).
>
>
> --Kumba
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] arcboot problem R5000 o2
2004-11-29 21:30 ` [gentoo-mips] arcboot problem R5000 o2 Andrew Finley
@ 2004-11-29 21:46 ` Stephen P. Becker
2004-11-29 22:32 ` Andrew Finley
0 siblings, 1 reply; 22+ messages in thread
From: Stephen P. Becker @ 2004-11-29 21:46 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Ok, I tried.
>
> On the R5000 O2:
> 1) emerged arcboot, then following the man page, I put it in the volume
> header.
>
> 2) ignored the boot partition I made during the system install, and made
> a file called kernel in sda3 (i.e., my root partition see fstab below)
>
> 3) I put the kernel that Steve gave me into the kernel file
>
> 4) changed the arcboot.conf to reflect my changes (see below).
>
> 5) then back to prom I did "boot -f arcboot" - result was an error
> something like "can't find kernel looking in \unix"
>
> I tried several variation on this theme but with no luck. What am I
> doing wrong?
> Thanks again.
> -andy
>
Why not just use sda2 if you already have it designated for /boot? You
just have to make sure that arcboot.conf goes into /boot/etc. Also
remember you have to set SystemPartition to the volume header from the prom.
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] arcboot problem R5000 o2
2004-11-29 21:46 ` Stephen P. Becker
@ 2004-11-29 22:32 ` Andrew Finley
2004-11-29 22:38 ` Stephen P. Becker
0 siblings, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-29 22:32 UTC (permalink / raw
To: gentoo-mips
Hi Steve,
Ok I moved the kernel and /etc/arcboot.conf to my /boot (and as noted in
the man page, made a link from boot to boot) and changed my arcboot.conf
to reflect the changes.
Now in the prom I resetenv so that:
SystemPartition = pci(0)scsi(0)disk(1)rdisk(0)partition(8)
then ran arcboot - then it says it can't find the arcboot.conf or an
ext2fs. Then it says to adjust OSLoadPartition to
pci(0)scsi(0)disk(1)rdisk(0)partition(2) Which I tried with no success
I also tried pci(0)scsi(0)disk(1)rdisk(0)partition(1) with no success.
My boot partition is on sda1, root is sda3, and swap is sda2.
any ideas what I'm doing dumb?
On Mon, 2004-11-29 at 15:46, Stephen P. Becker wrote:
> Andrew Finley wrote:
> > Ok, I tried.
> >
> > On the R5000 O2:
> > 1) emerged arcboot, then following the man page, I put it in the volume
> > header.
> >
> > 2) ignored the boot partition I made during the system install, and made
> > a file called kernel in sda3 (i.e., my root partition see fstab below)
> >
> > 3) I put the kernel that Steve gave me into the kernel file
> >
> > 4) changed the arcboot.conf to reflect my changes (see below).
> >
> > 5) then back to prom I did "boot -f arcboot" - result was an error
> > something like "can't find kernel looking in \unix"
> >
> > I tried several variation on this theme but with no luck. What am I
> > doing wrong?
> > Thanks again.
> > -andy
> >
>
> Why not just use sda2 if you already have it designated for /boot? You
> just have to make sure that arcboot.conf goes into /boot/etc. Also
> remember you have to set SystemPartition to the volume header from the prom.
>
> Steve
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] arcboot problem R5000 o2
2004-11-29 22:32 ` Andrew Finley
@ 2004-11-29 22:38 ` Stephen P. Becker
2004-11-29 23:07 ` Andrew Finley
0 siblings, 1 reply; 22+ messages in thread
From: Stephen P. Becker @ 2004-11-29 22:38 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Hi Steve,
> Ok I moved the kernel and /etc/arcboot.conf to my /boot (and as noted in
> the man page, made a link from boot to boot) and changed my arcboot.conf
> to reflect the changes.
>
> Now in the prom I resetenv so that:
> SystemPartition = pci(0)scsi(0)disk(1)rdisk(0)partition(8)
>
> then ran arcboot - then it says it can't find the arcboot.conf or an
> ext2fs. Then it says to adjust OSLoadPartition to
> pci(0)scsi(0)disk(1)rdisk(0)partition(2) Which I tried with no success
> I also tried pci(0)scsi(0)disk(1)rdisk(0)partition(1) with no success.
> My boot partition is on sda1, root is sda3, and swap is sda2.
>
> any ideas what I'm doing dumb?
>
You shouldn't *have* to adjust OSLoadPartition actually. Arcboot
auto-detects that. You did mount /dev/sda1 on /boot *before* you
copied the config file and made the symlink didn't you?
In any case, I have the same configuration you do in terms of partition
layout (with the exception of sdb1 mounted on /usr), and it WorksForMe(TM).
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] arcboot problem R5000 o2
2004-11-29 22:38 ` Stephen P. Becker
@ 2004-11-29 23:07 ` Andrew Finley
2004-11-29 23:34 ` Stephen P. Becker
0 siblings, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-11-29 23:07 UTC (permalink / raw
To: gentoo-mips
Your Good Steve,
I did forget to mount boot the last time. And got it to boot, part
way. I got a "kernel panic - not syncing: No init found. Try passing
init= option to the kernel"
Sorry to keep bugging you, but I'm not sure where to find help (google
only works so far) :-)
andy
On Mon, 2004-11-29 at 16:38, Stephen P. Becker wrote:
> Andrew Finley wrote:
> > Hi Steve,
> > Ok I moved the kernel and /etc/arcboot.conf to my /boot (and as noted in
> > the man page, made a link from boot to boot) and changed my arcboot.conf
> > to reflect the changes.
> >
> > Now in the prom I resetenv so that:
> > SystemPartition = pci(0)scsi(0)disk(1)rdisk(0)partition(8)
> >
> > then ran arcboot - then it says it can't find the arcboot.conf or an
> > ext2fs. Then it says to adjust OSLoadPartition to
> > pci(0)scsi(0)disk(1)rdisk(0)partition(2) Which I tried with no success
> > I also tried pci(0)scsi(0)disk(1)rdisk(0)partition(1) with no success.
> > My boot partition is on sda1, root is sda3, and swap is sda2.
> >
> > any ideas what I'm doing dumb?
> >
>
> You shouldn't *have* to adjust OSLoadPartition actually. Arcboot
> auto-detects that. You did mount /dev/sda1 on /boot *before* you
> copied the config file and made the symlink didn't you?
>
> In any case, I have the same configuration you do in terms of partition
> layout (with the exception of sdb1 mounted on /usr), and it WorksForMe(TM).
>
> Steve
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] arcboot problem R5000 o2
2004-11-29 23:07 ` Andrew Finley
@ 2004-11-29 23:34 ` Stephen P. Becker
2004-12-01 14:32 ` [gentoo-mips] R5000 o2 X11 and kde? Andrew Finley
0 siblings, 1 reply; 22+ messages in thread
From: Stephen P. Becker @ 2004-11-29 23:34 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Your Good Steve,
> I did forget to mount boot the last time. And got it to boot, part
> way. I got a "kernel panic - not syncing: No init found. Try passing
> init= option to the kernel"
>
> Sorry to keep bugging you, but I'm not sure where to find help (google
> only works so far) :-)
>
> andy
Well, that's interesting. It seems that both the kernel looks at
OSLoadPartition from the prom when being loaded via arcboot. Arcboot
uses OSLoadPartition to determine where the kernel and arcboot.conf are
stored, and it uses the SGI naming scheme to do so (eg the
pci(0)scsi(0)disk(1)rdisk(0)partition(X) bit). The kernel uses
OSLoadPartition to determine the root device, and apparently the
append="root=/dev/sda3" from arcboot.conf isn't getting passed, or is
being overridden. Try changing OSLoadPartition to /dev/sda3 from the
prom. Arcboot will spit an error that you should change it to something
else, but then will scan the other partitions for /etc/arcboot.conf and
should auto-detect what partition it really needs and then boot normally.
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* [gentoo-mips] R5000 o2 X11 and kde?
2004-11-29 23:34 ` Stephen P. Becker
@ 2004-12-01 14:32 ` Andrew Finley
2004-12-01 14:49 ` Christian Hartmann
2004-12-01 14:57 ` Stephen P. Becker
0 siblings, 2 replies; 22+ messages in thread
From: Andrew Finley @ 2004-12-01 14:32 UTC (permalink / raw
To: gentoo-mips
Hi Steve,
I went back through and double checked everything, rebooted, and
resetenv, and presto, arcboot booted properly. Now we're cooking!
Then tried to emerge X-org, which compiled fine but could not build a
config file. I looked for some documentation on the gentoo mips site
but didn't see much (and elsewhere). Is it possible to get X and
eventually kde running? Thanks again for your help.
On Mon, 2004-11-29 at 17:34, Stephen P. Becker wrote:
> Andrew Finley wrote:
> > Your Good Steve,
> > I did forget to mount boot the last time. And got it to boot, part
> > way. I got a "kernel panic - not syncing: No init found. Try passing
> > init= option to the kernel"
> >
> > Sorry to keep bugging you, but I'm not sure where to find help (google
> > only works so far) :-)
> >
> > andy
>
> Well, that's interesting. It seems that both the kernel looks at
> OSLoadPartition from the prom when being loaded via arcboot. Arcboot
> uses OSLoadPartition to determine where the kernel and arcboot.conf are
> stored, and it uses the SGI naming scheme to do so (eg the
> pci(0)scsi(0)disk(1)rdisk(0)partition(X) bit). The kernel uses
> OSLoadPartition to determine the root device, and apparently the
> append="root=/dev/sda3" from arcboot.conf isn't getting passed, or is
> being overridden. Try changing OSLoadPartition to /dev/sda3 from the
> prom. Arcboot will spit an error that you should change it to something
> else, but then will scan the other partitions for /etc/arcboot.conf and
> should auto-detect what partition it really needs and then boot normally.
>
> Steve
>
>
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] R5000 o2 X11 and kde?
2004-12-01 14:32 ` [gentoo-mips] R5000 o2 X11 and kde? Andrew Finley
@ 2004-12-01 14:49 ` Christian Hartmann
2004-12-01 14:57 ` Stephen P. Becker
1 sibling, 0 replies; 22+ messages in thread
From: Christian Hartmann @ 2004-12-01 14:49 UTC (permalink / raw
To: gentoo-mips, afinley
> Then tried to emerge X-org, which compiled fine but could not build a
> config file. I looked for some documentation on the gentoo mips site
> but didn't see much (and elsewhere). Is it possible to get X and
> eventually kde running? Thanks again for your help.
I've got x.org running on my o2. I used geomans config that you can find
here: http://dev.gentoo.org/~geoman/xorg.conf
Make sure that you compiled x.org with the static-useflag enabled.
Otherwise it's likely that you'll get a bunch of unresolved symbols.
Have fun!
--
Christian Hartmann
http://www.gentoo.org/~ian/
PGP Key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2154E5EE692A4865
Key fingerprint = 4544 EC0C BAE4 216F 5981 7F95 2154 E5EE 692A 4865
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] R5000 o2 X11 and kde?
2004-12-01 14:32 ` [gentoo-mips] R5000 o2 X11 and kde? Andrew Finley
2004-12-01 14:49 ` Christian Hartmann
@ 2004-12-01 14:57 ` Stephen P. Becker
2004-12-02 20:56 ` [gentoo-mips] R5000 o2 X11 and kde Andrew Finley
1 sibling, 1 reply; 22+ messages in thread
From: Stephen P. Becker @ 2004-12-01 14:57 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Hi Steve,
> I went back through and double checked everything, rebooted, and
> resetenv, and presto, arcboot booted properly. Now we're cooking!
>
> Then tried to emerge X-org, which compiled fine but could not build a
> config file. I looked for some documentation on the gentoo mips site
> but didn't see much (and elsewhere). Is it possible to get X and
> eventually kde running? Thanks again for your help.
>
>
See Ian's message about the config file and building X with the static
USE flag. As for kde, it should work just fine, although it may take
two to three days to build it all.
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] R5000 o2 X11 and kde
2004-12-01 14:57 ` Stephen P. Becker
@ 2004-12-02 20:56 ` Andrew Finley
2004-12-02 22:43 ` Stephen P. Becker
0 siblings, 1 reply; 22+ messages in thread
From: Andrew Finley @ 2004-12-02 20:56 UTC (permalink / raw
To: gentoo-mips
Hi Guys,
Thanks for the help, X build just fine and gdm looks o-so-nice. I tried
to emerge kde, but got the (masked by: ~mips keyword).
How do I get around this?
Should I get around this?
Do I need to put something in my /etc/portage/package.unmask?
With with all my questions, you made a mini-howto for dummies:-)
-andy
On Wed, 2004-12-01 at 08:57, Stephen P. Becker wrote:
> Andrew Finley wrote:
> > Hi Steve,
> > I went back through and double checked everything, rebooted, and
> > resetenv, and presto, arcboot booted properly. Now we're cooking!
> >
> > Then tried to emerge X-org, which compiled fine but could not build a
> > config file. I looked for some documentation on the gentoo mips site
> > but didn't see much (and elsewhere). Is it possible to get X and
> > eventually kde running? Thanks again for your help.
> >
> >
>
> See Ian's message about the config file and building X with the static
> USE flag. As for kde, it should work just fine, although it may take
> two to three days to build it all.
>
> Steve
>
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] R5000 o2 X11 and kde
2004-12-02 20:56 ` [gentoo-mips] R5000 o2 X11 and kde Andrew Finley
@ 2004-12-02 22:43 ` Stephen P. Becker
[not found] ` <1102433859.14535.3.camel@populus>
0 siblings, 1 reply; 22+ messages in thread
From: Stephen P. Becker @ 2004-12-02 22:43 UTC (permalink / raw
To: gentoo-mips
Andrew Finley wrote:
> Hi Guys,
> Thanks for the help, X build just fine and gdm looks o-so-nice. I tried
> to emerge kde, but got the (masked by: ~mips keyword).
>
> How do I get around this?
>
> Should I get around this?
>
> Do I need to put something in my /etc/portage/package.unmask?
>
> With with all my questions, you made a mini-howto for dummies:-)
>
> -andy
Read "man portage" and all will be revealed.
Steve
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* [gentoo-mips] Re: R5000 o2, kernel
[not found] ` <1102433859.14535.3.camel@populus>
@ 2004-12-07 16:03 ` Stephen P. Becker
2004-12-07 22:47 ` Andrew Finley
0 siblings, 1 reply; 22+ messages in thread
From: Stephen P. Becker @ 2004-12-07 16:03 UTC (permalink / raw
To: afinley; +Cc: gentoo-mips
Andrew Finley wrote:
> Hi Steve (didn't know if this should go to the list or not),
>
> I have had a few crashes with the fallowing kernel error (this is the
> binary kernel you sent me):
>
> [<ffffffffffffff8045d758>]_set_up_early_setup_test+0xfffffeefef0000....
> Code: a400000 ....
> kernel panic - not syncing: Aiee, killing interrupt handler!
I have not seen this even once with my kernel. Perhaps you have a
really old prom version that is doing something funky, but I just don't
know. You didn't try to do something funky with objcopy to change the
address or something did you?
>
> I noticed some funny things during the boot sequence:
>
> 1)
> *Setting system clock to hardware clock [UTC]...
>
> FATAL: Could not load /lib/modules/2.6.10-rc1/modules.dep: No such file
> or directory
>
> *Failed to set system clock to hardware clock
This is a known problem. The O2 rtc has been broken since 2.6.9
somehow. I've talked to somebody that said they haven't seen this
problem at all. I'm wondering if it is a result of a) the gentoo
toolchain or b) a patch I'm using.
Also, my kernel wasn't compiled with module support at all...in fact, I
think mine is 2.6.10-rc2. I know why you are getting the error (kernel
looking to autoload rtc module probably), but I don't know why it is
looking for the module at all.
>
> 2)
> "ERROR: Problem starting needed services. "bootmisc" was not started"
>
Not sure what the deal is here without more information, but it isn't
fatal. You probably have some service set up to start which isn't
installed or is broken. Check your boot logs.
>
> I tried several other precompiled kernels (for the o2), but none have
> DEVFS support, which I understand gentoo requires.
Gentoo most certainly doesn't require devfs. Our stages ship with a
static /dev directory. You can boot with "gentoo=nodevfs" to avoid an
annoying error about devfs on boot. However, what is even better is
udev. Just "emerge udev" and boot a 2.6 kernel...and Gentoo's init
scripts take care of the rest.
>
> Do you know what the problem might be? If so how might I fix it, short
> of compiling my own kernel.
You really should learn to build your own kernel anyway. I would
recommend the latest mips-sources-2.6.9 ebuild instead of being thrown
into the fire right away with checking cvs out and tracking down the
right patches. You can't just use the standard kernel.org tarball for
mips machines really. You should also stop by our irc channel
(#gentoo-mips, irc.freenode.net) sometime if you haven't already.
>
> Thanks again for your help.
> Regards-
> Andy
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [gentoo-mips] Re: R5000 o2, kernel
2004-12-07 16:03 ` [gentoo-mips] Re: R5000 o2, kernel Stephen P. Becker
@ 2004-12-07 22:47 ` Andrew Finley
0 siblings, 0 replies; 22+ messages in thread
From: Andrew Finley @ 2004-12-07 22:47 UTC (permalink / raw
To: gentoo-mips
Hi Steve,
thanks again for the fast response. udev worked real slick.
I realized my system clock was set to ~1953 (perhaps this has some thing
to do with the mysterious crashes).
I will read up on cross-compiling over the holiday and give my own
kernel build a shot.
-have a good one
Andy
On Tue, 2004-12-07 at 10:03, Stephen P. Becker wrote:
> Andrew Finley wrote:
> > Hi Steve (didn't know if this should go to the list or not),
> >
> > I have had a few crashes with the fallowing kernel error (this is the
> > binary kernel you sent me):
> >
> > [<ffffffffffffff8045d758>]_set_up_early_setup_test+0xfffffeefef0000....
> > Code: a400000 ....
> > kernel panic - not syncing: Aiee, killing interrupt handler!
>
> I have not seen this even once with my kernel. Perhaps you have a
> really old prom version that is doing something funky, but I just don't
> know. You didn't try to do something funky with objcopy to change the
> address or something did you?
>
> >
> > I noticed some funny things during the boot sequence:
> >
> > 1)
> > *Setting system clock to hardware clock [UTC]...
> >
> > FATAL: Could not load /lib/modules/2.6.10-rc1/modules.dep: No such file
> > or directory
> >
> > *Failed to set system clock to hardware clock
>
> This is a known problem. The O2 rtc has been broken since 2.6.9
> somehow. I've talked to somebody that said they haven't seen this
> problem at all. I'm wondering if it is a result of a) the gentoo
> toolchain or b) a patch I'm using.
>
> Also, my kernel wasn't compiled with module support at all...in fact, I
> think mine is 2.6.10-rc2. I know why you are getting the error (kernel
> looking to autoload rtc module probably), but I don't know why it is
> looking for the module at all.
>
> >
> > 2)
> > "ERROR: Problem starting needed services. "bootmisc" was not started"
> >
>
> Not sure what the deal is here without more information, but it isn't
> fatal. You probably have some service set up to start which isn't
> installed or is broken. Check your boot logs.
>
> >
> > I tried several other precompiled kernels (for the o2), but none have
> > DEVFS support, which I understand gentoo requires.
>
> Gentoo most certainly doesn't require devfs. Our stages ship with a
> static /dev directory. You can boot with "gentoo=nodevfs" to avoid an
> annoying error about devfs on boot. However, what is even better is
> udev. Just "emerge udev" and boot a 2.6 kernel...and Gentoo's init
> scripts take care of the rest.
>
> >
> > Do you know what the problem might be? If so how might I fix it, short
> > of compiling my own kernel.
>
> You really should learn to build your own kernel anyway. I would
> recommend the latest mips-sources-2.6.9 ebuild instead of being thrown
> into the fire right away with checking cvs out and tracking down the
> right patches. You can't just use the standard kernel.org tarball for
> mips machines really. You should also stop by our irc channel
> (#gentoo-mips, irc.freenode.net) sometime if you haven't already.
>
> >
> > Thanks again for your help.
> > Regards-
> > Andy
> >
> >
>
>
> --
> gentoo-mips@gentoo.org mailing list
>
>
--
gentoo-mips@gentoo.org mailing list
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2004-12-07 22:47 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-24 21:35 [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000 Andrew Finley
2004-11-25 1:08 ` Kumba
2004-11-25 1:56 ` Andrew Finley
2004-11-25 2:02 ` Stephen P. Becker
2004-11-28 16:52 ` Andrew Finley
2004-11-28 21:05 ` Kumba
2004-11-29 21:30 ` [gentoo-mips] arcboot problem R5000 o2 Andrew Finley
2004-11-29 21:46 ` Stephen P. Becker
2004-11-29 22:32 ` Andrew Finley
2004-11-29 22:38 ` Stephen P. Becker
2004-11-29 23:07 ` Andrew Finley
2004-11-29 23:34 ` Stephen P. Becker
2004-12-01 14:32 ` [gentoo-mips] R5000 o2 X11 and kde? Andrew Finley
2004-12-01 14:49 ` Christian Hartmann
2004-12-01 14:57 ` Stephen P. Becker
2004-12-02 20:56 ` [gentoo-mips] R5000 o2 X11 and kde Andrew Finley
2004-12-02 22:43 ` Stephen P. Becker
[not found] ` <1102433859.14535.3.camel@populus>
2004-12-07 16:03 ` [gentoo-mips] Re: R5000 o2, kernel Stephen P. Becker
2004-12-07 22:47 ` Andrew Finley
-- strict thread matches above, loose matches on Subject: below --
2004-11-25 2:16 [gentoo-mips] PANIC: Unexpected exception at boot o2 R5000 Andrew Finley
2004-11-25 2:32 ` Stephen P. Becker
2004-11-25 2:45 Andrew Finley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox