New Kernel Update fails

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

New Kernel Update fails

Postby DonaldFR » Aug 24th, '12, 20:09

I used the control center to update the Kernal. During "Listing Base Packages," I get the following error:

"A fatal error occurred: Couldn't open RPM DB () at /usr/lib/perl5/veneor_perl/5.14.2/Rpmdrake/open_db.pm line 74.."

I get the same error every time I re-start the updater. Any suggestions?

Thanks!
DonaldFR
 
Posts: 10
Joined: Mar 20th, '12, 23:23

Re: New Kernal Update fails

Postby griffin » Aug 25th, '12, 01:43

Worse, the automated maintenance update renders the system unbootable. It hangs after putting out the syslog messages "runaway modprobe loop" and "kernel panic!".

There is a diagnosis of the problem and fix procedure at http://www.theinquirer.net/inquirer/feature/2200761/how-to-fix-a-broken-mageia-kernel-upgrade .
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: New Kernal Update fails

Postby isadora » Aug 25th, '12, 07:43

DonaldFR wrote:I used the control center to update the Kernal. During "Listing Base Packages," I get the following error:

"A fatal error occurred: Couldn't open RPM DB () at /usr/lib/perl5/veneor_perl/5.14.2/Rpmdrake/open_db.pm line 74.."

I get the same error every time I re-start the updater. Any suggestions?

Thanks!

Open a terminal (lxterminal, xterm gnome-terminal, konsole, whatever) and get root permissions
Code: Select all
su -

Now first remove the rpm database:
Code: Select all
rm -f /var/lib/rpm/__db*

then rebuild the db
Code: Select all
rpm --rebuilddb
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: New Kernal Update fails

Postby Ken-Bergen » Aug 25th, '12, 09:26

isadora wrote:Open a terminal (lxterminal, xterm gnome-terminal, konsole, whatever) and get root permissions
Code: Select all
su -

Now first remove the rpm database:
Code: Select all
rm -f /var/lib/rpm/__db*

then rebuild the db
Code: Select all
rpm --rebuilddb
Agreed but a minor nitpick. :D
Code: Select all
su
Would do just fine as neither of the subsequent commands require a full root environment. :mrgreen:
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: New Kernal Update fails

Postby isadora » Aug 25th, '12, 09:37

Thanks Ken . ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: New Kernal Update fails

Postby doktor5000 » Aug 25th, '12, 10:54

griffin wrote:Worse, the automated maintenance update renders the system unbootable. It hangs after putting out the syslog messages "runaway modprobe loop" and "kernel panic!".


Update worked fine here, FWIW.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: New Kernal Update fails

Postby griffin » Aug 25th, '12, 11:40

doktor5000 wrote:Update worked fine here, FWIW.

In that case, I suspect that the update is failing only for the nonfree ATI Radeon fgrlx kernel. I have a Radeon video card and use the fgrlx kernel, and it definitely failed and left my system unbootable.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: New Kernal Update fails

Postby doktor5000 » Aug 25th, '12, 16:26

Nope, it's not only the radeon drivers. It also failed for some users with nvidia drivers. The question is what did you do during the update. Some said it froze and so they killed it or rebooted, but it just took some minutes to process.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: New Kernal Update fails

Postby wilcal » Aug 25th, '12, 16:39

I've successfully updated, and rebooted, one of
my platforms ( 32-bit ) here with the new kernel
without any problems. I've not updated my 64-bit
Nvidia platform yet.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: New Kernal Update fails

Postby griffin » Aug 25th, '12, 21:18

doktor5000 wrote:Nope, it's not only the radeon drivers. It also failed for some users with nvidia drivers. The question is what did you do during the update. Some said it froze and so they killed it or rebooted, but it just took some minutes to process.

The update processed normally, it didn't hang and I didn't interrupt or kill it. The system only looped and hung after a kernel panic during reboot. See the article link I posted above in my first reply to this thread. One other detail that might help narrow this down is that I'm running the 64-bit kernel.
griffin
 
