LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-18-2005, 10:50 AM   #1
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
can't view man pages


hello
since i installed 2.6.10 kernel on my system
when i do man [subject] i get error.

i.e "man ifconfig"
Code:
Error executing formatting or display command.
System command /bin/bzip2 -c -d
 /usr/man/cat8/ifconfig.8.bz2 | /usr/bin/less -is exited with status 256.
. ?

could it be my xorg.conf settings ?
 
Old 09-18-2005, 01:50 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"since i installed 2.6.10 kernel on my system
when i do man [subject] i get error."

slackware kernels have started using udev. A mismatch in kernel version and udev version could cause the problem that you are having. Try upgrading udev to the version that corresponds with slackware kernel 2.6.10.

----------------------------
Steve Stites
 
Old 09-18-2005, 02:14 PM   #3
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
ok.

mine is a generic kernel.

The sources were downloaded from kernel.org then comipled on my machine.

I take it your comments are still relevant ?

thnks in advance.
 
Old 09-18-2005, 03:54 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"mine is a generic kernel.

The sources were downloaded from kernel.org then comipled on my machine.

I take it your comments are still relevant ?"

I don't know if you could have the problem by upgrading from a slackware kernel to a later generic kernel. You could try using the latest Slackware version of udev and see if that works.

Another thought: You could compare your two kernel config files to see if you have configured the way that the kernel handles udev differently in your genetic kernel.

----------------------------
Steve Stites

Last edited by jailbait; 09-18-2005 at 04:06 PM.
 
Old 09-18-2005, 04:17 PM   #5
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
4give me but could you explain roughly what udev does pls ?

I read a README in the udev sources and there seems to be a few gotchas so i'd just like to be clear on why I'm doing this b4 I go down that road.

I appreciate your help.
thnks
 
Old 09-18-2005, 06:07 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"4give me but could you explain roughly what udev does pls ?"

As I understand it udev is a new method of accessing devices which is intended to supercede the older /dev system. udev is in a state of flux as it is rapidly maturing. So your kernel can either use udev or not use it. It your kernel uses udev then the kernel version and udev version must be in sync. One of the things that udev does is manage pipes. So one of the errors that sometimes occurs with udev is that a pipe doesn't work correctly.

The example code that failed includes a pipe into less:

/bin/bzip2 -c -d /usr/man/cat8/ifconfig.8.bz2 | /usr/bin/less -is exited with status 256.

There is nothing wrong with this code which the man command built from command templates that it keeps in one of the man control files (which name escapes me right now). status 256 is not a valid return code. So some command not only failed but gave an invalid error message. So to debug this problem I suggest that you check and make sure that your kernel and udev are in synch. Check to see if your new kernel config and old kernel config agree on how udev is being used. Are your new kernel version and udev version in sync? You could also try booting the old kernel and see if the problem occurs.

---------------------------------
Steve Stites
 
Old 09-19-2005, 07:42 AM   #7
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
....yeah your right...

come to think of it whenever i have piped a command into "less" over the last few days it hasn't worked.

Ok

I will follow this line of investigation.

thnks
 
Old 09-19-2005, 04:13 PM   #8
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
sorted

pipe commands work

and i can view man pages.

I had udev-26 on my system.
I have put udev-50 on which was the version that was in the slackware-10.0 sources.

thanks 4 your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can one view the linux man pages under Microsoft Windows? acpi Linux - Software 8 02-06-2007 09:30 AM
C man pages sono2 Programming 4 09-12-2005 01:24 AM
C man pages sono2 Linux - Software 2 09-09-2005 12:24 PM
man pages? southsibling Linux - Newbie 2 08-31-2003 11:04 AM
You can now view the man pages online at LinuxQuestions.org jeremy LQ Suggestions & Feedback 6 06-27-2002 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration