LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-12-2004, 06:30 AM   #1
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 12-12-2004, 11:08 AM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
See this thread: http://www.linuxquestions.org/questi...97#post1346097
 
Old 12-12-2004, 11:42 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 69
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
 
Old 12-12-2004, 11:52 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 12-12-2004, 11:19 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 69
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
 
Old 12-13-2004, 12:24 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 12-13-2004, 01:04 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 69
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
 
Old 12-13-2004, 01:41 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 12-13-2004, 11:43 PM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 69
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
 
Old 12-14-2004, 10:03 AM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 12-14-2004, 11:01 PM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Original Poster
Rep: Reputation: 69
thanx for the info!!

i am trying all this out

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syntax problem with noclean option for rpmdrake urpmi /var/cache/urpmi/rpms Emmanuel_uk Mandriva 12 05-06-2007 07:29 PM
DISCUSSION: How to make URPMI come back after upgrade Him LinuxAnswers Discussion 1 11-16-2005 09:51 AM
urpmi upgrade to 2006? cabinetcrafter Mandriva 1 10-17-2005 08:35 PM
Problems with urpmi kernel upgrade 2.6.8.1-10mdk to 2.6.8.1-25mdk Clived Mandriva 4 07-05-2005 12:49 PM
Problem when upgrade to kernel 2.4.24 little_ball Slackware 19 01-08-2004 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:19 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