Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread A.R.S. KA9QLQ Alvin Koffman
Ok I was making an ASSuMEtion because I thought I red Gnome was the
default desktop and that's what you'd boot into. Anyway on boot it gets to
the screen where ther's a row of icons at the bottom that dissapers one by
one. When the last icon goes the monitor goes off saying "no signal" and
shuts down.
Ideas welcome
Alvin

--- Iain Buchanan <[EMAIL PROTECTED]> wrote:

> On Tue, 2006-03-07 at 22:18 -0800, A.R.S. KA9QLQ Alvin Koffman wrote:
> > Well I'm stumped. Every time I boot the live cd it gets to where Gnome
> > should start then the monitor goes off. Does any one know what video
> > drivers the live cd uses?
> 
> The gentoo live cd?  I didn't know it started gnome.  Did I miss some
> important part of this thread?
> -- 
> Iain Buchanan 
> 
> Star Trek Lives!
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

For the best jerky you've ever had go to
http://alk.jerkydirect.com/
My home page
http://ka9qlq.tripod.com
This PC is windows free with Mepis Linux 3.4-3
http://www.mepis.org/
1(747)632-4973 SIP 
Get Gizmo 1 cent per minuet calling
http://www.gizmoproject.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Rumen Yotov
On Wednesday 08 March 2006 10:00, A.R.S. KA9QLQ Alvin Koffman wrote:
> Ok I was making an ASSuMEtion because I thought I red Gnome was the
> default desktop and that's what you'd boot into. Anyway on boot it gets to
> the screen where ther's a row of icons at the bottom that dissapers one by
> one. When the last icon goes the monitor goes off saying "no signal" and
> shuts down.
> Ideas welcome
> Alvin
>
> --- Iain Buchanan <[EMAIL PROTECTED]> wrote:
> > On Tue, 2006-03-07 at 22:18 -0800, A.R.S. KA9QLQ Alvin Koffman wrote:
> > > Well I'm stumped. Every time I boot the live cd it gets to where Gnome
> > > should start then the monitor goes off. Does any one know what video
> > > drivers the live cd uses?
> >
> > The gentoo live cd?  I didn't know it started gnome.  Did I miss some
> > important part of this thread?
> > --
> > Iain Buchanan 
> >
> > Star Trek Lives!
> >
> > --
> > gentoo-user@gentoo.org mailing list
>
> For the best jerky you've ever had go to
> http://alk.jerkydirect.com/
> My home page
> http://ka9qlq.tripod.com
> This PC is windows free with Mepis Linux 3.4-3
> http://www.mepis.org/
> 1(747)632-4973 SIP
> Get Gizmo 1 cent per minuet calling
> http://www.gizmoproject.com/
Hi,
Just a suggestion, check about boot arguments, try acpi=off or some others.
Never had the need to use one, so no personal experience.
HTH.Rumen


pgpHC5BegLSVd.pgp
Description: PGP signature


Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Ghaith Hachem
On 3/8/06, Iain Buchanan <[EMAIL PROTECTED]> wrote:
> The gentoo live cd?  I didn't know it started gnome.

the new 2006.0 boots gnome and you can start graphical installer

now for the problem,
press ctrl+alt+F1 there you can kill configure your xorg with
xorgconfig when done restart X with
/etc/init.d/xdm restart
it should work

> important part of this thread?
> --
> Iain Buchanan 
>
> Star Trek Lives!
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] .dmrc error

2006-03-08 Thread c.s.prakash
haiwhen i login to root account thru gnome it shows an error massage ".dmrc file permission erroit should be 644 and owned by the user"but when i login to other accounts it does not show the error 
and while login to IceWM as root.i saw the file permission its also correct. how can solve this-- C.S.Prakash


Re: [gentoo-user] .dmrc error

2006-03-08 Thread Tom Haddon
I had the same problem on Ubuntu. Just issue chmod 755 /home/.
This isn't recursive and doesn't mean everyone can execute anything in
your home directory - the execute bit only means traverse in reference
to directories, so you should be okay.

Thanks, Tom

On Wed, 2006-03-08 at 14:14 +0530, c.s.prakash wrote:
> hai
> 
> when i login to root account thru gnome it shows an error massage 
> ".dmrc file permission erro
> it should be 644 and owned by the user"
> 
> but when i login to other accounts it does not show the error 
> and while login to IceWM as root.
> 
> i saw the file permission its also correct. how can solve this
> 
> -- 
> C.S.Prakash

Tom Haddon
mailto:[EMAIL PROTECTED]

Don't tell any big lies today.  Small ones can be just as effective.


-
Random quotes courtesy of fortune.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Holly Bostick
A.R.S. KA9QLQ Alvin Koffman schreef:
> Well I'm stumped. Every time I boot the live cd it gets to where 
> Gnome should start then the monitor goes off. Does any one know what 
> video drivers the live cd uses? Alvin
> 
> For the best jerky you've ever had go to http://alk.jerkydirect.com/
>  My home page http://ka9qlq.tripod.com This PC is windows free with 
> Mepis Linux 3.4-3 http://www.mepis.org/ 1(747)632-4973 SIP Get Gizmo 
> 1 cent per minuet calling http://www.gizmoproject.com/

What video card do you have and what drivers?

I've had similar problems (not with this graphical live CD, since I
installed Gentoo before it existed, but with X applications and X
itself), because I have an ATI card. ATI cards do do that (just shut
down the monitor) if 1) using the wrong drivers ("radeon" when card
model is one above the 9(2/5?)50 (sorry, can't remember which model is
the stopper for the Open Source drivers), and/or 2) DGA is enabled for
the fglrx drivers (this will do exactly what you described; it has many
times for me, and it is just one of the many PITAs with the fglrx drivers).

The thing is-- in theory, I have no evidence to support this-- that
GNOME (I am a GNOME user as opposed to a KDE user, though I don't use
either of those DE's regularly or "first" during a new install due to
their size) appears to require 3D support be working in order to load
properly. Or at least, the hardware acceleration must be working if
you're using drivers that supposedly support said acceleration. As I
said, I have no evidence for this /per se/; it's just my theory based on
experience. If you're using the 'vesa' drivers (which don't support 3D),
I betcha GNOME will load fine (at least it always does for me), but as
soon as you load drivers in your X config that are supposed to support
hardware acceleration/OpenGL/3D, GNOME will break if that support is
broken (even though, afaik, no basic operation of GNOME actually uses
3D-- that's why this is a "theory" and seemingly rather a crackpot one,
but it's the only theory that fits my experience).

So I would suggest first changing your xorg.conf to load the vesa
drivers, which should load (that's what they're for, default drivers
that should always be able to load and display), then editing your
xorg.conf to resolve the "obvious" problem that it must have.  Some
option or driver causes your video card to stop sending a signal. I know
that >=9600 ATI cards do this when DGA is enabled on the fglrx drivers,
and also that >=9(2/5?)50 cards do strange things when using the
"radeon" drivers which don't support these models for hardware
acceleration, as opposed to the "fglrx" drivers which do-- but  the
LiveCDs will tend to (in my experience) recognize my 9800SE as an ATI
card and load the "radeon" drivers incorrectly because the "fglrx"
drivers that the card needs are not open source... and the "radeon"
drivers don't actually work properly for my card. But you may have a
different brand of card, or it could be a different option causing this.

You might want to copy /var/log/Xorg.0.log to a backup location before
you try to start X with the vesa drivers (since the vesa drivers should
load correctly, it will overwrite the log with the errors and you need
to know what they are, so backup the log with the errors first, is that
I'm suggesting).

But the first thing we'd have to know is what is the video card, and
what are the loaded drivers; then we can work on things like what video
options you set in the kernel, and what you've got for modelines and the
like in xorg.conf (though I doubt that the issue is modelines, since
that just knocks you out fo X completely with a "no screens found"
error, not kills your signal between video card and monitor while
leaving X actually running).

Anyway, hope this helps.
Holly

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modest mail server for home network

2006-03-08 Thread Alexander Skwar
Mickey Mullin wrote:

> Unfortunately, what you describe is not a simple or common setup, so
> "easy to set up" may be a difficult goal to accomplish. Also,
> fetchmail expects an SMTP service to which it can deliver the mail it
> receives.

fetchmail will, by default, try to deliver mails to a SMTP
server running on 127.0.0.1. But with the "mda" flag, it can
be easily made to deliver mails using the "mail delivery agent".
procmail is a very well known mda. There are others.

So, fetchmail doesn't need to have a SMTP server.


Alexander Skwar
-- 
Do people know you have freckles everywhere?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Ghaith Hachem
i know ati drivers suck but i booted the live cd on my x300se card so
i guess it's not really the problem.. maybe the screen don't support
the resolution set by default (1024 x 768 was the resolution the live
cd set by default on my pc and it worked great)

On 3/8/06, Holly Bostick <[EMAIL PROTECTED]> wrote:
> A.R.S. KA9QLQ Alvin Koffman schreef:
> > Well I'm stumped. Every time I boot the live cd it gets to where
> > Gnome should start then the monitor goes off. Does any one know what
> > video drivers the live cd uses? Alvin
> >
> > For the best jerky you've ever had go to http://alk.jerkydirect.com/
> >  My home page http://ka9qlq.tripod.com This PC is windows free with
> > Mepis Linux 3.4-3 http://www.mepis.org/ 1(747)632-4973 SIP Get Gizmo
> > 1 cent per minuet calling http://www.gizmoproject.com/
>
> What video card do you have and what drivers?
>
> I've had similar problems (not with this graphical live CD, since I
> installed Gentoo before it existed, but with X applications and X
> itself), because I have an ATI card. ATI cards do do that (just shut
> down the monitor) if 1) using the wrong drivers ("radeon" when card
> model is one above the 9(2/5?)50 (sorry, can't remember which model is
> the stopper for the Open Source drivers), and/or 2) DGA is enabled for
> the fglrx drivers (this will do exactly what you described; it has many
> times for me, and it is just one of the many PITAs with the fglrx drivers).
>
> The thing is-- in theory, I have no evidence to support this-- that
> GNOME (I am a GNOME user as opposed to a KDE user, though I don't use
> either of those DE's regularly or "first" during a new install due to
> their size) appears to require 3D support be working in order to load
> properly. Or at least, the hardware acceleration must be working if
> you're using drivers that supposedly support said acceleration. As I
> said, I have no evidence for this /per se/; it's just my theory based on
> experience. If you're using the 'vesa' drivers (which don't support 3D),
> I betcha GNOME will load fine (at least it always does for me), but as
> soon as you load drivers in your X config that are supposed to support
> hardware acceleration/OpenGL/3D, GNOME will break if that support is
> broken (even though, afaik, no basic operation of GNOME actually uses
> 3D-- that's why this is a "theory" and seemingly rather a crackpot one,
> but it's the only theory that fits my experience).
>
> So I would suggest first changing your xorg.conf to load the vesa
> drivers, which should load (that's what they're for, default drivers
> that should always be able to load and display), then editing your
> xorg.conf to resolve the "obvious" problem that it must have.  Some
> option or driver causes your video card to stop sending a signal. I know
> that >=9600 ATI cards do this when DGA is enabled on the fglrx drivers,
> and also that >=9(2/5?)50 cards do strange things when using the
> "radeon" drivers which don't support these models for hardware
> acceleration, as opposed to the "fglrx" drivers which do-- but  the
> LiveCDs will tend to (in my experience) recognize my 9800SE as an ATI
> card and load the "radeon" drivers incorrectly because the "fglrx"
> drivers that the card needs are not open source... and the "radeon"
> drivers don't actually work properly for my card. But you may have a
> different brand of card, or it could be a different option causing this.
>
> You might want to copy /var/log/Xorg.0.log to a backup location before
> you try to start X with the vesa drivers (since the vesa drivers should
> load correctly, it will overwrite the log with the errors and you need
> to know what they are, so backup the log with the errors first, is that
> I'm suggesting).
>
> But the first thing we'd have to know is what is the video card, and
> what are the loaded drivers; then we can work on things like what video
> options you set in the kernel, and what you've got for modelines and the
> like in xorg.conf (though I doubt that the issue is modelines, since
> that just knocks you out fo X completely with a "no screens found"
> error, not kills your signal between video card and monitor while
> leaving X actually running).
>
> Anyway, hope this helps.
> Holly
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Holly Bostick
Ghaith Hachem schreef:
> On 3/8/06, Holly Bostick <[EMAIL PROTECTED]> wrote:
> 
>> What video card do you have and what drivers?
>> 
>> I've had similar problems (not with this graphical live CD, since I
>>  installed Gentoo before it existed, but with X applications and X 
>> itself), because I have an ATI card. ATI cards do do that (just
>> shut down the monitor) if 1) using the wrong drivers ("radeon" when
>> card model is one above the 9(2/5?)50 (sorry, can't remember which
>> model is the stopper for the Open Source drivers), and/or 2) DGA is
>> enabled for the fglrx drivers (this will do exactly what you
>> described; it has many times for me, and it is just one of the many
>> PITAs with the fglrx drivers).

> i know ati drivers suck but i booted the live cd on my x300se card so
>  i guess it's not really the problem..

I wouldn't bet on that... just because the liveCD boots and loads what
seems to be X doesn't mean that the settings that you ultimately wound
up with for X are sufficient and correct to load a full desktop
environment. The installer has limited needs (so really doesn't need
more than the failsafe vesa drivers), and a full DE has many more
requirements.

Also, the "x" cards are particularly problematic in terms of X
drivers at this time.

> maybe the screen don't support the resolution set by default (1024 x
> 768 was the resolution the live cd set by default on my pc and it
> worked great)

