Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Yohan Pereira
On 26/02/13 at 08:18pm, Joseph wrote:
> I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6
> 
> but I've noticed it freezes my screen once a day or ever second day.
> Mouse is moving but no icon is responding, nor can I use the keyboard (all 
> frozen).
> 
> I can login to the system over ssh.  I've tried to restart/zap "xdm" it 
> doesn't help.
> What else can I do to restart "X"?
> 
> -- 
> Joseph

You can try killing the process named /usr/bin/X. I was in a similar
situation once and this worked, don't know how safe it is.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain



Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Helmut Jarausch

On 02/27/2013 04:18:51 AM, Joseph wrote:

I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6

but I've noticed it freezes my screen once a day or ever second day.
Mouse is moving but no icon is responding, nor can I use the keyboard  
(all frozen).


I can login to the system over ssh.  I've tried to restart/zap "xdm"  
it doesn't help.

What else can I do to restart "X"?



You can use the SysRq Key (I use )
and then RE

You might have a look at http://en.wikipedia.org/wiki/Magic_SysRq_key

Helmut.



Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Alex Schuster

Helmut Jarausch writes:


On 02/27/2013 04:18:51 AM, Joseph wrote:



I can login to the system over ssh.  I've tried to restart/zap
"xdm" it doesn't help. What else can I do to restart "X"?


You can use the SysRq Key (I use ) and then RE


R is okay, this resets the keyboard, and often helped me in the past to 
get my keyboard back.


But E would kills all processes except init. Use K instead, this only 
kills processes on the current virtual console.


Alex



Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS

2013-02-27 Thread shawn wilson
I still haven't found a solution

On Tue, Feb 26, 2013 at 5:57 PM, Neil Bothwick  wrote:
> On Tue, 26 Feb 2013 17:24:29 -0500, shawn wilson wrote:
>

> The wiki page says to use / to search for each option in make menuconfig.
> That shows the option and its dependencies, for example /USER_NS here
> gives
>
> Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CONVERTED [=n]
>
> So the option won't show up here because I haven't enabled
> UIDGID_CONVERTED.
>

I forgot about the internal menuconfig search feature. After googling
UIDGID_CONVERTED I found this:
http://forums.gentoo.org/viewtopic-p-7215718.html

Apparently, I'm not the only one with this issue.

So, I searched for UIDGID_CONVERTED in menuconfig and only see it as a
bool and no dependency. However, if I:
echo "CONFIG_UIDGID_CONVERTED=y" >> .config
and then make menuconfig, this goes away as well - so I'm guessing
this has dependencies I haven't found. Though, I grep that option in
the kernel source tree and I only see two things that are documented
as "depends on" it and the listing for the option - I see nothing that
uses it.



Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS

2013-02-27 Thread shawn wilson
On Wed, Feb 27, 2013 at 5:52 AM, shawn wilson  wrote:

> So, I searched for UIDGID_CONVERTED in menuconfig and only see it as a
> bool and no dependency. However, if I:
> echo "CONFIG_UIDGID_CONVERTED=y" >> .config
> and then make menuconfig, this goes away as well - so I'm guessing
> this has dependencies I haven't found. Though, I grep that option in
> the kernel source tree and I only see two things that are documented
> as "depends on" it and the listing for the option - I see nothing that
> uses it.

Apparently 3.8 came out 2/15 and this patch is a few days later. I'm
not sure if this has any correlation to my issue?
https://lists.linux-foundation.org/pipermail/containers/2013-February/031878.html



[gentoo-user] netmount and nfs mounts

2013-02-27 Thread Francisco Ares
Hello,

After a recent update (a few months) the init script "netmount" does not
work as expected and as it once did. There are some nfs mounts available in
a remote server, they are correctly set up in /etc/fstab (I know that
because later after boot, I am able to mount those nfs mounts just by
typing as root "mount [nfsmount]").

I have already added rpc.statd to the default runlevel.

Any hints?

Thanks
Francisco
-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw


Re: [gentoo-user] netmount and nfs mounts

2013-02-27 Thread Neil Bothwick
On Wed, 27 Feb 2013 08:23:15 -0300, Francisco Ares wrote:

> After a recent update (a few months) the init script "netmount" does not
> work as expected and as it once did. There are some nfs mounts
> available in a remote server, they are correctly set up in /etc/fstab
> (I know that because later after boot, I am able to mount those nfs
> mounts just by typing as root "mount [nfsmount]").

% /etc/init.d/netmount describe
 * Mounts network shares, other than NFS, according to /etc/fstab.

The service you want is nfsmount.


-- 
Neil Bothwick

Experience is what you get when you didn't get what you wanted.


