[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 Neil Bothwick
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.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Building the nvidia and ati proprietary drivers against the latest kernel.git

2012-04-18 Thread Stefan G. Weichinger
Am 18.04.2012 04:16, schrieb Pandu Poluan:

 [I'm falling asleep at the keyboard now and I don't want to give you
 bogus information, so I'll be back tomorrow with the rest of it.]


 
 Bah! A cliffhanger!
 
 *twiddles thumb waiting for Walt to wake up*

Ah, yeah, looking forward as well ;-)

Greets, Stefan




Re: [gentoo-user] Re: CORRECTION - Problem with eix-REMOTE update...

2012-04-18 Thread Tanstaafl

On 2012-04-17 12:21 PM, Tanstaafl tansta...@libertytrek.org wrote:

On 2012-04-17 1:41 AM, Vaeth va...@mathematik.uni-wuerzburg.de wrote:

So if it is the differing versions problem, the solution is to
upgrade to the most recent (~x86) version of eix, currently eix-0.25.3:
echo app-portage/eix /etc/portage/package.accept_keywords  emerge eix


Is this safe to do while remaining on the stable version of portage?


Anyone?



Re: [gentoo-user] Re: Building the nvidia and ati proprietary drivers against the latest kernel.git

2012-04-18 Thread Stefan G. Weichinger
Am 18.04.2012 12:08, schrieb Stefan G. Weichinger:
 Am 18.04.2012 04:16, schrieb Pandu Poluan:
 
 [I'm falling asleep at the keyboard now and I don't want to give you
 bogus information, so I'll be back tomorrow with the rest of it.]



 Bah! A cliffhanger!

 *twiddles thumb waiting for Walt to wake up*
 
 Ah, yeah, looking forward as well ;-)

I don't want to spoil   but I got it working already :-P

Still looking forward, Stefan




Re: [gentoo-user] Re: CORRECTION - Problem with eix-REMOTE update...

2012-04-18 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.04.2012 12:32, Tanstaafl wrote:
 On 2012-04-17 12:21 PM, Tanstaafl tansta...@libertytrek.org
 wrote:
 On 2012-04-17 1:41 AM, Vaeth va...@mathematik.uni-wuerzburg.de
 wrote:
 So if it is the differing versions problem, the solution is to 
 upgrade to the most recent (~x86) version of eix, currently
 eix-0.25.3: echo app-portage/eix
 /etc/portage/package.accept_keywords  emerge eix
 
 Is this safe to do while remaining on the stable version of
 portage?
 
 Anyone?
 

eix-0.25.3 works great for me (incl. eix-remote) - if that's what
you're asking.. ;)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjqClAAoJEJwwOFaNFkYcpgMIAMh8zov0obf6sOAiJfB0gkSW
JAOQRLOW9p+35nacMLR5RXI/h2EuJc2YDicdQNHLMHUwOHhrRJ9W60f4i2V4s2im
EHSNrDsB65jZGtmqommEmauMJn91UQ6F9b43/nOHCXUi/pPhBkEl7eFPQrbNzkDm
gUJJ2Nb7oy0+32eMyAby4GjLcZ84KXFaG7o7QlwxISSi43B2BORhySuP/qf4HZ7w
pwUUL/iAspXHUAJJIA0OjNIgXrXZhaFNxRrKoabbs6PKIF9DMsyJLRput1tMQrnw
VnLsAwOakf6Gf99jfUp+Kiy+K8bKMwkfE+NSRQ3L7oGSFVThIWhVzMnqiQVmcQA=
=u0fK
-END PGP SIGNATURE-



Re: [gentoo-user] Re: CORRECTION - Problem with eix-REMOTE update...

2012-04-18 Thread Tanstaafl
On 2012-04-18 7:08 AM, Hinnerk van Bruinehsen 
h.v.bruineh...@fu-berlin.de wrote:

On 18.04.2012 12:32, Tanstaafl wrote:

On 2012-04-17 12:21 PM, Tanstaafl wrote:

On 2012-04-17 1:41 AM, Vaeth wrote:

So if it is the differing versions problem, the solution is to
upgrade to the most recent (~x86) version of eix, currently
eix-0.25.3: echo app-portage/eix

/etc/portage/package.accept_keywords  emerge eix



Is this safe to do while remaining on the stable version of
portage?



Anyone?



eix-0.25.3 works great for me (incl. eix-remote) - if that's what
you're asking.. ;)


No... I thought my question was very precise:

Is updating eix to an UNSTABLE version ok to do while leaving portage at 
the STABLE version?




Re: [gentoo-user] Re: CORRECTION - Problem with eix-REMOTE update...

2012-04-18 Thread Alex Schuster
Tanstaafl writes:

 On 2012-04-17 12:21 PM, Tanstaafl tansta...@libertytrek.org wrote:
  On 2012-04-17 1:41 AM, Vaeth va...@mathematik.uni-wuerzburg.de
  wrote:
  So if it is the differing versions problem, the solution is to
  upgrade to the most recent (~x86) version of eix, currently
  eix-0.25.3: echo app-portage/eix
  /etc/portage/package.accept_keywords  emerge eix
 
  Is this safe to do while remaining on the stable version of portage?
 
 Anyone?

I'm really pretty sure this is safe. I I don't know why it shouldn't.

Wonko



[gentoo-user] Re: Building the nvidia and ati proprietary drivers against the latest kernel.git

2012-04-18 Thread walt
On 04/18/2012 03:46 AM, Stefan G. Weichinger wrote:
 Am 18.04.2012 12:08, schrieb Stefan G. Weichinger:
 Am 18.04.2012 04:16, schrieb Pandu Poluan:

 [I'm falling asleep at the keyboard now and I don't want to give you
 bogus information, so I'll be back tomorrow with the rest of it.]



 Bah! A cliffhanger!

 *twiddles thumb waiting for Walt to wake up*

I'm back.  Why do I feel just as crappy now as I did last night?  Must
be the cheap wine, I guess.

 Ah, yeah, looking forward as well ;-)
 
 I don't want to spoil   but I got it working already :-P

Oh, go ahead and spoil.  I'll forgive you eventually.

Hey, I just pulled from Linus again and emerged nvidia-drivers and I see
that the test for kernel version no longer fails.  The rest of the fix is
trivial now:

diff -ur kernel/nv-linux.h nvidia/nv-linux.h
--- kernel/nv-linux.h   2012-04-05 21:37:05.0 -0700
+++ nvidia/nv-linux.h   2012-04-12 06:58:31.0 -0700
@@ -111,7 +111,6 @@
 #include linux/timer.h
 
 #include asm/div64.h  /* do_div() */
-#include asm/system.h /* cli, sli, save_flags */
 #include asm/io.h /* ioremap, virt_to_phys*/
 #include asm/uaccess.h/* access_ok*/
 #include asm/page.h   /* PAGE_OFFSET  */
@@ -1204,7 +1203,6 @@
 #endif
 
 #if !defined(KERNEL_2_4)  !defined(NV_PM_MESSAGE_T_PRESENT)
-typedef u32 pm_message_t;
 #endif
 
 #if defined(KERNEL_2_4)  (defined(CONFIG_APM) || defined(CONFIG_APM_MODULE))

This works because a recent kernel commit removed system.h completely and now
the #include system.h is not needed.  Also, any time you see a previously
defined error you can try to work around it by deleting the #include that
introduced the previous definition in the first place.  May work, may not,
but it's always worth trying.  This time it worked :)

Hope I didn't forget anything...
 





[gentoo-user]It comes problem when emerge fcitx

2012-04-18 Thread 赵佳晖
Hello everyone, i just want to install the fcitx in gentoo , but when i
emerge fcitx , it comes the problem, the message are bleow:

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N~] app-i18n/fcitx-4.2.1  USE=cairo dbus gtk pango -debug
-gtk3 -opencc -qt -table 557 kB

