[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:41254] kernel 2.4.26 で Kernel panic



はじめまして。丹野と申します。

DELL StorEdge750に以下のページからダウンロードした
debian-dell-2.4.26.isoを使用してDebianをインストールして
使用していましたが、そのままではiptablesが使用できないことがわかり、
configを修正してkernelをリコンパイルしたところ、Kernel panicとなり
起動しなくなってしまいました。
http://wiki.osuosl.org/display/LNX/Debian+on+Dell+Servers/

いろいろ試行錯誤してみましたが、うまくいかず行き詰まっています。
何か根本的に間違っているのでしょうか。
アドバイスいただけると幸いです。

出力されるメッセージは以下のとおりです。
-------------------------------------------------------------------
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 928 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 928k freed
FAT: bogus logical sector size 0
sh-2021:reiserfs_read_super: can not find reiserfs on ramdisk(1,0)
Kernel panic: VFS: Unable to mount root fs on 08:03
-------------------------------------------------------------------

実行したこと(以下のページ等を参考にしました)
http://park15.wakwak.com/~unixlife/linux/de-kernel-pkg.html
-------------------------------------------------------------------
# vi /etc/apt/sources.list (stableをsargeに変更)
# apt-get update
# apt-get install initrd-tools
# apt-get install kernel-package
# cd /usr/src
# apt-get install kernel-source-2.4.26
# tar jxvf kernel-source-2.4.26.tar.bz2
# ln -s /usr/src/kernel-source-2.4.26 /usr/src/linux
# cd /usr/src/linux/
# cp /boot/config-2.4.26-bf2.4 .config
# make menuconfig
(Networking options--->IP: Netfilter Configuration--->以下を全部選択)
# make-kpkg clean
# make-kpkg --append_to_version -1-i686 --revision=custom.1.0 --initrd kernel_image
# cd /usr/src
# dpkg -i kernel-image-2.4.26-1-i686_custom.1.0_i386.deb
# lilo -v
# shutdown -r now
-------------------------------------------------------------------

/etc/lilo.confの内容(元のLinuxOLDの方は問題なく起動します)
-------------------------------------------------------------------
lba32
boot=/dev/sda
root=/dev/sda3
install=/boot/boot-menu.b
map=/boot/map
delay=20
prompt
timeout=150
vga=normal
default=Linux
image=/vmlinuz
        label=Linux
        read-only
        initrd=/initrd.img
image=/vmlinuz.old
        label=LinuxOLD
        read-only
        optional
-------------------------------------------------------------------

以下のファイルはリンクファイルで、/boot以下の各ファイルをさしています。
-------------------------------------------------------------------
/initrd.img  -> boot/initrd.img-2.4.26-1-i686
/vmlinuz     -> boot/vmlinuz-2.4.26-1-i686
/vmlinuz.old -> boot/vmlinuz-2.4.26-bf2.4
-------------------------------------------------------------------

以上よろしくお願いします。

-- 
Kaori Tanno <tanno@xxxxxxxxxxxxxx>