Re: [gentoo-user] Decrapifying my system

2011-07-18 Thread Roman Zilka
Michael Sullivan (Sun, 17 Jul 2011 16:19:14 -0500):
 I'm running into space issues (my / partition is at 99% of capacity) and
 I'd like some advice on what I can remove and how.  My USE line in
 /etc/make.conf looks like this:
 
 USE=-setup declarative static-libs gallium moonlight semantic-desktop
 -kdeprefix -aqua policykit cdda vhosts automount flashblock jadetex
 vanilla additions mplayer -evo gentoo a52  -asterisk dbus ctype session
 zaptel ivtv -kerberos gphoto2 pcre mode-owner -firefox seamonkey
 -mozilla candy apache2 oss -apm alsa arts avi berkdb bitmap-fonts cdr
 crypt cups doc encode fortran f77 foomaticdb gdbm gif gpm -gnome
 gstreamer -gtk -gtk2 imlib jpeg -kde libg++ libwww mad mikmod motif mpeg
 ncurses nls oggvorbis pam pdf lib png ppds python -qt quicktime readline
 -samba sasl sdl threads nntp spell ssl svga tcltk tcpd truetype usb X
 xml xml2 xmms xv zlib x86 imap offensive java mysql examples mmx mmx2
 perl divx4linux real mmxext audiofile nas snmp hal unicode guile slp
 tidy dvd dvdr dvdread flash glut new-login browserplugin nsplugin bzip2
 win32codecs v4l v4l2 ruby sql lirc mythtv dvb ffmpeg userlocales php
 -debug jack jack-tempfs portaudio bash-completion bind-mysql joystick
 cli cgi ftp dba nptl nptlonly libclamav syslog jikes mpm-leader ithreads
 -nautilus tcl expat
 
 and I'd like to completely remove both gnome and kde (except for kpat).
  I use xfce, so that shouldn't be a problem, right?  I've tried emerge
 -C gnome and emerge -C kde, but the gnome line only unmerged the final
 gnome package, and the kde line didn't work at all (I'm thinking it's
 called kde-meta now), but unmerging kde-meta only unmerged the final kde
 package.  How do I do this?

This strategy will do a thorough clean-up, although you'll have to be
patient:
1. Re-check that you're on the right profile - now that you don't use
KDE/GNOME anymore, the profile default/linux/$ARCH/10.0/desktop is
probably the right one for you (unless you run hardened/selinux, of
course). Use for example 'eselect profile' to read/set profiles.
2. Re-check that your /var/lib/portage/world only contains stuff you
really need.
3. Remove all positive USE flags (i.e., those without a leading '-').
4. Append the following line to /etc/portage/package.use:
dev-lang/perl ithreads
(Is it just me or does every other autoconf run fail if ithreads aren't
in perl?)
5. Run 'emerge -pvuDN world' and focus on the flags that are going to
be (newly) switched off - the green ones.
6. Put back (only) those such flags that you now know pull some
actually useful functionality into your system and that you don't want
removed.
7. Run 'emerge -vuDN world' - 'etc-update' - 'emerge -vc' -
'revdep-rebuild -i'.

-rz



Re: [gentoo-user] Decrapifying my system

2011-07-18 Thread Neil Bothwick
On Mon, 18 Jul 2011 01:30:44 +0200, Alan McKinnon wrote:

  I'm pretty sure those number don't add up to 21G. So why is it
  saying they do???  
 
 You have to understand what du is measuring, and that you are not 
 supposed to add the numbers up.
 
 ./ is 21G
 Then, each individual directory is listed with it's total. The 
 difference is the *files* in .

Which is why I suggested using du -sh *

Changing the command will change its behaviour.


-- 
Neil Bothwick

Good Enough is the death knell of progress.


signature.asc
Description: PGP signature


Re: [gentoo-user] Any way around Argument list too long?

2011-07-18 Thread Neil Bothwick
On Sun, 17 Jul 2011 18:40:44 -0700, Grant wrote:

 Alright, find is tricky.  Is this the right spot for -delete?
 
 /usr/bin/find /home/user -type f -name *-`/bin/date -d 'yesterday'
 +\%Y\%m\%d`*.jpg - delete

Yes, but if you don't want irreversible mistakes, move the files instead.

find /home/user -type f -name blah -exec mv -t ~/.Trashcan {} +


-- 
Neil Bothwick

The facts, although interesting, are usually irrelevant.


signature.asc
Description: PGP signature


[gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Mick
Is it a matter of waiting a bit longer?

http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
-- 
Regards,
Mick


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


Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Volker Armin Hemmann
On Monday 18 July 2011 12:18:47 Mick wrote:
 Is it a matter of waiting a bit longer?
 
 http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6
 /

yes

-- 
#163933



Re: [gentoo-user] Problem with xf86-video-ati nvidia-drivers

2011-07-18 Thread Stroller

On 17 July 2011, at 17:54, Grant wrote:
 ...
 But at some point the 1s and 0s must be converted to some sort of an
 analog signal if only right behind the diode.  A diode must be
 presented with a signal in some sort of analog form in order to
 illuminate, right?  Digital is just a figment of our imagination after
 all.

The pixel is either on or off. There's no way to make half of the adjacent 
pixel on (and the other half of that pixel off).

Having said that, you may be on the right track. I hadn't looked at your photo 
before, so sorry for that, but it indeed looks like your telly may be doing 
some scaling on the image.

Check for overscan / underscan settings in the TV's menus and on the remote. 
The button for overscan may not be at all obvious on the remote from the icon 
that labels it - if you can't find a button on the remote that resolves this 
issue, or a overscan setting in the TV's menus then check the manual.

Overscan would cause this symptom, and it is such a common feature, that IMO 
you shouldn't pst back here again until you've identified it on your TV and 
checked it.

Stroller.




Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Stroller

On 18 July 2011, at 12:18, Mick wrote:

 Is it a matter of waiting a bit longer?

Yes, I think he'll be eligible for parole beginning 2023.




Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Volker Armin Hemmann
On Monday 18 July 2011 14:30:28 Stroller wrote:
 On 18 July 2011, at 12:18, Mick wrote:
  Is it a matter of waiting a bit longer?
 
 Yes, I think he'll be eligible for parole beginning 2023.

please refrain yourself from idiotic remarks like this.

Thank you.
-- 
#163933



Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Adam Carter
 Is it a matter of waiting a bit longer?

 Yes, I think he'll be eligible for parole beginning 2023.

lulz. You've mistakenly put an S in front of your username :)



Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Mick
On Monday 18 Jul 2011 14:04:31 Volker Armin Hemmann wrote:
 On Monday 18 July 2011 12:18:47 Mick wrote:
  Is it a matter of waiting a bit longer?
  
  http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-
  2.6 /
 
 yes

Thanks.
-- 
Regards,
Mick


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


[gentoo-user] Re: {OT} Screen recorder?

2011-07-18 Thread James
Leonardo Guilherme leonardo.guilherme at gmail.com writes:


 Useful link http://verb3k.wordpress.com/2010/01/26/how-to-do-
proper-screencasts-on-linux/

 Leonardo2011/7/18 Mick michaelkintzios at gmail.com

OK, I looked at this page and have a few questions on 
compiling ffmpeg for screencasts.

x11grab = qx11grab  ?? or use the X flag for ffmpeg?

These ubuntu libs are listed as required: So set these flags:

libx264  just use (ffmpeg) flag x246
libfaac   just use (ffmpeg) flag faac
libvpx   just use (ffmpeg) flag vpx
libvorbis just use (ffmpeg) flag vorbis
libxvid   just use (ffmpeg) flag xvid
libmp3lame just use (ffmpeg) flag mp3 
libtheora just use (ffmpeg) flag theora

I have other flags set for ffmpeg. Do you have any other
recommendations for flag setting to enable ffmpeg to be
used for screencasts?


James




Re: [gentoo-user] Re: {OT} Screen recorder?

2011-07-18 Thread Mick
On Monday 18 Jul 2011 16:28:32 James wrote:
 Leonardo Guilherme leonardo.guilherme at gmail.com writes:
  Useful link http://verb3k.wordpress.com/2010/01/26/how-to-do-
 
 proper-screencasts-on-linux/
 
  Leonardo2011/7/18 Mick michaelkintzios at gmail.com
 
 OK, I looked at this page and have a few questions on
 compiling ffmpeg for screencasts.
 
 x11grab = qx11grab  ?? or use the X flag for ffmpeg?
 
 These ubuntu libs are listed as required: So set these flags:
 
 libx264  just use (ffmpeg) flag x246
 libfaac   just use (ffmpeg) flag faac
 libvpx   just use (ffmpeg) flag vpx
 libvorbis just use (ffmpeg) flag vorbis
 libxvid   just use (ffmpeg) flag xvid
 libmp3lame just use (ffmpeg) flag mp3
 libtheora just use (ffmpeg) flag theora
 
 I have other flags set for ffmpeg. Do you have any other
 recommendations for flag setting to enable ffmpeg to be
 used for screencasts?
 
 
 James

You probably did not look at my suggested thread?

These are my flags: 

virtual/ffmpeg
Installed versions:  0.6.90(06:46:22 07/01/11)(X encode mp3 sdl vaapi x264 -
jpeg2k -theora -threads -vdpau)
-- 
Regards,
Mick


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


[gentoo-user] Re: {OT} Screen recorder?

2011-07-18 Thread James
Mick michaelkintzios at gmail.com writes:


 You probably did not look at my suggested thread?

Yep.

 These are my flags: 
 virtual/ffmpeg
 Installed versions:  0.6.90(06:46:22 07/01/11)(X encode mp3 sdl vaapi x264 -
 jpeg2k -theora -threads -vdpau)

;-) 

