matthew green | 18 Nov 2010 10:29
Picon
Favicon

call for testers - switching ofppc to xorg X11


hi folks.

i've gotten native xorg building for ofppc, but my pegasosII isn't
currently setup for testing.

can anyone test this for me?  i can either upload my sets or you can
build your own, using the '-V X11FLAVOUR=Xorg -V MKX11=yes'.

thanks!

.mrg.

Frank Wille | 18 Nov 2010 11:06
Picon

Re: call for testers - switching ofppc to xorg X11

On Thu, 18 Nov 2010 20:29:01 +1100
matthew green <mrg <at> eterna.com.au> wrote:

> i've gotten native xorg building for ofppc, but my pegasosII isn't
> currently setup for testing.

Very nice! :)

> can anyone test this for me?  i can either upload my sets or you can
> build your own, using the '-V X11FLAVOUR=Xorg -V MKX11=yes'.

Yes, I will do. Uploading your sets would be easiest for me.

--

-- 
Frank Wille

matthew green | 18 Nov 2010 11:48
Picon
Favicon

re: call for testers - switching ofppc to xorg X11


> > i've gotten native xorg building for ofppc, but my pegasosII isn't
> > currently setup for testing.
> 
> Very nice! :)
> 
> > can anyone test this for me?  i can either upload my sets or you can
> > build your own, using the '-V X11FLAVOUR=Xorg -V MKX11=yes'.
> 
> Yes, I will do. Uploading your sets would be easiest for me.

ok, please check out the sets in:

	ftp.netbsd.org:/pub/NetBSD/misc/mrg/ofppc-xorg-sets/

thanks!

if it doesn't work, i'll see about getting my system setup.

.mrg.

Frank Wille | 18 Nov 2010 20:55
Picon

Re: call for testers - switching ofppc to xorg X11

matthew green wrote:

>> > can anyone test this for me?  i can either upload my sets or you can
>> > build your own, using the '-V X11FLAVOUR=Xorg -V MKX11=yes'.
>> [...]
> if it doesn't work, i'll see about getting my system setup.

It doesn't work. I can neither run "X -configure" nor start with a working
xorg.conf. I'm always getting a fatal server error:

Fatal server error:
xf86OpenConsole: No console driver found
        Supported drivers: 
        Check your kernel's console driver configuration and /dev entries

There are no console drivers? Probably you forgot to define WSCONS_SUPPORT
somewhere?

--

-- 
Frank Wille

matthew green | 24 Nov 2010 07:31
Picon
Favicon

pegasosII crash at boot with -current


hi folks.

i finally got around to trying my pegasosII with -current and it fails
to boot.  i get this:

>> NetBSD/ofppc OpenFirmware Boot, Revision 1.8
>> (mrg <at> traumvogel.eterna23.net, Fri Jan 11 17:05:35 PST 2008)
open /netbsd.ofppc: No such file or directory
4180100+147948 [241120+234121]=0x494e80
 start=0x100000
WARNING: add memory segment 10000000 - 20000000,
WARNING: which was not recognized by the Firmware.
trap type f00 at 37912c
Press a key to panic.
panic: trap
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x10:       lwz     r0, 0x14(r1)
db> bt
0x0059acd0: at panic+0x25c
0x0059ad20: at trap+0x128
0x0059adb0: kernel PERF trap by pool_cache_bootstrap+0xe0: srr1=0x1032
            r1=0x59ae70 cr=0x24002042 xer=0x20000000 ctr=0
0x0059ae70: at pool_cache_bootstrap+0x58
0x0059aea0: at uvm_amap_init+0x58
0x0059aec0: at uvm_init+0x3c
0x0059aee0: at main+0x68
0x0059af30: at 0x1000c4

anyone have any ideas what is up?

(Continue reading)

Frank Wille | 24 Nov 2010 19:44
Picon

Re: pegasosII crash at boot with -current

Matthew Green wrote:

> i finally got around to trying my pegasosII with -current and it fails
> to boot.

