View previous topic :: View next topic |
Author |
Message |
turtles Veteran
Joined: 31 Dec 2004 Posts: 1661
|
Posted: Thu Nov 10, 2011 7:32 pm Post subject: Xorg eats my memory til its all gone. |
|
|
I am trying to trouble shoot why X eats up all my memory and slowly soft locks up.
I have done all the usual stuff. emerge -e world, check kernel etc.. downgrade to stable stuff.
Can I startx in a memory container so I can recover from the lock up? I am able to get the following meaning full data:
Top, vmstat, and /proc/meminfo are what I have been using.
Before X:
Code: | vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 1816252 61212 124744 0 0 103 26 190 104 5 2 85 8
|
Code: |
top - 10:47:36 up 17 min, 1 user, load average: 0.01, 0.21, 0.19
Tasks: 72 total, 1 running, 71 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 2053956k total, 237712k used, 1816244k free, 61296k buffers
Swap: 524284k total, 0k used, 524284k free, 124824k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7270 root 20 0 2444 1156 912 R 0 0.1 0:00.01 top
1 root 20 0 1784 608 540 S 0 0.0 0:00.67 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd |
I can run kdm with no leaks.
After logging in:
Code: | top - 10:58:08 up 27 min, 2 users, load average: 0.52, 0.35, 0.25
Tasks: 496 total, 1 running, 495 sleeping, 0 stopped, 0 zombie
Cpu(s): 48.6%us, 36.1%sy, 0.0%ni, 1.9%id, 12.9%wa, 0.0%hi, 0.5%si, 0.0%st
Mem: 2053956k total, 496964k used, 1556992k free, 95704k buffers
Swap: 0k total, 0k used, 0k free, 211072k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10126 turtle 20 0 125m 26m 20m S 39 1.3 0:01.45 kwin
10155 turtle 20 0 109m 12m 8428 S 10 0.6 0:00.29 kwalletd
10090 turtle 20 0 108m 12m 8196 S 8 0.6 0:00.38 kglobalaccel
10020 turtle 20 0 2876 964 640 S 8 0.0 0:00.26 dbus-daemon
10078 turtle 20 0 129m 17m 12m S 7 0.9 0:00.83 kded4
10153 turtle 20 0 67912 10m 8944 S 7 0.5 0:00.21 kactivitymanage
3104 messageb 20 0 2856 1232 816 S 4 0.1 0:02.98 dbus-daemon
9762 root 20 0 27372 9172 3968 S 3 0.4 0:01.12 X
10124 root 20 0 22824 3180 2620 S 3 0.2 0:00.25 udisks-daemon
3118 root 20 0 21316 6572 1704 S 2 0.3 0:10.10 wicd
10523 turtle 20 0 32628 7420 6444 S 2 0.4 0:00.05 knotify4
9772 root 20 0 2444 1188 912 R 1 0.1 0:00.43 top
4055 root 20 0 0 0 0 S 1 0.0 0:00.25 kworker/0:0
10074 turtle 20 0 76264 13m 10m S 1 0.7 0:00.28 kdeinit4 |
after logging in quickly almost 100% of the memory is eaten up.
Code: | top - 10:59:34 up 29 min, 5 users, load average: 4.62, 1.68, 0.73
Tasks: 7557 total, 2 running, 7555 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.3%us, 46.4%sy, 0.0%ni, 4.5%id, 41.2%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 2053956k total, 2005200k used, 48756k free, 616k buffers
Swap: 0k total, 0k used, 0k free, 77444k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
540 root 20 0 0 0 0 D 49 0.0 0:11.15 kswapd0
9772 root 20 0 6868 5348 712 R 22 0.3 0:13.93 top
15663 turtle 20 0 29224 10m 2528 D 4 0.5 0:01.58 wicd-client
17834 root 20 0 4320 776 552 R 4 0.0 0:00.17 mount.crypt
3143 root 20 0 6072 1660 1088 S 3 0.1 0:00.37 syslog-ng
14037 turtle 20 0 131m 9300 2892 S 3 0.5 0:04.00 dolphin
9762 root 20 0 44052 10m 1356 S 2 0.5 0:07.60 X
10542 turtle 20 0 169m 11m 2764 S 2 0.6 0:03.53 knotify4
12538 turtle 20 0 188m 18m 1532 S 2 0.9 0:01.36 mysqld
14061 turtle 20 0 226m 42m 4608 S 2 2.1 0:12.72 firefox
3118 root 20 0 21316 6340 1468 S 1 0.3 0:11.09 wicd
12437 turtle 20 0 131m 3784 1824 S 1 0.2 0:00.57 akonadiserver
10076 turtle 20 0 77424 4680 1824 S 1 0.2 0:00.23 klauncher
3104 messageb 20 0 2964 1276 656 S 1 0.1 0:05.35 dbus-daemon |
I had turned my swap file off in this test to see if my swap file got corrupted.
Code: | #/etc/init.d/xdm stop
* Stopping kdm ...
/usr/bin/kdm'
* Will stop /usr/bin/kdm
* Will stop PID in pidfile `/var/run/kdm.pid'
* Will stop processes of `/usr/bin/kdm'
* Sending signal 15 to PID 9758 ... [ ok ]
* Sending signal 15 to PID 9758 ... [ ok ]
* start-stop-daemon: 1 process refused to stop
* Error stopping kdm [ !! ]
* ERROR: xdm failed to stop
# killall X
X: no process found
l# killall -9 9758
9758: no process found#/etc/init.d/xdm stop
* Stopping kdm ...
/usr/bin/kdm'
* Will stop /usr/bin/kdm
* Will stop PID in pidfile `/var/run/kdm.pid'
* Will stop processes of `/usr/bin/kdm'
* Sending signal 15 to PID 9758 ... [ ok ]
* Sending signal 15 to PID 9758 ... [ ok ]
* start-stop-daemon: 1 process refused to stop
* Error stopping kdm [ !! ]
* ERROR: xdm failed to stop
# killall X
X: no process found
l# killall -9 9758
9758: no process found
# reboot
# reboot
|
Code: | grep 'EE' Xorg.0.log
[ 448.332] Current Operating System: Linux lapcat 3.0.6-gentoo #3 SMP PREEMPT Fri Nov 4 10:11:00 PDT 2011 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 448.726] (II) Loading extension MIT-SCREEN-SAVER
[ 452.126] (EE) Query no Synaptics: 6003C8
[ 452.126] (EE) AlpsPS/2 ALPS GlidePoint Unable to query/initialize Synaptics hardware.
[ 452.151] (EE) PreInit returned 11 for "AlpsPS/2 ALPS GlidePoint"
lapcat log # grep 'EE' Xorg.1.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[208566.702] (II) Loading extension MIT-SCREEN-SAVER
[208568.427] (EE) Query no Synaptics: 6003C8
[208568.427] (EE) AlpsPS/2 ALPS GlidePoint Unable to query/initialize Synaptics hardware.
[208568.438] (EE) PreInit returned 11 for "AlpsPS/2 ALPS GlidePoint" |
Code: | emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo i686)
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Mobile_Intel-R-_Pentium-R-_4_CPU_3.33GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 09 Nov 2011 14:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/ccache: 2.4-r9
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo x-local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask "
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/home/Music/pentium4/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx X a52 aac aalib acl acpi akode alsa amarok amazon amr ao apache2 apm bash-completion berkdb bluetooth branding bzip2 cairo cardbus cdb cdda cddb cdr cdrom cli consolekit cracklib crypt css cups curl cxx dbus declarative dga directfb divx dri dts dv dvb dvd dvdr dynamicplugin eap-sim embedded emboss encode exif fam fbcon ffmpeg firefox flac flash flatfile fortran gcj gd gdbm gdu ggi gif gimp gmedia gnutls gphoto2 gpm gtk iconv id3tag imagemagick ipod jack java joystick jpeg jpeg2k kde kpathsea ladspa latex lcms ldap libcaca libnotify libsamplerate libwww live mad madwifi matroska mng modules mozilla mp3 mp3rtp mp3tunes mp4 mp4live mpeg mpeg2 mplayer mtp mudflap musepack mysql nas ncurses nls npp nptl nptlonly nsplugin ogg opengl openmp pam pango pcmcia pcntl pcre pdf php pmu png pnm policykit postgres ppds pppd qt3support qt4 radio rar readline realmedia sasl scanner screen sdl semantic-desktop session sndfile sound spell sql sse sse2 ssl startup-notification static-libs svg sysfs tao tcpd thumbnail tiff truetype udev unicode usb vorbis webkit wifi win32codecs wma wmp wps x264 x86 xanim xcb xemacs xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias cgi cgid auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Code: | dmesg | grep 'drm'
[ 0.361170] [drm] Initialized drm 1.1.0 20060810
[ 0.388137] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 0.388222] [drm] Driver supports precise vblank timestamp query.
[ 0.419721] [drm] initialized overlay support
[ 0.603702] fbcon: inteldrmfb (fb0) is primary device
[ 0.653914] fb0: inteldrmfb frame buffer device
[ 0.653960] drm: registered panic notifier
[ 0.654036] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
|
Kernel set up:
Code: | lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
grep 'DRM' /usr/src/linux/.config
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
grep 'FB' /usr/src/linux/.config | grep =y
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
|
_________________ Donate to Gentoo |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9681 Location: almost Mile High in the USA
|
Posted: Thu Nov 10, 2011 7:52 pm Post subject: |
|
|
What makes you think it's X11 that's eating all the memory?
By your two 'top' reports, the first one X11 is eating 9.1M, the second, 10M -- not that big a difference.
What you want to do is sort by 'memory used' - usually bound to shift-M.
From your firefox, I can only see firefox eating 42MB RAM, which isn't a whole lot in 2GB... there must be something else. Could be a memory leak or kernel slabs... slabtop will show these. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1661
|
Posted: Thu Nov 10, 2011 8:04 pm Post subject: |
|
|
I am not sure how to decipher this:
Here is slabtop before logging in:
Code: | Active / Total Objects (% used) : 84872 / 85909 (98.8%)
Active / Total Slabs (% used) : 2150 / 2150 (100.0%)
Active / Total Caches (% used) : 54 / 95 (56.8%)
Active / Total Size (% used) : 14220.98K / 14367.50K (99.0%)
Minimum / Average / Maximum Object : 0.01K / 0.17K / 8.00K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
23290 23289 99% 0.05K 274 85 1096K selinux_inode_security
15040 15023 99% 0.12K 470 32 1880K dentry
4964 4964 100% 0.05K 68 73 272K buffer_head
4608 4606 99% 0.01K 9 512 36K kmalloc-8
4080 3698 90% 0.02K 24 170 96K anon_vma_chain
3979 3979 100% 0.34K 173 23 1384K inode_cache
3904 3904 100% 0.50K 244 16 1952K ext3_inode_cache
3840 3829 99% 0.02K 15 256 60K kmalloc-16
2873 2873 100% 0.30K 221 13 884K radix_tree_node
2714 2569 94% 0.09K 59 46 236K vm_area_struct
2304 2279 98% 0.03K 18 128 72K kmalloc-32
1824 1800 98% 0.25K 114 16 456K kmalloc-256
1734 1611 92% 0.04K 17 102 68K anon_vma
1536 1467 95% 0.06K 24 64 96K kmalloc-64
1134 1119 98% 0.09K 27 42 108K kmalloc-96
1054 1054 100% 0.45K 62 17 496K shmem_inode_cache
928 862 92% 0.12K 29 32 116K kmalloc-128
816 798 97% 0.50K 51 16 408K kmalloc-512
651 587 90% 0.38K 31 21 248K proc_inode_cache
568 565 99% 4.00K 71 8 2272K kmalloc-4096
512 512 100% 0.02K 2 256 8K revoke_record
442 438 99% 0.15K 17 26 68K idr_layer_cache
352 352 100% 2.00K 22 16 704K kmalloc-2048
340 340 100% 0.02K 2 170 8K journal_handle
272 266 97% 1.00K 17 16 272K kmalloc-1024
256 256 100% 0.03K 2 128 8K kmem_cache_node
255 246 96% 0.08K 5 51 20K task_delay_info
175 168 96% 1.23K 7 25 224K task_struct
168 152 90% 0.62K 14 12 112K signal_cache
|
After logging in:
Code: | Active / Total Objects (% used) : 1238147 / 1262189 (98.1%)
Active / Total Slabs (% used) : 25559 / 25559 (100.0%)
Active / Total Caches (% used) : 55 / 95 (57.9%)
Active / Total Size (% used) : 135692.99K / 139253.94K (97.4%)
Minimum / Average / Maximum Object : 0.01K / 0.11K / 8.00K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
383778 383777 99% 0.09K 8343 46 33372K vm_area_struct
267920 267915 99% 0.02K 1576 170 6304K anon_vma_chain
166362 166349 99% 0.04K 1631 102 6524K anon_vma
100352 100347 99% 0.02K 392 256 1568K kmalloc-16
98720 98700 99% 0.25K 6170 16 24680K kmalloc-256
40448 40414 99% 0.03K 316 128 1264K kmalloc-32
36210 26833 74% 0.05K 426 85 1704K selinux_inode_security
31264 31264 100% 0.12K 977 32 3908K kmalloc-128
20992 20992 100% 0.06K 328 64 1312K kmalloc-64
19472 19470 99% 0.50K 1217 16 9736K kmalloc-512
18624 9509 51% 0.12K 582 32 2328K dentry
9696 9696 100% 0.62K 808 12 6464K signal_cache
9690 9690 100% 0.08K 190 51 760K task_delay_info
9450 9450 100% 1.23K 378 25 12096K task_struct
9315 9315 100% 1.38K 405 23 12960K sighand_cache
9282 9281 99% 0.38K 442 21 3536K files_cache
7392 5796 78% 0.50K 462 16 3696K ext3_inode_cache
5120 5116 99% 0.01K 10 512 40K kmalloc-8
3657 2430 66% 0.34K 159 23 1272K inode_cache
3172 1230 38% 0.30K 244 13 976K radix_tree_node
2499 2409 96% 0.38K 119 21 952K proc_inode_cache
1768 1735 98% 0.45K 104 17 832K shmem_inode_cache
1302 1190 91% 0.09K 31 42 124K kmalloc-96
988 988 100% 0.15K 38 26 152K idr_layer_cache
584 573 98% 4.00K 73 8 2336K kmalloc-4096
584 173 29% 0.05K 8 73 32K buffer_head
512 512 100% 0.02K 2 256 8K revoke_record
483 483 100% 0.38K 23 21 184K sock_inode_cache
352 352 100% 2.00K 22 16 704K kmalloc-2048
|
_________________ Donate to Gentoo |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Thu Nov 10, 2011 9:34 pm Post subject: |
|
|
Whether really X or some X application is at fault you can check with xrestop.
If you suspect the kernel DRM side, enable the appropriate sysfs debug options and look at /sys/kernel/debug/dri/0/gem_objects |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9681 Location: almost Mile High in the USA
|
Posted: Fri Nov 11, 2011 3:50 pm Post subject: |
|
|
The slabs usage doesn't look way too out of line, does not look like a kernel memory leak. So, have to look at user space memory usage.
Still do not have conclusive evidence as to what's eating so much RAM. Running 'top' and sort via memory (default is by CPU use) may give some more information.
BTW if you're using that much RAM, you're probably running out of RAM. Is the OOM killer killing anything?
OH... BTW. When killing individual processes by PID you should be using 'kill' not 'killall'. The latter is for killing by process name. Also I think baselayout/openrc is probably doing a good job with killing processes and -9'ing them probably wouldn't help... this does imply there are processes in uninterruptable sleep... "killall -9 kdm" is probably what you're trying to do. |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1661
|
Posted: Sun Nov 20, 2011 9:21 pm Post subject: |
|
|
looks like zillions of mount.crypt processes eating up my memory only after login using kdm to xfce or kde.
How do I run fsck or e2fsck on an encrypted partition? my /home/dir is encrypted and may be the issue.
I tried unmounting and using cryptsetup lukesopen /dev/sda* dev-name
and got errors
any advice on this?
I cant seem to log a error I get on boot up about a kernel supplied name conflict with a dm something.
Is there a way to get rc.log to capture all of the boot up?
or get this error somewhere from udev?
I have looked in rc.log mesages and dmesg.
I am using kdm to login (I have used gdm and slim in the past).
Seems like some config is borked with the dbus udisks or the encrypted filesystem has gone buggy. How can I tell when it is being checked on mount?
Odd thing is I cant seem to get another test user account to be able to get past kdm and get a xsession and I am not able to startx as root, however everything seems fine running TWM.
Code: | No protocol specified
twm: unable to open display ":0"
|
EDIT: Well i was just mispelling luks lukes so I got fsck to run
EDIT2: Found answer to udev error here _________________ Donate to Gentoo |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1661
|
Posted: Tue Nov 22, 2011 6:40 am Post subject: |
|
|
Seems like it is related to this:
Code: | /usr/libexec/polkitd start
Entering main event loop
Connected to the system bus
Registering null backend at priority -10
** (polkitd:25655): DEBUG: Added `/var/lib/polkit-1/localauthority/10-vendor.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/etc/polkit-1/localauthority/10-vendor.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/var/lib/polkit-1/localauthority/20-org.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/etc/polkit-1/localauthority/20-org.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/var/lib/polkit-1/localauthority/30-site.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/etc/polkit-1/localauthority/30-site.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/var/lib/polkit-1/localauthority/50-local.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/etc/polkit-1/localauthority/50-local.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/var/lib/polkit-1/localauthority/90-mandatory.d' as a local authorization store
** (polkitd:25655): DEBUG: Added `/etc/polkit-1/localauthority/90-mandatory.d' as a local authorization store
** (polkitd:25655): DEBUG: Monitoring `/var/lib/polkit-1/localauthority' for changes
** (polkitd:25655): DEBUG: Monitoring `/etc/polkit-1/localauthority' for changes
Using authority class PolkitBackendLocalAuthority
Lost the name org.freedesktop.PolicyKit1 - exiting
Shutting down
** (polkitd:25655): DEBUG: Purged all local authorization stores
Exiting with code 0 |
Logging info:
Code: | 1321828627.712 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1321828637.168 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session3' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=1004 session-creation-time='2011-11-20T22:37:17.149768Z'
1321828637.181 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session3'
1321828639.555 type=SEAT_SESSION_REMOVED : seat-id='Seat1' session-id='Session3' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=1004 session-creation-time='2011-11-20T22:37:17.149768Z'
1321828639.670 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1321828645.109 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session4' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=0 session-creation-time='2011-11-20T22:37:25.091251Z'
1321828645.125 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session4'
1321828657.105 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1321828660.046 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session4'
1321829173.271 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id=''
1321829184.430 type=SEAT_SESSION_ADDED : seat-id='Seat1' session-id='Session5' session-type='' session-x11-display=':0' session-x11-display-device='/dev/tty7' session-display-device='' session-remote-host-name='' session-is-local=TRUE session-unix-user=1001 session-creation-time='2011-11-20T22:46:24.411503Z'
1321829184.443 type=SEAT_ACTIVE_SESSION_CHANGED : seat-id='Seat1' session-id='Session5'
|
Code: | ck-list-sessions
Session4:
unix-user = '0'
realname = 'root'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2011-11-20T22:37:25.091251Z'
login-session-id = '3'
idle-since-hint = '2011-11-20T22:46:01.001246Z'
Session5:
unix-user = '1001'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-11-20T22:46:24.411503Z'
login-session-id = ''
|
EDIT on 12-2-2011
This seems to be caused by bug bug 387147
And Bug bug 365479 _________________ Donate to Gentoo |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|