Posts: 100
Joined: Sep 9th, '11, 03:51

Re: New Kernal Update fails

Postby wilcal » Aug 25th, '12, 21:30

Can anyone cite a successful Nvidia update
with this new Kernel ( 32 or 64 bit ).
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: New Kernal Update fails

Postby pulsa » Aug 26th, '12, 00:48

I ran into the same problems as mentioned earlier. Mageia 2 on a 32 bit system with nvidia graphic card. The solution for which griffin gave a link worked for me. So I suspect dat in the update someone made a mistake with the links for config and System.map in /boot.

Bart
pulsa
 
Posts: 5
Joined: Nov 20th, '11, 12:15

Re: New Kernal Update fails

Postby doktor5000 » Aug 26th, '12, 16:56

Well, here the update went fine, x86_64 system with nvidia driver (only dkms packages though) installed. Also saw quite some successful reports in german Mageia forum, x86 and x86_64.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: New Kernal Update fails

Postby tmb » Aug 26th, '12, 17:16

pulsa wrote:I ran into the same problems as mentioned earlier. Mageia 2 on a 32 bit system with nvidia graphic card. The solution for which griffin gave a link worked for me. So I suspect dat in the update someone made a mistake with the links for config and System.map in /boot.

Bart


Hi,

the config and System.map symlinks are not a kernel update bug as such. The kernel and its install scripts does not touch those symlinks as that would break the systems for people switching kernels they boot.

The /boot/config and /boot/System.map symlinks must match the running kernel, not the latest one installed, and is managed by /etc/rc.sysinit at boot time.

so the real bug is to find out why it fails to update the symlinks for some users. A simple guess at this point is that we have a timing bug hiding somewhere...

The other question is why it did not show up during QA as I see people with atleast Intel, nVidia and Ati/AMD hardware testing the updates and they did not trigger it :/

We are investigating the issue to figure out what went wrong and will try to improve our testing so a problem like this wont slip through again...


--
Thomas
User avatar
tmb
 
Posts: 21
Joined: Mar 29th, '11, 22:13
Location: Finland

Re: New Kernal Update fails

Postby wilcal » Aug 26th, '12, 17:29

doktor5000 wrote:Well, here the update went fine, x86_64 system with nvidia driver (only dkms packages though) installed. Also saw quite some successful reports in german Mageia forum, x86 and x86_64.

Thanks, I'm going to do some significant testing
on this on Tues ( San Diego CA time ).
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: New Kernal Update fails

Postby uluru » Aug 26th, '12, 18:18

doktor5000 wrote:Well, here the update went fine, x86_64 system with nvidia driver (only dkms packages though) installed. Also saw quite some successful reports in german Mageia forum, x86 and x86_64.


I updated the system, among the updates I'm sure there was a kernel and a X11 update, no dkms as I recall.
the update went fine, at the end appared the message "you should rebbot to update the kernel" appeared.

I continued to use the computer for 15 min (internet browsing and email), then rebooted.

The reboot doesn't boot at all, I waited 10 minutes with no luck.

I managed to get back to an usable install selecting the 3.6 kernel at boot.

Might it be that the mga2 upgrade also messed up the nonfree repo upgrade settings so that I don't get upgrades for video drivers? I enabled them for install, maybe they're not enabled for upgdate.


Thank you
uluru
 
Posts: 21
Joined: May 24th, '12, 08:45

Re: New Kernal Update fails

Postby doktor5000 » Aug 26th, '12, 18:25

By default you can't change the updates settings of the repos, if they are enabled, they are used. So you didn't get any nvidia update at all?
Code: Select all
rpm -qa --last | head -100 | grep nvidia
will tell you. Hint: look for the date in the rightmost column.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: New Kernal Update fails

Postby uluru » Aug 26th, '12, 18:35

