Help - Search - Members - Calendar
Full Version: Kernel 2.6.4 On The Red Hat 9
Linuxhelp > Support > Technical Support
Robert83
Hi,

Downloaded the latest kernel and all the needed files with YUM, just the way you told me to [4hrs...wow smile.gif, took some time].

Okay so phase 1 is completed, but before I continue into changing stuff, here are a few things that showed up during yum update , when yum started installing things :

kernel 100 % done 60/164
WARNING: /lib/modules/2.6.4-1.270/unsupported/drivers/video/sstfb.ko needs unknown symbol fb_find_mode
WARNING: /lib/modules/2.6.4-1.270/unsupported/drivers/video/aty/radeonfb.ko needs unknown symbol fb_find_mode
WARNING: /lib/modules/2.6.4-1.270/unsupported/drivers/video/aty/aty128fb.ko needs unknown symbol fb_find_mode
WARNING: /lib/modules/2.6.4-1.270/kernel/drivers/video/tridentfb.ko needs unknown symbol fb_find_mode
/dev/mapper/control: open failed: No such file or directory
Is device-mapper driver missing from kernel?
Command failed

warning: /usr/share/sgml/docbook/xmlcatalog saved as /usr/share/sgml/docbook/xmlcatalog.rpmsave
And a few others were named like this, I guess deleting the old one, and renaming the new one to xmlcatalog would be correct, right?

Completing update for docbook-dtds - 155/164
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/catalog
Failed to remove entry from /etc/sgml/sgml-docbook-3.0-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-3.0-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-3.1-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-3.1-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-4.0-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-4.0-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-4.1-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-4.1-1.0-17.cat
Failed to remove entry from /etc/sgml/xml-docbook-4.1.2-1.0-17.cat
Failed to remove entry from /etc/sgml/xml-docbook-4.1.2-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-4.2-1.0-17.cat
Failed to remove entry from /etc/sgml/sgml-docbook-4.2-1.0-17.cat
Failed to remove entry from /etc/sgml/xml-docbook-4.2-1.0-17.cat
Failed to remove entry from /etc/sgml/xml-docbook-4.2-1.0-17.cat

how big of a problem is this?


Sincerely
Robert B
hughesjr
those are normal errors .... the kernel is because you are booted into the 2.4 kernel right now

the others are an error in removing help files in the info documentation ... but they were probably overwritten with the updated copy first, so I just ignore them...
Robert83
okay smile.gif

thank you very much , you know how it is to do something for the first time smile.gif), thank you again.


Sincerely
Robert B
Robert83
Hi,

just reading those steps about HotPlug, SysFs , USB, Sound, I've created the dir /sys aded it to /etc/fstab

the question is can I use the rc.sysinit , halt, modprobe.conf from that site?


