[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gentoojp-users 823] カーネル再構成したけど パラレルポートが認識できない
- Subject: [gentoojp-users 823] カーネル再構成したけど パラレルポートが認識できない
- From: nakajin-tuyosi <nakazintuyosi@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Nov 2003 20:09:54 +0900
竹島です。
cannaでは 篠原様を始めとして皆様にお世話になりました。
さて 以下のようにしてカーネル再構成しました。
まず 人質をとりました。
mount /dev/hda1 /mnt
して
gentoo root # cd /mnt/boot/
cp bzImage bzImage-1
gentoo boot # cd /mnt/boot/grub/
cp splash.xpm.gz splash.xpm.gz-1
しました。
ーーーーーーーーーーーーーー
あとは gentooのサイトにあるように stage1のCDを入れてブートして
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# swapon /dev/hda2
# mount -t proc none /mnt/gentoo/proc
Then we chroot into our Gentoo environment and configure the kernel:
# chroot /mnt/gentoo /bin/bash
# env-update && source /etc/profile
# cd /usr/src/linux
# make menuconfig
Now (de)select anything you have (de)selected wrongly at your
previous attempt. Then quit and compile your kernel:
# make dep && make bzImage modules modules_install
Now copy over your bzImage file, overwriting your previous one:
# cp arch/i386/boot/bzImage /boot
Now exit the chroot and reboot.
# exit
# umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo
# reboot
すると
-rw-r--r-- 1 root root 1255501 Nov 13 2003 bzImage
-rw-r--r-- 1 root root 1242872 Nov 12 17:58 bzImage-1
などと カーネルはできたようです。
しかし、
gentoo grub # dmesg | grep lp
On node 0 totalpages: 65264
usb.c: registered new driver usblp
とlp0 あるいは lpt0が出て来ません。
gentoo grub # cat /usr/src/linux/.config | grep PARPORT
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_PC_PCMCIA is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set
です。
gentoo grub # cat /usr/src/linux/.config | grep PRINT
# CONFIG_PRINTER is not set
CONFIG_USB_PRINTER=m
です。
よろしくお願い申し上げます。