insmod doc的问题,求助!
时间:2005-06-05
来源:互联网
warning : loading doc.o will taint the kernel :no license
see [url="http://www.tux.org/lkml/#export-tainted"]http://www.tux.org/lkml/#export-tainted[/url] for information about
warning :loading doc.o will tainted the kernel :forced load
doc.o : init_modules :device or resource busy
Hint:insmod errors can be caused by incorrect modules paramenters,include IO or IRQ parameters
you may find more information in syslog or the output from dmesg
有没有和我遇到一样的呀,我该怎么办?高手指导一下呀!
作者: peter_zu 发布时间: 2005-06-05
问题是,你的PC机上有DOC码?
作者: 风雪狂客 发布时间: 2005-06-06
作者: peter_zu 发布时间: 2005-06-06
不过现在又有新问题了,当我把linux写到doc时,重新启动后,出现了下面的信息:
....
request_modules [block-major-100]: root fs not mounted
VFS : cannot open root device "6401" or 64:01
please append a correct "root =" boot option
kernel panic : VFS :unable to mount root fs on 64:01
...
启动不起来了,您能看看是什么问题吗?
并且把我的写步骤贴上去,你看正确不正确:
1. format the DiskOnChip
dformat /win:d000 /s:doc42.exb /y
use dfromat under dos.
2. download linux-2.4.18.tar.gz (干净的内核)
#cp linux-2.4.18.tar.gz /usr/src
#tar zxvf linux-2.4.18.tar.gz
#mv linux linux-2.4.18
#ln -s linux-2.4.18 linux
3. install driver source
#cd _doc_linux_dir_/driver
#patch -p1 -d /usr/src/linux < linux-2_4_7-patch (打补丁)
#cp doc/* /usr/src/linux/driver/block/doc/
4. create nodes
#cd _doc_linux_dir_/driver
#./mknod_fl
5. change kernel configuration
#make mrproper
#make menuconfig
5.1、Enter "Loadable modules support" menu.
make sure all the options on that menu are turned ON.
5.2、Enter "

select 386
5.3、Enter "Memory Technology Devics(MTD)" menu
turn on M-system DOC supprot
5.4、Enter "Block devices" menu
select the "M-Systems driver" as module.
select the "Loopback device support" and "RAM disk support" as built-in.
5.5、Save the configuration,then compile the kernel
#make clean
#make modules
#make modules_install
#make bzlilo
6. modify /etc/lilo.conf
#lilo
##########################
reboot the machine.
#############################
7. # insmod doc
8. install the correct boot loader
#cp /sbin/lilo /sbin/lilo.bak (backup lilo)
#cp _doc_linux_dir/lilo/lilo /sbin/lilo
#cp /boot/boot.b /boot/boot.b.bak (backup boot.b)
#cp _doc_linux_dir_/lilo/boot.b /boot/boot.b
9. create appropriate nodes in /dev/msys by
#./mknod_fl 62
and always load the driver with parameter fl_major=62
10. modify /etc/lilo.conf
#cp /etc/lilo.conf /etc/lilo.conf.bak (backup lilo.conf)
11. create initrd file
#cd _doc_linux_dir_/driver
#./mkinitrd_doc (作到这还好)
12. copy linux system files to DOC
#cd _doc_linux_dir_/build
#./mkdocimg my_files
13. #lilo -v -C /etc/lilo.conf -r /mnt/fla1 (但到这一步却告诉我找不到lilo.conf,所以我就直接执行#lilo)
14. restore lilo
15. update DOC firmware
#dformat /win:d000 /s:doc42.exb /y /noformat /first (这一步仍然有问题,说找不到boot image )
16. boot into linux
你看有什么不对的吗?恳切能得到你的指导,谢谢!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com


作者: peter_zu 发布时间: 2005-06-06
2、你的lilo.conf的配置是不是正确的?
3、在执行13步时,你修改的lilo.conf是在/mnt/fla1/etc/下吗?
4、为什么最后来更新firmware?应该是先换firmware,再在上面建立文件系统的!
作者: 风雪狂客 发布时间: 2005-06-07


我的lilo.conf是这样的
boot=/dev/msys/fla
compact
install=/boot/boot.b
map=/boot/System.map
disk=/dev/msys/fla
bios=0x80
prompt
delay=50
timeout=50
image=/boot/vmlinuz
label=linux
root=/dev/msys/fla1
initrd=/boot/initrd.img
read-only
上面的引导文件在boot目录里都有。我在执行第13步时是在/mnt/fla1下面,我不知道你上面的怎么是/mnt/fla1/etc,我的fla1下面没有etc,并且打不开呀。
我最后没有执行dformat,他还是到那就停了,不知道为什么,风大狭,你看还有什么方法没有呀,我都写了将近一个月了,到现在还没搞好,自尊心狂受打击。谢谢你了!
作者: peter_zu 发布时间: 2005-06-11
很难看出你到底在13步哪里出错了
找不到lilo.conf真是很奇妙
作者: AIKO_sex 发布时间: 2005-06-15
request_modules [block-major-100]: root fs not mounted
VFS : cannot open root device "6401" or 64:01
please append a correct "root =" boot option
kernel panic : VFS :unable to mount root fs on 64:01
是不是DOC的设备号问题啊?我觉得问题就应该出在这里!现在上面的操作都能正确执行,但还是出现上面的问题,能不能给个指导呀或者把你的方法指导我一下吧!我的信箱是 [email="[email protected]"][email protected][/email]
作者: peter_zu 发布时间: 2005-06-15
[QUOTE]
create appropriate nodes in /dev/msys by
#./mknod_fl 62
and always load the driver with parameter fl_major=62
这个步骤根据现在doc默认主设备号为100 的情况下,是不是有问题呀?恳请指导!
作者: peter_zu 发布时间: 2005-06-15
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28