doktor5000 wrote:By default you can't change the updates settings of the repos, if they are enabled, they are used. So you didn't get any nvidia update at all?
Code: Select all
rpm -qa --last | head -100 | grep nvidia
will tell you. Hint: look for the date in the rightmost column.

I confirm that the command returns no results, below are the packages installed today:
# rpm -qa --last | head -100
x11-driver-video-vboxvideo-4.1.18-1.mga2 sun 26 ago 2012 10:37:25 CEST
vboxadditions-kernel-desktop-latest-4.1.18-1.mga2 sun 26 ago 2012 10:37:24 CEST
ldetect-lst-0.1.303.1-1.mga2 sun 26 ago 2012 10:37:24 CEST
kernel-desktop-latest-3.3.8-2.mga2 sun 26 ago 2012 10:37:24 CEST
gimp-2.8.0-1.1.mga2 sun 26 ago 2012 10:37:22 CEST
lib64gimp2.0_0-2.8.0-1.1.mga2 sun 26 ago 2012 10:37:20 CEST
vboxadditions-kernel-3.3.8-desktop-2.mga2-4.1.18-1.mga2 sun 26 ago 2012 10:37:02 CEST
kernel-desktop-3.3.8-2.mga2-1-1.mga2 sun 26 ago 2012 10:36:46 CEST
python-pycrypto-2.3-2.1.mga2 sun 26 ago 2012 10:35:09 CEST
libxml2-utils-2.7.8-14.20120229.3.mga2 sun 26 ago 2012 10:35:09 CEST
acpid-2.0.14-4.1.mga2 sun 26 ago 2012 10:35:08 CEST
microcode_ctl-1.17-13.1.mga2 sun 26 ago 2012 10:35:07 CEST
gnupg2-2.0.18-1.1.mga2 sun 26 ago 2012 10:35:07 CEST
usbmuxd-1.0.7-2.2.mga2 sun 26 ago 2012 10:35:06 CEST
lib64krb53-1.9.2-2.3.mga2 sun 26 ago 2012 10:35:06 CEST
lib64usbmuxd1-1.0.7-2.2.mga2 sun 26 ago 2012 10:35:05 CEST
lib64vdpau1-0.4.1-3.1.mga2 sun 26 ago 2012 10:34:49 CEST
krb5-1.9.2-2.3.mga2 sun 26 ago 2012 10:34:49 CEST
lib64jpeg8-1.2.0-4.1.mga2 sun 26 ago 2012 10:34:48 CEST
jpackage-utils-1.7.5-17.3.mga2 sun 26 ago 2012 10:34:48 CEST
libxml2-python-2.7.8-14.20120229.3.mga2 sun 26 ago 2012 10:34:47 CEST
python-2.7.3-2.3.mga2 sun 26 ago 2012 10:34:46 CEST
lib64python2.7-2.7.3-2.3.mga2 sun 26 ago 2012 10:34:44 CEST
rootcerts-20120628.00-1.mga2 sun 26 ago 2012 10:34:28 CEST
lib64gdata13-0.12.0-1.1.mga2 sun 26 ago 2012 10:34:28 CEST
oxygen-gtk3-1.0.3-1.1.mga2 sun 26 ago 2012 10:34:27 CEST
lib64oxygen-gtk3-1.0.3-1.1.mga2 sun 26 ago 2012 10:34:27 CEST
lib64xml2_2-2.7.8-14.20120229.3.mga2 sun 26 ago 2012 10:34:26 CEST
libgdata-i18n-0.12.0-1.1.mga2 sun 26 ago 2012 10:34:25 CEST
lib64nss3-3.13.5-1.1.mga2 sun 26 ago 2012 10:34:25 CEST
nss-3.13.5-1.1.mga2 sun 26 ago 2012 10:34:24 CEST
bash-4.2-5.1.mga2 sun 26 ago 2012 10:34:23 CEST
meta-task-2-48.1.mga2 sun 26 ago 2012 10:33:46 CEST


