Re: [gentoo-user] weekend amusement

2008-08-23 Thread Thierry de Coulon
On Saturday 23 August 2008, Guillermo Dutra wrote:
 Jajajjaja Very funny, but I have to recognize that while I was compiling
 and installing gentoo trough 2  days  to get the X work with kde , I
 thinked seriously to  kick  the lcd  screen or distroy the keyboard. But
 now I don change it!!!.

WHat I try to explain to non-linux users is that you can both push your blood 
pressure up on one partition and get wiped on another to get it down 
again .

Thierry






Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?

2008-08-23 Thread liu shukui
On Fri, Aug 22, 2008 at 5:06 PM, Stefan G. Weichinger [EMAIL PROTECTED] wrote:
 Iain Buchanan schrieb:

 Maybe look through the bios to somehow wake on keyboard ?

 Yep - definitely bios related - wake on keyboard is usually the name
 too.  I haven't done it in a while, but I remember something about
 using certain keys (maybe enter?) to start up my PC.  I haven't done it
 since PS/2 days.  If you have a usb keyboard, it would probably require
 keeping the 5V alive to the usb ports, which might require playing with
 suspend states in the bios as well.  This could also use a bit of power
 of a long time, but I think it would be tiny.

 Unfortunately there is no wake on keyboard in this BIOS, although it's a
 rather good Intel-board.

 hmm ...

 Yes, it's a USB-keyboard ...

 Will continue to play with it, right now I have real work to do ;)
 suspend-to-ram is working, which is cool enough already ...
And what about suspend-to-disk?
As far as I know, it dosen't work!

 Thanks so far, Stefan






Re: [gentoo-user] Debugging X

2008-08-23 Thread Daniel Beecham

Dale wrote:

forgottenwizard wrote:

I'm having a problem getting X to work. It is seg faulting on me, and
despite countless revdep-rebuilds and emerge -e world, it still doesn't
work.

It dies after the cursor shows up, spitting this backtrace and output.
Sorry if the formatting sucks. The last line is probably refering to the
fact I tried to run it from within screen, so if that could cause a
problem say so, and tell me how the heck to get a log of this output
(since startx  log.txt doesn't work)

#--- startx output ---#

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux localhost 2.6.25-gentoo-r7 #1 SMP
PREEMPT Fri Aug 1 21:56:38 CDT 2008 x86_64
Build Date: 22 July 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==)
default setting,
(++) from command line, (!!) notice, (II)
informational,
(WW) warning, (EE) error, (NI) not
implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log,
Time: Wed Aug 20 00:11:37 2008
(==) Using config file:
/etc/X11/xorg.conf
(WW) NVIDIA: No matching Device section
for instance (BusID PCI:0:1:3) found
(II) Module already built-in
The XKEYBOARD keymap compiler (xkbcomp)
reports:
 Warning:  Multiple names for
 keycode 211
   Using I211,
   ignoring AB11
Errors from xkbcomp are not fatal to the
X server
Backtrace:
0: X(xf86SigHandler+0x6d) [0x49690d]
1: /lib/libc.so.6 [0x7fae2c0a4430]
2: X(NumMotionEvents+0x12) [0x447822]
3: X(CreateConnectionBlock+0x53) [0x439623]
4: X(main+0x658) [0x43a168]
5: /lib/libc.so.6(__libc_start_main+0xf4) [0x7fae2c091b74]
6: X(FontFileCompleteXLFD+0x229) [0x439259]

Fatal server error:
Caught signal 11.  Server aborting

waiting for X server to begin accepting connections
giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X 
server

xinit:  No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
   
#--- end ---#


I've brought this to #x (or xorg, whichever the X support channel in
freenode is), #linux, #gentoo, and the forums. I'm at a bit of a loss as
to what the problem is, or how to go about trying to find out what is
the problem.

  


If I read this correctly, it appears that it can not find the keyboard 
or something.  This is what makes me think that:  The XKEYBOARD 
keymap compiler (xkbcomp) reports:  Warning: Multiple names for  
keycode 211.


