Re: [gentoo-user] my gnome-shell break

2014-04-04 Thread
sorry for my pool english, :)

Gnome-shell break sometime I can't expect, so I want look logfile when it
break.
journalctl -b -f is also work
thank you


2014-04-05 1:25 GMT+08:00 Nilesh Govindrajan m...@nileshgr.com:

 On Fri, Apr 4, 2014 at 9:19 PM, AR aleiphoe...@gmail.com wrote:
  On Fri, Apr 4, 2014 at 11:31 PM, Nilesh Govindrajan m...@nileshgr.com
 wrote:
  On Fri, Apr 4, 2014 at 8:55 AM, 林守磊 linxiu...@gmail.com wrote:
 
  What the path of gnome-shell log,  maybe some error log can trace the
 problem
 
 
  PS: I use journal
 
  What?
 
 
  Maybe he meant which log file could be watched to track down what
  happened. And he's using journald (which is a part of systemd I guess
  ?)
 
  What's related info of journalctl -xn ?
 
  I'm not familiar with gnome-shell though. I don't use it.
 
  --
  Silence is golden.
 

 I generally run journalctl -b -f in a tmux from TTY and then start
 thing which causes problem.




[gentoo-user] Portage did not remerge dev-perl/XML-Parser after upgrading perl,

2014-04-03 Thread
Portage did not remerge dev-perl/XML-Parser after I upgrade perl, which
case new perl can't  require XML::Parser

do revdep-rebuild will sovle it ?


Re: [gentoo-user] my gnome-shell break

2014-04-03 Thread
What the path of gnome-shell log,  maybe some error log can trace the
problem


PS: I use journal


2014-04-03 21:28 GMT+08:00 Nilesh Govindrajan m...@nileshgr.com:

 Did you try deleting ~/. *? Sometimes simple things like those help.
 Take a backup first.

 Sorry for top post, sent from mobile.
 On 03-Apr-2014 6:48 am, 林守磊 linxiu...@gmail.com wrote:

 Hi all
 I use gnome-shell-3.10.4-r1

 some problem happen when I upgrade from 3.8, such as  wall-picture
 disappeared, word of clock break

 attached my screenshotsPortage 2.2.10
 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.19,
 3.13.5-gentoo-shelley x86_64)
 =
  System Settings
 =
 System uname:
 Linux-3.13.5-gentoo-shelley-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@
 _2.67GHz-with-gentoo-2.2
 KiB Mem: 7970940 total,   4488632 free
 KiB Swap:2097148 total,   2097148 free
 Timestamp of tree: Wed, 02 Apr 2014 21:45:01 +
 ld GNU ld (GNU Binutils) 2.24
 app-shells/bash:  4.2_p46
 dev-java/java-config: 2.2.0
 dev-lang/python:  2.6.9, 2.7.6, 3.2.5-r3, 3.3.5, 3.4.0
 dev-util/cmake:   2.8.12.2
 dev-util/pkgconfig:   0.28-r1
 sys-apps/baselayout:  2.2
 sys-apps/openrc:  0.12.4
 sys-apps/sandbox: 2.6-r1
 sys-devel/autoconf:   2.13, 2.69
 sys-devel/automake:   1.11.6, 1.14.1
 sys-devel/binutils:   2.24-r2
 sys-devel/gcc:4.5.4, 4.8.2
 sys-devel/gcc-config: 1.8
 sys-devel/libtool:2.4.2
 sys-devel/make:   4.0-r1
 sys-kernel/linux-headers: 3.14 (virtual/os-headers)
 sys-libs/glibc:   2.19
 Repositories: gentoo x-portage gentoo-zh sublime-text
 ACCEPT_KEYWORDS=amd64 ~amd64
 ACCEPT_LICENSE=* -@EULA
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=native -O2 -pipe
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/dconf /etc/env.d
 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -pipe
 DISTDIR=/usr/portage/distfiles
 FCFLAGS=-O2 -pipe
 FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks
 ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
 unmerge-orphans userfetch userpriv usersandbox usersync
 FFLAGS=-O2 -pipe
 GENTOO_MIRRORS=http://mirrors.aliyun.com/gentoo/
 http://mirrors.163.com/gentoo/;
 LANG=en_US.utf8
 LC_ALL=en_US.utf8
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 MAKEOPTS=-j5
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --omit-dir-times --compress --force --whole-file --delete --stats
 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
 --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/local/portage /var/lib/layman/gentoo-zh
 /var/lib/layman/sublime-text
 SYNC=rsync://mirrors.163.com/gentoo-portage
 USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
 cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd
 dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome
 gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection
 jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg
 multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
 policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb
 spell sse sse2 sse3 ssl startup-notification svg systemd tcpd tiff truetype
 udev udisks unicode upower usb utf vim-syntax vorbis wxwidgets x264 xcb
 xinerama xml xv xvid zlib ABI_X86=64 ALSA_CARDS=ali5451 als4000 atiixp
 atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
 via82xx-modem ymfpci APACHE2_MODULES=authn_core authz_core socache_shmcb
 unixd actions alias auth_basic authn_alias authn_anon authn_dbm
 authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
 authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate
 dir disk_cache env expires ext_filter file_cache filter headers include
 info log_config logio mem_cache mime mime_magic negotiation rewrite
 setenvif speling status unique_id userdir usertrack vhost_alias
 CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon
 braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load
 memory rrdtool swap syslog DRACUT_MODULES=lvm ELIBC=glibc
 GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt
 gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
 rtcm104v2 rtcm104v3 sirf

