Re: [gentoo-user] portage/firewall

2008-03-27 Thread Elyahou ITTAH
If your proxy don't let ftp pass, use

torify
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage/firewall

2008-03-27 Thread Elyahou ITTAH
2008/3/27, Elyahou ITTAH [EMAIL PROTECTED]:
If your proxy don't let ftp pass, use

torify emerge gcc

(from the tor package)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-10 Thread Elyahou ITTAH
Thx a lot for the assistance;)

the problem was in the redirection of the domain , after test with
another one all works :)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
-- Forwarded message --
From: Elyahou ITTAH [EMAIL PROTECTED]
Date: 9 mars 2008 13:39
Subject: apache vhost issue...
To: [EMAIL PROTECTED]


Hello, I have dificulty to configure vhost in apache... Here some
 files of my configuration

 in /etc/conf.d/apache2:
 APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE  -D PHP5 -D USERDIR

 # ls -l /var/www
 total 8
 drwxr-xr-x 4 apache apache 4096 mar  9 02:20 helpermaster.fr
 drwxr-xr-x 6 root   root   4096 mar  8 22:12 localhost

 # cat /etc/apache2/vhosts.d/01_vhost1.conf
 VirtualHost *:80
 ServerName helpermaster.fr
 ServerAlias helpermaster.fr
 DocumentRoot /var/www/helpermaster.fr/htdocs
 Directory /var/www/helpermaster.fr/htdocs
   Options Indexes FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
 /Directory
 /VirtualHost


 But when I type helpermaster.fr on my browser, i receive the
 www/localhost pages and no the www/helpermaster.fr pages...

I first sent the message to gentoo-web-user list but it seems that
this list is no longer available...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, Juul [EMAIL PROTECTED]:
 It seems to be configured right. I do notice you are using
 helpermaster.fr for your servername and as alias. If type in your
 browser www.helpermaster.fr it will use the default vhost cause there is
 no vhost configured for www.helpermaster.fr. Maybe that is the problem?

I type on my browser helpermaster.fr and not www.helpermaster.fr...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, Strong Cypher [EMAIL PROTECTED]:
 hi,
  did you add your host in the hosts file?

Nope, but I am tryingto connect not from that machine but from another one...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, Strong Cypher [EMAIL PROTECTED]:
 yeah of course but apache need to now all ip of all host before
  starting. try to add it and restart apache



  
  --
  gentoo-user@lists.gentoo.org mailing list

New infos... When I connect to helpermaster.fr from the server with
the entry on /etc/hosts for this domain name, the vhost is on, but
from an external machine I have still /www/localhost page...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, Norberto Bensa [EMAIL PROTECTED]:

 Are you running a proxy?

  Does it understand HTTP/1.1?


  Regards,
  Norberto

The server don't have proxy, but my actual pc is in a proxyfied
network (squid http) but I think that is'nt the problem... Try to
connect to helpermaster.fr ( localhost output means that the browser
is connected to www/localhost files and salut output is in
www/helpermaster.fr)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, cypherstrong [EMAIL PROTECTED]:
 ok good

  could you show the access log with the line when your try to connect to the
  server ?



http://rafb.net/p/DH1lDL67.html
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, cypherstrong [EMAIL PROTECTED]:
 Could you remove the ServerAlias directive and try again ?

Same result...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, cypherstrong [EMAIL PROTECTED]:
 Could you post default vhost configuration ?

in your host file.
You just need this host have the ip address you contact in host file

# cat /etc/hosts
127.0.0.1   localhost
91.121.117.202   ns201241.ovh.net
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.0.1   localhost

# cat /etc/apache2/vhosts.d/00_default_vhost.conf
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# URL:http://httpd.apache.org/docs/2.2/vhosts/
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

IfDefine DEFAULT_VHOST
# see bug #178966 why this is in here

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the VirtualHost
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

# Use name-based virtual hosting.
NameVirtualHost *:80

