|
编译完2.6后,make modules出现make[3]: *** [drivers/net/wan/cosa.o] 错误 1
make[2]: *** [drivers/net/wan] 错误 2
make[1]: *** [drivers/net] 错误 2
make: *** [drivers] 错误 2
[root@iceco linux-2.6.0-test5]# make modules_install
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/post-halloween-2.5.txt
INSTALL drivers/net/3c501.ko
cp: stat‘drivers/net/3c501.ko’失败: No such file or directory
make[1]: *** [drivers/net/3c501.ko] 错误 1
make: *** [_modinst_] 错误 2 看不出是什么错了,也就不管它,再make install继续后depmod -a,检查/etc/lilo.conf没错,运行lilo后重启,进入2.6的内核后屏幕一片空白,没有以前那种进度的信息,但我想系统倒是有进入的,因为我摸黑用键盘操作了一下,可以用,在我打入reboot后不久计算机就重启了。
这就不懂了,因为我编译的时候有把VGA和console的那些显示的编进内核,而不是模块,但怎么显示器上没东东?之前编成模块也是这样
附
/etc/fstab[code:1]/dev/hda10 / ext3 defaults 1 1
/dev/hda8 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=gb2312,codepage=936,umask=0 0 0
/dev/hda1 /mnt/win_c ntfs iocharset=gb2312,ro,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=gb2312,codepage=936,umask=0 0 0
/dev/hda6 /mnt/win_e vfat iocharset=gb2312,codepage=936,umask=0 0 0
/dev/hda7 /mnt/win_f vfat iocharset=gb2312,codepage=936,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda11 /usr ext3 defaults 1 2
/dev/hda9 swap swap defaults 0 0
[/code:1]
/etc/lilo.conf[code:1]boot=/dev/hda
map=/boot/map
vga=normal
default="2421-13"
keytable=/boot/us-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda10
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off quiet"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda10
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=off"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
image=/boot/vmlinuz-2.4
label="2421-13"
root=/dev/hda10
initrd=/boot/initrd-2.4.img
append="devfs=mount hdc=ide-scsi acpi=off quiet"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda10
initrd=/boot/initrd.img
append="devfs=nomount hdc=ide-scsi acpi=off failsafe"
read-only
image=/boot/vmlinuz-2.6.0-test6
label=260-test6
root=/dev/hda10
read-only
optional
vga=788
append=" devfs=mount hdc=ide-scsi acpi=off quiet"
initrd=/boot/initrd-2.6.0-test6.img
image=/boot/vmlinuz-2.6.0-test5
label=260-test5
root=/dev/hda10
read-only
optional
vga=788
append=" devfs=mount hdc=ide-scsi acpi=off quiet"
initrd=/boot/initrd-2.6.0-test5.img
[/code:1] |
|