Mac Mini and Xorg

Peter Grehan grehan at freebsd.org
Sun Jul 10 05:43:09 GMT 2005


Hi Sean,

> I've succeeded in getting X to run.  I've also seen the dimness you
> mentioned -- seems to be a reinitialization issue.  I've got a
> combined patch (your changes plus the mods already in the port) but
> I'm trying to get some more ifdef's into place so that only ppc gets
> the parts that aren't currently ifdef'ed.

  OK, let me know what you come up with and I can give it a try.

> Some things I've noticed -- I had to comment out the ttya and ttyb
> entries in /etc/ttys because getty was going nuts trying to initialize
> them.  It kept complaining they don't exist in /dev (even though they
> do).  

  This is fallout from some generic tty changes a long while back. It 
should be safe to remove them, and at some point the zs driver will be 
replaced with the uart driver which I think doesn't have the problem.

> Even so, I get a string of:
> 
> ofwfb_ioctl: unimplemented

  This message comes from the OpenFirmware syscons framebuffer module. 
If you have a look at sys/powerpc/ofw/ofw_syscons.c you'll see:

static int
ofwfb_ioctl(video_adapter_t *adp, u_long cmd, caddr_t data)
{
         TODO;
         return (0);
}

  ... so the TODO printf line could probably be removed.

> In addition, though /boot/kernel/sound.ko exists, kldload
> sound gives the following:
> 
> kldload: can't load sound: No such file or directory
> 
> while the console shows:
> 
> link_elf: symbol isa_dmastart undefined

  What's happening there is that the PCM module (incorrectly) has a 
dependency on ISA. Tilman found this also:

   http://docs.freebsd.org/cgi/mid.cgi?20050426145734.GC2894

  The ISA symbols aren't in the kernel, failing the link, and resulting 
in the slightly obtuse error message from kldload.

> I tried dpms and it does work under X just fine.

  Good to hear.

> I seem able to freeze the system fairly regularly -- it may just be
> starting and restarting X but I've not yet been able to isolate the
> cause.  (X won't start every time -- it doesn't always figure out that
> some modes can run even though I've hardcoded some into the xorg.conf)
> Seems to drop to the debugger about once every 4 times or so.
> 
> I'm delighted with the progress of the ppc port -- let me know if
> there is anything else I can test specifically.

  I'm always interested in a backtrace if you can get one from the 
debugger, or even the routine where the panic/fatal trap occurs.
Other than that, I'd say just run as much as you can and report how it 
goes, good bad or otherwise.

  Thanks for having the patience to jump through the Xorg hoops !

later,

Peter.


More information about the freebsd-ppc mailing list