# When virtual hosts are enabled, the main host defined in the default
# httpd.conf configuration will go away. We redefine it here so that it is
# still available.
#
# If you disable this vhost by removing -D DEFAULT_VHOST from
# /etc/conf.d/apache2, the first defined virtual host elsewhere will be
# the default.
VirtualHost *:80
ServerName www.helpermaster.fr
Include /etc/apache2/vhosts.d/default_vhost.include
ErrorLog /var/www/localhost/log/error.log
CustomLog /var/www/localhost/log/access.log combined
IfModule mpm_peruser_module
ServerEnvironment apache apache
/IfModule
/VirtualHost

/IfDefine

# vim: ts=4 filetype=apache

# cat /etc/apache2/vhosts.d/default_vhost.include
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. [EMAIL PROTECTED]
ServerAdmin [EMAIL PROTECTED]

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# If you change this to something that isn't under /var/www then suexec
# will no longer work.
DocumentRoot /var/www/localhost/htdocs

# This should be changed to whatever you set DocumentRoot to.
Directory /var/www/localhost/htdocs
# Possible values for the Options directive are None, All,
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch
ExecCGI MultiViews
#
# Note that MultiViews must be named *explicitly* --- Options All
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
Options Indexes FollowSymLinks

# AllowOverride controls what directives may be placed in
.htaccess files.
# It can be All, None, or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
AllowOverride All

# Controls who can get stuff from this server.
Order allow,deny
Allow from all
/Directory

IfModule alias_module
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
#   Redirect permanent /foo http://www.example.com/bar

# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
#   Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL.  You will also likely
# need to provide a Directory section to allow access to
# the filesystem path.

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client.  The same rules about trailing / apply to ScriptAlias
# directives as to Alias.
ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/

Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
so anyone haven't a idea ?

It's really weird because the configuration seems to be OK but in the
/var/www/localhost/log/access.log file I see:

[09/Mar/2008:19:24:28 +0100] GET / HTTP/1.0 304 -
http://helpermaster.fr/; Mozilla/5.0 (X11; U; Linux i686; fr-FR;
rv:1.8.1.12) Gecko/20080227 Firefox/2.0.0.12
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, Mike Williams [EMAIL PROTECTED]:
 On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote:
in /etc/conf.d/apache2:
APACHE2_OPTS=-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE  -D PHP5 -D
   USERDIR


   # cat /etc/apache2/vhosts.d/01_vhost1.conf
VirtualHost *:80


   But when I type helpermaster.fr on my browser, i receive the
www/localhost pages and no the www/helpermaster.fr pages...


 Your vhost isn't specific enough to not be matched by the vhost defined by
  DEFAULT_VHOST (which is _default_:80).

  Either turn off DEFAULT_VHOST and add Listen *:80 somewhere before your
  virtualhost, or define it with an IP address.

I tried that but i have now
Forbidden

You don't have permission to access / on this server.

when i trie to connect...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, cypherstrong [EMAIL PROTECTED]:
 ok

  in 00_default you need somethink like this

  VirtualHost __default__:80
 ServerName localhost
 DocumentRoot /var/www/localhost
 Directory /var/www/localhost
 Order Allow, Deny

 Allow from all
 /Directory
  /VirtualHost


 and in 01_helpermaster

 VirtualHost *:80
 ServerName helpermaster.fr
 ServerAlias *.helpermaster.fr
 DocumentRoot /var/www/helpermaster.fr

 Directory /var/www/helpermaster.fr

 Order Allow, Deny

 Allow from all
 /Directory
  /VirtualHost


 It should work !


Thanks,

now i have that error:

[Sun Mar 09 20:34:01 2008] [error] (EAI 2)Name or service not known:
Could not resolve host name __default__ -- ignoring!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Fwd: apache vhost issue...

2008-03-09 Thread Elyahou ITTAH
2008/3/9, cypherstrong [EMAIL PROTECTED]:
 perhaps I miss the s

  __defaults__

  try this or replace by *





I really don't understant what's happen...

i stille have :
Forbidden

You don't have permission to access / on this server.
Apache Server at 91.121.117.202 Port 80

I have now

01_vhost.conf


Listen 80
NameVirtualHost *:80
VirtualHost *:80
   ServerName localhost
   DocumentRoot /var/www/localhost/htdocs
   Directory /var/www/localhost/htdocs
   Order allow,deny
   Allow from all
   /Directory
