Hello Richey,
On Fri, 4 Jul 2003 11:51:55 -0600
Collins Richey <[EMAIL PROTECTED]> wrote:
> UNIX98_PTY support is on, and I can't see anything else obvious
> that's missing in the configuration.
>
> Any ideas?
Since 2.5.x the devfs does _not_ mount /dev/pts! You have to mount it
yourself. BTW the /dev/pts support in the kernel is needed, even
if you have devfs (which should be the case).
I'm afraid those informations are hard to find, so I post a small
howto.
Also remember to mount the sysfs.
No guarantee that it will work or that i haven't forgotten anything.
HTH
Florian Huber
Mini-2.5-Kernel-Howto
NB: all indented text is meant to be a shell command :o)
1. resync portage tree in order to get the latest kernel sources:
emerge rsync
2. merge the beta kernel sources, e.g. development-sources or
mm-sources. Better: get the latest sources + bk-patches from
kernel.org
emerge development-sources
3. change the softlinks in /usr/src
rm /usr/src/linux
ln -s /usr/src/linux-beta /usr/src/linux
4. update kernel config
cd /usr/src/linux
cp ../linux-2.4.xx/.config .
make oldconfig
(and/or do a "make menuconfig")
IMPORTANT !!!:
[*] /dev file system support (EXPERIMENTAL)
[*] /dev/pts file system for Unix98 PTYs
5. compile the kernel
make clean bzImage modules modules_install
(clean is not needed if you compile the kernel for the first time)
6. copy bzImage
mount /boot
(if necessary)
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage_2.5.xx
(if you have another processor architecture take the correct image)
7. reconfigure your bootloader: edit grub.conf or lilo.conf. When
using lilo don't forget to "/sbin/lilo" after you made the changes.
More detailed: see gentoo install instructions.
8. merge a current version of the module-init-tools so that you are
able to load 2.5.x kernel modules
emerge module-init-tools
9. edit /etc/fstab and add sysfs and devpts:
none /dev/pts devpts defaults 0 0
none /sys sysfs defaults 0 0
10. edit /etc/modules.autoload or /etc/modules.autoload.d/kernel-2.5
and check if those files are linked
11. reboot and cross your fingers ;)
12. Your kernel boots? Fine! Now re-emerge kernel-related stuff, e.g.
nvidia-kernel, iptables
Remember, alsa-driver is not required any more. FYI the lm_sensors
drivers are included in the kernel, but the libsensors is not
2.5-ready ATM.
--
[EMAIL PROTECTED] mailing list