ok
thanks Mick








Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-18 Thread BRM
- Original Message 

 From: Paul Hartman paul.hartman+gen...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Fri, July 15, 2011 5:24:48 PM
 Subject: Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...
 
 On Fri, Jul 15, 2011 at 2:54 PM,  ny6...@gmail.com wrote:
  I have  always had good luck with Atheros-based cards. HTH.
 
 Me too. Plus, they  are usually more likely to be able to do the fun
 stuff like master mode,  monitor mode, packet injection...

Any specific PCMCIA or mini-PCI (not mini-PCIe) cards you all would recommend 
then - either Atheros (preferred) or Intel?

I have only been able to find a couple - namely a few by HQRP, Everex, and 
TP-Link.
I haven't been able to find much info on HQRP, and their cards seem to be 
2.4GHz 
only - without proper 802.11n support.
Same for Everex and most others random ones.
TP-Link seems to support everything, but not sure about - Amazon reviews seem 
good (for the most part), but I have had trouble getting to their website for 
whatever reason - perhaps the Great Firewall of China is at play.

At least the Intel ones I come across on Amazon seem not support Wireless-N or 
be mini-PCIe.

TIA,

Ben




Re: [gentoo-user] Re: {OT} Screen recorder?

2011-07-18 Thread Leonardo Guilherme
2011/7/18 James wirel...@tampabay.rr.com

 Leonardo Guilherme leonardo.guilherme at gmail.com writes:


  Useful link http://verb3k.wordpress.com/2010/01/26/how-to-do-
 proper-screencasts-on-linux/

  Leonardo2011/7/18 Mick michaelkintzios at gmail.com

 OK, I looked at this page and have a few questions on
 compiling ffmpeg for screencasts.

 x11grab = qx11grab  ?? or use the X flag for ffmpeg?

 These ubuntu libs are listed as required: So set these flags:

libx264  just use (ffmpeg) flag x246
libfaac   just use (ffmpeg) flag faac
libvpx   just use (ffmpeg) flag vpx
libvorbis just use (ffmpeg) flag vorbis
libxvid   just use (ffmpeg) flag xvid
libmp3lame just use (ffmpeg) flag mp3
libtheora just use (ffmpeg) flag theora

 I have other flags set for ffmpeg. Do you have any other
 recommendations for flag setting to enable ffmpeg to be
 used for screencasts?


This is the command I use for screencasts and then encoding the converted
video

ffmpeg -f alsa -ac 2 -i hw:0,0 -acodec pcm_s16le -f x11grab -r 30 -i :0.0
-vcodec libx264 -vpre lossless_ultrafast -threads 0 raw.mkv
ffmpeg -i raw.mkv -acodec libmp3lame -ab 128k -ac 2 -vcodec libx264 -vpre
lossless_slow -crf 22 -threads 0 done.mp4

These are my flags for ffmpeg:

3dnow 3dnowext X aac alsa bzip2 encode faac hardcoded-tables mmx mmxext mp3
sdl ssse3 theora threads truetype v4l v4l2 vorbis vpx x264 xvid zlib

Note that many are unrelated to screencasting.


Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...

2011-07-18 Thread ny6p01
On Mon, Jul 18, 2011 at 10:58:45AM -0700, BRM wrote:
 - Original Message 
 
  From: Paul Hartman paul.hartman+gen...@gmail.com
  To: gentoo-user@lists.gentoo.org
  Sent: Fri, July 15, 2011 5:24:48 PM
  Subject: Re: [gentoo-user] Wireless N PCMCIA/CardBus Recommendations...
  
  On Fri, Jul 15, 2011 at 2:54 PM,  ny6...@gmail.com wrote:
   I have  always had good luck with Atheros-based cards. HTH.
  
  Me too. Plus, they  are usually more likely to be able to do the fun
  stuff like master mode,  monitor mode, packet injection...
 
 Any specific PCMCIA or mini-PCI (not mini-PCIe) cards you all would recommend 
 then - either Atheros (preferred) or Intel?
 
 I have only been able to find a couple - namely a few by HQRP, Everex, and 
 TP-Link.
 I haven't been able to find much info on HQRP, and their cards seem to be 
 2.4GHz 
 only - without proper 802.11n support.
 Same for Everex and most others random ones.
 TP-Link seems to support everything, but not sure about - Amazon reviews seem 
 good (for the most part), but I have had trouble getting to their website for 
 whatever reason - perhaps the Great Firewall of China is at play.
 
 At least the Intel ones I come across on Amazon seem not support Wireless-N 
 or 
 be mini-PCIe.
 
 TIA,
 
 Ben
 
 

