LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   kernel upgrade---->urpmi problem (https://www.linuxquestions.org/questions/mandriva-30/kernel-upgrade-urpmi-problem-265505/)

masand 12-12-2004 06:30 AM

kernel upgrade---->urpmi problem
 
hi there

recently after i installed mandrake , urpmi was working well not untill today
whenver i try to install a package using urpmi, it asks for a cCD and on inserting that disk it ejects that and keeps on asking for the correct disc,which i am using.
i found out that this serror is not there in the generic kernel that came in the distro
i get this errior in the kernel that i have compiled myself
now how does a diffent kernel affect the urpmi
i am new to urpmi since i have been working on other distros previosly

any suggestions???

regards

opjose 12-12-2004 11:08 AM

See this thread: http://www.linuxquestions.org/questi...97#post1346097

masand 12-12-2004 11:42 AM

Quote:

Originally posted by opjose
See this thread: http://www.linuxquestions.org/questi...97#post1346097
the above post does not seem to solve my query since
as i mentioned earlier that urpmi is working fine with the kernel i got with mandrake
it is not working with my kernel that i compiled in mandrake using my settings

regards

opjose 12-12-2004 11:52 AM

Actually it does answer your question.... You just need to read between the lines a bit.



URPMI is trying to obtain a file from the CD.

It is unable to verify that the CD which is inserted is the one it thinks it needs.



This infers one of two things with your compiled kernel.

a) Your existing URPMI database is either corrupt OR does not include the inserted disk...

Or the more likely

b) With your recompiled kernel, Linux and hence URPMI is having difficulty reading files off the CD-ROM, which in turn is causing it to ask for the disk over and over.

Since you have no problems with the Mandrake kernel, I'd put money on the latter.

masand 12-12-2004 11:19 PM

hi there

i do no think there is problem in reading the cds because
after i could no get urpmi working on this newer kernel i booted the older one and urpmi is workling fine there
also i am able to copy the package manualy from the CD and install them using urpmi in the newer compiled kernel

regards

opjose 12-13-2004 12:24 PM

What you just said proves what I posted is correct.


For whatever reason (switches, etc.) your COMPLIED kernel is not reading the CD's properly.

You just proved that yourself.

Once the files are copied they work via your hard drive but still do not work via the CD... or rather URPMI does not recognize the disk.

It's the same disk, so you KNOW that this can't be the problem, and the only variable is your compiled kernel.

masand 12-13-2004 01:04 PM

thats is what i have not been able to figure out
how can it happen that my kernel is not reading my CDs
infact it is able to mount the same CD and copynthe respective rpm packages from there

regards

opjose 12-13-2004 01:41 PM

Probably some change you made is caused the kernel to not register the disk properly or causes it to misread the disk headers or track information.

You should first install the kernel-source rpm's

e.g.

urpmi kernel-source

Then WITHOUT changing anything, nor running make mrproper (something you really never want to do with Mandrake anyway...) nor make (x)menu, etc... just ...

make bzImage modules

And make sure it completes.

The resulting kernel should be no different than your installed one and should work the same way.

Test it by installing it and it's modules, and mkinitrd image.

Then once you verified that everything is ok, go to work on any changes.

BTW: Why do you need to modify the kernel?

Usually there is no reason to as every possible option is enabled, or at worst available on one of the alternate kernels on the repositories.

masand 12-13-2004 11:43 PM

hi there

i am sure that the kerne compilation process is OK , i have compiled my kernel for oer a 100 times
and i get better performnce with my customized kernel,far better that i get from this generic kernel which comes with these distros

thanks for ur concern!!
meanwhile i look out for the required headers!!

regards

opjose 12-14-2004 10:03 AM

The performance differences should be imperceptable.

At worst, use the kernel-source as I've indicated and change the processor to reflect what you have then recompile.

This should leave you with an optimzed kernel, but everything set up as Mandrake requires.

Also remember that if you haven't already done so, edit /etc/sysconfig/harddisk and uncomment the indicated lines for a dramatic performance boost.

Finally make sure that towards the top of /etc/lilo.conf you have the word COMPACT

then re-run lilo.

masand 12-14-2004 11:01 PM

thanx for the info!!

i am trying all this out

regards


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