Dragonfly 发表于 2003-8-12 22:09:54

我用的是RH 9,那个命令我运行过的啊!有文件的!
experimental 这个在 code maturity option没有的啊!具体在哪个选项啊!
我把GRUB里的一句改成ro root=/dev/hdb1后就可以进入系统了。
现在出现新问题,就是启动的时候出现很多错误提示:
In USB HID Interface modprobe:Can't locate module hid
............keyboard........................................................keybdev
............mouse............................................................mousedev
还有什么vfat、freevfav、ip-table错误,这些错误使我的USB猫无法用了,挂载的HDD也无法挂载。但是我在先前的XCONFIG中选了对USB的支持啊。

还有出现modprobe:modprobe:Can't locate module char-major-10-135这个提示错误,关机也有这个提示,并有soudservice -00什么错误,完了!
弄好了支持PPPOE,反而USB ADSL MODEM连识别都不行!

1) u need choose   [*] Prompt for development and/or incomplete code/drivers, which is the experimental option i said before.
2) for grub 'label=/', u have to use initrd file, if u use /dev/hdbx, u can omit that file.
3)choose usb, vfat... as module, not compiled into kernel directly.
4)char-major-10-135 is /dev/rtc, choose │<M> Enhanced Real Time Clock Support in character device
5) for the soundevice.. error. post detail msg here.

Dragonfly 发表于 2003-8-12 22:13:14

一个重要的问题就是启动的时候ip-table错误始终有!

choose[*] Network packet filtering (replaces ipchains)

ibn 发表于 2003-8-12 22:15:35

帮我看看上面的怪事

Dragonfly 发表于 2003-8-12 22:15:57

我现在只是对RH9原来的内核进行编译,还算好!
可是当我编译新的内核启动,就会出现很多错误,现在先搁置,把RH9原来的搞定。
有个问题,是不是每次修改过那个XCONFIG后,就要做这么多步啊,如果我仅仅改一个选项,还要重新编译吗?能不能直接安装这个模块啊?

for 2.4.x kernel
first time u compile kernel

make mrproper
make clean
make config
make dep
make bzImage
make modules
make modules_install

from sceond time

make config
make dep
make bzImage
make modules
make modules_install

ibn 发表于 2003-8-12 22:17:12

这个上面还有一个,要选吗?

一个重要的问题就是启动的时候ip-table错误始终有!

choose[*] Network packet filtering (replaces ipchains)

Dragonfly 发表于 2003-8-12 22:19:23

IPtable这个问题,我搜索了BBS,发现这个做法,但是找不到choose iptable这个啊!
network option, choose that network filter, then go network filter option to choose iptable
choose M

还有编译出现2次不同的错误信息,而且不同哦!是在make bzImage后出现的ERROR。
还有我现在使用XCONFIG后,保存退出提示会多一句话,本来只有要你去执行MAKE DEP,现在还说什么看上层的目录里的MAKEFILE文件以及什么附加的设备(我没选附加设备啊),这是为什么?我有打make mrproper啊!

make: Entering directory `/usr/src/linux-2.4.20-8/drivers/pci'
make: *** No rule to make target `/usr/src/linux-2.4.20-8/drivers/pci/devlist.h', needed by `names.o'.Stop.
make: Leaving directory `/usr/src/linux-2.4.20-8/drivers/pci'
make: *** Error 2
make: Leaving directory `/usr/src/linux-2.4.20-8/drivers/pci'
make: *** Error 2
make: Leaving directory `/usr/src/linux-2.4.20-8/drivers'
make: *** Error 2


base.c: In function `is_devfsd_or_child':
base.c:1417: structure has no member named `p_opptr'
base.c:1417: structure has no member named `p_opptr'
base.c:1412: warning: `p' might be used uninitialized in this function
base.c: In function `devfsd_ioctl':
base.c:3433: warning: unused variable `lock'
make: *** Error 1
make: Leaving directory `/usr/src/linux-2.4.20-8/fs/devfs'
make: *** Error 2
make: Leaving directory `/usr/src/linux-2.4.20-8/fs/devfs'
make: *** Error 2
make: Leaving directory `/usr/src/linux-2.4.20-8/fs'
make: *** Error 2

[*] Network packet filtering (replaces ipchains)
IP: Netfilter Configuration--->
<M> IP tables support (required for filtering/masq/NAT) (NEW)