[gentoo-user] How to appoint python version for a package

2014-04-02 Thread
Hi All

I just want emerge retext and run it by python3.3, how to set PYTHON_TAGETS
just for this package

If can't, tell me why python3.2 case problem below


return u'[%s-%s]' % (unichr(a), unichr(b))
^
SyntaxError: invalid syntax


Thank you


Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread
Thank you all

my retext version and package use

[I] app-editors/retext
 Available versions:  (~)4.0.1 (~)4.0.1-r1 4.0.1-r2 (~)4.1.0 (~)4.1.1
** {+spell LINGUAS=ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk
uk zh_CN zh_TW PYTHON_TARGETS=python2_7 python3_2 python3_3}
 Installed versions:  4.1.1(07:49:05 AM 04/03/2014)(-spell
LINGUAS=zh_CN -ca -cs -cy -da -de -es -et -eu -fr -it -ja -pl -pt -pt_BR
-ru -sk -uk -zh_TW PYTHON_TARGETS=python3_2 -python3_3)

run retext

retext
Traceback (most recent call last):
  File /usr/lib/python-exec/python3.2/retext, line 64, in module
main()
  File /usr/lib/python-exec/python3.2/retext, line 54, in main
window = ReTextWindow()
  File /usr/lib64/python3.2/site-packages/ReText/window.py, line 332, in
__init__
self.tabWidget.addTab(self.createTab(), self.tr('New document'))
  File /usr/lib64/python3.2/site-packages/ReText/window.py, line 432, in
createTab
self.markups.append(self.getMarkup(fileName))
  File /usr/lib64/python3.2/site-packages/ReText/window.py, line 478, in
getMarkup
return markupClass(filename=fileName)
  File /usr/lib64/python3.2/site-packages/markups/markdown.py, line 121,
in __init__
self.md = markdown.Markdown(self.extensions, output_format='html4')
  File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line 139,
in __init__
configs=kwargs.get('extension_configs', {}))
  File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line 166,
in registerExtensions
ext.extendMarkdown(self, globals())
  File /usr/lib64/python3.2/site-packages/markdown/extensions/extra.py,
line 48, in extendMarkdown
md.registerExtensions(extensions, self.config)
  File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line 164,
in registerExtensions
ext = self.build_extension(ext, configs.get(ext, []))
  File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line 198,
in build_extension
module = __import__(module_name, {}, {},
[module_name.rpartition('.')[0]])
  File
/usr/lib64/python3.2/site-packages/markdown/extensions/fenced_code.py,
line 80, in module
from .codehilite import CodeHilite, CodeHiliteExtension
  File
/usr/lib64/python3.2/site-packages/markdown/extensions/codehilite.py,
line 27, in module
from pygments import highlight
  File /usr/lib64/python3.2/site-packages/pygments/__init__.py, line 37,
in module
from pygments.util import StringIO, BytesIO
  File /usr/lib64/python3.2/site-packages/pygments/util.py, line 224
return u'[%s-%s]' % (unichr(a), unichr(b))
^
SyntaxError: invalid syntax

Is that mean retext-4.1.1 don't support python3_2 actually?


