Re: [gentoo-user] otrs

2011-09-23 Thread Stefan G. Weichinger
Am 22.09.2011 14:43, schrieb Stefan G. Weichinger:

> I am going the manual path right now, just to get things working
> asap.


You know what? Didn't get it working!

I always hit some bug around XML-Parser and couldn't find a solution
anywhere. Even registered on OTRS-Forum, no luck there anyway.

After a day spent on all this I simply deleted the VM and started to
install another distro (the one starting with "U" ;-) ) just to get OTRS
working for the customer asap.

They will check it out now, I might try to get it working with gentoo
later. For now I spent enough time and energy on that issue.

thanks for the feedback anyway,
Stefan



Re: [gentoo-user] Re: mplayer(2) ???

2011-09-23 Thread Florian Philipp
Am 22.09.2011 23:54, schrieb Mick:
> On Thursday 22 Sep 2011 09:15:42 Nikos Chantziaras wrote:
>> On 09/22/2011 12:58 AM, Mick wrote:
>>> On Wednesday 21 Sep 2011 09:19:39 Sebastian Beßler wrote:
> Does mplayer2 work with smplayer or kmplayer?

 I use mplayer2 with smplayer for a few month now and everything works
 just fine for me.
>>>
>>> Any idea when ffmpeg-mt might make it to the main portage tree?
>>
>> It's already in the tree.  Both ffmpeg as well as libav now have it.
> 
> Sorry I can't see a USE flag or ffmpeg-mt package in portage:
> 
> $ eix -l ffmpeg | grep mt
> $
> 
> or are you saying that the code has been merged in the vanilla ffmpeg and 
> libav without the need for a USE flag?

The bug I linked to mentioned that it has been merged into ffmpeg and
libav. Both packages have USE="threads". If you use mplayer2, you also
see some output that mentions starting ffmpeg with x threads.

The bug also mentions that work on ffmpeg-mt continues so maybe you can
expect more merges or a new ebuild if the features are worth the effort.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread Jonas de Buhr
>The devices are connected, there's only a switch between them (a
>billion ADSL router).

wait... billion as in "billion the company"? and
you are using your router as a switch?

please connect the two computers without any switch (crossover cable if
they aren't 1000mbit) and try again. maybe the router is doing
something funny with port 80? most routers DO run firewalls.





Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Jonas de Buhr

>What I'd like to do is drop the stage3 and Portage snapshots onto the
>ISO before burning, but I've never done anything with mastering
>bootable discs. Could someone provide me with some pointers?

http://lmgtfy.com/?q=build+your+own+live+cd+gentoo

SCNR :P

alternatively you could use catalyst:
http://www.gentoo.org/proj/en/releng/catalyst/

or you just mount the iso, modify it, run mkisofs on it and burn it.
the mkisofs options you are looking for are -b and -c.

/jonas




Re: [gentoo-user] Re: mplayer(2) ???

2011-09-23 Thread Mick
On Friday 23 Sep 2011 09:58:35 Florian Philipp wrote:
> Am 22.09.2011 23:54, schrieb Mick:
> > On Thursday 22 Sep 2011 09:15:42 Nikos Chantziaras wrote:
> >> On 09/22/2011 12:58 AM, Mick wrote:
> >>> On Wednesday 21 Sep 2011 09:19:39 Sebastian Beßler wrote:
> > Does mplayer2 work with smplayer or kmplayer?
>  
>  I use mplayer2 with smplayer for a few month now and everything works
>  just fine for me.
> >>> 
> >>> Any idea when ffmpeg-mt might make it to the main portage tree?
> >> 
> >> It's already in the tree.  Both ffmpeg as well as libav now have it.
> > 
> > Sorry I can't see a USE flag or ffmpeg-mt package in portage:
> > 
> > $ eix -l ffmpeg | grep mt
> > $
> > 
> > or are you saying that the code has been merged in the vanilla ffmpeg and
> > libav without the need for a USE flag?
> 
> The bug I linked to mentioned that it has been merged into ffmpeg and
> libav. Both packages have USE="threads". If you use mplayer2, you also
> see some output that mentions starting ffmpeg with x threads.

Ah!  Yes, of course!

I was looking for the wrong thing.  Thanks!

I've enabled USE=threads and remerged ffmpeg (don't have libav installed). 
However, when I try to install mplayer2 it tells me that I should disable 
USE=threads.  Am I missing something?

# emerge -uaDv mplayer2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] media-sound/mpg123-1.13.2  USE="alsa ipv6 sdl sse (-3dnow) 
(-3dnowext) (-altivec) (-coreaudio) -jack (-mmx) -nas -oss -portaudio -
pulseaudio" 747 kB
[ebuild   R] media-video/ffmpeg-0.7.5  USE="3dnow 3dnowext X aac alsa amr 
bzip2 encode faac hardcoded-tables mmx mmxext mp3 rtmp sdl ssse3 truetype v4l2 
vaapi vorbis x264 xvid zlib (-altivec) -avx -bindist (-celt) -cpudetection -
custom-cflags -debug -dirac -doc -frei0r -gsm -ieee1394 -jack -jpeg2k -network 
-oss -pic -qt-faststart -schroedinger -speex -static-libs -test -theora -
threads* -v4l -vdpau -vpx" VIDEO_CARDS="-nvidia" 0 kB
[ebuild  N ] media-video/mplayer2-2.0  USE="X a52 alsa ass cddb cdio 
cdparanoia dts dv dvd dvdnav enca faad gif iconv ipv6 jpeg live mad mmx mmxext 
mng mp3 network opengl osdmenu png quicktime rar rtc sdl shm speex sse sse2 
ssse3 theora truetype unicode v4l2 vorbis xscreensaver xv xvid xvmc -3dnow 
-3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -
cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb (-doc) -dvb 
-dxr3 -esd -fbcon -ftp -ggi -jack -joystick -ladspa -libcaca -lirc -md5sum -
nas -nut -oss -pnm -pulseaudio -pvr -radio (-real) -samba -tga -v4l -vdpau (-
win32codecs) -xanim -xinerama" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 3,589 
kB

Total: 3 packages (2 new, 1 reinstall), Size of downloads: 4,336 kB

The following USE changes are necessary to proceed:
#required by virtual/ffmpeg-0.6.90, required by media-video/mplayer2-2.0, 
required by mplayer2 (argument)
=media-video/ffmpeg-0.7.5 -threads