ibn 发表于 2003-8-12 22:21:29

那2段代码是什么问题

Dragonfly 发表于 2003-8-12 22:24:10

for the error u meet, i do not have 2.4.20-8 kernel. so i can not tell u why.
:-D

ibn 发表于 2003-8-12 22:26:53


是不是和我选的模块有关,第一次做的时候没有,现在却出现了!
和我当中升级内核没成功,再做原来的有关系吗?

Dragonfly 发表于 2003-8-12 22:44:17

should have relationship with the module u choose. i cannot figure it out since i do not have 2.4.20-8 kernel.

ibn 发表于 2003-8-13 08:21:43

DEVFS
/dev: File systems -> /dev file system support (EXPERIMENTAL)

这个选项要选吗,谁帮我看看一装好RH9是否选中?

ibn 发表于 2003-8-13 08:42:06

<M> Enhanced Real Time Clock Support in character device
这步还是没有找到啊,也没有发现有这个选项的!

ibn 发表于 2003-8-13 08:51:27

1)现在最主要的问题是,我的USB ADSL MODEM在原来RH9装完后,硬件浏览器里有,只是UNKONW,而且上面的2个灯亮,但是当我现在重新编译原来的内核后,MODEM根本就没有影了,灯不亮,而且在硬件浏览器里没有找到这个硬件,请问配置选项里我哪个选项没有选才造成这个问题的?

2)抱歉的很,我编译内核就是为了那个ALCATEL SPEEDTOUCH USB ADSL,但是现在编好出现这个问题,不知道时候是什么漏选了?
Aug 13 21:23:29 localhost pppd: Plugin /usr/lib/pppd/2.4.1/pppoe.so loaded.
Aug 13 21:23:29 localhost pppd: PPPoE Plugin Initialized
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module escape
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module escape
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module crtscts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module crtscts
Aug 13 21:23:29 localhost modprobe: modprobe: Safe mode parameter starts with '-'
Aug 13 21:23:29 localhost modprobe: modprobe: Safe mode parameter starts with '-'
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module nocrtscts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module nocrtscts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module cdtrcts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module cdtrcts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module nocdtrcts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module nocdtrcts
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module xonxoff
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module xonxoff
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module modem
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module modem
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module local
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module local
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module sync
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module sync
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module vj
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module vj
Aug 13 21:23:29 localhost pppd: Plugin /usr/lib/pppd/2.4.1/pppoe.so loaded.
Aug 13 21:23:29 localhost pppd: PPPoE Plugin Initialized
Aug 13 21:23:29 localhost modprobe: modprobe: Can't locate module lock
Aug 13 21:23:29 localhost last message repeated 2 times
Aug 13 21:23:29 localhost pppd: In file /etc/ppp/peers/ad50003078: unrecognized option 'lock'
Aug 13 21:23:39 localhost modprobe: modprobe: Can't locate module ppp0

到底什么模块啊?

3)还有这个问题:
# modprobe usb-ohci
/lib/modules/2.4.20-8custom/kernel/drivers/usb/usb-ohci.o: init_module: No such
device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8custom/kernel/drivers/usb/usb-ohci.o: insmod /lib/modules/2.4.20-8custom/kernel/drivers/usb/usb-ohci.o failed
/lib/modules/2.4.20-8custom/kernel/drivers/usb/usb-ohci.o: insmod usb-ohci failed

不行:—(

4)能否只编译一个模块,像PPPOE,怎么做法。请给出具体步骤,最好能编好后,当前的系统能使用,或者加在当前系统使用。


现在的问题是,这个贴子的问题已经非常乱了,我已经不能很清楚你的问题,并且也不能理清楚应该怎么回答你,你最好重新事理一下你的问题,这样便与我们理解。
对于DEVFS你不要选,选上的话你还要作许多其它的设置,但现在实在是太乱了,头痛中 :shock:

ibn 发表于 2003-8-15 18:06:38

我搞定了!

Dragonfly 发表于 2003-8-15 21:34:45

<M> Enhanced Real Time Clock Support in character device
这步还是没有找到啊,也没有发现有这个选项的!


enter
Character devices--->

choose
│<*> Enhanced Real Time Clock Support


sigh, can you double check before u say can not find?
页: 1 [2] 3
查看完整版本: 编译后的疑问?