Name Flags Part Type Fs Type [Label] Size(MB) ------------------------------------------------------------------------ sda1 Boot Primary Linux 25202.26 sda2 Primary Linux 10001.95 sda3 Primary Linux 500.97 sda4 Primary Linux swap 1028.16 [Quit]でcfdiskを抜けた後、
備忘 IP:133, gefault gateway:01, DNS:130
deb http://ftp.jp.debian.org/debian/ stable main contrib non-free deb-src http://ftp.jp.debian.org/debian/ stable main contrib non-free deb http://ftp.jp.debian.org/debian-non-US/ stable/non-US main contrib non-free deb-src http://ftp.jp.debian.org/debian-non-US/ stable/non-US main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free
ここから後で組み込む ethnet(e1000) のため http://packages.debian.org/stable/devel/ から
The following extra packages will be installed: ash cramfsprogs initrd-tools The following NEW packages will be installed: ash cramfsprogs initrd-tools kernel-image-2.4.18-1-686-smp 0 packages upgrade, 4 newly installed, 0 to remove and 0 not upgradeed Need to get 9066kB of archives. After unpacking 25.0MB will be used. Do you want to continue? [Y/n] => ENTER
You attempting to install an initrd kernel image (version 2.4.18-1-686) This will not work unless you have configured your boot loader to use initrd.(An initrd image is a kernel image that expects to use an INITial Ram Disk to mount a minimal root file system into RAM and use that for booting). As a reminder, in order to configure lilo, you need to add an 'initrd=/initrd.img' to the image=/vmlinuz stanza of your /etc/lilo.conf I repeat, You need to configure your boot loader. If you have already done so, and you wish to get rid of this message, please put 'do_initrd = Yes' in /etc/kernel-img.conf. Note that this is optinal, but if you do not, you'll contitune to see this message whenever you install kernel image usign initrd. Do you want to stop now? [Y/n} => n
Setting up kernel-image-2.4.18-1-686 (2.4.18-13-1)... /boot/initrd.img does not exit. Installing from scratch, eh? Or maybe you don't want a symbolic link here. Hmm? Lets See. I notice that you do not have initrd.img symbolic link. I can create one for you, and it shall be updated by newer kernel image packages. This is useful if you use a boot loader like lilo. Do you want me to create a link from /boot/initrd.img-2.4.18-686 to initrd.img? [Yn] => n
Do you wish to set up Linux to boot from the hard disk? [Yes] => Enter
Hmm... I can't determine which partition to put the partition boot record on. I'm defaulting to the /dev/sda1 which is where th root file system lives. Install a partition boot block on partition /dev/sda1? [Yes] => Enter
Testing lilo.conf... An error occurred while running lilo in test mode, a log is available in /var/log/lilo_log.6453. Please edit /etc/lilo.conf manually and re-run lilo, or make other arrangemnets ot boot your machine. please hit return to continue
# Alias to tell insmod/modprobe which modules to use alias scsi_hostadapter dpt_i2o alias eth0 e1000 options e1000 Speed = 0 Duplex = 0
### update-modules: start procesing /etc/modutils/aliases # Aliases to tell insmod/modprobe which modules to use(直下に) alias scsi_hostadapter dpt_i2o alias eth0 e1000 options e1000 Speed = 0 Depulex = 0
dpt_i20 e1000
MODULES=most #DELAY=0 DELAY=5 #ROOT=probe ROOT=/dev/sda1 UMASK=022 MKIMAGE='mkcramfs %s %s > /dev/null'
dpt_i2o e1000
lba32 boot=/dev/sda root=/dev/sda1 install=/boot/boot-menu.b map=/boot/map vga=normal delay=20 default=Linux image=/boot/vmlinuz-2.4.18-1-686-smp label=Linux initrd=/boot/initrd.img-2.4.18-1-686-smp read-only
Added Linux *
(で、kernel/drivers/net に e1000 が追加されているはず。これを組み込む) Installing module e1000. If the device isnt's there, or isn't configuredcorrectly, this could your system to pause for up to a minute. Intel (R) PRO/1000 Network Driver - version 5.2.39 Copyright (c) 1999-2004 Intel Corporation. eth0: Interl(R) PRO/1000 Network Connection Speed and duplex autonegotiation enabled eth1: Intel(R) PRO/1000 Network Connection Installation succeeded. Please press ENTER when you are ready to continue.
(下記を追加) alias eth0 e1000 options e1000 Speed=0 Duplex=0 <=スピードは10/100/1000で自動調整
(一時的にapt sources.listをtestingにあげる) deb http://ftp.jp.debian.org/debian/ testing main contrib non-free deb-src http://ftp.jp.debian.org/debian/ testing main contrib non-free deb http://ftp.jp.debian.org/debian-non-US/ testing/non-US main contrib non-free deb-src http://ftp.jp.debian.org/debian-non-US/ testing/non-US main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free
通常であれば、 cp /boot/config-2.4.18-1-686-smp .config 既に出来ているものがあったので、scpで/home/hujiokaに移動しておいた
かなりの項目になるが、基本的にはCPU等基本情報以外はデフォルトで (気になるようなら"?"でチェックしながら)。 当該で問題になっているモジュールはないし で対応。 今回の場合はqla2300(scsi), e1000(net)を に。
再度、"make oldconfig"での決定が反映されているかをチェック
cpio: /etc/modprobe.conf : No such file or directory cpio: /lib/modules/modprobe.conf : No such file or directory …といって叱られたので
lba32 boot=/dev/sda root=/dev/sda1 instll=/boot/boot-menu.b map=/boot/map vga=normal delay=20 default=picure image=/boot/vmlinuz-2.6.8 label=picure initrd=/boot/initrd-2.6.8 read-only
…なんか叱られたけど…
…なんか叱られたけど… Add Linux*
…念のため
しかし、カーネルソースを最新(08/27現在:2.6.8.1)にしようとすると LILOは読みにいくが原因不明のエラーで止まる、という事態に陥る。
この問題は、カーネルのバージョンを一度下げた状態 (今回の場合、kernel 2.6.8.rc4 から kernel 2.4.18-1-686-smp におとして) で起動させ、そのバージョン上でカーネルのアップグレード(前章の最初から) を行うことで回避できた。
奇特な(尖った)マザーボードに今回、3つの奇特な(尖った、最新の)カードが
刺さっていた(一つはオンボード)わけだが、こいつを一つ一つ潰していった。
できれば一つの方針でクリアしたかったんだが、気づけば、3種3様のやり方で
クリアしていったことになる…んだなぁ。