LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   problem compiling kernel 2.6 on RedHat (https://www.linuxquestions.org/questions/red-hat-31/problem-compiling-kernel-2-6-on-redhat-156995/)

Thetargos 05-23-2004 02:57 AM

What have you got configured in the kernel (as modules or otherwise) about cryptographic API support?

kenji1903 05-23-2004 07:32 AM

everything's cool now (well, almost!) ;)

i've upgraded the rpm and ncurses but I can't update ncurses-devel due to some fail dependency error:
error: Failed dependencies:
ncurses = 5.4 is needed by ncurses-devel-5.4-5

I can open alsamixer but... there's no coour, hahaha :D
How do i turn on the volumes? I can adjust the sliders but its still [off]

kenji1903 05-23-2004 08:07 AM

Yup, I followed the .config file you sent me ;)
compiled all crypto options as modules. Only avoided twofish cipher algo and testing module.

now my console won't jam up anymore! :D
Just that it has no colour...

Why do I always get one thing fixed but another thing gets broken again, haha...
My USB is screwed! :)

Thetargos 05-23-2004 12:37 PM

Quote:

Originally posted by kenji1903
everything's cool now (well, almost!) ;)

i've upgraded the rpm and ncurses but I can't update ncurses-devel due to some fail dependency error:
error: Failed dependencies:
ncurses = 5.4 is needed by ncurses-devel-5.4-5

I can open alsamixer but... there's no coour, hahaha :D
How do i turn on the volumes? I can adjust the sliders but its still [off]

What version of ncurses did you install? the -devel package should match the installed one (again you may do an rpm -qa | grep ncurses to find out if you have repeated packages installed).

Thetargos 05-23-2004 12:39 PM

Maybe in the HW forum you may ask about this USB issue? I'm not an USB expert, but it certainly is odd that you can't access it... Maybe all you need is to find out the correct device being mapped to it (sd??).

Thetargos 05-23-2004 05:51 PM

Hey, I think I understand now your problem with RPM and the 2.6 kernels... try exporting this variable before intiating an rpm transaction:

export LD_ASSUME_KERNEL=2.2.5, see what happens.

kenji1903 05-23-2004 11:03 PM

I downloaded:
ncurses-5.4.tar.gz
ncurses-devel-5.4-5.i386.rpm

But how come the output of my "rpm -qa | grep ncurses" is still:
ncurses-5.3-4
ncurses-devel-5.3-4?

Also, the alsamixer won't remember its settings...
There are a lot of sliders and which one do I unmute?

Did I get the crypto API modules correct?

I'll look for more info of the USB support stuff in the Hardware section! ;)

Well, finally I can take a break from kernels and now go crack my head on backups :D

Thetargos 05-24-2004 02:56 AM

the reason why ncurses do not appear updated is because you installed from a source packae!! (if you find an rpm for that then you can install the devel rpm ;))

About alsamixer, you have to unmute (mainly) master, pcm and wave, adjust the sliders and then restart the service (/sbin/service alsasound restart), that'll save your settings.

kenji1903 05-24-2004 03:36 AM

No wonder it feels weird... hahaha :D

Now...
# rpm -Uvh ncurses-5.4-5.i386.rpm
warning: ncurses-5.4-5.i386.rpm V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
ncurses = 5.3 is needed by (installed) ncurses-devel-5.3-4

I've downloaded 5.3-4 for both ncurses and ncurses-devel and tried to install them, I ge this message:
warning: ncurses-5.4-5.i386.rpm V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################## [100%]
package ncurses-5.3-4 is already installed

I'm in kernel 2.6 but I can't get it to install in my 2.4.20-8... :scratch:

kenji1903 05-24-2004 04:09 AM

Quote:

Hey, I think I understand now your problem with RPM and the 2.6 kernels... try exporting this variable before intiating an rpm transaction:

export LD_ASSUME_KERNEL=2.2.5, see what happens.
Well... nothing happens... should I be expecting an output message or some sort?

Thetargos 05-24-2004 01:00 PM

You should expect RPM to work in 2.6 with that "fix"

And about ncurses, use the --force flag. The problem is not the binaries installed, but the entry of them in the rpm database. You have the 5.4 binaries, with the 3.4 db entry, since the db is what rpm looks at when installing packages (sort of Windows registry for installed software). So if you try to install them, you may just do so by:

rpm -Uvh --force ncurses*rpm; this will force the installation of the packages and will solve the dependency of the -devel pakcage also (since the precedence is the non -devel package). Try that!

kenji1903 05-24-2004 03:19 PM

Darn... before I got your post, I tried rpm --install --force instead~!
Now i have 2 versions of ncurses installed! What do I do??

I've tried the method you've mentioned (rpm -Uvh --force), I still get failed dependency errors... :scratch:

Wonder what has happened to my USB...
my lsmod output has hid, uhci_hcd, ehci_hcd and usbcore...
But I can't get any output from my cdrecord -scanbus...
Cdrecord 2.0 .....
cdrecord: No such file or directory. Cannnot open '/dev/pg*'. Cannot open SCSI driver
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

any suggestions? can't find any good threads in the hardware section...

Thetargos 05-25-2004 11:33 AM

Uninstall (rpm -e) ncurses, and then simply re-install the newer packages ;)

kenji1903 05-25-2004 07:38 PM

Thanks mate!

One month has passed, I think I'm kind of done with playing with kernels at the moment, trying something else now ;)
At least I am a lot more familiar with kernels now! Playing with cron jobs and RAID at the moment...

THanks a million for you help, bro! I might return some time later with more questions on kernels, haha :D

ChEErs!
~WiLL~

kenji1903 06-02-2004 04:16 AM

I am back to haunt you again~ ;)
Just kidding, mate :D

I have been playing with RAID since last week, just wondering why I can't upgrade the kernel...
I compiled RAID support as modules, everything went fine until I reach make install
I got something like raid1 module not found or something...
Wonder whats wrong...

chEErs,
~WiLL~


All times are GMT -5. The time now is 12:11 AM.