LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack 10 & 2.6.9 kernels errors (https://www.linuxquestions.org/questions/slackware-14/slack-10-and-2-6-9-kernels-errors-260641/)

done 11-29-2004 03:58 PM

Slack 10 & 2.6.9 kernels errors
 
I have compiled many times the 2.6.9 kernel with many ways but every time the same problem!
I even format my Linux partition and reinstalled Slack but the same problem.
To be clear,
with may old 2.4.24 kernel all works fine!
But when i boot with the 2.6.9 image i can see the boot messages only in normal framebuffer(else the monitor goes blank).
When i'm going to run 'man' command i take this error message:
for example 'man useradd':
Error executing formatting or display command.
System command (cd /usr/man && (echo ".ll 9.1i"; echo ".pl 1100i"; /bin/gunzip -c '/usr/man/man8/useradd.8.gz'; echo ".\\\""; echo ".pl \n(nlu+10") | /usr/bin/gtbl | /usr/bin/nroff -S -mandoc | /usr/bin/less -is) exited with status 256.
No manual entry for useradd

This is the probs i figured out.
But i suppose the are more i miss.
I'm desparate...
Thanks in advance with any help.

PS: I have tried many compile and configuring ways so please don't direct me in a similar link

Michael_S 11-29-2004 07:16 PM

I have the exact same problems.

According to this post:
http://www.linuxquestions.org/questi...461#post660461
there are a series of kernel compile options that must be set for the boot logo to display properly.

That may also be what is messing up man for both of us, I don't know. I'm going to go recompile and re-install my kernel with those options to find out. I'll post results in a bit.

[EDIT] I recompiled my kernel with those options enabled, installed the kernel, and rebooted. My startup screen displays the boot logo and the messages normally. It did not fix my man pages problem.

egag 11-29-2004 07:47 PM

for the " man " command : change

KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"

to

KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"

( just a "p" for a "t" )
in : :/etc/udev/rules.d/udev.rules

after that , run /etc/rc.d/rc.udev, and the " man " command works again.
for the blank screen you've got to put in the right kernel-options as said.

well, in fact i just installed nvidia-drivers, and i found that prob. ?

egag

Michael_S 11-29-2004 08:45 PM

Quote:

Originally posted by egag
for the " man " command : change

KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"

to

KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"

( just a "p" for a "t" )
in : :/etc/udev/rules.d/udev.rules

after that , run /etc/rc/d/rc.udev, and the " man " command works again.
for the blank screen you've got to put in the right kernel-options as said.

well, in fact i just installed nvidia-drivers, and i found that prob. ?

egag

Thank you so much for the information. I really appreciate the help. Now I have to ask - how did you figure this solution out?

(For "run /etc/rc/d/rc.udev", I think you meant "run /etc/rc.d/rc.udev", right? That seemed to fix my problem with man pages.)

GuestFox 11-29-2004 08:52 PM

Why not just update udev?
 
Why not just update udev? The one that ships with Slack 10 is something like 20 or so versions behind. After compiling and installing my 2.6.9 kernel and finding out that man didn't work for me, I decided to update udev and the update certainly corrected the man issue. Besides, for me, running udev that far behind makes me nervous. :D

i.e.
http://mirror.pudas.net/slackware/sl...042-i486-1.tgz

Cheers!
GuestFox

egag 11-30-2004 06:52 AM

quote
-------------
Now I have to ask - how did you figure this solution out?
-------------endquote

to be honest, i didn't. some friendly person posted that a while ago on this forum.
but now i guess it's time for a udev-update :)

( btw: i'll edit my post /=. )

egag

done 11-30-2004 06:56 PM

Thank you very much guys. I solved all my probs,
except now i have two penguins on boot screen(cool:P any idea why?)

Also i compiled fine the ltmodem 8.31a7 drivers with my 2.4.26 kernel
but with the 2.6.9 i have this prob:

To avoid faulting Systems with an Enviromental setting: make -e
make
is the compiling command used with build_module.
To modify "make" invocation on your System, if desirable,
edit the build_module line below: MAKEE

Using KCFLAGS for gcc version 3.x
gcc -D__KERNEL__ -I/lib/modules/2.6.9/build/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DLT_VERSION=8.31a7 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -I/lib/modules/2.6.9/build/include/asm/mach-default -DLTTTYNAME=\"LTM\" -mpreferred-stack-boundary=2 -fno-common -iwithprefix /lib/modules/2.6.9/build/include -march=pentium3 -DOMIT_EXPORTSYMTAB -DASMLINKAGE=asmlinkage -DKBUILD_BASENAME=ltmodem -DKBUILD_MODNAME=lt_modem -c -o ltmodem.a ltmodem.c
objcopy -W x_input --redefine-sym memset=ltmodem_memset ltmdmobj.o ./xxx.o
ld -r -defsym x_input_orig=x_input -o ./xxx1.o ./xxx.o
ld -r -d -o lt_modem.o ltmodem.a ./xxx1.o
rm -f ./xxx.o
rm -f ./xxx1.o
#ld -r -o lt_modem.o ltmodem.a ltmdmobj.o
Using KCFLAGS for gcc version 3.x
gcc -D__KERNEL__ -I/lib/modules/2.6.9/build/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DLT_VERSION=8.31a7 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -I/lib/modules/2.6.9/build/include/asm/mach-default -DLTTTYNAME=\"LTM\" -mpreferred-stack-boundary=2 -fno-common -iwithprefix /lib/modules/2.6.9/build/include -march=pentium3 -DOMIT_EXPORTSYMTAB -DASMLINKAGE=asmlinkage -DKBUILD_BASENAME=serial-lt-2.6 -DKBUILD_MODNAME=lt_serial -c -o serial-lt-2.6.a serial-lt-2.6.c

Checking for driver products:

Compilation of lt_modem.ko failed,
Do assess whether your utilities are up to date as listed within 1ST-READ!
Read Compile_properly.txt from DOCs/.

egag 11-30-2004 07:32 PM

quote
------------
except now i have two penguins on boot screen(cool:P any idea why?)
------------

do you have two processors in your system ?

edit: and do you have the latest driver that you're compiling ?

egag

done 12-01-2004 04:03 AM

I have Intel P4 2.8 Hyper Threading, (one logic, two virtual)
This is the problem?
I didn't compile any drivers for my VGA card, i will use nVidia's.

Any idea about the modem prob.
Thank you

KMcD 12-01-2004 04:41 AM

that's why you have two. Cool way of knowing that the hyperthreading aspect of ur P4 is working.


All times are GMT -5. The time now is 10:27 AM.