さて 原因がわかったので 以下再掲
root@p71sda9:/usr/src/linux-3.15.10# pwd /usr/src/linux-3.15.10 root@p71sda9:/usr/src/linux-3.15.10# diff -s .config base.config 50c50 < CONFIG_LOCALVERSION="-nouveau-sda9-IP71-NO-FD-BootOK" --- > CONFIG_LOCALVERSION="-n71a9t16" 1530c1530 < # CONFIG_BLK_DEV_FD is not set --- > CONFIG_BLK_DEV_FD=m
計算機 B では CONFIG_BLK_DEV_FD を 除外しました。
以下 個猫 の 備忘録 見る必要は ありませぬ
root@p71sda9:/usr/src/linux-3.15.10# mkdir z_old root@p71sda9:/usr/src/linux-3.15.10# mv log-m* z_old/ root@p71sda9:/usr/src/linux-3.15.10# mv w_config-test/ z_old/ root@p71sda9:/usr/src/linux-3.15.10# mv config-3.15.10-nusda902 20141225.config-OK-001 z_old/ root@p71sda9:/usr/src/linux-3.15.10# mv base.config z_old/ root@p71sda9:/usr/src/linux-3.15.10# mv z_old/ /boot/ root@p71sda9:/usr/src/linux-3.15.10# cd /boot/ root@p71sda9:/boot# mkdir 017_Good-nouveau-sda9-IP71-NO-FD-BootOK root@p71sda9:/boot# mv config vmlinuz System.map 017_Good-nouveau-sda9-IP71-NO-FD-BootOK/ root@p71sda9:/boot# root@p71sda9:/boot# mv 00* z_old/ root@p71sda9:/boot# mv z_old/ /lib/modules/ root@p71sda9:/boot# cd /lib/modules/ root@p71sda9:/lib/modules# mv 3.15.10-n71a9t* z_old/ root@p71sda9:/lib/modules# mv 3.15.10-nusda902/ z_old/ root@p71sda9:/lib/modules# ls -al total 16384 drwxr-xr-x 4 root root 4096 Dec 27 21:18 ./ drwxr-xr-x 8 root root 4096 Nov 14 22:27 ../ drwxr-xr-x 3 root root 4096 Dec 27 19:36 3.15.10-nouveau-sda9-IP71-NO-FD-BootOK/ drwxr-xr-x 30 root root 4096 Dec 27 21:18 z_old/ root@p71sda9:/lib/modules# mv z_old/ /boot/ root@p71sda9:/lib/modules# cd - /boot root@p71sda9:/boot# mv 01* z_old/ root@p71sda9:/boot# ls -l total 106496 -rw-r--r-- 1 root root 5040 Nov 6 2012 diag1.img -rw-r--r-- 1 root root 17932 Nov 6 2012 diag2.img drwxr-xr-x 4 root root 4096 Nov 13 11:25 grub/ -rw-r--r-- 1 root root 22578 Nov 6 2012 inside.bmp -rw-r--r-- 1 root root 6878 Nov 6 2012 onlyblue.bmp -rw-r--r-- 1 root root 33192 Nov 6 2012 tuxlogo.bmp drwxr-xr-x 38 root root 4096 Dec 27 21:19 z_old/ root@p71sda9:/boot# cd /usr/src/linux-3.15.10/ root@p71sda9:/usr/src/linux-3.15.10# ls -a ./ .tmp_versions/ Kbuild arch/ ipc/ scripts/ ../ .tmp_vmlinux1* Kconfig block/ kernel/ security/ .config .tmp_vmlinux2* MAINTAINERS crypto/ lib/ sound/ .config.old .version Makefile drivers/ mm/ tools/ .missing-syscalls.d .vmlinux.cmd Module.symvers firmware/ modules.builtin usr/ .tmp_System.map COPYING README fs/ modules.order virt/ .tmp_kallsyms1.o CREDITS REPORTING-BUGS include/ net/ vmlinux* .tmp_kallsyms2.o Documentation/ System.map init/ samples/ vmlinux.o root@p71sda9:/usr/src/linux-3.15.10# diff -s .config .config.old 50c50 < CONFIG_LOCALVERSION="-nouveau-sda9-IP71-NO-FD-BootOK" --- > CONFIG_LOCALVERSION="-n71a9t16" 1530c1530 < # CONFIG_BLK_DEV_FD is not set --- > CONFIG_BLK_DEV_FD=m
整理が終わったので 現時点での 最終の カーネル 再構築
root@p71sda9:/usr/src/linux-3.15.10# make menuconfig ... scripts/kconfig/mconf Kconfig configuration written to .config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. root@p71sda9:/usr/src/linux-3.15.10# diff -s .config .config.old 50c50 < CONFIG_LOCALVERSION="-p71sda9" --- > CONFIG_LOCALVERSION="-nouveau-sda9-IP71-NO-FD-BootOK" nfig-3.15.10-nouveau-sda9-IP71-NO-FD-BootOK 50c50 < CONFIG_LOCALVERSION="-p71sda9" --- > CONFIG_LOCALVERSION="-nouveau-sda9-IP71-NO-FD-BootOK"
要するに CONFIG_LOCALVERSION を 入れ替えただけです。
root@p71sda9:/usr/src/linux-3.15.10# time make -j4 V=1 2>&1 | tee log-make-p71sda9-20141227 ... real 3m14.632s user 6m15.263s sys 1m8.220s root@p71sda9:/usr/src/linux-3.15.10# make modules_install 2>&1 | tee log-modules-p71sda9-20141227 root@p71sda9:/usr/src/linux-3.15.10# ls /lib/modules/ 3.15.10-nouveau-sda9-IP71-NO-FD-BootOK/ 3.15.10-p71sda9/ root@p71sda9:/usr/src/linux-3.15.10# cd /boot/ root@p71sda9:/boot# ls -l /usr/src/linux-3.15.10/arch/x86/boot/bzImage -rw-r--r-- 1 root root 3320672 Dec 27 21:36 /usr/src/linux-3.15.10/arch/x86/boot/bzImage root@p71sda9:/boot# cp /usr/src/linux-3.15.10/arch/x86/boot/bzImage vmlinuz-3.15.10-p71sda9 root@p71sda9:/boot# cp /usr/src/linux-3.15.10/System.map System.map-3.15.10-p71sda9 root@p71sda9:/boot# cp /usr/src/linux-3.15.10/.config config-3.15.10-p71sda9 root@p71sda9:/boot# ln -s System.map-3.15.10-p71sda9 System.map root@p71sda9:/boot# ln -s config-3.15.10-p71sda9 config root@p71sda9:/boot# ln -s vmlinuz-3.15.10-p71sda9 vmlinuz
再起動確認する前に grub.conf も 変更
root@p71sda9:/boot# mount /dev/sdc1 /mnt/ root@p71sda9:/boot# cd /mnt/boot/grub/ root@p71sda9:/mnt/boot/grub# vi grub.conf root@p71sda9:/mnt/boot/grub# cd root@p71sda9:~# umount /mnt/ root@p71sda9:~# shutdown -r now Broadcast message from root@p71sda9 (pts/0) (Sat Dec 27 21:51:52 2014): The system is going down for reboot NOW! root@p71sda9:~# Connection to 192.168.0.71 closed by remote host. Connection to 192.168.0.71 closed.
再起動 確認 と整理 をします。
$ ssh -l aruser 192.168.0.71 Password: Last login: Sat Dec 27 19:47:29 2014 from 192.168.0.5 Linux 3.15.10-p71sda9 (Plamo-5.2) #23 SMP PREEMPT Sat Dec 27 21:36:41 JST 2014 aruser@p71sda9:~$ su - パスワード: root@p71sda9:~# cd /boot/ root@p71sda9:/boot# ls /lib/modules/ 3.15.10-nouveau-sda9-IP71-NO-FD-BootOK/ 3.15.10-p71sda9/ root@p71sda9:/boot# mv /lib/modules/3.15.10-nouveau-sda9-IP71-NO-FD-BootOK/ z_old/ root@p71sda9:/boot# ls -l | sed 1d lrwxrwxrwx 1 root root 26 Dec 27 21:44 System.map -> System.map-3.15.10-p71sda9 -rw-r--r-- 1 root root 1894137 Dec 27 21:43 System.map-3.15.10-p71sda9 lrwxrwxrwx 1 root root 22 Dec 27 21:44 config -> config-3.15.10-p71sda9 -rw-r--r-- 1 root root 125530 Dec 27 21:43 config-3.15.10-p71sda9 -rw-r--r-- 1 root root 5040 Nov 6 2012 diag1.img -rw-r--r-- 1 root root 17932 Nov 6 2012 diag2.img drwxr-xr-x 4 root root 4096 Nov 13 11:25 grub/ -rw-r--r-- 1 root root 22578 Nov 6 2012 inside.bmp -rw-r--r-- 1 root root 6878 Nov 6 2012 onlyblue.bmp -rw-r--r-- 1 root root 33192 Nov 6 2012 tuxlogo.bmp lrwxrwxrwx 1 root root 23 Dec 27 21:44 vmlinuz -> vmlinuz-3.15.10-p71sda9 -rw-r--r-- 1 root root 3320672 Dec 27 21:42 vmlinuz-3.15.10-p71sda9 drwxr-xr-x 39 root root 4096 Dec 27 21:55 z_old/ root@p71sda9:/boot# cd /usr/src/linux-3.15.10/ root@p71sda9:/usr/src/linux-3.15.10# mv log-m* /boot/z_old/ root@p71sda9:/usr/src/linux-3.15.10# ls -a ./ .tmp_versions/ Kbuild arch/ ipc/ scripts/ ../ .tmp_vmlinux1* Kconfig block/ kernel/ security/ .config .tmp_vmlinux2* MAINTAINERS crypto/ lib/ sound/ .config.old .version Makefile drivers/ mm/ tools/ .missing-syscalls.d .vmlinux.cmd Module.symvers firmware/ modules.builtin usr/ .tmp_System.map COPYING README fs/ modules.order virt/ .tmp_kallsyms1.o CREDITS REPORTING-BUGS include/ net/ vmlinux* .tmp_kallsyms2.o Documentation/ System.map init/ samples/ vmlinux.o root@p71sda9:/usr/src/linux-3.15.10# cd - /boot root@p71sda9:/boot# du -h z_old/ ... 1.1G z_old/ root@p71sda9:/boot# cd z_old/ root@p71sda9:/boot/z_old# time tar zcvf ../20141227-p6090jp-non-FD-kernel-Rebuild.tgz * ... real 1m56.600s user 1m42.897s sys 0m3.773s root@p71sda9:/boot/z_old# cd ../ root@p71sda9:/boot# ls -l 20141227-p6090jp-non-FD-kernel-Rebuild.tgz -rw-r--r-- 1 root root 414315659 Dec 27 22:03 20141227-p6090jp-non-FD-kernel-Rebuild.tgz root@p71sda9:/boot# du -h 20141227-p6090jp-non-FD-kernel-Rebuild.tgz 396M 20141227-p6090jp-non-FD-kernel-Rebuild.tgz root@p71sda9:/boot# df | head -2 Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda9 131956756 14224052 111023020 12% / root@p71sda9:/boot# mount /dev/sda7 /mnt/ root@p71sda9:/boot# mv 20141227-p6090jp-non-FD-kernel-Rebuild.tgz /mnt/root/ root@p71sda9:/boot# rm -r z_old/ root@p71sda9:/boot# df | head -2 Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda9 131956756 12688080 112558992 11% / root@p71sda9:/boot# shutdown -h now Broadcast message from root@p71sda9 (pts/0) (Sat Dec 27 22:09:50 2014): The system is going down for system halt NOW! root@p71sda9:/boot# Connection to 192.168.0.71 closed by remote host. Connection to 192.168.0.71 closed.
ちゃん ちゃん
にゃんたろう 拝!
2014年 12月 27日 土曜日 21:06:52 JST 作成