signature.asc
Description: PGP signature


[gentoo-user] Re: Restart "frozen" X

2013-02-27 Thread Nikos Chantziaras

On 27/02/13 05:18, Joseph wrote:

I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6

but I've noticed it freezes my screen once a day or ever second day.
Mouse is moving but no icon is responding, nor can I use the keyboard
(all frozen).

I can login to the system over ssh.  I've tried to restart/zap "xdm" it
doesn't help.
What else can I do to restart "X"?


I suppose Ctrl+Alt+Backspace doesn't work? (With X having locked up and 
everything.)





Re: [gentoo-user] netmount and nfs mounts

2013-02-27 Thread Francisco Ares
2013/2/27 Neil Bothwick 

> On Wed, 27 Feb 2013 08:23:15 -0300, Francisco Ares wrote:
>
> > After a recent update (a few months) the init script "netmount" does not
> > work as expected and as it once did. There are some nfs mounts
> > available in a remote server, they are correctly set up in /etc/fstab
> > (I know that because later after boot, I am able to mount those nfs
> > mounts just by typing as root "mount [nfsmount]").
>
> % /etc/init.d/netmount describe
>  * Mounts network shares, other than NFS, according to /etc/fstab.
>
> The service you want is nfsmount.
>
>
> --
> Neil Bothwick
>
> Experience is what you get when you didn't get what you wanted.
>


Thanks a lot!!

Francisco
-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw


Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Joseph

On 02/27/13 09:21, Helmut Jarausch wrote:

On 02/27/2013 04:18:51 AM, Joseph wrote:

I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6

but I've noticed it freezes my screen once a day or ever second day.
Mouse is moving but no icon is responding, nor can I use the keyboard
(all frozen).

I can login to the system over ssh.  I've tried to restart/zap "xdm"
it doesn't help.
What else can I do to restart "X"?



You can use the SysRq Key (I use )
and then RE

You might have a look at http://en.wikipedia.org/wiki/Magic_SysRq_key

Helmut.


I've tried key combination  doesn't work nor does 

besides when it is frozen keyboard is not responding, I can not even do:  


I'll try to kill next time: /usr/bin/X
as Yohan suggested, I did it on my backup computer and X just restarted.

--
Joseph



Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS

2013-02-27 Thread Alan McKinnon
On 27/02/2013 12:52, shawn wilson wrote:
> I still haven't found a solution
> 
> On Tue, Feb 26, 2013 at 5:57 PM, Neil Bothwick  wrote:
>> On Tue, 26 Feb 2013 17:24:29 -0500, shawn wilson wrote:
>>
> 
>> The wiki page says to use / to search for each option in make menuconfig.
>> That shows the option and its dependencies, for example /USER_NS here
>> gives
>>
>> Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CONVERTED [=n]
>>
>> So the option won't show up here because I haven't enabled
>> UIDGID_CONVERTED.
>>
> 
> I forgot about the internal menuconfig search feature. After googling
> UIDGID_CONVERTED I found this:
> http://forums.gentoo.org/viewtopic-p-7215718.html
> 
> Apparently, I'm not the only one with this issue.
> 
> So, I searched for UIDGID_CONVERTED in menuconfig and only see it as a
> bool and no dependency. However, if I:
> echo "CONFIG_UIDGID_CONVERTED=y" >> .config
> and then make menuconfig, this goes away as well - so I'm guessing
> this has dependencies I haven't found. Though, I grep that option in
> the kernel source tree and I only see two things that are documented
> as "depends on" it and the listing for the option - I see nothing that
> uses it.
> 

Are you aware that menuconfig has a search option?

press "/" just like vi or less, enter "USER_NS" and get:


  │ Symbol: USER_NS [=n]│
  │ Type  : boolean │
  │ Prompt: User namespace (EXPERIMENTAL)   │
  │   Defined at init/Kconfig:888   │
  │   Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CON│
  │  Location:  │
  │ -> General setup│
  │   -> Namespaces support (NAMESPACES [=y])   │
  │   Selects: UIDGID_STRICT_TYPE_CHECKS [=n]   │


Saves mucking about with all that tedious and unreliable greping


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Kernel 3.8.0 CONFIG_USER_NS

2013-02-27 Thread shawn wilson
Yes

