Subject: Re: ibook G3,black screen
To: None <macallan@netbsd.org>
From: Masafumi Hotta <ma-500@rj8.so-net.ne.jp>
List: port-macppc
Date: 08/04/2007 22:57:52
----Next_Part(Sat_Aug__4_22:57:52_2007_364)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

>
>On Jul 24, 2007, at 10:53, Michael Lorenz wrote:
>
>> (EE) wsfb(0): ioctl WSDISPLAYIO_LINEBYTES: Inappropriate ioctl for 
>> device
>> Oops, this is a bug. I thought I fixed it long ago, wonder how it 
>> snuck back in.
>
>Fix committed into -current.
>
>have fun
>Michael

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
added.

Thanks.
Masafumi Hotta

----Next_Part(Sat_Aug__4_22:57:52_2007_364)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="XFree86.0.log"


XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/macppc 4.99.26 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD ibook.masafumi 4.99.26 NetBSD 4.99.26 (IBOOK) #0: Sat Aug  4 12:30:49 JST 2007  root@pen4.masafumi:/home/pen4/macppc/obj/sys/arch/macppc/compile/IBOOK macppc
Build Date: 4 August 2007
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
Command line: X :0
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (EE) error, (WW) warning,
	(II) informational, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Aug  4 22:22:43 2007
(==) Using config file: "/etc/X11/XF86Config".
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.3
	XFree86 Video Driver: 0.8
	XFree86 XInput driver : 0.5
	XFree86 Server Extension : 0.3
	XFree86 Font Renderer : 0.5
(II) Loader running on netbsd
(==) ServerLayout "ibook"
(==) |-->Screen "Screen0" (0) (0, 0)
(**) |  |-->Device "Card0"
(**) |  |-->Monitor "Monitor0" (0)
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) The directory "/usr/X11R6/lib/X11/fonts/TrueType/" does not exist.
	Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/local/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Checking for unused ServerFlags options:
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Bitmap
(--) Using wscons driver
(WW) xf86EnableIO 5
(II) xf86EnableIO: efda0000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0020 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,4c46 card 1002,4c46 rev 02 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Technologies Inc Rage Mobility M3 AGP 2x rev 2, Mem @ 0x94000000/26, 0x90000000/14, I/O @ 0x0400/8, BIOS @ 0x90020000/17
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[3] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
	[0] -1	0	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[1] -1	0	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[2] -1	0	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[3] -1	0	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[1] -1	0	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[2] -1	0	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[3] -1	0	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[3] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1	0	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[3] -1	0	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[4] -1	0	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[5] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
	[7] -1	0	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.3
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.13.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension DEC-XTRAP
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.2
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project & the After X-TT Project"
	compiled for 4.5.0, module version = 2.1.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "wsfb"
(II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.o
(II) Module wsfb: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.5
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.5
(II) wsfb: driver for wsdisplay framebuffer: wsfb
(II) Primary Device is: PCI 00:10:0
(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
(==) wsfb(0): DPI set to (75, 75)
(==) wsfb(0): Using HW cursor
(**) wsfb(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/X11R6/lib/modules/libshadow.a
(II) Module shadow: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.3
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.3
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.5.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.8
(EE) wsfb(0): wsfb_mmap: Invalid argument

Fatal server error:
AddScreen/ScreenInit failed for driver 0


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.


----Next_Part(Sat_Aug__4_22:57:52_2007_364)----