2014-04-02 23:23 GMT+08:00 Tom Wijsman tom...@gentoo.org:

 On Wed, 2 Apr 2014 20:29:41 +0800
 Wang Xuerui idontknw.w...@gmail.com wrote:

  2014-04-02 20:26 GMT+08:00 Wang Xuerui idontknw.w...@gmail.com:
   2014-04-02 19:56 GMT+08:00 林守磊 linxiu...@gmail.com:
   return u'[%s-%s]' % (unichr(a), unichr(b))
   [snip]
   so the program will work in Python 3.3 but not 3.2
 
  Oops, there is also unichr. Seems the program is Python 2.x only, in
  which case you can try using package.env (google it) to override the
  PYTHON_TARGETS variable (or really, any variable in the build
  environment). Reporting to upstream is also welcomed, though.

 Or he can provide the build log such that I can reproduce and fix it.

 --
 With kind regards,

 Tom Wijsman (TomWij)
 Gentoo Developer

 E-mail address  : tom...@gentoo.org
 GPG Public Key  : 6D34E57D
 GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D




[gentoo-user] my gnome-shell break

2014-04-02 Thread
Hi all
I use gnome-shell-3.10.4-r1

some problem happen when I upgrade from 3.8, such as  wall-picture
disappeared, word of clock break

attached my screenshotsPortage 2.2.10
(default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.19,
3.13.5-gentoo-shelley x86_64)
=
 System Settings
=
System uname:
Linux-3.13.5-gentoo-shelley-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@
_2.67GHz-with-gentoo-2.2
KiB Mem: 7970940 total,   4488632 free
KiB Swap:2097148 total,   2097148 free
Timestamp of tree: Wed, 02 Apr 2014 21:45:01 +
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:  4.2_p46
dev-java/java-config: 2.2.0
dev-lang/python:  2.6.9, 2.7.6, 3.2.5-r3, 3.3.5, 3.4.0
dev-util/cmake:   2.8.12.2
dev-util/pkgconfig:   0.28-r1
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf:   2.13, 2.69
sys-devel/automake:   1.11.6, 1.14.1
sys-devel/binutils:   2.24-r2
sys-devel/gcc:4.5.4, 4.8.2
sys-devel/gcc-config: 1.8
sys-devel/libtool:2.4.2
sys-devel/make:   4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:   2.19
Repositories: gentoo x-portage gentoo-zh sublime-text
ACCEPT_KEYWORDS=amd64 ~amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -pipe
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
unmerge-orphans userfetch userpriv usersandbox usersync
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://mirrors.aliyun.com/gentoo/
http://mirrors.163.com/gentoo/;
LANG=en_US.utf8
LC_ALL=en_US.utf8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j5
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage /var/lib/layman/gentoo-zh
/var/lib/layman/sublime-text
SYNC=rsync://mirrors.163.com/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd
dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome
gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection
jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg
multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb
spell sse sse2 sse3 ssl startup-notification svg systemd tcpd tiff truetype
udev udisks unicode upower usb utf vim-syntax vorbis wxwidgets x264 xcb
xinerama xml xv xvid zlib ABI_X86=64 ALSA_CARDS=ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci APACHE2_MODULES=authn_core authz_core socache_shmcb
unixd actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate
dir disk_cache env expires ext_filter file_cache filter headers include
info log_config logio mem_cache mime mime_magic negotiation rewrite
setenvif speling status unique_id userdir usertrack vhost_alias
CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon
braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load
memory rrdtool swap syslog DRACUT_MODULES=lvm 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 ublox ubx
GRUB_PLATFORMS=pc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LIBREOFFICE_EXTENSIONS=presenter-console
presenter-minimizer LINGUAS=zh_CN en OFFICE_IMPLEMENTATION=libreoffice
PHP_TARGETS=php5-5 PYTHON_SINGLE_TARGET=python2_7
PYTHON_TARGETS=python2_7 python3_2 RUBY_TARGETS=ruby20 USERLAND=GNU
VIDEO_CARDS=intel 

Re: [gentoo-user] How to appoint python version for a package

2014-04-02 Thread
@all

I found that is a bug from package pygments-1.6_p20140324, and I downgrade
to 1.6-r1. problem solved !

@Tom that mean pygments-1.6_p20140324 do not support python3_2, thank you a
lot

thank you all
regards