In your make.conf, do you have a line that is something like this:

INPUT_DEVICES=keyboard mouse

Also make sure you have something like the following in your xorg.conf 
file:


Section InputDevice
   Identifier Keyboard0
   Driver kbd
EndSection

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

This may not have anything to do with the problem but it is something 
that didn't look right to me.


Dale

:-)  :-)


Nah, that's not the problem, aas you can see here; Errors from xkbcomp 
are not fatal to the X server


/ Daniel.



Re: [gentoo-user] weekend amusement

2008-08-23 Thread Norberto Bensa

Quoting Philip Webb [EMAIL PROTECTED]:


For those who missed it :

  http://www.besttechie.net/forums/Linux-Humor-t14545.html



Gentoo's the best! I can't stop laughting!!!




This message was sent using IMP, the Internet Messaging Program.





[gentoo-user] 2008 minimal install hangs mounting /dev/hda2 looking for CD

2008-08-23 Thread Grant Edwards
How do I tell the minimal install where the CDROM is?

It apparently goes out trying to mount anything and everything
looking for the CD, and the first time it finds something that
isn't a valid filesystem, it hangs.  First it hung trying to
mount hda1 (an empty partittion).

So, I booted Knoppix and created filesystems and a swap
partition on hda. Now, when it gets to hda2 (the swap
partition), it hangs trying to mount that.

Since when could hda1 or hda2 be a CDROM?

-- 
Grant









[gentoo-user] Re: 2008 minimal install hangs mounting /dev/hda2 looking for CD

2008-08-23 Thread Grant Edwards
On 2008-08-23, Grant Edwards [EMAIL PROTECTED] wrote:
 How do I tell the minimal install where the CDROM is?

 It apparently goes out trying to mount anything and everything
 looking for the CD, and the first time it finds something that
 isn't a valid filesystem, it hangs.  First it hung trying to
 mount hda1 (an empty partittion).

 So, I booted Knoppix and created filesystems and a swap
 partition on hda. Now, when it gets to hda2 (the swap
 partition), it hangs trying to mount that.

 Since when could hda1 or hda2 be a CDROM?

Never mind.  If you wait several minutes, it will eventually
give up trying to mount a non-filesystem and move on.  Odd, it
didn't used to take 3-4 minutes for a mount to fail like that.





RE: [gentoo-user] Debugging X

