Tag: Fedora
-
为 CentOS 打上 EPEL 扩展源
最近想在 CentOS 上安装 wine,却发现在默认的 repo 里边没有。一番搜索后得知 CentOS 的源中没有 wine, 另辟蹊径的方法是安装 EPEL。那什么事 EPEL 呢,官方的答案是 Extra Packages for Enterprise Linux,也就是为企业级 Linux 提供的额外软件源,兼容 RHEL,CentOS,Scientific Linux。 安装方法如下: For EL5 32位: su -c ‘rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm’ … su -c ‘yum install foo’
-
gcc: error: elf_i386/elf_x86_64: No such file or directory
最近碰到个 PM 连接的硬盘在 Fedora 15 (FC15)中无法识别的问题,但是在 Fedora 13 中却是可以侦测到的。对比 fc13 使用的是 2.6.34,fc15 则是 2.6.40(3.0.4)。决定逐一将 kernel 降级来判断到底是从那一版的 kernel 开始出现这个问题的。那在使用 fc15 的 gcc 编译 2.6.36.2 以下 kernel 时,一直报错。 错误提示: gcc: error: elf_x86_64: No such file or directory 解决方法: 这个问题是由于 gcc 4.6 不再支持 linker-style 架构。讲 arch/x86/vdso/Makefile 中, 将以 VDSO_LDFLAGS_vdso.lds 开头所在行的 "-m elf_x86_64" 替换为 "-m64"。 将以 VDSO_LDFLAGS_vdso32.lds 开头所在行的 "-m…
-
RedHat Viostor Driver for Windows VirtIO (KVM)
KVM 官方说明:http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers 这上边提供了 Driver 的 Source Code,可以自行编译成 Binary 然后安装。 当然这边也提供了编译好的 Binary。 VirtIO 下载地址:http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/ 需要注意一点,多数 Binary 镜像中的 Driver 都是没有 WHQL签名的,这样在 Win7 和 Win2008 x86_64上会遇到没有数字签名的问题。在这些系统上进行安装时,需要在开机前按 F8 选在禁用数字签名。 也可以选择自己加上测试签名安装。微软提供了测试的方法: Installing Test-Signed Driver Packages How to Release-Sign File System Drivers