-- 
Regards,
Mick


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


Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 7:42 AM, Jonas de Buhr  wrote:
>
>>What I'd like to do is drop the stage3 and Portage snapshots onto the
>>ISO before burning, but I've never done anything with mastering
>>bootable discs. Could someone provide me with some pointers?
>
> http://lmgtfy.com/?q=build+your+own+live+cd+gentoo

Not so useful, thanks. Google fails me regularly. Personalized
searches are getting to be a real sore spot for me; not just mine, but
those of people pointing me at Google assuming my searches for the
same keywords will get the same results. Particular grating is when
someone sends me a link to a search, then the link to what I was
looking for, and says something like "first hit". My first *page*
didn't even have that link on it.

/rant

>
> SCNR :P

shortcircuit:12@serenity~
Fri Sep 23 08:44 AM
!501 #1 j0 ?0 $ wtf is scnr
SCNR: sorry, could not resist

Ah.

>
> alternatively you could use catalyst:
> http://www.gentoo.org/proj/en/releng/catalyst/
>
> or you just mount the iso, modify it, run mkisofs on it and burn it.
> the mkisofs options you are looking for are -b and -c.

I knew there was going to be something I wasn't going to know, and it
looks like the values passed to -b and -c are it.

I don't want to build a CD from scratch (and doing so looks like it
would require setting up a fully "generic" box to build). I just want
to add two files to an existing ISO.

How would I extract boot_catalog and eltorito_boot_image from an existing ISO?

-- 
:wq



Re: [gentoo-user] otrs

2011-09-23 Thread Marius Vaitiekunas
On Fri, Sep 23, 2011 at 12:48 PM, Stefan G. Weichinger  wrote:
> Am 22.09.2011 14:43, schrieb Stefan G. Weichinger:
>
>> I am going the manual path right now, just to get things working
>> asap.
>
>
> You know what? Didn't get it working!
>
> I always hit some bug around XML-Parser and couldn't find a solution
> anywhere. Even registered on OTRS-Forum, no luck there anyway.
>
> After a day spent on all this I simply deleted the VM and started to
> install another distro (the one starting with "U" ;-) ) just to get OTRS
> working for the customer asap.
>
> They will check it out now, I might try to get it working with gentoo
> later. For now I spent enough time and energy on that issue.
>
> thanks for the feedback anyway,
> Stefan
>
>

As I told you, the best way to install on gentoo is installation from
source. Deb packages have some problem also. If you need an easy
installation via package manager, go with rpm distro.



Re: [gentoo-user] PacketShader - firewall using GPU

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 12:06 AM, Pandu Poluan  wrote:
> Saw this on the pfSense list:
>
> http://shader.kaist.edu/packetshader/
>
> anyone interested in trying?

I see a lot of graphs touting high throughput, but what about latency?
That's the kind of stuff that gets in my way when I'm messing with
things like VOIP.

My first thought when I saw they were using a GPU for processing was
concerns about latency:
1) RTT between a video card and the CPU will cause an increase in
latency from doing processing on-CPU. Maybe DMA between the video card
and NICs could help with this, but I don't know. Certainly newer CPUs
with on-die GPUs will have an advantage here.
2) GPGPU coding favors batch processing over small streams. That's
part of its nature, after all. That means that processed packets would
come out of the GPU side of the engine in bursts.

They also tout a huge preallocated packet buffer, and I'm not sure
that's a good thing, either. It may or may not cause latency problems,
depending on how they use it.

They don't talk about latency at all, except for one sentence:
"Forwarding table lookup is highly memory-intensive, and GPU can
acclerate it with both latency hiding capability and bandwidth."

-- 
:wq



[gentoo-user] Re: Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread James
Adam Carter  gmail.com> writes:


> > go and delete the ".ssh/known_hosts"

> That file just contains the cached ssh host keys - nothing to do with

My bad, I though I had read where you cannot ssh into the
server

so sorry






Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread Pandu Poluan
On Sep 23, 2011 6:11 AM, "Adam Carter"  wrote:
>
> > It's not the ICMP that is being prohibited.
>
> Understood, that's clear from the packet trace.
>
> > is an ICMP "host unreachable" response from .250.  The extended reason
> > for the unreachability is that there is an administrative policy
> > preventing the traffic. It almost certainly *is* a firewall that's
> > preventing this, one with a REJECT target, as REJECT specifies to
> > return an ICMP unreachable packet.
>
> Most firewalls i've seen send a spoofed TCP reset, not an ICMP when
> rejecting TCP. However, iptables can do either. I have run iptables -F
> and the tables are shown as clear with iptables -L.
>
> proxy vhosts.d # iptables -L
> Chain INPUT (policy ACCEPT)
> target prot opt source   destination
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source   destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source   destination
>
> Chain fail2ban-SSH (0 references)
> target prot opt source   destination
>
> Chain fail2ban-apache (0 references)
> target prot opt source   destination
> proxy vhosts.d #
>

Can you post the outputs of 'iptables-save' and 'ip rule show'?

Rgds,


Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Mick
On Friday 23 Sep 2011 13:58:22 Michael Mol wrote:
> On Fri, Sep 23, 2011 at 7:42 AM, Jonas de Buhr  
wrote:
> >>What I'd like to do is drop the stage3 and Portage snapshots onto the
> >>ISO before burning, but I've never done anything with mastering
> >>bootable discs. Could someone provide me with some pointers?
> >>
> > http://lmgtfy.com/?q=build+your+own+live+cd+gentoo
> 
> Not so useful, thanks. Google fails me regularly. Personalized
> searches are getting to be a real sore spot for me; not just mine, but
> those of people pointing me at Google assuming my searches for the
> same keywords will get the same results. Particular grating is when
> someone sends me a link to a search, then the link to what I was
> looking for, and says something like "first hit". My first *page*
> didn't even have that link on it.
> 
> /rant

This is because Google uses geo-targeting to determine what results you may be 
interested in (assuming your geo-location from your IP address), and 

because of the Google data centre that you are getting connected to (updates 
of search results and their ranking is not instantaneous across the globe), 
and

because if you are logged in to Google (mail, et al) your search history will 
bias the results you may receive, and

because recent searches (whether logged in or not) are cached and will affect 
what you're getting served.


People searching for pubs in the UK are bound to get different results to 
people searching for pubs in Australia.

Of course if you want to search for pubs in Australia while you are browsing 
from the UK things are going to get tricky ...

In such cases you want to add:

The location in the search results:  e.g. pubs + Australia (to filter the UK 
Google results for Australian pubs), or go to www.google.au and then search 
from there for pubs (Australian Google results for pubs).  There could be 
other more sophisticated ways but can't recall them off hand.

