工人舎SA5ST08A続き。なんとかX動いたものの、なんらかの拍子にフリーズして
しまい、実用には程遠い段階。なんらかの拍子がなんなのか。

ここまでのまとめ。
NetBSDカーネルには
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/conf.h>
#include <machine/cpufunc.h>
dev_type_read(msr_read);
dev_type_write(msr_write);
const struct cdevsw msr_cdevsw =
{
.d_open = nullopen,
.d_close = nullclose,
.d_read = msr_read,
.d_write = msr_write,
.d_ioctl = noioctl,
.d_stop = nostop,
.d_tty = notty,
.d_poll = nopoll,
.d_mmap = nommap,
.d_kqfilter = nokqfilter,
.d_flag = D_OTHER
};
void msrattach(int);
void
msrattach(int n)
{
// nothing to do.
}
int
msr_read(dev_t dev, struct uio *uio, int ioflag)
{
uint64_t r;
r = rdmsr ((uint32_t)uio->uio_offset);
printf ("%s: %08x %08x =>%llx\n", __FUNCTION__, (uint32_t)uio->uio_offset,
uio->uio_resid, r);
return uiomove (&r, sizeof r, uio);
}
int
msr_write(dev_t dev, struct uio *uio, int ioflag)
{
uint64_t r;
int error;
if ((error = uiomove (&r, sizeof r, uio)) != 0)
{
printf ("*** %s: %x %x %llx\n", __FUNCTION__, (uint32_t)uio->uio_offset,
uio->uio_resid, r);
return error;
}
printf ("%s: %x %x %llx\n", __FUNCTION__, (uint32_t)uio->uio_offset,
uio->uio_resid, r);
wrmsr ((uint32_t)uio->uio_offset, r);
return 0;
}
をsys/arch/i386/i386/msr.cで追加。
Index: sys/arch/i386/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.917
diff -u -r1.917 GENERIC
--- sys/arch/i386/conf/GENERIC 12 Nov 2008 14:36:31 -0000 1.917
+++ sys/arch/i386/conf/GENERIC 8 May 2009 06:17:02 -0000
@@ -1540,3 +1541,5 @@
options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
options PAX_ASLR=0 # PaX Address Space Layout Randomization
+
+pseudo-device msr
Index: sys/arch/i386/conf/files.i386
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/files.i386,v
retrieving revision 1.338
diff -u -r1.338 files.i386
--- sys/arch/i386/conf/files.i386 13 Jun 2008 17:26:33 -0000 1.338
+++ sys/arch/i386/conf/files.i386 8 May 2009 06:17:03 -0000
@@ -520,3 +520,6 @@
include "arch/i386/conf/majors.i386"
endif #xen
+
+defpseudo msr
+file arch/i386/i386/msr.c msr
Index: sys/arch/i386/conf/majors.i386
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/majors.i386,v
retrieving revision 1.37
diff -u -r1.37 majors.i386
--- sys/arch/i386/conf/majors.i386 12 Nov 2008 12:36:02 -0000 1.37
+++ sys/arch/i386/conf/majors.i386 8 May 2009 06:17:03 -0000
@@ -118,3 +118,4 @@
# Majors up to 143 are reserved for machine-dependent drivers.
# New machine-independent driver majors are assigned in
# sys/conf/majors.
+device-major msr char 144
後はこんな感じで。
--- MAKEDEV.local~ 2008-10-28 14:42:35.000000000 +0900
+++ MAKEDEV.local 2009-05-08 14:15:17.000000000 +0900
@@ -58,6 +58,9 @@
# mkdev foo c 0 0 600
# mkdev foo1 c 0 1 600
# ;;
+msr)
+ mkdev msr c 144 0 666
+ ;;
*)
warn "$i: unknown device"
デバイスファイルも追加。
X11はxsrcではなく、pkgsrcの方。
ドライバは
http://cgit.freedesktop.org/xorg/driver/xf86-video-geode/
からxf86-video-geode-2.11.1を。
diff -ur xf86-video-geode.orig/src/Makefile.am xf86-video-geode/src/Makefile.am
--- xf86-video-geode.orig/src/Makefile.am 2009-02-17 03:46:00.000000000 +0900
+++ xf86-video-geode/src/Makefile.am 2009-05-10 20:18:36.000000000 +0900
@@ -25,13 +25,11 @@
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) \
-I$(top_srcdir)/src/cim -I$(top_srcdir)/src/gfx \
- -I$(top_srcdir)/src/panel -I$(top_srcdir)/linux_v26
+ -I$(top_srcdir)/src/panel
# -DPNL_SUP is now provided by AMD_CFLAGS
#
-AM_CFLAGS = @XORG_CFLAGS@ \
- -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL \
- -DLINUX_2_6 @AMD_CFLAGS@
+AM_CFLAGS = @XORG_CFLAGS@ -DHAVE_GX -DHAVE_LX -DOPT_ACCEL @AMD_CFLAGS@
AM_CCASFLAGS = @XORG_CFLAGS@
geode_drv_la_LTLIBRARIES = geode_drv.la
@@ -142,10 +140,10 @@
gx_vga.c \
lx_vga.c
-ztv_drv_la_LTLIBRARIES = ztv_drv.la
-ztv_drv_la_LDFLAGS = -module -avoid-version
-ztv_drv_ladir = @moduledir@/drivers
+#ztv_drv_la_LTLIBRARIES = ztv_drv.la
+#ztv_drv_la_LDFLAGS = -module -avoid-version
+#ztv_drv_ladir = @moduledir@/drivers
-ztv_drv_la_SOURCES = \
- z4l.c
+#ztv_drv_la_SOURCES = \
+# z4l.c
diff -ur xf86-video-geode.orig/src/geode_driver.c xf86-video-geode/src/geode_driver.c
--- xf86-video-geode.orig/src/geode_driver.c 2009-02-17 03:46:00.000000000 +0900
+++ xf86-video-geode/src/geode_driver.c 2009-05-10 20:16:08.000000000 +0900
@@ -77,6 +77,10 @@
#endif /* DPMSExtension */
/* A few things all drivers should have */
+#define PACKAGE_VERSION_MAJOR 2 //-uch
+#define PACKAGE_VERSION_MINOR 11 //-uch
+#define PACKAGE_VERSION_PATCHLEVEL 1 //-uch
+
#define GEODE_NAME "GEODE"
#define GEODE_DRIVER_NAME "geode"
#define GEODE_VERSION 4000
diff -ur xf86-video-geode.orig/src/geode_msr.c xf86-video-geode/src/geode_msr.c
--- xf86-video-geode.orig/src/geode_msr.c 2009-02-17 03:46:00.000000000 +0900
+++ xf86-video-geode/src/geode_msr.c 2009-05-10 17:31:13.000000000 +0900
@@ -7,15 +7,23 @@
#include "os.h"
#include "geode.h"
+#ifdef __NetBSD__
+#define MSR_DEVFILE "/dev/msr"
+#define lseek64 lseek
+#define off64_t off_t
+#else
+#define MSR_DEVFILE "/dev/cpu/0/msr"
+#endif
+
static int
_msr_open(void)
{
static int msrfd = 0;
if (msrfd == 0) {
- msrfd = open("/dev/cpu/0/msr", O_RDWR);
+ msrfd = open(MSR_DEVFILE, O_RDWR);
if (msrfd == -1)
- ErrorF("Unable to open /dev/cpu/0/msr: %d\n", errno);
+ ErrorF("Unable to open %s: %d\n", MSR_DEVFILE, errno);
}
return msrfd;
diff -ur xf86-video-geode.orig/src/lx_driver.c xf86-video-geode/src/lx_driver.c
--- xf86-video-geode.orig/src/lx_driver.c 2009-02-17 03:46:00.000000000 +0900
+++ xf86-video-geode/src/lx_driver.c 2009-05-10 18:12:41.000000000 +0900
@@ -53,10 +53,13 @@
/* Bring in VGA functions */
#include "lx_vga.c"
-
+#if 0
#define LX_MAX_WIDTH 1940
#define LX_MAX_HEIGHT 1600
-
+#else //-uch
+#define LX_MAX_WIDTH 1024
+#define LX_MAX_HEIGHT 600
+#endif
/* Size of the register blocks */
#define LX_GP_REG_SIZE 0x4000
このパッチをあてて、sh autogen.sh --prefix=/usr/pkg;gmake all;gmake install
xorg.confはこれ。"PanelMode"の設定はlx_panel.cの880x600と1024x768をつなぎあわせて作った。
Section "Files"
RgbPath "/usr/pkg/share/X11/rgb"
FontPath "/usr/pkg/lib/X11/fonts/local/"
FontPath "/usr/pkg/lib/X11/fonts/misc/"
FontPath "/usr/pkg/lib/X11/fonts/TTF/"
FontPath "/usr/pkg/lib/X11/fonts/Type1/"
FontPath "/usr/pkg/lib/X11/fonts/100dpi/"
FontPath "/usr/pkg/lib/X11/fonts/75dpi/"
ModulePath "/usr/pkg/lib/xorg/modules"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "xtrap"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "jp106"
Option "XkbLayout" "jp"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
EndSection
Section "Monitor"
Identifier "Internal Panel"
VendorName "Kohjinsha"
ModelName "SA5ST08A"
# Option "DPMS"
EndSection
Section "Device"
Identifier "AMD Geode"
Driver "geode"
Option "PanelMode" "65000 1024 1048 1184 1344 600 601 605 628"
# Option "HWcursor"
# Option "NoCompression"
# Option "FBSize" "67108864"
#Don't work Option "NoAccel"
#Don't work Option "Rotate" {"LEFT", "INVERT", "CCW"}
#
EndSection
Section "Screen"
Identifier "Screen 1"
Device "AMD Geode"
Monitor "Internal Panel"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x600"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: NetBSD-4.99.73-i386 The NetBSD Foundation
Current Operating System: NetBSD sicklemoon 4.99.72 NetBSD 4.99.72 (SICKLEMOON) #3: Sun May 10 16:04:19 JST 2009 uch@alexandrite:/usr/work/src-4.99.72/sys/arch/i386/compile/SICKLEMOON i386
Build Date: 31 October 2008 09:27:28AM
Before reporting problems, check http://www.pkgsrc.org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun May 10 21:07:26 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "Internal Panel"
(**) | |-->Device "AMD Geode"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path /usr/pkg/lib/X11/fonts/misc/,/usr/pkg/lib/X11/fonts/TTF/,/usr/pkg/lib/X11/fonts/OTF,/usr/pkg/lib/X11/fonts/Type1/,/usr/pkg/lib/X11/fonts/100dpi/,/usr/pkg/lib/X11/fonts/75dpi/.
(**) FontPath set to:
/usr/pkg/lib/X11/fonts/local/,
/usr/pkg/lib/X11/fonts/misc/,
/usr/pkg/lib/X11/fonts/TTF/,
/usr/pkg/lib/X11/fonts/Type1/,
/usr/pkg/lib/X11/fonts/100dpi/,
/usr/pkg/lib/X11/fonts/75dpi/,
/usr/pkg/lib/X11/fonts/misc/,
/usr/pkg/lib/X11/fonts/TTF/,
/usr/pkg/lib/X11/fonts/OTF,
/usr/pkg/lib/X11/fonts/Type1/,
/usr/pkg/lib/X11/fonts/100dpi/,
/usr/pkg/lib/X11/fonts/75dpi/
(**) RgbPath set to "/usr/pkg/share/X11/rgb"
(**) ModulePath set to "/usr/pkg/lib/xorg/modules"
(II) Loader magic: 0x81b0400
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on netbsd
(II) LoadModule: "pcidata"
(II) Loading /usr/pkg/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(--) Using wscons driver in pcvt compatibility mode (version 3.32)
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(WW) OS did not count PCI devices, guessing wildly
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:01:0: chip 1022,2080 card 1170,0181 rev 33 class 06,00,00 hdr 80
(II) PCI: 00:01:1: chip 1022,2081 card 1170,0181 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:01:2: chip 1022,2082 card 1170,0181 rev 00 class 10,10,00 hdr 00
(II) PCI: 00:0c:0: chip 104c,8039 card fffc,ffff rev 00 class 06,07,00 hdr 82
(II) PCI: 00:0c:2: chip 104c,803b card 1170,0181 rev 00 class 01,80,00 hdr 80
(II) PCI: 00:0c:3: chip 104c,803c card 1170,0181 rev 00 class 08,05,00 hdr 80
(II) PCI: 00:0d:0: chip 10ec,8139 card 1170,0018 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:0f:0: chip 1022,2090 card 1022,2090 rev 03 class 06,01,00 hdr 80
(II) PCI: 00:0f:2: chip 1022,209a card 1022,209a rev 01 class 01,01,80 hdr 00
(II) PCI: 00:0f:3: chip 1022,2093 card 1170,0181 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:0f:4: chip 1022,2094 card 1022,2094 rev 02 class 0c,03,10 hdr 00
(II) PCI: 00:0f:5: chip 1022,2095 card 1022,2095 rev 02 class 0c,03,20 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:1:0), (0,0,1), 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]
(II) PCI-to-CardBus bridge:
(II) Bus 1: bridge is at (0:12:0), (0,1,1), BCTRL: 0x07e3 (VGA_EN is cleared)
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:15:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(0:1:1) Advanced Micro Devices [AMD] Geode LX Video rev 0, Mem @ 0x50000000/27, 0x4fffc000/14, 0x4fff8000/14, 0x4fff4000/14, 0x4fff0000/14
(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 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI I/O resource overlap reduced 0x0000ac1c from 0x0000ac1f to 0x0000ac1b
(II) PCI I/O resource overlap reduced 0x00009e00 from 0x00009eff to 0x00009dff
(II) Active PCI resource ranges:
[0] -1 0 0xef500000 - 0xef5fffff (0x100000) MX[B]E
[1] -1 0 0xeff00000 - 0xefffffff (0x100000) MX[B]E
[2] -1 0 0xef600000 - 0xef7fffff (0x200000) MX[B]E
[3] -1 0 0xef700000 - 0xef7fffff (0x100000) MX[B]E
[4] -1 0 0xef800000 - 0xefffffff (0x800000) MX[B]E
[5] -1 0 0xefc00000 - 0xefffffff (0x400000) MX[B]E
[6] -1 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B](B)
[7] -1 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B](B)
[8] -1 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B](B)
[9] -1 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B](B)
[10] -1 0 0x50000000 - 0x57ffffff (0x8000000) MX[B](B)
[11] -1 0 0x0000cc80 - 0x0000ccff (0x80) IX[B]E
[12] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[13] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]E
[14] -1 0 0x00009d00 - 0x00009dff (0x100) IX[B]E
[15] -1 0 0x00006200 - 0x000062ff (0x100) IX[B]E
[16] -1 0 0x00006100 - 0x000061ff (0x100) IX[B]E
[17] -1 0 0x00006000 - 0x000060ff (0x100) IX[B]E
[18] -1 0 0x0000cd00 - 0x0000cdff (0x100) IX[B]E
[19] -1 0 0x00009e00 - 0x00009dff (0x0) IX[B]EO
[20] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]EO
(II) PCI Memory resource overlap reduced 0xef600000 from 0xef7fffff to 0xef6fffff
(II) PCI Memory resource overlap reduced 0xef800000 from 0xefffffff to 0xefbfffff
(II) PCI Memory resource overlap reduced 0xefc00000 from 0xefffffff to 0xefdfffff
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xef500000 - 0xef5fffff (0x100000) MX[B]E
[1] -1 0 0xeff00000 - 0xefffffff (0x100000) MX[B]E
[2] -1 0 0xef600000 - 0xef6fffff (0x100000) MX[B]E
[3] -1 0 0xef700000 - 0xef7fffff (0x100000) MX[B]E
[4] -1 0 0xef800000 - 0xefbfffff (0x400000) MX[B]E
[5] -1 0 0xefc00000 - 0xefdfffff (0x200000) MX[B]E
[6] -1 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B](B)
[7] -1 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B](B)
[8] -1 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B](B)
[9] -1 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B](B)
[10] -1 0 0x50000000 - 0x57ffffff (0x8000000) MX[B](B)
[11] -1 0 0x0000cc80 - 0x0000ccff (0x80) IX[B]E
[12] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[13] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]E
[14] -1 0 0x00009d00 - 0x00009dff (0x100) IX[B]E
[15] -1 0 0x00006200 - 0x000062ff (0x100) IX[B]E
[16] -1 0 0x00006100 - 0x000061ff (0x100) IX[B]E
[17] -1 0 0x00006000 - 0x000060ff (0x100) IX[B]E
[18] -1 0 0x0000cd00 - 0x0000cdff (0x100) IX[B]E
[19] -1 0 0x00009e00 - 0x00009dff (0x0) IX[B]EO
[20] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]EO
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xef500000 - 0xef5fffff (0x100000) MX[B]E
[5] -1 0 0xeff00000 - 0xefffffff (0x100000) MX[B]E
[6] -1 0 0xef600000 - 0xef6fffff (0x100000) MX[B]E
[7] -1 0 0xef700000 - 0xef7fffff (0x100000) MX[B]E
[8] -1 0 0xef800000 - 0xefbfffff (0x400000) MX[B]E
[9] -1 0 0xefc00000 - 0xefdfffff (0x200000) MX[B]E
[10] -1 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B](B)
[11] -1 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B](B)
[12] -1 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B](B)
[13] -1 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B](B)
[14] -1 0 0x50000000 - 0x57ffffff (0x8000000) MX[B](B)
[15] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[16] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[17] -1 0 0x0000cc80 - 0x0000ccff (0x80) IX[B]E
[18] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[19] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]E
[20] -1 0 0x00009d00 - 0x00009dff (0x100) IX[B]E
[21] -1 0 0x00006200 - 0x000062ff (0x100) IX[B]E
[22] -1 0 0x00006100 - 0x000061ff (0x100) IX[B]E
[23] -1 0 0x00006000 - 0x000060ff (0x100) IX[B]E
[24] -1 0 0x0000cd00 - 0x0000cdff (0x100) IX[B]E
[25] -1 0 0x00009e00 - 0x00009dff (0x0) IX[B]EO
[26] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]EO
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded by default.
(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
(II) "type1" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "extmod"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org 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 TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "record"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "dbe"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "xtrap"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//libxtrap.so
(II) Module xtrap: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DEC-XTRAP
(II) LoadModule: "dri"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "freetype"
(II) Loading /usr/pkg/lib/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 1.4.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "type1"
(II) Loading /usr/pkg/lib/xorg/modules/fonts//libtype1.so
(II) Module type1: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "geode"
(II) Loading /usr/pkg/lib/xorg/modules/drivers//geode_drv.so
(II) Module geode: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 2.11.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 2.0
(II) LoadModule: "mouse"
(II) Loading /usr/pkg/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.3.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "kbd"
(II) Loading /usr/pkg/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.3.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) GEODE: Driver for AMD Geode Chipsets: Geode LX, Geode GX
(II) Primary Device is: PCI 00:01:1
(--) Assigning device section with no busID to primary device
(--) Chipset Geode LX found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xef500000 - 0xef5fffff (0x100000) MX[B]E
[5] -1 0 0xeff00000 - 0xefffffff (0x100000) MX[B]E
[6] -1 0 0xef600000 - 0xef6fffff (0x100000) MX[B]E
[7] -1 0 0xef700000 - 0xef7fffff (0x100000) MX[B]E
[8] -1 0 0xef800000 - 0xefbfffff (0x400000) MX[B]E
[9] -1 0 0xefc00000 - 0xefdfffff (0x200000) MX[B]E
[10] -1 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B](B)
[11] -1 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B](B)
[12] -1 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B](B)
[13] -1 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B](B)
[14] -1 0 0x50000000 - 0x57ffffff (0x8000000) MX[B](B)
[15] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[16] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[17] -1 0 0x0000cc80 - 0x0000ccff (0x80) IX[B]E
[18] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[19] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]E
[20] -1 0 0x00009d00 - 0x00009dff (0x100) IX[B]E
[21] -1 0 0x00006200 - 0x000062ff (0x100) IX[B]E
[22] -1 0 0x00006100 - 0x000061ff (0x100) IX[B]E
[23] -1 0 0x00006000 - 0x000060ff (0x100) IX[B]E
[24] -1 0 0x0000cd00 - 0x0000cdff (0x100) IX[B]E
[25] -1 0 0x00009e00 - 0x00009dff (0x0) IX[B]EO
[26] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]EO
(II) resource ranges after probing:
[0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0xef500000 - 0xef5fffff (0x100000) MX[B]E
[5] -1 0 0xeff00000 - 0xefffffff (0x100000) MX[B]E
[6] -1 0 0xef600000 - 0xef6fffff (0x100000) MX[B]E
[7] -1 0 0xef700000 - 0xef7fffff (0x100000) MX[B]E
[8] -1 0 0xef800000 - 0xefbfffff (0x400000) MX[B]E
[9] -1 0 0xefc00000 - 0xefdfffff (0x200000) MX[B]E
[10] -1 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B](B)
[11] -1 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B](B)
[12] -1 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B](B)
[13] -1 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B](B)
[14] -1 0 0x50000000 - 0x57ffffff (0x8000000) MX[B](B)
[15] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[16] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[17] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[18] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[19] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[20] -1 0 0x0000cc80 - 0x0000ccff (0x80) IX[B]E
[21] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[22] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]E
[23] -1 0 0x00009d00 - 0x00009dff (0x100) IX[B]E
[24] -1 0 0x00006200 - 0x000062ff (0x100) IX[B]E
[25] -1 0 0x00006100 - 0x000061ff (0x100) IX[B]E
[26] -1 0 0x00006000 - 0x000060ff (0x100) IX[B]E
[27] -1 0 0x0000cd00 - 0x0000cdff (0x100) IX[B]E
[28] -1 0 0x00009e00 - 0x00009dff (0x0) IX[B]EO
[29] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]EO
[30] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[31] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(WW) GEODE(0): set MTRR c001e - c0030
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/pkg/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 0.1.0
ABI class: X.Org Video Driver, version 2.0
(**) GEODE(0): Depth 24, (--) framebuffer bpp 32
(==) GEODE(0): RGB weight 888
(==) GEODE(0): Default visual is TrueColor
(==) GEODE(0): Using gamma correction (1.0, 1.0, 1.0)
(**) GEODE(0): Option "PanelMode" "65000 1024 1048 1184 1344 600 601 605 628"
(==) GEODE(0): No DCON is present
(II) GEODE(0): LX output options:
(II) GEODE(0): CRT: YES
(II) GEODE(0): PANEL: YES
(II) GEODE(0): DCON: NO
(II) GEODE(0): VGA: YES
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/pkg/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(WW) GEODE(0): remove MTRR a0000 - c0000
(WW) GEODE(0): remove MTRR c0000 - 100000
(II) GEODE(0): Primary V_BIOS segment is: 0xc000
(WW) GEODE(0): remove MTRR 0 - 1000
(II) GEODE(0): Output default using monitor section Internal Panel
(II) GEODE(0): I2C bus "CS5536 DDC" initialized.
(II) GEODE(0): Output default connected
(II) GEODE(0): Output default using initial mode nocompression
(--) GEODE(0): Virtual size is 1024x600 (pitch 0)
(**) GEODE(0): Driver mode "nocompression": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 77.0 Hz
(II) GEODE(0): Modeline "nocompression"x77.0 65.00 1024 1048 1184 1344 600 601 605 628 (48.4 kHz)
(**) GEODE(0): Default mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
(II) GEODE(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
(**) GEODE(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
(II) GEODE(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
(**) GEODE(0): Default mode "640x400": 41.7 MHz (scaled from 0.0 MHz), 49.7 kHz, 60.0 Hz (D)
(II) GEODE(0): Modeline "640x400"x60.0 41.73 640 672 740 840 400 400 402 414 doublescan (49.7 kHz)
(**) GEODE(0): Default mode "640x384": 40.1 MHz (scaled from 0.0 MHz), 47.7 kHz, 60.1 Hz (D)
(II) GEODE(0): Modeline "640x384"x60.1 40.07 640 672 740 840 384 384 386 397 doublescan (47.7 kHz)
(**) GEODE(0): Default mode "512x384": 32.5 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz (D)
(II) GEODE(0): Modeline "512x384"x60.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz)
(**) GEODE(0): Default mode "400x300": 20.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz (D)
(II) GEODE(0): Modeline "400x300"x60.3 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz)
(**) GEODE(0): Default mode "320x240": 12.6 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.1 Hz (D)
(II) GEODE(0): Modeline "320x240"x60.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz)
(==) GEODE(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/pkg/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/pkg/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 2.2.0
ABI class: X.Org Video Driver, version 2.0
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B]
[1] 0 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B]
[2] 0 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B]
[3] 0 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B]
[4] 0 0 0x50000000 - 0x57ffffff (0x8000000) MX[B]
[5] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[6] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[7] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[8] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[9] -1 0 0xef500000 - 0xef5fffff (0x100000) MX[B]E
[10] -1 0 0xeff00000 - 0xefffffff (0x100000) MX[B]E
[11] -1 0 0xef600000 - 0xef6fffff (0x100000) MX[B]E
[12] -1 0 0xef700000 - 0xef7fffff (0x100000) MX[B]E
[13] -1 0 0xef800000 - 0xefbfffff (0x400000) MX[B]E
[14] -1 0 0xefc00000 - 0xefdfffff (0x200000) MX[B]E
[15] -1 0 0x4fff0000 - 0x4fff3fff (0x4000) MX[B](B)
[16] -1 0 0x4fff4000 - 0x4fff7fff (0x4000) MX[B](B)
[17] -1 0 0x4fff8000 - 0x4fffbfff (0x4000) MX[B](B)
[18] -1 0 0x4fffc000 - 0x4fffffff (0x4000) MX[B](B)
[19] -1 0 0x50000000 - 0x57ffffff (0x8000000) MX[B](B)
[20] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[21] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[22] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[24] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[25] -1 0 0x0000cc80 - 0x0000ccff (0x80) IX[B]E
[26] -1 0 0x0000eff0 - 0x0000efff (0x10) IX[B]E
[27] -1 0 0x00009c00 - 0x00009cff (0x100) IX[B]E
[28] -1 0 0x00009d00 - 0x00009dff (0x100) IX[B]E
[29] -1 0 0x00006200 - 0x000062ff (0x100) IX[B]E
[30] -1 0 0x00006100 - 0x000061ff (0x100) IX[B]E
[31] -1 0 0x00006000 - 0x000060ff (0x100) IX[B]E
[32] -1 0 0x0000cd00 - 0x0000cdff (0x100) IX[B]E
[33] -1 0 0x00009e00 - 0x00009dff (0x0) IX[B]EO
[34] -1 0 0x0000ac1c - 0x0000ac1b (0x0) IX[B]EO
[35] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[36] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(WW) GEODE(0): remove MTRR a0000 - b0000
(II) GEODE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) GEODE(0): remove MTRR 4fffc000 - 50000000
(WW) GEODE(0): remove MTRR 4fff8000 - 4fffc000
(WW) GEODE(0): remove MTRR 4fff4000 - 4fff8000
(WW) GEODE(0): remove MTRR 4fff0000 - 4fff4000
(WW) GEODE(0): set MTRR 50000000 - 54000000
(WW) GEODE(0): set MTRR f0000 - 100000
(II) GEODE(0): Geode LX video memory 3e00000 bytes at 0xb75ec000
(II) GEODE(0): LX video memory:
(II) GEODE(0): Display: 0x400000 bytes
(II) GEODE(0): Compression: 0x4fb00 bytes
(II) GEODE(0): Cursor: 0x3000 bytes
(II) GEODE(0): EXA: 0x3415400 bytes
(II) GEODE(0): FREE: 0x458100 bytes
(II) EXA(0): Offscreen pixmap area of 54612992 bytes
(II) EXA(0): Driver registered support for the following operations:
(II) Solid
(II) Copy
(II) Composite (RENDER acceleration)
(==) GEODE(0): Backing store disabled
(II) GEODE(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(--) RandR disabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) GEODE(0): Setting screen physical size to 270 x 158
(**) Option "Protocol" "wsmouse"
(**) Mouse1: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse1: always reports core events
(**) Option "Device" "/dev/wsmouse"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 9
(**) Option "CoreKeyboard"
(**) Keyboard1: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "jp106"
(**) Keyboard1: XkbModel: "jp106"
(**) Option "XkbLayout" "jp"
(**) Keyboard1: XkbLayout: "jp"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) evaluating device (Keyboard1)
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) evaluating device (Mouse1)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
Could not init font path element /usr/pkg/lib/X11/fonts/OTF, removing from list!
c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!
FreeFontPath: FPE "/usr/pkg/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
最近のコメント