| 114 | * [DRBL] jfbterm Bug |
| 115 | * https://bugs.launchpad.net/ubuntu/+source/jfbterm/+bug/253163 |
| 116 | * http://launchpadlibrarian.net/16414131/jfbterm-segfault.txt |
| 117 | * http://launchpadlibrarian.net/16414135/jfbterm-segfault-strace.txt |
| 118 | * [測試] |
| 119 | * 安裝 [http://ftp.twaren.net/Linux/Ubuntu/ubuntu-cd/8.10/ubuntu-8.10-server-amd64.iso Ubuntu 8.10 Server AMD64] |
| 120 | * |
| 121 | {{{ |
| 122 | root@intrepid:~# apt-get update |
| 123 | root@intrepid:~# apt-get upgrade |
| 124 | root@intrepid:~# reboot |
| 125 | root@intrepid:~# uname -a |
| 126 | Linux intrepid 2.6.27-7-server #1 SMP Tue Nov 4 20:16:57 UTC 2008 x86_64 GNU/Linux |
| 127 | root@intrepid:~# apt-get install jfbterm v86d |
| 128 | root@intrepid:~# reboot |
| 129 | root@intrepid:~# dpkg -S chvt |
| 130 | kbd: /usr/share/man/man1/chvt.1.gz |
| 131 | kbd: /bin/chvt |
| 132 | root@intrepid:~# chvt 1 |
| 133 | root@intrepid:~# rmmod uvesafb |
| 134 | ERROR: Module uvesafb does not exist in /proc/modules |
| 135 | root@intrepid:~# modprobe uvesafb mode_option=1024x768 |
| 136 | root@intrepid:~# screen |
| 137 | root@intrepid:~# jfbterm -e ls |
| 138 | ... 略 ... |
| 139 | color 15 : ffff, ffff |
| 140 | cannot mmap(mmio) : Invalid argument |
| 141 | Segmentation fault |
| 142 | }}} |
| 143 | * [備註] 如果沒有裝 v86d 的話,當執行 modprobe uvesafb 時會在 dmesg 看到以下資訊 |
| 144 | {{{ |
| 145 | [ 703.839376] uvesafb: failed to execute /sbin/v86d |
| 146 | [ 703.840224] uvesafb: make sure that the v86d helper is installed and executable |
| 147 | [ 703.841494] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2) |
| 148 | [ 703.842307] uvesafb: vbe_init() failed with -22 |
| 149 | [ 703.843019] uvesafb: probe of uvesafb.0 failed with error -22 |
| 150 | }}} |
| 151 | * [備註] 如果有裝 v86d 的話,當執行 modprobe uvesafb 時會在 dmesg 看到以下資訊 |
| 152 | {{{ |
| 153 | [ 268.848377] uvesafb: VMware, IncVMware virtual machine2.0, VMware virtual machine2.0, 2.0, OEM: V M ware, Inc. VBE support 2.0VMware, IncVMware virtual machine2.0, VBE v2.0 |
| 154 | [ 268.884099] uvesafb: no monitor limits have been set, default refresh rate will be used |
| 155 | [ 268.885202] uvesafb: VBE state buffer size cannot be determined (eax=0x0, err=0) |
| 156 | [ 268.885265] uvesafb: scrolling: redraw |
| 157 | [ 268.896617] mtrr: your processor doesn't support write-combining |
| 158 | [ 268.909303] Console: switching to colour frame buffer device 128x48 |
| 159 | [ 269.938085] uvesafb: framebuffer at 0xf0000000, mapped to 0xffffc20000180000, using 16384k, total 16384k |
| 160 | [ 269.938101] fb0: VESA VGA frame buffer device |
| 161 | }}} |