2014-04-03 9:02 GMT+08:00 林守磊 linxiu...@gmail.com:

 Thank you all

 my retext version and package use

 [I] app-editors/retext
  Available versions:  (~)4.0.1 (~)4.0.1-r1 4.0.1-r2 (~)4.1.0 (~)4.1.1
 ** {+spell LINGUAS=ca cs cy da de es et eu fr it ja pl pt pt_BR ru sk
 uk zh_CN zh_TW PYTHON_TARGETS=python2_7 python3_2 python3_3}
  Installed versions:  4.1.1(07:49:05 AM 04/03/2014)(-spell
 LINGUAS=zh_CN -ca -cs -cy -da -de -es -et -eu -fr -it -ja -pl -pt -pt_BR
 -ru -sk -uk -zh_TW PYTHON_TARGETS=python3_2 -python3_3)

 run retext

 retext
 Traceback (most recent call last):
   File /usr/lib/python-exec/python3.2/retext, line 64, in module
 main()
   File /usr/lib/python-exec/python3.2/retext, line 54, in main
 window = ReTextWindow()
   File /usr/lib64/python3.2/site-packages/ReText/window.py, line 332, in
 __init__
 self.tabWidget.addTab(self.createTab(), self.tr('New document'))
   File /usr/lib64/python3.2/site-packages/ReText/window.py, line 432, in
 createTab
 self.markups.append(self.getMarkup(fileName))
   File /usr/lib64/python3.2/site-packages/ReText/window.py, line 478, in
 getMarkup
 return markupClass(filename=fileName)
   File /usr/lib64/python3.2/site-packages/markups/markdown.py, line 121,
 in __init__
 self.md = markdown.Markdown(self.extensions, output_format='html4')
   File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line
 139, in __init__
 configs=kwargs.get('extension_configs', {}))
   File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line
 166, in registerExtensions
 ext.extendMarkdown(self, globals())
   File /usr/lib64/python3.2/site-packages/markdown/extensions/extra.py,
 line 48, in extendMarkdown
 md.registerExtensions(extensions, self.config)
   File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line
 164, in registerExtensions
 ext = self.build_extension(ext, configs.get(ext, []))
   File /usr/lib64/python3.2/site-packages/markdown/__init__.py, line
 198, in build_extension
 module = __import__(module_name, {}, {},
 [module_name.rpartition('.')[0]])
   File
 /usr/lib64/python3.2/site-packages/markdown/extensions/fenced_code.py,
 line 80, in module
 from .codehilite import CodeHilite, CodeHiliteExtension
   File
 /usr/lib64/python3.2/site-packages/markdown/extensions/codehilite.py,
 line 27, in module
 from pygments import highlight
   File /usr/lib64/python3.2/site-packages/pygments/__init__.py, line 37,
 in module
 from pygments.util import StringIO, BytesIO
   File /usr/lib64/python3.2/site-packages/pygments/util.py, line 224

 return u'[%s-%s]' % (unichr(a), unichr(b))
 ^
 SyntaxError: invalid syntax

 Is that mean retext-4.1.1 don't support python3_2 actually?


 2014-04-02 23:23 GMT+08:00 Tom Wijsman tom...@gentoo.org:

 On Wed, 2 Apr 2014 20:29:41 +0800
 Wang Xuerui idontknw.w...@gmail.com wrote:

  2014-04-02 20:26 GMT+08:00 Wang Xuerui idontknw.w...@gmail.com:
   2014-04-02 19:56 GMT+08:00 林守磊 linxiu...@gmail.com:
   return u'[%s-%s]' % (unichr(a), unichr(b))
   [snip]
   so the program will work in Python 3.3 but not 3.2
 
  Oops, there is also unichr. Seems the program is Python 2.x only, in
  which case you can try using package.env (google it) to override the
  PYTHON_TARGETS variable (or really, any variable in the build
  environment). Reporting to upstream is also welcomed, though.

 Or he can provide the build log such that I can reproduce and fix it.

 --
 With kind regards,

 Tom Wijsman (TomWij)
 Gentoo Developer

 E-mail address  : tom...@gentoo.org
 GPG Public Key  : 6D34E57D
 GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D





Re: [gentoo-user] initramfs with lvm

2012-04-21 Thread
yes,and I already boot up successfully

