Stadardで導入開始、ディスクの設定はSWAPを約1GB、/varを約3G、/tmpを約800MB、残り8Gほどを/usrへ。
ディストリビューションはカーネルとソースはチェックするも、ほかは・・・カーネル再構築にソース全てを要求されたことは覚えているが他の条件はなんだったか、記憶が定かでない。メモを取らないからだ。とりあえず英語版以外のドキュメントとmanのチェックは外した。このPCの画面を通じて読んでもしかたがない。
ネットワークの最低限の設定、ネットワーク関連のサービスはsshdのみ。
/etc/rc.conf
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
dmesg を見ると、
vgapci0: <VGA-compatible display> mem 0x80000000-0xfbffffff,0xfe980000-0xfe9fffff at device 1.0 on pci0
そして
agp0: <Intel 810E (i810E GMCH) SVGA controller> on vgapci0
agp0: aperture size is 64M
と、見えている。on vgapci0。
カーネルの再構築前に dmesg の出力を整理したいので、sshdのアクセスを設定。
/etc/ssh/sshd_config
Port22
Protocol 2
PermitRootLogin no
PasswordAuthentication yes
PermitEmptyPasswords no
AllowUsers daredare
PermitRootLogin no
PasswordAuthentication yes
PermitEmptyPasswords no
AllowUsers daredare
sshdサービスの再起動
ps -a | grep sshd
/bin/kill -s HUP (PID)
dmesg
cd /usr/src/sys/i386/conf
cp GENERIC MYKERNEL
ハンドブックの6.4.3に記されている agp
http://www.freebsd.org/doc/ja/books/handbook/x-config.html
このカーネルには記述がある。目的からは脱線するがSCSI関連ほかの明らかに無用な要素をコメントアウトしてカーネルを再構築する。
cd /usr/src
make buildkernel KERNCONF=MYKERNEL
umassのscbus依存のコメントアウトを忘れた。やり直し。orz
やり直して、
make installkernel KERNCONF=MYKERNEL
dmesg
本題とは関係の無い作業は終了。
# cat /var/log/Xorg.0.log
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.4-RELEASE i386
Current Operating System: FreeBSD netvista 8.4-RELEASE FreeBSD 8.4-RELEASE #0 r251259: Mon Jun 3 01:14:28 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 17 April 2013 03:34:39PM
Current version of pixman: 0.24.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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: Tue Mar 11 00:38:25 2014
(++) Using config file: "xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x81dfd00
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9
(--) PCI:*(0:0:1:0) 8086:7125:1014:01b0 Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller rev 3, Mem @ 0xf8000000/67108864, 0xfe980000/524288, BIOS @ 0x????????/65536
(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. 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 by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 2.7.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
Mobile Intelツョ GM45 Express Chipset,
Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
(II) Primary Device is: PCI 00@00:01:0
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/local/lib/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 0.1.0
ABI class: X.Org Video Driver, version 6.0
(II) intel(0): Creating default Display subsection in Screen section
"Screen0" for depth/fbbpp 16/16
(==) intel(0): Depth 16, (==) framebuffer bpp 16
(==) intel(0): RGB weight 565
(==) intel(0): Default visual is TrueColor
(**) intel(0): Option "DRI" "True"
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/local/lib/xorg/modules/libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.2.1
ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/local/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/local/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Video Driver, version 6.0
(II) intel(0): initializing int10
(==) intel(0): Write-combining range (0xa0000,0x20000) was already clear
(==) intel(0): Write-combining range (0xc0000,0x40000) was already clear
(II) intel(0): Primary V_BIOS segment is: 0xc000
(==) intel(0): Write-combining range (0x0,0x1000) was already clear
(II) intel(0): VESA BIOS detected
(II) intel(0): VESA VBE Version 2.0
(II) intel(0): VESA VBE Total Mem: 1024 kB
(II) intel(0): VESA VBE OEM: Intel810(TM) Graphics Chip Accelerated VGA BIOS
(II) intel(0): VESA VBE OEM Software Rev: 3.1
(II) intel(0): VESA VBE OEM Vendor: Intel Corporation
(II) intel(0): VESA VBE OEM Product: i810 Graphics Controller
(II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) intel(0): VESA VBE DDC supported
(II) intel(0): VESA VBE DDC Level 2
(II) intel(0): VESA VBE DDC transfer in appr. 1 sec.
(II) intel(0): VESA VBE DDC read successfully
(II) intel(0): Manufacturer: ENC Model: 1615 Serial#: 1886715969
(II) intel(0): Year: 2001 Week: 15
(II) intel(0): EDID Version: 1.1
(II) intel(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) intel(0): Sync: Separate Composite SyncOnGreen
(II) intel(0): Max Image Size [cm]: horiz.: 32 vert.: 24
(II) intel(0): Gamma: 1.80
(II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) intel(0): redX: 0.625 redY: 0.338 greenX: 0.281 greenY: 0.602
(II) intel(0): blueX: 0.149 blueY: 0.073 whiteX: 0.283 whiteY: 0.297
(II) intel(0): Supported established timings:
(II) intel(0): 720x400@70Hz
(II) intel(0): 720x400@88Hz
(II) intel(0): 640x480@60Hz
(II) intel(0): 640x480@67Hz
(II) intel(0): 640x480@72Hz
(II) intel(0): 640x480@75Hz
(II) intel(0): 800x600@56Hz
(II) intel(0): 800x600@60Hz
(II) intel(0): 800x600@72Hz
(II) intel(0): 800x600@75Hz
(II) intel(0): 832x624@75Hz
(II) intel(0): 1024x768@87Hz (interlaced)
(II) intel(0): 1024x768@60Hz
(II) intel(0): 1024x768@70Hz
(II) intel(0): 1024x768@75Hz
(II) intel(0): 1280x1024@75Hz
(II) intel(0): 1152x864@75Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported standard timings:
(II) intel(0): #0: hsize: 800 vsize 600 refresh: 85 vid: 22853
(II) intel(0): #1: hsize: 1024 vsize 768 refresh: 85 vid: 22881
(II) intel(0): #2: hsize: 1024 vsize 768 refresh: 100 vid: 26721
(II) intel(0): #3: hsize: 1152 vsize 864 refresh: 75 vid: 20337
(II) intel(0): #4: hsize: 1152 vsize 864 refresh: 85 vid: 22897
(II) intel(0): #5: hsize: 1280 vsize 1024 refresh: 85 vid: 39297
(II) intel(0): #6: hsize: 1600 vsize 1200 refresh: 65 vid: 17833
(II) intel(0): #7: hsize: 1600 vsize 1200 refresh: 75 vid: 20393
(II) intel(0): Serial No: 70750041
(II) intel(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 96 kHz, PixClock max 210 MHz
(II) intel(0): Monitor name: T561
(II) intel(0):
(II) intel(0): EDID (in hex):
(II) intel(0): 00ffffffffffff0015c3151641007570
(II) intel(0): 0f0b01010e201850e82078a056489a26
(II) intel(0): 12484cffff80455961596168714f7159
(II) intel(0): 8199a945a94f000000ff003730373530
(II) intel(0): 3034310a20202020000000fd0032a01e
(II) intel(0): 6015000a202020202020000000fc0054
(II) intel(0): 3536310a2020202020202020000000fe
(II) intel(0): 000a2020202020202020202020200013
(II) intel(0): EDID vendor "ENC", prod id 5653
(II) intel(0): Using hsync ranges from config file
(II) intel(0): Using vrefresh ranges from config file
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
以下同じようなが延々と続くので中略です。
(II) intel(0): Modeline "1600x1200"x0.0 202.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (93.8 kHz)
(==) intel(0): Write-combining range (0x0,0x1000) was already clear
(--) intel(0): Chipset: "i810e"
(--) intel(0): Linear framebuffer at 0xF8000000
(--) intel(0): IO registers at addr 0xFE980000
(II) intel(0): Kernel reported 52224 total, 0 used
(II) intel(0): I810CheckAvailableMemory: 208896k available
(==) intel(0): Will alloc AGP framebuffer: 24576 kByte
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(II) intel(0): Monitor0: Using hsync range of 30.00-96.00 kHz
(II) intel(0): Monitor0: Using vrefresh range of 50.00-160.00 Hz
(II) intel(0): Monitor0: Using maximum pixel clock of 210.00 MHz
(II) intel(0): Estimated virtual size for aspect ratio 1.3333 is 1600x1200
(II) intel(0): Clock range: 9.50 to 163.00 MHz
(II) intel(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
以下も同じような記述が延々と続くので(中略)
(II) intel(0): Not using driver mode "1600x1200" (bad mode clock/interlace/doublescan)
(--) intel(0): Virtual size is 1600x1200 (pitch 1600)
(**) intel(0): *Default mode "1600x1200": 162.0 MHz, 75.0 kHz, 60.0 Hz
(II) intel(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
以下またしても同じような記述が(中略)
(**) intel(0): *Default mode "640x350": 31.5 MHz, 37.9 kHz, 85.1 Hz
(II) intel(0): Modeline "640x350"x85.1 31.50 640 672 736 832 350 382 385 445 +hsync -vsync (37.9 kHz)
(**) intel(0): Display dimensions: (320, 240) mm
(**) intel(0): DPI set to (127, 127)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/local/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) intel(0): page flipping disabled
(II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/local/lib/xorg/modules/extensions/libdri.so
drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i810"
(EE) [drm] drmOpen failed.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): Setting dot clock to 162.0 MHz [ 0x19 0x6 0x10 ] [ 27 8 1 ]
(II) intel(0): chose watermark 0x22416000: (tab.freq 162.0)
(II) intel(0): xf86BindGARTMemory: bind key 21 at 0x00000000 (pgoffset 0)
(II) intel(0): xf86BindGARTMemory: bind key 22 at 0x01800000 (pgoffset 6144)
(II) intel(0): xf86BindGARTMemory: bind key 23 at 0x01c00000 (pgoffset 7168)
(II) intel(0): Allocated of 4096 bytes for HW cursor
(II) intel(0): xf86BindGARTMemory: bind key 24 at 0x01c01000 (pgoffset 7169)
(II) intel(0): Allocated of 16384 bytes for ARGB HW cursor
(II) intel(0): Adding 384 scanlines for pixmap caching
(II) intel(0): Allocated Scratch Memory
(II) intel(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Horizontal and Vertical Lines
Setting up tile and stipple cache:
20 128x128 slots
4 256x256 slots
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(**) intel(0): DPMS enabled
(WW) intel(0): Direct rendering disabled(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(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) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 21
(II) intel(0): xf86UnbindGARTMemory: unbind key 22
(II) intel(0): xf86UnbindGARTMemory: unbind key 23
(II) intel(0): xf86UnbindGARTMemory: unbind key 24
#
奇策としてこんな方法も拝見し、
https://forums.freebsd.org/viewtopic.php?&t=30004
助言を受けた人のこの様子が
Well, that's embarrassing.
It really did not look "right" but obviously I didn't know what "right" was supposed to look like!
I installed Xfce and all is right with the world.
ある意味たいへんごもっともなので、Xfce4のインストールに踏み切って(踏み外して)みたが、私は当惑しっぱなしです。
文字をろくに読んでいないことがまたしても露呈する。
No such file or directory
そもそも存在しないので、属性を変更しようがない。はて!? OSから入れなおす前にはあったような記憶が?? そういう問題ではない。文字を読んでいるかいないかだ。
0 件のコメント:
コメントを投稿