模块编译好像失败
斑竹兄:我编译2.6.1成功,但引导时好像找不到模块,在KDE下使用声卡检测程序提示/dev下没有相应的文件夹。对于光驱也提示没有/dev/cdrom文件夹。在/etc/rc.local里用modprobe xxx来加载也提示不能加载。
(编译前安装了Module-Init-Tools的0.9.14版本,安装时也使用了make modules 和make modules_install命令)。 i strongly recommend u compile all u need into kernel by choosing Y first. can u ls /dev/cdom -l to see if u have or not? if can not modporbe. what is the error message? 先谢谢。编译时该选上的都选上了。是不是哪里出了问题,使之不能加载模块呢。另外,在控制中心(Redhat 9)只能察看到2.4.20的内核情况。察看2.6.1时提示什么混乱吧。下面是启动时的错误提示。
localhost gpm: oops() invoked from gpm.c(978)
Jan 29 23:38:53
localhost gpm: /dev/mouse: No such file or directory
Jan 29 23:38:53
localhost gpm: gpm startup succeeded
Jan 29 23:38:53
localhost crond: crond startup succeeded
Jan 29 23:38:55
localhost cups: cupsd startup succeeded
Jan 29 23:38:59
localhost xfs: xfs startup succeeded
Jan 29 23:38:59
localhost anacron: anacron startup succeeded
Jan 29 23:38:59
localhost xfs: ignoring font path element /usr/X11R6/lib/X11/fonts/cyrillic (unreadable)
Jan 29 23:38:59
localhost atd: atd startup succeeded
Jan 29 23:38:59
localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:38:59 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:00 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:00 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:01 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:01 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:01 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:01 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:02 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:03 ocalhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:39:03 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:39:04 localhost kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
Jan 29 23:39:04
localhost init: Id "1" respawning too fast: disabled for 5 minutes
Jan 29 23:39:04 localhost kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
Jan 29 23:39:04
localhost init: Id "2" respawning too fast: disabled for 5 minutes
Jan 29 23:39:04 localhost init: Id "3" respawning too fast: disabled for 5 minutes
Jan 29 23:39:04 localhost init: Id "4" respawning too fast: disabled for 5 minutes
Jan 29 23:39:04 localhost init: Id "5" respawning too fast: disabled for 5 minutes
Jan 29 23:39:04 localhost init: Id "6" respawning too fast: disabled for 5 minutes
Jan 29 23:39:16 localhost1月 29 23:39:16 gdm(pam_unix): session opened for user lj by (uid=0)
Jan 29 23:44:05
localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty1: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty3: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty5: No such file or directory
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty6: No such file or directory
Jan 29 23:44:05 localhost init: Id "1" respawning too fast: disabled for 5 minutes
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost init: Id "3" respawning too fast: disabled for 5 minutes
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty4: No such file or directory
Jan 29 23:44:05 localhost init: Id "5" respawning too fast: disabled for 5 minutes
Jan 29 23:44:05 localhost init: Id "6" respawning too fast: disabled for 5 minutes
Jan 29 23:44:05 localhost /sbin/mingetty: /dev/tty2: No such file or directory
Jan 29 23:44:05 localhost init: Id "4" respawning too fast: disabled for 5 minutes
Jan 29 23:44:05 localhost init: Id "2" respawning too fast: disabled for 5 minutes 2.6内核与2.4内核是有很大区别的,如/dev/mouse在2.6中没有了应该用/dev/input/mice. 另外,在2.6中不再用/etc/modules.conf了,取而代之的是/etc/modprobe.conf, 所以在安装完modules-init-tools后,要./generate-modprobe.conf。 你可以参考下面的链接解决modules不能加载的问题。
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=43117 谢谢。试试再说。 执行/sbin/generate-modprobe.conf /etc/modprobe.conf时,提示:
modprobe: QM_MODULES: Function not implemented
Warning: not translating path=/lib/modules/boot
Warning: not translating path=/lib/modules/2.6.1
Warning: not translating path=/lib/modules/2.6
Warning: not translating path=/lib/modules/kernel
Warning: not translating path=/lib/modules/fs
Warning: not translating path=/lib/modules/net
Warning: not translating path=/lib/modules/scsi
Warning: not translating path=/lib/modules/block
Warning: not translating path=/lib/modules/cdrom
Warning: not translating path=/lib/modules/ipv4
Warning: not translating path=/lib/modules/ipv6
Warning: not translating path=/lib/modules/sound
Warning: not translating path=/lib/modules/fc4
Warning: not translating path=/lib/modules/video
Warning: not translating path=/lib/modules/misc
Warning: not translating path=/lib/modules/pcmcia
Warning: not translating path=/lib/modules/atm
Warning: not translating path=/lib/modules/usb
Warning: not translating path=/lib/modules/ide
Warning: not translating path=/lib/modules/ieee1394
Warning: not translating path=/lib/modules/mtd
Warning: not translating prune modules.dep
Warning: not translating prune modules.description
Warning: not translating prune modules.generic_string
Warning: not translating prune modules.pcimap
Warning: not translating prune modules.isapnpmap
Warning: not translating prune modules.usbmap
Warning: not translating prune modules.parportmap
Warning: not translating prune modules.ieee1394map
Warning: not translating prune modules.pnpbiosmap
Warning: not translating prune System.map
Warning: not translating prune .config
Warning: not translating prune Kerntypes
Warning: not translating prune build
Warning: not translating prune vmlinux
Warning: not translating prune vmlinuz
Warning: not translating prune bzImage
Warning: not translating prune zImage
Warning: not translating prune .rhkmvtag
Warning: not translating generic_stringfile=/lib/modules/2.6.1/modules.generic_string
Warning: not translating pcimapfile=/lib/modules/2.6.1/modules.pcimap
Warning: not translating isapnpmapfile=/lib/modules/2.6.1/modules.isapnpmap
Warning: not translating usbmapfile=/lib/modules/2.6.1/modules.usbmap
Warning: not translating parportmapfile=/lib/modules/2.6.1/modules.parportmap
Warning: not translating ieee1394mapfile=/lib/modules/2.6.1/modules.ieee1394map
Warning: not translating pnpbiosmapfile=/lib/modules/2.6.1/modules.pnpbiosmap
Warning: not translating depfile=/lib/modules/2.6.1/modules.dep
Warning: not translating persistdir=/var/lib/modules/persist
按照楼上仁兄所说的做,也不行。 can u tell us how do you install the module-init-tools? i mean step by step command. 谢谢.工具安装如下:
./configure --prefix=/
make moveold
make
make install
./generate-modprobe.conf /etc/modprobe.conf 我的也是这个原因,困扰了很多天。大家帮忙看看吧。 执行/sbin/generate-modprobe.conf /etc/modprobe.conf时,提示:
modprobe: QM_MODULES: Function not implemented
Warning: not translating path=/lib/modules/boot
Warning: not translating path=/lib/modules/2.6.1
Warning: not translating path=/lib/modules/2.6
Warning: not translating path=/lib/modules/kernel
Warning: not translating path=/lib/modules/fs
Warning: not translating path=/lib/modules/net
Warning: not translating path=/lib/modules/scsi
Warning: not translating path=/lib/modules/block
Warning: not translating path=/lib/modules/cdrom
Warning: not translating path=/lib/modules/ipv4
Warning: not translating path=/lib/modules/ipv6
Warning: not translating path=/lib/modules/sound
Warning: not translating path=/lib/modules/fc4
Warning: not translating path=/lib/modules/video
Warning: not translating path=/lib/modules/misc
Warning: not translating path=/lib/modules/pcmcia
Warning: not translating path=/lib/modules/atm
Warning: not translating path=/lib/modules/usb
Warning: not translating path=/lib/modules/ide
Warning: not translating path=/lib/modules/ieee1394
Warning: not translating path=/lib/modules/mtd
Warning: not translating prune modules.dep
Warning: not translating prune modules.description
Warning: not translating prune modules.generic_string
Warning: not translating prune modules.pcimap
Warning: not translating prune modules.isapnpmap
Warning: not translating prune modules.usbmap
Warning: not translating prune modules.parportmap
Warning: not translating prune modules.ieee1394map
Warning: not translating prune modules.pnpbiosmap
Warning: not translating prune System.map
Warning: not translating prune .config
Warning: not translating prune Kerntypes
Warning: not translating prune build
Warning: not translating prune vmlinux
Warning: not translating prune vmlinuz
Warning: not translating prune bzImage
Warning: not translating prune zImage
Warning: not translating prune .rhkmvtag
Warning: not translating generic_stringfile=/lib/modules/2.6.1/modules.generic_string
Warning: not translating pcimapfile=/lib/modules/2.6.1/modules.pcimap
Warning: not translating isapnpmapfile=/lib/modules/2.6.1/modules.isapnpmap
Warning: not translating usbmapfile=/lib/modules/2.6.1/modules.usbmap
Warning: not translating parportmapfile=/lib/modules/2.6.1/modules.parportmap
Warning: not translating ieee1394mapfile=/lib/modules/2.6.1/modules.ieee1394map
Warning: not translating pnpbiosmapfile=/lib/modules/2.6.1/modules.pnpbiosmap
Warning: not translating depfile=/lib/modules/2.6.1/modules.dep
Warning: not translating persistdir=/var/lib/modules/persist
按照楼上仁兄所说的做,也不行。
我的也是这个问题啊,有哪们仁兄解决了说一下啊
急死人了,linux从此就用不了了
页:
[1]