/VirtualHost

VirtualHost *:80
   ServerName helpermaster.fr
   ServerAlias *.helpermaster.fr
   DocumentRoot /var/www/helpermaster.fr/htdocs
   Directory /var/www/helpermaster.fr/htdocs
Options Indexes FollowSymLinks
   Order allow,deny
   Allow from all
   /Directory
/VirtualHost

on my 01_vhost.conf and no default vhost it should work... but no... :(
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how to update just one package ?

2008-02-27 Thread Elyahou ITTAH
2008/2/27, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Hi:

  On running 'emerge --fetchonly apache' on a Gentoo 2007.0 system,
  the following packages are expected to be downloaded ie.
   app-misc/mime-types-7
   app-admin/apache-tools
   www-servers/apache-2.2.6-r5

  Along with these packages, there is a file gentoo-apache-2.2.6-r5 which
  is required. However, the portage tree has 
 gentoo-apache-2.2.6-r7-20080107.tar.bz2

  Is there a way that i can update just one package ie. 
 www-servers/apache-2.2.6-r5
  so that is matches the gentoo-apache-2.2.6-r7 version file ?

  Any pointers in this direction will be greatly appreciated.

  thanks
  Saifi.

 --
  gentoo-user@lists.gentoo.org mailing list



Maybe emerge --sync before...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] How to don't autoload a module

2008-02-06 Thread Elyahou ITTAH
2008/2/6, Dan Dexter [EMAIL PROTECTED]:

 On Tuesday 05 February 2008 06:20:25 pm Elyahou ITTAH wrote:
  What i can do so that the kernel module iwl3945 don't be autoload at the
  boot ?
 
  He is not on module.autoload.d/kernel ...
 
  I have many modules (Alsa,nvidia,uvcvideo) which are loaded automaticaly
  but i don't know why...
 
  I am interested to remove this autoload only for iwl3945
 
  thx

 As root:
 echo blacklist iwl3945  /etc/modprobe.d/blacklist

 http://gentoo-wiki.com/HOWTO_prevent_udev_from_loading_certain_modules
 For additional info



Thx ;)


[gentoo-user] How to don't autoload a module

2008-02-05 Thread Elyahou ITTAH
What i can do so that the kernel module iwl3945 don't be autoload at the
boot ?

He is not on module.autoload.d/kernel ...

I have many modules (Alsa,nvidia,uvcvideo) which are loaded automaticaly but
i don't know why...

I am interested to remove this autoload only for iwl3945

thx


Re: [gentoo-user] [query] Compiz-fusion working slow

2008-01-30 Thread Elyahou ITTAH
2008/1/30, Mateusz Mierzwinski [EMAIL PROTECTED]:

 Hi!

 I have compiz-fusion on my Intel X3100 - it run smoothly and very fast.
 This is not compiz problem, try to re-emerge mesa and install oryginal
 drivers from www.nvidia.com. I have using some time ago compiz-fusion on
 nVidia 5500FX and this works normal only on drivers from nvidia webpage.
 If You use - such as I EM64T on amd64 distro (x86_64) then drivers are
 also available. If after instalation of driver this You will still have
 this problem please let me know on: [EMAIL PROTECTED], we find
 whats about...

 Mateusz M.

 dell core2duo pisze:
  Hi,
I am running compiz-fusion. but it seems to run very slow. Although
  Cpu/memory usage are normal.  But even when i  resize a terminal it
  takes few seconds to do so.
  while there is no such problem in doing same without running
  compiz-fusion.  I have nvidia-8600-GT graphics card. I would like to
  know how to make my compiz-fusion run smoother.


The Nvidia-drivers are in Portage-tree. No need to dl them at nvidia...


Re: [gentoo-user] Anti-aliasing

2008-01-30 Thread Elyahou ITTAH
2008/1/30, econti [EMAIL PROTECTED]:

 Hi all,
 may be this is a stupid question but I am not able to set the
 anti-aliasing on firefox and thunderbird.

 Regards
 emilio



 --
 gentoo-user@lists.gentoo.org mailing list

 Firefox and thunderbird use the global environnement configuration.


[gentoo-user] Error compiling db