2012/4/21 Sebastian Pipping sp...@gentoo.org

 On 04/19/2012 03:56 AM, 林守磊 wrote:
  I get problom with my initramfs.:
 
  1. I used to boot my kernel with genkernel-initramfs, but I must
  genarate the initramfs again by genkernel. when I change the kernel
  vernsion.
  2. I have the '/' partition created with lvm, when I use genkernel to
  make the kernel and initramfs( with option --lvm ), the error block
  device /dev/mapper/vg-gentoo_root is not a valid root device show up.
  kernel version 3.2.2

 Do you have dolvm in the kernel boot options?  That's needed.

 Best,



 Sebastian




Re: [gentoo-user] initramfs with lvm

2012-04-20 Thread
I miss the USE device-mapper, that is my fault. now I install the dracut
completely.

Thank you!

2012/4/19 Canek Peláez Valdés can...@gmail.com

 2012/4/19 林守磊 linxiu...@gmail.com:
  yes. i already have lvm2 installed. The problom is dracut depend device
  mapper

 Which version of LVM2? Do you have device-mapper on USE in /etc/make.conf?

 Regards.

  在 2012-4-19 上午10:20,Canek Peláez Valdés can...@gmail.com写道:
 
 
 
  On Wed, Apr 18, 2012 at 8:56 PM, 林守磊 linxiu...@gmail.com wrote:
   I get problom with my initramfs.:
  
  [ snip ]
   3. I try to emerge dracut-018 to create my initramfs, but I use the
 USE
   DRACUT_MODULES=lvm, which try to emerge device-mapper and  conflict
   with
   lvm2. I am pullzed.
 
  You need LVM = 2.02.33 for dracut 018. Which version do you have?
  Also, do you have device-mapper enabled in /etc/make.conf?
 
  Regards.
  --
  Canek Peláez Valdés
  Posgrado en Ciencia e Ingeniería de la Computación
  Universidad Nacional Autónoma de México
 



 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México




Re: [gentoo-user] initramfs with lvm

2012-04-19 Thread
yes. i already have lvm2 installed. The problom is dracut depend device
mapper
在 2012-4-19 上午10:20,Canek Peláez Valdés can...@gmail.com写道:

 On Wed, Apr 18, 2012 at 8:56 PM, 林守磊 linxiu...@gmail.com wrote:
  I get problom with my initramfs.:
 
 [ snip ]
  3. I try to emerge dracut-018 to create my initramfs, but I use the USE
  DRACUT_MODULES=lvm, which try to emerge device-mapper and  conflict
with
  lvm2. I am pullzed.

 You need LVM = 2.02.33 for dracut 018. Which version do you have?
 Also, do you have device-mapper enabled in /etc/make.conf?

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México



[gentoo-user] Networkmanager is started when start a service !

2012-04-18 Thread
I installed wicd and Networkmanger(with gnome3). I get a problem that when
I start a service ,such as sshd, openvpn, it depend on net, which will case
the Networkmanager started.


thx for any help.
regards!


Re: [gentoo-user] Networkmanager is started when start a service !

2012-04-18 Thread
thanks for your help.

2012/4/18 Neil Bothwick n...@digimed.co.uk

 On Wed, 18 Apr 2012 14:13:00 +0800, 林守磊 wrote:

  I installed wicd and Networkmanger(with gnome3). I get a problem that
  when I start a service ,such as sshd, openvpn, it depend on net, which
  will case the Networkmanager started.

 The Wicd init script does not provide the net service, I assume the NM
 one does. If that is the case, the long term solution is to file a bug
 report to get this fixed. The short term workround would be to add

 rc_wicd_provide=net

 to /etc/rc.conf.


 --
 Neil Bothwick

 All generalizations are false, including this one.



[gentoo-user] initramfs with lvm

2012-04-18 Thread
I get problom with my initramfs.:

1. I used to boot my kernel with genkernel-initramfs, but I must genarate
the initramfs again by genkernel. when I change the kernel vernsion.
2. I have the '/' partition created with lvm, when I use genkernel to make
the kernel and initramfs( with option --lvm ), the error block device
/dev/mapper/vg-gentoo_root is not a valid root device show up. kernel
version 3.2.2
3. I try to emerge dracut-018 to create my initramfs, but I use the USE
DRACUT_MODULES=lvm, which try to emerge device-mapper and  conflict with
lvm2. I am pullzed.

thx in advance.


[gentoo-user] I get trouble with my bcm4312 wl card!

2012-03-18 Thread
Hi~

I drive my bcm4312 by module b43 and firmware , learned from
http://linuxwireless.org/en/users/Drivers/b43
It is drive successfully, but when I start my openvpn , it looks like that
the kernel is crashed.