Total: 1 package (1 new), Size of downloads: 557 kB

The following keyword changes are necessary to proceed:
#required by fcitx (argument)
=app-i18n/fcitx-4.2.1 ~x86

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT).

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

How did this happen? i have tried to use --autounmask-write , but it didn't
work, Can anyone help me ?
-- 
好好学习,天天向上!!!


[gentoo-user] e-file Forbidden error

2012-04-18 Thread Daniel.
I got an 403 error while trying to run e-file...

from sh -x $(which e-file) /usr/bin/dig I got
curl -s 
'http://www.portagefilelist.de/index.php/Special:PFLQuery2?file=/usr/bin/digsearchfile=lookuplookup=filetxt'
Which gives me
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
htmlhead
title403 Forbidden/title
/headbody
h1Forbidden/h1
pYou don't have permission to access /index.php/Special:PFLQuery2
on this server./p
hr
addressApache Server at old.portagefilelist.de Port 80/address

Output of emerge --info pfl: http://sprunge.us/SXaV


[]'s
-- 
Do or do not. There is no try
  Yoda Master



Re: [gentoo-user] cpu sched for bulldozer

2012-04-18 Thread Volker Armin Hemmann
Am Dienstag, 17. April 2012, 21:20:42 schrieb Andrey Moshbear:
 Which cpu scheduler would work best for AMD Bulldozer? The two-level
 (4 macro-cores * 2 semi-cores) system looks like BFS wouldn't work
 efficiently on it.
 

