10f8a kvm_getenvv failed - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old June 8th, 2009, 21:26
WibbleWobble WibbleWobble is offline
Junior Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default kvm_getenvv failed

Just upgraded to 7.2 from 7.1 and every reboot I'm getting these error messages in /var/log/messages.

I'm just wondering if I should be worried about them or if they're harmless I'll just leave it alone.
Code:
console-kit-daemon[992]: WARNING: kvm_getenvv failed
console-kit-daemon[992]: WARNING: kvm_getenvv failed
gnome-session[1060]: WARNING: Application 'metacity.desktop' failed to register before timeout
gdm-simple-greeter[1074]: WARNING: Failed to load '/share/xml/iso-codes/iso_639.xml': Failed to open file '/share/xml/iso-codes/iso_639.xml': No such file or directory
gdm-simple-greeter[1074]: WARNING: Failed to load '/share/xml/iso-codes/iso_3166.xml': Failed to open file '/share/xml/iso-codes/iso_3166.xml': No such file or directory
console-kit-daemon[992]: WARNING: kvm_getenvv failed
gdm-simple-greeter[1074]: WARNING: Unable to find users: no seat-id found

Last edited by DutchDaemon; June 8th, 2009 at 21:31. Reason: [code] added
Reply With Quote
  #2  
Old June 8th, 2009, 21:52
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Did you run mergemaster?

Make sure accounts like gdm, messagebus, haldeamon and polkit also migrated properly.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old June 8th, 2009, 22:02
WibbleWobble WibbleWobble is offline
Junior Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default

SirDice sorry my explanation was misleading.
I said upgraded but it was a fresh install from the 7.2 CD's.
7.1 was no longer on my system when I installed 7.2.
Reply With Quote
  #4  
Old June 9th, 2009, 07:42
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Are hal and dbus loaded?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old June 9th, 2009, 07:51
WibbleWobble WibbleWobble is offline
Junior Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Both hald and dbus are in rc.conf.
Reply With Quote
  #6  
Old October 9th, 2010, 01:01
big_girl big_girl is offline
Junior Member
 
Join Date: May 2010
Posts: 48
Thanks: 10
Thanked 5 Times in 1 Post
Default me too

I've had several system crashes lately. They all have in common many messages in /var/log/messages saying something like
Code:
WARNING kvm_getenvv failed cannot access /proc/1533/mem
They're at random times irrespective of how long the machine's been on or what it is doing. This is on 8.0. It's connected to an 8port iogear kvm switch.

Thanks,
-bg
Reply With Quote
  #7  
Old October 9th, 2010, 02:10
Galactic_Dominator Galactic_Dominator is offline
Member
 
Join Date: Nov 2008
Posts: 194
Thanks: 0
Thanked 31 Times in 27 Posts
Default

First, in this instance kvm_getenvv has nothing to do with your KVM. See kvm_getenvv for more info on what your dealing with.

Second, is proc loaded on the system?
Reply With Quote
The Following User Says Thank You to Galactic_Dominator For This Useful Post:
big_girl (October 9th, 2010)
  #8  
Old October 9th, 2010, 16:59
big_girl big_girl is offline
Junior Member
 
Join Date: May 2010
Posts: 48
Thanks: 10
Thanked 5 Times in 1 Post
Default Actually not kvm_getevnvv

Thanks for this -- however, after configuring proc to mount at startup, I still have system freezes (I got one immediately at the next startup); however, there was no more kvm_getenvv -related output in /var/log/messages (in fact there was no output to /var/log/messages after the freeze, which is why I'm posting this!).

From what I observed, the problem actually appears to be related to either geli or ZFS. It happened immediately after attaching an encrypted USB stick with geli, decrypting it and using its keys to unlock a bunch of hard disks, mounting a raidz2 ZFS volume on those disks, and detaching the geli-encrypted USB key.

After that system freeze, I forced a reboot and did not do the above geli->ZFS procedure, and the system has been stable for >12 hours, which was definitely NOT happening before when the geli and/or ZFS were in use.

The thing is, after enabling proc and getting another system freeze, there appeared to be no informative output to /var/log/messages -- can someone please tell me where I can look to get to the bottom of this? These freezes are happening pretty consistently. This is on 8.0 with ZFS v13, and appears to be a recent development. If it seems like maybe a bad hard disk creating some sort of caching problem or the like for ZFS, that is not an unreasonable theory, as the system disk is pretty old..

Thanks,
-bg
Reply With Quote
  #9  
Old October 9th, 2010, 19:28
Galactic_Dominator Galactic_Dominator is offline
Member
 
Join Date: Nov 2008
Posts: 194
Thanks: 0
Thanked 31 Times in 27 Posts
Default

Quote:
Originally Posted by big_girl View Post
From what I observed, the problem actually appears to be related to either geli or ZFS. It happened immediately after attaching an encrypted USB stick with geli, decrypting it and using its keys to unlock a bunch of hard disks, mounting a raidz2 ZFS volume on those disks, and detaching the geli-encrypted USB key.

After that system freeze, I forced a reboot and did not do the above geli->ZFS procedure, and the system has been stable for >12 hours, which was definitely NOT happening before when the geli and/or ZFS were in use.
You can try a zpool scrub to make sure zfs is consistent and try running sysutils/smartmontools to check if your disks report any error. You can also try fsck'n the USB if it's UFS on top. However, I think the most likely candidate is some sort of flaky hardware and the highest on the candidate list is RAM. If you have the ability to do so, please swap out the existing memory with known good modules. If possible, try pulling 1/2 the modules and see if the problem still exists. Then try the other 1/2.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
swap_pager_getswapspace: failed dguard General 4 December 15th, 2009 16:28
Comparison Failed Clay Installation and Maintenance of FreeBSD Ports or Packages 3 April 20th, 2009 17:17
Installation failed, now I can't boot walker_2 Installing & Upgrading 17 April 8th, 2009 15:20
ACPI autoload failed? ufonpu Installing & Upgrading 1 February 9th, 2009 18:38
SSH connection failed... rubijn Web & Network Services 9 January 19th, 2009 18:20


All times are GMT +1. The time now is 19:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0