How current is your current? Mine is 6 days old, and a generic ofppc kernel
boots on my Pegasos2/G3 with 512MB.

>  i get this:
>
>>> NetBSD/ofppc OpenFirmware Boot, Revision 1.8

It probably isn't important, but the recent revision is 1.11.
Did you boot the kernel from disk or over the net (100MBit or GBit-port?)?

> 0x0059adb0: kernel PERF trap by pool_cache_bootstrap+0xe0: srr1=0x1032
>             r1=0x59ae70 cr=0x24002042 xer=0x20000000 ctr=0

A performance monitor exception!? How could that happen?
Unforunately ddb doesn't show the performance monitor registers. The
contents of MMCR0 would have been interesting.

The only location where the perfmon is used in the kernel is while
calculating the clock frequency. And this is during configure().

The G3/G4 manual says that MMCR0 "must be cleared at power up", which could
mean its contents is undefined, and with some bad luck we get an exception
as soon as we enable interrupts? But I cannot believe that...

> anyone have any ideas what is up?
(Continue reading)

matthew green | 24 Nov 2010 20:32
Picon
Favicon

re: pegasosII crash at boot with -current


> Matthew Green wrote:
> 
> > i finally got around to trying my pegasosII with -current and it fails
> > to boot.
> 
> How current is your current? Mine is 6 days old, and a generic ofppc kernel
> boots on my Pegasos2/G3 with 512MB.

it was only a couple of hours old at that point.  i tried with both 1GB
and 512MB installed, and also by disabling the hack to find all the memory
that the prom didn't tell us about.  same problem.

> >  i get this:
> >
> >>> NetBSD/ofppc OpenFirmware Boot, Revision 1.8
> 
> It probably isn't important, but the recent revision is 1.11.

i'll try updating this.

> Did you boot the kernel from disk or over the net (100MBit or GBit-port?)?

both.  didn't matter.

> > anyone have any ideas what is up?
> 
> Not really. The only difference between our systems is that you have a G4
> and I have a G3.
> 
(Continue reading)

Frank Wille | 24 Nov 2010 22:19
Picon

Re: pegasosII crash at boot with -current

matthew green wrote:

>> How current is your current? Mine is 6 days old, and a generic ofppc
>> kernel boots on my Pegasos2/G3 with 512MB.
>
> it was only a couple of hours old at that point.

Ok, then I will try it with a newer kernel in the next days and see what
happens.

>> It worked for you in the past?
>
> i haven't booted this system since april 2008, but yeah, it very much
> worked in the past, and the old install works (netboot or disk boot.)

Switching to gtpci was not a trivial task. I tested lots of modifications
from kiyohara <at>  in April until it finally worked on my G3.

But IIRC he also had a G4 with 512MB, so it should have worked for you at
some point...

>> Since the last months I get kernel panics when an USB device is
>> plugged in. I don't know if there was a modification in some USB code
>> or whether it is caused by a problem with gtpci:
>> [...]
>
> i've seen panics like this on my netbsd-5 amd64 desktop.  my netbsd-5
> tree has extra instrumentation around the code here, it shows that
> an alloc fails, and then the code goes bad.. but i haven't figured out
> much more than this about it yet.
(Continue reading)

matthew green | 29 Nov 2010 10:15
Picon
Favicon

re: pegasosII crash at boot with -current


ah, the problem was this in my config:

	makeoptions    CPUFLAGS="-O2 -mcpu=7400"

dunno what, but it breaks now.

.mrg.

Frank Wille | 1 Dec 2010 19:07
Picon

Re: pegasosII crash at boot with -current

matthew green wrote:

> ah, the problem was this in my config:
>
>   makeoptions    CPUFLAGS="-O2 -mcpu=7400"
>
> dunno what, but it breaks now.

Strange. I couldn't even think of any different instructions which would be
generated by gcc for a G4 in difference to a G3.

Was gcc updated between your last successful attempt and now?

Another point to check would be if other PPC ports are also affected. I
could try to build a macppc kernel for my PowerBook with -mcpu=7400.

--

-- 
Frank Wille


Gmane