2008-08-23 Thread Adam Carter
  It dies after the cursor shows up, spitting this backtrace
 and output.
  Sorry if the formatting sucks. The last line is probably
 refering to the
  fact I tried to run it from within screen, so if that could cause a
  problem say so, and tell me how the heck to get a log of
 this output
  (since startx  log.txt doesn't work)

Dude - check the entry below that says: Log file: /var/log/Xorg.0.log. It 
re-written (no appeneded to) each time you startx.

  #--- startx output ---#
 
  X Window System Version 1.3.0
  Release Date: 19 April 2007
  X Protocol Version 11, Revision 0, Release 1.3
  Build Operating System: UNKNOWN
  Current Operating System: Linux localhost 2.6.25-gentoo-r7 #1 SMP
  PREEMPT Fri Aug 1 21:56:38 CDT 2008 x86_64
  Build Date: 22 July 2008
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
  Module Loader present
  Markers: (--) probed, (**) from config file, (==)
  default setting,
  (++) from command line, (!!) notice, (II)
  informational,
  (WW) warning, (EE) error, (NI) not
  implemented, (??) unknown.
  (==) Log file: /var/log/Xorg.0.log,
  Time: Wed Aug 20 00:11:37 2008
  (==) Using config file:
  /etc/X11/xorg.conf
  (WW) NVIDIA: No matching Device section

Can you post up your Device sections? In my x log this is where it starts 
reporting on my screen.

  for instance (BusID PCI:0:1:3) foundle
  (II) Module already built-in
  The XKEYBOARD keymap compiler (xkbcomp)
  reports:
   Warning:  Multiple names for
   keycode 211
 Using I211,
 ignoring AB11
  Errors from xkbcomp are not fatal to the
  X server
  Backtrace:
  0: X(xf86SigHandler+0x6d) [0x49690d]
  1: /lib/libc.so.6 [0x7fae2c0a4430]
  2: X(NumMotionEvents+0x12) [0x447822]
  3: X(CreateConnectionBlock+0x53) [0x439623]
  4: X(main+0x658) [0x43a168]
  5: /lib/libc.so.6(__libc_start_main+0xf4) [0x7fae2c091b74]
  6: X(FontFileCompleteXLFD+0x229) [0x439259]
 
  Fatal server error:
  Caught signal 11.  Server aborting
 
  waiting for X server to begin accepting connections
  giving up.
  xinit:  Connection reset by peer (errno 104):  unable to
 connect to X
  server
  xinit:  No such process (errno 3): Server error.
  Couldnt get a file descriptor referring to the console

Have you tried the nv module instead? If not,  emerge xf86-video-nv then change 
Driver from nvidia to nv then restart X and check the log again.



[gentoo-user] adsl, pptp, iptables

2008-08-23 Thread Andrew Gaydenko
Hi!

I have:

1. eth0 IP address,
2. adsl modem IP address eth0 is connected with,
3. dedicated IP address for ppp0 interface after connecting to...
4. ... provider's pptp server with another, fourth, IP address.

All these addresses are assigned by my provider. The aim is to close all 
incoming traffic except for, say, httpd port.

Does anybody know good tutorial how to orginize all these IPs and interfaces 
wrt iptables rules? It would be great to do this job in Oskar's tutorial 
style/approach which I'm reading now:

http://iptables-tutorial.frozentux.net/


Andrew



Re: [gentoo-user] [SOLVED]Problem to erase some temp directory

2008-08-23 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrey Falko escreveu:
| On Wed, Jul 30, 2008 at 12:34 AM, Zhu Sha Zang 
[EMAIL PROTECTED] wrote:

| Andrey Falko escreveu:
| | On Tue, Jul 29, 2008 at 11:49 PM, Zhu Sha Zang [EMAIL PROTECTED]
| wrote:
| | Hi everybody,
| |
| | I have some disaster in my desktop system because i'm erased my /lib.
| | Well, i've solved this problem unpacking stage-3 over my system, and
| emerge
| | -e world.
| | My system working very well now, but a weak problem appear.
| |
| | In boot, when tmpdir tried to be cleaned, some messages appear that the
| some
| | directories don't be erased., this:
| |
| | drwxrwxrwx 2 root1003 4.0K Jul 13 08:24 ashura
| | drwxrwxrwx 2  505 101 4.0K Jul 15 11:41 dasusr1
| | drwxrwxrwx 2  507 102 4.0K Jul 15 11:41 db2inst1
| | drwxrwx--T 7 root rodolfo 4.0K Jul 30 03:34 rodolfo
| | drwx-T 2 root root4.0K Jul 30 00:06 root
| |
| | I've tried to remove this directories usimg root after boot, and receive
| | this message:
| |
| | sakurazukamori .private # rm -rf *
| | rm: cannot remove directory `ashura': Operation not permitted
| | rm: cannot remove directory `dasusr1': Operation not permitted
| | rm: cannot remove directory `db2inst1': Operation not permitted
| | rm: cannot remove directory `rodolfo': Operation not permitted
| | rm: cannot remove directory `root': Operation not permitted
| |
| | Thinking in some service using this directories, i've tried boot a 
gentoo

| | livecd and erase archies but the same problem appear.
| | I used too fsck on this ext3 file system, none errors on fylesystem are
| | detected.
| |
| | Some tricks?
| | thnks for now
| |
| |
| |
| |
| |
| |
| ___ Yahoo! Mail - 
Sempre

| a melhor opção para você! Experimente já e veja as novidades.
| http://br.yahoo.com/mailbeta/tudonovo/
| |
| |
|
| | You might have extended attributes enabled. What happens when you run
| | lsattr on that directory? If you don't have lsattr, emerge e2fsprogs.
|
| Using lsattr -Ra in /tmp:
|
| sakurazukamori tmp # lsattr -Ra
| --I--- ./.
| -- ./..
| -- ./.X0-lock
| -- ./.ICE-unix
|
| ./.ICE-unix:
| lsattr: Operation not supported While reading flags on
| ./.ICE-unix/dcop4790-1217369151
| --I--- ./.ICE-unix/..
| -- ./.ICE-unix/.
|
| -a ./.private
|
| ./.private:
| -- ./.private/ashura
|
| ./.private/ashura:
| -a ./.private/ashura/..
| -- ./.private/ashura/.
|
| -- ./.private/db2inst1
|
| ./.private/db2inst1:
| -a ./.private/db2inst1/..
| -- ./.private/db2inst1/.
|
| -- ./.private/rodolfo
|
| ./.private/rodolfo:
| -a ./.private/rodolfo/..
| -- ./.private/rodolfo/.
|
| --I--- ./.private/..
| -- ./.private/dasusr1
|
| ./.private/dasusr1:
| -a ./.private/dasusr1/..
| -- ./.private/dasusr1/.
|
| -a ./.private/.
| -- ./.private/root
|
| ./.private/root:
| -a ./.private/root/..
| -- ./.private/root/.
|
|
| -- ./gpg-j3M7SQ
|
| ./gpg-j3M7SQ:
| lsattr: Operation not supported While reading flags on
| ./gpg-j3M7SQ/S.gpg-agent
| --I--- ./gpg-j3M7SQ/..
| -- ./gpg-j3M7SQ/.
|
| -- ./.X11-unix
|
| ./.X11-unix:
| lsattr: Operation not supported While reading flags on ./.X11-unix/X0
| --I--- ./.X11-unix/..
| -- ./.X11-unix/.
|
|
|

| As I suspected, you have some extended attributes set. Do you know how
| this could have happen? You willl have to unset them. How I don't
| know. When this happen to me with JFS, I trashed the filesystem and
| never looked back. This however is happening to ext3!, so I am very
| surprised.

I've used chattr to change de attributes and erased like any arch.

Tanks for help!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiweJEACgkQbLyL8mxGP9Q9iQCg0M+H1kknXYb4Syawa7GcvFmT
pM8AoKQFBcQpsXLxNpZ5PWrnxiDMfqBF
=wpaz
-END PGP SIGNATURE-

__
Faça ligações para outros computadores com o novo Yahoo! Messenger 
http://br.beta.messenger.yahoo.com/ 



Re: [gentoo-user] weekend amusement

2008-08-23 Thread Roy Wright
Philip Webb wrote:
 For those who missed it :
 
   http://www.besttechie.net/forums/Linux-Humor-t14545.html

Gentoo is definitely misrepresented.  I would have used that image to
describe the Kubuntu 0710 to 0804 updater which left a broken system
that necessitated doing a new install to get 0804.

For gentoo, a picture of lone student in a big library with a six pack
of Jolt would be more appropriate.

Kudos to the portage team!





Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?

2008-08-23 Thread Iain Buchanan
On Sat, 23 Aug 2008 16:47:48 +0800 liu shukui
[EMAIL PROTECTED] wrote:

 And what about suspend-to-disk?
 As far as I know, it dosen't work!

doesn't work at all or doesn't work for you?

The tuxonice-users ml is very good for help - the author is very
helpful.  Also, add yourself to the cc list:
http://bugs.gentoo.org/show_bug.cgi?id=222113 to give it some weight.
You can put the ebuild in your local overlay (as I have) to get
hibernate-script-1.99

HTH,
-- 
Iain Buchanan [EMAIL PROTECTED]

I believe a little incompatibility is the spice of life, particularly
if he has income and she is pattable.
-- Ogden Nash