歡迎您光臨本站 註冊首頁

slackware 11解決在升級內核啟動出現的問題

←手機掃碼閱讀     火星人 @ 2014-03-26 , reply:0

本人在自己的愛機(sony vgn-fs15c)裝上了slackware 11之後,用的內核為2.4.33.3 , 發現很多問題,touchpad不能用,wireless也不能用

cat /proc/cpuinfo 發現了問題
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 8
cpu MHz : 1596.272
cache size : 64 KB --->好像太小了
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips : 3195.72
clflush size : 64

所以想到了換內核,由於2.6.21內核剛出來,聽說有不少的變化,加入了kvm。

從kernel.org下載2.6.21 的內核
解壓到/usr/src

[root@slackware] # cd linux-2.6.21
[root@slackware] # make oldconfig
[root@slackware] # make menuconfig
我的cpu為 英特爾奔騰M,選上pm,kvm,nvidia顯卡不要選上fb否則在編譯nvidia的時候出錯,我
的顯卡為 geforce go 6200,把ext3編譯到內核中就不需要initrd.gz了
[root@slackware] # time make all -j2
[root@slackware] # make modules_install
[root@slackware] # cp arch/i386/boot/bzImage /boot

添加啟動項到menu.lst
# Linux bootable partition config begins
title Slackware 11 (kernel 2.6.21-pm)
root (hd0,2)
kernel /boot/bzImage root=/dev/hda3 ro vga=791
# Linux bootable partition config ends

重啟之後到
ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
ACPI: PCI interrupt for device 0000:06:04.0 disabled
ipw2200: probe of 0000:06:04.0 failed with error -5
ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:1b.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1b.0 to 64
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe ox800-0x80f:_
之後死機

後來發現在處理pcmica的時候死機了
修改 /etc/pcmica/config.opts
找到
include port 0x100-0x3af, port 0x3e0-0x4ff, port 0x800-0x80f, port 0x820-0x8ff, port 0xc00-0xcff
改為
include port 0x100-0x3af, port 0x3e0-0x4ff, port 0x820-0x8ff, port 0xc00-0xcff

重啟
。。。。。。。。
可以啟動
興奮中。。。。。。。

發現在2.4.33.3中touchpad也可以用了

[root@slackware] # uname -a
Linux slackware 2.6.21-pm #5 Fri Jun 8 20:46:55 CST 2007 i686 i686 i386 GNU/Linux

cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 8
cpu MHz : 1596.272
cache size : 2048 KB ---->正常
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips : 3195.72
clflush size : 64

正在研究wireless
剛開始使用還沒有體驗kvm

[火星人 ] slackware 11解決在升級內核啟動出現的問題已經有672次圍觀

http://coctec.com/docs/linux/show-post-188395.html