up

前へ| 次へ

PC-VS7006DB NEC SiS part02

唐突 というか むちゃくちゃですが .config の 抜粋

# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
CONFIG_UNICON=y
# CONFIG_UNICON_GB is not set
# CONFIG_UNICON_GBK is not set
# CONFIG_UNICON_BIG5 is not set
CONFIG_UNICON_EUCJP=m
CONFIG_UNICON_JIS=m
CONFIG_UNICON_SJIS=m
# CONFIG_UNICON_KSCM is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_VGA16=m
# CONFIG_FB_HGA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_INTEL is not set
CONFIG_FB_SIS=y
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_IT8181 is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
# CONFIG_FBCON_MFB is not set
# CONFIG_FBCON_CFB2 is not set
# CONFIG_FBCON_CFB4 is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
CONFIG_FBCON_VGA_PLANES=m
# CONFIG_FBCON_VGA is not set
# CONFIG_FBCON_HGA is not set
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

これが 正解ということでは 無いのですが 以下の条件にて 起動させると

  root (hd0,10)
  kernel (hd0,10)/newvmlinuz root=/dev/hda11 ro video=sisfb:mode:1024x768x16 vga16 vga=0x317 unicon=eucjp

vga に 頼るのですが

# cat bootlog 
...
Aug 15 11:40:02 vs kernel: Kernel command line: root=/dev/hda11 ro video=sisfb:mode:1024x768x16 vga16 vga=0x317 unicon=eucjp mem=229312K
...
Aug 15 11:40:02 vs kernel: sisfb: Video ROM found and mapped to 0xc00c0000
Aug 15 11:40:02 vs kernel: sisfb: Framebuffer at 0xd0000000, mapped to 0xce806000, size 32768k
Aug 15 11:40:02 vs kernel: sisfb: MMIO at 0xd9ee0000, mapped to 0xd0807000, size 128k
Aug 15 11:40:02 vs kernel: sisfb: Memory heap starting at 32160K, size 32K
Aug 15 11:40:02 vs kernel: sisfb: Detected LVDS transmitter
Aug 15 11:40:02 vs kernel: sisfb: Mode is 1024x768x16 (60Hz)
Aug 15 11:40:02 vs kernel: Console: switching to colour frame buffer device 128x48
Aug 15 11:40:02 vs kernel: sisfb: 2D acceleration is enabled, scroll-mode ypan (auto-max)
Aug 15 11:40:02 vs kernel: fb0: SiS 651 frame buffer device, Version 1.7.10
Aug 15 11:40:02 vs kernel: sisfb: (C) 2001-2004 Thomas Winischhofer.
...
Aug 15 11:40:08 vs kernel: vga16fb: mapped to 0xc00a0000
Aug 15 11:40:08 vs kernel: fb1: VGA16 VGA frame buffer device
Aug 15 11:40:08 vs kernel: Unikey successfully installed.
...

ついでに

# dmesg | less    
...
Kernel command line: root=/dev/hda11 ro video=sisfb:mode:1024x768x16 vga16 vga=0
x317 unicon=eucjp mem=229312K
sisfb: Options mode:1024x768x16
....
sisfb: Video ROM found and mapped to 0xc00c0000
sisfb: Framebuffer at 0xd0000000, mapped to 0xce806000, size 32768k
sisfb: MMIO at 0xd9ee0000, mapped to 0xd0807000, size 128k
sisfb: Memory heap starting at 32160K, size 32K
sisfb: Detected LVDS transmitter
sisfb: Detected 1280x768 flat panel
sisfb: Mode is 1024x768x16 (60Hz)
sisfb: Initial vbflags 0x1000012
Console: switching to colour frame buffer device 128x48
sisfb: 2D acceleration is enabled, scroll-mode ypan (auto-max)
fb0: SiS 651 frame buffer device, Version 1.7.10
sisfb: (C) 2001-2004 Thomas Winischhofer.
...
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
Unikey successfully installed.

真っ黒な 画面に なりますが 受け付ける 状況が出来ているようです。