I use the Dlink DWL-G630,
http://www.amazon.com/D-Link-DWL-G630-AirPlus-G-802-11g-Wireless/dp/B0009OH4GA/ref=sr_1_1?ie=UTF8qid=1311014826sr=8-1
although I think I have also used the G650 with equivalent results. I would
try that first. They are dirt cheap, anyways. You can't lose much. :)

Terry



[gentoo-user] fcron: writes logs but it should not...

2011-07-18 Thread Jarry

Hi,
I just checked my log-files and found these strange messages:
-
2011-07-18T18:31:02+00:00 game fcron[30032]: pam_unix(fcron:session): 
session opened for user root by (uid=0)
2011-07-18T18:31:04+00:00 game fcron[30032]: pam_unix(fcron:session): 
session closed for user root
2011-07-18T18:41:02+00:00 game fcron[30787]: pam_unix(fcron:session): 
session opened for user root by (uid=0)
2011-07-18T18:41:04+00:00 game fcron[30787]: pam_unix(fcron:session): 
session closed for user root

-

They are repeated exactly every 10min. I think reason for this
is /etc/fcron/crontab (did not find anything else might cause it):
-
# Script for checking system crontabs and creating the fcron systab.
# Runs every 10 minutes, does not mail output, doesn't log job runs
# except for errors.
@mail(false),nolog(true) 10 /usr/sbin/check_system_crontabs -s 0
-

Now my question is: why is fcron sending messages to /dev/log,
when it should not do it?

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



Re: [gentoo-user] fcron: writes logs but it should not...

2011-07-18 Thread Michael Mol
On Mon, Jul 18, 2011 at 3:00 PM, Jarry mr.ja...@gmail.com wrote:
 Hi,
 I just checked my log-files and found these strange messages:
 -
 2011-07-18T18:31:02+00:00 game fcron[30032]: pam_unix(fcron:session):
 session opened for user root by (uid=0)
 2011-07-18T18:31:04+00:00 game fcron[30032]: pam_unix(fcron:session):
 session closed for user root
 2011-07-18T18:41:02+00:00 game fcron[30787]: pam_unix(fcron:session):
 session opened for user root by (uid=0)
 2011-07-18T18:41:04+00:00 game fcron[30787]: pam_unix(fcron:session):
 session closed for user root

 Now my question is: why is fcron sending messages to /dev/log,
 when it should not do it?

If I'm reading that correctly, it's not really fcron that's logging, but PAM.

-- 
:wq



Re: [gentoo-user] fcron: writes logs but it should not...

2011-07-18 Thread Jarry

On 18-Jul-11 21:07, Michael Mol wrote:

-
2011-07-18T18:31:02+00:00 game fcron[30032]: pam_unix(fcron:session):
session opened for user root by (uid=0)
2011-07-18T18:31:04+00:00 game fcron[30032]: pam_unix(fcron:session):
session closed for user root
2011-07-18T18:41:02+00:00 game fcron[30787]: pam_unix(fcron:session):
session opened for user root by (uid=0)
2011-07-18T18:41:04+00:00 game fcron[30787]: pam_unix(fcron:session):
session closed for user root



Now my question is: why is fcron sending messages to /dev/log,
when it should not do it?


If I'm reading that correctly, it's not really fcron that's logging, but PAM.


I thought it is because cron is opening session as root.
There is nothing else that could fire pam every 10 min.

I already checked /etc/cron.hourly (daily, weekly, monthly),
there is nothing else that could cause it. And the process
name calling syslog is fcron (3rd field in message)...

Jarry

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



Re: [gentoo-user] fcron: writes logs but it should not...

2011-07-18 Thread Michael Mol
On Mon, Jul 18, 2011 at 3:16 PM, Jarry mr.ja...@gmail.com wrote:
 On 18-Jul-11 21:07, Michael Mol wrote:

 -
 2011-07-18T18:31:02+00:00 game fcron[30032]: pam_unix(fcron:session):
 session opened for user root by (uid=0)
 2011-07-18T18:31:04+00:00 game fcron[30032]: pam_unix(fcron:session):
 session closed for user root
 2011-07-18T18:41:02+00:00 game fcron[30787]: pam_unix(fcron:session):
 session opened for user root by (uid=0)
 2011-07-18T18:41:04+00:00 game fcron[30787]: pam_unix(fcron:session):
 session closed for user root

 Now my question is: why is fcron sending messages to /dev/log,
 when it should not do it?

 If I'm reading that correctly, it's not really fcron that's logging, but
 PAM.

 I thought it is because cron is opening session as root.
 There is nothing else that could fire pam every 10 min.

 I already checked /etc/cron.hourly (daily, weekly, monthly),
 there is nothing else that could cause it. And the process
 name calling syslog is fcron (3rd field in message)...

Cron is opening a session as root. Pam is part of that process. Pam is
logging its participation in that process.

At least, that's what it looks like from here.

-- 
:wq



Re: [gentoo-user] fcron: writes logs but it should not...

2011-07-18 Thread Jarry

On 18-Jul-11 21:24, Michael Mol wrote:

On Mon, Jul 18, 2011 at 3:16 PM, Jarrymr.ja...@gmail.com  wrote:

On 18-Jul-11 21:07, Michael Mol wrote:


-
2011-07-18T18:41:02+00:00 game fcron[30787]: pam_unix(fcron:session):
session opened for user root by (uid=0)
2011-07-18T18:41:04+00:00 game fcron[30787]: pam_unix(fcron:session):
session closed for user root



Now my question is: why is fcron sending messages to /dev/log,
when it should not do it?


If I'm reading that correctly, it's not really fcron that's logging, but
PAM.


I thought it is because cron is opening session as root.
There is nothing else that could fire pam every 10 min.

I already checked /etc/cron.hourly (daily, weekly, monthly),
there is nothing else that could cause it. And the process
name calling syslog is fcron (3rd field in message)...


Cron is opening a session as root. Pam is part of that process. Pam is
logging its participation in that process.

At least, that's what it looks like from here.



I'm no expert for logging, but I think syslog-message looks like:
priority timestamp hostname program[pid]: message

So to me it looks fcron (pid 30787) is sending output to
/dev/syslog. pam is sending message back to fcron but not
to syslog. And I wonder why fcron is forwarding that message
to syslog, when it should not...

Jarry

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



Re: [gentoo-user] fcron: writes logs but it should not...