Now, if someone sends you a non-lmgtfy.com link you can look at the Google TLD 
to determine the country the results are from and search accordingly.

> > SCNR :P
> 
> shortcircuit:12@serenity~
> Fri Sep 23 08:44 AM
> !501 #1 j0 ?0 $ wtf is scnr
> SCNR: sorry, could not resist
> 
> Ah.
> 
> > alternatively you could use catalyst:
> > http://www.gentoo.org/proj/en/releng/catalyst/
> > 
> > or you just mount the iso, modify it, run mkisofs on it and burn it.
> > the mkisofs options you are looking for are -b and -c.
> 
> I knew there was going to be something I wasn't going to know, and it
> looks like the values passed to -b and -c are it.
> 
> I don't want to build a CD from scratch (and doing so looks like it
> would require setting up a fully "generic" box to build). I just want
> to add two files to an existing ISO.
> 
> How would I extract boot_catalog and eltorito_boot_image from an existing
> ISO?

Mount the ISO with loopback and then navigate into it as a normal fs:

# mkdir /mnt/iso
# mount -o loop LiveCD.iso /mnt/iso
# ls -la /mnt/iso
# cp /mnt/iso/some_file
-- 
Regards,
Mick


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


Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Jonas de Buhr
>> http://lmgtfy.com/?q=build+your+own+live+cd+gentoo
>
>Not so useful, thanks. Google fails me regularly. Personalized
>searches are getting to be a real sore spot for me; not just mine, but
>those of people pointing me at Google assuming my searches for the
>same keywords will get the same results. Particular grating is when
>someone sends me a link to a search, then the link to what I was
>looking for, and says something like "first hit". My first *page*
>didn't even have that link on it.

well... i didn't know if it was ok to post links to unofficial gentoo
resources on this list which is why i went with the search. 
i also meant to point out that what you are looking for is fairly
common knowledge and that you can easily find all the information you
need with a simple search query. and i assumed that you would be
capable to find the one search result that does describe all you need
to know in the first 5 hits. i even checked that it is in there in
different google TLDs and with different hl= options.

>> alternatively you could use catalyst:
>> http://www.gentoo.org/proj/en/releng/catalyst/
>>
>> or you just mount the iso, modify it, run mkisofs on it and burn it.
>> the mkisofs options you are looking for are -b and -c.
>
>I knew there was going to be something I wasn't going to know, and it
>looks like the values passed to -b and -c are it.

again, the hint you maybe didn't get was: you will have to do some of
the work yourself. 

>I don't want to build a CD from scratch (and doing so looks like it
>would require setting up a fully "generic" box to build). I just want 
>to add two files to an existing ISO.
>
>How would I extract boot_catalog and eltorito_boot_image from an
>existing ISO?

you can actually omit -c i think. use isolinux.bin (should be on the
livecd) as boot image.




[gentoo-user] Re: OT: google search results (was: Modifying LiveCDs)

2011-09-23 Thread Jonas de Buhr
>This is because Google uses geo-targeting to determine what results
>you may be interested in (assuming your geo-location from your IP
>address), and 

are you sure google uses ip geo-location? the results change a lot if
you just change the TLD or hl=

/jonas



Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 10:37 AM, Jonas de Buhr  wrote:
>>> http://lmgtfy.com/?q=build+your+own+live+cd+gentoo
>>
>>Not so useful, thanks. Google fails me regularly. Personalized
>>searches are getting to be a real sore spot for me; not just mine, but
>>those of people pointing me at Google assuming my searches for the
>>same keywords will get the same results. Particular grating is when
>>someone sends me a link to a search, then the link to what I was
>>looking for, and says something like "first hit". My first *page*
>>didn't even have that link on it.
>
> well... i didn't know if it was ok to post links to unofficial gentoo
> resources on this list which is why i went with the search.

Posting direct links should be absolutely fine, IMO. My fiancee shares
my frustrations with LMGTFY responses; she'll google for a phrase, and
the first few results will be forum and newsgroup mirrors of threads
along the lines of:

"How do I do $x"
"Google for "$phrase_just_googled_for"

>
>>> alternatively you could use catalyst:
>>> http://www.gentoo.org/proj/en/releng/catalyst/
>>>
>>> or you just mount the iso, modify it, run mkisofs on it and burn it.
>>> the mkisofs options you are looking for are -b and -c.
>>
>>I knew there was going to be something I wasn't going to know, and it
>>looks like the values passed to -b and -c are it.
>
> again, the hint you maybe didn't get was: you will have to do some of
> the work yourself.

If I wasn't willing to do some of the work myself, I wouldn't be using
Gentoo. I'd be using Ubuntu. Or wearign diapers. Thanks.

>
>>I don't want to build a CD from scratch (and doing so looks like it
>>would require setting up a fully "generic" box to build). I just want
>>to add two files to an existing ISO.
>>
>>How would I extract boot_catalog and eltorito_boot_image from an
>>existing ISO?
>
> you can actually omit -c i think. use isolinux.bin (should be on the
> livecd) as boot image.

Huh. Ok; when I glanced through the man page for mkisofs, I got the
impression that the files added by -b and -c wouldn't appear on the
filesystem. I don't know how El Torido actually works, at the ISO
level, I only know it's something like a bootable floppy image that a
capable BIOS loads and executes.

-- 
:wq



Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 10:33 AM, Mick  wrote:
> On Friday 23 Sep 2011 13:58:22 Michael Mol wrote:
>> /rant
>
> This is because Google uses geo-targeting to determine what results you may be
> interested in (assuming your geo-location from your IP address), and
>
> because of the Google data centre that you are getting connected to (updates
> of search results and their ranking is not instantaneous across the globe),
> and
>
> because if you are logged in to Google (mail, et al) your search history will
> bias the results you may receive, and
>
> because recent searches (whether logged in or not) are cached and will affect
> what you're getting served.
>
>
> People searching for pubs in the UK are bound to get different results to
> people searching for pubs in Australia.
>
> Of course if you want to search for pubs in Australia while you are browsing
> from the UK things are going to get tricky ...
>
> In such cases you want to add:
>
> The location in the search results:  e.g. pubs + Australia (to filter the UK
> Google results for Australian pubs), or go to www.google.au and then search
> from there for pubs (Australian Google results for pubs).  There could be
> other more sophisticated ways but can't recall them off hand.
>
> Now, if someone sends you a non-lmgtfy.com link you can look at the Google TLD
> to determine the country the results are from and search accordingly.

