| 4 | |
| 5 | == ITRI SSTC & DRBL == |
| 6 | |
| 7 | * 問題一:Ubuntu 10.04, 10.10, 11.04 都沒有 [http://packages.ubuntu.com/search?keywords=partimage&searchon=names&suite=all§ion=all partimage 的 amd64 版本] |
| 8 | {{{ |
| 9 | 套件 partimage |
| 10 | * dapper (admin): backup partitions into a compressed image file [universe] |
| 11 | 0.6.4-14: amd64 i386 powerpc |
| 12 | * hardy (admin): backup partitions into a compressed image file [universe] |
| 13 | 0.6.7-1: i386 |
| 14 | 0.6.4-17: amd64 |
| 15 | * lucid (admin): backup partitions into a compressed image file [universe] |
| 16 | 0.6.8-1: i386 |
| 17 | * maverick (admin): backup partitions into a compressed image file [universe] |
| 18 | 0.6.8-1: i386 |
| 19 | * natty (admin): backup partitions into a compressed image file [universe] |
| 20 | 0.6.8-1: i386 |
| 21 | * oneiric (admin): backup partitions into a compressed image file [universe] |
| 22 | 0.6.8-2build1: amd64 i386 |
| 23 | }}} |
| 24 | * 問題二: 網卡不被支援 - Debian GNU/Linux 6.0.2 (squeeze) 不行,Ubuntu 要 10.10 以後版本的預設核心才行。 |
| 25 | {{{ |
| 26 | 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) |
| 27 | 00:19.0 0200: 8086:1502 (rev 04) |
| 28 | }}} |
| 29 | * 2.6.32-5-amd64 的 e1000e 不支援這個 pciid,所以改裝 3.0.0-1-amd64 |
| 30 | {{{ |
| 31 | jazz@eagle:/lib/modules/2.6.32-5-amd64$ cat modules.alias | grep 1502 |
| 32 | alias usb:v16CAp1502d*dc*dsc*dp*ic*isc*ip* aircable |
| 33 | alias pci:v00001131d00007133sv00005169sd00001502bc*sc*i* saa7134 |
| 34 | jazz@eagle:/lib/modules/2.6.32-5-amd64$ cd .. |
| 35 | jazz@eagle:/lib/modules$ cd 3.0.0-1-amd64/ |
| 36 | jazz@eagle:/lib/modules/3.0.0-1-amd64$ cat modules.alias | grep 1502 |
| 37 | alias pci:v00008086d00001502sv*sd*bc*sc*i* e1000e |
| 38 | alias usb:v16CAp1502d*dc*dsc*dp*ic*isc*ip* aircable |
| 39 | alias pci:v00001131d00007133sv00005169sd00001502bc*sc*i* saa7134 |
| 40 | }}} |
| 41 | * 問題三:改裝 3.0.0-1-amd64 會有另外的問題,就是 initrd-pxe.3.0.0-1-amd64.img 無法正常載入 e1000e 的模組,會出現 |
| 42 | {{{ |
| 43 | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| 44 | "The driver of network card is NOT found!" |
| 45 | "Is this kernel $kernel_ver too old so it does not support this network card ?" |
| 46 | "Without network card driver, we can NOT go on!" |
| 47 | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| 48 | "Now enter shell to debug..." |
| 49 | }}} |
| 50 | * 但是在 shell 中不做任何動作,直接下 exit 之後,又可以正常網路開機。因此懷疑 3.0.0-1-amd64 的開機速度較快,或 modprobe 程序有誤。 |
| 51 | * <解法> 目前暫時修改 /usr/lib/mkpxeinitrd-net/initrd-skel/bin/insert-modules 加入 sleep 1 的描述,則可以順利開機。 |
| 52 | {{{ |
| 53 | --- bin/insert-modules.org 2011-08-30 21:40:18.000000000 +0800 |
| 54 | +++ bin/insert-modules 2011-08-30 21:17:16.000000000 +0800 |
| 55 | @@ -14,6 +14,7 @@ |
| 56 | esac |
| 57 | echo -n "$module " |
| 58 | modprobe $module $args 2>/dev/null |
| 59 | + sleep 1 |
| 60 | done |
| 61 | |
| 62 | # Detect and load the network devices |
| 63 | @@ -21,6 +22,7 @@ |
| 64 | [ -n "$NIC_MOD" ] && echo "The detected modules for hardware: $NIC_MOD. Try to load them..." |
| 65 | for mod in $NIC_MOD; do |
| 66 | modprobe $mod 2>/dev/null |
| 67 | + sleep 1 |
| 68 | done |
| 69 | netdevices="$(get-nic-devs)" |
| 70 | if [ -z "$netdevices" ]; then |
| 71 | }}} |
| 72 | * 看到一些奇怪的訊息,因此懷疑 scan_pci 這段產生的 $NIC_MOD 內容有誤~(待追蹤) |
| 73 | {{{ |
| 74 | modprobe Valid |
| 75 | modprobe PCI |
| 76 | modprobe device |
| 77 | modprobe module |
| 78 | modprobe is |
| 79 | modprobe found! |
| 80 | }}} |
| 81 | * 問題四:出現 drm 錯誤訊息 |
| 82 | {{{ |
| 83 | [drm:pch_irq_handler] *ERROR* PCH poison interrupt |
| 84 | [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid |
| 85 | }}} |
| 86 | * 經查:[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/795407 Bug #795407 in linux (Ubuntu)]與[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/712075 Bug #712075 in linux (Ubuntu)],錯誤似乎與 DVI 接頭和 X-Windows 解析度偵測有關。目前看到解法是: |
| 87 | {{{ |
| 88 | echo 0 > /sys/module/drm_kms_helper/poll |
| 89 | }}} |
| 90 | }}} |
| 91 | }}} |