2011-07-18 Thread Michael Mol
On Mon, Jul 18, 2011 at 3:48 PM, Jarry mr.ja...@gmail.com wrote:
 On 18-Jul-11 21:24, Michael Mol wrote:

 On Mon, Jul 18, 2011 at 3:16 PM, Jarrymr.ja...@gmail.com  wrote:

 On 18-Jul-11 21:07, Michael Mol wrote:

 -
 2011-07-18T18:41:02+00:00 game fcron[30787]: pam_unix(fcron:session):
 session opened for user root by (uid=0)
 2011-07-18T18:41:04+00:00 game fcron[30787]: pam_unix(fcron:session):
 session closed for user root

 Now my question is: why is fcron sending messages to /dev/log,
 when it should not do it?

 If I'm reading that correctly, it's not really fcron that's logging, but
 PAM.

 I thought it is because cron is opening session as root.
 There is nothing else that could fire pam every 10 min.

 I already checked /etc/cron.hourly (daily, weekly, monthly),
 there is nothing else that could cause it. And the process
 name calling syslog is fcron (3rd field in message)...

 Cron is opening a session as root. Pam is part of that process. Pam is
 logging its participation in that process.

 At least, that's what it looks like from here.


 I'm no expert for logging, but I think syslog-message looks like:
 priority timestamp hostname program[pid]: message

 So to me it looks fcron (pid 30787) is sending output to
 /dev/syslog. pam is sending message back to fcron but not
 to syslog. And I wonder why fcron is forwarding that message
 to syslog, when it should not...

I'm not an expert on logging, PAM or fcron, but software is my
day-job, and I know that many system functions are implemented as
libraries, which get loaded into a process and perform activities from
within that process. (DNS resolvers work this way, too) If getting
elevated privileges via PAM is part of some library which is loaded
into the fcron process, then any activity of PAM which is done from
within userland will happen as an action by the fcron process.

I'm fairly confident that the lines you're highlighting are not wholly
unique to the fcron process. Taken from my server for example:

Jul 18 19:56:47 [redacted] su[8878]: pam_unix(su:session): session
opened for user root by shortcircuit(uid=0)
Jul 18 19:56:48 [redacted] su[8878]: pam_unix(su:session): session
closed for user root

Here, I ran 'sudo su', and entered my password. The common components
to your fcron lines are: pam_unix(...): session opened for user root
by (...)(uid=0)

Your line shows a PAM session for fcron:session, opened through
pam_unix. My line shows a PAM session for su:session, opened through
pam_unix. My line shows the username I was logged in as at the time,
while yours does not.

My expectation is that, if you want to hide those lines from you logs,
you need to change your PAM configuration.

-- 
:wq



Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Stroller

On 18 July 2011, at 14:50, Volker Armin Hemmann wrote:

 On Monday 18 July 2011 14:30:28 Stroller wrote:
 On 18 July 2011, at 12:18, Mick wrote:
 Is it a matter of waiting a bit longer?
 
 Yes, I think he'll be eligible for parole beginning 2023.
 
 please refrain yourself from idiotic remarks like this.

You really have no authority to talk, Volker.

I seem to recall you can't even recognise filesystem corruption, likely a 
hard-drive failing with physical errors:

   On 3 June 2011, at 02:32, Volker Armin Hemmann wrote:

   Next time I sat on a mac there were 37gb of stuff in trash. The poor
   owner tried to delete them. MacOS showed the apropriate reaction, no
   error anyway - and no file was deleted.
   
   Had to go down to the shell - and even after that some crap was still
   left.  Undeletable and with no error messages or informations why.

Stop posting idiotic remarks yourself, then you'll have a place to talk from.

Stroller.




Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Bill Longman
On 07/18/2011 06:50 AM, Volker Armin Hemmann wrote:
 On Monday 18 July 2011 14:30:28 Stroller wrote:
 On 18 July 2011, at 12:18, Mick wrote:
 Is it a matter of waiting a bit longer?

 Yes, I think he'll be eligible for parole beginning 2023.
 
 please refrain yourself from idiotic remarks like this.

Everyone *knows* he's got full internet access, Stroller.sheesh.
File a bug report and the warden will pass it his way.




Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Volker Armin Hemmann
On Monday 18 July 2011 21:39:41 Stroller wrote:
 On 18 July 2011, at 14:50, Volker Armin Hemmann wrote:
  On Monday 18 July 2011 14:30:28 Stroller wrote:
  On 18 July 2011, at 12:18, Mick wrote:
  Is it a matter of waiting a bit longer?
  
  Yes, I think he'll be eligible for parole beginning 2023.
  
  please refrain yourself from idiotic remarks like this.
 
 You really have no authority to talk, Volker.
 
 I seem to recall you can't even recognise filesystem corruption, likely a
 hard-drive failing with physical errors:

and the stuff you quote below have what to do with this?

or with filesystem errors?

or with a failing harddrive?

I give you a hint, because you need it:

nothing at all.

That posting was about Macos making it impossible to delete stuff WITHOUT ANY 
INFORMATION ABOUT THE REASONS. There were no errors. No error messages 
ANYWHERE. I am doing this crap for long enough to recognize an error. But 
failing silently? That is bad.

Even worse people like you blaming the messanger for the shortcomings of a 
operating system.

Instead of insulting me and trolling around you should waste a second or two 
and think before you hit the send button. You need it.


 
On 3 June 2011, at 02:32, Volker Armin Hemmann wrote:
 
Next time I sat on a mac there were 37gb of stuff in trash. The poor
owner tried to delete them. MacOS showed the apropriate reaction, no
error anyway - and no file was deleted.
 
Had to go down to the shell - and even after that some crap was still
left.  Undeletable and with no error messages or informations why.
 
 Stop posting idiotic remarks yourself, then you'll have a place to talk
 from.
 
 Stroller.
-- 
#163933



Re: [gentoo-user] Any way around Argument list too long?

2011-07-18 Thread Grant
 Alright, find is tricky.  Is this the right spot for -delete?

 /usr/bin/find /home/user -type f -name *-`/bin/date -d 'yesterday'
 +\%Y\%m\%d`*.jpg - delete

 Yes, but if you don't want irreversible mistakes, move the files instead.

 find /home/user -type f -name blah -exec mv -t ~/.Trashcan {} +

Thanks Neil and everyone.

- Grant



Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Stroller

On 18 July 2011, at 22:00, Volker Armin Hemmann wrote:
 
 You really have no authority to talk, Volker.
 
 I seem to recall you can't even recognise filesystem corruption, likely a
 hard-drive failing with physical errors:
 
 and the stuff you quote below have what to do with this?
 
 ...
 
 Instead of insulting me and trolling around you should waste a second or two 
 and think before you hit the send button. You need it.

I can't possibly insult you, Volker. You're too much of an asshole for words to 
do you justice.

A few weeks ago I wrote some strong things about another poster here, but 
having done so I realised that at least he earns enough respect to make that 
worthwhile. You don't. He'll rebut your points, but at least he'll bother to 
read them, address them and give them some credence in his responses.

Not only are you compelled to think you're always right, but you're extremely 
rude about it, and arrogant, too.

Had you come back to me previously and said you know what? maybe it is a 
failing hard-drive, I'll try that then I could have received some satisfaction 
about having helped you out. But, no, you did't think of that. You were wrong, 
and your ego did not permit you to acknowledge that. This is totally consistent 
with all your previous behaviour.

You probably have some kind of mental problem or hereditary defect, but that 
doesn't mean the rest of us should have to put up with your behaviour.

Stroller.




Re: [gentoo-user] Problem with xf86-video-ati nvidia-drivers