All great info, if I'm looking for a physical location. Yeah, when I'm
looking for the address of a music, I'll search for "the intersection
in Grand Rapids, MI". GeoIP and other details take care of the rest,
and it actually comes up with the place I saw JoCo and TMBG last
weekend.

>> I don't want to build a CD from scratch (and doing so looks like it
>> would require setting up a fully "generic" box to build). I just want
>> to add two files to an existing ISO.
>>
>> How would I extract boot_catalog and eltorito_boot_image from an existing
>> ISO?
>
> Mount the ISO with loopback and then navigate into it as a normal fs:
>
> # mkdir /mnt/iso
> # mount -o loop LiveCD.iso /mnt/iso
> # ls -la /mnt/iso
> # cp /mnt/iso/some_file

Loopbacks are easy enough. I wasn't sure that the files in question
were going to be on the filesystem, or were somewhere else in the ISO
image. I was thinking analogously to boot sectors on floppy disks and
hard disks; some data isn't directly visible on a filesystem.


> --
> Regards,
> Mick
>



-- 
:wq



Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Pandu Poluan
On Sep 23, 2011 9:42 PM, "Jonas de Buhr"  wrote:
>
> >> http://lmgtfy.com/?q=build+your+own+live+cd+gentoo
> >
> >Not so useful, thanks. Google fails me regularly. Personalized
> >searches are getting to be a real sore spot for me; not just mine, but
> >those of people pointing me at Google assuming my searches for the
> >same keywords will get the same results. Particular grating is when
> >someone sends me a link to a search, then the link to what I was
> >looking for, and says something like "first hit". My first *page*
> >didn't even have that link on it.
>
> well... i didn't know if it was ok to post links to unofficial gentoo
> resources on this list which is why i went with the search.

Well, IMHO the principle here is:

"If you're not against us, then you're our ally."

(That is, unofficial sites are okay. In fact, unavoidable since the official
sites have the additional burden of having to be bug-free and/or thoroughly
tested)

Rgds,


Re: [gentoo-user] Re: OT: google search results (was: Modifying LiveCDs)

2011-09-23 Thread Pandu Poluan
On Sep 23, 2011 9:53 PM, "Jonas de Buhr"  wrote:
>
> >This is because Google uses geo-targeting to determine what results
> >you may be interested in (assuming your geo-location from your IP
> >address), and
>
> are you sure google uses ip geo-location? the results change a lot if
> you just change the TLD or hl=
>
> /jonas
>

It seems like it. Accessing www.google.com in my country always gets me
redirected to www.google.co.id. Unless I login first.

Rgds,


Re: [gentoo-user] Re: OT: google search results (was: Modifying LiveCDs)

2011-09-23 Thread Paul Hartman
On Fri, Sep 23, 2011 at 9:48 AM, Jonas de Buhr  wrote:
>>This is because Google uses geo-targeting to determine what results
>>you may be interested in (assuming your geo-location from your IP
>>address), and
>
> are you sure google uses ip geo-location? the results change a lot if
> you just change the TLD or hl=

In the US, when I Google search it shows my city and ZIP code
(detected, not always correctly), and allows me to change it, if I
want. It uses this to customize results in search, shopping, maps,
news...



[gentoo-user] Re: PacketShader - firewall using GPU

2011-09-23 Thread James
Michael Mol  gmail.com> writes:


> > http://shader.kaist.edu/packetshader/
> > anyone interested in trying?

A firewall router based on a GPU+CPU is a great idea, who's
stability is probably a few years away.

Basis: GPU use very fast memory often with special features,
based on architecture. But the proof is in the pudding; i.e.
such a device being tested in a variety of scenarios. The basic
problem is you have different details on GPU and often the
necessary details of the hardware, are not published in a general
access type of document. Most chip vendors, when they do get
a software firewall router working on a chipset (GPU + CPU)
will most likely want to sell a solution, rather than open
source this solution. It has huge ramification commercially.

So for this to be a fruitful effort, I'd suggest waiting until you
have one of those fancy new AMD chips where the GPU and mutli-core
CPU are on the same die PLUS and open source project.

Intel has nice (CPU) hardware, but video is a pig (dog_slow) on
the Intel GPU. The intel GPU is a DOG..

Nvidia has some nice software offerings, but no robust CPU multi
core to work with the GPU (on the same die). Also, Nvidia has a 
weak history of open-source support. In fact the project you 
mention may not even publish other parts of the sourcecode, according 
to the website. So why would you waste your time on that code offering.


When somebody (GPU team) get's iptables and gentoo running on a new,
integrated (GPU + CPU) AMD chip, just use vanilla tools via
the gentoo organization? Then IP tables just has to be modified
to take advantage of the GPU. Maybe GCC will handle this some day.
maybe AMD will open source some internal knowledge to make it
happen; Maybe not.


> I see a lot of graphs touting high throughput, but what about latency?

This is a good point. Wait until the GPU and CPU are on the same
die... (think AMD). I just do not see Intel or Nvidia being the first
to make this truely a commodity (too much money to made selling the
proprietary solutions). For example, and high-end compiler vendor
could buy an exclusive license from Intel/Nvidia, to make this
a unique and expensive offering. Think DOD contractors that 
limit the solution to VME buss based systems (just a random thought).

> They also tout a huge preallocated packet buffer, and I'm not sure
> that's a good thing, either. It may or may not cause latency problems,
> depending on how they use it.

Traditionally, searching and sorting algos smoke on GPU and GPU
type ram. Other processes not so wonderful. That's why you need
the GPU to offload processes, that it can run much faster than
the multi-core CPU. Both are needed most of the time.

> They don't talk about latency at all, except for one sentence:

I think that site is just trying to get folks to do some testing
for them. They do not seem to be 'open-source' minded, imho

Personally, I would not waist my time. But do watch out for new
offerings from AMD. Maybe Intel (naw, just kidding, they
never release or support anything open source, until they
have to) I bet those developers had to sign some serious
NDAs with some nasty corporate types of lawyers

just my opinion
hth,
James





Re: [gentoo-user] PacketShader - firewall using GPU