and one more thing [I don't have USB keyboard and USB mouse], and in my modules conf only eth, usb controller, sound is present, so I really don't have to worry about USB keyboard or USB mouse for now yes?


Sincerely
Robert B
hughesjr
I didn't use his files ... I edited mine .... I didn't do a detailed analysis, so I don't know if his are different or not.

You can use my files if you want ... you will need to change your eth0 line and sound line to the proper values in modprobe.conf .... the 2.6 kernel uses alsa sound drivers ...

I will post a link in a minute to a.tgz of my files ... I have to reboot into RH9 on my test machine (I am on it right now in slackware).
Robert83
Hi,

I will try to do this with editing the file....

I currently cannot start X , cause /dev/psaux and Mouse0 not found....

and have some usbkeyboard, usbmouse module errors, and some usb mount failed,...and a ifcfg-lo.rpmsave


Sincerely
Robert B
hughesjr
I posted at the bottom of this post how to fix the mouse:

http://www.linuxhelp.ca/forums/index.php?a...=3&t=2961&st=30

(use /dev/input/mice as the location instead of /dev/psaux .... and use Option "Protocol" "ExplorerPS/2" instead of PS/2 or IMP/S2 ... also edit /etc/sysconfig/gpm ... see the thread for more details

After you edit your rc.sysinit file, the usb errors will go away as well....
Robert83
That HotPlug part is not important for me , if I don't have eny wireless equipment...so I don't need it , right?
And that SOUND part with all that modules stuff, I'm sorry but I don't really understand it, I've got a modules.conf file and a modprobe.conf file, each with the same lines, for 1 eth0 2x usb ohci, ehci , 1x sound slot 0 nvaudio...


Now as you know I still got my old kernel ,and old kernel source, once I get new kernel to start up properly, I know how to remove old kernel, but how do I remove the old kernel source, and tell the system to look for the new one, or is this automatic once I boot into 2.6.4 ?


Sincerely
Robert B
Robert83
Editing the files manualy solved some usb moutning errors

but this is a problem

USB something FATAL : Keybdev module not ....can't remember it sorry
USB something FATAL : Mousedev module not ....can't remember it sorry

and there is also /proc/usb...something not found

and ifcfg-lo.rpmsave

where can I find the log files of the new kernel ? [I've searched messages but nothing...]


Sincerely
Robert B
Robert83
Managed to start X, the mouse was mentioned 2 times in my X86Config, changed both now it starts...

where can I see the


and some anomalies...

when I enter console and try to run MC, it just closes terminal... what is this?

I've only got a /etc/gpm_root change this ?? [I did use mouse in mc]

Sincerely
Robert B
hughesjr
in the rc.sysinit file ... you should have changed:

all keybdev to usbkbd

and

all mousedev to usbmouse

and

all /proc/bus/usb to /sys/bus/usb <--- this also in /etc/init.d/halt

and change (in rc.sysinit)

CODE
needusbstorage=
if [ $usb = "1" ]; then
   needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /sys/bus/usb/devices 2>/dev/null`
   action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
   action $"Initializing USB keyboard: " modprobe usbkbd 2> /dev/null
   action $"Initializing USB mouse: " modprobe usbmouse 2> /dev/null
fi


(per the USB section of the migrate link)
hughesjr
mc works fine for me:

do this:

cd /etc/sysconfig

if there is no gpm file in /etc/sysconfig create a new file named gpm and add this to it (in /etc/sysconfig):

CODE
# Additional options for gpm (e.g. acceleration), device
OPTIONS=""
DEVICE="/dev/input/mice"


Also edit the file /etc/sysconfig/mouse and change it to:
CODE
FULLNAME="Generic - Wheel Mouse (PS/2)"
MOUSETYPE="imps2"
XEMU3="no"
XMOUSETYPE="ExplorerPS/2"


(if it says XMOUSE says IMPS/2)....
Robert83
Still got the same problem with usbkbd, usbmouse not found or something....

should I post my /var/log/messages here?


Sincerely
Robert B
Robert83
this thing is random or I don't know, but sometimes after usbkbd, and usbmouse failure I get these

cannot open /proc/bus/usb/001/001

and some lines with this problem right after it...


I've searched again /etc/rc.d/rc.sysinit, and I've changed everything no /proc/bus/usb/ found in it....

and I still have the problem with mc, it won't start up the first 1-3 times, only after a few tries will it finaly start up...

var/log/Messages
Mar 15 15:36:55 demon gpm[1373]: oops() invoked from gpm.c(978)
Mar 15 15:52:42 demon gpm: gpm shutdown failed
X86 log file
AUDIT: Mon Mar 15 15:54:42 2004: 1677 X: client 5 rejected from local host

Sincerely
Robert B
hughesjr
OK .... you can download and use my /etc/rc.sysinit, /etc/init.d/halt, and /etc/modprobe.conf from here.

You will need to add your info for sound and eth0 from your /etc/modprobe.conf ... so back it up first...

To get rid of the ifcfg-lo.rpmsave file in /etc/sysconfig/network-scripts/ (it was put there by and upgrade) to stop the ifcfg-lo.rpmsave issue.
hughesjr
Also, you might try a different FB mode on for you console .... in the /boot/grub/menu.lst try adding vga=792 (or 773, or 791) to the kernel line:

Mine looks like this:

CODE
kernel /boot/vmlinuz-2.6.4-1.270 ro root=LABEL=/ vga=792


here is what each vga= number means:

-------640x480--800x600--1024x768--1280x1024
8 bpp----769------771------773--------775
16 bpp---785------788------791--------794
32 bpp---786------789------792--------795
Robert83
Thanx for you're conf files, ...they solved most of the problems

I've got a strange thing going on,

I have a /etc/modprobe.conf and a /etc/modprobe.conf.dist

for some reason both gotta have the same settings so the system can boot up properly with [OK]'s

only one error remains however , /proc/bus/usb/001/001 [4x lines] /proc/bus/usb/002/001 or something like this...what is this?

Sincerely
Robert B
hughesjr
I don't have that .... where does it appear? (in your log or on the screen)....

(what are the 2 or 3 lines lines before and 2 or 3 lines after if on the screen)
Robert83
Start service kudzu Yes/ No/ Continue

Checking for new hardwarecannot open /proc/bus/usb/001/001, No Such file or directory (2)

cannot open /proc/bus/usb/001/001, No Such file or directory (2)
cannot open /proc/bus/usb/001/001, No Such file or directory (2)
cannot open /proc/bus/usb/001/001, No Such file or directory (2)
cannot open /proc/bus/usb/002/001, No Such file or directory (2)
cannot open /proc/bus/usb/002/001, No Such file or directory (2)
cannot open /proc/bus/usb/002/001, No Such file or directory (2)
cannot open /proc/bus/usb/003/001, No Such file or directory (2)
cannot open /proc/bus/usb/003/001, No Such file or directory (2)
cannot open /proc/bus/usb/003/001, No Such file or directory (2)

I guess I would need to change this path in kudzu to /sys/bus/usb right?
where can I find kudzu config file?

And one more question :
I've checked the /usr/src, the older src are gone [?], only the new source is there, so I guess after this, I can start installing first nvidia [as with 2.4.x kernel from srource file], and then the Ati Radeon driver as before [and pray smile.gif ].

Any idea how to remove modprobe.conf.dist , and tell the system to only search in /etc/modprobe.conf ?

Sincerely
Robert B
Robert83
while trying to build modules for ati
[root@demon build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.4-1.270/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.


Sincerely
Robert B
Robert83
I get no sound under this new kernel, and ati still aint working...
this is not my day....


Sincerely
Robert B
hughesjr
Here is a video issue .... http://kerneltrap.org/node/view/2633

try this for sound:

modprobe snd_intel8x0
Robert83
after that I can configure the volume, but I still get no sound...

Sincerely
Robert B
Robert83
patching the kernel won't work, wrong -p was given...and it asks for a file to patch...

any idea?


Sincerely
Robert B
hughesjr
install the latest alsa-libs and alsa-utils like this:

apt-get install alsa-lib alsa-utils

If any packages installed, change the:

modprobe.conf (and modprobe.conf.dist) so that:

alias snd-card-0 snd-intel8x0
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

then reboot and try:

modprobe snd-intel8x0

again
Robert83
I did everything as you told, and still no sound...

modprobe shows no errors, but I get no sound, ...


Sincerely
Robert B
hughesjr
what is the output of:

lsmod | grep snd

Also, open the full volume controller and adjust everything to at least halfway up.....
Robert83
[root@demon root]# lsmod | grep snd
snd_pcm_oss 42404 0
snd_pcm 83976 1 snd_pcm_oss
snd_page_alloc 8580 1 snd_pcm
snd_timer 25092 1 snd_pcm
snd_mixer_oss 13952 1 snd_pcm_oss
snd 43748 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 7520 1 snd
hughesjr
the driver is not loaded for snd-intel8x0

try this:

modprobe -v snd_intel8x0
Robert83
[root@demon root]# lsmod | grep snd
snd_intel8x0 29736 0
snd_ac97_codec 53384 1 snd_intel8x0
gameport 3968 1 snd_intel8x0
snd_mpu401_uart 7296 1 snd_intel8x0
snd_rawmidi 21408 1 snd_mpu401_uart
snd_seq_device 6280 1 snd_rawmidi
snd_pcm_oss 42404 0
snd_pcm 83976 2 snd_intel8x0,snd_pcm_oss
snd_page_alloc 8580 2 snd_intel8x0,snd_pcm
snd_timer 25092 1 snd_pcm
snd_mixer_oss 13952 1 snd_pcm_oss
snd 43748 9 snd_intel8x0,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_o
ss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 7520 1 snd

and I still don't get any sound.... sad.gif , what else?

Sincerely
Robert B
hughesjr
OK ... try this:

apt-get install gnome-alsamixer

then run it from the command prompt:

gnome-alsamixer

Make sure the mute is unchecked.....
Robert83
still nothing sad.gif ...any other thing?
Robert83
maybe I should try kde? , by the way, I've been on the kde download page, and quiet a lot of stuff are there, how do I know what to download and what not to?, or do I need to download every file with the same kdex.x.x-[blabla] ?

and then after that how do you install kde?


Sincerely
Robert B
hughesjr
try this all one line:

apt-get install kdebase kdelibs kdemultimedia kdepim kdenetwork kdeaddons kdegraphics kdeutils kdeartwork qt qt-devel
Robert83
thank you again for you're help! smile.gif

I've started downloading it,...

meanwhile I've checked the KDE.org site, and found out, that it's not THAT complicated to install, the only problem was that I was confused by the number of the packages...

Sincerely
Robert B
Robert83
oh, and one more thing...

if I download the latest rpms from KDE [3.2.1], and download all the files into 1 directory, is there a command for rpm to tell it to install all the packages ? , like rpm -Uvh 1.rpm 2.rpm 3.rpm ?


Sincerely
Robert B
hughesjr
It's not hard to install ... but you won't be able to install packages with yum, rpm or apt if you install it manually ... because unless the rpms get installed, the rpm database doesn't get updated and then all the stuff you try to install with RPM, apt, yum will fail dependancy checks...
hughesjr
yes ...

rpm -Uvh *.rpm

BUT ... I still recommend using apt-get or yum and sticking with the repositories...
Robert83
Still no sucess, I'm starting again from the begning, remove linux, and start installing it, and try this kernel again...maybe I messed up something.


Sincerely
Robert B
hughesjr
Robert,

I might suggest that you install FedoraCore1 instead of RedHat 9.

The 2.6 kernel for RedHat 9 works ... but it breaks stuff, like auto hardware detection (the Kudzu needs to be upgraded to work with the 2.6 Kernel ... then you have to upgrade all the redhat-config-* things .... pretty soon half the box is FedoraCore2 and half is RedHat 9 .... I broke my RH9 beyond repair to get Kudzu working correctly (I go Kudzu working ... and detecting OK ... but I broke all the GUI Configuration tools (like redhat-config-network, redhat-config-servers, etc.).

FedoraCore1 has a 2.4.22 kernel that has the CONFIG_AGP_NVIDIA=y builtin, which means that you should be able to build the fglrx driver and use it .... and you should also be able to build the nvnet and nvaudio modules.... and apt-get works well for updates.

For a workstation, FedoraCore1 should be stable enough. It has KDE 3.1.4, gnome 2.4.0, openoffice 1.1.0, evolution 1.4.5.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.