2011-07-18 Thread Grant
 ...
 But at some point the 1s and 0s must be converted to some sort of an
 analog signal if only right behind the diode.  A diode must be
 presented with a signal in some sort of analog form in order to
 illuminate, right?  Digital is just a figment of our imagination after
 all.

 The pixel is either on or off. There's no way to make half of the adjacent 
 pixel on (and the other half of that pixel off).

Well, couldn't the digital information for a particular pixel mean
blue, and the D/A mechanism attempts to create an analog signal that
the diode would interpret as blue, but the D/A converter or the analog
signal or the analog diode is affected by electric interference (which
traveled from the computer to the TV along the HDMI cable) and the
diode illuminates light blue instead of blue?

 Having said that, you may be on the right track. I hadn't looked at your 
 photo before, so sorry for that, but it indeed looks like your telly may be 
 doing some scaling on the image.

 Check for overscan / underscan settings in the TV's menus and on the remote. 
 The button for overscan may not be at all obvious on the remote from the icon 
 that labels it - if you can't find a button on the remote that resolves this 
 issue, or a overscan setting in the TV's menus then check the manual.

 Overscan would cause this symptom, and it is such a common feature, that IMO 
 you shouldn't pst back here again until you've identified it on your TV and 
 checked it.

You may be right about this.  I can select the following aspect ratios
on my TV's menu:

16:9 (this causes all 4 edges of the screen to be cut off)
Just Scan (this is what I use and it fits perfectly on the screen)
Set By Program (same as 16:9)
4:3 (same as 16:9 except with black boxes on the left and right)
Zoom (same as 16:9 except more of the image is cut off)
Cinema Zoom 1 (same as Zoom except nothing is cut off from the top of the image)

I set 1920x1080 in xorg.conf but I just tried defining no resolution
at all and it seems to have been set anyway:

(II) RADEON(0): Output HDMI-0 using initial mode 1920x1080

The TV is an LG 47LH90 and and it is said to do 1080p.  I looked for
ghosting in 16:9 mode instead of Just Scan mode and strangely the
shadows are there, but they're oriented top and bottom instead of left
and right.  I can take another photo if anyone would like to see.

Why do I need to select Just Scan in order to prevent all 4 edges of
the screen from being cut off?

- Grant



Re: [gentoo-user] Can't find reiser4 patch for kernel-2.6.39

2011-07-18 Thread Volker Armin Hemmann
On Monday 18 July 2011 23:01:33 Stroller wrote:
 On 18 July 2011, at 22:00, Volker Armin Hemmann wrote:
  You really have no authority to talk, Volker.
  
  I seem to recall you can't even recognise filesystem corruption,
  likely a 
  hard-drive failing with physical errors:
  and the stuff you quote below have what to do with this?
  
  ...
  
  Instead of insulting me and trolling around you should waste a second or
  two and think before you hit the send button. You need it.
 
 I can't possibly insult you, Volker. You're too much of an asshole for words
 to do you justice.
 
 A few weeks ago I wrote some strong things about another poster here, but
 having done so I realised that at least he earns enough respect to make
 that worthwhile. You don't. He'll rebut your points, but at least he'll
 bother to read them, address them and give them some credence in his
 responses.
 

I know you are talking about Alan - a person I respect a lot. A person who 
does not troll and is a usefull part of this mailing list. For some reason I 
never saw a need to call him out on stupid behaviour. There must be a 
reason 

 Not only are you compelled to think you're always right, but you're
 extremely rude about it, and arrogant, too.

and that from you. I am shocked.

Thinking about it. No, I am not.

 
 Had you come back to me previously and said you know what? maybe it is a
 failing hard-drive, I'll try that then I could have received some
 satisfaction about having helped you out. 

hm, maybe because I checked back them, and made sure the harddrive was ok? 
Btw, in sane operating systems, harddrive malfunctions result in visible 
errors. If not displayed so in the logs. Guess what I checked? Oh look, no 
errors in all the logs. No errors at all. Have you tried to delete a damaged 
file on a damaged disk? rm will fail with an error. 

Guess what didn't happen back then.

Believe me, I have had enough harddrive malfunctions in my life. I recognize 
the symptoms. Thank you.

But hey, you are still sore that I did not thank you?

Well, thanks for your time Stroller, but sadly I already checked, the 
harddrive in question is in fine working order. 

 But, no, you did't think of that.

oh yes, I did. See above.

 You were wrong, and your ego did not permit you to acknowledge that. This
 is totally consistent with all your previous behaviour.

I am still right, you are attacking me for no reason whatsoever. 

Which is consistent with your trolling in your first post in this thread.

 You probably have some kind of mental problem or hereditary defect, but that
 doesn't mean the rest of us should have to put up with your behaviour.

But we should put up with you trolling around and then acting all insulted and 
whiney when told to stop it?

Hm, double standards.. love them.

-- 
#163933



Re: [gentoo-user] Problem with xf86-video-ati nvidia-drivers

2011-07-18 Thread Grant
 But at some point the 1s and 0s must be converted to some sort of an
 analog signal if only right behind the diode.  A diode must be
 presented with a signal in some sort of analog form in order to
 illuminate, right?  Digital is just a figment of our imagination after
 all.

 The pixel is either on or off. There's no way to make half of the adjacent 
 pixel on (and the other half of that pixel off).

 Well, couldn't the digital information for a particular pixel mean
 blue, and the D/A mechanism attempts to create an analog signal that
 the diode would interpret as blue, but the D/A converter or the analog
 signal or the analog diode is affected by electric interference (which
 traveled from the computer to the TV along the HDMI cable) and the
 diode illuminates light blue instead of blue?

 Having said that, you may be on the right track. I hadn't looked at your 
 photo before, so sorry for that, but it indeed looks like your telly may be 
 doing some scaling on the image.

 Check for overscan / underscan settings in the TV's menus and on the remote. 
 The button for overscan may not be at all obvious on the remote from the 
 icon that labels it - if you can't find a button on the remote that resolves 
 this issue, or a overscan setting in the TV's menus then check the manual.

 Overscan would cause this symptom, and it is such a common feature, that IMO 
 you shouldn't pst back here again until you've identified it on your TV and 
 checked it.

 You may be right about this.  I can select the following aspect ratios
 on my TV's menu:

 16:9 (this causes all 4 edges of the screen to be cut off)
 Just Scan (this is what I use and it fits perfectly on the screen)
 Set By Program (same as 16:9)
 4:3 (same as 16:9 except with black boxes on the left and right)
 Zoom (same as 16:9 except more of the image is cut off)
 Cinema Zoom 1 (same as Zoom except nothing is cut off from the top of the 
 image)

 I set 1920x1080 in xorg.conf but I just tried defining no resolution
 at all and it seems to have been set anyway:

 (II) RADEON(0): Output HDMI-0 using initial mode 1920x1080

 The TV is an LG 47LH90 and and it is said to do 1080p.  I looked for
 ghosting in 16:9 mode instead of Just Scan mode and strangely the
 shadows are there, but they're oriented top and bottom instead of left
 and right.  I can take another photo if anyone would like to see.

 Why do I need to select Just Scan in order to prevent all 4 edges of
 the screen from being cut off?

 - Grant

BTW I think you're on to something Stroller because the overall
picture is definitely improved in 16:9 mode compared to Just Scan
mode.  I just need to figure out how to prevent the edges of the
screen from being cut off.

- Grant



[gentoo-user] Need to turn on wireless

2011-07-18 Thread Mark Knecht
Hi all,
   I haven't used built-in wireless on Linux in years but come
Thursday I'll likely have to spend 12 or more hours waiting around in
a hospital so I'm making an attempt to get it working.

   Can someone point me at instructions oriented toward sitting down
in a place like Starbucks on a public network and gaining basic
connectivity? Everything I'm finding is based on running a properly
secure network which I suspect isn't what one uses in a public place.
Am I correct in this?

   The hardware is Atheros:

slinky ~ # lspci | grep Atheros
03:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) (rev 01)
slinky ~ #

so I'm building into my kernel anything that looks reasonably likely
to be used. I didn't find anything for this specific chip though.

   What sort of apps are available to discover a public network ESSID?
Something GUI based would be appreciated if it's in portage.


   Thanks in advance for any help.

Cheers,
Mark



[gentoo-user] Problems with Nvidia fake raid array

2011-07-18 Thread Jeff Cranmer
Hi all,

After cleaning off my Opensuse O.S. and installing Gentoo, I'm having
trouble getting my 3-disk nvidia SATA raid5 array back on line.

The gentoo OS is on a separate non-raid IDE disk, and I can see the
three individual disks which make up the raid array (/dev/sda, /dev/sdb
and /dev/sdc).  Unfortunately, the system does not seem to be able to
detect the raid array, and dmesg shows no md disks detected or mounted.

There are a few guides on line for setting up a system which boots to a
raid array, but I haven't found any guides for simply mounting a raided
disk.  I think I've got all the kernel settings right, and the raid
array was working before I cleared out the IDE disk.  I know that the
Nvidia array isn't a true hardware raid array, but it's a data disk
only, and while I have a reasonably recent backup, I'm not keen on
re-formatting it and setting up a kernel-based raid array.

Any suggestions or pointers gratefully received.  Thanks in advance.

Jeff





Re: [gentoo-user] {OT} Screen recorder?

2011-07-18 Thread Grant
  Does there exist a program that allows you to record the activity
  taking place on a computer screen for later review?

 I use this one to prep movies about using software etc ... files are not
 as small as camtasias for a given quality, but postprocessing helps get
 close if size is important.

 BillK


 moriah ~ # esearch recordmy
 [ Results for search key : recordmy ]
 [ Applications found : 3 ]

 *  media-video/gtk-recordmydesktop
      Latest version available: 0.3.8-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 172 kB
      Homepage:    http://recordmydesktop.sourceforge.net/
      Description: GTK interface for RecordMyDesktop
      License:     GPL-2

 *  media-video/qt-recordmydesktop
      Latest version available: 0.3.8
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 181 kB
      Homepage:    http://recordmydesktop.sourceforge.net/
      Description: QT4 interface for RecordMyDesktop
      License:     GPL-2

 *  media-video/recordmydesktop
      Latest version available: 0.3.8.1-r4
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 194 kB
      Homepage:    http://recordmydesktop.sourceforge.net/
      Description: A desktop session recorder producing Ogg video/audio
 files
      License:     GPL-2

Good stuff, thank you everyone.  I'm going to see how it goes with
recordmydesktop.

- Grant



Re: [gentoo-user] Need to turn on wireless

2011-07-18 Thread luis jure
on 2011-07-18 at 18:17 Mark Knecht wrote:


   What sort of apps are available to discover a public network ESSID?
Something GUI based would be appreciated if it's in portage.

i got good results with wicd in the past. i got it to work fine on a
gentoo laptop for exactly what you need, if understood your mail correctly.

i don't have a laptop anymore, and on my netbook i have xubuntu. they use
network-manager as a default. wicd is lighter and works fine, but
network-manager has the advantage of working with mobile broadband, while
wicd doesn't. but i never could make network-manager work on gentoo...




Re: [gentoo-user] Re: Problem with xf86-video-ati nvidia-drivers

2011-07-18 Thread Volker Armin Hemmann
On Sunday 17 July 2011 09:54:33 Grant wrote:
  I gave it a try but there was no change.  I tried plugging the TV
  and
  computer into a power strip and also into an isolation
  transformer.
  Any other ideas?
  
  I still think it's a driver problem.  Again: it's *physically*
  impossible to
  have these problems with the HDMI signal.  At most you get digital
  noise,
  which means some pixels get stuck or are missing.  But not what you
  get; that's just something that can't be explained.
  
  I was thinking about this.  The digital HDMI signal must be converted
  into an analog signal at some point if it's being represented as light
  on a TV screen.  Electrical interference generated by the computer and
  traveling up the HDMI wire should have its chance to affect things
  (i.e. create weird shadows) at that point, right?
  
  Not with DFPs.  Those work digital even internally.  I assume of course
  that his HDMI TV *is* a DFP.
 
 But at some point the 1s and 0s must be converted to some sort of an
 analog signal if only right behind the diode.  A diode must be
 presented with a signal in some sort of analog form in order to
 illuminate, right?

no.

If your tv is a standard flat panel, the sub pixels only go from on to off and 
back. Nothing else. There is no analog signal, no transformation nothing. And 
off means 'let light through' and on 'black'

If you have an led display it is pretty much the same. All the levels you see 
are achieved with fast switching. There are no analog levels.

Stroller is probably correct with overscan/underscan.

But that has nothing to do with digital/analog conversion.


 Digital is just a figment of our imagination after
 all.

emm, no, seriously not.

-- 
#163933



Re: [gentoo-user] Problems with Nvidia fake raid array

2011-07-18 Thread Michael Orlitzky
On 07/18/2011 09:26 PM, Jeff Cranmer wrote:
 Hi all,
 
 After cleaning off my Opensuse O.S. and installing Gentoo, I'm having
 trouble getting my 3-disk nvidia SATA raid5 array back on line.
 
 The gentoo OS is on a separate non-raid IDE disk, and I can see the
 three individual disks which make up the raid array (/dev/sda, /dev/sdb
 and /dev/sdc).  Unfortunately, the system does not seem to be able to
 detect the raid array, and dmesg shows no md disks detected or mounted.

Make sure your kernel supports RAID, and RAID5 (they're separate
options). Then emerge mdadm. Once you get it up and running once, you
can dump the current config to /etc/mdadm.conf so you don't have to
assemble it again. Then add mdadm to the boot runlevel.

# mdadm --assemble --help
Usage: mdadm --assemble device options...
   mdadm --assemble --scan options...

This usage assembles one or more raid arrays from pre-existing
components. For each array, mdadm needs to know the md device, the
identity of the array, and a number of sub devices. These can be found
in a number of ways.

The md device is either given on the command line or is found listed
in the config file. The array identity is determined either from the
--uuid or --super-minor commandline arguments, from the config file,
or from the first component device on the command line.

The different combinations of these are as follows:
If the --scan option is not given, then only devices and identities
listed on the command line are considered.

The first device will be the array device, and the remainder will be
examined when looking for components.

If an explicit identity is given with --uuid or --super-minor, then
only devices with a superblock which matches that identity is
considered, otherwise every device listed is considered.