thank you
uluru
 
Posts: 21
Joined: May 24th, '12, 08:45

Re: New Kernal Update fails

Postby doktor5000 » Aug 26th, '12, 18:52

Well, maybe you don't have the nvidia driver installed, or the media is no enabled?
Please show the output of
Code: Select all
rpm -qa | grep nvidia
and
Code: Select all
urpmq --list-media active
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: New Kernal Update fails

Postby uluru » Aug 26th, '12, 19:09

doktor5000 wrote:Well, maybe you don't have the nvidia driver installed, or the media is no enabled?
Please show the output of
Code: Select all
rpm -qa | grep nvidia
and
Code: Select all
urpmq --list-media active

I believe I do, anyway here's the ouptput:
# rpm -qa | grep nvidia
nvidia-current-kernel-3.3.6-desktop-2.mga2-295.49-4.mga2.nonfree
x11-driver-video-nvidia-current-295.49-2.mga2.nonfree
nvidia-current-kernel-desktop-latest-295.49-4.mga2.nonfree

# urpmq --list-media active
Core Release
Core Updates
Nonfree Release
Nonfree Backports
Tainted Release
Core 32bit Release
Core 32bit Updates


it's odd I have 32bit enabled as I installed mga2 x86_64
uluru
 
Posts: 21
Joined: May 24th, '12, 08:45

Re: New Kernal Update fails

Postby pulsa » Aug 26th, '12, 19:17

I ran into the same problems as mentioned earlier. Mageia 2 on a 32 bit system with nvidia graphic card. The solution for which griffin gave a link worked for me. So I suspect dat in the update someone made a mistake with the links for config and System.map in /boot.

Bart


I cheerded too early. After some time the system froze again. I installed the X-nouveau driver and that seemed to work better but also after half an hour the same thing: freezing and strange colours appearing. What was worse; I have a dualboot installation and now the videodriver under Windows 7 crashes also after some time. Does this mean that my videocard is damaged? Is this a coincidence?. I also get white specks on the BIOS startup screen. The upgrade on my laptop (Asus N53S, 64bit), from which I write this post, was without any problem (Intel 810 graphics)
pulsa
 
Posts: 5
Joined: Nov 20th, '11, 12:15

Re: New Kernal Update fails

Postby jkerr82508 » Aug 26th, '12, 20:29

@uluru

You do not have nonfree-updates enabled and so the nvidia packages have not been updated.

32 bit repo's are enabled by default on 64 bit systems. (To facilitate installation of some popular software that is available as 32 bit only.)

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: New Kernal Update fails

Postby uluru » Aug 26th, '12, 21:05

jkerr82508 wrote:@uluru

You do not have nonfree-updates enabled and so the nvidia packages have not been updated.

32 bit repo's are enabled by default on 64 bit systems. (To facilitate installation of some popular software that is available as 32 bit only.)

Jim


thank you Jim,
is it good to enable the updates as well?

I also can't find the shell command launch the gui as root so I can enable update repos as well, can you please provide it?

Thank you
uluru
 
Posts: 21
Joined: May 24th, '12, 08:45

Re: New Kernal Update fails

Postby alf » Aug 26th, '12, 21:20

uluru wrote:I also can't find the shell command launch the gui as root so I can enable update repos as well, can you please provide it?

You may do that via MCC in the software management.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: New Kernal Update fails

Postby doktor5000 » Aug 26th, '12, 21:29

uluru wrote:is it good to enable the updates as well?

I also can't find the shell command launch the gui as root so I can enable update repos as well, can you please provide it?


Well, if you don't enable the update repos, you won't get any updates. Simple as that.
BTW, you also miss the tainted_updates repo, and you should disable the nonfree_backports.

For the command, for what do you need that? By the default all Mageia update repos are marked as update,
what do you want to change exactly? Normally you shouldn't fiddle with that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Next

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron