Changes between Version 6 and Version 7 of jazz/09-05-20


Ignore:
Timestamp:
May 20, 2009, 9:50:44 PM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/09-05-20

    v6 v7  
    6565udev: /lib/udev/firmware.agent
    6666}}}
     67   * 手工打造支援 firmware-bnx 的 initrd-pxe.2.6.22.19-lustre-686.img
     68     * 首先要先瞭解 drblsrv-offline 所產生的 initrd-pxe.2.6.22.19-lustre-686.img 與系統產生的 initrd.img-2.6.22.19-lustre-686 有何差別
     69{{{
     70bio:~$ uname -a
     71Linux bio 2.6.22.19-lustre-686 #2 SMP Tue Aug 26 00:01:59 UTC 2008 i686 GNU/Linux
     72bio:~$ sudo /opt/drbl/sbin/drblsrv-offline -s `uname -r`
     73bio:~$ mkdir -p temp temp2
     74bio:~$ cd temp
     75bio:~/temp$ cat /boot/initrd.img-2.6.22.19-lustre-686 | gunzip | cpio -i
     76bio:~/temp$ cd ..
     77bio:~$ cd temp2/
     78bio:~/temp2$ cat /tftpboot/nbi_img/initrd-pxe.2.6.22.19-lustre-686.img | gunzip | sudo cpio -i
     79}}}
     80    * 光是從 diff -r temp temp2 的結果來看,兩者的差異很大。而 firmware.agent 在系統產生的 initrd.img 中,是透過 udev 的 rules 被執行的。
     81{{{
     82bio:~/temp$ grep firmware.agent * -r --color
     83etc/udev/rules.d/80-drivers.rules:SUBSYSTEM=="firmware",                                RUN+="firmware.agent"
     84}}}
    6785 * [http://61.60.9.15/apply/ 自然人憑證 API 機關申請]
    6886 * [http://portal.acm.org/toc.cfm?id=J822 Personal and Ubiquitous Computing]