the same that works best for everybody else. Default.

bfs only works great for fanboys.

-- 
#163933



Re: [gentoo-user]It comes problem when emerge fcitx

2012-04-18 Thread Dale
赵佳晖 wrote:
 Hello everyone, i just want to install the fcitx in gentoo , but when i
 emerge fcitx , it comes the problem, the message are bleow:
  
 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N~] app-i18n/fcitx-4.2.1  USE=cairo dbus gtk pango -debug
 -gtk3 -opencc -qt -table 557 kB
 
 Total: 1 package (1 new), Size of downloads: 557 kB
 
 The following keyword changes are necessary to proceed:
 #required by fcitx (argument)
 =app-i18n/fcitx-4.2.1 ~x86
 
 Use --autounmask-write to write changes to config files (honoring
 CONFIG_PROTECT).
 
  * IMPORTANT: 6 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 How did this happen? i have tried to use --autounmask-write , but it
 didn't work, Can anyone help me ?
 -- 
 好好学习,天天向上!!!


When you ran it with autounmask-write, did you update the config files?
 It looks to me like fcitx is keyworded.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user]It comes problem when emerge fcitx

2012-04-18 Thread Yohan Pereira
Hi,

Did you run etc-update after that ?

--

- Yohan Pereira


Re: [gentoo-user] USB sticks now mounting on /run/media instead of /media ?

2012-04-18 Thread Claudio Roberto França Pereira
How do you mount them automatically? Isn't there a middle-man software
that mounts removable drives? I'm pretty sure I never had a drive
automount without kde or gnome managing them.



Re: [gentoo-user] Re: Building the nvidia and ati proprietary drivers against the latest kernel.git

2012-04-18 Thread Stefan G. Weichinger
Am 2012-04-18 15:25, schrieb walt:

 Hey, I just pulled from Linus again and emerged nvidia-drivers and I see
 that the test for kernel version no longer fails.  The rest of the fix is
 trivial now:
 
 diff -ur kernel/nv-linux.h nvidia/nv-linux.h
 --- kernel/nv-linux.h   2012-04-05 21:37:05.0 -0700
 +++ nvidia/nv-linux.h   2012-04-12 06:58:31.0 -0700
 @@ -111,7 +111,6 @@
  #include linux/timer.h
  
  #include asm/div64.h  /* do_div() */
 -#include asm/system.h /* cli, sli, save_flags */
  #include asm/io.h /* ioremap, virt_to_phys*/
  #include asm/uaccess.h/* access_ok*/
  #include asm/page.h   /* PAGE_OFFSET  */
 @@ -1204,7 +1203,6 @@
  #endif
  
  #if !defined(KERNEL_2_4)  !defined(NV_PM_MESSAGE_T_PRESENT)
 -typedef u32 pm_message_t;
  #endif
  
  #if defined(KERNEL_2_4)  (defined(CONFIG_APM) || 
 defined(CONFIG_APM_MODULE))
 
 This works because a recent kernel commit removed system.h completely and now
 the #include system.h is not needed.  Also, any time you see a previously
 defined error you can try to work around it by deleting the #include that
 introduced the previous definition in the first place.  May work, may not,
 but it's always worth trying.  This time it worked :)

