Subject: Re: ibook G3,black screen
To: Masafumi Hotta <email@example.com>
From: Michael Lorenz <firstname.lastname@example.org>
Date: 08/04/2007 20:01:29
-----BEGIN PGP SIGNED MESSAGE-----
On Aug 4, 2007, at 18:06, Michael Lorenz wrote:
> On Aug 4, 2007, at 09:57, Masafumi Hotta wrote:
>>> On Jul 24, 2007, at 10:53, Michael Lorenz wrote:
>>>> (EE) wsfb(0): ioctl WSDISPLAYIO_LINEBYTES: Inappropriate ioctl for
>>>> Oops, this is a bug. I thought I fixed it long ago, wonder how it
>>>> snuck back in.
>>> Fix committed into -current.
>>> have fun
>> Today I updated src xsrc, and tried "wsfb" again on iBook G3.
>> I got different error message.
>> Kernel is not GENERIC, "OFB_ENABLE_CACHE" "OFB_FAKE_VGA_FB" are
> You don't need OFB_FAKE_VGA_FB for wsfb - that's only needed for
> drivers that insist on trying to mmap() the ISA VGA framebuffer.
>> (WW) xf86EnableIO 5
>> (II) xf86EnableIO: efda0000
> So XFree86 could mmap the IO range.
>> (II) wsfb(0): using default device
>> (II) Running in FRAMEBUFFER Mode
>> (**) wsfb(0): Depth 8, (--) framebuffer bpp 8
>> (==) wsfb(0): Default visual is PseudoColor
>> (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
>> (II) wsfb(0): Vidmem: 800k
> This looks ok.
>> (EE) wsfb(0): wsfb_mmap: Invalid argument
> This is odd. There was no change in ofb's mmap method lately - I'll
> see if I can reproduce this.
Hmm, I can. Looks like wsfb tries to mmap() one page too many for some
reason - no idea why this doesn't happen on other platforms like sparc
For some reason genfb doesn't have that problem either, and since I
added shadowfb support it's pretty usable.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----