2008-01-29 Thread Elyahou ITTAH
When I Compile sys-libs/db-3.2.9-r11 I got this error:

configure: error: cannot find java include files

Where i can get the includes ?


[gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
Hi all,

I sought how to make pass my emerge's starting from a tunnel configured with
Putty but did not find nothing  interesting.
How can i do this ?

Thx ;)


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH


 It's not clear at all whether you have http access from your gentoo box.
 If so, did you try emerge-webrsync?
 --
 gentoo-user@lists.gentoo.org mailing list



# emerge --sync
 Starting rsync with rsync://140.211.166.165/gentoo-portage...
 Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(276)
[receiver=2.6.9]
 Retrying...


# emerge-webrsync -v
Fetching most recent snapshot
Attempting to fetch file dated: 20080113
--12:48:20--
http://mirror.hamakor.org.il/pub/mirrors/gentoo//snapshots/portage-20080113.tar.bz2
   = `/var/tmp/emerge-webrsync/portage-20080113.tar.bz2'
Résolution de mirror.hamakor.org.il... 82.80.248.176
Connexion vers mirror.hamakor.org.il|82.80.248.176|:80...connecté.
requête HTTP transmise, en attente de la réponse...ERREUR de lecture
(Connexion terminée par expiration du délai d'attente) de l'en-tête.
Nouvel essai.

It's in french but easy to understand My tunnel works, i use IRC
throught it, but i don't know where to configure Portage to use it.


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
2008/1/14, Alan McKinnon [EMAIL PROTECTED]:

 On Monday 14 January 2008, Elyahou ITTAH wrote:
  Hi all,
 
  I sought how to make pass my emerge's starting from a tunnel
  configured with Putty but did not find nothing  interesting.
  How can i do this ?
 
  Thx ;)

 Are you using putty on windows then?

 Log in with putty, you will get a bash session. Become root, run emerge.


 If this doesn't work, then post back with FULL error messages, the
 process you followed and where it failed.

 alan


 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com
 --
 gentoo-user@lists.gentoo.org mailing list



Thx for the Answer but  I think I asked the question wrong. I Use Putty to
bypass a HTTP proxy who do not let emerge Work.
So i wan't to run portage in my pc, not in the remote one. But i wan't to
sync passing the SSH tunnel who is configurated to listen at the port 8080
of my localhost.


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
2008/1/14, Etaoin Shrdlu [EMAIL PROTECTED]:

 On Monday 14 January 2008, Elyahou ITTAH wrote:

  It's in french but easy to understand My tunnel works, i use IRC
  throught it, but i don't know where to configure Portage to use it.

 Do you also use http through it?

 Regarding portage, it could be as easy as doing

 # export http_proxy=name.of.your.proxy

 but without further info about your config (meaning: exact putty config,
 and exact use you make of it, and from where), it's difficult to help.
 --
 gentoo-user@lists.gentoo.org mailing list

 Ok, ;)

My Network have a Squid Proxy who allow only some ports like 80 443...

Putty is configurated to connect to a box i have in an other place, it allow
to make a SSH Tunnel who create a socks proxy at localhost:8080. Putty
listen to this port and send all the frames passing the 443 of the SQUID
proxy to my exterior box. I wan't to configure Portage to use this SOCK
proxy at localhost:8080


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
What other information can i give ?


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
2008/1/14, Etaoin Shrdlu [EMAIL PROTECTED]:

 On Monday 14 January 2008, Elyahou ITTAH wrote:

  Ok, ;)
 
  My Network have a Squid Proxy who allow only some ports like 80 443...

 Ok, so you should be able to use

 # export http_proxy=proxyname or address
 # emerge-webrsync

 To use the already existing proxy in your network. If you insist on using
 your tunnel, read on.

  Putty is configurated to connect to a box i have in an other place, it
  allow to make a SSH Tunnel who create a socks proxy at localhost:8080.

 So you're forwarding port 8080 on the putty (windows) box to port 1080 on
 the remote box, where a SOCKS server is listening on that port, correct?

 I'm not sure whether putty allows non-local connections to forwarded
 ports by default, if this is not the case you'll need to enable that
 option.

  Putty listen to this port and send all the frames passing the 443 of
  the SQUID proxy to my exterior box.

 How do you do that?

  I wan't to configure Portage to
  use this SOCK proxy at localhost:8080

 localhost, IIUC, is a windows box, and portage is running on another
 (linux, on the same network) box. So, at a minimum, you'll need to
 use a.b.c.d:8080 as a SOCKS server, where a.b.c.s is the IP address of
 the windows putty box.

 Assuming you have a SOCKS server at a.b.c.d:8080 (albeit through a
 tunnel, but the apps don't know that), then you need to use some
 socksifying utility for emerge, since (AFAIK) it does not support SOCKS
 out of the box. So, something like

 # socksify emerge --sync

 should work (though I have not tested it). socksify is part of
 net-proxy/dante. Of course, you need to specify the SOCKS proxy at
 a.b.c.d port 8080 in the /etc/socks/socks.conf configuration file (I
 don't remember the exact syntax to do that right now, but it should be
 quite intuitive).
 --
 gentoo-user@lists.gentoo.org mailing list



I am a little confused...

Putty listen to my 127.0.0.1:8080 and forward to my extern box:443 passing
the squid proxy:3128 (in SSH of course)

I tried configure the http proxy by export... but the web rsync still don't
run...


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
2008/1/14, Etaoin Shrdlu [EMAIL PROTECTED]:


 What application is running on the remote box, port 443? A SOCKS server
 or something else?


OpenSSH,  which  manage the redirections  alone.

What kind of machine is 127.0.0.1:8080, where putty is running? It's
 likely a windows box, but now putty exists for linux too.
 Is this the same machine you want to run portage on? If not, is the
 portage box on the same network as the putty one?



I am on Linux :P and the configuration  is my Gentoo  Installation.
127.O.O.1 is my machine where putty is running, Xchat run with this proxy
configuration: Socks5 127.0.0.1:8080

After Many tests, this solution worked. Thx for that ;)

But I am interested on a global configuration who pass all connection by the
SSH tunnel.

How i can do that ?


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
2008/1/14, Alan McKinnon [EMAIL PROTECTED]:

 On Monday 14 January 2008, Elyahou ITTAH wrote:
  What kind of machine is 127.0.0.1:8080, where putty is running?
  It's likely a windows box, but now putty exists for linux too.
  Is this the same machine you want to run portage on? If not, is the
  portage box on the same network as the putty one?
 
 
  I am on Linux

 Now I am confused. Why do you run Putty on a Linux machine?

 I used it once just to confuse and confound co-workers and have it
 runable in Wine just to impress some other people.

 But I'd never seriously USE it for anything...  That's why I have ...
 um ... openssh and ... err ... telnet

 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com
 --
 gentoo-user@lists.gentoo.org mailing list


Haha i used Putty in Windows and use now on Linux because i known it... :P

Thx for all


Re: [gentoo-user] SSH tunnel With Portage

2008-01-14 Thread Elyahou ITTAH
2008/1/15, Bo Ørsted Andresen [EMAIL PROTECTED]:


 You do not need wine to run putty on Linux. There's a UNIX port. Just
 emerge
 putty and run it. Not that I don't agree it's useless with all the
 alternatives that are available on Linux too.. ;)


What alternative  are you advice me ?


[gentoo-user] mouse freeze

2007-11-13 Thread Elyahou ITTAH
Hi,

I have an Elantech touchpad on Compal FL90 laptop. Sometimes, my touchpad
freeze and this is related in dmesg like that:

psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization,
throwing 1 bytes away.
psmouse.c: resync failed, issuing reconnect request

What's wrong with my configuration ?


Re: [gentoo-user] mounting windows partition with ntfs3g

2007-08-15 Thread Elyahou ITTAH
After windows reboot, all perfect :D
Thx
Elyahou ITTAH

2007/8/15, Stroller [EMAIL PROTECTED]:


 On 14 Aug 2007, at 22:50, Elyahou ITTAH wrote:

  When i wan't to mount my windows partition ( AHCI NTFS ) with
  ntfs3g i got this error:
 
  # ntfs-3g /dev/sda1 /mnt/windows/
  $LogFile indicates unclean shutdown (0, 0)
  Failed to mount '/dev/sda1': Operation not supported
  Mount is denied because NTFS is marked to be in use. Choose one
  action:
  
 
  This is not an external device and i wan't to force it...
 
  Wha'ts i have to do ?

 Reboot to Windows and shut it down using the option in the Start menu.

 Stroller.


 --
 [EMAIL PROTECTED] mailing list




[gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Elyahou ITTAH
ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
FIS=004040a1:0002)
ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb 0x0 data 4096 out
 res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb 0x0 data 4096 out
 res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb 0x0 data 4096 out
 res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2 (HSM violation)
ata1: soft resetting port
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA

it is repeated often.
what that mean ?


Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Elyahou ITTAH
I think that my HD doe's not support ncq...

What i have to do ?

2007/8/15, Ryan Sims [EMAIL PROTECTED]:

 On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
  ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
  ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
  FIS=004040a1:0002)
  ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb
  0x0 data 4096 out
   res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
  (HSM violation)
  ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb
  0x0 data 4096 out
   res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
  (HSM violation)
  ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb
  0x0 data 4096 out
   res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
  (HSM violation)
  ata1: soft resetting port
  ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  ata1.00: configured for UDMA/133
  ata1: EH complete
  sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
  sd 0:0:0:0: [sda] Write Protect is off
  sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
 support
  DPO or FUA
 
  it is repeated often.
  what that mean ?
 

 Google turned up this thread on LKML:
 http://lkml.org/lkml/2007/6/6/195

 You might google around on your drive's model, see if it's NCQ
 blacklisted.


 --
 Ryan W Sims
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] message i don't understand in dmesg

2007-08-15 Thread Elyahou ITTAH
It's a Western Digital Scorpio 160Go

2007/8/16, Elyahou ITTAH [EMAIL PROTECTED]:

 I think that my HD doe's not support ncq...

 What i have to do ?

 2007/8/15, Ryan Sims [EMAIL PROTECTED]:
 
  On 8/15/07, Elyahou ITTAH [EMAIL PROTECTED] wrote:
   ata1.00: exception Emask 0x2 SAct 0x1c SErr 0x0 action 0x2 frozen
   ata1.00: (spurious completions during NCQ issue=0x0 SAct=0x1c
   FIS=004040a1:0002)
   ata1.00: cmd 61/08:10:99:7c:b3/00:00:06:00:00/40 tag 2 cdb
   0x0 data 4096 out
res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
   (HSM violation)
   ata1.00: cmd 61/08:18:01:be:b3/00:00:06:00:00/40 tag 3 cdb
   0x0 data 4096 out
res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
   (HSM violation)
   ata1.00: cmd 61/08:20:29:f2:b3/00:00:06:00:00/40 tag 4 cdb
   0x0 data 4096 out
res 40/00:24:29:f2:b3/00:00:06:00:00/40 Emask 0x2
   (HSM violation)
   ata1: soft resetting port
   ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
   ata1.00: configured for UDMA/133
   ata1: EH complete
   sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
   sd 0:0:0:0: [sda] Write Protect is off
   sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
   sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
  support
   DPO or FUA
  
   it is repeated often.
   what that mean ?
  
 
  Google turned up this thread on LKML:
  http://lkml.org/lkml/2007/6/6/195
 
  You might google around on your drive's model, see if it's NCQ
  blacklisted.
 
 
  --
  Ryan W Sims
  --
  [EMAIL PROTECTED] mailing list
 
 



Re: [gentoo-user] Wrong version magic with alsa_modules

2007-08-14 Thread Elyahou ITTAH
I have compile the modules from the alsa-driver- because my sound
chipset cause some problems ( Realtek ALC 268) In the kernel config I
actually changed in processor type from PENTIUM to CORE

How i can can fix this now ?


2007/8/14, Florian Philipp [EMAIL PROTECTED]:

 Am Dienstag 14 August 2007 01:59:22 schrieb Elyahou ITTAH:
  When I load the alsa-modules snd-hda-intel, i have this error:
 
  FATAL: Error inserting snd_hda_intel
  (/lib/modules/2.6.22-gentoo-r2/misc/pci/hda/snd-hda-intel.ko): Invalid
  module format
 
  In the dmesg :
 
  snd_hda_intel: version magic '2.6.22-gentoo-r2 SMP mod_unload PENTIUMIII
 '
  should be '2.6.22-gentoo-r2 SMP mod_unload CORE2 '
 
 
  I have also the sames errors for othes modules: snd_mixer_oss ,
  snd_seq_oss, ...
 
  # emerge --info
  Portage 2.1.3.5 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6.1-r0,
  2.6.22-gentoo-r2 i686)
  =
  System uname: 2.6.22-gentoo-r2 i686 Intel(R) Core(TM)2 Duo CPU T7500 @
  2.20GHz
  Gentoo Base System release 1.12.10
  Timestamp of tree: Mon, 13 Aug 2007 23:20:01 +
  dev-java/java-config: 1.3.7, 2.0.33-r1
  dev-lang/python: 2.4.4-r4
  dev-python/pycrypto: 2.0.1-r6
  sys-apps/sandbox:1.2.18.1
  sys-devel/autoconf:  2.13, 2.61-r1
  sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
  sys-devel/binutils:  2.17-r1
  sys-devel/gcc-config: 1.3.16
  sys-devel/libtool:   1.5.24
  virtual/os-headers:  2.6.22-r2
  ACCEPT_KEYWORDS=x86 ~x86
  AUTOCLEAN=yes
  CBUILD=i686-pc-linux-gnu
  CFLAGS=-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer
  CHOST=i686-pc-linux-gnu
  CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
  /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
  CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
  /etc/revdep-rebuild /etc/terminfo
  CXXFLAGS=-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer
  DISTDIR=/usr/portage/distfiles
  FEATURES=distlocks metadata-transfer parallel-fetch sandbox sfperms
 strict
  unmerge-orphans userfetch
  GENTOO_MIRRORS=ftp://mirror.ovh.net/gentoo-distfiles/;
  LINGUAS=fr
  MAKEOPTS=-j3
  PKGDIR=/usr/portage/packages
  PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
  --compress --force --whole-file --delete --delete-after --stats
  --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
  --filter=H_**/files/digest-*
  PORTAGE_TMPDIR=/var/tmp
  PORTDIR=/usr/portage
  SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
  USE=X a52 aac acl acpi alsa avi berkdb bitmap-fonts bluetooth bzip2
 bzlib
  cdr cli cracklib crypt cups dbus divx4linux dri dvd dvdr ffmpeg fortran
 ftp
  gdbm gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 irc isdnlog java
  javascript jpeg kde lm_sensors matroska midi mmx mozilla mp3 mpeg msn
  mudflap ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl
  openmp pam pcre pdf perl png pppd python qt3 qt4 quicktime readline real
  reflection sdl session sockets socks5 spl sse sse2 ssl tcltk tcpd tiff
  truetype-fonts type1-fonts unicode usb videos vorbis wifi win32codecs
  wxwindows x264 x86 xine xorg xosd xvid zlib ALSA_CARDS=hda-intel
  ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug
  file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null
 plug
  rate route share shm softvol ELIBC=glibc INPUT_DEVICES=keyboard
 mouse
  evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780
  lb216 lcdm001 mtxorb ncurses text LINGUAS=fr USERLAND=GNU
  VIDEO_CARDS=nvidia
  Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
 LDFLAGS,
  PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
  PORTDIR_OVERLAY
 
  What's wrong ?

 How and when did you compile these modules? With emerge alsa-driver or
 within
 the actual kernel source (make menuconfig, then choosing the alsa
 subsystem)?
 Did you try update-modules? Did you change from Pentium3 to Core2 Duo
 recently?




Re: [gentoo-user] Wrong version magic with alsa_modules

2007-08-14 Thread Elyahou ITTAH
I have recompiled all the modules and i have the same errors...

2007/8/14, Naga [EMAIL PROTECTED]:

 On Tuesday 14 August 2007 01:59:22 Elyahou ITTAH wrote:
  When I load the alsa-modules snd-hda-intel, i have this error:
 
  FATAL: Error inserting snd_hda_intel
  (/lib/modules/2.6.22-gentoo-r2/misc/pci/hda/snd-hda-intel.ko): Invalid
  module format
 
  In the dmesg :
 
  snd_hda_intel: version magic '2.6.22-gentoo-r2 SMP mod_unload PENTIUMIII
 '
  should be '2.6.22-gentoo-r2 SMP mod_unload CORE2 '

 All kernel modules and the kernel must be compiled with the same version
 of
 the compiler and with the same settings.

 Recompile the kernel and the module using the same toolchain and options.

 --
 Naga
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] Wrong version magic with alsa_modules

2007-08-14 Thread Elyahou ITTAH
\o/ I finally installed the alsa-driver 1.0.14 withs patches files and I now
have the sound.

Thx for all

2007/8/14, Naga Toro [EMAIL PROTECTED]:

 On Tuesday 14 August 2007 18.39.22 Elyahou ITTAH wrote:
  I have recompiled all the modules and i have the same errors...

 _and_ the kernel? If so I have no more ideas.

  2007/8/14, Naga [EMAIL PROTECTED]:
   On Tuesday 14 August 2007 01:59:22 Elyahou ITTAH wrote:
 [...]
snd_hda_intel: version magic '2.6.22-gentoo-r2 SMP mod_unload
PENTIUMIII
should be '2.6.22-gentoo-r2 SMP mod_unload CORE2 '
  
   All kernel modules and the kernel must be compiled with the same
 version
   of
   the compiler and with the same settings.
  
   Recompile the kernel and the module using the same toolchain and
 options.

 --
 Naga
 --
 [EMAIL PROTECTED] mailing list




[gentoo-user] mounting windows partition with ntfs3g

2007-08-14 Thread Elyahou ITTAH
When i wan't to mount my windows partition ( AHCI NTFS ) with ntfs3g i got
this error:

# ntfs-3g /dev/sda1 /mnt/windows/
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
  clicking on the 'Safely Remove Hardware' icon in the Windows
  taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
  your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/sda1 /mnt/windows/ -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sda1 /mnt/windows/ ntfs-3g defaults,force 0 0

This is not an external device and i wan't to force it...

Wha'ts i have to do ?

ITTAH Elyahou


[gentoo-user] Wrong version magic with alsa_modules

2007-08-13 Thread Elyahou ITTAH
When I load the alsa-modules snd-hda-intel, i have this error:

FATAL: Error inserting snd_hda_intel
(/lib/modules/2.6.22-gentoo-r2/misc/pci/hda/snd-hda-intel.ko): Invalid
module format

In the dmesg :

snd_hda_intel: version magic '2.6.22-gentoo-r2 SMP mod_unload PENTIUMIII '
should be '2.6.22-gentoo-r2 SMP mod_unload CORE2 '


I have also the sames errors for othes modules: snd_mixer_oss , snd_seq_oss,
...

# emerge --info
Portage 2.1.3.5 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6.1-r0,
2.6.22-gentoo-r2 i686)
=
System uname: 2.6.22-gentoo-r2 i686 Intel(R) Core(TM)2 Duo CPU T7500 @
2.20GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 13 Aug 2007 23:20:01 +
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS=x86 ~x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/revdep-rebuild /etc/terminfo
CXXFLAGS=-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://mirror.ovh.net/gentoo-distfiles/;
LINGUAS=fr
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa avi berkdb bitmap-fonts bluetooth bzip2 bzlib
cdr cli cracklib crypt cups dbus divx4linux dri dvd dvdr ffmpeg fortran ftp
gdbm gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 irc isdnlog java
javascript jpeg kde lm_sensors matroska midi mmx mozilla mp3 mpeg msn
mudflap ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl
openmp pam pcre pdf perl png pppd python qt3 qt4 quicktime readline real
reflection sdl session sockets socks5 spl sse sse2 ssl tcltk tcpd tiff
truetype-fonts type1-fonts unicode usb videos vorbis wifi win32codecs
wxwindows x264 x86 xine xorg xosd xvid zlib ALSA_CARDS=hda-intel
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate
route share shm softvol ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text LINGUAS=fr USERLAND=GNU
VIDEO_CARDS=nvidia
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

What's wrong ?