2011-09-23 Thread Mark Knecht
On Fri, Sep 23, 2011 at 6:49 AM, Michael Mol  wrote:
> On Fri, Sep 23, 2011 at 12:06 AM, Pandu Poluan  wrote:
>> Saw this on the pfSense list:
>>
>> http://shader.kaist.edu/packetshader/
>>
>> anyone interested in trying?
>
> I see a lot of graphs touting high throughput, but what about latency?
> That's the kind of stuff that gets in my way when I'm messing with
> things like VOIP.
>
> My first thought when I saw they were using a GPU for processing was
> concerns about latency:
> 1) RTT between a video card and the CPU will cause an increase in
> latency from doing processing on-CPU. Maybe DMA between the video card
> and NICs could help with this, but I don't know. Certainly newer CPUs
> with on-die GPUs will have an advantage here.
> 2) GPGPU coding favors batch processing over small streams. That's
> part of its nature, after all. That means that processed packets would
> come out of the GPU side of the engine in bursts.
>
> They also tout a huge preallocated packet buffer, and I'm not sure
> that's a good thing, either. It may or may not cause latency problems,
> depending on how they use it.
>
> They don't talk about latency at all, except for one sentence:
> "Forwarding table lookup is highly memory-intensive, and GPU can
> acclerate it with both latency hiding capability and bandwidth."
>
> --
> :wq

While I'm not a programmer at all I have been playing with some CUDA
programming this year. The couple of comments below are based around
that GPU framework and might differ for others.

1) I don't think the GPU latencies are much different than CPU
latencies. A lot of it can be done with DMA so that the CPU is hardly
involved once the pointers are set up. Of course it depends on the
system but the GPU is pretty close to the action so it should be quite
fast getting started.

2) The big deal with GPUs is that they really pay off when you need to
do a lot of the same calculations on different data in parallel. A
book I read + some online stuff suggested they didn't pay off speed
wise until you were doing at least 100 operations in parallel.

3) You do have to get the data into the GPU so for things that used
fixed data blocks, like shading graphical elements, that data can be
loaded once and reused over and over. That can be very fast. In my
case it's financial data getting evaluated 1000 ways so that's
effective. For data like a packet I don't know how many ways there are
to evaluate that so I cannot suggest what the value would be.

None the less it's an interesting idea and certainly offloads computer
cycles that might be better used for other things.

My NVidia 465GTX has 352 CUDA cores while the GS8200 has only 8 so
there can be a huge difference based on what GPU you have available.

Just some thoughts,
Mark



Re: [gentoo-user] PacketShader - firewall using GPU

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 11:16 AM, Mark Knecht  wrote:
> On Fri, Sep 23, 2011 at 6:49 AM, Michael Mol  wrote:
> While I'm not a programmer at all I have been playing with some CUDA
> programming this year. The couple of comments below are based around
> that GPU framework and might differ for others.
>
> 1) I don't think the GPU latencies are much different than CPU
> latencies. A lot of it can be done with DMA so that the CPU is hardly
> involved once the pointers are set up. Of course it depends on the
> system but the GPU is pretty close to the action so it should be quite
> fast getting started.

As long as stuff is done wholly in the GPU, the kind of latency I was
worried about (GPU<->system RAM<->CPU) isn't a problem. The problem is
going to be anything that involves data being passed back and forth,
or decisions needing to be made by the CPU. I concur with James that
CPU+GPU parts will help a great deal in that regard.

> 2) The big deal with GPUs is that they really pay off when you need to
> do a lot of the same calculations on different data in parallel. A
> book I read + some online stuff suggested they didn't pay off speed
> wise until you were doing at least 100 operations in parallel.
>
> 3) You do have to get the data into the GPU so for things that used
> fixed data blocks, like shading graphical elements, that data can be
> loaded once and reused over and over. That can be very fast. In my
> case it's financial data getting evaluated 1000 ways so that's
> effective. For data like a packet I don't know how many ways there are
> to evaluate that so I cannot suggest what the value would be.

Yeah, that's the problem. Cache loses its utility the less and less
you have to revisit the same pieces of data. When they're talking
about multiple gigabits per second of throughput, cache won't be much
good for more than prefetches.

>
> None the less it's an interesting idea and certainly offloads computer
> cycles that might be better used for other things.

Earlier this year, I experimented a little bit in how one could
implement a Turing-complete language in a branchless, like on GPGPUs*.
I figure it's doable, but you waste cores and memory with discarded
results. (Similar to when CPUs mispredict branches misprediction, but
worse.)

* OK, they're not branchless, but branches kill performance; I recall
my reading of the CUDA manual indicating that code has to be brought
back in step after a branch before any of the results are available.
But that was about two years ago when I read it.

>
> My NVidia 465GTX has 352 CUDA cores while the GS8200 has only 8 so
> there can be a huge difference based on what GPU you have available.



-- 
:wq



[gentoo-user] Re: PacketShader - firewall using GPU

2011-09-23 Thread James
Mark Knecht  gmail.com> writes:



> 1) I don't think the GPU latencies are much different than CPU
> latencies. A lot of it can be done with DMA so that the CPU is hardly
> involved once the pointers are set up. Of course it depends on the
> system but the GPU is pretty close to the action so it should be quite
> fast getting started.

Privately, multi-core and GPUs are license for some folks to build
out using the latest FPGA in massive efforts for some  large clusters.
These clusters are very private and the latency issue alluded to
is gone and very much a positive attribute, if you have large
sums of cash


> 2) The big deal with GPUs is that they really pay off when you need to
> do a lot of the same calculations on different data in parallel. A
> book I read + some online stuff suggested they didn't pay off speed
> wise until you were doing at least 100 operations in parallel.

I always knew you were very sharp (Mark) here a few websites to
further establish what you are saying.

[1]
http://www.prnewswire.com/news-releases/passware-kit-101-cracks-rar-and-truecrypt-encryption-in-record-time-99539629.html

[2] http://www.tomshardware.com/news/nvidia-gpu-wifi-hack,6483.html

These are just the tip of the berg

> 3) You do have to get the data into the GPU so for things that used
> fixed data blocks, like shading graphical elements, that data can be
> loaded once and reused over and over. That can be very fast. In my
> case it's financial data getting evaluated 1000 ways so that's
> effective. For data like a packet I don't know how many ways there are
> to evaluate that so I cannot suggest what the value would be.

When you license core technologies, put them on FPGAs or ASICs and have
lots of money, you can build special purpose busses that move
data around very fast and massive on that custome hardware. 
Consumers and business don't want to pay for that sort of thing, 
but others are far ahead of the hacker-trains using massive numbers of
workstations around the net. Those massive hacker efforts use the 
Internet like a buss. Others build custom busses that are faster
and with more bandwidth that what vendors put under a 10G ethernet
interface.  A lot of very smart folks are studying the 
hacker communities with advance hardware for analysis, like
you cannot believe.  