If the --scan option is given, and no devices are listed, then
every array listed in the config file is considered for assembly.
The identity of candidate devices are determined from the config file.

If the --scan option is given as well as one or more devices, then
Those devices are md devices that are to be assembled. Their identity
and components are determined from the config file.

If mdadm can not find all of the components for an array, it will
assemble it but not activate it unless --run or --scan is given. To
preserve this behaviour even with --scan, add --no-degraded. Note that
all of the components means as many as were present the last time the
array was running as recorded in the superblock. If the array was
already degraded, and the missing device is not a new problem, it will
still be assembled. It is only newly missing devices that cause the
array not to be started.





Re: [gentoo-user] Need to turn on wireless

2011-07-18 Thread Mark Knecht
On Mon, Jul 18, 2011 at 6:41 PM, luis jure l...@internet.com.uy wrote:
 on 2011-07-18 at 18:17 Mark Knecht wrote:


   What sort of apps are available to discover a public network ESSID?
Something GUI based would be appreciated if it's in portage.

 i got good results with wicd in the past. i got it to work fine on a
 gentoo laptop for exactly what you need, if understood your mail correctly.

 i don't have a laptop anymore, and on my netbook i have xubuntu. they use
 network-manager as a default. wicd is lighter and works fine, but
 network-manager has the advantage of working with mobile broadband, while
 wicd doesn't. but i never could make network-manager work on gentoo...




Thanks, wicd seems to work well enough to show me the networks in my
neighborhood. I'll have to figure out how to connect to one when I get
to my destination tomorrow night.

Cheers,
Mark



Re: [gentoo-user] Problems with Nvidia fake raid array

2011-07-18 Thread Jeff Cranmer


On Mon, 2011-07-18 at 22:29 -0400, Michael Orlitzky wrote:
 
 Make sure your kernel supports RAID, and RAID5 (they're separate
 options). Then emerge mdadm. Once you get it up and running once, you
 can dump the current config to /etc/mdadm.conf so you don't have to
 assemble it again. Then add mdadm to the boot runlevel.
 
I'm Ok so far - Raid and Raid5 options are both already compiled into
the kernel, and mdadm is in the boot runlevel.

 # mdadm --assemble --help
 Usage: mdadm --assemble device options...
mdadm --assemble --scan options...
 
 This usage assembles one or more raid arrays from pre-existing
 components. For each array, mdadm needs to know the md device, the
 identity of the array, and a number of sub devices. These can be found
 in a number of ways.

 The md device is either given on the command line or is found listed
 in the config file. The array identity is determined either from the
 --uuid or --super-minor commandline arguments, from the config file,
 or from the first component device on the command line.
 
 The different combinations of these are as follows:
 If the --scan option is not given, then only devices and identities
 listed on the command line are considered.
 
 The first device will be the array device, and the remainder will be
 examined when looking for components.
 
 If an explicit identity is given with --uuid or --super-minor, then
 only devices with a superblock which matches that identity is
 considered, otherwise every device listed is considered.
 
 If the --scan option is given, and no devices are listed, then
 every array listed in the config file is considered for assembly.
 The identity of candidate devices are determined from the config file.
 
 If the --scan option is given as well as one or more devices, then
 Those devices are md devices that are to be assembled. Their identity
 and components are determined from the config file.
 
 If mdadm can not find all of the components for an array, it will
 assemble it but not activate it unless --run or --scan is given. To
 preserve this behaviour even with --scan, add --no-degraded. Note that
 all of the components means as many as were present the last time the
 array was running as recorded in the superblock. If the array was
 already degraded, and the missing device is not a new problem, it will
 still be assembled. It is only newly missing devices that cause the
 array not to be started.

Pardon my additional questions before taking the plunge here.  

So, given that I have three devices, /dev/sda, /dev/sdb and /dev/sdc, if
I run the command mdadm --assemble --scan, would this find all the
components and create a /dev/md0 disk without damaging the contents of
the original RAID array?

The only item in /dev/mapper is th default 'control' entry.  There is
a /dev/md0 item already listed, but presently when I try to mount it, it
reports that it is unable to read the superblock.  Would the command
above fix this?

Where is the config file mentioned in your e-mail, and do I need to edit
it first to add the three raid disks?

Thanks

Jeff




[gentoo-user] [OT]: grep -Z not working ???

2011-07-18 Thread meino . cramer
Hi,

the manual page of grep mentioned the following:

  -Z, --null
  Output  a  zero byte (the ASCII NUL character) instead of the 
character that normally follows a file name.  For example, grep -lZ outputs a 
zero byte
  after each file name instead of the usual newline.  This option 
makes the output unambiguous, even in the presence of file names  containing  
unusual
  characters  like  newlines.  This option can be used with 
commands like find -print0, perl -0, sort -z, and xargs -0 to process arbitrary 
file names,
  even those that contain newline characters.

for me (as a non-native English speak ;) ) this means:

Replace a newlie after a filename with a zero-byte.

So when doing

find /tmp | grep -Z tmp | xargs -0 md5sum

it should work comparable to

find /tmp -print0 | xargs -0 md5sum

but for me it does not.

If my logic is not complete nonsense I dont understand the second 
part of the text of the manual page:


  This option can be used with commands like find -print0, perl -0, 
sort -z, and xargs -0 to process arbitrary file names,
  even those that contain newline characters.


If I would do


find /tmp -print0 | grep -Z tmp | xargs -0 md5sum

there are no newlines which could be printed instead of the character that 
normally follows a file name. For example, grep -lZ outputs a zero byte
after each file name instead of the usual newline. 

At this point confusion fills my head and nonsense follows my commands
on the command line.

What does that all mean?

Thank you very much for any help and de-confusion in advance! :)

Best regards,
mcc




Re: [gentoo-user] Need to turn on wireless

2011-07-18 Thread Srdjan Rakic
I've been using NetworkManger for quite long time now. You might want to
check it out.

On Mon, Jul 18, 2011 at 11:03 PM, Mark Knecht markkne...@gmail.com wrote:

 On Mon, Jul 18, 2011 at 6:41 PM, luis jure l...@internet.com.uy wrote:
  on 2011-07-18 at 18:17 Mark Knecht wrote:
 
 
What sort of apps are available to discover a public network ESSID?
 Something GUI based would be appreciated if it's in portage.
 
  i got good results with wicd in the past. i got it to work fine on a
  gentoo laptop for exactly what you need, if understood your mail
 correctly.
 
  i don't have a laptop anymore, and on my netbook i have xubuntu. they use
  network-manager as a default. wicd is lighter and works fine, but
  network-manager has the advantage of working with mobile broadband, while
  wicd doesn't. but i never could make network-manager work on gentoo...
 
 
 

 Thanks, wicd seems to work well enough to show me the networks in my
 neighborhood. I'll have to figure out how to connect to one when I get
 to my destination tomorrow night.

 Cheers,
 Mark




Re: [gentoo-user] [OT]: grep -Z not working ???

