Changes between Version 17 and Version 18 of jazz/08-11-16


Ignore:
Timestamp:
Nov 17, 2008, 2:02:07 AM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/08-11-16

    v17 v18  
    66 * SC'08
    77   * 13:00-13:30: Cloud Computing and Grid Computing 360-Degree Compared - GCE08 @ Room 11AB.
    8  * [http://www.weather.com/weather/tenday/USTX0057?from=36hr_fcst10DayLink_undeclared Austin 近十日天氣預報]
    9  * 展場無線網路測試:
    10 {{{
    11 C:\>tracert 140.110.1.1
    12 
    13 Tracing route to 140.110.1.1 over a maximum of 30 hops
    14 
    15   1     2 ms    <1 ms    <1 ms  conf-rtr-south-vlan203.sc08.org [140.221.224.3]
    16   2     3 ms     1 ms     1 ms  core-rtr-1-conf-rtr-south.sc08.org [140.221.251.114]
    17   3    34 ms    33 ms    33 ms  nlr-la-rtr-core-rtr-1.sc08.org [140.221.251.134]
    18   4    60 ms    58 ms    59 ms  seat-losa-49.layer3.nlr.net [216.24.186.13]
    19   5    62 ms    60 ms    64 ms  twaren-1-is-jmb-776.lsanca.pacificwave.net [207.231.241.133]
    20   6   294 ms   313 ms   313 ms  la-76-hc-gsr.twaren.net [211.79.48.229]
    21   7   250 ms   313 ms   312 ms  hc-76-v20.twaren.net [211.79.60.113]
    22   8   248 ms   313 ms   313 ms  140.110.1.1
    23 
    24 Trace complete.
    25                              My traceroute  [v0.73]
    26 intrepid (0.0.0.0)                                     Sun Nov 16 00:54:03 2008
    27 Keys:  Help   Display mode   Restart statistics   Order of fields   quit
    28                                        Packets               Pings
    29  Host                                Loss%   Snt   Last   Avg  Best  Wrst StDev
    30  1. 172.21.253.2                      0.0%   259    0.3   0.3   0.2   6.1   0.4
    31  2. 140.110.1.1                       0.0%   259  226.3 279.1 221.1 1018.  61.5
    32 
    33 jazz@intrepid:~$ sudo iperf -c 140.110.240.192 -u
    34 ------------------------------------------------------------
    35 Client connecting to 140.110.240.192, UDP port 5001
    36 Sending 1470 byte datagrams
    37 UDP buffer size:   122 KByte (default)
    38 ------------------------------------------------------------
    39 [  3] local 172.21.253.152 port 33083 connected with 140.110.240.192 port 5001
    40 [ ID] Interval       Transfer     Bandwidth
    41 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    42 [  3] Sent 892 datagrams
    43 [  3] Server Report:
    44 [ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
    45 [  3]  0.0- 9.9 sec  1.25 MBytes  1.05 Mbits/sec  2.526 ms    0/  891 (0%)
    46 [  3]  0.0- 9.9 sec  1 datagrams received out-of-order
    47 
    48 jazz@intrepid:~$ sudo iperf -c 140.110.240.192 -u -w 10M
    49 ------------------------------------------------------------
    50 Client connecting to 140.110.240.192, UDP port 5001
    51 Sending 1470 byte datagrams
    52 UDP buffer size:   244 KByte (WARNING: requested 10.0 MByte)
    53 ------------------------------------------------------------
    54 [  3] local 172.21.253.152 port 56643 connected with 140.110.240.192 port 5001
    55 [ ID] Interval       Transfer     Bandwidth
    56 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    57 [  3] Sent 893 datagrams
    58 [  3] Server Report:
    59 [ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
    60 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  0.670 ms    0/  893 (0%)
    61 }}}
    62  * 展場光纖網路測試:
    63 {{{
    64 C:\>tracert 140.110.1.1
    65 
    66 Tracing route to 140.110.1.1 over a maximum of 30 hops
    67 
    68   1    <1 ms    <1 ms    <1 ms  A-rtr.1851.sc08.org [140.221.141.1]
    69   2    32 ms     1 ms    <1 ms  core-rtr-1-2-dnoc-rtr-2046-2.sc08.org [140.221.251.69]
    70   3    32 ms    32 ms    32 ms  nlr-la-rtr-core-rtr-1.sc08.org [140.221.251.134]
    71   4    58 ms    57 ms    57 ms  seat-losa-49.layer3.nlr.net [216.24.186.13]
    72   5    60 ms    59 ms    59 ms  twaren-1-is-jmb-776.lsanca.pacificwave.net [207.231.241.133]
    73   6   224 ms   225 ms   224 ms  la-76-tp-gsr.twaren.net [211.79.48.209]
    74   7   226 ms   226 ms   226 ms  hc-76-v20.twaren.net [211.79.60.113]
    75   8   227 ms   227 ms   227 ms  140.110.1.1
    76 
    77 Trace complete.
    78 
    79 jazz@intrepid:~$ sudo mtr 140.110.1.1
    80 
    81                              My traceroute  [v0.73]
    82 intrepid (0.0.0.0)                                     Sun Nov 16 00:44:24 2008
    83 Resolver: Received error response 5. (refused by name server)elds   quit
    84                                        Packets               Pings
    85  Host                                Loss%   Snt   Last   Avg  Best  Wrst StDev
    86  1. 172.21.253.2                      0.0%   616    0.3   0.2   0.2   1.3   0.1
    87  2. 140.110.1.1                       0.0%   616  228.1 228.9 227.6 410.2  12.3
    88 
    89 jazz@intrepid:~$ sudo iperf -c 140.110.240.192 -u
    90 ------------------------------------------------------------
    91 Client connecting to 140.110.240.192, UDP port 5001
    92 Sending 1470 byte datagrams
    93 UDP buffer size:   122 KByte (default)
    94 ------------------------------------------------------------
    95 [  3] local 172.21.253.152 port 50095 connected with 140.110.240.192 port 5001
    96 [ ID] Interval       Transfer     Bandwidth
    97 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    98 [  3] Sent 893 datagrams
    99 [  3] Server Report:
    100 [ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
    101 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  1.975 ms    0/  892 (0%)
    102 [  3]  0.0-10.0 sec  1 datagrams received out-of-order
    103 
    104 jazz@intrepid:~$ sudo iperf -c 140.110.240.192 -u -w 10M
    105 ------------------------------------------------------------
    106 Client connecting to 140.110.240.192, UDP port 5001
    107 Sending 1470 byte datagrams
    108 UDP buffer size:   244 KByte (WARNING: requested 10.0 MByte)
    109 ------------------------------------------------------------
    110 [  3] local 172.21.253.152 port 53022 connected with 140.110.240.192 port 5001
    111 [ ID] Interval       Transfer     Bandwidth
    112 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    113 [  3] Sent 893 datagrams
    114 [  3] Server Report:
    115 [ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
    116 [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  1.827 ms    0/  893 (0%)
    117 }}}
    1188
    1199== BUGFIX: jfbterm ==
    12010
    121  * [DRBL] jfbterm Bug
    122    * https://bugs.launchpad.net/ubuntu/+source/jfbterm/+bug/253163
    123    * http://launchpadlibrarian.net/16414131/jfbterm-segfault.txt
    124    * http://launchpadlibrarian.net/16414135/jfbterm-segfault-strace.txt
    125    * [測試]
    126      * 安裝 [http://ftp.twaren.net/Linux/Ubuntu/ubuntu-cd/8.10/ubuntu-8.10-server-amd64.iso Ubuntu 8.10 Server AMD64]
    127      *
    128 {{{
    129 root@intrepid:~# apt-get update
    130 root@intrepid:~# apt-get upgrade
    131 root@intrepid:~# reboot
    132 root@intrepid:~# uname -a
    133 Linux intrepid 2.6.27-7-server #1 SMP Tue Nov 4 20:16:57 UTC 2008 x86_64 GNU/Linux
    134 root@intrepid:~# apt-get install jfbterm v86d
    135 root@intrepid:~# reboot
    136 root@intrepid:~# dpkg -S chvt
    137 kbd: /usr/share/man/man1/chvt.1.gz
    138 kbd: /bin/chvt
    139 root@intrepid:~# chvt 1
    140 root@intrepid:~# rmmod uvesafb
    141 ERROR: Module uvesafb does not exist in /proc/modules
    142 root@intrepid:~# modprobe uvesafb mode_option=1024x768
    143 root@intrepid:~# screen
    144 root@intrepid:~# jfbterm -e ls
    145 ... 略 ...
    146 color 15 : ffff, ffff
    147 cannot mmap(mmio) : Invalid argument
    148 Segmentation fault
    149 }}}
    150  * [備註] 如果沒有裝 v86d 的話,當執行 modprobe uvesafb 時會在 dmesg 看到以下資訊
    151 {{{
    152 [  703.839376] uvesafb: failed to execute /sbin/v86d
    153 [  703.840224] uvesafb: make sure that the v86d helper is installed and executable
    154 [  703.841494] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
    155 [  703.842307] uvesafb: vbe_init() failed with -22
    156 [  703.843019] uvesafb: probe of uvesafb.0 failed with error -22
    157 }}}
    158  * [備註] 如果有裝 v86d 的話,當執行 modprobe uvesafb 時會在 dmesg 看到以下資訊
    159 {{{
    160 [  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
    161 [  268.884099] uvesafb: no monitor limits have been set, default refresh rate will be used
    162 [  268.885202] uvesafb: VBE state buffer size cannot be determined (eax=0x0, err=0)
    163 [  268.885265] uvesafb: scrolling: redraw
    164 [  268.896617] mtrr: your processor doesn't support write-combining
    165 [  268.909303] Console: switching to colour frame buffer device 128x48
    166 [  269.938085] uvesafb: framebuffer at 0xf0000000, mapped to 0xffffc20000180000, using 16384k, total 16384k
    167 [  269.938101] fb0: VESA VGA frame buffer device
    168 }}}
    169  *
    170 {{{
    171 root@intrepid:~# modinfo uvesafb
    172 filename:       /lib/modules/2.6.27-7-server/kernel/drivers/video/uvesafb.ko
    173 description:    Framebuffer driver for VBE2.0+ compliant graphics boards
    174 author:         Michal Januszewski <spock@gentoo.org>
    175 license:        GPL
    176 srcversion:     21EDEFDED06E0673208A0D5
    177 depends:
    178 vermagic:       2.6.27-7-server SMP mod_unload modversions
    179 parm:           scroll:Scrolling mode, set to 'redraw', 'ypan', or 'ywrap' (scroll)
    180 parm:           vgapal:Set palette using VGA registers (invbool)
    181 parm:           pmipal:Set palette using PMI calls (bool)
    182 parm:           mtrr:Memory Type Range Registers setting. Use 0 to disable. (uint)
    183 parm:           blank:Enable hardware blanking (bool)
    184 parm:           nocrtc:Ignore CRTC timings when setting modes (bool)
    185 parm:           noedid:Ignore EDID-provided monitor limits when setting modes (bool)
    186 parm:           vram_remap:Set amount of video memory to be used [MiB] (uint)
    187 parm:           vram_total:Set total amount of video memoery [MiB] (uint)
    188 parm:           maxclk:Maximum pixelclock [MHz], overrides EDID data (ushort)
    189 parm:           maxhf:Maximum horizontal frequency [kHz], overrides EDID data (ushort)
    190 parm:           maxvf:Maximum vertical frequency [Hz], overrides EDID data (ushort)
    191 parm:           mode_option:Specify initial video mode as "<xres>x<yres>[-<bpp>][@<refresh>]" (charp)
    192 parm:           vbemode:VBE mode number to set, overrides the 'mode' option (ushort)
    193 parm:           v86d:Path to the v86d userspace helper. (string)
    194 
    195 root@intrepid:~# LANG=C apt-cache policy v86d
    196 v86d:
    197   Installed: 0.1.5-1ubuntu2
    198   Candidate: 0.1.5-1ubuntu2
    199   Version table:
    200  *** 0.1.5-1ubuntu2 0
    201         500 http://tw.archive.ubuntu.com intrepid/universe Packages
    202         100 /var/lib/dpkg/status
    203 
    204 root@intrepid:~# LANG=C apt-cache policy jfbterm
    205 jfbterm:
    206   Installed: 0.4.7-7.2
    207   Candidate: 0.4.7-7.2
    208   Version table:
    209  *** 0.4.7-7.2 0
    210         500 http://tw.archive.ubuntu.com intrepid/universe Packages
    211         100 /var/lib/dpkg/status
    212 }}}
    213  * 追蹤 jfbterm 的 deb package 原始碼
    214 {{{
    215 root@intrepid:~# apt-get build-dep jfbterm
    216 root@intrepid:~# apt-get install dpkg-dev
    217 root@intrepid:~# apt-get source jfbterm
    218 }}}
    219  * uvesafb 作者的推測:
    220 {{{
    221 As to why the console becomes unresponsive after exiting jfbterm --
    222 jfbterm sets KD_GRAPHICS mode on the console on which it is started,
    223 and apparently fails to set it back to KD_TEXT before segfaulting.  This
    224 leaves the console in the broken state.
    225 }}}
    226  * 尋找合理懷疑對象:
     11 * (續 [wiki:jazz/08-11-15](@GMT-6))尋找合理懷疑對象:
    22712{{{
    22813root@intrepid:~/jfbterm-0.4.7# grep "KD_GRAPHICS" *
     
    23318vterm.c:        ioctl(0, KDSETMODE, KD_TEXT);
    23419}}}
     20
     21== Debian ==
     22
     23 * [http://lists.debian.org/debian-devel-announce/2008/11/msg00002.html Debian Installer lenny release candidate 1]
     24   * [http://cdimage.debian.org/cdimage/lenny_di_rc1/ Debian 5.0 RC1 光碟下載]
     25   * 原來 Lenny 是這隻雙筒望眼鏡呀?! [[BR]][[BR]][[Image(http://www.linuxdevices.com/files/misc/pixar_toy_story_lenny_cap.jpg)]]
     26         
     27== 職場態度 ==
     28
     29 * [http://mr6.cc/?p=2471 我們要向Google學習做人道理?]
     30{{{
     31現在的上班族,應該要懂得「放下自我好處」(subordinate),要學會「忘記自己」。
     32對待已知的合作伙伴,要非常的信任;對待未知的其他大眾,也要抱持著讓大家一起來做的開放精神。
     33要懂得與他人合作,人終究是群居的動物,一個健全的心理,一定要認定我們是住在一個需要相互倚靠的社會,
     34就像體內的器官,都要相互倚賴才達到某種平衡,大家快樂各司其工作,一起做得很好。
     35}}}