[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