Changes between Version 12 and Version 13 of jazz/08-11-17
- Timestamp:
- Nov 21, 2008, 1:19:18 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/08-11-17
v12 v13 16 16 * (續 [wiki:jazz/08-11-15 08-11-15@GMT-6 BUGFIX: jfbterm (1)]) 17 17 * (續 [wiki:jazz/08-11-16 08-11-16@GMT-6 BUGFIX: jfbterm (2)]) 18 * 編輯 GRUB 的 menu.lst 就可以不用每次都跑 modprobe 19 {{{ 20 #!diff 21 --- menu.lst.org 2008-11-19 06:56:47.000000000 +0800 22 +++ menu.lst 2008-11-19 06:56:21.000000000 +0800 23 @@ -125,7 +125,7 @@ 24 25 title Ubuntu 8.10, kernel 2.6.27-7-server 26 uuid 574912ac-8bd6-4cc7-90c6-8c5362033fec 27 -kernel /boot/vmlinuz-2.6.27-7-server root=UUID=574912ac-8bd6-4cc7-90c6-8c5362033fec ro quiet splash 28 +kernel /boot/vmlinuz-2.6.27-7-server root=UUID=574912ac-8bd6-4cc7-90c6-8c5362033fec ro quiet splash vga=0x305 29 initrd /boot/initrd.img-2.6.27-7-server 30 quiet 31 }}} 18 32 * mmap 的 offset 參數必須是 sysconf 中定義 _SC_PAGE_SIZE 的倍數。('''offset''' must be a __'''multiple of the page size'''__ as returned by sysconf(_SC_PAGE_SIZE).) 19 33 * 使用 gdb 設定中斷點在 fbcomm.c 第 566 行並觀察變數狀態,可以知道送到 mmap 函數的 offset 參數內容為 1572864 。