# lsmod
Module                  Size  Used by    Not tainted
autofs4                 8820   0  (unused)
nfsd                   72752   1  (autoclean)
lockd                  49008   1  (autoclean) [nfsd]
sunrpc                 68512   1  (autoclean) [nfsd lockd]
usbkbd                  3096   0  (unused)
usbmouse                2104   0  (unused)
usb-storage            65216   0  (unused)
tulip                  40992   1 
crc32                   2912   0  [tulip]
ohci1394               25456   0  (unused)
ieee1394              186180   0  [ohci1394]
keybdev                 2084   0  (unused)
mousedev                4148   0 
input                   3520   0  [usbkbd usbmouse keybdev mousedev]
ehci-hcd               18508   0  (unused)
usb-ohci               19496   0  (unused)
usbcore                63340   1  [usbkbd usbmouse usb-storage ehci-hcd usb-ohci]
encode-eucjp          242448   0  (unused)
unikey                  8108   0 
vga16fb                 9312   0  (unused)
fbcon-vga-planes        3272   0  [vga16fb]

このときに ユーザと パスワードを 入力し startx にて X 起動後 X を 停 止した場合は コンソール の画面 が 見えて 日本語も 表示 されます。つまり vesa を 使った場合の 様に なります。理由は不明、 以下のような条件の 場合 は

Aug 15 12:29:42 vs kernel: Kernel command line: root=/dev/hda11 ro video=sisfb:mode:1024x768x16 unicon=eucjp mem=229312K
...
Aug 15 12:29:42 vs kernel: sisfb: Video ROM found and mapped to 0xc00c0000
Aug 15 12:29:42 vs kernel: sisfb: Framebuffer at 0xd0000000, mapped to 0xce80600
0, size 32768k
Aug 15 12:29:42 vs kernel: sisfb: MMIO at 0xd9ee0000, mapped to 0xd0807000, size
 128k
Aug 15 12:29:42 vs kernel: sisfb: Memory heap starting at 32160K, size 32K
Aug 15 12:29:42 vs kernel: sisfb: Detected LVDS transmitter
Aug 15 12:29:42 vs kernel: sisfb: Mode is 1024x768x16 (60Hz)
Aug 15 12:29:42 vs kernel: Console: switching to colour frame buffer device 128x
48
Aug 15 12:29:42 vs kernel: sisfb: 2D acceleration is enabled, scroll-mode ypan (
auto-max)
Aug 15 12:29:42 vs kernel: fb0: SiS 651 frame buffer device, Version 1.7.10
Aug 15 12:29:42 vs kernel: sisfb: (C) 2001-2004 Thomas Winischhofer.
...
Aug 15 12:29:48 vs kernel: Unikey successfully installed.

同じく dmesg の 抜粋

Kernel command line: root=/dev/hda11 ro video=sisfb:mode:1024x768x16 unicon=eucj
p mem=229312K
sisfb: Options mode:1024x768x16
...
sisfb: Video ROM found and mapped to 0xc00c0000
sisfb: Framebuffer at 0xd0000000, mapped to 0xce806000, size 32768k
sisfb: MMIO at 0xd9ee0000, mapped to 0xd0807000, size 128k
sisfb: Memory heap starting at 32160K, size 32K
sisfb: Detected LVDS transmitter
sisfb: Detected 1280x768 flat panel
sisfb: Mode is 1024x768x16 (60Hz)
sisfb: Initial vbflags 0x1000012
Console: switching to colour frame buffer device 128x48
sisfb: 2D acceleration is enabled, scroll-mode ypan (auto-max)
fb0: SiS 651 frame buffer device, Version 1.7.10
sisfb: (C) 2001-2004 Thomas Winischhofer.
...
Unikey successfully installed.
...

この場合は 画面に 色々な模様が 表示されているのですが むりやり ユーザー と パスワードを 入力し startx を すれば X での 日本語は可能ですが X を でると また 画面は 色々な模様が 表われるという 状況です。

にゃんたろう 拝!

2009年 8月15日 (土) 21:18:51 JST 作成


前へ| 次へ

up

Copyright © 2004.-2009. nyantarou All Rights Reserved.