What the original poster has proposed, has been around for a long time.
Ever wonder why not much progress is being made by the related open-source
projects (compared to what's going on behind deep_pockets)?

The best hope is for AMD stock to fall to a point where the owners
are truely desparate. Then AMD may be motivated to offer something
that every Linux user (world wide) want to go out and purchase...

just my opinion...

hth,
James






Re: [gentoo-user] Re: OT: google search results (was: Modifying LiveCDs)

2011-09-23 Thread Mick
On Friday 23 Sep 2011 15:48:29 Jonas de Buhr wrote:
> >This is because Google uses geo-targeting to determine what results
> >you may be interested in (assuming your geo-location from your IP
> >address), and
> 
> are you sure google uses ip geo-location? the results change a lot if
> you just change the TLD or hl=

Yes it does.  When you change the www.google.TLD you 'force' it to give you 
the results from the specific TLD location.  The results can change a lot if 
location is relevant.

-- 
Regards,
Mick


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


[gentoo-user] Re: Modifying LiveCDs

2011-09-23 Thread James
Michael Mol  gmail.com> writes:


> What I'd like to do is drop the stage3 and Portage snapshots onto the
> ISO before burning, but I've never done anything with mastering
> bootable discs. Could someone provide me with some pointers?

> (I don't strictly need to put it all one one disc; it's just an
> opportunity to learn some more about systems through application)

Catalyst was the tool of choice; it's in portage.

Personally, I'd track down the guy (name eludes me) that put
together the liveDVD-11.2, as I recall he is very smart
and friendly. Seek his opinion on your tasks.
;-) 

He can cut through advise from this group and give you
the straight skinny

Do drop us a line where your offering is posted.



just a thought.

hth,
James









[gentoo-user] Re: PacketShader - firewall using GPU

2011-09-23 Thread James
Pandu Poluan  poluan.info> writes:

> Saw this on the pfSense list:
> http://shader.kaist.edu/packetshader/
> anyone interested in trying?

To make my rant complete, here a few links
for those proactive (young and brilliant) minds:

http://netfpga.org/

http://opencores.org/

I suggest these sites, as over the years some
programmers that are accomplished, move into the
programmable hardware arena (FPGA etc) and 
develop an extraordinary clarity of problem
solving. Much more so than folks with PH.d
in Hardware. Hardware is not hard to understand
and pushing the envelop is more about your coding
skills than knowledge of hardware, imho.


James




Re: [gentoo-user] Re: Modifying LiveCDs

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 12:34 PM, James  wrote:
> Michael Mol  gmail.com> writes:
>
>
>> What I'd like to do is drop the stage3 and Portage snapshots onto the
>> ISO before burning, but I've never done anything with mastering
>> bootable discs. Could someone provide me with some pointers?
>
>> (I don't strictly need to put it all one one disc; it's just an
>> opportunity to learn some more about systems through application)
>
> Catalyst was the tool of choice; it's in portage.
>
> Personally, I'd track down the guy (name eludes me) that put
> together the liveDVD-11.2, as I recall he is very smart
> and friendly. Seek his opinion on your tasks.
> ;-)
>
> He can cut through advise from this group and give you
> the straight skinny

I figured I'd ask here, because this is the densest collection of
knowledgeable people I've ever encountered. LMGTFY is just a hot
button for me.

>
> Do drop us a line where your offering is posted.

Was only planning to do a one-off, but if I can put together a script
to automate it--and hopefully that doesn't result in reinventing
catalyst--I'll drop a link to it.

-- 
:wq



Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread Adam Carter
> Can you post the outputs of 'iptables-save' and 'ip rule show'?

# iptables-save
# Generated by iptables-save v1.4.12.1 on Sat Sep 24 02:57:42 2011
*nat
:PREROUTING ACCEPT [239188:15840835]
:INPUT ACCEPT [230129:15089630]
:OUTPUT ACCEPT [265028:20043915]
:POSTROUTING ACCEPT [0:0]
-A PREROUTING -s 10.0.0.254/32 -p tcp -m tcp --dport 80 -j ACCEPT
-A PREROUTING -s 10.0.0.254/32 -p tcp -m tcp --dport 8081 -j ACCEPT
-A PREROUTING -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.0.0.254:3129
-A POSTROUTING -j MASQUERADE
COMMIT
# Completed on Sat Sep 24 02:57:42 2011
# Generated by iptables-save v1.4.12.1 on Sat Sep 24 02:57:42 2011
*mangle
:PREROUTING ACCEPT [63823853:97394042876]
:INPUT ACCEPT [62454740:96723050843]
:FORWARD ACCEPT [1367064:670686100]
:OUTPUT ACCEPT [47954138:21176280811]
:POSTROUTING ACCEPT [49321180:21846964975]
COMMIT
# Completed on Sat Sep 24 02:57:42 2011
# Generated by iptables-save v1.4.12.1 on Sat Sep 24 02:57:42 2011
*filter
:INPUT ACCEPT [683278:162916016]
:FORWARD ACCEPT [18:1044]
:OUTPUT ACCEPT [750201:170843065]
:fail2ban-SSH - [0:0]
:fail2ban-apache - [0:0]
COMMIT
# Completed on Sat Sep 24 02:57:42 2011

The wlan interface that uses 10. addressing is not in use at the moment.

I'm using ifconfig so i dont have the ip binary on this system.



Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread Adam Carter
On Fri, Sep 23, 2011 at 9:24 PM, Jonas de Buhr  wrote:
>>The devices are connected, there's only a switch between them (a
>>billion ADSL router).
>
> wait... billion as in "billion the company"? and
> you are using your router as a switch?

Yeah - this is just at home. The router has a 4 port switch built in.