On Wed, Feb 27, 2013 at 11:11 AM, Alan McKinnon  wrote:
> On 27/02/2013 12:52, shawn wilson wrote:
>> I still haven't found a solution
>>
>> On Tue, Feb 26, 2013 at 5:57 PM, Neil Bothwick  wrote:
>>> On Tue, 26 Feb 2013 17:24:29 -0500, shawn wilson wrote:
>>>
>>
>>> The wiki page says to use / to search for each option in make menuconfig.
>>> That shows the option and its dependencies, for example /USER_NS here
>>> gives
>>>
>>> Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CONVERTED [=n]
>>>
>>> So the option won't show up here because I haven't enabled
>>> UIDGID_CONVERTED.
>>>
>>
>> I forgot about the internal menuconfig search feature. After googling
>> UIDGID_CONVERTED I found this:
>> http://forums.gentoo.org/viewtopic-p-7215718.html
>>
>> Apparently, I'm not the only one with this issue.
>>
>> So, I searched for UIDGID_CONVERTED in menuconfig and only see it as a
>> bool and no dependency. However, if I:
>> echo "CONFIG_UIDGID_CONVERTED=y" >> .config
>> and then make menuconfig, this goes away as well - so I'm guessing
>> this has dependencies I haven't found. Though, I grep that option in
>> the kernel source tree and I only see two things that are documented
>> as "depends on" it and the listing for the option - I see nothing that
>> uses it.
>>
>
> Are you aware that menuconfig has a search option?
>
> press "/" just like vi or less, enter "USER_NS" and get:
>
>
>   │ Symbol: USER_NS [=n]│
>   │ Type  : boolean │
>   │ Prompt: User namespace (EXPERIMENTAL)   │
>   │   Defined at init/Kconfig:888   │
>   │   Depends on: NAMESPACES [=y] && EXPERIMENTAL [=y] && UIDGID_CON│
>   │  Location:  │
>   │ -> General setup│
>   │   -> Namespaces support (NAMESPACES [=y])   │
>   │   Selects: UIDGID_STRICT_TYPE_CHECKS [=n]   │
>
>
> Saves mucking about with all that tedious and unreliable greping
>
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>



Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Daniel Frey
On 02/26/2013 07:18 PM, Joseph wrote:
> I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6
> 
> but I've noticed it freezes my screen once a day or ever second day.
> Mouse is moving but no icon is responding, nor can I use the keyboard
> (all frozen).
> 
> I can login to the system over ssh.  I've tried to restart/zap "xdm" it
> doesn't help.
> What else can I do to restart "X"?
> 

If downgrading nvidia-drivers doesn't help check your power supply. My
computer exhibited this issue a while back because the voltages went all
wonky and the hardware really didn't like it - I could still ssh in from
my tablet but the entire computer appeared frozen.

If I just ran at the console (ie not starting X) the computer would work
fine all day.

I don't know what nvidia card you have but mine requires two extra power
connectors but the PSU just couldn't supply enough power to keep the GPU
stable.

Dan



Re: [gentoo-user] problems with kde 4.10.0

2013-02-27 Thread Daniel Frey
On 02/26/2013 07:13 PM, luis jure wrote:
> 
> hello list,
> 
> i use xfce, but i have several kde applications (k3b, digikam, tellico).
> after upgrading to kde 4.10.0 i had problems with all my kde apps. 
> 
> i receive similar error messages saying that the application couldn't
> create the I/O slave and "Klauncher returned: Error loading «kio_file»"
> 
> after downloading to 4.9.5 everything went back to normal.
> 
> has anyone experienced similar problems?
> 
> 
> best,
> 
> 
> lj
> 

Have you tried updating your whole system and possibly a revdep-rebuild?

I remember one KDE upgrade I did quite a while ago did something like
that and revdep-rebuild fixed it. I think it had to recompile kdelibs
and something else but your case may be different.

Dan



Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Francisco Ares
2013/2/27 Daniel Frey 

> On 02/26/2013 07:18 PM, Joseph wrote:
> > I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6
> >
> > but I've noticed it freezes my screen once a day or ever second day.
> > Mouse is moving but no icon is responding, nor can I use the keyboard
> > (all frozen).
> >
> > I can login to the system over ssh.  I've tried to restart/zap "xdm" it
> > doesn't help.
> > What else can I do to restart "X"?
> >
>
> If downgrading nvidia-drivers doesn't help check your power supply. My
> computer exhibited this issue a while back because the voltages went all
> wonky and the hardware really didn't like it - I could still ssh in from
> my tablet but the entire computer appeared frozen.
>
> If I just ran at the console (ie not starting X) the computer would work
> fine all day.
>
> I don't know what nvidia card you have but mine requires two extra power
> connectors but the PSU just couldn't supply enough power to keep the GPU
> stable.
>
> Dan
>
>
Hi,

I have had that same behaviour for some months now, but wasn't able to find
the cause. I am now suspicious of one of the browsers (I use Firefox and
Chrome, and always kept them opened), because all I could get was a kernel
log message referring to browser traffic (?) prior to one of those freezes.
For a few days now,  I always close the browsers, and have had no freeze.

