MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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
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
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.
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.