2011-07-18 Thread Matthew Finkel
On 07/18/11 23:12, meino.cra...@gmx.de wrote:
 Hi,

 the manual page of grep mentioned the following:

   -Z, --null
   Output  a  zero byte (the ASCII NUL character) instead of the 
 character that normally follows a file name.  For example, grep -lZ outputs a 
 zero byte
   after each file name instead of the usual newline.  This option 
 makes the output unambiguous, even in the presence of file names  containing  
 unusual
   characters  like  newlines.  This option can be used with 
 commands like find -print0, perl -0, sort -z, and xargs -0 to process 
 arbitrary file names,
   even those that contain newline characters.

 for me (as a non-native English speak ;) ) this means:

 Replace a newlie after a filename with a zero-byte.

 So when doing

 find /tmp | grep -Z tmp | xargs -0 md5sum

 it should work comparable to

 find /tmp -print0 | xargs -0 md5sum

 but for me it does not.

 If my logic is not complete nonsense I dont understand the second 
 part of the text of the manual page:


   This option can be used with commands like find -print0, perl 
 -0, sort -z, and xargs -0 to process arbitrary file names,
   even those that contain newline characters.


 If I would do


 find /tmp -print0 | grep -Z tmp | xargs -0 md5sum

 there are no newlines which could be printed instead of the character that 
 normally follows a file name. For example, grep -lZ outputs a zero byte
 after each file name instead of the usual newline. 


This took me a few minutes to actually figure out exactly what -Z in
supposed to do. But I *think* it does exactly this. Whatever character
comes directly after the filename is replaces by NUL. As you can see in
my example below, the character that normally follows a filename is ':'
(a colon), but with the -Z option, the colon is replace with NUL, this
no 'character' follows it.

~/joe/sullivan $ grep -Z document ./*
./core.js$(document).ready(function() {
./core.js$(document).pngFix();
./core.jsvar map = new
google.maps.Map(document.getElementById(map_of_region), myOptions);

~/joe/sullivan $ grep document ./*
./core.js:$(document).ready(function() {
./core.js:$(document).pngFix();
./core.js:var map = new
google.maps.Map(document.getElementById(map_of_region), myOptions);


But please do correct me if I'm wrong.


 At this point confusion fills my head and nonsense follows my commands
 on the command line.

 What does that all mean?

 Thank you very much for any help and de-confusion in advance! :)

 Best regards,
 mcc

HTH (and that I'm not totally off track)

- Matt



[gentoo-user] Anyone have any trouble with rc_parallel=YES ?

2011-07-18 Thread Pandu Poluan
Spelunking in /etc/rc.conf, I found the rc_parallel setting,
accompanied with a quite significant WARNING.

Have anyone experienced any trouble setting rc_parallel to YES?

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com
Google Talk:    pepoluan
Y! messenger: pepoluan
MSN / Live:  pepol...@hotmail.com (do not send email here)
Skype:    pepoluan



[gentoo-user] Which Union File System?

2011-07-18 Thread Pandu Poluan
I am in the process of making an xva (XenServer Virtual Appliance) to
replace the function of the minimal.iso. The main difference would be
an 'out-of-the-box' PV-mode support.

Since it is meant to replace minimal.iso, to make the xva small I plan
on using squashfs as root. However, I do understand that some
directories need to be writable (e.g., /etc, /var). So, I need to
implement a union filesystem to allow writes to writable directories.

No need for fancy stuffs like write-balancing or logging; the main
need here is reliability (stability).

Which union filesystem do you recommend?

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] qemu-kvm

2011-07-18 Thread john
On Sat, 16 Jul 2011 19:04:51 +
j...@jdm.myzen.co.uk wrote:

 No unfortunately
 --Original Message--
 From: Matthew Finkel
 To: Gentoo
 ReplyTo: Gentoo
 Subject: Re: [gentoo-user] qemu-kvm
 Sent: 16 Jul 2011 17:51
 
 On 07/15/11 20:24, john wrote:
  I am running a gentoo amd64 qemu-kvm virtual image on my gentoo
  amd64 box.
 
  Everything is running well. Machine boots up and all looks to be ok.
 
  When I startx the screen goes purple (on guest) and locks up. The
  only error message I get is on host.
 
  KVM internal error. Suberror: 1 emulation failure
 
  I would guess this is a graphics issue but not entirely sure.
 
  I have tried -vga cirrus, std, vmware but all have the same effect.
 
  I have emerged these in guest as xorg-drivers.
 
  Any suggestions!
 
 Are there any entries in /var/log/messages or /var/log/X.0.log on the
 guest related to the lock up?
 
 
 
 Sent from my BlackBerry® smartphone on O2

Lost with this one. Installed Mageia and Mint (thnx to Linux Format).
Both worked fine.
Then tried calculate and ok. No messgaes in log other than emulation
failure suberror :1 in terminal.

Reinstalled gentoo with X and all worked ok. Must have been a bad image!

The only thing I did different was use ext3 instead of reiserfs and
change -march from k8 to native. Although on bad guest remerged all
packages with native and still did not work.

Happy now gentoo kvm is working. It's blinding quick.

Thanks for suggestion of using system rescue.  

-- 
--
John D Maunder
j...@jdm.myzen.co.uk



Re: [gentoo-user] Need to turn on wireless

2011-07-18 Thread Mick
On Tuesday 19 Jul 2011 04:03:46 Mark Knecht wrote:
 On Mon, Jul 18, 2011 at 6:41 PM, luis jure l...@internet.com.uy wrote:
  on 2011-07-18 at 18:17 Mark Knecht wrote:
What sort of apps are available to discover a public network ESSID?
 
 Something GUI based would be appreciated if it's in portage.
 
  i got good results with wicd in the past. i got it to work fine on a
  gentoo laptop for exactly what you need, if understood your mail
  correctly.
  
  i don't have a laptop anymore, and on my netbook i have xubuntu. they use
  network-manager as a default. wicd is lighter and works fine, but
  network-manager has the advantage of working with mobile broadband, while
  wicd doesn't. but i never could make network-manager work on gentoo...
 
 Thanks, wicd seems to work well enough to show me the networks in my
 neighborhood. I'll have to figure out how to connect to one when I get
 to my destination tomorrow night.
 
 Cheers,
 Mark

You can choose from wicd, networkmanager (this comes with different front ends 
depending on your DE) and wpa_supplicant gui.  From what I read wicd is the 
best if you just want to use it for WiFi.  The way to connect is to click on 
the access point of your choice and fill in the passphrase/key when it pops up 
and asks you for it.

Unprotected wireless networks will just connect without asking for a key.
-- 
Regards,
Mick


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


Re: [gentoo-user] Anyone have any trouble with rc_parallel=YES ?

2011-07-18 Thread Mick
On Tuesday 19 Jul 2011 04:39:49 Pandu Poluan wrote:
 Spelunking in /etc/rc.conf, I found the rc_parallel setting,
 accompanied with a quite significant WARNING.
 
 Have anyone experienced any trouble setting rc_parallel to YES?
 
 Rgds,

Not so far (used on 3 boxen).

However, if say mysql or something else fails to start you will miss the error 
message, because it will switch you over to X (depending on the sequence of 
start up processes).
-- 
Regards,
Mick


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