[gentoo-user] Mono/C#: cannot listen with TcpChannel

2008-04-28 Thread Mike Mazur
Hi,

Having trouble with TcpChannel throwing an exception:

$ cat temp_test.cs
using System;
using System.Net;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;

public class MainClass
{
public static void Main()
{
try
{
TcpChannel ch = new TcpChannel(8895);
}
catch (Exception ex)
{
Console.WriteLine(Exception while attempting to
listen on TCP port 8895.);
throw (ex);
}
}
}
$ mcs -r:System.Runtime.Remoting.dll temp_test.cs
temp_test.cs(13,28): warning CS0219: The variable `ch' is assigned but
its value is never used
Compilation succeeded - 1 warning(s)
$ mono temp_test.exe
Exception while attempting to listen on TCP port 8895.

Unhandled Exception: System.Net.Sockets.SocketException: No such host is known
  at System.Net.Dns.GetHostByName (System.String hostName) [0x0]
  at System.Net.Dns.Resolve (System.String hostName) [0x0]
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.Init
(IServerChannelSinkProvider serverSinkProvider) [0x0]
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor
(IDictionary properties, IServerChannelSinkProvider
serverSinkProvider) [0x0]
  at System.Runtime.Remoting.Channels.Tcp.TcpChannel.Init (IDictionary
properties, IClientChannelSinkProvider clientSink,
IServerChannelSinkProvider serverSink) [0x0]
  at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor (Int32
port) [0x0]
  at MainClass.Main () [0x0]

I also tried the example at
http://www.gotmono.com/docs/remoting/introduction.html but this
exhibits the same problem.

I'm new to Mono development, so I'm not too familiar with all its
libraries and/or components. Could I be missing something that's in
portage?

Thanks in advance,
Mike
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Script to kill long-running application

2008-04-28 Thread Joris Dobbelsteen

Dear,

I'm looking for a script that can kill an application after it has been 
running for a 'long' time. I like to measure the start time (as it 
offloads work, the CPU time time is not a good estimate). Does anyone 
have something useful or some pointers to something I can use for this?


Preferably the script should monitor the processes that are currently 
running.


Thanks,

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



Re: [gentoo-user] driver for ATI RAdeon HD3650

2008-04-28 Thread alain . didierjean
Selon [EMAIL PROTECTED]:


 What would be the best driver for a ATI RAdeon HD3650 graphic interface ?
 Preferably Open Source.
 Thanks for sharing your experience

I finally install ATI proprietary driver, as it seems to be the only one to
fully support this HD3650 card. It emerges fine, but when trying to launch X, it
gives up with the message PreInitDAL failed. What is this DAL thing ? What can
I do ? Searching the web shows this error to be common on different platforms
with different ATI graphic cards since some time. Proposed remedies are
different from one case to the other... Both amd64 and ~amd64 drivers behave the
same...
Any cue ? I'm desperate...

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



[gentoo-user] Portage - touch files

2008-04-28 Thread Enrico Weigelt

Hi folks,


I'd like to automatic purging of portage's temporary files from
time to time (eg. nightly). But this doesn't work since downloaded
uncompressed files have their original timestamps, not the time
of fetch/uncompress.

Is there any way to tweak this to the current timestamp ?


thx
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Portage - touch files

2008-04-28 Thread Neil Bothwick
On Mon, 28 Apr 2008 10:28:35 +0200, Enrico Weigelt wrote:

 I'd like to automatic purging of portage's temporary files from
 time to time (eg. nightly). But this doesn't work since downloaded
 uncompressed files have their original timestamps, not the time
 of fetch/uncompress.

What's wrong with

pgrep emerge || rm -fr $(portageq envvar PORTAGE_TMPDIR)/portage


-- 
Neil Bothwick

Keyboard: (n.) a device used by programmers to write software for a mouse
or joystick and by operators for playing games such as 'word processing.'


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage - touch files

2008-04-28 Thread Etaoin Shrdlu
On Monday 28 April 2008, 10:28, Enrico Weigelt wrote:

 Hi folks,


 I'd like to automatic purging of portage's temporary files from
 time to time (eg. nightly). But this doesn't work since downloaded
 uncompressed files have their original timestamps, not the time
 of fetch/uncompress.

 Is there any way to tweak this to the current timestamp ?

Can't you just check the timestamp of the containing directories?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Portage - touch files

2008-04-28 Thread Enrico Weigelt
* Neil Bothwick [EMAIL PROTECTED] wrote:

 What's wrong with
 
 pgrep emerge || rm -fr $(portageq envvar PORTAGE_TMPDIR)/portage

This removes everything in /var/tmp/portage. I don't want this,
just those which have certain age (eg. 1 day), otherwise it 
could interfere w/ running builds. And it also doesn't clean
old distfiles.

Meanwhile I've learned about $FETCHCOMMAND(_*), but this 
doesn't seem to get the URI passed :(

cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Portage - touch files

2008-04-28 Thread Enrico Weigelt
* Etaoin Shrdlu [EMAIL PROTECTED] wrote:
 On Monday 28 April 2008, 10:28, Enrico Weigelt wrote:
 
  Hi folks,
 
 
  I'd like to automatic purging of portage's temporary files from
  time to time (eg. nightly). But this doesn't work since downloaded
  uncompressed files have their original timestamps, not the time
  of fetch/uncompress.
 
  Is there any way to tweak this to the current timestamp ?
 
 Can't you just check the timestamp of the containing directories?

Good point, at least for the tmpdir stuff :)


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Script to kill long-running application

2008-04-28 Thread Anton S. Ustyuzhanin

Alan McKinnon wrote:

On Monday 28 April 2008, Joris Dobbelsteen wrote:

Dear,

I'm looking for a script that can kill an application after it has
been running for a 'long' time. I like to measure the start time (as
it offloads work, the CPU time time is not a good estimate). Does
anyone have something useful or some pointers to something I can use
for this?

Preferably the script should monitor the processes that are currently
running.


Assuming by long time you mean wall clock time, I would try this 
approach:


1. start your app from a wrapper script that starts your app then 
creates a file named like /var/run/my-monitor/pid and contains the 
output from 'date' when it was started. 
2. write another script that will read all files in /var/run/my-monitor/ 
and calculate the difference between start time and current time. If it 
passes some threshold, kill the process with the PID of the filename

3. run this second script from cron every minute:
   * * * * * root my-monitor-killer

alan


Also take a look at /etc/security/limits.conf (pam_limit)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Would emerge --sync remove old profiles?

2008-04-28 Thread Neil Bothwick
On Sun, 27 Apr 2008 16:56:08 -0700, Mark Knecht wrote:

Do you know of a source for the unsupported  hence deleted
 profiles? 

http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default-linux/x86/2005.0/deprecated?hideattic=0rev=1.4view=log

-- 
Neil Bothwick

Those who can, do. Those who cannot, teach. Those who cannot teach, HACK!


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage - touch files

2008-04-28 Thread Neil Bothwick
On Mon, 28 Apr 2008 10:57:09 +0200, Enrico Weigelt wrote:

  pgrep emerge || rm -fr $(portageq envvar PORTAGE_TMPDIR)/portage  
 
 This removes everything in /var/tmp/portage. I don't want this,
 just those which have certain age (eg. 1 day), otherwise it 
 could interfere w/ running builds. And it also doesn't clean
 old distfiles.

It won't interfere with running ebuilds, because pgrep emerge will cause
it to exit if emerge is running. Deleting anything over a day old is
dangerous, think openoffice on a slow/loaded machine. ebuilds should
clean up after themselves, so you only get cruft in $PORTAGE_TMPDIR when
an ebuild fails.

No, it doesn't clean distfiles, but you didn't ask about them, use eclean
for that.


-- 
Neil Bothwick

As long as you do not move you can still choose any direction.


signature.asc
Description: PGP signature


[gentoo-user] Re: Mono/C#: cannot listen with TcpChannel

2008-04-28 Thread Mike Mazur
Hi,

On Mon, Apr 28, 2008 at 3:15 PM, Mike Mazur [EMAIL PROTECTED] wrote:
 Hi,

  Having trouble with TcpChannel throwing an exception:

 [...]

  Unhandled Exception: System.Net.Sockets.SocketException: No such host is 
 known
   at System.Net.Dns.GetHostByName (System.String hostName) [0x0]
   at System.Net.Dns.Resolve (System.String hostName) [0x0]
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.Init
  (IServerChannelSinkProvider serverSinkProvider) [0x0]
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor
  (IDictionary properties, IServerChannelSinkProvider
  serverSinkProvider) [0x0]
   at System.Runtime.Remoting.Channels.Tcp.TcpChannel.Init (IDictionary
  properties, IClientChannelSinkProvider clientSink,
  IServerChannelSinkProvider serverSink) [0x0]
   at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor (Int32
  port) [0x0]
   at MainClass.Main () [0x0]

The fix was to put my machine's hostname in /etc/hosts.

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



Re: [gentoo-user] Script to kill long-running application

2008-04-28 Thread Alan McKinnon
On Monday 28 April 2008, Joris Dobbelsteen wrote:
 Dear,

 I'm looking for a script that can kill an application after it has
 been running for a 'long' time. I like to measure the start time (as
 it offloads work, the CPU time time is not a good estimate). Does
 anyone have something useful or some pointers to something I can use
 for this?

 Preferably the script should monitor the processes that are currently
 running.

Assuming by long time you mean wall clock time, I would try this 
approach:

1. start your app from a wrapper script that starts your app then 
creates a file named like /var/run/my-monitor/pid and contains the 
output from 'date' when it was started. 
2. write another script that will read all files in /var/run/my-monitor/ 
and calculate the difference between start time and current time. If it 
passes some threshold, kill the process with the PID of the filename
3. run this second script from cron every minute:
   * * * * * root my-monitor-killer

alan


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] test

2008-04-28 Thread Eddie Mihalow Jr

test
--
Edward A Mihalow Jr
Mudbug Computers and Networks
Gentoo! Linux
Registered Linux User#225662
New Orleans,LA
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Portage - touch files

2008-04-28 Thread Enrico Weigelt
* Neil Bothwick [EMAIL PROTECTED] wrote:

 It won't interfere with running ebuilds, because pgrep emerge 
 will cause it to exit if emerge is running. 

Ah, I missed that point ;-o

 Deleting anything over a day old is dangerous, think openoffice 
 on a slow/loaded machine. 

Therefore I'm using more than one day. Actually, I don't use
overbloated stuff like OO ;-P

 ebuilds should clean up after themselves, so you only get cruft 
 in $PORTAGE_TMPDIR when an ebuild fails.

Right, but this tends to be quite often in the last time :(

 No, it doesn't clean distfiles, but you didn't ask about them, 
 use eclean for that.

hmm, won't help me very much, since I don't want to keep distfiles
for already installed packages, but those which are scheduled
for update (running nightly emerge -uDF world).


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?

2008-04-28 Thread Enrico Weigelt
* Alan McKinnon [EMAIL PROTECTED] wrote:

 'su -' and become root where everything is allowed.
 'sudo' or a gui derivative. If the user has been authorized by root, 
 just run the whole command with root priviledges as the user can 
 obviously be trusted.

You could also try my su-wrapper - it maps specific uid+cmdline
to another uid+cmdline. Fine for things like allowing specific 
users to dialup, etc.

 Microsoft's stated reason for this is to annoy users so much that they 
 will annoy 3rd party developers who will write software that doesn't 
 need root to install. H.

*rofl*
Well, that's just the good old M$ way ;-P


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] NFS through a firewall

2008-04-28 Thread Enrico Weigelt
* Etaoin Shrdlu [EMAIL PROTECTED] wrote:
 On Friday 11 April 2008, 15:49, Roger Mason wrote:
 
  Hello,
 
  I'm trying to configure the firewall on a client to allow that client
  to mount an nfs directory.  The client runs a netfilter firewall, the
  server uses tcpwrapper.
 
 http://marc.info/?l=gentoo-userm=120546886304830w=2

BTW: if you don't actually *need* NFS, but just some network
filesystem, you might want to try 9P.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Would emerge --sync remove old profiles?

2008-04-28 Thread Mark Knecht
On Mon, Apr 28, 2008 at 2:05 AM, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Sun, 27 Apr 2008 16:56:08 -0700, Mark Knecht wrote:

  Do you know of a source for the unsupported  hence deleted
   profiles?

  
 http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default-linux/x86/2005.0/deprecated?hideattic=0rev=1.4view=log


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



[gentoo-user] emerge virtual/emacs fails

2008-04-28 Thread Roger Mason
Hello,

Has anyone else run into this:

emerge virtual/emacs

[snip]

 Unpacking m4-1.4.11.tar.lzma to /var/tmp/portage/m4-1.4.11/work
unpack m4-1.4.11.tar.lzma: file format not recognized. Ignoring.
 Source unpacked.
 Compiling source in /var/tmp/portage/m4-1.4.11 ...

!!! ERROR: sys-devel/m4-1.4.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  m4-1.4.11.ebuild, line 23:   Called econf '--enable-nls'
  '--enable-changeword'
  ebuild.sh, line 543:   Called die

!!! no configure script found
!!! If you need support, post the topmost build error, and the call
!!! stack if relevant.

I looked on bugzilla, where it was suggested to run:

emerge -1 app-arch/lzma-utils

I did that but the error on m4 persists.

If anyone has a workaround, please pass it on.

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge virtual/emacs fails

2008-04-28 Thread Justin

Roger Mason schrieb:

Hello,

Has anyone else run into this:

emerge virtual/emacs

[snip]

  

Unpacking m4-1.4.11.tar.lzma to /var/tmp/portage/m4-1.4.11/work


unpack m4-1.4.11.tar.lzma: file format not recognized. Ignoring.
  

Source unpacked.
Compiling source in /var/tmp/portage/m4-1.4.11 ...



!!! ERROR: sys-devel/m4-1.4.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  m4-1.4.11.ebuild, line 23:   Called econf '--enable-nls'
  '--enable-changeword'
  ebuild.sh, line 543:   Called die

!!! no configure script found
!!! If you need support, post the topmost build error, and the call
!!! stack if relevant.

I looked on bugzilla, where it was suggested to run:

emerge -1 app-arch/lzma-utils

I did that but the error on m4 persists.

If anyone has a workaround, please pass it on.

Thanks,
Roger
  

First try to do

rm -rv /var/tmp/portage/*


and emerge it again.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] NFS through a firewall

2008-04-28 Thread Roger Mason
Enrico Weigelt [EMAIL PROTECTED] writes:


 BTW: if you don't actually *need* NFS, but just some network
 filesystem, you might want to try 9P.

I finally got this solved with some help from this list.

Your comment about the 9P filesystem is interesting as I'm somewhat
interested in an operating system for a cluster, and the 9P operating
system, from what I've read, was designed as a distributed system from
the start.  It is a pity there seems to have been so little software
ported to run on it.  I've also played a little with xcpu
(http://xcpu.org/) and may install that in the summer.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] sys-libs/-MERGING-pam

2008-04-28 Thread Mark Knecht
Hi,
   I'm just about done cleaning up a machine that I haven't touched in
a while. For the first time I used eix-test-obsolete to look for
inconsistencies in the portage config files. It worked wel. The
machine is clean in terms of emerge -DuN world;emerge
--depclean;revdep-rebuild. However I am left with one strange package
that doesn't exit. I'm thinking sys-libs/-MERGING-pam is left over
from some emerge that possibly failed and would like to clean it up. I
does exist in /var/db/pkg but I've never touched anything in these
dirfectories by hand so I'd like to know the right way to go about
this.

   The other few packages that failed in eix-test-obsolete allowed an
emerge -C but this one doesn't.

Thanks,
Mark

gandalf ~ # slocate MERGING-pam
/var/db/pkg/sys-libs/-MERGING-pam-0.99.8.1-r1
gandalf ~ #

gandalf ~ # eix-test-obsolete

No non-matching entries in /etc/portage/package.keywords.
No non-matching entries in /etc/portage/package.mask.
No non-matching entries in /etc/portage/package.unmask.
No non-matching or empty entries in /etc/portage/package.use.
No non-matching or empty entries in /etc/portage/package.cflags.
The following installed packages are not in the database:

sys-libs/-MERGING-pam
--

No redundant entries in /etc/portage/package.keywords (or test switched off).
No redundant entries in /etc/portage/package.mask (or test switched off).
No redundant entries in /etc/portage/package.unmask (or test switched off).
No redundant entries in /etc/portage/package.use (or test switched off).
No redundant entries in /etc/portage/package.cflags (or test switched off).
No uninstalled entries in /etc/portage/package.keywords (or test switched off).
No uninstalled entries in /etc/portage/package.mask (or test switched off).
No uninstalled entries in /etc/portage/package.unmask (or test switched off).
No uninstalled entries in /etc/portage/package.use (or test switched off).
No uninstalled entries in /etc/portage/package.cflags (or test switched off).
All installed versions of packages are in the database (or test switched off).
gandalf ~ # eix -I pam
[I] sys-libs/pam
 Available versions:  0.99.8.1-r1 0.99.9.0 ~1.0.1 {audit cracklib
elibc_FreeBSD elibc_glibc nls selinux test vim-syntax}
 Installed versions:  0.99.9.0(09:06:34 12/24/07)(cracklib
elibc_glibc nls -audit -elibc_FreeBSD -selinux -test -vim-syntax)
 Homepage:http://www.kernel.org/pub/linux/libs/pam/
 Description: Linux-PAM (Pluggable Authentication Modules)

gandalf ~ #
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Script to kill long-running application

2008-04-28 Thread Joris Dobbelsteen

Alan McKinnon wrote:

On Monday 28 April 2008, Joris Dobbelsteen wrote:

Dear,

I'm looking for a script that can kill an application after it has
been running for a 'long' time. I like to measure the start time (as
it offloads work, the CPU time time is not a good estimate). Does
anyone have something useful or some pointers to something I can use
for this?

Preferably the script should monitor the processes that are currently
running.


Assuming by long time you mean wall clock time, I would try this 
approach:


1. start your app from a wrapper script that starts your app then 
creates a file named like /var/run/my-monitor/pid and contains the 
output from 'date' when it was started. 
2. write another script that will read all files in /var/run/my-monitor/ 
and calculate the difference between start time and current time. If it 
passes some threshold, kill the process with the PID of the filename

3. run this second script from cron every minute:
   * * * * * root my-monitor-killer

alan


Thanks for your support, however I'm looking for more of less something 
already created (sames.


However afer a complete day searching (total time) I refound what I had 
spotted a couple weeks earlier:

http://sial.org/code/perl/scripts/timeout.pl
It doesn't pass back exit codes, which is a major problem for me, as I 
rely on them (in the upper level script)...


Regarding pam_limits: I'm a user on the box, not the admin... So this 
won't work.


- Joris

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



[gentoo-user] Baselayout 2 - one more (unpleasant) surprise

2008-04-28 Thread Helmut Jarausch
Hi,

on a machine with a ppp (ADSL) connection my 
atm_over_ethernet bride always dies when started during boot.

I first tried to start it (after boot) via
/etc/init.d/net.nas0 restart

which reliably shows the same effect.

4 # /etc/init.d/net.nas0 restart
 * Bringing up interface nas0
 *   Starting RFC 2684 Bridge control on nas0
 *   start-stop-daemon: caught an interrupt
 *   start-stop-daemon: /usr/sbin/br2684ctl died  [ !! 
] * ERROR: net.nas0 failed to start


But then I do it in two steps
/etc/init.d/net.nas0 stop
and afterwards
/etc/init.d/net.nas0 start

which (reliably) works.

5 # /etc/init.d/net.nas0 stop
 * WARNING: net.nas0 is already stopped
6 # /etc/init.d/net.nas0 start
 * Bringing up interface nas0
 *   Starting RFC 2684 Bridge control on nas0 [ ok 
] *   null ... 


Needless to say that this has been working for years(!)
with baselayout 1.x,
and the package net-misc/br2684ctl hasn't changed for a long time.

So, what's going on and what to do about it?

Shall I make a bug report?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?

2008-04-28 Thread Stroller


On 27 Apr 2008, at 11:55, Alan McKinnon wrote:

...
Microsoft's stated reason for this is to annoy users so much that they
will annoy 3rd party developers who will write software that doesn't
need root to install. H.


Is this not - substantially - the same as the reason for the Portage  
QA warning messages?

;)

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



Re: [gentoo-user] mktemp dependency problems

2008-04-28 Thread Chris Brennan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've noticed that after my upgrade to bl2/openrc and upgrading coreutils
(and unmerging mktemp) that wgetpaste complains about mktemp not being
found.

Uwe Thiem wrote:
| On Saturday 26 April 2008, Ralf Stephan wrote:
| Hello,
| recently sys-apps/mktemp is blocking coreutils even in x86.
| mktemp is needed by baselayout, debianutils and a2ps.
| As a2ps is optional and newer baselayout (~x86) version
| no longer require mktemp, that leaves debianutils requiring
| mktemp, even in ~x86 versions.
|
| Mktemp is now part of coreutils. Unmerge mktemp, emerge coreutils, and
| you are set.
|
| Uwe
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIFe2g8hUIAnGfls4RAnoGAJ9Ql2xSc4KbfwNeMvjNYlLf63HuYwCeMnEU
ePkx3hGXdk2ElKXBTuTibUs=
=g9mh
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: sys-libs/-MERGING-pam

2008-04-28 Thread Mark Knecht
On Mon, Apr 28, 2008 at 6:02 AM, Mark Knecht [EMAIL PROTECTED] wrote:
SNIP

  gandalf ~ # slocate MERGING-pam
  /var/db/pkg/sys-libs/-MERGING-pam-0.99.8.1-r1
  gandalf ~ #


I'm never taken the time to understand exactly how portage keeps track
of what is on a system so I'm now curious what represents an
'installed' package. Is it simply that there is a directory located
under /var/db/pkg?

Can I safely remove this directory? As a test I moved it elsewhere and
now eix-test-obsolete doesn't complain. I presume at this point I can
delete it. there's nothing in the directory as best I can tell and the
version number does not match the version of pam currently install.

Thanks in advance,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] mktemp dependency problems

2008-04-28 Thread Francisco Rivas
Hi everybody,

I have a laptop Dell Inspiron 6400 with an ATI Mobility X1300 video card and
Kernel 2.6.23-gentoo-r3. I installed ATI driver using emerge ati-drivers,
the version installed 8.40.4, after the installation I did the aticonfig
--initial but I not getting acceleration, plus there is another thing that I
want to understand, if I use the command eselect opengl set ati (as root)
the system switch to it, but my normal user doesn't. Actually wheter I
execute glxinfo as normal user I get :

//some stuff erased
0x5f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x60 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x61 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x62 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
Segmentation Fault
But wheter I execute as root I get no Segmentation Fault.

Besides, looking at dmesg I found this

glxinfo[5928]: segfault at 0018 eip b7f73b9a esp bfa0b1f0 error 4
glxinfo[5929]: segfault at 0018 eip b7f6db9a esp bfbcabb0 error 4
glxinfo[5930]: segfault at 0018 eip b7f13b9a esp bf84a030 error 4
glxinfo[5931]: segfault at 0018 eip b7f63b9a esp bfe6be50 error 4
glxinfo[5932]: segfault at 0018 eip b7fe8b9a esp bfe8ce70 error 4
glxinfo[5933]: segfault at 0018 eip b7efdb9a esp bfc63450 error 4
glxinfo[5934]: segfault at 0018 eip b7f06b9a esp bfcbdca0 error 4
glxinfo[5935]: segfault at 0018 eip b7fcab9a esp bfe1c600 error 4
glxinfo[5936]: segfault at 0018 eip b7fbeb9a esp bf896880 error 4
glxinfo[5937]: segfault at 0018 eip b7f72b9a esp bfa0f1f0 error 4

And I don't know what to do. Is my mistake?, could anyone help me with this?

thanks in advance and best regards..
--
Francisco Rivas
http://www.vaslibre.org.ve
-
And on the seventh day God said :wq and then make
http://beck3r.wordpress.com/
Linux User (New) : #448324
Linux Machine (New) : 355187
---
4to Congreso Nacional de SL
http://www.cnsl.org.ve/tiki-index.php?page=carabobo


Re: [gentoo-user] mktemp dependency problems

2008-04-28 Thread Alan McKinnon
On Monday 28 April 2008, Chris Brennan wrote:
 I've noticed that after my upgrade to bl2/openrc and upgrading
 coreutils (and unmerging mktemp) that wgetpaste complains about
 mktemp not being found.

1. Please don't top post. This thread now reads in the sequence 2,3,1 
which is harder to parse than necessary

2. coreutils provides mktemp, as /usr/bin/mktemp which ought to be in 
your $PATH. Check the output of 'equery files coreutils' to see if 
mktemp is there, if not then remerge coreutils.

alan






 Uwe Thiem wrote:
 | On Saturday 26 April 2008, Ralf Stephan wrote:
 | Hello,
 | recently sys-apps/mktemp is blocking coreutils even in x86.
 | mktemp is needed by baselayout, debianutils and a2ps.
 | As a2ps is optional and newer baselayout (~x86) version
 | no longer require mktemp, that leaves debianutils requiring
 | mktemp, even in ~x86 versions.
 |
 | Mktemp is now part of coreutils. Unmerge mktemp, emerge coreutils,
 | and you are set.
 |
 | Uwe



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] mktemp dependency problems

2008-04-28 Thread Dirk Heinrichs
Am Montag, 28. April 2008 schrieb Francisco Rivas:

 I have a laptop Dell Inspiron 6400 with an ATI Mobility X1300 video card
 and Kernel 2.6.23-gentoo-r3. I installed ATI driver using emerge
 ati-drivers, the version installed 8.40.4, after the installation I did the
 aticonfig --initial but I not getting acceleration, plus there is another
 thing that I want to understand, if I use the command eselect opengl set
 ati (as root) the system switch to it, but my normal user doesn't. Actually
 wheter I execute glxinfo as normal user I get :

I don't see how this is related to mktemp dependency problems. Please do not 
hijack other threads by replying to an existing one when you really want to 
post a new question.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] portage nfs permissions

2008-04-28 Thread Chris Frederick

Hi all,

I'm trying to set up the portage directory to be hosted over nfs. 
Everything is working great but I would like to increase the security a 
little.  I was wondering if there's an easy way to restrict 'emerge 
--sync' to only work on the server, while still letting all the nfs 
client machines download sources and emerge packages.


I was thinking of doing an 'all_squash' on the server, then changing the 
/distfiles directory to give group write to the anongid account.


I've tried this with no luck.  I keep getting an error trying to fetch 
the package.  I'm assuming it has something to do with the lock files 
that emerge uses to prevent multiple downloads of the same package source.


I've tried to google to find a working configuration like this, but so 
far I've come up empty.  Does anyone else have some ideas on how I can 
get this to work?


Thanks,

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



Re: [gentoo-user] portage nfs permissions

2008-04-28 Thread Albert Hopkins
On Mon, 2008-04-28 at 12:03 -0500, Chris Frederick wrote:
 Hi all,
 
 I'm trying to set up the portage directory to be hosted over nfs. 
 Everything is working great but I would like to increase the security
 a 
 little.  I was wondering if there's an easy way to restrict 'emerge 
 --sync' to only work on the server, while still letting all the nfs 
 client machines download sources and emerge packages.

Have clients only mount portage read-only and put distfiles in another
fs and make it read-write.

Also you should disable locking on distfiles if you use it over NFS:
FEATURES=-distlocks.

 
-a

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



Re: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?

2008-04-28 Thread Alan McKinnon
On Monday 28 April 2008, Stroller wrote:
 On 27 Apr 2008, at 11:55, Alan McKinnon wrote:
  ...
  Microsoft's stated reason for this is to annoy users so much that
  they will annoy 3rd party developers who will write software that
  doesn't need root to install. H.

 Is this not - substantially - the same as the reason for the Portage
 QA warning messages?
 ;)


hehehe, well spotted :-)

Superficially similar, but very different in implementation. Portage 
tells you about stuff that could be improved, it can be disabled by 
those who don't know what to do about it and the user has the choice.

UAC just gets in your face like an annoying fruit fly buzzing round your 
nose and won't go away. The user does not have a choice worth a damn 
and is not in control


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



RE: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?

2008-04-28 Thread John Krukoff
 -Original Message-
 From: Alan McKinnon [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 28, 2008 10:48 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Messed up - how do I emerge coreutils once
 coreutils is gone?
 
 On Monday 28 April 2008, Stroller wrote:
  On 27 Apr 2008, at 11:55, Alan McKinnon wrote:
   ...
   Microsoft's stated reason for this is to annoy users so much that
   they will annoy 3rd party developers who will write software that
   doesn't need root to install. H.
 
  Is this not - substantially - the same as the reason for the Portage
  QA warning messages?
  ;)
 
 
 hehehe, well spotted :-)
 
 Superficially similar, but very different in implementation. Portage
 tells you about stuff that could be improved, it can be disabled by
 those who don't know what to do about it and the user has the choice.
 
 UAC just gets in your face like an annoying fruit fly buzzing round your
 nose and won't go away. The user does not have a choice worth a damn
 and is not in control
 
 
 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com
 
 --
 gentoo-user@lists.gentoo.org mailing list

UAC can be disabled. Fairly easily, in fact:
http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-ua
c-the-easy-way-on-windows-vista/

-
John Krukoff
[EMAIL PROTECTED]

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



Re: [gentoo-user] portage nfs permissions

2008-04-28 Thread Uwe Thiem
On Monday 28 April 2008, Albert Hopkins wrote:
 On Mon, 2008-04-28 at 12:03 -0500, Chris Frederick wrote:
  Hi all,
 
  I'm trying to set up the portage directory to be hosted over nfs.
  Everything is working great but I would like to increase the
  security a
  little.  I was wondering if there's an easy way to restrict
  'emerge --sync' to only work on the server, while still letting
  all the nfs client machines download sources and emerge packages.

 Have clients only mount portage read-only and put distfiles in
 another fs and make it read-write.

Yes, this should work. I have got just one question: How does 
disabling emerge --sync from NFS clients improve security?

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage nfs permissions

2008-04-28 Thread Chris Frederick

Uwe Thiem wrote:

On Monday 28 April 2008, Albert Hopkins wrote:

On Mon, 2008-04-28 at 12:03 -0500, Chris Frederick wrote:

Hi all,

I'm trying to set up the portage directory to be hosted over nfs.
Everything is working great but I would like to increase the
security a
little.  I was wondering if there's an easy way to restrict
'emerge --sync' to only work on the server, while still letting
all the nfs client machines download sources and emerge packages.

Have clients only mount portage read-only and put distfiles in
another fs and make it read-write.


Yes, this should work. I have got just one question: How does 
disabling emerge --sync from NFS clients improve security?


Uwe



I have a number of overlay ebuilds that I need in place that override 
specific versions of packages, and I don't want various users to 'emerge 
--sync' too often and break things by installing a non-patched package 
that has an old overlay.  This way I can also keep all the clients at 
the same revs of everything and avoid various bugs with things like 
pam/vmware/kernels/graphics drivers/etc...  Plus there's the whole 
bandwidth saving issue.


The biggest reason is so someone doesn't get a newer pam_usb or pam_ldap 
 than the overlay versions and then can't login anymore.


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



Re: [gentoo-user] portage nfs permissions

2008-04-28 Thread Chris Frederick

Albert Hopkins wrote:

On Mon, 2008-04-28 at 12:03 -0500, Chris Frederick wrote:

Hi all,

I'm trying to set up the portage directory to be hosted over nfs. 
Everything is working great but I would like to increase the security
a 
little.  I was wondering if there's an easy way to restrict 'emerge 
--sync' to only work on the server, while still letting all the nfs 
client machines download sources and emerge packages.


Have clients only mount portage read-only and put distfiles in another
fs and make it read-write.

Also you should disable locking on distfiles if you use it over NFS:
FEATURES=-distlocks.

 
-a




Why would I need to disable locking?  Wouldn't that stop multiple users 
from downloading the same package at the same time and bring up 
potential race conditions that can break the emerge?


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



Re: [gentoo-user] emerge virtual/emacs fails

2008-04-28 Thread Roger Mason
Justin [EMAIL PROTECTED] writes:


 !!! ERROR: sys-devel/m4-1.4.11 failed.

 I looked on bugzilla, where it was suggested to run:

 emerge -1 app-arch/lzma-utils

 I did that but the error on m4 persists.

 If anyone has a workaround, please pass it on.

 Thanks,
 Roger
   
 First try to do

 rm -rv /var/tmp/portage/*


 and emerge it again.

Thanks Justin,  unfortunately that did not work: I have exactly the
same error.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage nfs permissions

2008-04-28 Thread Albert Hopkins
On Mon, 2008-04-28 at 15:03 -0500, Chris Frederick wrote:
 Albert Hopkins wrote:
  On Mon, 2008-04-28 at 12:03 -0500, Chris Frederick wrote:
[..]
  Also you should disable locking on distfiles if you use it over NFS:
  FEATURES=-distlocks.
  
   
  -a
  
 
 Why would I need to disable locking?  Wouldn't that stop multiple users 
 from downloading the same package at the same time and bring up 
 potential race conditions that can break the emerge?

In my experience at least this causes emerge to hang on NFS clients for
lockfiles that don't even exist on the server.  Also see the man page
for make.conf.

Actually I don't think there will be any race conditions.  IIRC portage
will check to see if the file already exists in distfiles, if it does it
will compare checksums, if it fails then the emerge fails.  So worst
case scenario is that one or more simultaneous emerges will fail. 

For my usage, the former is much more likely to happen than the latter
(which has yet to happen to me).


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



[gentoo-user] ftdi usb-serial converter broken

2008-04-28 Thread James
Hello,

I've been using FTDI's usb-serial converters for a few years now with
great success.

I have not used minicom in a month or so and now it's broken
on all(3) of the laptops where it use to work. I have googled 
for a while today, with not luck on this issue.

It the /etc/minicom/minirc.dfl used to use
/dev/ttyUSB0  on several machines.

Now I get:  nu such file or directory.

CD into /dev and sure enough ttyUSB0 nore ttyUSB* is not there
so this is at least a udev issue?


Also, I went to rebuild the gentoo-2.6.24-r4 kernel and could not
locate the driver item for ftdi (maybe it has been combined into
a mega driver or such?

Note, I still have minicom working on desktop systems that have regular
serial (16550) ports.

ideas?

James

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



Re: [gentoo-user] ftdi usb-serial converter broken

2008-04-28 Thread Alan McKinnon
On Monday 28 April 2008, James wrote:
 Hello,

 I've been using FTDI's usb-serial converters for a few years now with
 great success.

I use one of those gadgets. Wonderful devices, they always 
JustWorked(tm)

 I have not used minicom in a month or so and now it's broken
 on all(3) of the laptops where it use to work. I have googled
 for a while today, with not luck on this issue.

 It the /etc/minicom/minirc.dfl used to use
 /dev/ttyUSB0  on several machines.

 Now I get:  nu such file or directory.

 CD into /dev and sure enough ttyUSB0 nore ttyUSB* is not there
 so this is at least a udev issue?

No, it's done by the driver and udev just goes along with what the 
driver creates. My specs:

[EMAIL PROTECTED] /etc/udev/rules.d $ uname -a
Linux nazgul 2.6.24-gentoo-r4 #2 SMP PREEMPT Mon Apr 7 18:40:36 SAST 
2008 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel 
GNU/Linux

Plugging in the device gives me this from dmesg:
Apr 28 23:44:04 nazgul [110152.957575] usb 3-1: new full speed USB 
device using uhci_hcd and address 5
Apr 28 23:44:04 nazgul [110153.078246] usb 3-1: configuration #1 chosen 
from 1 choice
Apr 28 23:44:04 nazgul [110153.124828] usbcore: registered new interface 
driver usbserial
Apr 28 23:44:04 nazgul [110153.124855] drivers/usb/serial/usb-serial.c: 
USB Serial support registered for generic
Apr 28 23:44:04 nazgul [110153.124903] usbcore: registered new interface 
driver usbserial_generic
Apr 28 23:44:04 nazgul [110153.124906] drivers/usb/serial/usb-serial.c: 
USB Serial Driver core
Apr 28 23:44:04 nazgul [110153.136853] drivers/usb/serial/usb-serial.c: 
USB Serial support registered for FTDI USB Serial Device
Apr 28 23:44:04 nazgul [110153.136903] ftdi_sio 3-1:1.0: FTDI USB Serial 
Device converter detected
Apr 28 23:44:04 nazgul [110153.136939] drivers/usb/serial/ftdi_sio.c: 
Detected FT232RL
Apr 28 23:44:04 nazgul [110153.137035] usb 3-1: FTDI USB Serial Device 
converter now attached to ttyUSB0
Apr 28 23:44:04 nazgul [110153.137050] usbcore: registered new interface 
driver ftdi_sio
Apr 28 23:44:04 nazgul [110153.137053] drivers/usb/serial/ftdi_sio.c: 
v1.4.3:USB FTDI Serial Converters Driver

and I get this device node created automagically:
[EMAIL PROTECTED] /etc/udev/rules.d $ ls -al /dev/ttyU*
crw-rw 1 root uucp 188, 0 2008-04-28 23:44 /dev/ttyUSB0

There are no specific udev rules as shown by:
[EMAIL PROTECTED] /etc/udev/rules.d $ grep -ir usb * | grep tty
[EMAIL PROTECTED] /etc/udev/rules.d $ grep -ir tty * | grep usb
[EMAIL PROTECTED] /etc/udev/rules.d $ grep -ir ftdi *
[EMAIL PROTECTED] /etc/udev/rules.d $ grep -ir 188 *
[EMAIL PROTECTED] /etc/udev/rules.d $

 Also, I went to rebuild the gentoo-2.6.24-r4 kernel and could not
 locate the driver item for ftdi (maybe it has been combined into
 a mega driver or such?

It's where it's always been :-)

Device Drivers - USB support - USB Serial Converter support - USB 
FTDI Single Port Serial Driver (EXPERIMENTAL)

I had no trouble finding it when I built this kernel so I assume it 
didn't move. The driver's dependencies:

Symbol: USB_SERIAL_FTDI_SIO [=m]  
Prompt: USB FTDI Single Port Serial Driver (EXPERIMENTAL)
  Defined at drivers/usb/serial/Kconfig:167
  Depends on: USB_SUPPORT  USB!=n  USB_SERIAL  EXPERIMENTAL


Maybe you forgot to configure EXPERIMENTAL=Y ?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



[gentoo-user] Re: sys-libs/-MERGING-pam

2008-04-28 Thread Mark Knecht
On Mon, Apr 28, 2008 at 8:54 AM, Mark Knecht [EMAIL PROTECTED] wrote:
 On Mon, Apr 28, 2008 at 6:02 AM, Mark Knecht [EMAIL PROTECTED] wrote:
  SNIP

 
gandalf ~ # slocate MERGING-pam
/var/db/pkg/sys-libs/-MERGING-pam-0.99.8.1-r1
gandalf ~ #
  

  I'm never taken the time to understand exactly how portage keeps track
  of what is on a system so I'm now curious what represents an
  'installed' package. Is it simply that there is a directory located
  under /var/db/pkg?

  Can I safely remove this directory? As a test I moved it elsewhere and
  now eix-test-obsolete doesn't complain. I presume at this point I can
  delete it. there's nothing in the directory as best I can tell and the
  version number does not match the version of pam currently install.

  Thanks in advance,
  Mark


So, finishing this topic off on my own for now this Gentoo doc:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1

states the following:

QUOTE
Portage Database

Portage stores the state of your system (what packages are installed,
what files belong to which package, ...) in /var/db/pkg. Do not alter
these files manually! It might break Portage's knowledge of your
system.
/QUOTE

So, reading between the lines, it seems that if someone knows wht they
are doing then they can change files in this directory. In my case the
-MERGING directory had no files in it and didn't match the installed
version of pam. I removed it and now eix-test-obsolete is happy.

Unless someone comes up with some addition info on things I should do
to clean this up more completely I figure I got a little bit of
education which is cool.

Sorry for the noise,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] ftdi usb-serial converter broken

2008-04-28 Thread David Relson
On Tue, 29 Apr 2008 00:00:58 +0200
Alan McKinnon wrote:

 On Monday 28 April 2008, James wrote:
  Hello,
 
  I've been using FTDI's usb-serial converters for a few years now
  with great success.
 
 I use one of those gadgets. Wonderful devices, they always 
 JustWorked(tm)

Indeed, they are wonderful.  digression I used a pair of them on an
embedded project with micro-controllers talking via 500Kb serial
links.  The problem I encountered with Windoze is that (1) 500Kb is a
non-standard baud rate and required a customized config file and (2)
Windoze used the right config file for 1 converter and the wrong config
file for the other.  Apparently Windoze identified the individual
converters and used the config file it thought proper for each one --
rather than a single config file for both. /digression 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: sys-libs/-MERGING-pam

2008-04-28 Thread Neil Bothwick
On Mon, 28 Apr 2008 16:01:09 -0700, Mark Knecht wrote:

 Unless someone comes up with some addition info on things I should do
 to clean this up more completely I figure I got a little bit of
 education which is cool.

There was a post to this list explaining this not long ago. AFAIR, the
MERGING entries in /var/db/pkg are created while emerge is copying the
files from the temporary build location to the live filesystem. If they
are still there, it means that the merge was aborted, perhaps by a crash
or flat battery, at a potentially critical point. While it should be safe
to remove these, you should re-emerge the package to make sure your
installation is consistent.


-- 
Neil Bothwick

The three Rs of Microsoft support: Retry, Reboot, Reinstall.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: sys-libs/-MERGING-pam

2008-04-28 Thread Mark Knecht
On Mon, Apr 28, 2008 at 4:55 PM, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Mon, 28 Apr 2008 16:01:09 -0700, Mark Knecht wrote:

   Unless someone comes up with some addition info on things I should do
   to clean this up more completely I figure I got a little bit of
   education which is cool.

  There was a post to this list explaining this not long ago. AFAIR, the
  MERGING entries in /var/db/pkg are created while emerge is copying the
  files from the temporary build location to the live filesystem. If they
  are still there, it means that the merge was aborted, perhaps by a crash
  or flat battery, at a potentially critical point. While it should be safe
  to remove these, you should re-emerge the package to make sure your
  installation is consistent.


  --
  Neil Bothwick

Thanks Neil. Makes perfect sense and since the -MERGING directory was
for an older version and I now have a newer version installed I think
I'm in good shape.

Thanks again for the input.

cheers,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: ftdi usb-serial converter broken

2008-04-28 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 Maybe you forgot to configure EXPERIMENTAL=Y ?


Yes, sure that's it but where exactly do you indicate Y
to the Experimental?  That must be what I cannot find.

Under  USB Serial Converter support I'm not seeing any
of the experimental  driver choices, so I've definately
missed the option that makes those all visible. Where
exactly do you turn it on?

I cannot find it.

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



Re: [gentoo-user] Re: ftdi usb-serial converter broken

2008-04-28 Thread Ian Graeme Hilt
James wrote:
 I cannot find it.

cd /usr/src/linux  make menuconfig

Then, hit the / key. Type in FTDI. This should bring up the path for that
driver.

In any case, why can you not use a module?

-- 
Ian Graeme Hilt

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



[gentoo-user] FIXED: Re: ftdi usb-serial converter broken

2008-04-28 Thread James
James wireless at tampabay.rr.com writes:

 
 Alan McKinnon alan.mckinnon at gmail.com writes:
 
  Maybe you forgot to configure EXPERIMENTAL=Y ?

Well, I'm not sure how, but my kernel sources were
wacked. I deleted them and installad  ~2.6.25-r1
and all is fine now.




thanks for the help


James

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



[gentoo-user] different strange kernel name - 2.6.24-gentoo-r4-g506ab20b-dirty

2008-04-28 Thread Chuanwen Wu
Hi,
I want to add my codes to the kernel source( I use gentoo-source ) and
compile it as modules.
All my codes are under the directory /usr/src/linu/fs/dnfs/.
The problem is why everytime after I changed my codes and re-complied
the kernel, I got a different strange kernel image.

Here is the details:
  linux # make  make modules_install
  CHK include/linux/version.h
  [...]
  LD  kernel/built-in.o
  CC [M]  fs/dnfs/dnfs.o
  my codes
fs/dnfs/dnfs.c: In function 'init_once':
fs/dnfs/dnfs.c:22: warning: ISO C90 forbids mixed declarations and code
fs/dnfs/dnfs.c: In function 'init_dnfs_fs':
fs/dnfs/dnfs.c:51: warning: ISO C90 forbids mixed declarations and code
  GEN .version
  CHK include/linux/compile.h
  UPD include/linux/compile.h
  CC  init/version.o
  LD  init/built-in.o
  LD  .tmp_vmlinux1
  KSYM.tmp_kallsyms1.S
  AS  .tmp_kallsyms1.o
  LD  .tmp_vmlinux2
  KSYM.tmp_kallsyms2.S
  AS  .tmp_kallsyms2.o
  LD  vmlinux.o
  MODPOST vmlinux.o
  LD  vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  AS  arch/x86/boot/header.o
  CC  arch/x86/boot/version.o
  LD  arch/x86/boot/setup.elf
  OBJCOPY arch/x86/boot/setup.bin
  OBJCOPY arch/x86/boot/compressed/vmlinux.bin
  GZIParch/x86/boot/compressed/vmlinux.bin.gz
  LD  arch/x86/boot/compressed/piggy.o
  LD  arch/x86/boot/compressed/vmlinux
  OBJCOPY arch/x86/boot/vmlinux.bin
  BUILD   arch/x86/boot/bzImage
Root device is (8, 38)
Setup is 10904 bytes (padded to 11264 bytes).
System is 2763 kB
Kernel: arch/x86/boot/bzImage is ready  (#22)
  Building modules, stage 2.
  MODPOST 12 modules
  [...]
  CC  fs/dnfs/dnfs.mod.o# build modules
  LD [M]  fs/dnfs/dnfs.ko
  [...]
  INSTALL fs/dnfs/dnfs.ko # install modules
  [...]
  DEPMOD  2.6.24-gentoo-r4-gb921d0de-dirty  ###  a
different strange kernel image name

then, the kernel image I am using now is:
 # uname -r
2.6.24-gentoo-r4-g506ab20b-dirty

From the above, I get two questions:
1, Why I got a new  kernel  image(2.6.24-gentoo-r4-gb921d0de-dirty)
instead of using the old one (2.6.24-gentoo-r4-g506ab20b-dirty) ? As I
know if I add/change something as modules, all I need to do is make
 make modules_install, and I don't need to install the kernel image
again and reboot my OS because all the changes are  in modules and the
kernel image is all the same - fixed me please if I'm wrong.
 2, Why the kernel image  including my codes  have a very strange name
- 2.6.24-gentoo-r4-g506ab20b-dirty.

Any help will be appreciated!
-- 
wcw
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] HP dv9000 video hang

2008-04-28 Thread James
Hello,

I have an hp laptop that works  except when the
screen goes blank (screen saver kicking in). If I boot the system and use it
for a whille, all is fine. If I leave the system for a short 
while, I can never get it back after the screen blanks. No matter
which keys I touch the screen stays blank. I'm running
kde 3.5.8 on it.  It's mostly a stable system. Once and while, 
when it boots, the kernel just hangs, alway at the same place. 
The first line  starts with the word clock.


I found this hack:
http://www.gus-mg.org/dig/dv9205us.html

which may be related to my problem. Somehow I'm guessing
it is something to do with ACPI (not sure). When I go 
through the kde control center to {power control} -
{laptop battery} - {ACPI Config tab}, the all options
are just fuzzed out (unsetable). Ideas on getting this
working or another method to check the ACPI settings is
most appreciated.   


The system boots just  fine into XP and after the screen blanks
just touching the return key brings it back (like all of my other
gentoo laptops I manage for other folks).

I'm not doing anything different (that I'm aware of) with 
the kernel compared to other systems. The laptop
has not always done this. At first, the clock boot hang
was rare. Now it happens more frequently, maybe every 5th
bootup.


I set the screen blanker to the clock option and that has seemed to
fix the recovery problem when the screen saver kicks in.

Ideas where to look to fix the clock boot hang problem
and setting the ACPI options are appreciated.


James



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



Re: [gentoo-user] Re: ftdi usb-serial converter broken

2008-04-28 Thread Alan McKinnon
On Tuesday 29 April 2008, James wrote:
 Alan McKinnon alan.mckinnon at gmail.com writes:
  Maybe you forgot to configure EXPERIMENTAL=Y ?

 Yes, sure that's it but where exactly do you indicate Y
 to the Experimental?  That must be what I cannot find.

You'll have found it straight away now that you've replaced your damaged 
sources, but for the record, it's the first option on the first screen 
(General setup)



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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