Yes, my fix was nearly the same.

I removed the same include as you in nv-linux.h, additionally one in
conftest.sh (also including system.h).

Worked ok on my ~amd64 with git-sources-3.4.0-rc3

now for the vmware-modules ;-)

Stefan




[gentoo-user] Re: USB sticks now mounting on /run/media instead of /media ?

2012-04-18 Thread walt
On 04/18/2012 10:04 AM, Claudio Roberto França Pereira wrote:
 How do you mount them automatically? Isn't there a middle-man software
 that mounts removable drives? I'm pretty sure I never had a drive
 automount without kde or gnome managing them.

I forgot to check on this because I was distracted by other problems :)

Yes, I think it must be a gnome thing because the USB sticks are
mounted only when I startx, not earlier.  I'll grep through some
stuff and try to find where it comes from.




[gentoo-user] Re: It comes problem when emerge fcitx

2012-04-18 Thread walt
On 04/18/2012 07:00 AM, 赵佳晖 wrote:
 Hello everyone, i just want to install the fcitx in gentoo , but when i 
 emerge fcitx , it comes the problem, the message are bleow:
  
 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N~] app-i18n/fcitx-4.2.1  USE=cairo dbus gtk pango -debug -gtk3 
 -opencc -qt -table 557 kB
 
 Total: 1 package (1 new), Size of downloads: 557 kB
 
 The following keyword changes are necessary to proceed:
 #required by fcitx (argument)
 =app-i18n/fcitx-4.2.1 ~x86  -  This is error message

Portage is telling you to change the KEYWORD for the fcitx package before it
will agree to proceed with the installation.  This is very confusing and
easy to miss, unfortunately.

The reason for KEYWORD change is this:

#grep KEY /usr/portage/app-i18n/fcitx/*
/usr/portage/app-i18n/fcitx/fcitx-3.6.3.ebuild:KEYWORDS=~amd64 ~ppc ~x86
/usr/portage/app-i18n/fcitx/fcitx-3.6.4.ebuild:KEYWORDS=~amd64 ~ppc ~x86
/usr/portage/app-i18n/fcitx/fcitx-4.0.0.ebuild:KEYWORDS=~amd64 ~ppc ~x86
/usr/portage/app-i18n/fcitx/fcitx-4.0.1.ebuild:KEYWORDS=~amd64 ~ppc ~x86
/usr/portage/app-i18n/fcitx/fcitx-4.2.0-r2.ebuild:KEYWORDS=~amd64 ~x86
/usr/portage/app-i18n/fcitx/fcitx-4.2.1.ebuild:KEYWORDS=amd64 ~x86

You can see from the above that there is no stable (x86) package for fcitx, so
if you want to install it you must add it to /etc/portage/package.keywords
like this:

#cat /etc/portage/package.keywords 
app-i18n/xcitx  ~x86-
app-office/libreoffice  -~amd64
dev-libs/icu-~amd64

The minus sign in front of ~amd64 means that I want the stable (amd64) version
of libreoffice and icu, not the unstable (~amd64) version.  You want the 
opposite,
so don't add the minus sign for xcitx :)




Re: [gentoo-user]It comes problem when emerge fcitx

2012-04-18 Thread Michael Scherer

the message says
=app-i18n/fcitx-4.2.1 ~x86
which means that the package is masked for x86
if you really need to install it, unmasking the
package should work

michael

--
Michael Scherer
Univ.klinik f. Psychiatrie
email: michael.sche...@meduniwien.ac.at
phone: +43 6991 941 22 54

- Original Message - 
From: Dale rdalek1...@gmail.com

