버전 2.6.3 컴파일 질문...
http://prdownloads.sourceforge.net/sourceforge/souptonuts/README_26.txt에 있는 설명을 보고 2.6.3을 컴파일 했습니다. 컴파일시 문제가 없었는데 부팅중에 다음과 같은 에러가 납니다.
1) iptable 관련
Flushing all curren rules and user defined chains : iptables v1.2.7a: can't initialize iptables table 'filter' : iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Clearing all current rules and user defined chains : iptables v1.2.7a: can't initialize iptables table 'filter' : iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Applying iptables firewall rules : iptables-restore v1.2.7a : iptables-restore : unable to initializetable 'filter'
Try 'iptables-restore -h' or 'iptables-restore --help' for more information.
2) usb & input device 관련
... FATAL : Module usb_uhci not found ...
... FATAL : Module keybdev not found ...
... FATAL : Module mousedev not found ...
iptable 문제에 관련해서 찾아봤더니
The first step listed in your url reference is to mkdir /sys. Is this a script entry in initrd, or is it a pivit point that you need also in your root directory?Here is part of a message I found doing a google/linux search: initrc /sys
> There is a chicken and egg problem with initrd on 2.6. When
> root=/dev/xxx is passed to kernel, kernel will call try_name, which
> uses /sys/block/drive/dev, to find out the device number for ROOT_DEV.
> The problem is /sys/block/drive may not exist if the driver is loaded
> by /linuxrc in initrd. As the result, /linuxrc can't use
> /proc/sys/kernel/real-root-dev to determine the root device number.Other messages from redhat users mentioned path differences which needed changes in rc.sysinit. Maybe you need to make links linking old locations to new locations for different modules.
Also, did you do a mkinitrd? This is needed to produce a new initrd file from your module changes and rc.sysinit edits. (or is the command mk_initrd in redhat?)
You may want to copy your initrd file( i.e. to /tmp), unbzip it and mount the file as a loopback device. Then check the modules present, and their locations, and read through the startup script in initrd.
I hope this gives you ideas. I'm not a linux guru, and you know more about Redhat then I do.
(저와 같은 상황에 있는 사람의 질문에 대한 답입니다.)
이런 것이 있던데 읽어 봐도 어떻게 해야 하는지 잘 모르겠더라구요. :oops:
usb & input device 에 관한 것은 modprobe.conf와 rc.initsys 에서 해당 항목을 지웠더니(2.6.3 configuration file에는 해당 항목이 없기에...) 에러는 안나지만 lsusb 명령을 해보니 'unknown line line#' 머 이런것들만 쭉 나오는 걸 보니 잘 안되는 것 같습니다. 다른 것으로 대체가 된 것인지 없어진 것인지...
2.6.x 컴파일 성공하신분 도움 바랍니다.
댓글 달기