> please connect the two computers without any switch (crossover cable if
> they aren't 1000mbit) and try again. maybe the router is doing
> something funny with port 80? most routers DO run firewalls.

Its disabled, but I will try a crossover to eliminate any possibility
its the billion.

Will gig negotiate auto cross over on a straight cable? I have a cross
over i can use, but since you mentioned gig



Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Mark Knecht
On Thu, Sep 22, 2011 at 7:15 PM, Michael Mol  wrote:
> So I'm about to play with installing Gentoo on another system.
>
> Now, the ritual goes, grab the ISO, burn the ISO, grab the latest
> stage3, the latest Portage, and go to town.
>
> What I'd like to do is drop the stage3 and Portage snapshots onto the
> ISO before burning, but I've never done anything with mastering
> bootable discs. Could someone provide me with some pointers?
>
> (I don't strictly need to put it all one one disc; it's just an
> opportunity to learn some more about systems through application)
>
> --
> :wq

OK - I'll take a different pov for fun. Consider using Windows... ;-O

Sounds like a lot of work for a 1-off Linux install. Normally I
download the tar files to another machine and then scp them over once
the disks are partitioned and have a file system on them.

Anyway, I completely understand wanting to do this. I've never had a
need to do it for Gentoo and I'm sure there are some Linux tools out
there for authoring the iso file. I have had to do this in the Windows
world where my old XP install CD doesn't have the right drivers &
service packs and because of hardware configurations wouldn't allow
ejecting the Windows disk to get the drivers necessary for the new
machine's install. There are some programs in the Windows world that
do this sort of thing quite effectively. The term to Google is
'slipstreaming'.

http://en.wikipedia.org/wiki/Slipstream_%28computing%29

One I just Googled is IsoBuster. It looks interesting.

http://www.bleepingcomputer.com/tutorials/slipstreaming-windows-xp-to-create-bootable-cd/

I'm pretty certain you could even slipstream the Gentoo disk using a
Windows VM running on Gentoo. Might be fun to try if you don't have a
real Windows machine hanging around. I'm not certain whether these
Windows programs would run under Wine but that's another way to go if
you don't find what you want natively in Linux or don't want to spend
the time getting down & dirty with all this iso stuff.

HTH,
Mark



Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread Bill Longman
On 09/23/2011 10:06 AM, Adam Carter wrote:
> Will gig negotiate auto cross over on a straight cable? I have a cross
> over i can use, but since you mentioned gig

Yes. GigE is always auto-mdi by definition.



Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited

2011-09-23 Thread Pandu Poluan
On Sep 24, 2011 12:05 AM, "Adam Carter"  wrote:
>
> > Can you post the outputs of 'iptables-save' and 'ip rule show'?
>
> # iptables-save
> # Generated by iptables-save v1.4.12.1 on Sat Sep 24 02:57:42 2011
> *nat

[snip]

> -A PREROUTING -p tcp -m tcp --dport 80 -j DNAT --to-destination
10.0.0.254:3129

This line looks suspicious.

What's living at 10.0.0.254:3129 ?

Try inserting an ACCEPT target above that line, e.g.:

iptables -t nat -I PREROUTING 3 -j ACCEPT

and test again. (Use iptables-save after the above command to ensure that
the newly inserted rule indeed slips before the suspicious line).

> I'm using ifconfig so i dont have the ip binary on this system.
>

No problem. If my hunch is correct, it's that suspicious line that's been
causing you grief.

Rgds,


Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Michael Mol
On Fri, Sep 23, 2011 at 1:13 PM, Mark Knecht  wrote:
> On Thu, Sep 22, 2011 at 7:15 PM, Michael Mol  wrote:
>> So I'm about to play with installing Gentoo on another system.
>>
>> Now, the ritual goes, grab the ISO, burn the ISO, grab the latest
>> stage3, the latest Portage, and go to town.
>>
>> What I'd like to do is drop the stage3 and Portage snapshots onto the
>> ISO before burning, but I've never done anything with mastering
>> bootable discs. Could someone provide me with some pointers?
>>
>> (I don't strictly need to put it all one one disc; it's just an
>> opportunity to learn some more about systems through application)
>
> OK - I'll take a different pov for fun. Consider using Windows... ;-O

Heh. That's the day job. This is skill-building. :)

>
> Sounds like a lot of work for a 1-off Linux install. Normally I
> download the tar files to another machine and then scp them over once
> the disks are partitioned and have a file system on them.

Yup, that's what I normally do, too. As I said, though, this is skill-building.

>
> Anyway, I completely understand wanting to do this. I've never had a
> need to do it for Gentoo and I'm sure there are some Linux tools out
> there for authoring the iso file. I have had to do this in the Windows
> world where my old XP install CD doesn't have the right drivers &
> service packs and because of hardware configurations wouldn't allow
> ejecting the Windows disk to get the drivers necessary for the new
> machine's install. There are some programs in the Windows world that
> do this sort of thing quite effectively. The term to Google is
> 'slipstreaming'.
>
> http://en.wikipedia.org/wiki/Slipstream_%28computing%29
>
> One I just Googled is IsoBuster. It looks interesting.
>
> http://www.bleepingcomputer.com/tutorials/slipstreaming-windows-xp-to-create-bootable-cd/
>
> I'm pretty certain you could even slipstream the Gentoo disk using a
> Windows VM running on Gentoo. Might be fun to try if you don't have a
> real Windows machine hanging around. I'm not certain whether these
> Windows programs would run under Wine but that's another way to go if
> you don't find what you want natively in Linux or don't want to spend
> the time getting down & dirty with all this iso stuff.

Yeah, I've got a coworker who's done slipstream install discs for our
Windows VMs in the past. That got a little easier with VMWare
templates, though.


Anyway, thanks for the replies.

-- 
:wq



Re: [gentoo-user] Modifying LiveCDs

2011-09-23 Thread Mark Knecht
On Fri, Sep 23, 2011 at 10:51 AM, Michael Mol  wrote:

> Yeah, I've got a coworker who's done slipstream install discs for our
> Windows VMs in the past. That got a little easier with VMWare
> templates, though.
>

Cool. I haven't heard of these. Something new for me to check out.

Thanks,
Mark



Re: [gentoo-user] otrs

2011-09-23 Thread Stefan G. Weichinger
Am 23.09.2011 14:44, schrieb Marius Vaitiekunas:

> As I told you, the best way to install on gentoo is installation from
> source. Deb packages have some problem also. If you need an easy
> installation via package manager, go with rpm distro.

I don't need easy installation, I need a working installation ;)

I really tried my best but it wasn't worth the effort anymore.
And even the otrs-archives don't show a solution to that bug I hit. So
what ...

I consider myself rather skilled in getting things working but this was
just a bad experience ...

S



Re: [gentoo-user] Re: mplayer(2) ???

2011-09-23 Thread Joost Roeleveld
On Friday, September 23, 2011 01:56:38 PM Mick wrote:
> On Friday 23 Sep 2011 09:58:35 Florian Philipp wrote:
> > Am 22.09.2011 23:54, schrieb Mick:
> > > On Thursday 22 Sep 2011 09:15:42 Nikos Chantziaras wrote:
> > >> On 09/22/2011 12:58 AM, Mick wrote:
> > >>> On Wednesday 21 Sep 2011 09:19:39 Sebastian Beßler wrote:
> > > Does mplayer2 work with smplayer or kmplayer?
> >  
> >  I use mplayer2 with smplayer for a few month now and
> >  everything works just fine for me.
> > >>> 
> > >>> Any idea when ffmpeg-mt might make it to the main portage tree?
> > >> 
> > >> It's already in the tree.  Both ffmpeg as well as libav now have
> > >> it.
> > > 
> > > Sorry I can't see a USE flag or ffmpeg-mt package in portage:
> > > 
> > > $ eix -l ffmpeg | grep mt
> > > $
> > > 
> > > or are you saying that the code has been merged in the vanilla
> > > ffmpeg and libav without the need for a USE flag?
> > 
> > The bug I linked to mentioned that it has been merged into ffmpeg and
> > libav. Both packages have USE="threads". If you use mplayer2, you also
> > see some output that mentions starting ffmpeg with x threads.
> 
> Ah!  Yes, of course!
> 
> I was looking for the wrong thing.  Thanks!
> 
> I've enabled USE=threads and remerged ffmpeg (don't have libav installed).
> However, when I try to install mplayer2 it tells me that I should disable
> USE=threads.  Am I missing something?
> 
> # emerge -uaDv mplayer2
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N ] media-sound/mpg123-1.13.2  USE="alsa ipv6 sdl sse (-3dnow)
> (-3dnowext) (-altivec) (-coreaudio) -jack (-mmx) -nas -oss -portaudio -
> pulseaudio" 747 kB
> [ebuild   R] media-video/ffmpeg-0.7.5  USE="3dnow 3dnowext X aac alsa
> amr bzip2 encode faac hardcoded-tables mmx mmxext mp3 rtmp sdl ssse3
> truetype v4l2 vaapi vorbis x264 xvid zlib (-altivec) -avx -bindist (-celt)
> -cpudetection - custom-cflags -debug -dirac -doc -frei0r -gsm -ieee1394
> -jack -jpeg2k -network -oss -pic -qt-faststart -schroedinger -speex
> -static-libs -test -theora - threads* -v4l -vdpau -vpx"
> VIDEO_CARDS="-nvidia" 0 kB
> [ebuild  N ] media-video/mplayer2-2.0  USE="X a52 alsa ass cddb cdio
> cdparanoia dts dv dvd dvdnav enca faad gif iconv ipv6 jpeg live mad mmx
> mmxext mng mp3 network opengl osdmenu png quicktime rar rtc sdl shm speex
> sse sse2 ssse3 theora truetype unicode v4l2 vorbis xscreensaver xv xvid
> xvmc -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray
> -bs2b - cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb
> (-doc) -dvb -dxr3 -esd -fbcon -ftp -ggi -jack -joystick -ladspa -libcaca
> -lirc -md5sum - nas -nut -oss -pnm -pulseaudio -pvr -radio (-real) -samba
> -tga -v4l -vdpau (- win32codecs) -xanim -xinerama" VIDEO_CARDS="-mga
> -s3virge -tdfx -vesa" 3,589 kB
> 
> Total: 3 packages (2 new, 1 reinstall), Size of downloads: 4,336 kB
> 
> The following USE changes are necessary to proceed:
> #required by virtual/ffmpeg-0.6.90, required by media-video/mplayer2-2.0,
> required by mplayer2 (argument)
> =media-video/ffmpeg-0.7.5 -threads