To: gentoo-user@lists.gentoo.org
Sent: Wednesday, 18 April, 2012 16:23
Subject: Re: [gentoo-user]It comes problem when emerge fcitx



赵佳晖 wrote:

Hello everyone, i just want to install the fcitx in gentoo , but when i
emerge fcitx , it comes the problem, the message are bleow:

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N~] app-i18n/fcitx-4.2.1  USE=cairo dbus gtk pango -debug
-gtk3 -opencc -qt -table 557 kB

Total: 1 package (1 new), Size of downloads: 557 kB

The following keyword changes are necessary to proceed:
#required by fcitx (argument)
=app-i18n/fcitx-4.2.1 ~x86

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT).

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

How did this happen? i have tried to use --autounmask-write , but it
didn't work, Can anyone help me ?
--
好好学习,天天向上!!!



When you ran it with autounmask-write, did you update the config files?
It looks to me like fcitx is keyworded.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n







[gentoo-user] problem with Bluetooth / BlueZ

2012-04-18 Thread Steffen Becker

Hello,

at first: my english is not very well, so i hope you understand me.
And I'm new to gentoo (new to linux at all), so I don't have a good 
comprehension of this OS (and that's why I write this prose, because I 
don't know which information are important).


My problem is about Bluetooth/BlueZ and sadly i found out that not many 
gentoo-users are familiar with that - if someone of you is: please read 
the following:


What's my problem:
I have two gentoo-PCs and a Bluetooth-3.0-Dongle at each PC.
Some weeks ago, BlueZ-4.98 was installed and I had no problems to 
connect my devices with rfcomm-command and with pand-command. But 
then I wanted to sniff this connection with an air sniffer. For that I 
found out, that sniffing only works if I enable the so called SSP Debug 
Mode. But Enabling SSP Debug Mode is no default feature of BlueZ, so 
I got a patch from the BlueZ-developer and i installed it. At the same 
time BlueZ-4.99 was released and I also installed that. With that patch 
I was able to sniff my rfomm-connection.

BUT since that I am not able to connect my devices via pand-command!

Maybe the installation of BlueZ4.99 or patch changed some 
bluetooth-configuration? I don't know. But if I run hcidump and try to 
connect via pand, I get the message, that there is a security block.


Hope anyone of you know what to do.

In addition: I think I have to change my security-configuration, but I'm 
not familiar with the syntax (and I hope I picked the right file to change):

http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/include/net/bluetooth/bluetooth.h#L60

In attachment you find the two hcidump-messages from both devices while 
I tried to connect via pand.


And at last, here is the way I try to connect my devices:
PC2 # sdptool add NAP
PC2 # pand -s -r NAP -M
PC1 # pand -c bdaddr

Best regards,
Steffen
# hcidump -i hci0
HCI sniffer - Bluetooth packet analyzer ver 2.3
device: hci0 snap_len: 1028 filter: 0x
 HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:02:72:24:02:04 ptype 0xcc18 rswitch 0x01 clkoffset 0x
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 
 HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
 HCI Event: Role Change (0x12) plen 8
status 0x00 bdaddr 00:02:72:24:02:04 role 0x01
Role: Slave
 HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 12 bdaddr 00:02:72:24:02:04 type ACL encrypt 0x00
 HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 12
 HCI Event: Max Slots Change (0x1b) plen 3
handle 12 slots 5
 HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
 HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 12
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x87
 HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3
handle 12 page 1
 HCI Event: Command Status (0x0f) plen 4
Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
 HCI Event: Read Remote Extended Features (0x23) plen 13
status 0x00 handle 12 page 1 max 1
Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:02:72:24:02:04 mode 2 clkoffset 0x
 HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
 HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:02:72:24:02:04 name 'bluetooth2-0'
 HCI Command: Authentication Requested (0x01|0x0011) plen 2
handle 12
 HCI Event: Command Status (0x0f) plen 4
Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
 HCI Event: Link Key Request (0x17) plen 6
bdaddr 00:02:72:24:02:04
 HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
bdaddr 00:02:72:24:02:04
 HCI Event: Command Complete (0x0e) plen 10
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr 00:02:72:24:02:04
 HCI Event: IO Capability Request (0x31) plen 6
bdaddr 00:02:72:24:02:04
 HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
bdaddr 00:02:72:24:02:04 capability 0x03 oob 0x00 auth 0x00
Capability: NoInputNoOutput (OOB data not present)
Authentication: No Bonding (No MITM Protection)
 HCI Event: Command Complete (0x0e) plen 10
IO Capability Request Reply (0x01|0x002b) ncmd 1
status 0x00 bdaddr 00:02:72:24:02:04
 HCI Event: IO Capability Response (0x32) plen 9
bdaddr 00:02:72:24:02:04 capability 0x03 oob 0x00 auth 0x00
Capability: NoInputNoOutput (OOB data not present)
Authentication: No Bonding (No MITM Protection)
 HCI Event: User Confirmation Request (0x33) plen 10
bdaddr 00:02:72:24:02:04 passkey 841201
 HCI Command: User Confirmation Request Reply (0x01|0x002c) plen 6
bdaddr 00:02:72:24:02:04
 HCI Event: Command Complete (0x0e) plen 10
User Confirmation Request Reply (0x01|0x002c) ncmd 1
status 0x00 bdaddr 00:02:72:24:02:04

Re: [gentoo-user] USB sticks now mounting on /run/media instead of /media ?

2012-04-18 Thread Michael Scherer

a possibility could be to get the label or UUID of the device.
blkid will give you a list to find out.
you could then enter the device in fstab with either LABEL=label or
UUID=uuid, bypassing the need to use /dev/something, which for USB-disks
might change from one system start to the next

hope I understood your problem correctly

michael

--
Michael Scherer
Univ.klinik f. Psychiatrie
email: michael.sche...@meduniwien.ac.at
phone: +43 6991 941 22 54

- Original Message - 
From: Claudio Roberto França Pereira spide...@gmail.com

To: gentoo-user@lists.gentoo.org
Sent: Wednesday, 18 April, 2012 19:04
Subject: Re: [gentoo-user] USB sticks now mounting on /run/media instead of 
/media ?



How do you mount them automatically? Isn't there a middle-man software
that mounts removable drives? I'm pretty sure I never had a drive
automount without kde or gnome managing them.







Re: [gentoo-user] kwin opengl compositing w/ nouveau?

2012-04-18 Thread Doug Hunley
On Tue, Apr 17, 2012 at 22:50, Joshua Murphy poiso...@gmail.com wrote:
 radeon side of the coin here, and with an intel system or two in the
 past. The DRM related drivers seem to be prone to misbehaving when
 they're not configured as modules. I haven't managed to sort out why,
 so you may see if a change there helps, though it'll likely cause mode
 changes throughout the booting process.

That's um ok. I guess I can try that

 The second thing that comes to
 mind is that you don't include any relevant entries from glxinfo
 (glxinfo | grep ender) or Xorg.?.log (notably anything flagged as an
 error, 'grep EE /var/log/Xorg.0.log' grabs that, plus a bit of cruft),
 notably from a session where things aren't working properly, as the
 majority of issues trace back to direct rendering being disabled due
 to some incompatibility that gets noted in the log (often in
 delightfully cryptic prose).

I'll do this and get back w/ you. Might be a few days, as I rarely
have occasion to 'startx' on this box

thx!

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3



[gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Walter Dnes
  I started a thread a while ago about looking for an accelerated video
card.  I went and got an ASUS EN210 Silent PCIe card and followed the
instructions at the Gentoo Nouveau wiki.  I have not been able to get X
running yet.  Trying to launch X with startx blanks the screen, and I
can't get it back.  Note that the machine does *NOT* lock up, rather the
video gets disabled until I reboot.  I can ssh into the machine.  It
appears to be working fine.  If I...

* start a root text console in TTY8
* switch to TTY9
* startx

  The screen goes blank and I can't get graphics or GUI, no matter what
I do.  I can ssh in from another machine and things look OK.  As a
matter of fact, I can {CTRL-ALT-F8} and blindly issue the command
reboot or halt -p, and it gets executed.  The attached Xorg.log file
shows nothing wrong.  Xorg -configure does generate an xorg.conf.new
file, but screams about...


(EE) [drm] No DRICreatePCIBusID symbol
Number of created screens does not match number of detected devices.
  Configuration failed.
Server terminated with error (2). Closing log file.


  The Gentoo Nouveau wiki says that message comes either from disabling
DRI (which I didn't do) or from the wrong opengl.  I only have the xorg
version.  Any ideas?  Do the proprietary Nvidia drivers work with kernel
3.2.12?  I'm running with mdev instead of udev.  Would that make a
difference?

-- 
Walter Dnes waltd...@waltdnes.org


Xorg.0.log.gz
Description: Binary data


Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.
On Apr 18, 2012 5:09 PM, Walter Dnes waltd...@waltdnes.org wrote:

  I started a thread a while ago about looking for an accelerated video
 card.  I went and got an ASUS EN210 Silent PCIe card and followed the
 instructions at the Gentoo Nouveau wiki.  I have not been able to get X
 running yet.  Trying to launch X with startx blanks the screen, and I
 can't get it back.  Note that the machine does *NOT* lock up, rather the
 video gets disabled until I reboot.  I can ssh into the machine.  It
 appears to be working fine.  If I...

 * start a root text console in TTY8
 * switch to TTY9
 * startx

  The screen goes blank and I can't get graphics or GUI, no matter what
 I do.  I can ssh in from another machine and things look OK.  As a
 matter of fact, I can {CTRL-ALT-F8} and blindly issue the command
 reboot or halt -p, and it gets executed.  The attached Xorg.log file
 shows nothing wrong.  Xorg -configure does generate an xorg.conf.new
 file, but screams about...

 
 (EE) [drm] No DRICreatePCIBusID symbol
 Number of created screens does not match number of detected devices.
  Configuration failed.
 Server terminated with error (2). Closing log file.
 

  The Gentoo Nouveau wiki says that message comes either from disabling
 DRI (which I didn't do) or from the wrong opengl.  I only have the xorg
 version.  Any ideas?  Do the proprietary Nvidia drivers work with kernel
 3.2.12?  I'm running with mdev instead of udev.  Would that make a
 difference?

 --
 Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Walter Dnes
On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
 Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
trailer G).  Mplayer totally locks up the machine as soon as I start
it.  I have to resort to Magic-Sysrq to bail out without forcing a major
fsck.  Here are the card details from lspci -v...

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev 
a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fb00 (32-bit, non-prefetchable) [size=16M]
Memory at b000 (64-bit, prefetchable) [size=256M]
Memory at ce00 (64-bit, prefetchable) [size=32M]
I/O ports at df00 [size=128]
[virtual] Expansion ROM at c000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 ?
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting ?
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 
?
Kernel driver in use: nvidia
Kernel modules: nvidia

01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev 
a1)
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

-- 
Walter Dnes waltd...@waltdnes.org


Xorg.0.log.gz
Description: Binary data
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/lib/xorg/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/OTF/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/100dpi/
FontPath /usr/share/fonts/75dpi/
EndSection

Section Module
Load  glx
Load  extmod
Load  record
Load  dbe
Disable dri
  Disable Glcore
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
Identifier  Card0
Driver  nvidia
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection



[gentoo-user] Re: Nouveau driver turns off video when I start X

2012-04-18 Thread walt
On 04/18/2012 02:21 PM, Walter Dnes wrote:
 Do the proprietary Nvidia drivers work with kernel 3.2.12? 

Yes, though it may differ depending on which version of the drivers you
need.  If your card needs the very recent drivers (which I suspect it does)
then you should have no problems.

 I'm running with mdev instead of udev.  Would that make a difference?

That one I can't answer, sorry.





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.



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Mark Knecht
On Wed, Apr 18, 2012 at 6:27 PM, Walter Dnes waltd...@waltdnes.org wrote:
 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
 Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

Presumably this all works perfectly with the closed source driver?
I've never seen problems like these on my machine which almost all run
NVidia chips. I haven't tried this Open Source in years myself.

- Mark



Re: [gentoo-user] Re: Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
On Wed, Apr 18, 2012 at 9:32 PM, walt w41...@gmail.com wrote:
 On 04/18/2012 02:21 PM, Walter Dnes wrote:
 Do the proprietary Nvidia drivers work with kernel 3.2.12?

 Yes, though it may differ depending on which version of the drivers you
 need.  If your card needs the very recent drivers (which I suspect it does)
 then you should have no problems.

The 210 chipset has been out for a long time. Been using it since for years.


 I'm running with mdev instead of udev.  Would that make a difference?

 That one I can't answer, sorry.






-- 
:wq



[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.


Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
On Wed, Apr 18, 2012 at 9:27 PM, Walter Dnes waltd...@waltdnes.org wrote:
 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
 Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] 
 (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 5
        Memory at fb00 (32-bit, non-prefetchable) [size=16M]
        Memory at b000 (64-bit, prefetchable) [size=256M]
        Memory at ce00 (64-bit, prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at c000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 ?
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting ?
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 
 ?
        Kernel driver in use: nvidia
        Kernel modules: nvidia

 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller 
 (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

Hm. Things to try.

eselect opengel set nvidia
eselect opencl set nvidia

revdep-rebuild # mplayer locking up the entire system is unusual, to
say the least.

The nvidia-drivers build should have screamed bloody murder if you had
any incompatible kernel options set (or required ones missing).

-- 
:wq



Re: [gentoo-user] initramfs with lvm

2012-04-18 Thread Canek Peláez Valdés
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



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Alecks Gates
Wait a second, was just scimming this and saw you mention blue faces.  I
have a 210 using the latest binary drivers from nvidia and it seems like
all red color shows up as blue in the flash player (and only flash
player).  It had never happened any time previously, and this was a new
install.

Frankly I have no idea how to fix it, but I mostly ignored it until now
because of html5 videos (where the problem doesn't occur).

Not sure I'll be able to reply with details after this but I thought I'd
mention it

Alecks Gates, sent from Android on an HTC G2
On Apr 18, 2012 9:28 PM, Walter Dnes waltd...@waltdnes.org wrote:

 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
  Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210]
 (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fb00 (32-bit, non-prefetchable) [size=16M]
Memory at b000 (64-bit, prefetchable) [size=256M]
Memory at ce00 (64-bit, prefetchable) [size=32M]
I/O ports at df00 [size=128]
[virtual] Expansion ROM at c000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 ?
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting ?
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1
 Len=024 ?
Kernel driver in use: nvidia
Kernel modules: nvidia

 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller
 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

 --
 Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
Sounds like a bad color transform in Flash or the video driver. Maybe
the U and V channels are being swapped. No idea why, though.

On Wed, Apr 18, 2012 at 10:47 PM, Alecks Gates aleck...@gmail.com wrote:
 Wait a second, was just scimming this and saw you mention blue faces.  I
 have a 210 using the latest binary drivers from nvidia and it seems like all
 red color shows up as blue in the flash player (and only flash player).  It
 had never happened any time previously, and this was a new install.

 Frankly I have no idea how to fix it, but I mostly ignored it until now
 because of html5 videos (where the problem doesn't occur).

 Not sure I'll be able to reply with details after this but I thought I'd
 mention it

 Alecks Gates, sent from Android on an HTC G2

 On Apr 18, 2012 9:28 PM, Walter Dnes waltd...@waltdnes.org wrote:

 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
  Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210]
 (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 5
        Memory at fb00 (32-bit, non-prefetchable) [size=16M]
        Memory at b000 (64-bit, prefetchable) [size=256M]
        Memory at ce00 (64-bit, prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at c000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 ?
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting ?
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1
 Len=024 ?
        Kernel driver in use: nvidia
        Kernel modules: nvidia

 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller
 (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

 --
 Walter Dnes waltd...@waltdnes.org



-- 
:wq