[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

在採用 Intel 的 Apple iMac 上運行 CentOS 5

<<TableOfContents: execution failed [Too many arguments] (see also the log)>>

1. iMac

2. 硬件

lspci:

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 9583
03:00.0 FireWire (IEEE 1394): Agere Systems Unknown device 5901 (rev 06)
04:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 05)
05:00.0 Ethernet controller: Marvell Technology Group Ltd. Marvell Yukon 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)

3. 安裝前/後須用的內核參數!

基於未知的原因,CentOS 5.2似乎須要運用 irqpoll 這個內核參數。因此,請在安裝時加入 irqpoll(linux irqpoll),及在 grub.conf 檔案內加入它。不使用 irqpoll 的徵狀包括:非常慢的鍵盤/滑鼠;就算沒有工作,系統負荷依然匯報 2.0

4. 無線網絡

iMac 擁有一顆不被 b43 內核模塊支援的 bcm4328 晶片組(詳情見 http://www.linuxwireless.org/en/users/Drivers/b43 )。這意味著在 CentOS 上使用這張無線配接卡的唯一方法(截至本文)就是透過 ndiswrapper。你需要從 ELRepo 軟件庫( http://elrepo.org )取得 ndiswrapper。Broadcom 的 XP 驅動程式可在 Mac OXS 的第一張安裝碟內找到:我們需要將它抽出來,因此請放入光碟並掛載它(如果它未被自動掛載)

cd /tmp
cp /media/WindowsSupport/boot\ camp/drivers/broadcom/broadcomxpinstaller.exe ./
unrar e broadcomxpinstaller.exe 
yum --enablerepo=elrepo install kmod-ndiswrapper 
ndiswrapper -i bcmwl5.inf 
modprobe ndiswrapper 
ndiswrapper -m

現在你可以使用 NetworkManager,但此刻 WPA 驗證在 ndiswrapper 方案下似乎有點問題…… 然而 wpa_supplicant/wicd 卻能正常運作(有待證實)

5. 視訊

iMac 擁有一張 nvidia 或 ATI 的顯示卡,因此一如過往,請使用恰當的驅動程式,或者沿用 vesafb。Compiz/desktop-effects 與 fglrx 在 iMac 上運作正常。

6. iSight 網絡攝像機

你須要安裝 uvc 內核模塊及韌體。其實你可以從 ATRpms 軟件庫安裝 uvc 內核模塊:

yum --enablerepo=atrpms install uvc uvc-kmdl-`uname -r`

不幸地,你須要載入 iSight 的韌體,而一般用的工具(isight-firmware-tools)在 el5 上無法建立(參見我在 https://bugs.launchpad.net/isight-firmware-tools/+bug/263737 的錯誤報告)。當這個錯誤得到修正,這裡將會提供一個用來載入韌體的 RPM(你仍需將它從你的 Mac OSX 分割區複製過來),與及解釋。

歡迎提供意見

Translation of revision 6


2023-09-11 07:23