Good luck, and please keep us updated.
Francisco
-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw


Re: [gentoo-user] Restart "frozen" X

2013-02-27 Thread Joseph

On 02/27/13 17:53, Daniel Frey wrote:

On 02/26/2013 07:18 PM, Joseph wrote:

I'm running Nvidia driver: 310.32 with my GeForce GTS 450 kernle-3.1.6

but I've noticed it freezes my screen once a day or ever second day.
Mouse is moving but no icon is responding, nor can I use the keyboard
(all frozen).

I can login to the system over ssh.  I've tried to restart/zap "xdm" it
doesn't help.
What else can I do to restart "X"?



If downgrading nvidia-drivers doesn't help check your power supply. My
computer exhibited this issue a while back because the voltages went all
wonky and the hardware really didn't like it - I could still ssh in from
my tablet but the entire computer appeared frozen.

If I just ran at the console (ie not starting X) the computer would work
fine all day.

I don't know what nvidia card you have but mine requires two extra power
connectors but the PSU just couldn't supply enough power to keep the GPU
stable.

Dan


I have a: GeForce GTS 450
It was flawless until recent upgrade; I don't suspect power supply.
It only freeze on me two times and right after upgrade; the last time was when I hit a link in thunder-bird email client but I think it has happen when I open a link in 
firefox as well (don't remember).

I'll keep monitoring it.  I did not upgrade the kernel only the nvidia driver.

--
Joseph



Re: [gentoo-user] firehol + gentoo 3.6.11 kernel....

2013-02-27 Thread Tamer Higazi
Alon!
you were absolutely right. What I did before rebuilding a newer kernel,
is taking the config from the previoud.

so, instead just building the kernel straight away, I took a look in
netfilter and activated EVERYTHING (except debug and experimental
modules) in the netfilter section.


And it works.


Thank you!


Tamer


Am 19.02.2013 05:16, schrieb Alon Bar-Lev:
> Yes, I use it.
> Just enable all non experimental iptables settings at kernel including NAT.
> Works perfectly.
> 
> 
> On Tue, Feb 19, 2013 at 3:34 AM, Tamer Higazi  > wrote:
> 
> hi people!
> I have used all the time "firehol" (gentoo sources 3.3.8) to make my
> firewall rules. After kernel 3.4.x I can't make use of it any more.
> 
> Has anyone of you got firehol running on a genoo system with a 3.4.x
> kernel above to run?
> And if not, can you adivse me something similiar to build linux firewall
> rules ?!
> 
> For a short reply I would thank you.
> 
> 
> 
> Tamer
> 
> 




[gentoo-user] Changing static IP remotely...

2013-02-27 Thread Jarry

Hi Gentoo users,

what is the proper way of changing static IP-address remotely
without the need to restart the whole system (or locking
me out)?

I have one interface with static IP, so first I'm going to edit
/etc/conf.d/net. Then I will set up command for later execution:

# echo '#!/bin/bash' > /root/eth-restart
# echo '/etc/init.d/net.eth0 restart' >> /root/eth-restart
# chmod 0700 /root/eth-restart
# at -f /root/eth-restart now + 5 min

Then I terminate my ssh-session hoping 5 minutes later
I can connect using new IP. Is this correct and all that
is necessary?

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Changing static IP remotely...

2013-02-27 Thread Amankwah
On Thu, Feb 28, 2013 at 05:48:02AM +0100, Jarry wrote:
> Hi Gentoo users,
> 
> what is the proper way of changing static IP-address remotely
> without the need to restart the whole system (or locking
> me out)?
> 
> I have one interface with static IP, so first I'm going to edit
> /etc/conf.d/net. Then I will set up command for later execution:
> 
> # echo '#!/bin/bash' > /root/eth-restart
> # echo '/etc/init.d/net.eth0 restart' >> /root/eth-restart
> # chmod 0700 /root/eth-restart
> # at -f /root/eth-restart now + 5 min
> 
> Then I terminate my ssh-session hoping 5 minutes later
> I can connect using new IP. Is this correct and all that
> is necessary?
> 
> Jarry
> -- 

I think that is correct but not necessary.

just using a temporary IP address.

assume your remote host network interface is eth0, the original IP is
addr1, the last IP is addr2, the temporary IP is addr3.

You can start a ssh session to addr1, and bind a temporary IP to the
interface using:

# ifconfig eth0:0 addr3

then terminate the ssh session, start a new session to addr3.

changing the eth0's IP address to addr2

finally, you can start a ssh session to the last IP address *addr2*

and release the temporary IP.
# ifconfig eth0:0 down