Short answer:
Please add "virtual/ffmpeg threads" to "/etc/portage/package.use" and try 
again.

Longer answer:
 "required by virtual/ffmpeg" means that the virtual-ebuild is asking for that 
change and that ebuild also has a threads USE-flag.

I actually have "threads" enabled in /etc/make.conf.

--
Joost



[gentoo-user] Re: mplayer(2) ???

2011-09-23 Thread Nikos Chantziaras

On 09/23/2011 12:54 AM, Mick wrote:

On Thursday 22 Sep 2011 09:15:42 Nikos Chantziaras wrote:

On 09/22/2011 12:58 AM, Mick wrote:

On Wednesday 21 Sep 2011 09:19:39 Sebastian Beßler wrote:

Does mplayer2 work with smplayer or kmplayer?


I use mplayer2 with smplayer for a few month now and everything works
just fine for me.


Any idea when ffmpeg-mt might make it to the main portage tree?


It's already in the tree.  Both ffmpeg as well as libav now have it.


Sorry I can't see a USE flag or ffmpeg-mt package in portage:

$ eix -l ffmpeg | grep mt
$

or are you saying that the code has been merged in the vanilla ffmpeg and
libav without the need for a USE flag?


ffmpeg-mt is not a "package".  It's the name of the git branch the code 
was in.  That code was merged into the fmmpeg and libav projects.  That 
means that ffmpeg and libav now do multi-threading.


Furthermore, the "threads" USE flag does *not* control this.  You get 
multi-threading regardless of that flag.  "threads" only controls 
another type of multi-threading that was there since a long time now, 
but doesn't perform well.  It would split decoding of each frame into 
multiple threads, and the CPU cores would not start decoding again until 
the whole frame was finished.  The speed-up you get by this is minimal. 
 "Real" multithreading, meaning the code from the ffmpeg-mt branch 
which allows every CPU core to fully decode its own video frame, cannot 
be controlled by a USE flag.


To verify if multi-threading works for you, simply play an h264 video 
file in mplayer2 (using "-lavdopts threads=N", where N is the number of 
CPU cores in your system) and use something like "top" or "htop" to 
check CPU load of each core.





Re: [gentoo-user] hardened-sources reverted to 2.6.39-r8 :(

2011-09-23 Thread Manuel McLure
On Thu, Sep 22, 2011 at 2:27 PM, Francisco Blas Izquierdo Riera
(klondike)  wrote:
> Or you can just get the ebuilds for CVS:
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-kernel/hardened-sources/?hideattic=0
> the patches for all those kernels are still there and we won't remove
> them in the near future:
> http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/

Now why didn't I think of that? Thanks (to you and blueness)!
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



[gentoo-user] Unity on Gentoo?

2011-09-23 Thread Nilesh Govindarajan
Okay the thing is, I don't like Ubuntu. So I don't want to install it on
my system.

Unity is kinda famous, want to try it on Gentoo. Can't find a package in
`eix -sS unity', I'm missing something?

-- 
Nilesh Govindarajan
http://nileshgr.com