Well, you might have a point there (no way to know without more detail),
but again, the symptoms of that don't necessarily fit the conditions
you're experiencing. It's true that most modern monitors will shut off
to save themselves if told to operate in parameters out of their range
(for example if I told my monitor to run at 1600x1200 when it only does
1280x1024 with difficulty). But if the resolution is set by default,
then auto detection should have told the x setup what the correct
parameters for your monitor are and the default setting should be within
the correct range. Did you change something, and now the default
resolution is *not* 1024x768 (which ought to work for almost any
monitor, certainly a current flatpanel)? And secondly, as I said, the
usual result of X asking a monitor to display at a higher resolution
than the monitor says it can do is *not* signal loss-- it's either a "no
screens found" error (if the higher resolution is the only setting
available), or display at a much lower resolution than you asked for (if
lower settings are available, X will try them all until it finds one
that fit within the monitor's stated parameters of vsync and hres).
Signal loss, in my experience (which is admittedly limited, but since
most people never experience signal loss at all-- which is as it should
be-- even limited experience seems valuable), indicates a very specific
range of conditions that might cause it, and they are almost all related
to the video card and its drivers and settings, rather than anything to
do with the monitor itself (after all, what do you think sends or
doesn't send a signal to the monitor :-) ?).

What does your Xorg log say (/var/log/Xorg.0.log), and what are your
settings for the monitor and video device in /etc/X11/xorg.conf?

Also, bizarre as it sounds. is this a new card, or have you been
swapping things around inside your case before this install? You might
check the seating and connections of the card. Although your situation
is slightly different from mne-- you have a flat panel which presumably
uses the DVI connector natively, whereas I have a CRT and must use the
included DVI-to-VGA converter plug-- I have noticed that several times
after modifying something internal to the box itself (whether related to
the video card or not), I often had to open the box a second time and
reseat the card and/or the monitor connection, which resolved errors I
would suddenly be getting for "no reason". So you might want to check
that as well, though perhaps the connectors have been redesigned since
my 9800SE came out (and so are not loosened at the slightest little thing).

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



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Ghaith Hachem
On 3/8/06, Holly Bostick <[EMAIL PROTECTED]> wrote:
> Also, the "x" cards are particularly problematic in terms of X
> drivers at this time.
yep the card sucks i'll get an nvidia as soon as i can

> > maybe the screen don't support the resolution set by default (1024 x
> > 768 was the resolution the live cd set by default on my pc and it
> > worked great)
>
> Well, you might have a point there (no way to know without more detail),
> but again, the symptoms of that don't necessarily fit the conditions
> you're experiencing.
I'm not experiencing anything with the live cd it's working great for
me you probably got me and the main poster confused.. i was just
saying that it worked on my ATI card (probably coz it loads default
drivers)

--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Daniel da Veiga
On 3/8/06, Ghaith Hachem <[EMAIL PROTECTED]> wrote:
> i know ati drivers suck but i booted the live cd on my x300se card so
> i guess it's not really the problem.. maybe the screen don't support
> the resolution set by default (1024 x 768 was the resolution the live
> cd set by default on my pc and it worked great)
>

The livecd uses the VESA drivers, that should support most if not all
cards, its a generic driver, so, what you are getting is probably a
VSync problem, Xorg tries to probe the monitor for supported
resolutions and H/VSyncs, what happened must be that it is using a
Vsync not supported by your monitor.

Use CTRL+ALT+F1, edit /etc/X11/xorg.conf, try setting the VSync to
lower values (60 for instance), also try setting a lower resolution
(800x600 should work). Man xorg.conf for details. X -configure can
"try" to create a xorg.conf probing your devices (it usually misses my
mouse). Check the X System How To at www.gentoo.org to see how
configure xorg.

Keep in mind that you can use the command-line installer instead, or
follow the instructions and do it by hand (I consider the later a
great learning experience that can save your ass sometimes).

> On 3/8/06, Holly Bostick <[EMAIL PROTECTED]> wrote:
> > A.R.S. KA9QLQ Alvin Koffman schreef:
> > > Well I'm stumped. Every time I boot the live cd it gets to where
> > > Gnome should start then the monitor goes off. Does any one know what
> > > video drivers the live cd uses? Alvin
> > >
> > > For the best jerky you've ever had go to http://alk.jerkydirect.com/
> > >  My home page http://ka9qlq.tripod.com This PC is windows free with
> > > Mepis Linux 3.4-3 http://www.mepis.org/ 1(747)632-4973 SIP Get Gizmo
> > > 1 cent per minuet calling http://www.gizmoproject.com/
> >
> > What video card do you have and what drivers?
> >
> > I've had similar problems (not with this graphical live CD, since I
> > installed Gentoo before it existed, but with X applications and X
> > itself), because I have an ATI card. ATI cards do do that (just shut
> > down the monitor) if 1) using the wrong drivers ("radeon" when card
> > model is one above the 9(2/5?)50 (sorry, can't remember which model is
> > the stopper for the Open Source drivers), and/or 2) DGA is enabled for
> > the fglrx drivers (this will do exactly what you described; it has many
> > times for me, and it is just one of the many PITAs with the fglrx drivers).
> >
> > The thing is-- in theory, I have no evidence to support this-- that
> > GNOME (I am a GNOME user as opposed to a KDE user, though I don't use
> > either of those DE's regularly or "first" during a new install due to
> > their size) appears to require 3D support be working in order to load
> > properly. Or at least, the hardware acceleration must be working if
> > you're using drivers that supposedly support said acceleration. As I
> > said, I have no evidence for this /per se/; it's just my theory based on
> > experience. If you're using the 'vesa' drivers (which don't support 3D),
> > I betcha GNOME will load fine (at least it always does for me), but as
> > soon as you load drivers in your X config that are supposed to support
> > hardware acceleration/OpenGL/3D, GNOME will break if that support is
> > broken (even though, afaik, no basic operation of GNOME actually uses
> > 3D-- that's why this is a "theory" and seemingly rather a crackpot one,
> > but it's the only theory that fits my experience).
> >
> > So I would suggest first changing your xorg.conf to load the vesa
> > drivers, which should load (that's what they're for, default drivers
> > that should always be able to load and display), then editing your
> > xorg.conf to resolve the "obvious" problem that it must have.  Some
> > option or driver causes your video card to stop sending a signal. I know
> > that >=9600 ATI cards do this when DGA is enabled on the fglrx drivers,
> > and also that >=9(2/5?)50 cards do strange things when using the
> > "radeon" drivers which don't support these models for hardware
> > acceleration, as opposed to the "fglrx" drivers which do-- but  the
> > LiveCDs will tend to (in my experience) recognize my 9800SE as an ATI
> > card and load the "radeon" drivers incorrectly because the "fglrx"
> > drivers that the card needs are not open source... and the "radeon"
> > drivers don't actually work properly for my card. But you may have a
> > different brand of card, or it could be a different option causing this.
> >
> > You might want to copy /var/log/Xorg.0.log to a backup location before
> > you try to start X with the vesa drivers (since the vesa drivers should
> > load correctly, it will overwrite the log with the errors and you need
> > to know what they are, so backup the log with the errors first, is that
> > I'm suggesting).
> >
> > But the first thing we'd have to know is what is the video card, and
> > what are the loaded drivers; then we can work on things like what video
> > options you set in the kernel, and what you've got for modelines and th

Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Jeremy Olexa



Please note that "mmx" seems to be missing in both columns. despite
that its there in my USE in make.conf
 

`cat /proc/cpuinfo |grep flags` to see what flags your cpu uses. Perhaps 
your cpu doesn't handle mmx?


Sorry, I don't have expierence with your cpu.

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



Re: [gentoo-user] .dmrc error

2006-03-08 Thread c.s.prakash
hai,   it worked for me, but since it a root's directory i dont any one to view the content on the folder.is there any other way to solve the problen.On 3/8/06, 
Tom Haddon <[EMAIL PROTECTED]> wrote:
I had the same problem on Ubuntu. Just issue chmod 755 /home/.This isn't recursive and doesn't mean everyone can execute anything inyour home directory - the execute bit only means traverse in reference
to directories, so you should be okay.Thanks, TomOn Wed, 2006-03-08 at 14:14 +0530, c.s.prakash wrote:> hai>> when i login to root account thru gnome it shows an error massage> ".dmrc file permission erro
> it should be 644 and owned by the user">> but when i login to other accounts it does not show the error> and while login to IceWM as root.>> i saw the file permission its also correct. how can solve this
>> --> C.S.PrakashTom Haddonmailto:[EMAIL PROTECTED]Don't tell any big lies today.  Small ones can be just as effective.-
Random quotes courtesy of fortune.--gentoo-user@gentoo.org mailing list-- C.S.Prakash


Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Patrick B�rjesson
On 2006-03-08 00:20, Kumar Golap uttered these thoughts:
> I have the following USE in my make.conf (on an athlon64 machine)
> USE="3dnow xorg a52 alsa acpi arts avi berkdb cdr crypt cups dvdr dvd
> encode foomaticdb ffmpeg flac gdbm gif gpm gtk gtk2 hal imlib jpeg kde
> gnome libg++ libwww lm_sensors mad mikmod mmx motif mpeg mysql ncurses
> nls oggvorbis opengl pam pam_console pdflib png python qt quicktime
> readline sdl slang spell sse ssl svga tcpd tiff truetype usb X xml2
> xmms xv zlib f77 v4l win32codecs"
> 
> 
> And when i do: equery uses xawtv i get the following:
> [ Searching for packages matching xawtv... ]
> [ Colour Code : set unset ]
> [ Legend: Left column  (U) - USE flags from make.conf 
>]
> [  : Right column (I) - USE flags packages was installed with 
> ]
> [ Found these USE variables for media-tv/xawtv-3.95-r1 ]
[snip]
>  - - mmx   : Adds support for optimizations for Pentium MMX and
> Athlon class processors
[snip]

> Please note that "mmx" seems to be missing in both columns. despite
> that its there in my USE in make.conf
> 
> When i do: emerge --pretend --newuse xawtv
> 
> It basically reports that nothing need to be done

Try a
$ emerge -vp xawtv
and see if the mmx useflag is set in that output... If not, then do a 
$ emerge --info
and see if the useflag output from that command includes mmx. If not,
you've probably got a typo of some sort in your make.conf since the mmx
useflag is not profile-masked on the amd64 (use.mask under your
/etc/make.profile symlink). 

> Is this a bug in equery or is it that i can't set mmx on an Athlon64 ?

Might be, but probably not ;)


Regards,
Patrick B�rjesson

-- 
/  ()  The ASCII Ribbon Campaign - against HTML Email
\  /\   and proprietary formats.


pgpUlt3St97RL.pgp
Description: PGP signature


Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Holly Bostick
Daniel da Veiga schreef:
> 
> The livecd uses the VESA drivers, that should support most if not all
>  cards

Yes, I'm sure that's true-- but what I'm wondering is, does the LiveCD
use the VESA drivers *no matter what* is returned by autodectection of
the video hardware?

My question here is because I have installed a lot of distros, and the
thing is that as soon as autodetection got an ATI product ID back from
the video hardware, I automatically got the radeon drivers. And for me,
the radeon drivers are bad news. So I would always have to manually
specify vesa anyway (after X broke).

I would actually suspect that the same thing happens to nVidia users
under most circumstances (they load the nv driver rather than vesa), but
of course the nVidia open-source drivers actually work properly, so this
is likely not a problem for them.

So I'm originally asking if the card might be subject to this condition
(since I have experienced signal loss errors due to misconfiguration of
an ATI card, which misconfiguration is in some cases due to hardware
autodetection mishandling the card when found).

> so, what you are getting is probably a VSync problem, Xorg tries to
> probe the monitor for supported resolutions and H/VSyncs, what
> happened must be that it is using a Vsync not supported by your
> monitor.
> 

That certainly would explain things, but how broken would autodetection
then be (or the monitor's EDID?? support) if it couldn't even
detect/report its own Vsync range?

Not that you might not be right, but that's really scary-- scarier than
my theory of autodetect working properly, but mishandling what it detects.

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



Re: [gentoo-user] .dmrc error

2006-03-08 Thread Tom Haddon
Didn't see the root account message. Not sure how you would resolve that
one (could experiment with the permissions on the directory - try 750 or
700), but I think if you're worried about security, it's never a wise
idea to log in to an X session as root. Is there some particular reason
that you have to do this (presumably regularly) instead of using su or
sudo to access root privileges from a non-privileged account?

On Wed, 2006-03-08 at 18:24 +0530, c.s.prakash wrote:
> hai,
> 
>it worked for me, but since it a root's directory i dont any one to
> view the content on the folder.
> 
> is there any other way to solve the problen.
> 
> 
> 
> 
> On 3/8/06, Tom Haddon <[EMAIL PROTECTED]> wrote:
> I had the same problem on Ubuntu. Just issue chmod
> 755 /home/.
> This isn't recursive and doesn't mean everyone can execute
> anything in
> your home directory - the execute bit only means traverse in
> reference 
> to directories, so you should be okay.
> 
> Thanks, Tom
> 
> On Wed, 2006-03-08 at 14:14 +0530, c.s.prakash wrote:
> > hai
> >
> > when i login to root account thru gnome it shows an error
> massage
> > ".dmrc file permission erro 
> > it should be 644 and owned by the user"
> >
> > but when i login to other accounts it does not show the
> error
> > and while login to IceWM as root.
> >
> > i saw the file permission its also correct. how can solve
> this 
> >
> > --
> > C.S.Prakash
> 
> Tom Haddon
> mailto:[EMAIL PROTECTED]
> 
> Don't tell any big lies today.  Small ones can be just as
> effective.
> 
> 
> - 
> Random quotes courtesy of fortune.
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 
> 
> 
> -- 
> C.S.Prakash

Tom Haddon
mailto:[EMAIL PROTECTED]

The smallest worm will turn being trodden on.
-- William Shakespeare, "Henry VI"


-
Random quotes courtesy of fortune.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bash_history

2006-03-08 Thread Goran Maksimovi

> Tim Kruse <[EMAIL PROTECTED]> writes:
> 
> >  I love zsh ;-)
> >
> > ,-
> > | % setopt | grep -i "append.*history"
> > | incappendhistory
> > | % man zshoptions | col -b | grep -A 4 APPEND_HISTORY
> > | APPEND_HISTORY 
> > | If this is set, zsh sessions will append their history  list  to
> > | the  history file, rather than overwrite it. Thus, multiple par-
> > | allel zsh sessions will all have their history  lists  added  to
> > | the history file, in the order they are killed.
> > |--
> > | INC_APPEND_HISTORY
> > | This options works like APPEND_HISTORY except that  new  history
> > | lines  are added to the $HISTFILE incrementally (as soon as they
> > | are entered), rather than waiting until  the  shell  is  killed.
> > | The  file  is periodically trimmed to the number of lines speci-
> > | fied by $SAVEHIST, but can exceed this value between  trimmings.
> > `-
> 
> I'd love it more if they bothered to tell you how to set this stuff.
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

Yes it would be lovely :), but I prefer bash.


-- T - C o m - - W e b m a i l --
Ova poruka poslana je upotrebom T-Com Webmail usluge.
T-Com te vodi na Svjetsko nogometno prvenstvo
http://www.t-com.hr/naslovnica/nogomet/



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Iptables Tarpit

2006-03-08 Thread Andrew Frink
You could also just add the "extensions" USE flag to iptables and that should give you tarpit supportOn 3/7/06, Dave Jones <
[EMAIL PROTECTED]> wrote:Erik Westenbroek wrote on 03/07/06 04:18:> I am attempting create a tarpit to protect against SSH Brute force
> attempts.  I tried this: --snip--> iptables -A SSH_Brute_Force -p tcp -j TARPIT> After I type the last command typed I got this error message:> iptables: No chain/target/match by that name
> What am I doing wrong?Hi ErikThe standard Gentoo-sources kernel does not include the TARPIT target.You need to pick up an updated kernel iptables source from
netfilter.org, and install it as follows:I assume you have a subversion client already installed on your machine.  cd /usr/srcPick up patch-o-matic-ng:  svn co 
https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ngPick up iptables source code:  svn co https://svn.netfilter.org/netfilter/trunk/iptables
Install kernel patches to iptables extra code  cd patch-o-matic-ng  ./runme extraHere you can select the targets/filters (e.g TARPIT) you want patchinginto the kernel iptables modules.
After installing patches you must regenerate your kernel and modules toactivate the patches, and then re-emerge iptables to pick up the kernelpatches.make menuconfigmake && make modules_install && make install
Make sure that you have USE="extensions" in your /etc/make.conf beforeyou emerge iptables, or it will ignore the new non-standard extensions. emerge iptablesThis worked for me.
Cheers, Dave--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] .dmrc error

2006-03-08 Thread c.s.prakash

still the same prolen on gentoo but it works fine in suse 10.
i thought it will also work in gentoo but it still shows the same error in gentoo.
On 3/8/06, Tom Haddon <[EMAIL PROTECTED]> wrote:
Didn't see the root account message. Not sure how you would resolve thatone (could experiment with the permissions on the directory - try 750 or700), but I think if you're worried about security, it's never a wise
idea to log in to an X session as root. Is there some particular reasonthat you have to do this (presumably regularly) instead of using su orsudo to access root privileges from a non-privileged account?
On Wed, 2006-03-08 at 18:24 +0530, c.s.prakash wrote:> hai,>>it worked for me, but since it a root's directory i dont any one to> view the content on the folder.>> is there any other way to solve the problen.
> On 3/8/06, Tom Haddon <[EMAIL PROTECTED]> wrote:> I had the same problem on Ubuntu. Just issue chmod> 755 /home/.
> This isn't recursive and doesn't mean everyone can execute> anything in> your home directory - the execute bit only means traverse in> reference> to directories, so you should be okay.
>> Thanks, Tom>> On Wed, 2006-03-08 at 14:14 +0530, c.s.prakash wrote:> > hai> >> > when i login to root account thru gnome it shows an error
> massage> > ".dmrc file permission erro> > it should be 644 and owned by the user"> >> > but when i login to other accounts it does not show the
> error> > and while login to IceWM as root.> >> > i saw the file permission its also correct. how can solve> this> >
> > --> > C.S.Prakash>> Tom Haddon> mailto:[EMAIL PROTECTED]>> Don't tell any big lies today.  Small ones can be just as
> effective.>>> -> Random quotes courtesy of fortune.>> --> gentoo-user@gentoo.org
 mailing list> --> C.S.PrakashTom Haddonmailto:[EMAIL PROTECTED]The smallest worm will turn being trodden on.
--
William Shakespeare, "Henry VI"-Random quotes courtesy of fortune.--gentoo-user@gentoo.org mailing list
-- C.S.Prakash


[gentoo-user] SSH + Keys

2006-03-08 Thread Timothy A. Holmes
Good Morning Folks:

I have been doing some reading over the last day or two about a SSH bot
attack that is occurring in some places.  I will be the first to admit
that I have been a bit lax with my ssh security (allowing root logins
etc).  This problem has inspired me to get things cleaned up, and flying
right again.  I have already modified my ssh config to prevent root
logins via ssh, so that hole is closed.  In talking to a friend
yesterday, he suggested using key based authentication to further
protect my servers, which sounds like a great idea.  The problem is that
I have no idea how to set it up.  A google search turned up the Gentoo
pages on keychain, which does not sound exactly like what he was talking
about (he mentioned a key carried on a JUMP drive (usb stick)) 

I am using gentoo (and fedora (soon to be converted) servers) and PUTTY.
If someone can offer suggestions, or point me in the right direction, I
would be most appreciative.  

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Daniel da Veiga
On 3/8/06, Holly Bostick <[EMAIL PROTECTED]> wrote:
> Daniel da Veiga schreef:
> >
> > The livecd uses the VESA drivers, that should support most if not all
> >  cards
>
> Yes, I'm sure that's true-- but what I'm wondering is, does the LiveCD
> use the VESA drivers *no matter what* is returned by autodectection of
> the video hardware?

Well, it would be the safest way. But now that you mentioned it, I
only tested in my machine (ATI, old one) and another server (NVidia,
FX5200), both loaded without Direct Rendering and using VESA (but that
could be result of failed autodetection). I think I'll ask at the devs
list.

>
> My question here is because I have installed a lot of distros, and the
> thing is that as soon as autodetection got an ATI product ID back from
> the video hardware, I automatically got the radeon drivers. And for me,
> the radeon drivers are bad news. So I would always have to manually
> specify vesa anyway (after X broke).

Now, a simple howto on getting your screen back after a video problem
would be nice, wouldn't it? Maybe "HOWTO setup a generic video
xorg.conf".

>
> I would actually suspect that the same thing happens to nVidia users
> under most circumstances (they load the nv driver rather than vesa), but
> of course the nVidia open-source drivers actually work properly, so this
> is likely not a problem for them.
>
> So I'm originally asking if the card might be subject to this condition
> (since I have experienced signal loss errors due to misconfiguration of
> an ATI card, which misconfiguration is in some cases due to hardware
> autodetection mishandling the card when found).
>
> > so, what you are getting is probably a VSync problem, Xorg tries to
> > probe the monitor for supported resolutions and H/VSyncs, what
> > happened must be that it is using a Vsync not supported by your
> > monitor.
> >
>
> That certainly would explain things, but how broken would autodetection
> then be (or the monitor's EDID?? support) if it couldn't even
> detect/report its own Vsync range?
>
> Not that you might not be right, but that's really scary-- scarier than
> my theory of autodetect working properly, but mishandling what it detects.

Yeah, you're right, I was so certain that VESA was default but now
I'll check the livecd files to see how it works (when I have time for
it). Pretty scary indeed.

>
> Holly
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread John Jolet


On Mar 8, 2006, at 8:31 AM, Timothy A. Holmes wrote:


Good Morning Folks:

I have been doing some reading over the last day or two about a SSH  
bot

attack that is occurring in some places.  I will be the first to admit
that I have been a bit lax with my ssh security (allowing root logins
etc).  This problem has inspired me to get things cleaned up, and  
flying

right again.  I have already modified my ssh config to prevent root
logins via ssh, so that hole is closed.  In talking to a friend
yesterday, he suggested using key based authentication to further
protect my servers, which sounds like a great idea.  The problem is  
that

I have no idea how to set it up.  A google search turned up the Gentoo
pages on keychain, which does not sound exactly like what he was  
talking

about (he mentioned a key carried on a JUMP drive (usb stick))

I am using gentoo (and fedora (soon to be converted) servers) and  
PUTTY.
If someone can offer suggestions, or point me in the right  
direction, I

would be most appreciative.
step one...on the box you'll be connecting FROM, run ssh-keygen -t  
rsa (or dsa).  It will ask you the name of the file to save it to,  
take the default.  Put a passphrase on it.
step two...that created id_dsa.pub (which is what you get if you pick  
dsa above) in your ~/.ssh directory.  copy that id_dsa.pub up to a  
server you want to connect to
step three...since you've turned off root logins, you have a user on  
that box.  copy that id_dsa.pub file into the ~/.ssh/authorized_keys  
file on the target system.  note that if you have to create that  
directory yourself, you'll probably have to remove group-write  
permissions before this will work.
step four...verify that in the target server's sshd_config file,  
PubkeyAuthentication is set to yes


that should allow you to ssh targetservername...you'll be asked for a  
password, but that's to access the key on your LOCAL box.  add a -vv  
and you'll see all kinds of cool stuff.


Note that I also move ssh from port 22 to some other port, and in my  
local box, in .ssh, create a file called config.  In that I put:

"Host *
User john
port xxx"

this says for all hosts i ssh to, use port 26, and username john at  
the far end.  you can replace the * with individual host names (as  
resolved via dns or hosts file) to have different usernames on  
different boxes and different ports per host.


I've had NO ssh portscans on my boxes since I moved them off of port  
22.  for security's sake, i won't tell you where I moved them to :)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread Nagatoro
John Jolet wrote:
> this says for all hosts i ssh to, use port 26, and username john at the
[...]
> I've had NO ssh portscans on my boxes since I moved them off of port
> 22.  for security's sake, i won't tell you where I moved them to :)

Missed something? :)

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



Re: [gentoo-user] Distcc using a x86-hardened and a pentium4 host

2006-03-08 Thread Zac
Here is the gentoo distcc guild that says you should not run distcc on
hardened host for a not hardened system. 
http://mirror.eacoss.org/documentation/gentoo/distcc.html

However, I currently have an amd64 system that runs distccd that my
celeron laptop and p3 media pc use with no issues.

-Zac

On 3/7/06, Rumen Yotov <[EMAIL PROTECTED]> wrote:
> On Tuesday 07 March 2006 17:31, Kai Kuehne wrote:
> > Hi Rumen,
> >
> > On 3/7/06, Rumen Yotov <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > Not 100 % sure but think that you can't use 'distcc' with hardened &
> > > vanilla profiles, even if gcc versions are the same.
> > > These profiles have different compile flags, etc.
> > > Some time ago here (ML) there were an error message due to use if
> > > hardened & normal GCC (python segfault IIRC) using "distcc".
> > > HTH.Rumen
> >
> > Thanks!
> > Does anyone know that architecture is better?
> > Should I use x86 or i686 instead of amd64 to make distcc between my
> > server and my laptop(pentium4 profile) work?
> >
> > Greetings :)
> > Kai
> Hi,
> Just some directions, as i don't use it (distcc).
> First check the distcc-doc in gentoo.org.
> Then read (/etc/make.conf.example) about setting your CFLAGS.
> IIRC there's at least three "-march=", "-mcpu=" and "-mtune=".
> By memory (for example) -mtune=pentium4 give your generated code which is
> backward compatible with i686.
> But don't just believe me, check first. Someone else here?
> PS: also better use the sama GCC version on both machines.
> HTH.Rumen
>
>
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread John Jolet


On Mar 8, 2006, at 9:02 AM, Nagatoro wrote:


John Jolet wrote:
this says for all hosts i ssh to, use port 26, and username john  
at the

[...]

I've had NO ssh portscans on my boxes since I moved them off of port
22.  for security's sake, i won't tell you where I moved them to :)


Missed something? :)

is that a question or statement?  What do you mean?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] qmail and SA problems

2006-03-08 Thread Nick Smith
im currently trying to implement spamassassin into our mail server and
am running into problems im hoping you can help me with. our current
setup is running
gentoo/qmail/vpopmail/qmail-scanner/courier-imap/clamav/tmda.  i have
reinstalled qmail-scanner so that it can pickup that SA is installed,
and i do have setuid for clamav installed.
the problem is that none of the message seem to be being scanned by
SA.  its not re-writing the header with a score or anything, its like
im not running anything at all.  i have a testing server setup that i
am doing all of this on, i have even sent the known spam test email
"gtube" i think its called, and it isnt caught either.  the spamd
processes are running, everything looks fine.  i have tried rebooting
and restarting the services.  i think i must have a configuration
setting wrong or something.  i have included the relevant parts of the
config files, if there is anything else you need to help me please let
me know.  this has been an on-going battle for a while and i would
like to find a resolution to this finally.

thanks for any and all help.

qmail-scanner-queue.pl:

my $sa_delta='0';
my $sa_quarantine='1';
my $sa_forward='';
my $sa_fwd_verbose='0';
my $sa_delete='15';
my $sa_reject='0';
my $sa_alt='1';
my $sa_debug='1';
my $sa_hdr_report='1';
my $SA_SKIP_MD='0';
my $spamc_binary='/usr/bin/spamc';
my $spamc_options='';
my $spamc_subject="***SPAM***";  # st: if fast_spamassassin mode is selected
my $spamassassin_binary='';
my $spamd_socket='';
$spamc_binary.=" -U $spamd_socket" if ($spamd_socket ne "");
my ($sa_comment,$sa_level);
my $sa_symbol='+';
my ($tag_score)="";

***am i suppose to have a scanner for SA in here somewhere? or is that
the perl-scanner part?***

my @scanners_installed=("clamdscan_scanner","perlscan_scanner");
my @scanners_default=("clamdscan_scanner","perlscan_scanner");


qmail-scanner-queue-version.txt:
clamdscan: 0.88/1292. perlscan: 1.25st.



local.cf:

required_score 6
skip_rbl_checks 0
rbl_timeout 5 # default 15 secs
rewrite_header Subject *SPAM*

score PYZOR_CHECK 1
score RCVD_IN_BL_SPAMCOP_NET 2.0


loadplugin Mail::SpamAssassin::Plugin::SPF
loadplugin Mail::SpamAssassin::Plugin::Razor2
loadplugin Mail::SpamAssassin::Plugin::Pyzor

# Razor
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
use_razor2 1

#Pyzor
use_pyzor 1
pyzor_path /usr/sbin/pyzor
#pyzor_add_header 1 # optional
pyzor_timeout 15 # optional, default 10 seconds

##
report_safe 1
##
use_bayes 1
bayes_path /etc/mail/spamassassin/bayes
bayes_file_mode 0770
bayes_auto_learn 1
bayes_min_ham_num 400
bayes_min_spam_num 400
bayes_learn_during_report 1
bayes_use_hapaxes 1
bayes_auto_learn_threshold_nonspam 1
bayes_auto_learn_threshold_spam 14.00
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status

thanks again for your help.

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Hi again...

The athlon 64 does have mmx as flags ...so that's not an issue

when i do emerge -pv ...it does seem that iits not using mmx

And i have an interesting problem when i do : emerge --info

I get this in my USE flags

USE="amd64 X a52 aalib acpi alsa arts audiofile avi berkdb
bitmap-fonts bzip2 cdr crypt cups curl directfb dri dvd dvdr eds
emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb fortran gd
gdbm gif glut gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib
ipv6 java jpeg kde lcms libcaca libg++ libwww lirc lm_sensors lzw
lzw-tiff mad mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl
ogg oggvorbis openal opengl pam pam_console pcre pdflib perl png
python qt quicktime readline recode scanner sdl slang speex spell
sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
udev usb userlocales v4l vorbis xine xml2 xmms xorg xpm xv zlib
userland_GNU kernel_linux elibc_glibc"

which is a different version from what i have in the actual make.conf

 So i wonder if this is cached somewhere and emerge is not reading my
new version of /etc/make.conf
So from where is it generating that USE flags or have i corrupted my
portage tree by any chance ?




regards

Kumar

On 3/8/06, Patrick B�rjesson <[EMAIL PROTECTED]> wrote:
> On 2006-03-08 00:20, Kumar Golap uttered these thoughts:
> > I have the following USE in my make.conf (on an athlon64 machine)
> > USE="3dnow xorg a52 alsa acpi arts avi berkdb cdr crypt cups dvdr dvd
> > encode foomaticdb ffmpeg flac gdbm gif gpm gtk gtk2 hal imlib jpeg kde
> > gnome libg++ libwww lm_sensors mad mikmod mmx motif mpeg mysql ncurses
> > nls oggvorbis opengl pam pam_console pdflib png python qt quicktime
> > readline sdl slang spell sse ssl svga tcpd tiff truetype usb X xml2
> > xmms xv zlib f77 v4l win32codecs"
> >
> >
> > And when i do: equery uses xawtv i get the following:
> > [ Searching for packages matching xawtv... ]
> > [ Colour Code : set unset ]
> > [ Legend: Left column  (U) - USE flags from make.conf
> >]
> > [  : Right column (I) - USE flags packages was installed 
> > with ]
> > [ Found these USE variables for media-tv/xawtv-3.95-r1 ]
> [snip]
> >  - - mmx   : Adds support for optimizations for Pentium MMX and
> > Athlon class processors
> [snip]
>
> > Please note that "mmx" seems to be missing in both columns. despite
> > that its there in my USE in make.conf
> >
> > When i do: emerge --pretend --newuse xawtv
> >
> > It basically reports that nothing need to be done
>
> Try a
> $ emerge -vp xawtv
> and see if the mmx useflag is set in that output... If not, then do a
> $ emerge --info
> and see if the useflag output from that command includes mmx. If not,
> you've probably got a typo of some sort in your make.conf since the mmx
> useflag is not profile-masked on the amd64 (use.mask under your
> /etc/make.profile symlink).
>
> > Is this a bug in equery or is it that i can't set mmx on an Athlon64 ?
>
> Might be, but probably not ;)
>
>
> Regards,
> Patrick B�rjesson
>
> --
> /  ()  The ASCII Ribbon Campaign - against HTML Email
> \  /\   and proprietary formats.
>
>
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Distcc using a x86-hardened and a pentium4 host

2006-03-08 Thread Kai Kuehne
Hi Zac,

On 3/8/06, Zac <[EMAIL PROTECTED]> wrote:
> Here is the gentoo distcc guild that says you should not run distcc on
> hardened host for a not hardened system.
> http://mirror.eacoss.org/documentation/gentoo/distcc.html
>
> However, I currently have an amd64 system that runs distccd that my
> celeron laptop and p3 media pc use with no issues.

Hm. For me, crossdev stops compilation at gcc stage2.
But because of some packages I essentially need on the server
I have to switch to i686 anyway.


> -Zac

Thanks
Kai

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread Etaoin Shrdlu
On Wednesday 08 March 2006 16:06, John Jolet wrote:

> is that a question or statement?  What do you mean?

You said:

> >> I've had NO ssh portscans on my boxes since I moved them off of
> >> port 22.  for security's sake, i won't tell you where I moved them
> >> to :)

but at the beginning of your message you said:

> >> this says for all hosts i ssh to, use port 26, and username john
> >> at the

so, you said that you use port 26 for ssh before saying that you won't 
tell what port you moved ssh to.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread A. Khattri
On Wed, 8 Mar 2006, John Jolet wrote:

> I've had NO ssh portscans on my boxes since I moved them off of port
> 22.  for security's sake, i won't tell you where I moved them to :)

I dont think moving ssh from port 22 will stop portscans but it will stop
brute force attacks directly on port 22.

I prefer to just run denyhosts on my servers instead:

# eix denyhosts
* app-admin/denyhosts
 Available versions:  1.1.2 1.1.2-r1 2.1
 Installed:   2.1
 Homepage:http://www.denyhosts.net
 Description: DenyHosts is a utility to help sys admins thwart ssh 
hackers


Found 1 matches

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread John Jolet


On Mar 8, 2006, at 10:06 AM, Etaoin Shrdlu wrote:


On Wednesday 08 March 2006 16:06, John Jolet wrote:


is that a question or statement?  What do you mean?


You said:


I've had NO ssh portscans on my boxes since I moved them off of
port 22.  for security's sake, i won't tell you where I moved them
to :)


but at the beginning of your message you said:


this says for all hosts i ssh to, use port 26, and username john
at the


so, you said that you use port 26 for ssh before saying that you won't
tell what port you moved ssh to.


oops.  well i guess i'll move it again :)

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread John Jolet


On Mar 8, 2006, at 9:54 AM, A. Khattri wrote:


On Wed, 8 Mar 2006, John Jolet wrote:


I've had NO ssh portscans on my boxes since I moved them off of port
22.  for security's sake, i won't tell you where I moved them to :)


I dont think moving ssh from port 22 will stop portscans but it  
will stop

brute force attacks directly on port 22.

Perhaps I was unclear.  I haven't seen the large numbers of attempted  
logins with obvious dictionary lists of usernames on ssh since I  
moved it.


I'll have to look into denyhosts...what does it do?  I can't predict  
where I might be coming from, as I'm frequently at client locations  
and travelling.



I prefer to just run denyhosts on my servers instead:

# eix denyhosts
* app-admin/denyhosts
 Available versions:  1.1.2 1.1.2-r1 2.1
 Installed:   2.1
 Homepage:http://www.denyhosts.net
 Description: DenyHosts is a utility to help sys admins  
thwart ssh hackers



Found 1 matches

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



[gentoo-user] NFS

2006-03-08 Thread c.s.prakash
hello,i have to find the exported filesystem ie., /etc/exports from a nfs server dynamicallyfrom the client macline.then i have to mount the file system ny selecting any of the exported folder.i have to done all this thru c program. how can i do.
i dont know whether this is the correct mailing list.-- C.S.Prakash


[gentoo-user] Confused about latest gentoo-sources

2006-03-08 Thread jerry
I did an emerge sync a few days ago. If I run emerge -s gentoo- sources 
I get:


sys-kernel/gentoo-sources
 Latest version available: 2.4.31-r1
 Latest version installed: 2.6.14-r2
 Size of downloaded files: 31,219 kB
 Homepage:http://www.kernel.org/ http://www.gentoo.org/
 Description: Full sources including the Gentoo patchset for the 
2.4 kernel tree

 License: GPL-2

sys-kernel/vanilla-sources
 Latest version available: 2.6.15.1
 Latest version installed: [ Not Installed ]
 Size of downloaded files: 38,905 kB
 Homepage:http://www.kernel.org
 Description: Full sources for the Linux kernel
 License: GPL-2

Do I have to switch to vanilla-sources now to get the latest kernel? 
Won't I lose some newer features if I use 2.4.31-r1?


If I understand the above output correctly I have already installed the 
gentoo-sources kernel, but now they have moved back to the 2.4 series. 
Where can I find out what is going on?


Thanks for any clarification.

Jerry

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
In fact if i remove the  USE line from the make.conf file ...and i do
emerge --info ...it is showing USE flags that i have no clue from
where its coming. I guess that that is what is overiding my changes in
USE i.e  its been ignoring the fact that wanted   mmx and 3dnow etc to
be used.


In case that can give you a clue below is the whole
emerge --info even after i commented out my USE line in make.conf

Thanks a lot for all the help...

Kumar




 # emerge --info
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.15-gentoo-r5 x86_64)
=
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib64/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib acpi alsa arts audiofile avi berkdb
bitmap-fonts bzip2 cdr crypt cups curl directfb dri dvd dvdr eds
emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb fortran gd
gdbm gif glut gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib
ipv6 java jpeg kde lcms libcaca libg++ libwww lirc lm_sensors lzw
lzw-tiff mad mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nptl
ogg oggvorbis openal opengl pam pam_console pcre pdflib perl png
python qt quicktime readline recode scanner sdl slang speex spell
sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
udev usb userlocales v4l vorbis xine xml2 xmms xorg xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NFS

2006-03-08 Thread Darryl Wagoner
showmount(8) is what you are looking for.  You may also want to check out the automounter and/or NIS.On 3/8/06, c.s.prakash <
[EMAIL PROTECTED]> wrote:hello,i have to find the exported filesystem ie., /etc/exports from a nfs server dynamically
from the client macline.then i have to mount the file system ny selecting any of the exported folder.i have to done all this thru c program. how can i do.
i dont know whether this is the correct mailing list.-- C.S.Prakash

-- Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]


Re: [gentoo-user] NFS

2006-03-08 Thread c.s.prakash
thanksi can use it load the exported filesystem into a tmp file and can display itbut i need to do then in my c program.is there something like system calls or library, so can directly do it in my program.
On 3/8/06, Darryl Wagoner <[EMAIL PROTECTED]> wrote:
showmount(8) is what you are looking for.  You may also want to check out the automounter and/or NIS.
On 3/8/06, c.s.prakash <
[EMAIL PROTECTED]> wrote:hello,i have to find the exported filesystem ie., /etc/exports from a nfs server dynamically
from the client macline.then i have to mount the file system ny selecting any of the exported folder.i have to done all this thru c program. how can i do.
i dont know whether this is the correct mailing list.-- C.S.Prakash

-- Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]

-- C.S.Prakash


Re: [gentoo-user] Confused about latest gentoo-sources

2006-03-08 Thread Ghaith Hachem
http://www.gentoo-portage.com/sys-kernel/gentoo-sources
this page shows that the 2.6.15-r1 is availiable for x86 and amd64

gentoo-sources-2.6.15-r1
~alpha amd64 arm ppc ppc64 ~sparc x86

check if the 2.6 kernel is masked.. maybe sync again
though it's weird that all the other versions are masked .. why is
that? even the 2.6.14
On 3/8/06, jerry <[EMAIL PROTECTED]> wrote:
> I did an emerge sync a few days ago. If I run emerge -s gentoo- sources
> I get:
>
> sys-kernel/gentoo-sources
>   Latest version available: 2.4.31-r1
>   Latest version installed: 2.6.14-r2
>   Size of downloaded files: 31,219 kB
>   Homepage:http://www.kernel.org/ http://www.gentoo.org/
>   Description: Full sources including the Gentoo patchset for the
> 2.4 kernel tree
>   License: GPL-2
>
> sys-kernel/vanilla-sources
>   Latest version available: 2.6.15.1
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 38,905 kB
>   Homepage:http://www.kernel.org
>   Description: Full sources for the Linux kernel
>   License: GPL-2
>
> Do I have to switch to vanilla-sources now to get the latest kernel?
> Won't I lose some newer features if I use 2.4.31-r1?
>
> If I understand the above output correctly I have already installed the
> gentoo-sources kernel, but now they have moved back to the 2.4 series.
> Where can I find out what is going on?
>
> Thanks for any clarification.
>
> Jerry
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Confused about latest gentoo-sources

2006-03-08 Thread Daniel da Veiga
On 3/8/06, jerry <[EMAIL PROTECTED]> wrote:
> I did an emerge sync a few days ago. If I run emerge -s gentoo- sources
> I get:
>
> sys-kernel/gentoo-sources
>   Latest version available: 2.4.31-r1
>   Latest version installed: 2.6.14-r2
>   Size of downloaded files: 31,219 kB
>   Homepage:http://www.kernel.org/ http://www.gentoo.org/
>   Description: Full sources including the Gentoo patchset for the
> 2.4 kernel tree
>   License: GPL-2
>
> sys-kernel/vanilla-sources
>   Latest version available: 2.6.15.1
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 38,905 kB
>   Homepage:http://www.kernel.org
>   Description: Full sources for the Linux kernel
>   License: GPL-2
>
> Do I have to switch to vanilla-sources now to get the latest kernel?
> Won't I lose some newer features if I use 2.4.31-r1?
>
> If I understand the above output correctly I have already installed the
> gentoo-sources kernel, but now they have moved back to the 2.4 series.
> Where can I find out what is going on?
>

Katana katana # emerge -s gentoo-sources
Searching...
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
  Latest version available: 2.6.15-r1
  Latest version installed: 2.6.15-r1
  Size of downloaded files: 39,086 kB
  Homepage:http://dev.gentoo.org/~dsd/genpatches
  Description: Full sources including the gentoo patchset for the
2.6 kernel tree
  License: GPL-2

Something wrong with your search... Maybe a wrong sync? Try sync'ng again.

> Thanks for any clarification.
>
> Jerry
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Martins Steinbergs
On Wednesday 08 March 2006 18:33, Kumar Golap wrote:
> In fact if i remove the  USE line from the make.conf file ...and i do
> emerge --info ...it is showing USE flags that i have no clue from
> where its coming. I guess that that is what is overiding my changes in
> USE i.e  its been ignoring the fact that wanted   mmx and 3dnow etc to
> be used.
>
>
> In case that can give you a clue below is the whole
> emerge --info even after i commented out my USE line in make.conf
>
> Thanks a lot for all the help...
>
> Kumar
>
>

I would advise to read "6. Installing the Gentoo Base System --> Configuring 
the USE variable"

amd64 version:
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6#doc_chap2


martins
-- 
Linux 2.6.15-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
 19:14:26 up 45 min,  5 users,  load average: 1.40, 1.44, 1.23
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread A.R.S. KA9QLQ Alvin Koffman
--- Daniel da Veiga <[EMAIL PROTECTED]> wrote:


> Well, it would be the safest way. But now that you mentioned it, I
> only tested in my machine (ATI, old one) and another server (NVidia,
> FX5200), both loaded without Direct Rendering and using VESA (but that
> could be result of failed autodetection). I think I'll ask at the devs
> list.
> 
 The fx 5200 is what I have but live cd kills the display. 
Alvin

For the best jerky you've ever had go to
http://alk.jerkydirect.com/
My home page
http://ka9qlq.tripod.com
This PC is windows free with Mepis Linux 3.4-3
http://www.mepis.org/
1(747)632-4973 SIP 
Get Gizmo 1 cent per minuet calling
http://www.gizmoproject.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NFS

2006-03-08 Thread Darryl Wagoner
It depends upon how much trouble you want to go thru.You could get the source to showmounts and copy that code or you could write your own server which would live on the NFS server to be a directory service for NFS mount points.
On 3/8/06, c.s.prakash <[EMAIL PROTECTED]> wrote:
thanksi can use it load the exported filesystem into a tmp file and can display itbut i need to do then in my c program.is there something like system calls or library, so can directly do it in my program.

On 3/8/06, Darryl Wagoner <[EMAIL PROTECTED]
> wrote:
showmount(8) is what you are looking for.  You may also want to check out the automounter and/or NIS.
On 3/8/06, c.s.prakash <
[EMAIL PROTECTED]> wrote:hello,i have to find the exported filesystem ie., /etc/exports from a nfs server dynamically
from the client macline.then i have to mount the file system ny selecting any of the exported folder.i have to done all this thru c program. how can i do.
i dont know whether this is the correct mailing list.-- C.S.Prakash

-- Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]

-- C.S.Prakash

-- Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]


Re: [gentoo-user] NFS

2006-03-08 Thread c.s.prakash


i want just like mount systemcall 
through which i can mount but cant able to list exported filesystem 

is there any library

its working for local filesystem but i get error on mounting nfs i may be giving wrong arguments but it can done easily i think.On 3/8/06, Darryl Wagoner
 <[EMAIL PROTECTED]> wrote:
It depends upon how much trouble you want to go thru.You
could get the source to showmounts and copy that code or you could
write your own server which would live on the NFS server to be a
directory service for NFS mount points.
On 3/8/06, c.s.prakash <
[EMAIL PROTECTED]> wrote:
thanksi can use it load the exported filesystem into a tmp file and can display itbut i need to do then in my c program.is there something like system calls or library, so can directly do it in my program.

On 3/8/06, Darryl Wagoner <[EMAIL PROTECTED]
> wrote:
showmount(8) is what you are looking for.  You may also want to check out the automounter and/or NIS.
On 3/8/06, c.s.prakash <
[EMAIL PROTECTED]> wrote:hello,i have to find the exported filesystem ie., /etc/exports from a nfs server dynamically
from the client macline.then i have to mount the file system ny selecting any of the exported folder.i have to done all this thru c program. how can i do.
i dont know whether this is the correct mailing list.-- C.S.Prakash

-- Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]

-- C.S.Prakash

-- Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]

-- C.S.Prakash


Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Daniel da Veiga
On 3/8/06, A.R.S. KA9QLQ Alvin Koffman <[EMAIL PROTECTED]> wrote:
> --- Daniel da Veiga <[EMAIL PROTECTED]> wrote:
>
>
> > Well, it would be the safest way. But now that you mentioned it, I
> > only tested in my machine (ATI, old one) and another server (NVidia,
> > FX5200), both loaded without Direct Rendering and using VESA (but that
> > could be result of failed autodetection). I think I'll ask at the devs
> > list.
> >
>  The fx 5200 is what I have but live cd kills the display.

Well, NVidia opensource drivers are know for reliability, that
excludes a weird driver/device configuration, VESA or NV, both drivers
should work OK.

Holly's theory,

"That certainly would explain things, but how broken would autodetection
then be (or the monitor's EDID?? support) if it couldn't even
detect/report its own Vsync range?"

Its my best bet by now. I would try another monitor and see what
happens. May be a hardware problem after all...

> Alvin
>
> For the best jerky you've ever had go to
> http://alk.jerkydirect.com/
> My home page
> http://ka9qlq.tripod.com
> This PC is windows free with Mepis Linux 3.4-3
> http://www.mepis.org/
> 1(747)632-4973 SIP
> Get Gizmo 1 cent per minuet calling
> http://www.gizmoproject.com/
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Thanks now I understand the default USE flags I see, I think. And
apologies for not searching the manual first.

But I still do not understand  why flags like mmx (or 3dnow) flags
that i put in the /etc/make.conf file is not getting picked up.

Am i right in my understanding that emerge --info reports the "sum" of
all the USE flags from all the make.defaults and /etc/make.conf ? so
it should show mmx when i put it there.

regards

Kumar


On 3/8/06, Martins Steinbergs <[EMAIL PROTECTED]> wrote:
> On Wednesday 08 March 2006 18:33, Kumar Golap wrote:
> > In fact if i remove the  USE line from the make.conf file ...and i do
> > emerge --info ...it is showing USE flags that i have no clue from
> > where its coming. I guess that that is what is overiding my changes in
> > USE i.e  its been ignoring the fact that wanted   mmx and 3dnow etc to
> > be used.
> >
> >
> > In case that can give you a clue below is the whole
> > emerge --info even after i commented out my USE line in make.conf
> >
> > Thanks a lot for all the help...
> >
> > Kumar
> >
> >
>
> I would advise to read "6. Installing the Gentoo Base System --> Configuring
> the USE variable"
>
> amd64 version:
> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6#doc_chap2
>
>
> martins
> --
> Linux 2.6.15-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
>  19:14:26 up 45 min,  5 users,  load average: 1.40, 1.44, 1.23
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Paul Varner
On Wed, 2006-03-08 at 11:16 -0700, Kumar Golap wrote:
> Thanks now I understand the default USE flags I see, I think. And
> apologies for not searching the manual first.
> 
> But I still do not understand  why flags like mmx (or 3dnow) flags
> that i put in the /etc/make.conf file is not getting picked up.
> 
> Am i right in my understanding that emerge --info reports the "sum" of
> all the USE flags from all the make.defaults and /etc/make.conf ? so
> it should show mmx when i put it there.

The flags are probably masked by your profile. What does 'emerge
--pretend --verbose xawtv' show?

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Iptables Tarpit

2006-03-08 Thread Erik Westenbroek
thank you to all.  I now have tarpits up and running smoothly.


On 3/8/06, Andrew Frink <[EMAIL PROTECTED]> wrote:
> You could also just add the "extensions" USE flag to iptables and that
> should give you tarpit support
>
> On 3/7/06, Dave Jones <[EMAIL PROTECTED]> wrote:
> >
> > Erik Westenbroek wrote on 03/07/06 04:18:
> > > I am attempting create a tarpit to protect against SSH Brute force
> > > attempts.  I tried this:
> > --snip--
> > > iptables -A SSH_Brute_Force -p tcp -j TARPIT
> > > After I type the last command typed I got this error message:
> > > iptables: No chain/target/match by that name
> >
> > > What am I doing wrong?
> >
> > Hi Erik
> >
> > The standard Gentoo-sources kernel does not include the TARPIT target.
> > You need to pick up an updated kernel iptables source from
> > netfilter.org, and install it as follows:
> >
> > I assume you have a subversion client already installed on your machine.
> >
> >   cd /usr/src
> >
> > Pick up patch-o-matic-ng:
> >
> >   svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng
> >
> > Pick up iptables source code:
> >
> >   svn co https://svn.netfilter.org/netfilter/trunk/iptables
> >
> > Install kernel patches to iptables extra code
> >
> >   cd patch-o-matic-ng
> >   ./runme extra
> >
> > Here you can select the targets/filters (e.g TARPIT) you want patching
> > into the kernel iptables modules.
> >
> > After installing patches you must regenerate your kernel and modules to
> > activate the patches, and then re-emerge iptables to pick up the kernel
> > patches.
> >
> > make menuconfig
> > make && make modules_install && make install
> >
> > Make sure that you have USE="extensions" in your /etc/make.conf before
> > you emerge iptables, or it will ignore the new non-standard extensions.
> >
> > emerge iptables
> >
> > This worked for me.
> >
> > Cheers, Dave
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>


--
Erik
http://erikstotle.homelinux.org/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Holly Bostick
Kumar Golap schreef:
> Thanks now I understand the default USE flags I see, I think. And 
> apologies for not searching the manual first.
> 
> But I still do not understand  why flags like mmx (or 3dnow) flags 
> that i put in the /etc/make.conf file is not getting picked up.
> 
> Am i right in my understanding that emerge --info reports the "sum" 
> of all the USE flags from all the make.defaults and /etc/make.conf ? 
> so it should show mmx when i put it there.
> 

Yes, it should... unless your USE= line got wrapped somehow (since a
previous poster has said that the flag is not masked for your $ARCH).

Now, this is going to sound weird, but it's happened to me on more than
one occasion.

I would suggest opening the file (/etc/make.conf), as root, with nano,
and going to the end of the first displayed line of the USE= variable,
and if there is not an "$" under your cursor (to indicate a non-wrapped
line that is too long to be displayed, which would be what we want, but
not what I expect :-) ), but rather empty space, hit the "Delete" key
(to delete the soft return that shouldn't be there, but is).

If this then brings the next section of the USE flags up and smashes
them against the last displayed flag on the line you're on, then that
was your problem... line wrapping. Hit the space bar to separate the
last entry of the first "line" and the first entry of the second "line,
then rinse and repeat until all the flags are on one line, then Ctrl+O
to save. Don't hit any other keys, just save, and then Ctrl-X to get out.

Then run emerge --info again and see if things have improved.

Not sure why sometimes lines get wrapped when they shouldn't be, but it
does happen (even in nano, where it shouldn't, and certainly in GUI
editors, if you set it that way without thinking), and it can have
unexpected consequences (like this).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to get a midi-editor working

2006-03-08 Thread Christoph Eckert

> That tutorial was
> exactly what I was looking for.  With your help, I can now get
> started.

what about filing a feature request?

BTW: There's also a Rosegarden user mailing list ;-) .


Best regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Iptables Tarpit

2006-03-08 Thread Dave Jones
Hi Andrew,

Andrew Frink wrote on 03/08/06 14:57:
> You could also just add the "extensions" USE flag to iptables and that
> should give you tarpit support

> On 3/7/06, *Dave Jones* < [EMAIL PROTECTED]
> > wrote:

> Erik Westenbroek wrote on 03/07/06 04:18:
> > I am attempting create a tarpit to protect against SSH Brute force
> > attempts.  I tried this:
> --snip--
> > iptables -A SSH_Brute_Force -p tcp -j TARPIT
> > After I type the last command typed I got this error message:
> > iptables: No chain/target/match by that name

> The standard Gentoo-sources kernel does not include the TARPIT target.
> You need to pick up an updated kernel iptables source from
> netfilter.org 

   --- snip---

Simply adding "extensions" to your /etc/make.conf USE is not enough.

Without the iptables kernel source updates you still won't have the
TARPIT target, even though the iptables package will have support for
support it in its library routines.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] antivirus

2006-03-08 Thread neil

Jarry wrote:


I got viruses many times.


Over the past 20-odd years, I have had machines running many versions of 
DOS, all versions of Windows since Windows 286, all versions of OS/2 
since 1.3 and several distributions of Linux. I have never, ever seen a 
virus. I have to wonder what you are doing to be so "unfortunate".



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Martins Steinbergs
On Wednesday 08 March 2006 20:16, Kumar Golap wrote:
> Thanks now I understand the default USE flags I see, I think. And
> apologies for not searching the manual first.
>
> But I still do not understand  why flags like mmx (or 3dnow) flags
> that i put in the /etc/make.conf file is not getting picked up.
>
> Am i right in my understanding that emerge --info reports the "sum" of
> all the USE flags from all the make.defaults and /etc/make.conf ? so
> it should show mmx when i put it there.
>
> regards
>
> Kumar

partial answer is in file /usr/portage/profiles/default-linux/use.mask

but still dont have a clue why these flags doesnt show 'emerge --info' if they 
are in /etc/make.conf

martins
-- 
Linux 2.6.15-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
 21:22:34 up  2:53,  5 users,  load average: 1.12, 1.15, 1.10
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Confused about latest gentoo-sources

2006-03-08 Thread jerry

Daniel da Veiga wrote:


On 3/8/06, jerry <[EMAIL PROTECTED]> wrote:
 


I did an emerge sync a few days ago. If I run emerge -s gentoo- sources
I get:

sys-kernel/gentoo-sources
 Latest version available: 2.4.31-r1
 Latest version installed: 2.6.14-r2
 Size of downloaded files: 31,219 kB
 Homepage:http://www.kernel.org/ http://www.gentoo.org/
 Description: Full sources including the Gentoo patchset for the
2.4 kernel tree
 License: GPL-2

sys-kernel/vanilla-sources
 Latest version available: 2.6.15.1
 Latest version installed: [ Not Installed ]
 Size of downloaded files: 38,905 kB
 Homepage:http://www.kernel.org
 Description: Full sources for the Linux kernel
 License: GPL-2

Do I have to switch to vanilla-sources now to get the latest kernel?
Won't I lose some newer features if I use 2.4.31-r1?

If I understand the above output correctly I have already installed the
gentoo-sources kernel, but now they have moved back to the 2.4 series.
Where can I find out what is going on?

   



Katana katana # emerge -s gentoo-sources
Searching...
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
 Latest version available: 2.6.15-r1
 Latest version installed: 2.6.15-r1
 Size of downloaded files: 39,086 kB
 Homepage:http://dev.gentoo.org/~dsd/genpatches
 Description: Full sources including the gentoo patchset for the
2.6 kernel tree
 License: GPL-2

Something wrong with your search... Maybe a wrong sync? Try sync'ng again.

 


THanks for the quick reply. I did another emerge --sync and

[EMAIL PROTECTED]:/home/jerry  # emerge -s gentoo-sources
Searching...
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
 Latest version available: 2.4.31-r1
 Latest version installed: 2.6.14-r2
 Size of downloaded files: 31,219 kB
 Homepage:http://www.kernel.org/ http://www.gentoo.org/
 Description: Full sources including the Gentoo patchset for the 
2.4 kernel tree

 License: GPL-2


While waiting for emerge --sync to finish I searched some forums for 
some ideas.


I have not upgraded from gcc-3.3.6 to 3.4.5. Could this cause the problem?

Jerry

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] antivirus

2006-03-08 Thread Tim Igoe
neil wrote:
> Jarry wrote:
>
>> I got viruses many times.
>
> Over the past 20-odd years, I have had machines running many versions
> of DOS, all versions of Windows since Windows 286, all versions of
> OS/2 since 1.3 and several distributions of Linux. I have never, ever
> seen a virus. I have to wonder what you are doing to be so "unfortunate".
>
If your 'doze boxes have been always been firewalled - ok, that explains
that.

Otherwise I'd be very surprised - try installing XP and connecting to
the t'internet to get all the updates, you'll be lucky to last 5 minutes
with an internet accessible IP :)

My Linux boxes are frequently bombarded by Viruses (even ones that are
years old - SQL Slammer, Blaster etc)

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide
http://f1forums.igoe.me.uk - *New* F1 Forums

"Computers are like Air-con, open windows and they stop working!"




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] antivirus

2006-03-08 Thread neil

Hemmann, Volker Armin wrote:



No, there are virii and worms in the wild.


This is one of my pet hates. There is no such word as "virii". The 
correct plural of "virus" in the English language is "viruses". Whilst 
the word virus comes from Latin, the common pluralisation by replacing 
"us" with "i" would result in "viri". The Latin word "viri" is actually 
the plural of "vir" and means "men". There is no known plural for 
"virus" in Latin.


"Virii" is just non-sensical and means nothing at all.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tool to convert to psp movie format

2006-03-08 Thread Konstantinos Agouros
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Martins Steinbergs) writes:

>On Tuesday 07 March 2006 15:47, Konstantinos Agouros wrote:
>> Hi,
>>
>> is there something to convert movies into the format required by a
>> playstation portable in the portage-tree? Can maybe transcode do
>> this?
>>
>> Konstantin

>ffmpeg claims it can encode psp mp4 format but i dont see anything about psp 
>mp3 for audio
You mean I will see but not hear? Audio-Mp3s work without any hassle.

Thanks for the tip I will dig there.

Konstantin

>martins
>-- 
>gentoo-user@gentoo.org mailing list

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mount nfs thru mount system call

2006-03-08 Thread c.s.prakash
when i mount the nfs through the system callmount("192.168.0.51:/root", "/mnt/9", "nfs", 0, "rw, async");it shows an invalid argument. but when i do this thru mount command it mounts without any problem
-- C.S.Prakash


Re: [gentoo-user] Confused about latest gentoo-sources

2006-03-08 Thread Willie Wong
On Wed, Mar 08, 2006 at 11:30:26AM -0800, Penguin Lover jerry squawked:
> THanks for the quick reply. I did another emerge --sync and
> 
> [EMAIL PROTECTED]:/home/jerry  # emerge -s gentoo-sources
> Searching...
> [ Results for search key : gentoo-sources ]
> [ Applications found : 1 ]
> 
> *  sys-kernel/gentoo-sources
>  Latest version available: 2.4.31-r1
>  Latest version installed: 2.6.14-r2
>  Size of downloaded files: 31,219 kB
>  Homepage:http://www.kernel.org/ http://www.gentoo.org/
>  Description: Full sources including the Gentoo patchset for the 
> 2.4 kernel tree
>  License: GPL-2
> 
> 
> While waiting for emerge --sync to finish I searched some forums for 
> some ideas.
> 

Do you have gentoolkit installed? If so, run

# equery list -p gentoo-sources

It'd be good to know if you are missing the ebuild or if it is masked
somehow. 

W
-- 
A fine is a tax for doing wrong.
A tax is a fine for doing well.
Sortir en Pantoufles: up 116 days, 12:30
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Josh Helmer
On Wednesday 08 March 2006 19:55, c.s.prakash wrote:
> when i mount the nfs through the system call
>
> mount("192.168.0.51:/root", "/mnt/9", "nfs", 0, "rw, async");
>
> it shows an invalid argument. but when i do this thru mount command it
> mounts without any problem

It's been about 4 years since I last had to do that (so no guarantees), but 
If I remember correctly the data argument for NFS is not just a string.  
Instead I believe that you have to do some other magic to encode the data 
correctly.  I would recommend looking at the source code for mount and see 
what happens.

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



RE: [gentoo-user] antivirus

2006-03-08 Thread Bob Young


-Original Message-
From: neil [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 11:23 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] antivirus

Jarry wrote:

> I got viruses many times.

Over the past 20-odd years, I have had machines running many versions of
DOS, all versions of Windows since Windows 286, all versions of OS/2
since 1.3 and several distributions of Linux. I have never, ever seen a
virus. I have to wonder what you are doing to be so "unfortunate".


Here, here. It's really not about the OS, or what "protection" software is
or isn't installed, it's about the habits and practices of the user. Any
computer can (and probably will) be compromised if the user is careless or
naive about what they do and where they go on the Net. Like you, I've run
different versions of DOS, Windows (NT derivatives only), OS/2, & Linux. I
did get a virus once in the early days when running DOS, but since then I've
never had a Windows or Linux box compromised by a virus or malware, and
that's without running any anti-virus software of any kind on any of the
Windows boxes.

 FWIW one of those Windows boxes is currently a web/email/DNS/FTP server
with seven public IPs serving between four and seven domains. There is also
a Gentoo Linux box doing secondary DNS for the domains, the windows box has
a firewall but no AV software at all, both servers (one Windows & one
Gentoo), have remained clean and stable for several years now, as do all of
my various Windows and Gentoo workstations, none of which run any antivirus
software.

In short if a user is getting infected a lot using Windows, switching to
Linux is not curing the root cause. The basic problem is the user needs to
understand what s/he is doing that's allowing malicious code to execute on
their system and stop doing it. In the vast majority of Windows cases,
simply *not* routinely logging on with admin privileges would probably stop
99% plus of the infections.

Regards,
Bob Young



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [WAY OT] plural of virus (was antivirus)

2006-03-08 Thread Willie Wong
On Wed, Mar 08, 2006 at 07:40:01PM +, Penguin Lover neil squawked:
> This is one of my pet hates. There is no such word as "virii". The 
> correct plural of "virus" in the English language is "viruses". Whilst 
> the word virus comes from Latin, the common pluralisation by replacing 
> "us" with "i" would result in "viri". The Latin word "viri" is actually 
> the plural of "vir" and means "men". There is no known plural for 
> "virus" in Latin.

Part of the reason being 'virus' meaning 'poisonous stuff' in Latin,
and hence, is uncountable (like water or knowledge). According to the
OED, it first appeared in the English language also in that sense. It
was later appropriated in the phrase "filterable virus" meaning "vile
stuff that can pass through filters", which gets shortened and
corrupted to a countable noun with the advance of microscopy.

> "Virii" is just non-sensical and means nothing at all.

Reminds me of a favourite joke:

How do you count viruses?
  1 viri, 2 virii, 3 viriii, 4 viriv, 5 virv ...

W
-- 
W: What I could really use now is a dose of triple expresso.
M: I am afraid the coffee shop ain't open this time of day.
W: Well, in that case, a dose of quantum mechanics will just have to do.
Sortir en Pantoufles: up 116 days, 12:35
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] antivirus

2006-03-08 Thread John Jolet


In short if a user is getting infected a lot using Windows,  
switching to
Linux is not curing the root cause. The basic problem is the user  
needs to
understand what s/he is doing that's allowing malicious code to  
execute on

their system and stop doing it. In the vast majority of Windows cases,
simply *not* routinely logging on with admin privileges would  
probably stop

99% plus of the infections.
that's an interesting commentwindows xp is the first version that  
even gives you that option.  and most of the games my kids play on  
the computer simply won't run unless you have admin rights.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] antivirus

2006-03-08 Thread Jarry

Bob Young wrote:


In the vast majority of Windows cases, simply *not* routinely logging on
with admin privileges would probably stop 99% plus of the infections.


True, but unfortunatelly, there are too many win-applications (even
serious ones), which does not work correctly (or at all) without user
having admin (power-user) privileges...

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



RE: [gentoo-user] antivirus

2006-03-08 Thread Bob Young


-Original Message-
From: John Jolet [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:36 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] antivirus

>
> In short if a user is getting infected a lot using Windows,
> switching to
> Linux is not curing the root cause. The basic problem is the user
> needs to
> understand what s/he is doing that's allowing malicious code to
> execute on
> their system and stop doing it. In the vast majority of Windows cases,
> simply *not* routinely logging on with admin privileges would
> probably stop
> 99% plus of the infections.


that's an interesting commentwindows xp is the first version that
even gives you that option.  and most of the games my kids play on
the computer simply won't run unless you have admin rights.


I agree that the default of not creating a non admin account is a bad
choice, but be that as it may, it's still true that not routinely logging on
with admin rights will stop the vast vast majority of malware dead in it's
tracks. If someone chooses to routinely log on with admin rights after they
know it's dangerous, but do so just because it's the default, then I would
have to question whether or not they are honestly interested in keping the
system clean, or whether there is some other agenda being catered to.

As to  not running without Admin rights, most of those
cases can be taken care of with RunAs. It's better to run a single App with
Admin privledges rather than have all apps including email and browsers
running with Admin rights.

Regards,
Bob Young


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Petr Uzel
> It's been about 4 years since I last had to do that (so no guarantees), but
> If I remember correctly the data argument for NFS is not just a string.
> Instead I believe that you have to do some other magic to encode the data
> correctly.  I would recommend looking at the source code for mount and see
> what happens.

IMHO it's easier to look at 'man 2 mount' :

...
Values for the filesystemtype argument supported by the kernel are listed 
in /proc/filesystems (like  "minix",  "ext2", "msdos", "proc", "nfs", 
"iso9660" etc.).
...

But I also can't help more...

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



RE: [gentoo-user] antivirus

2006-03-08 Thread Bob Young


-Original Message-
From: Jarry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 1:04 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] antivirus

Bob Young wrote:

> In the vast majority of Windows cases, simply *not* routinely logging on
> with admin privileges would probably stop 99% plus of the infections.

True, but unfortunatelly, there are too many win-applications (even
serious ones), which does not work correctly (or at all) without user
having admin (power-user) privileges...


PowerUser is different from Admin, Admin is the equevelent of root in the
Linux/Unix world, PowerUser is not. The primary and most important
difference is the ability to *write* to the registry, It's perfectly safe to
routinely log on as a PowerUser, as PowerUsers can *not* write to registry
keys that affect the entire system, while Admin users can write to *any*
registry key.

Most applications will run just fine as PowerUser, apps that truly *require*
Admin rights are frankly, poorly designed. Even so, routinely logging on
with Admin rights just because you need/want to run one or two badly
designed apps is still a very bad idea. For the very very few aps that
actually do require Admin rights RunAs is a much better and safer solution.

Regards,
Bob Young


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Josh Helmer
On Wednesday 08 March 2006 21:07, Petr Uzel wrote:
> IMHO it's easier to look at 'man 2 mount' :
>
> ...
> Values for the filesystemtype argument supported by the kernel are listed
> in /proc/filesystems (like  "minix",  "ext2", "msdos", "proc", "nfs",
> "iso9660" etc.).

man 2 mount is not going to help.  If you had looked closer you would realize 
that the "data" argument is the last argument not the filesystem type.  The 
man page only says that the data argument is "typically" a comma separated 
string.   I don't believe that is the case with NFS.

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



[gentoo-user] dvdrip help

2006-03-08 Thread Mike Myers

Hey everybody!

I'm trying to find something that I can use to rip and then remake 
DVDs.  I have some japanese dvds that won't play on almost any regular 
dvd players because of the stupid region thing.  K3b didn't seem to have 
anything for doing that, so I tried dvdrip/dvd::rip.  Whenever I run 
dvdrip, it just goes to the next line and says "[filterlist] 
(re)scanning transcode's module path /usr/lib/transcode..." and sits 
there for as long as I let it without actually doing anything.  I can't 
seem to find anything to skip that process or anything.


Can somebody please recommend another tool or show me how to fix 
dvdrip?  I'd really like to watch these dvds from something other than 
my laptop.


Thanks a lot in advance,
Mikey
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread DebianTux23
www.wolfspakt.de/spiel.php?id=7358


Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Darryl Wagoner
On 3/8/06, Josh Helmer <[EMAIL PROTECTED]> wrote:
man 2 mount is not going to help.  If you had looked closer you would realizethat the "data" argument is the last argument not the filesystem type.  Theman page only says that the data argument is "typically" a comma separated
string.   I don't believe that is the case with NFS. Why not?  I would try something like for data:rsize=8192,wsize=8192,soft.  Check nfs(5) for details.-- 
Darryl Wagoner - WA1GON"Evil triumphs when good men do nothing."  - Edmund Burke [1729-1797]


Re: [gentoo-user] Monitor goes off on boot

2006-03-08 Thread Alan E. Davis
Is it possible that this is caused by the particular kernel settings
that handle power saving?  I have had a long going problem, with a
rather antiquated Radius monitor, that the monitor has clicked off
(not powered down, but the LED turned orange, and there was no
picture) if left a long time.  The only way to get the picture back
was to turn off the monitor and hit a key or the mouse, then turn on
the monitor again.

When powering up, there is a click (I thought the video card?) after
which the monitor can be turned on.  If the monitor is turned on
before that, there will not be a picture, until the monitor is powered
down, the keyboard touched, and the monitor powered up again.

After extensive study of the kernel parameters, while learning Gentoo,
I have the same system working without the monitor clicking off any
more: I do have to hit the space bar, etc., if the monitor is left a
while, though, and when powering up I am still careful to wait until
after the click from the CPU region before turning the monitor on.

The previous behavior was exhibited with Ubuntu, Debian (Knoppix), and
MEPIS, before moving to Gentoo.

Alan Davis

On 3/9/06, Daniel da Veiga <[EMAIL PROTECTED]> wrote:
> On 3/8/06, A.R.S. KA9QLQ Alvin Koffman <[EMAIL PROTECTED]> wrote:
> > --- Daniel da Veiga <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Well, it would be the safest way. But now that you mentioned it, I
> > > only tested in my machine (ATI, old one) and another server (NVidia,
> > > FX5200), both loaded without Direct Rendering and using VESA (but that
> > > could be result of failed autodetection). I think I'll ask at the devs
> > > list.
> > >
> >  The fx 5200 is what I have but live cd kills the display.
>
> Well, NVidia opensource drivers are know for reliability, that
> excludes a weird driver/device configuration, VESA or NV, both drivers
> should work OK.
>
> Holly's theory,
>
> "That certainly would explain things, but how broken would autodetection
> then be (or the monitor's EDID?? support) if it couldn't even
> detect/report its own Vsync range?"
>
> Its my best bet by now. I would try another monitor and see what
> happens. May be a hardware problem after all...
>
> > Alvin
> >
> > For the best jerky you've ever had go to
> > http://alk.jerkydirect.com/
> > My home page
> > http://ka9qlq.tripod.com
> > This PC is windows free with Mepis Linux 3.4-3
> > http://www.mepis.org/
> > 1(747)632-4973 SIP
> > Get Gizmo 1 cent per minuet calling
> > http://www.gizmoproject.com/
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> Daniel da Veiga
> Computer Operator - RS - Brazil
> -BEGIN GEEK CODE BLOCK-
> Version: 3.1
> GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
> PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
> --END GEEK CODE BLOCK--
>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Good Game??

2006-03-08 Thread wieseltux23
www.wolfspakt.de/spiel.php?id=7358









On Wed, 8 Mar 2006 14:37:19 +
Josh Helmer <[EMAIL PROTECTED]> wrote:

> On Wednesday 08 March 2006 21:07, Petr Uzel wrote:
> > IMHO it's easier to look at 'man 2 mount' :
> >
> > ...
> > Values for the filesystemtype argument supported by the kernel are listed
> > in /proc/filesystems (like  "minix",  "ext2", "msdos", "proc", "nfs",
> > "iso9660" etc.).
> 
> man 2 mount is not going to help.  If you had looked closer you would realize 
> that the "data" argument is the last argument not the filesystem type.  The 
> man page only says that the data argument is "typically" a comma separated 
> string.   I don't believe that is the case with NFS.
> 
> Josh
> -- 
> gentoo-user@gentoo.org mailing list
> 


pgpjgAqIelfFw.pgp
Description: PGP signature


Re: [gentoo-user] mount nfs thru mount system call

2006-03-08 Thread Josh Helmer
On Wednesday 08 March 2006 22:04, Darryl Wagoner wrote:
> On 3/8/06, Josh Helmer <[EMAIL PROTECTED]> wrote:
> > man 2 mount is not going to help.  If you had looked closer you would
> > realize
> > that the "data" argument is the last argument not the filesystem
> > type.  The
> > man page only says that the data argument is "typically" a comma
> > separated string.   I don't believe that is the case with NFS.
>
>  Why not?  I would try something like for data:
>
> rsize=8192,wsize=8192,soft.  Check nfs(5) for details.

OK...  I did some googling... 

Source:  http://www.die.net/doc/linux/man/man8/mount.8.html

"""
Instead of a textual option string, parsed by the kernel, the nfs file system 
expects a binary argument of type struct nfs_mount_data. The program mount 
itself parses the following options of the form `tag=value', and puts them in 
the structure mentioned: rsize=n, wsize=n, timeo=n, retrans=n, acregmin=n, 
acregmax=n, acdirmin=n, acdirmax=n, actimeo=n, retry=n, port=n, mountport=n, 
mounthost=name, mountprog=n, mountvers=n, nfsprog=n, nfsvers=n, namlen=n. The 
option addr=n is accepted but ignored. Also the following Boolean options, 
possibly preceded by no are recognized: bg, fg, soft, hard, intr, posix, cto, 
ac, tcp, udp, lock. For details, see nfs(5). 
"""

I would still recommend looking into the mount source code.  If I remember 
correctly, there is more to it than just creating a struct and populating it.  
I seem to recall that I also had to do something to register the remote 
export with the local machine.   I vaguely remember fighting to have to get 
something to show up in /proc before I could successfully mount a filesystem.

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



Re: [gentoo-user] Good Game??

2006-03-08 Thread Heiko Wundram
Am Mittwoch, 8. März 2006 23:26 schrieb wieseltux23:
> www.wolfspakt.de/spiel.php?id=7358

For all people who haven't looked there yet, this is a crappy german 
advertising game, in which the player gets points for the number of people 
visiting his "site."

So: don't go look there, this has absolutely nothing to do with this thread.

-- 
--- Heiko.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dvdrip help

2006-03-08 Thread Thierry de Coulon
On Wednesday 08 March 2006 22.32, Mike Myers wrote:
> Hey everybody!
>
> I'm trying to find something that I can use to rip and then remake
> DVDs.  I have some japanese dvds that won't play on almost any regular
> dvd players because of the stupid region thing.  K3b didn't seem to have
> anything for doing that, so I tried dvdrip/dvd::rip.  Whenever I run
> dvdrip, it just goes to the next line and says "[filterlist]
> (re)scanning transcode's module path /usr/lib/transcode..." and sits
> there for as long as I let it without actually doing anything.  I can't
> seem to find anything to skip that process or anything.
>
> Can somebody please recommend another tool or show me how to fix
> dvdrip?  I'd really like to watch these dvds from something other than
> my laptop.
>
> Thanks a lot in advance,
> Mikey

Are you running an amd64 Gentoo? I have the same DVDrip problem here. My 
solution has been to emerge Acidrip and Mplayer - it is masked, but I have 
run into no problem so far, the results are as good as those I had with 
DVDrip/transcode and much faster.
I have discovered it uses a newer codec however (FMP4) that prevents viewing 
the videos on older Xine install, but installing mplayer and/or vlc on those 
machines is a workaround. I guess it's a problem of building XIne with the 
right libraries but not every distribution makes it as easy as re-emerging in 
Gentoo. Xine on Gentoo amd64 works however.

Now putting the video back on a DVD is another problem. I've been playing with 
DVDauthor so far but my standalone players won't play the DVDs (that do play 
on computers however...)

Thierry

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge lilo fails

2006-03-08 Thread Mike Owen
On 3/6/06, Erwin Lang <[EMAIL PROTECTED]> wrote:
> hi everyone!
>
> i tried to emerge lilo (`emerge -bva lilo') - but it aborts with the following
> error-message:
>
> open_wr:   /dev/loop5 (symlink to /dev/loop/5)
> open_wr:   /dev/loop5 (symlink to /dev/loop/5)
>

In the past, emerging LILO would choke while trying to mount/unmount
your /boot partition. It looks like it's doing the same with the loop
devices. Try unmounting all your loop devices, and then remerging
LILO.

HTH,
Mike

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Good Game??

2006-03-08 Thread Michael Sullivan
On Wed, 2006-03-08 at 23:42 +0100, Heiko Wundram wrote:
> Am Mittwoch, 8. März 2006 23:26 schrieb wieseltux23:
> > www.wolfspakt.de/spiel.php?id=7358
> 
> For all people who haven't looked there yet, this is a crappy german 
> advertising game, in which the player gets points for the number of people 
> visiting his "site."
> 
> So: don't go look there, this has absolutely nothing to do with this thread.
> 
> -- 
> --- Heiko.
> 

Anyway, the site's in German and I haven't gotten around to learning it
yet...

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dvdrip help

2006-03-08 Thread Covington, Chris
Why don't you just get a $40 Cyberhome CH-DVD300S DVD player and watch any 
regions and PAL as well?

Chris


 -Original Message-
From:   Mike Myers [mailto:[EMAIL PROTECTED]
Sent:   Wed Mar 08 16:43:52 2006
To: gentoo-user@lists.gentoo.org
Subject:[gentoo-user] dvdrip help

Hey everybody!

I'm trying to find something that I can use to rip and then remake 
DVDs.  I have some japanese dvds that won't play on almost any regular 
dvd players because of the stupid region thing.  K3b didn't seem to have 
anything for doing that, so I tried dvdrip/dvd::rip.  Whenever I run 
dvdrip, it just goes to the next line and says "[filterlist] 
(re)scanning transcode's module path /usr/lib/transcode..." and sits 
there for as long as I let it without actually doing anything.  I can't 
seem to find anything to skip that process or anything.

Can somebody please recommend another tool or show me how to fix 
dvdrip?  I'd really like to watch these dvds from something other than 
my laptop.

Thanks a lot in advance,
Mikey
-- 
gentoo-user@gentoo.org mailing list


!DSPAM:1,440f09b066682168617349!



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [gentoo-server] courier-imapd have to be restarted to much time

2006-03-08 Thread James Colannino

Claudinei Matos wrote:

Hi,

I've installed postfix to work with my domain using vmail with courier
imap (I've followed gentoo guide) and it was working fine until today.
Now I have some users (including me) that can't get new messages
'cause the mail software (thunderbird) keep tring to connect to the
server and doesn't get any messages.
  


I have this exact same problem with my server (it's only been happening 
for the past few weeks since I updated some packages) and I've been 
scrounging around trying to find people who have had the same thing 
happen to them.  I noticed a bunch of sasldaemond (I think that was the 
name) processes that didn't belong to any particular process.  That's 
the only suspicious thing I can report, and I can't even verify that 
this is the problem.


I will keep you posted if I find anything.  Let me know if you've found 
anything yourself.  Right now I'm working on building a new server 
installation from scratch which I'll drop in the place of the old root 
filesystem if I can't figure this out.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [gentoo-server] courier-imapd have to be restarted to much time

2006-03-08 Thread James Colannino
Wow; umm, looking at the date, I realize that this message was from all 
the way back in May of 2005.  If the original poster is still around, 
I'd be interested to hear from him.  Otherwise, sorry for the noise 
(that's what you get when you archive mail and forget to check the date 
:-P)


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



[gentoo-user] how to enable glx

2006-03-08 Thread scwang
I can't enable glx on my video card, the following is 
output of lspci in my system:

01:00.0 VGA compatible controller: ATI Technologies Inc Rage
Mobility P/M AGP 2x (rev 64)

My kerenl is linux-2.6.15-suspend2-r6.

Any hints about it?

Best Regards!

-- 
Wang ShaoChun(王绍春) <[EMAIL PROTECTED]>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] suspend2 problem

2006-03-08 Thread scwang
My suspend2 works, but still have the following problem:

1. After resuming, x windows doesn't work well. 
The screen is dusky, and it comes back normally
only after I switch to console and then switch 
back to it.

2.It seems my dpms doesn't work anymore after resume.
Screen will become black but the backlight is still on.
(I use a laptop computer)

3.hibernate-ram can suspend to ram, but after resuming
my laptop will poweroff automatically.

I am using linux-2.6.15-suspend2-r6 kernel, and my lspci is 
as following:

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
00:04.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1
(rev 12)
00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 09)
00:06.1 Serial controller: Xircom Unknown device 00d3
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev
01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev
01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:0c.0 CardBus bridge: Texas Instruments PCI1420
00:0c.1 CardBus bridge: Texas Instruments PCI1420
00:0d.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host Controller
(rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M AGP 2x (rev 64)

By the way, doesn't any know what framebuffer driver is appropriate
for my computer? I tried versa, it works but the scroll of screen is
very slow. And now I am using ATI March 64 driver. 

I remeber when i use versa driver, x works for hibernate. But using
ATI Mach 64 driver, it doesn't.



Thank you!


-- 
Wang ShaoChun(王绍春) <[EMAIL PROTECTED]>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to enable glx

2006-03-08 Thread Ryan Tandy
[EMAIL PROTECTED] wrote:
> I can't enable glx on my video card, the following is 
> output of lspci in my system:
>
>   01:00.0 VGA compatible controller: ATI Technologies Inc Rage
>   Mobility P/M AGP 2x (rev 64)
>
> My kerenl is linux-2.6.15-suspend2-r6.
>
> Any hints about it?
>
> Best Regards!
>
>   
I had that card in my old Compaq laptop. You'll need an experimental
driver from http://dri.sourceforge.net.

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



[gentoo-user] Printer Sharing with Samba

2006-03-08 Thread Kris Kerwin
Hi folks!

I have a quick question.

I'm a college student. I share my printer with my roommate. We have 
separate computers; he uses Windows XP, and I Gentoo. Together, we're 
behind our school's router which dynamically assigns us both IP's.

Currently, in order to share our printer, we simply unplug it from one 
another's computers. However, we would like to be able to share it 
over the network instead to make life easier for the both of us. 
However, there are a few problems that I'm foreseeing.

First off, I have a laptop with only one ethernet port, so setting up 
an ad hoc network between us is out of the question. Also, my school 
has a "one port - one computer" rule that prohibits routers.

Second, since we're both behind a DHCPd server, we both have dynamic 
IPs. There's no easy way to point his computer to the right server if 
it has a dynamic IP.

Third, since we're both behind a router, using something like DynDNS 
to provide a static contact despite the dynamic IP won't work either.

So, I guess what I'm wondering is if there's any way to make this 
work, or if I'm SOL?

Thank you much for your help.

Kris Kerwin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Printer Sharing with Samba

2006-03-08 Thread Daniel da Veiga
On 3/8/06, Kris Kerwin <[EMAIL PROTECTED]> wrote:
> Hi folks!
>
> I have a quick question.
>
> I'm a college student. I share my printer with my roommate. We have
> separate computers; he uses Windows XP, and I Gentoo. Together, we're
> behind our school's router which dynamically assigns us both IP's.
>
> Currently, in order to share our printer, we simply unplug it from one
> another's computers. However, we would like to be able to share it
> over the network instead to make life easier for the both of us.
> However, there are a few problems that I'm foreseeing.
>
> First off, I have a laptop with only one ethernet port, so setting up
> an ad hoc network between us is out of the question. Also, my school
> has a "one port - one computer" rule that prohibits routers.
>
> Second, since we're both behind a DHCPd server, we both have dynamic
> IPs. There's no easy way to point his computer to the right server if
> it has a dynamic IP.
>
> Third, since we're both behind a router, using something like DynDNS
> to provide a static contact despite the dynamic IP won't work either.
>
> So, I guess what I'm wondering is if there's any way to make this
> work, or if I'm SOL?
>
> Thank you much for your help.
>
> Kris Kerwin
> --
> gentoo-user@gentoo.org mailing list
>
>

I couldn't think of a more "complex" solution right now, but couldn't
you simply make your IP static? I've done it at work because our DNS
was failing, simply copied the network configurations gained with DHCP
and made it permanent...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Xterm, xmms color after Modular X

2006-03-08 Thread Daniel da Veiga
Hello list,

I just switched to Modular X.org, everything went fine after a few
minutes of configuration, but I noticed that XMMS default skin bitmaps
were all wrong (white strips all over it), trying recompile, did no
help. Also noticed that Xterm has only blue as color, all other colors
appear BLACK, this does not happen with Eterm.

Anyone know a way to fix this, maybe a library to recompile, dunno.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Printer Sharing with Samba

2006-03-08 Thread Boyd Stephen Smith Jr.
On Wednesday 08 March 2006 20:28, Kris Kerwin <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] Printer Sharing with Samba':
> First off, I have a laptop with only one ethernet port, so setting up
> an ad hoc network between us is out of the question. Also, my school
> has a "one port - one computer" rule that prohibits routers.

That doesn't prohibit routers, it encourages them; routers add to the 
number of ports in your room. ;)  That rule just prohibits calculators, 
PDAs, cell phones, portable gaming devices, game consoles, moderm 
microwave ovens, modern televisions, some watches, etc., etc. (since they 
are [or contain] computers) from the room.

Real solutions:
(1) Get a wireless AP and connect both computers to it.  It doesn't have to 
have or use a port.
(2) Break the rules, they are stupid.
   (a) Generally speaking, students in dorms have an expectation of privacy 
so they can't (for example) search your room when you are gone.
   (b) A properly configured router doesn't look any different from a 
single computer network-wise.  You can do MAC duplication/spoofing if you 
had to register that with Computing Services.

> Second, since we're both behind a DHCPd server, we both have dynamic
> IPs. There's no easy way to point his computer to the right server if
> it has a dynamic IP.

Does it work like DNSmasq so that it does caching and local DNS?  Maybe you 
can just have the gentoo machine request a certain domain name and have 
the windows machine use that.  Heck, my school allowed student to have 
entries in the school's DNS, as log as the school wasn't using it so you 
might see if that's an option.

> Third, since we're both behind a router, using something like DynDNS
> to provide a static contact despite the dynamic IP won't work either.

Sure it does.  My computer was behind a router for nearly a year and ssh or 
whatever worked fine.  Do you get site-local IPs (10.0.0.0/8, 
192.168.0.0/16, or 176.0.0.0/8) or real IPs?  With real IPs you are set on 
that front.  With site-local, DynDNS would be doing the 'Net a favor to 
disallow them being registered, but you could try anyway.

In either case, does the router filter any ports?  That would be the big 
stumbling block, but if you find a single one that is open you could run 
cups (or what have you) on it.  If there's fewer ports open than you need, 
ssh tunnels can do SOCKS proxying and, IIRC, there's even kernel patches 
to force all connections through a SOCKS proxy.  (Heck, you don't really 
need kernel patches if you can write C and know how to use the LD_PRELOAD 
thingy.)

Finally, depending on how the router is set up, you may be able to do peer 
discovery through ARP or mDNS.

> So, I guess what I'm wondering is if there's any way to make this
> work, or if I'm SOL?

I doubt you are SOL, but it might take more work and /research/ than you 
are willing to put into it.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to implement net bandwidth quota

2006-03-08 Thread Boyd Stephen Smith Jr.
On Tuesday 07 March 2006 23:52, Bobber Cheng <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] how to implement net bandwidth quota':
> I'd like to implement net bandwidth quota. E.g. I like give normal use
> 1M/s at max, give superuse 10M/s at max, give server user like apache
> 50M.
>
> Any suggestion?

What what I understand, bw quotas on a per-user basis are not possible.  
You could limit each connection to 1M/s and vary that based on the user 
that owns the connection using iptables and connection tracking (may not 
work on SMP systems).  Check out the "Advanced Linux Routing HOW-TO" on 
tldp.org.  It's still a work in progress, but I learned all my few bw 
throttling abilities through it.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Thanks all for your help...and I know why now mmx flag was getting
masked. Its in the use.mask as suggested by Martins.

Attached is the use.mask file i have ...that file gets
updated/overwritten every time i do a "emerge --sync",  right ? For
some reason all the flags under x86/amd are uncommented... when i
comment them out then emerge --info shows me mmx etc...

For now i can live with commenting them out. But I did not realize i
had to do that...i never had to do this before on other machines (not
amd64 though...x86 and ppc64).

regards

Kumar


use.mask
Description: Binary data


Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Boyd Stephen Smith Jr.
On Wednesday 08 March 2006 21:20, "Kumar Golap" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] equery, make.conf USE flag mismatch on 
amd64':
> Thanks all for your help...and I know why now mmx flag was getting
> masked. Its in the use.mask as suggested by Martins.
>
> Attached is the use.mask file i have ...that file gets
> updated/overwritten every time i do a "emerge --sync",  right ?

Yep.

> For now i can live with commenting them out. But I did not realize i
> had to do that...i never had to do this before on other machines (not
> amd64 though...x86 and ppc64).

You don't.  In the general case, you can add the flags you want unmasked 
to /etc/portage/profile/use.mask like so:
-win32codecs

In this /specific/ case, you don't have to because the ebuilds and gcc know 
that x86_64 CHOST means that mmx etc. ARE supported and they will 
hard-enable them (you may not turn them off).

Normally, you won't want to mask or unmask USE flags yourself.  They are 
turned on or off by the developers because they are either redundant or 
broken.

I don't know why I didn't jump in the conversation earlier; I guess I hoped 
someone here could read 'man portage'.  There's full documentation for 
use.mask and over-riding your profile in there.

*grumble grumble*

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Richard Fish
On 3/8/06, Kumar Golap <[EMAIL PROTECTED]> wrote:
> Thanks all for your help...and I know why now mmx flag was getting
> masked. Its in the use.mask as suggested by Martins.

The mmx USE flag is not supported on the amd64 profile.  The processor
does support mmx instructions, but (I think) only when operating in
32-bit mode.  So it probably doesn't make sense to have an amd64
profile with the mmx/sse/3dnow use flags.  Presumably there are better
processor instructions for a true 64-bit multi-media application to
use...

If you really want to applications to use mmx/sse/3dnow for some
reason, you will need to remain in 32-bit mode with the x86 profile. 
Or I suppose you could use some kind of chroot/cross-compilation
environment...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
Apologies for not having done my research properly




> In this /specific/ case, you don't have to because the ebuilds and gcc know
> that x86_64 CHOST means that mmx etc. ARE supported and they will
> hard-enable them (you may not turn them off).
>

Do you mean that, say, xawtv would have been built with mmx for an
amd64 arch...despite that "equery uses" say its not ? Because that
what confused me

Thanks

Kumar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Kumar Golap
> The mmx USE flag is not supported on the amd64 profile.  The processor
> does support mmx instructions, but (I think) only when operating in
> 32-bit mode.  So it probably doesn't make sense to have an amd64
> profile with the mmx/sse/3dnow use flags.  Presumably there are better
> processor instructions for a true 64-bit multi-media application to
> use...
>

Ah alright thanks ...i did not know  that mmx 3dnow flags /
instruction set was for the 32 bit operation only


Sorry again if i've wasted you guys time ...but i learned a few things today.

regards

Kumar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Ryan Tandy

Kumar Golap wrote:

Apologies for not having done my research properly




  

In this /specific/ case, you don't have to because the ebuilds and gcc know
that x86_64 CHOST means that mmx etc. ARE supported and they will
hard-enable them (you may not turn them off).




Do you mean that, say, xawtv would have been built with mmx for an
amd64 arch...despite that "equery uses" say its not ? Because that
what confused me

Thanks

Kumar

  
There's a difference.  Due to your CHOST, the compiler knows what 
optimizations are supported by your CPU and will automatically generate 
code that makes the best possible use of them.  On the other hand, the 
"mmx" USE flag's most likely effect is to activate portions of the 
program's code that explicitly invoke MMX CPU instructions - for 
example, through assembly inlining.  I don't know much about 64-bit 
systems, so I'd recommend leaving "mmx" masked as per your profile, or 
perhaps unmasking it just to test one or two packages for stability, and 
then unmasking permanently if you have no problems.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Boyd Stephen Smith Jr.
On Wednesday 08 March 2006 21:45, "Richard Fish" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] equery, make.conf USE flag mismatch on 
amd64':
> On 3/8/06, Kumar Golap <[EMAIL PROTECTED]> wrote:
> > Thanks all for your help...and I know why now mmx flag was getting
> > masked. Its in the use.mask as suggested by Martins.
>
> The mmx USE flag is not supported on the amd64 profile.  The processor
> does support mmx instructions, but (I think) only when operating in
> 32-bit mode. 

I know it supports them, and I'm fairly sure the work in 64-bit mode.

> So it probably doesn't make sense to have an amd64 
> profile with the mmx/sse/3dnow use flags.  Presumably there are better
> processor instructions for a true 64-bit multi-media application to
> use...

Actually, since ALL x86_64 processors support these instructions, it's 
kinda silly to compile without using these instruction sets.  There are 
few, if any, extended instruction sets for x86_64, AFAIK, so mmx3/sse2 is 
probably the fastest code path for multimedia operations.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Boyd Stephen Smith Jr.
On Wednesday 08 March 2006 21:49, "Kumar Golap" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] equery, make.conf USE flag mismatch on 
amd64':
> Apologies for not having done my research properly

No problem, it happens.  Truth be told it's probably more of a problem with 
people being unable to /find/ the manual than being unwilling to /read/ 
it.

Besides, the age-old man command, and it's younger upstart info, are 
quickly being deprecated in favor of simply pointing someone to a web 
page.  I find this unfortunate, at best.

BTW, if you don't like consoles or fixed-width fonts make you itch, you can 
always use a man:/ or info:/ URL in konqueror.  (Not sure what the 
Gnome/FB/BB/OB/ION/WMII/RP/other people use...)

> > In this /specific/ case, you don't have to because the ebuilds and gcc
> > know that x86_64 CHOST means that mmx etc. ARE supported and they will
> > hard-enable them (you may not turn them off).
>
> Do you mean that, say, xawtv would have been built with mmx for an
> amd64 arch...despite that "equery uses" say its not ? Because that
> what confused me

Yes.  It will.  The ebuild controls which arguments are passed to 
configure/make so it can decide on the combination of you USE flags and 
profile.  I'm not sure if it is portage magic (the portage 'use' command 
available in ebuilds doing some check on CHOST) or just ebuild maintainers 
explicitly checking for an x86_64 CHOST, but you will get mmx/sse 
optimizations without any special USE flags.

You probably /should/ set your -march flag (or at least -mcpu) in CFLAGS, 
so that gcc will optimize to your particular processor, including extended 
instruction sets.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to enable glx

2006-03-08 Thread scwang
On Wed, Mar 08, 2006 at 06:19:40PM -0800, Ryan Tandy wrote:
> [EMAIL PROTECTED] wrote:
> > I can't enable glx on my video card, the following is 
> > output of lspci in my system:
> >
> > 01:00.0 VGA compatible controller: ATI Technologies Inc Rage
> > Mobility P/M AGP 2x (rev 64)
> >
> > My kerenl is linux-2.6.15-suspend2-r6.
> >
> > Any hints about it?
> >
> > Best Regards!
> >
> >   
> I had that card in my old Compaq laptop. You'll need an experimental
> driver from http://dri.sourceforge.net.
> 
> HTH.
> -- 
> gentoo-user@gentoo.org mailing list

What driver?

-- 
Wang ShaoChun(王绍春) <[EMAIL PROTECTED]>
PH.D Candidate
Laboratory of Computer Science, Institute of Software
Chinese Academy of Science
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] antivirus

2006-03-08 Thread Ghaith Hachem
That's very intresting, i actually only use windows xp since all my
university software don't run in wine (OU lan simulator, visual works,
mathcad) anyway having a power user seems to be a good idea i'll try
it when i reinstall windows
thx



--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] equery, make.conf USE flag mismatch on amd64

2006-03-08 Thread Richard Fish
On 3/8/06, Kumar Golap <[EMAIL PROTECTED]> wrote:
> > The mmx USE flag is not supported on the amd64 profile.  The processor
> > does support mmx instructions, but (I think) only when operating in
> > 32-bit mode.  So it probably doesn't make sense to have an amd64
> > profile with the mmx/sse/3dnow use flags.  Presumably there are better
> > processor instructions for a true 64-bit multi-media application to
> > use...
> >
>
> Ah alright thanks ...i did not know  that mmx 3dnow flags /
> instruction set was for the 32 bit operation only

Don't thank me.  I was wrong.

As an example, take a look at the following from the mplayer ebuild:

   # mplayer now contains SIMD assembler code for amd64
# AMD64 Team decided to hardenable SIMD assembler for all users
# Danny van Dyk <[EMAIL PROTECTED]> 2005/01/11
if use amd64; then
myconf="${myconf} --enable-3dnow --enable-3dnowex
--enable-sse --enable-sse2 --enable-mmx --enable-mmx2"
fi

In this case, since mplayer knows how to use both 64-bit and mmx/sse
instructions simultaneously, the ebuild adds all of this stuff for
amd64 users.  No use flags required.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to enable glx

2006-03-08 Thread Ryan Tandy
[EMAIL PROTECTED] wrote:
> On Wed, Mar 08, 2006 at 06:19:40PM -0800, Ryan Tandy wrote:
>   
>> [EMAIL PROTECTED] wrote:
>> 
>>> I can't enable glx on my video card, the following is 
>>> output of lspci in my system:
>>>
>>> 01:00.0 VGA compatible controller: ATI Technologies Inc Rage
>>> Mobility P/M AGP 2x (rev 64)
>>>
>>> My kerenl is linux-2.6.15-suspend2-r6.
>>>
>>> Any hints about it?
>>>
>>> Best Regards!
>>>
>>>   
>>>   
>> I had that card in my old Compaq laptop. You'll need an experimental
>> driver from http://dri.sourceforge.net.
>>
>> HTH.
>> -- 
>> gentoo-user@gentoo.org mailing list
>> 
>
> What driver?
>
>   
The latest mach64 driver from http://dri.freedesktop.org/snapshots/ as
well as the 'common' package which includes a script to build and
install the module for you. The driver requires DRM support in your kernel.
-- 
gentoo-user@gentoo.org mailing list



  1   2   >