The kernel log :

[13446.745188] sched: RT throttling activated
[15653.842657] tun: Universal TUN/TAP device driver, 1.6
[15653.842661] tun: (C) 1999-2004 Max Krasnyansky m...@qualcomm.com
[15653.843275] BUG: unable to handle kernel NULL pointer dereference
at   (null)
[15653.843282] IP: [815605c3] __dev_get_by_name+0x73/0xd0
[15653.843289] PGD 169d8067 PUD 78dcb067 PMD 0
[15653.843294] Oops:  [#1] SMP
[15653.843297] CPU 0
[15653.843299] Modules linked in: tun uvcvideo nvidia(P) b43 mac80211
i2c_i801 i2c_core intel_agp intel_gtt agpgart video bcma ssb ideapad_laptop
[last unloaded: uvcvideo]
[15653.843312]
[15653.843314] Pid: 9677, comm: openvpn Tainted: P   O
3.2.9-gentoo-Shelley #1 LENOVO   IdeaPad
Y450/KL1
[15653.843321] RIP: 0010:[815605c3]  [815605c3]
__dev_get_by_name+0x73/0xd0
[15653.843325] RSP: 0018:880016da3da8  EFLAGS: 00010246
[15653.843328] RAX:  RBX: 8800798f08d0 RCX:

[15653.843330] RDX: 880016da3e08 RSI:  RDI:
880016da3e08
[15653.84] RBP: 880016da3dc8 R08:  R09:

[15653.843335] R10:  R11: 0001 R12:
880078a83400
[15653.843338] R13: 880016da3e08 R14: 400454ca R15:
0028
[15653.843341] FS:  7f0db5c4f700() GS:88007f60()
knlGS:
[15653.843343] CS:  0010 DS:  ES:  CR0: 80050033
[15653.843346] CR2:  CR3: 169bf000 CR4:
000406f0
[15653.843348] DR0:  DR1:  DR2:

[15653.843351] DR3:  DR6: 0ff0 DR7:
0400
[15653.843354] Process openvpn (pid: 9677, threadinfo 880016da2000,
task 88007bb4bb00)
[15653.843356] Stack:
[15653.843357]  0028  880078a83400
72a50050
[15653.843362]  880016da3e88 a0014934 8800
880016da3e08
[15653.843367]    
8800798f08d0
[15653.843372] Call Trace:
[15653.843377]  [a0014934] __tun_chr_ioctl+0x154/0xc30 [tun]
[15653.843383]  [812b3ae1] ? inode_has_perm.clone.23+0x21/0x30
[15653.843387]  [812b646a] ? file_has_perm+0xba/0xc0
[15653.843391]  [a001544e] tun_chr_ioctl+0xe/0x10 [tun]
[15653.843395]  [81172b66] do_vfs_ioctl+0x96/0x540
[15653.843399]  [811730a1] sys_ioctl+0x91/0xa0
[15653.843403]  [816c487b] system_call_fastpath+0x16/0x1b
[15653.843405] Code: e8 04 48 01 c8 48 01 f0 48 39 fa 48 8d 0c 80 48 8d 34
48 75 db 69 f6 01 00 37 9e c1 ee 18 89 f6 48 c1 e6 03 48 8b 83 90 00 00 00
48 8b 1c 30 48 85 db 75 0c eb 32 66 90 48 8b 1b 48 85 db 74 28
[15653.843440] RIP  [815605c3] __dev_get_by_name+0x73/0xd0
[15653.843444]  RSP 880016da3da8
[15653.843446] CR2: 
[15653.843448] ---[ end trace 2d6c431c15c6c2fd ]---
[17540.211037] ieee80211 phy0: wlan0: No probe response from AP
00:27:19:33:2e:be after 500ms, disconnecting.
[17540.219257] cfg80211: Calling CRDA to update world regulatory domain


# lsmod
Module  Size  Used by
b43   171090  0
mac80211  184305  1 b43
bcma   20076  1 b43
ssb41892  1 b43
nvidia  12229445  43
intel_agp  10560  0
intel_gtt  14263  1 intel_agp
agpgart26135  3 nvidia,intel_agp,intel_gtt
i2c_i8017998  0
video  11043  0
uvcvideo   62879  0
i2c_core   18050  2 nvidia,i2c_i801
ideapad_laptop  8339  0


Thank you for any reply!