[gentoo-user] local repo kernel ebuild search for tar.bz2 instead of tar.xz
Hi, I have copied ebuild from sys-kernel/hardened-sources to my local repository, in order to patch the sources. I didn't change the ebuild for now, but repoman manifest does not work. It tries to download files with extension tar.bz2 and not tar.xz. If I delete my local copy of the ebuild, emerge will work ok from the global portage tree. I think bug https://bugs.gentoo.org/show_bug.cgi?id=421721 is related to my problem, as it changed the extension of tar archives from bz2 to xz. Maybe there is a global flag I need to specify in order to inherit gentoo main tree behaviour? Regards, Kfir
Re: [gentoo-user] Re: fully automount usb stick
On Thu, May 1, 2014 at 2:18 AM, James wirel...@tampabay.rr.com wrote: Kfir Lavi lavi.kfir at gmail.com writes: autofs require me to supply UUID of the partition, but I need it fully automatic, without user intervention.I need to implement a generic mounting of usb drive. http://wiki.gentoo.org/wiki/AutoFS https://wiki.archlinux.org/index.php/USB_Storage_Devices Is there a quick way or package that can do that? sys-fs/udisks ??? hth, James I don't understand from your links how to mount a usb drive without any setup?! autofs requires uuid. usbdisk - I don't understand how it will help me automount or auto discover a usb drive. Can you explain? Thanks, Kfir
[gentoo-user] fully automount usb stick
Hi, autofs require me to supply UUID of the partition, but I need it fully automatic, without user intervention. I need to implement a generic mounting of usb drive. Maybe putting icon on xfce4 desktop. Is there a quick way or package that can do that? Regards, Kfir
[gentoo-user] new install - slim or xdm no fonts username/password
Hi, running slim, I see the gentoo logo with the window to insert username, but I don't see the username password labels. When typing username, I see blank letters. When pressing F1, the username label appears, but the name of the desktop does not. When entering password, again, pressing F1, the password label appears. Again, typing username, I see blank letters. Any help will be appreciated. Regards, Kfir
[gentoo-user] Re: new install - slim or xdm no fonts username/password
On Mon, Apr 28, 2014 at 3:59 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, running slim, I see the gentoo logo with the window to insert username, but I don't see the username password labels. When typing username, I see blank letters. When pressing F1, the username label appears, but the name of the desktop does not. When entering password, again, pressing F1, the password label appears. Again, typing username, I see blank letters. Any help will be appreciated. Regards, Kfir Ok, https://bugs.gentoo.org/show_bug.cgi?id=488752 Shows the exact same problem. It seems I need to downgrade xorg-server. Kfir
[gentoo-user] Fwd: sandbox access violations while running matlab binary installer
Hi all, I'm trying to create an ebuild to install matlab MCR on gentoo. The installer InstallShileld try to create directory /root/InstallShield ;-) mkdir is run by java binary that try this. So I have no access to change it. There is no option to provide InstallShield it's relative install path. I can provide matlab's install path and other options, but this made permanent /root/InstallShield What can I do? Thanks, Kfir
[gentoo-user] Lenovo X201 waking from sleep crash after 3.8.10 kernel
Hi, My computer crash when waking up from sleep. I just see black screen and then the computer boots up. This happens in every kernel after 3.8.10. kernel 3.8.10 works fine and the computer wakes up as expected. Can someone help me debug this issue? I'm using: GRUB_CMDLINE_LINUX=intel_pstate=disable Also tried: GRUB_CMDLINE_LINUX=intel_pstate=disable modeset=1 i915_enable_rc6=1 i915_enable_fbc=1 lvds_downclock=1 But it didn't change a thing. Thanks, Kfir
[gentoo-user] Can I have separate distfiles directory for my locally created files
Hi, I'm doing some development and have a local portage tree. Can I have also local distfiles directory? Thanks, Kfir
Re: [gentoo-user] QEMU guest fs is coming up read-only
On Tue, Aug 6, 2013 at 10:41 AM, Walter Dnes waltd...@waltdnes.org wrote: I've got a 32-bit QEMU Gentoo guest on my machine. For some reason, it comes up readonly, and other partitions aren't being mounted. Unfortunately, the initial messages flash by so quickly I can't read them to get an idea of what's going wrong. Since /usr isn't mounted, less isn't available. I fired up busybox, and ran dmesg | less. There was no hint in the output about what went wrong. If nothing else, is there a way to greatly slow down the QEMU boot process so I can at least read the error messages, and have something to work with? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications Run qemu under screen with the flag -curses. Then scroll the screen up like so: # screen # qemu -curses myimage.qcow2 Then use Ctrl-a ESC to enter scroll mode. PageUP will take you to the kernel log when vm starts. Regards, Kfir
Re: [gentoo-user] dual monitors and dual desktops
On Fri, Oct 26, 2012 at 6:12 PM, Mark David Dumlao madum...@gmail.comwrote: On Oct 25, 2012 8:45 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I have a laptop and an external monitor. I would like to have both monitors showing different desktops. My aim is to have IRC and Email client on one side, and my shell and programming stuff on the other side. Currently I managed to do a big virtual workspace with XRANDR, but it stretches the browser and it is hard to setup correctly. I'm a Fluxbox user, and didn't find a way to define that starching the window, will not stretch outside of the monitor I'm on. If I recall correctly, USE=xinerama informs X clients to take multiple monitors into account when maximising. I have it enabled globally but i not sure which packages really need it. This is why I would like each monitor have it's own desktop. Thanks, Kfir virtual dual monitors: xrandr --output LVDS1 --primary --mode 1280x800 --pos 0x0 --auto --output VGA1 --mode 1920x1080 --pos 448x0 --primary Hi, Ok, some progress. Compiling Fluxbox with xinerama use flag result few good things. Dragging a window to one screen, maximizes it automatically to the size of the screen. Now if I toggle maximization, it will be done on the screen the window is in. So now I can work with 2 screens. Is it possible to have each screen in different desktop? Regards, Kfir The command I use: xrandr --output LVDS1 --primary --mode 1280x800 --pos 0x0 --auto --output VGA1 --mode 1920x1080 --pos 1280
[gentoo-user] dual monitors and dual desktops
Hi, I have a laptop and an external monitor. I would like to have both monitors showing different desktops. My aim is to have IRC and Email client on one side, and my shell and programming stuff on the other side. Currently I managed to do a big virtual workspace with XRANDR, but it stretches the browser and it is hard to setup correctly. I'm a Fluxbox user, and didn't find a way to define that starching the window, will not stretch outside of the monitor I'm on. This is why I would like each monitor have it's own desktop. Thanks, Kfir virtual dual monitors: xrandr --output LVDS1 --primary --mode 1280x800 --pos 0x0 --auto --output VGA1 --mode 1920x1080 --pos 448x0 --primary
[gentoo-user] Re: [Fluxbox-users] dual monitors and dual desktops
Thanks for your reply. This program does just what xrandr does. I didn't find a way to separate screens. It seems to define by default a virtual workspace, and let you just put both screens in this virtual workspace. The command at the bottom of this mail does just that. I want that the monitors will not show the same workspace. Both should show different desktops. It is like running xorg twice. Kfir On Thu, Oct 25, 2012 at 2:48 PM, Antonio Paiva arpa...@cnel.ufl.edu wrote: Try arandr. I have the same setup and arandr does the job perfectly. Moreover, it saves the settings as script that you can call upon boot. Regards, Antonio On Thu, Oct 25, 2012 at 7:42 AM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I have a laptop and an external monitor. I would like to have both monitors showing different desktops. My aim is to have IRC and Email client on one side, and my shell and programming stuff on the other side. Currently I managed to do a big virtual workspace with XRANDR, but it stretches the browser and it is hard to setup correctly. I'm a Fluxbox user, and didn't find a way to define that starching the window, will not stretch outside of the monitor I'm on. This is why I would like each monitor have it's own desktop. Thanks, Kfir virtual dual monitors: xrandr --output LVDS1 --primary --mode 1280x800 --pos 0x0 --auto --output VGA1 --mode 1920x1080 --pos 448x0 --primary -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Fluxbox-users mailing list fluxbox-us...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Re: [gentoo-user] dual monitors and dual desktops
Yes, this is a viable solution, but not if you have the laptop and no desktop. When I had workstation I also did use synergy. But now I have just an external monitor, and I need this solution. Kfir On Thu, Oct 25, 2012 at 3:11 PM, mindrunner ker...@ccube.de wrote: I am also using a notebook with an external screen when i am at home. Till today I was not able to configure it correctly and comfortable. (Tried with radeon and fglrx driver) My wonderful working solution is One computer for every screen. :)) Connect all them with synergy and it seems to be one computer! :) I am running a synergy setup with gentoo, mint, osx and windows8 and it is much better than every multi monitor solution. I know this is more a workaround as a solution, but multi monitor with linux is crap, and synergy is a wonderful tool! :))) On 10/25/2012 02:42 PM, Kfir Lavi wrote: Hi, I have a laptop and an external monitor. I would like to have both monitors showing different desktops. My aim is to have IRC and Email client on one side, and my shell and programming stuff on the other side. Currently I managed to do a big virtual workspace with XRANDR, but it stretches the browser and it is hard to setup correctly. I'm a Fluxbox user, and didn't find a way to define that starching the window, will not stretch outside of the monitor I'm on. This is why I would like each monitor have it's own desktop. Thanks, Kfir virtual dual monitors: xrandr --output LVDS1 --primary --mode 1280x800 --pos 0x0 --auto --output VGA1 --mode 1920x1080 --pos 448x0 --primary
Re: [gentoo-user] Network perf tool
I have wrote a testbed for TCP testing [1]. One of the files is an iperf library [2]. If you want to run iperf automatically, you can look at my code and maybe use it. Kfir [1] https://github.com/kfirlavi/Amalia [2] https://github.com/kfirlavi/Amalia/blob/master/trunk/testbed/lib/iperf On Thu, Oct 25, 2012 at 3:40 PM, Ryan Decker rdec...@siena.edu wrote: I second iperf for network performance testing I've used it countless times, and does just what it claims to do. Ryan On Thu, Oct 25, 2012 at 4:37 AM, Robert David robert.david.pub...@gmail.com wrote: Hi Patric, what about iperf? Robert. On Wednesday 24 of October 2012 20:36:54 Petric Frank wrote: Hello, this is not exactly an Gentoo question - but i don't now where to ask otherwise. Is there a tool for (Gentoo-)Linux to do network performance tests as defined in RFC 2544 ? This will run on an Gentoo host having at least 2 network interfaces to be connected to the device under test. regards Petric
[gentoo-user] Re: [Fluxbox-users] dual monitors and dual desktops
Hi, I have i915 and its compiled in with kms support Kfir On Thu, Oct 25, 2012 at 5:24 PM, Jonathan Reed jreed...@gmail.com wrote: Do you have an nvidia video card? If so I would recommend running nvidia-setting to configure your displays. This is what I use after trying {a,x,g}randr. I found it a little easier to use with an on-screen view of how my monitors would display. Look under the X Server Display Configuration section. It should be fairly easy to set up. I launch it from my startup file because writing out the config to xorg.conf after I change my display layout doesnt succeed for reasons i cant remember. On Thu, Oct 25, 2012 at 9:08 AM, Kfir Lavi lavi.k...@gmail.com wrote: Thanks for your reply. This program does just what xrandr does. I didn't find a way to separate screens. It seems to define by default a virtual workspace, and let you just put both screens in this virtual workspace. The command at the bottom of this mail does just that. I want that the monitors will not show the same workspace. Both should show different desktops. It is like running xorg twice. Kfir On Thu, Oct 25, 2012 at 2:48 PM, Antonio Paiva arpa...@cnel.ufl.eduwrote: Try arandr. I have the same setup and arandr does the job perfectly. Moreover, it saves the settings as script that you can call upon boot. Regards, Antonio On Thu, Oct 25, 2012 at 7:42 AM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I have a laptop and an external monitor. I would like to have both monitors showing different desktops. My aim is to have IRC and Email client on one side, and my shell and programming stuff on the other side. Currently I managed to do a big virtual workspace with XRANDR, but it stretches the browser and it is hard to setup correctly. I'm a Fluxbox user, and didn't find a way to define that starching the window, will not stretch outside of the monitor I'm on. This is why I would like each monitor have it's own desktop. Thanks, Kfir virtual dual monitors: xrandr --output LVDS1 --primary --mode 1280x800 --pos 0x0 --auto --output VGA1 --mode 1920x1080 --pos 448x0 --primary -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Fluxbox-users mailing list fluxbox-us...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fluxbox-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Fluxbox-users mailing list fluxbox-us...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Re: [gentoo-user] Re: dual monitors and dual desktops
On Thu, Oct 25, 2012 at 4:41 PM, Grant Edwards grant.b.edwa...@gmail.comwrote: On 2012-10-25, Kfir Lavi lavi.k...@gmail.com wrote: I have a laptop and an external monitor. Here's how I do it using Xorg.config -- Section ServerLayout Identifier Triple Screen 0 Samsung0 Screen 1 Samsung1 rightof Samsung0 Screen 2 Acer leftof Samsung0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection -- There are three Device sections (one for one video card, and one for each of the DVI outputs on a second video card). There are then three corresponding Screen sections (named Samsung0, Samsung1, and Acer). Does this setup really separate the screens to 2 desktops and not one big virtual desktop? Dunno anything about xrandr... -- Grant Edwards grant.b.edwardsYow! Here I am at the flea at market but nobody is buying gmail.commy urine sample bottles ...
Re: [gentoo-user] How to find the MAC address
On Thu, Apr 19, 2012 at 10:40 PM, Alex Schuster wo...@wonkology.org wrote: Hi there! How am I supposed to find the MAC address of an ethernet interface? I used to call ifconfig and grep for HWaddr, but this does not work any more. I found the 'old-output' USE flag for sys-apps/net-tools, which brings back the old behaviour in order not to break old scripts, but I'd like to know what the new method is that scripts should use. Here's how the output looked before and now: Old output: eth0 Link encap:Ethernet HWaddr bc:5f:f4:19:ad:18 inet addr:192.168.2.42 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::be5f:f4ff:fe19:ad18/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11027476 errors:0 dropped:0 overruns:0 frame:0 TX packets:8002728 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:11763889583 (10.9 GiB) TX bytes:1006570663 (959.9 MiB) Interrupt:49 New output: eth0: flags=4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500 inet 192.168.2.42 netmask 255.255.255.0 broadcast 192.168.2.255 inet6 fe80::be5f:f4ff:fe19:ad18 prefixlen 64 scopeid 0x20link ether bc:5f:f4:19:ad:18 txqueuelen 1000 (Ethernet) RX packets 10791981 bytes 11413935608 (10.6 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 7867427 bytes 996505563 (950.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 1 collisions 0 device interrupt 49 Wonko You can grab mac of eth0 with this command: ip link show eth0 | grep 'link/ether' | awk '{print $2}' Kfir
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On Mon, Feb 13, 2012 at 7:34 AM, Walter Dnes waltd...@waltdnes.org wrote: On Sun, Feb 12, 2012 at 06:57:08PM +0200, Kfir Lavi wrote No, it is all the videos that are 720p x264. Is this a recently installed Gentoo? I had a similar problem trying to play 1080i TV and also with NHL Gamecenter Live. A fresh install will have almost all binaries using generic lowest-common-denominator 32 or 64 bit code, so that it will work on every machine with the target CPU. Once I did emerge system + emerge world + rebuilt kernel and rebooted, it ran fine (for a 4+ year old Dell). Now it can handle at least the minimum speed for NHL Gamecenter Live, and play 1080i from the TV tuner. For CPU flags I use... CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe CXXFLAGS=${CFLAGS} If that isn't your problem, can we see output from the 2 commands... cat /proc/cpuinfo (1 core is enough, thanks) head /proc/meminfo (does Memtotal: match what your BIOS shows on bootup?) -- Walter Dnes waltd...@waltdnes.org I did a compilation from the start. 3 times @system and 1 time @world. I have used -march=native -mfpmath=sse and now movies do play well. I'm still not sure why I had this problem. I did use mmx and sse use flags, but did removed them. Is it possible that my gcc didn't created good efficient binary before I used recompiled world? I really don't think so. I didn't use -march=native, but did find what my gcc find as native documented here: http://gentoo-what-did-you-say.blogspot.com/2011/07/finding-cpu-flags-using-gcc.html Regards, Kfir
[gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
Hi, I'm trying to play a mkv movie that is encoded with x264 720p. The movie get out of sync very quickly. I tried some suggestions in the gentoo forum, but they didn't help. It seems unreasonable to me that my cpu Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz can't play this files. When playing the movie, I can see clearly that both cores are in ~90% cpu. I tried to compile with -O2, -O3, with use flags 'mmx sse sse2 ssse3 dri dri2 3dnow 3dnowext mmxext' and without. Playing stay the same. I'm using the command: mplayer2 -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all file.mkv After each change I'm running: emerge ffmpeg mplayer2 What are your suggestions? media-video/ffmpeg-0.10 media-video/mplayer2-2.0_p2026 lspci: 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06) 00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06) 00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06) 00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06) 02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02) Attached is the emerge info. Regards, Kfir emerge-info Description: Binary data
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On Sun, Feb 12, 2012 at 12:42 PM, pk pete...@coolmail.se wrote: On 2012-02-12 09:51, Kfir Lavi wrote: I'm trying to play a mkv movie that is encoded with x264 720p. The movie get out of sync very quickly. Is it just this particular video that gets out of sync or does other videos have the same symptoms? If it's only this video, then I would say it's the video file itself that is out of sync... No, it is all the videos that are 720p x264. Best regards Peter K
[gentoo-user] Re: [gentoo-embedded] gdb debugging of small system built with catalyst
On Sat, Dec 31, 2011 at 11:20 PM, Mike Frysinger vap...@gentoo.org wrote: FEATURES=installsources would probably get what you need by normalizing all source trees into /usr/src/debug/. -mike Thanks Mike, I'm using FEATURES=installsources splitdebug so now I have /usr/lib/debug and /usr/src/debug, and together, I can control the copying of debug directories to the target. I'm now struggling connecting eclipse to debugging remote the target. If someone have some insight for me, I'll be happy to hear it. Thanks, Kfir
Re: [gentoo-user] crypt my home repository
On Mon, Jan 2, 2012 at 10:07 AM, Stéphane Guedon steph...@22decembre.euwrote: Hi all I may ask something already discussed, but I can't find any good documentation. I am wondering of how to secure my home repository on my laptop. I am thinking of cryptography and other things (the password uncrypt the repository and allows to read files...). What tool to use for ? Anybody knows a good doc (in french would be really good) ? I am not really paranoïd, but I work now in a quite important environnement and want any data I get out to be secured... -- Stéphane Guedon http://www.22decembre.eu/ http://lectures.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf You can use 'encfs'. It is really trivial. You need to create a directory where you will put the encrypted files like this: encfs ~/.encdir ~/workdir Read this for a lot more info: http://movingtofreedom.org/2007/02/21/howto-encfs-encrypted-file-system-in-ubuntu-and-fedora-gnu-linux/ But, what I told you is basically what you need. Regards, Kfir
Re: [gentoo-user] [OT] Using m-audio Fast Track Pro on linux help
On Mon, Jan 2, 2012 at 4:52 PM, Michael Mol mike...@gmail.com wrote: Harry Putnam wrote: Running Wheezy Can anyone suggest pointers, urls, or coaching toward getting an m-audio USB Fast Track Pro (external sound card) working? When I run `alsamixer' it lists the Fast Track as one of the sound cards available. When I choose it, alsamixer reports there are no controls available (`This sound device does not have any controls') All the controls are on the device. I have the speakers turned on, the Fast Track light is on, indicating it is getting power thru the usb port. However, when I attempt tp play something with `mplayer some.wav', I get no sound. Stupid question: Are you specifying to mplayer which audio device to use? mplayer -ao alsa:device=hw=1.0 file.to.play You need to change the 1.0 to your card. Read more here: http://linux.dsplabs.com.au/mplayer-multiple-sound-cards-select-audio-device-p77/ Kfir
Re: [gentoo-user] crypt my home repository
On Mon, Jan 2, 2012 at 7:06 PM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Jan 2012 15:26:10 +0100, Florian Philipp wrote: In that case, you probably want to use encfs to encrypt each home directory separately. dmcrypt works on block devices, so a single home partition would have a single password. dmcrypt supports multiple simultaneous passwords (I think 4 or something like that). Of course, then every user can unlock every home directory Which is why I recommended ecryptfs (I've only just noticed that the previous posts mentioned encfs, that's a FUSE filesystem that is unnecessary now the kernel have ecryptfs included). Thanks, I didn't know about that. I'll try that, as I'm using encfs, and basically it works flawlessly. But running without fuse, is better. Kfir It's not the multiple passwords, it's separately locking each user's data. -- Neil Bothwick Guillotine operator wanted. Chance to get ahead.
[gentoo-user] gdb debugging of small system built with catalyst
Hi, I have few directories each contains C++ code, and is mapped to a local private ebuild. So I need to install few projects that depend on each other. On the target machine I have gdbserver running. When connecting to gdbserver, the links to the sources is /var/tmp/.../../file.cpp. My problem is that I need to debug all programs together, and the sources are in catalyst's tmp working directory. I can use 'directory' command in gdb to change the search path of the source files, but doing it to few projects is cumbersome. I can compile the source with -g3 and embed the sources there, but didn't try that as I heard it is unstable. At the end I need to provide a way to allow programmers to use Eclipse with all the directories sources to debug all projects at once. Is there other method to do this and integrate it to Eclipse? For start no need for eclipse, I need to debug from the command line or vim. Regards, Kfir
Re: [gentoo-user] why can't use print after installed CUPS ?
On Fri, Nov 18, 2011 at 8:41 AM, 俞强 qiangl...@gmail.com wrote: i had installed CUPS-1.4.3 from source(configure, make, make install) now i can configure print via localhost:631, and the test page is perfect. but the problem is, why can't i see the print in programs ? (etc. in firefox, file-print, there is no print in print dialog) thanks all -- Good Lucks ! form 俞强(hackqiang) Hi, Did you install cups by hand, not using portage? I suspect looking at the ebuild, that Gentoo does install few bits in different places. I have attached my cups installation files. Please compare with yours. $ equery files cups Kfir /etc /etc/cups /etc/cups/client.conf /etc/cups/cupsd.conf /etc/cups/cupsd.conf.default /etc/cups/interfaces /etc/cups/interfaces/.keep_net-print_cups-0 /etc/cups/ppd /etc/cups/ppd/.keep_net-print_cups-0 /etc/cups/snmp.conf /etc/cups/ssl /etc/cups/ssl/.keep_net-print_cups-0 /etc/dbus-1 /etc/dbus-1/system.d /etc/dbus-1/system.d/cups.conf /etc/init.d /etc/init.d/cupsd /etc/pam.d /etc/pam.d/cups /usr /usr/bin /usr/bin/cancel /usr/bin/cups-config /usr/bin/cupstestdsc /usr/bin/cupstestppd /usr/bin/lp /usr/bin/lpoptions /usr/bin/lppasswd /usr/bin/lpq /usr/bin/lpr /usr/bin/lprm /usr/bin/lpstat /usr/bin/ppdc /usr/bin/ppdhtml /usr/bin/ppdi /usr/bin/ppdmerge /usr/bin/ppdpo /usr/include /usr/include/cups /usr/include/cups/adminutil.h /usr/include/cups/array.h /usr/include/cups/backend.h /usr/include/cups/cgi.h /usr/include/cups/cups.h /usr/include/cups/dir.h /usr/include/cups/driver.h /usr/include/cups/file.h /usr/include/cups/help-index.h /usr/include/cups/http.h /usr/include/cups/image.h /usr/include/cups/ipp.h /usr/include/cups/language.h /usr/include/cups/mime.h /usr/include/cups/ppd.h /usr/include/cups/ppdc.h /usr/include/cups/raster.h /usr/include/cups/sidechannel.h /usr/include/cups/transcode.h /usr/include/cups/versioning.h /usr/lib /usr/lib/libcups.so /usr/lib/libcups.so.2 /usr/lib/libcupscgi.so /usr/lib/libcupscgi.so.1 /usr/lib/libcupsdriver.so /usr/lib/libcupsdriver.so.1 /usr/lib/libcupsimage.so /usr/lib/libcupsimage.so.2 /usr/lib/libcupsmime.so /usr/lib/libcupsmime.so.1 /usr/lib/libcupsppdc.so /usr/lib/libcupsppdc.so.1 /usr/libexec /usr/libexec/cups /usr/libexec/cups/backend /usr/libexec/cups/backend/http /usr/libexec/cups/backend/https /usr/libexec/cups/backend/ipp /usr/libexec/cups/backend/lpd /usr/libexec/cups/backend/parallel /usr/libexec/cups/backend/scsi /usr/libexec/cups/backend/serial /usr/libexec/cups/backend/snmp /usr/libexec/cups/backend/socket /usr/libexec/cups/backend/usb /usr/libexec/cups/cgi-bin /usr/libexec/cups/cgi-bin/admin.cgi /usr/libexec/cups/cgi-bin/classes.cgi /usr/libexec/cups/cgi-bin/help.cgi /usr/libexec/cups/cgi-bin/jobs.cgi /usr/libexec/cups/cgi-bin/printers.cgi /usr/libexec/cups/daemon /usr/libexec/cups/daemon/cups-deviced /usr/libexec/cups/daemon/cups-driverd /usr/libexec/cups/daemon/cups-lpd /usr/libexec/cups/daemon/cups-polld /usr/libexec/cups/driver /usr/libexec/cups/driver/.keep_net-print_cups-0 /usr/libexec/cups/filter /usr/libexec/cups/filter/bannertops /usr/libexec/cups/filter/commandtoescpx /usr/libexec/cups/filter/commandtopclx /usr/libexec/cups/filter/commandtops /usr/libexec/cups/filter/gziptoany /usr/libexec/cups/filter/hpgltops /usr/libexec/cups/filter/imagetops /usr/libexec/cups/filter/imagetoraster /usr/libexec/cups/filter/pdftops /usr/libexec/cups/filter/pstops /usr/libexec/cups/filter/rastertodymo /usr/libexec/cups/filter/rastertoepson /usr/libexec/cups/filter/rastertoescpx /usr/libexec/cups/filter/rastertohp /usr/libexec/cups/filter/rastertolabel /usr/libexec/cups/filter/rastertopclx /usr/libexec/cups/filter/texttops /usr/libexec/cups/monitor /usr/libexec/cups/monitor/bcp /usr/libexec/cups/monitor/tbcp /usr/libexec/cups/notifier /usr/libexec/cups/notifier/mailto /usr/libexec/cups/notifier/rss /usr/sbin /usr/sbin/accept /usr/sbin/cupsaccept /usr/sbin/cupsaddsmb /usr/sbin/cupsctl /usr/sbin/cupsd /usr/sbin/cupsdisable /usr/sbin/cupsenable /usr/sbin/cupsfilter /usr/sbin/cupsreject /usr/sbin/lpadmin /usr/sbin/lpc /usr/sbin/lpinfo /usr/sbin/lpmove /usr/sbin/reject /usr/share /usr/share/applications /usr/share/applications/cups.desktop /usr/share/cups /usr/share/cups/banners /usr/share/cups/banners/classified /usr/share/cups/banners/confidential /usr/share/cups/banners/secret /usr/share/cups/banners/standard /usr/share/cups/banners/topsecret /usr/share/cups/banners/unclassified /usr/share/cups/charmaps /usr/share/cups/charmaps/euc-cn.txt /usr/share/cups/charmaps/euc-jp.txt /usr/share/cups/charmaps/euc-kr.txt /usr/share/cups/charmaps/euc-tw.txt /usr/share/cups/charmaps/iso-8859-1.txt /usr/share/cups/charmaps/iso-8859-10.txt /usr/share/cups/charmaps/iso-8859-11.txt /usr/share/cups/charmaps/iso-8859-13.txt /usr/share/cups/charmaps/iso-8859-14.txt /usr/share/cups/charmaps/iso-8859-15.txt /usr/share/cups/charmaps/iso-8859-16.txt /usr/share/cups/charmaps/iso-8859-2.txt /usr/share/cups/charmaps/iso-8859-3.txt /usr/share/cups/charmaps/iso-8859-4.txt
Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
On Sat, Nov 5, 2011 at 9:57 PM, bill.long...@gmail.com wrote: Pardon my top post please. You'll have too ensure that you have only three wires. Line 2 to 3, line 3 to 2 and line 5 straight through. I don't think you'll be able to get bi directional serial links if you have the other hardware lines connected. I have connected the wires by hand, 3-2 and 2-3 but without 5. I'll try it again today with 5 connected, and post my findings. Regards, Kfir -- Sent from my HP TouchPad -- On Nov 5, 2011 3:17 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote: Hi all, I have a problem connecting my laptop to my server at home with a serial cable. I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. This lets me test the connection between all serial outputs. Desktop1-minicom - Desktop2-minicom works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0 and viseversa. So when connecting 2 desktop computers everything works as expected. The problem: When I connect my laptop to any of those desktops, I get just one way connection! If I swap the sides of the cable, the one way connection switch side. The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 When I swap sides, it is just between two usb dongles. The usb dongles are PL2303 both sides. Settings of minicom is 38400 8n1 Hardware Flow Control=OFF Laptop setserial: setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal Desktop1 setserial: setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal I tried to add the skip_test but this seems to be not working. I'm not sure what to do next. Any help will be appreciated, Thanks, Kfir I think that you will need the pin mapping of a 'null modem' to be able to have bidirectional connectivity. Have a look here: http://en.wikipedia.org/wiki/Null_modem I think I still have an RS-232 to D9 null modem adaptor somewhere in my bins of spares. HTH. -- Regards, Mick
Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
On Sun, Nov 6, 2011 at 3:27 PM, Andrea Conti a...@alyf.net wrote: I have connected the wires by hand, 3-2 and 2-3 but without 5. I'll try it again today with 5 connected, and post my findings. Not having a common ground reference between the two sides could very well cause the kind of problems you're seeing :) andrea As you and bill suggested, the problem was the ground pin 5, which I forgot about. I now took care to connect the ground and also use it as a shield, and it is working now. Thank you all for your help, Kfir
[gentoo-user] [OT] laptop desktop serial connection don't work on one direction
Hi all, I have a problem connecting my laptop to my server at home with a serial cable. I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. This lets me test the connection between all serial outputs. Desktop1-minicom - Desktop2-minicom works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0 and viseversa. So when connecting 2 desktop computers everything works as expected. The problem: When I connect my laptop to any of those desktops, I get just one way connection! If I swap the sides of the cable, the one way connection switch side. The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 When I swap sides, it is just between two usb dongles. The usb dongles are PL2303 both sides. Settings of minicom is 38400 8n1 Hardware Flow Control=OFF Laptop setserial: setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal Desktop1 setserial: setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal I tried to add the skip_test but this seems to be not working. I'm not sure what to do next. Any help will be appreciated, Thanks, Kfir
Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
On Sat, Nov 5, 2011 at 12:17 PM, Mick michaelkintz...@gmail.com wrote: On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote: Hi all, I have a problem connecting my laptop to my server at home with a serial cable. I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. This lets me test the connection between all serial outputs. Desktop1-minicom - Desktop2-minicom works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0 and viseversa. So when connecting 2 desktop computers everything works as expected. The problem: When I connect my laptop to any of those desktops, I get just one way connection! If I swap the sides of the cable, the one way connection switch side. The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 When I swap sides, it is just between two usb dongles. The usb dongles are PL2303 both sides. Settings of minicom is 38400 8n1 Hardware Flow Control=OFF Laptop setserial: setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal Desktop1 setserial: setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal I tried to add the skip_test but this seems to be not working. I'm not sure what to do next. Any help will be appreciated, Thanks, Kfir I think that you will need the pin mapping of a 'null modem' to be able to have bidirectional connectivity. Have a look here: http://en.wikipedia.org/wiki/Null_modem I think I still have an RS-232 to D9 null modem adaptor somewhere in my bins of spares. HTH. -- Regards, Mick Hi and thanks for replaying. This cable setup is working between the 2 desktop computers bidirectionally. So, it seems that that part I got right. The problem is when the laptop use the same cable connection and have just one direction. Basically, I need to cross pin 2 and 3, and I have the setup open, so I can cross whatever pin I want. Regards, Kfir
Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
On Sat, Nov 5, 2011 at 12:48 PM, Kfir Lavi lavi.k...@gmail.com wrote: On Sat, Nov 5, 2011 at 12:17 PM, Mick michaelkintz...@gmail.com wrote: On Saturday 05 Nov 2011 09:20:19 Kfir Lavi wrote: Hi all, I have a problem connecting my laptop to my server at home with a serial cable. I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. This lets me test the connection between all serial outputs. Desktop1-minicom - Desktop2-minicom works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0 and viseversa. So when connecting 2 desktop computers everything works as expected. The problem: When I connect my laptop to any of those desktops, I get just one way connection! If I swap the sides of the cable, the one way connection switch side. The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 When I swap sides, it is just between two usb dongles. The usb dongles are PL2303 both sides. Settings of minicom is 38400 8n1 Hardware Flow Control=OFF Laptop setserial: setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal Desktop1 setserial: setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal I tried to add the skip_test but this seems to be not working. I'm not sure what to do next. Any help will be appreciated, Thanks, Kfir I think that you will need the pin mapping of a 'null modem' to be able to have bidirectional connectivity. Have a look here: http://en.wikipedia.org/wiki/Null_modem I think I still have an RS-232 to D9 null modem adaptor somewhere in my bins of spares. HTH. -- Regards, Mick Hi and thanks for replaying. This cable setup is working between the 2 desktop computers bidirectionally. So, it seems that that part I got right. The problem is when the laptop use the same cable connection and have just one direction. Basically, I need to cross pin 2 and 3, and I have the setup open, so I can cross whatever pin I want. Regards, Kfir I have checked this with another laptop, and everything works as expected. (serial connection ttyUSB0 from laptop to ttyUSB0 or ttyS0 on the desktop1). setserial and stty shows the same output on both laptops, so my guess, it is something related to the USB system?! Can someone have a guess on this? Regards, Kfir
Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
On Sat, Nov 5, 2011 at 2:30 PM, bill.long...@gmail.com wrote: Is there some inittab setting that's different on your laptop? -- Sent from my HP TouchPad -- On Nov 5, 2011 2:21 AM, Kfir Lavi lavi.k...@gmail.com wrote: Hi all, I have a problem connecting my laptop to my server at home with a serial cable. I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. This lets me test the connection between all serial outputs. Desktop1-minicom - Desktop2-minicom works with all connections, i.e ttyUSB0 - ttyUSB0, or ttyS0 - ttyUSB0 and viseversa. So when connecting 2 desktop computers everything works as expected. The problem: When I connect my laptop to any of those desktops, I get just one way connection! If I swap the sides of the cable, the one way connection switch side. The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 When I swap sides, it is just between two usb dongles. The usb dongles are PL2303 both sides. Settings of minicom is 38400 8n1 Hardware Flow Control=OFF Laptop setserial: setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal Desktop1 setserial: setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinte Flags: spd_normal I tried to add the skip_test but this seems to be not working. I'm not sure what to do next. Any help will be appreciated, Thanks, Kfir No, it is the same as in the other laptop or servers. Kfir
[gentoo-user] Re: Nested VMX support in qemu and kvm
On Tue, Sep 6, 2011 at 3:15 PM, Nadav Har'El n...@math.technion.ac.ilwrote: On Tue, Sep 06, 2011, Kfir Lavi wrote about Nested VMX support in qemu and kvm: Hi, Wow, I didn't expect to see a discussion about nested VMX in linux-il? Any particular reason why you bring this up here, and not in the KVM mailing list? I'm trying to use a nested vm, but whatever I do, no vmx flag is in /proc/cpuinfo ? qemu-kvm -cpu host qemu-kvm -cpu host,+vmx qemu-kvm -cpu qemu64,+vmx As you can see in my original announcement, and also in Documentation/virtual/kvm/nested-vmx.txt, nested VMX is still considered experimental, and therefore must be enabled explictly not just in qemu (which you did correctly) but also in the kernel module: you must load the kvm-intel module as: insmod kvm-intel.ko nested=1 Since you didn't mention doing this, is it possible you forgot? If you get an error with the above insmod, it means you are using an old version of KVM which didn't yet support nested VMX. Nested VMX was only recently integrated with the main tree. I'm running Gentoo with kernel 3.0.4 and I'm not sure what exactly 3.0.4 contains, but it might be too old to contain nested VMX. Linux 3.0's cutoff date was already several months ago, so I believe nested VMX only made it to Linux 3.1, not 3.0. Like I said, if insmod with nested=1 fails, then you have too old a module. You can get a newer kernel directly from the KVM repository. Yes you right, kernel linux-3.1-rc4 has this patch, and using the nested=1 parameter I'm able to use nested vmx. It is a really useful feature. (more info is in Documentation/virtual/kvm/nested-vmx.txt) Send my regards to the ppl in your team at IBM Hifa, Kfir I did saw some emails and patches on the net from Orit, Avi and Nadav about nested vmx support, but it doesn't seems to work for me. After 11 (!) rounds of discussions spanning more than a year, Avi accepted these patches and nested VMX is now part of the main KVM tree. So please use the main KVM tree, not any of the old patches you find on the net, if you can. Good luck, Nadav. -- Nadav Har'El|Tuesday, Sep 6 2011, 7 Elul 5771 n...@math.technion.ac.il |- Phone +972-523-790466, ICQ 13349191 |An egotist is a person of low taste, more http://nadav.harel.org.il |interested in himself than in me.
[gentoo-user] Nested VMX support in qemu and kvm
Hi, I'm trying to use a nested vm, but whatever I do, no vmx flag is in /proc/cpuinfo ? qemu-kvm -cpu host qemu-kvm -cpu host,+vmx qemu-kvm -cpu qemu64,+vmx also used qemu-system-x86_64 with those cpu options. I'm running Gentoo with kernel 3.0.4 and app-emulation/qemu-kvm-0.15.0. I also tested it on app-emulation/qemu-kvm- which is the version compiled from latest git repository. I did saw some emails and patches on the net from Orit, Avi and Nadav about nested vmx support, but it doesn't seems to work for me. Thanks, Kfir
Re: [gentoo-user] CFlags for CPU
On Wed, Jul 27, 2011 at 9:32 PM, Mick michaelkintz...@gmail.com wrote: On Wednesday 27 Jul 2011 17:13:21 Kfir Lavi wrote: On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi lavi.k...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson Another good trick I've found on the forums is to run: $ gcc -### -e -v -march=native /usr/include/stdlib.h The last line of output will include the various CFLAGS that -march=native picks. In my case (Phenom II 955): /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1 -quiet /usr/include/stdlib.h -D_FORTIFY_SOURCE=2 *-march=amdfam10 -mcx16 -msahf -mpopcnt* --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -quiet -dumpbase stdlib.h -auxbase stdlib -o /tmp/ccR1PlNZ.s --output-pch=/usr/include/stdlib.h.gch I typically use -march=native when I don't need to worry about distcc, or the options from that output that start with -m. Just shared this trick in my blog. http://gentoo-what-did-you-say.blogspot.com/2011/07/finding-cpu-flags-using -gcc.html I added a link to this thread in the post. It seems that on my early i7, the -march=core2 does not have all the -msse* flags enabled, while native does: $ diff -y --suppress-common-lines core2.txt native.txt -mcx16[disabled]| -mcx16 [enabled] -mno-sse4 [enabled] | -mno-sse4 [disabled] -mpopcnt [disabled]| -mpopcnt[enabled] -msahf[disabled]| -msahf [enabled] -msse [disabled]| -msse [enabled] -msse2[disabled]| -msse2 [enabled] -msse3[disabled]| -msse3 [enabled] -msse4[disabled]| -msse4 [enabled] -msse4.1 [disabled]| -msse4.1[enabled] -msse4.2 [disabled]| -msse4.2[enabled] -mssse3 [disabled]| -mssse3 [enabled] -mtune= | -mtune= core2 I wonder if I should just set it to -march=native -O2 -pipe and forget about it ... native it seems to have more stuff switched on and it would probably be a-good-thing® (although my understanding of what each flag does is rather cursory). -- Regards, Mick My guess is that -msse4.2 imply also -msse1..4.1 Can someone confirm this? Regards, Kfir
Re: [gentoo-user] Running out of space on /var partition
On Thu, Jul 28, 2011 at 12:30 AM, Michael Mol mike...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:07 PM, Dale rdalek1...@gmail.com wrote: Neil Bothwick wrote: On Wed, 27 Jul 2011 10:58:28 -0500, Dale wrote: I have 16Gbs here. It's not like I'm going to run out or anything. I can put half on tmpfs and still have 8Gbs left. That is more than enough to compile even OOo with no space problems. Thoughts? This is Gentoo, where all us users are reputed to spend their days passing around benchmarks of emerge -e world, right? Try it. :) -- :wq I would like to jump and say NO, but looking at myself last night, running emerge -e world in both of my comps ;-) I guess I need to play more with my child. I have 8GB and tempfs on /var/tmp. Libreoffice compiled well, but didn't check the timings. Kfir
Re: [gentoo-user] CFlags for CPU
On Thu, Jul 28, 2011 at 12:46 PM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: On 07/28/2011 11:40:40 AM, Kfir Lavi wrote: My guess is that -msse4.2 imply also -msse1..4.1 Can someone confirm this? I don't think so. It's part of the war Intel - AMD Helmut. Can you elaborate more? Kfir
Re: [gentoo-user] Openoffice being replaced?
On Thu, Jul 28, 2011 at 6:31 PM, Mick michaelkintz...@gmail.com wrote: On Thursday 28 Jul 2011 15:56:57 Paul Hartman wrote: On Thu, Jul 28, 2011 at 9:50 AM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Thu, Jul 28, 2011 at 9:13 AM, Dalerdalek1...@gmail.com wrote: I noticed this today: The following mask changes are necessary to proceed: #required by @selected, required by @world (argument) # /usr/portage/profiles/package.mask: # Tomáš Chvátalscarab...@gentoo.org (27 Jul 2011) # Old replaced packages. Will be removed in 30 days. # app-office/openoffice - app-office/libreoffice # app-office/openoffice-bin - app-office/libreoffice-bin # app-text/wpd2sxw - app-text/wpd2odt =app-office/openoffice-3.2.1-r1 Does this mean that libreoffice is going to replace OOo in the tree? Looks like it. It has already replaced it on all my computers. Gentoo's OpenOffice has included the go-oo patches for a long time anyway, which were the big thing changed about LibreOffice (those patches included in mainline), and using the two I can honestly say there's really no difference as far as I can tell, aside from the splash screen. Somebody posted about some Sun templates a while back... maybe something proprietary like that is changed, but OpenTemplate.org is meant to replace those anyway. I would say switch to LibreOffice and don't look back. :) OK. I just wanted to make sure I was reading that right. I guess Openoffice is a thing of the past now. Question, is libreoffice available on winders too? I need to put that on my bro's rig to if it is. My bro still uses winders. I been waiting on him to get up some cash to build a new rig with Gentoo on it. ;-) Yep, I use it on my Windows 7 machine at work, everything is fine. Also available for Macintosh users (or Mac as they seem to call it these days). All sounds good, except that libreoffice requires acres of space to emerge and on at least two machines I'll have to move to binary. -- Regards, Mick Yes, but give it a credit. This big monster of code, compiles without a hitch. KFir
Re: [gentoo-user] CFlags for CPU
On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson drukar...@gmail.com wrote: ** On 07/26/2011 12:22 PM, pk wrote: On 2011-07-26 22:36, Alokat wrote: model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz snip I guess *core2* is the right one? Yes, acc. to:http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Core_2_Duo.2FQuad.2C_Xeon_51xx.2F53xx.2F54xx.2F3360.2C_Pentium_Dual-Core_T23xx.2B.2FE.2C_Celeron_Dual-Core HTH Best regards Peter K Another good trick I've found on the forums is to run: $ gcc -### -e -v -march=native /usr/include/stdlib.h The last line of output will include the various CFLAGS that -march=native picks. In my case (Phenom II 955): /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1 -quiet /usr/include/stdlib.h -D_FORTIFY_SOURCE=2 *-march=amdfam10 -mcx16 -msahf -mpopcnt* --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -quiet -dumpbase stdlib.h -auxbase stdlib -o /tmp/ccR1PlNZ.s --output-pch=/usr/include/stdlib.h.gch I typically use -march=native when I don't need to worry about distcc, or the options from that output that start with -m. -Andy I must stay, this is brilliant ! Thank you very much. Kfir
Re: [gentoo-user] CFlags for CPU
On Wed, Jul 27, 2011 at 5:34 PM, Kfir Lavi lavi.k...@gmail.com wrote: On Wed, Jul 27, 2011 at 5:09 PM, Andy Wilkinson drukar...@gmail.comwrote: ** On 07/26/2011 12:22 PM, pk wrote: On 2011-07-26 22:36, Alokat wrote: model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz snip I guess *core2* is the right one? Yes, acc. to:http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Core_2_Duo.2FQuad.2C_Xeon_51xx.2F53xx.2F54xx.2F3360.2C_Pentium_Dual-Core_T23xx.2B.2FE.2C_Celeron_Dual-Core HTH Best regards Peter K Another good trick I've found on the forums is to run: $ gcc -### -e -v -march=native /usr/include/stdlib.h The last line of output will include the various CFLAGS that -march=native picks. In my case (Phenom II 955): /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.5/cc1 -quiet /usr/include/stdlib.h -D_FORTIFY_SOURCE=2 *-march=amdfam10 -mcx16 -msahf -mpopcnt* --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -quiet -dumpbase stdlib.h -auxbase stdlib -o /tmp/ccR1PlNZ.s --output-pch=/usr/include/stdlib.h.gch I typically use -march=native when I don't need to worry about distcc, or the options from that output that start with -m. -Andy I must stay, this is brilliant ! Thank you very much. Kfir Just shared this trick in my blog. http://gentoo-what-did-you-say.blogspot.com/2011/07/finding-cpu-flags-using-gcc.html I added a link to this thread in the post. Kfir
Re: [gentoo-user] Running out of space on /var partition
On Mon, Jul 25, 2011 at 1:02 PM, Mick michaelkintz...@gmail.com wrote: After some deliberation I've started emerging libreoffice. It gave the usual office suite warnings at the beginning that there isn't enough space in /var (I have 5.8G and it was asking for more than 7G+). Half way through the emerge I noticed that I have only 74M left and is going down fast! O_O OpenOffice was able to emerge in the past using this partition size without a problem. I've flushed logs and what not to free some space, but I'm thinking of extending the partition somehow. I don't run LVM on this machine so that's not a solution for this circumstance. Is there anything I can do with mount --rbind and could I do this in the middle of an emerge? I have another partition with loads of space in it, but it has a different fs on it (reiser4 instead of /var's ext4). -- Regards, Mick Copy /var/tmp/portage to the partition that you have space, then use 'bind' command to mount. Kfir
Re: [gentoo-user] ulogd fails to start
On Tue, Jul 19, 2011 at 11:38 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: Hi, I emerged ulogd-2.0.0_beta4 and using the ulogd.conf that was installed by portage, it fails to start. I get this message in the log: Tue Jul 19 15:32:08 2011 8 ulogd.c:1179 not even a single working plugin stack Does anyone know what that's about? ULOG stuff is enabled in my kernel, and the plugins are on disk where the config file says. So I don't know what's wrong... Thanks, Paul What use flags did you use when installing this software? It seems that you didn't specify any plugins like mysql, pcap, postgres... Kfir
Re: [gentoo-user] ulogd fails to start
On Wed, Jul 20, 2011 at 6:01 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Jul 20, 2011 at 9:31 AM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Jul 20, 2011 at 5:43 AM, Kfir Lavi lavi.k...@gmail.com wrote: On Tue, Jul 19, 2011 at 11:38 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: Hi, I emerged ulogd-2.0.0_beta4 and using the ulogd.conf that was installed by portage, it fails to start. I get this message in the log: Tue Jul 19 15:32:08 2011 8 ulogd.c:1179 not even a single working plugin stack Does anyone know what that's about? ULOG stuff is enabled in my kernel, and the plugins are on disk where the config file says. So I don't know what's wrong... Thanks, Paul What use flags did you use when installing this software? It seems that you didn't specify any plugins like mysql, pcap, postgres... Hi, thanks for the idea. I tried all combinations and, unfortunately, it fails with exactly the same error whether the USE flags are enabled or not. I guess I will file a bug report. Solved it. It was a stupid mistake of mine. :) In /etc/ulogd.conf all of the stack lines were commented out by default. After I uncommented one, now it works. File a bug to issue a warning at the end of the emerge, so people know it will fail. As the error line is not in the old Ulog, this is new to version 2.0.0, so it is good you found this problem now. Regards, Kfir
Re: [gentoo-user] Using KVM, what about clocks?
On Thu, Jul 21, 2011 at 12:43 AM, Stefan G. Weichinger li...@xunil.atwrote: Maybe a bit OT, but otherwise close to gentoo as well (as we all configure our kernels individually ) (see ps below): When I configure my gentoo-server for Linux KVM, how to get the clock-issues right, in terms of correctness and performance? I assume that I am not the only one scratching his head ... but maybe some of us simply hesitate to ask ;-) HPET, RTC, TSC, blah ... A new server with a Xeon-CPU tells me: kvm: SMP vm created on host with unstable TSC; guest TSC will not be reliable Ah, ok. Is that bad? Could I do something? Should I? My question is // questions are: Are there any recommended kernel-config-settings for a performant and non-drifting KVM-server? Is there a best practise? What is your experience, your recommendation? Maybe it should find its way into the gentoo wiki :-) Thanks in advance, Stefan ps: yeah, I know, this should go to the linux-kvm-ml in an ideal world. We all know that we would end up subscribed to dozens of mailing-lists just to get our jobs done so pls be tolerant in terms of what is off-topic. thx. This question is totally related to Gentoo! Try -cpu ? and run with different cpu's to see if this can solve the problem. Kfir
Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine
On Sat, Jul 16, 2011 at 9:13 PM, Michael Orlitzky mich...@orlitzky.comwrote: On 07/16/2011 09:54 AM, Kfir Lavi wrote: Hi, I'm creating a router based on Gentoo, that needs to run as a vm using qemu. The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? Thanks, Kfir CFLAGS=-march=native -O2 -pipe enables everything safe these days. Hi, I think -march=native is a problem, as it will compile for my cpu. Qemu has different CPU, and i would like to compile my code to suit the vm environment as close as possible. Kfir
Re: [gentoo-user] best cflags and cpu for gentoo qemu virtual machine
On Sun, Jul 17, 2011 at 7:19 PM, Daniel da Veiga danieldave...@gmail.comwrote: On Sat, Jul 16, 2011 at 10:54, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I'm creating a router based on Gentoo, that needs to run as a vm using qemu. The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? If you intend to run this VM on different hardware or distribute it in any way (so you don't really know on what hardware it will run) your best bet is to set a generic arch like i686 or lower, OR hope the VM is run on software based emulation (slow) so you don't have to worry about what CPU is running it. From my experience with qemu, you'll have a lot of requirements too, like bridging and kernel module for virtual interfaces (tun/tap). Now, if this will run on your machine, with kqemu, you'll set march on your guest as your host is... -- Daniel da Veiga I'll build each router for its box. I don't want to use i686 as I'll run also on Atom, and this comp is really really slow with kvm support. Kfir
[gentoo-user] best cflags and cpu for gentoo qemu virtual machine
Hi, I'm creating a router based on Gentoo, that needs to run as a vm using qemu. The mother machine will be Core I7 4 cores. What cpu and CFLAGS should I use to get the best performance out of this vm? Thanks, Kfir
Re: [gentoo-user] qemu command line manager (rc scripts)
On Mon, Jul 11, 2011 at 7:37 PM, Albert Hopkins mar...@letterboxes.orgwrote: On Monday, July 11 at 18:28 (+0300), Kfir Lavi said: Hi, I'm looking for xen like manager to manage my virtual machines when computer boots. Is there any such project? libvirt (can also manage Xen): http://libvirt.org/ Thanks, I'll have a proper look at the next few days. Because it is lib... I didn't think that it also have command line interface. Regards, Kfir
[gentoo-user] qemu command line manager (rc scripts)
Hi, I'm looking for xen like manager to manage my virtual machines when computer boots. Is there any such project? Regards, Kfir
[gentoo-user] emerge package with profiling flags -pg
Hi, I would like to profile my program, so would like to compile it with the -pg flag, to be able to profile it with gprof. Running the emerge like that produce: CFLAGS=$CFLAGS -pg emerge MY_PROG Gives me the error: -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler /usr/bin/i686-pc-linux-gnu-gcc is not able to compile a simple test program. This problem will not occur if I just emerge the program: emerge MY_PROG Any help will be appreciated. Regards, Kfir
[gentoo-user] Re: emerge package with profiling flags -pg
Ok solved, I run hardened profile, so it adds '-pie'. Cmake will tell that -pie and -pg will not work together. So I added -nopie -pg. I had also needed to delete -fomit-frame-pointer. Regards, Kfir On Sun, Jun 19, 2011 at 7:47 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I would like to profile my program, so would like to compile it with the -pg flag, to be able to profile it with gprof. Running the emerge like that produce: CFLAGS=$CFLAGS -pg emerge MY_PROG Gives me the error: -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler /usr/bin/i686-pc-linux-gnu-gcc is not able to compile a simple test program. This problem will not occur if I just emerge the program: emerge MY_PROG Any help will be appreciated. Regards, Kfir
[gentoo-user] Re: Genkernel + ROOT=/tmp/rootfs ?
On Wed, May 11, 2011 at 5:25 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I'm building a catalyst target for installing with ROOT=/tmp/rootfs Looking on the genkernel man page and I can't find a way to install the kernel to ROOT. Is there a way to do that? Thanks, Kfir Anyone?
Re: [gentoo-user] How's the openrc update going for everyone?
On Wed, May 11, 2011 at 12:55 AM, Dale rdalek1...@gmail.com wrote: Hi folks, I was curious, what's the results of the openrc update for people that have done theirs? Is it pretty simple and just works or are there issues? I'm mostly interested in x86 and amd64 since that is what I have. Just a simple works here and I'm X86 or amd64 would be nice. List issues if you had any. Thanks for the feedback. Dale :-) :-) I had a problem with bonding.sh script. http://bugs.gentoo.org/show_bug.cgi?id=366653 Kfir
[gentoo-user] Genkernel + ROOT=/tmp/rootfs ?
Hi, I'm building a catalyst target for installing with ROOT=/tmp/rootfs Looking on the genkernel man page and I can't find a way to install the kernel to ROOT. Is there a way to do that? Thanks, Kfir
Re: [gentoo-user] [OT] bash script error
On Mon, May 9, 2011 at 9:43 AM, Nils Andresen n...@nils-andresen.de wrote: Hi, have you tried /bin/bash -x your.script.sh - see what get's expanded ? Nils 2011/5/9 Xi Shen davidshe...@googlemail.com I guess there's something wrong with the argument expansion. Just do not know how to fix it. Please help. You need to change: - curl_opts=-x '' + curl_opts=-x Run your program with bash -x as Nils said, and you will see the expansion. Kfir
Re: [gentoo-user] [OT] bash script error
On Mon, May 9, 2011 at 12:00 PM, Xi Shen davidshe...@googlemail.com wrote: i tried that already. not working. i will try the stackoverflow.com. thanks On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan pa...@poluan.info wrote: (Again, sorry for top-posting) BTW, there are lots of bash gurus in stackovervlow.com. My handle there is 'pepoluan'. Rgds, On 2011-05-09, Xi Shen davidshe...@googlemail.com wrote: It is not specific to Gentoo. But do not know where to search or post it :) My script looks like: url=http://mypage; curl_opts=-x '' curl $url -d \mydata\ $curl_opts If I execute it, I got an error from curl, saying it cannot resolve the proxy ''. But If I modify the script to: url=http://mypage; curl $url -d \mydata\ -x '' It works fine. I guess there's something wrong with the argument expansion. Just do not know how to fix it. Please help. -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/ -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/ -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/ I have replied you before. What I have sent you is the solution to your problems. Try to run what I told you. I ran it successfully on my comp. curl_opts=-x Kfir
Re: [gentoo-user] [OT] bash script error
On Mon, May 9, 2011 at 1:36 PM, Alex Schuster wo...@wonkology.org wrote: Kfir Lavi writes: On Mon, May 9, 2011 at 12:00 PM, Xi Shen davidshe...@googlemail.com wrote: On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan pa...@poluan.info wrote: On 2011-05-09, Xi Shen davidshe...@googlemail.com wrote: My script looks like: url=http://mypage; curl_opts=-x '' curl $url -d \mydata\ $curl_opts If I execute it, I got an error from curl, saying it cannot resolve the proxy ''. But If I modify the script to: url=http://mypage; curl $url -d \mydata\ -x '' It works fine. I guess there's something wrong with the argument expansion. Just do not know how to fix it. Please help. Do as you tried first, but add an eval: eval curl $url -d \mydata\ $curl_opts I have replied you before. What I have sent you is the solution to your problems. Try to run what I told you. I ran it successfully on my comp. curl_opts=-x This gives a command not found error, as bash tries to execute the empty command . Are you using another shell? Wonko Sorry, I have put www.google.com in th url, so got the page, and didn't notice the error. hehe Kfir
Re: [gentoo-user] No Sound while video capturing with guvcview
On Sun, May 8, 2011 at 12:00 PM, meino.cra...@gmx.de wrote: Hi, may be one can help me... I am using a webcam (lsusb: Bus 001 Device 002: ID 1415:2000 Nam Tai EE Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye) on my window board to capture videos from the crow, which often visits me in summer. The PS-Eye cam has one (four?) microphones to capture audio and delivers up to 60 fps. The setup was working last summer with video AND audio. This summer only video is captured. The resulting video file seems to contain a null audio (no sound samples other than zeroes...) When playing the file with mplayer, this is the output on the terminal (the video plays ok beside the fact that there is no sound to hear...) [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 Badly interleaved AVI file detected - switching to -ni mode... AVI: No audio stream found - no sound. VIDEO: [MJPG] 640x480 24bpp 60.094 fps 29695.7 kbps (3625.0 kbyte/s) Clip info: Title: Software: guvcview-1.4.5 Comments: Sun May 8 09:51:35 2011 == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG) == == Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200-88200) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) == AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is undefined - no prescaling applied. VO: [gl2] 640x480 = 640x480 Planar 422P [gl2] You have OpenGL = 1.2 capable drivers, GOOD (16bpp and BGR is ok!) [gl2] antialiasing off [gl2] bilinear linear A: -0.0 V: 1.3 A-V: -1.265 ct: -0.126 77/ 77 14% 88% 0.0% 0 0 Capturing not enabled (forgot -capture parameter?) A: -0.0 V: 14.8 A-V:-14.844 ct: -1.486 893/893 10% 89% 0.0% 0 0 What can I do/check/test/experiment to get back the audio again? Thank you very much for any help in advance! Have a nice sunday! Best regards mcc From your output it shows that the sound is not null. Does your sound works playing other files (alsamixer)? Can you record now a picture with the webcam and play it with sound after? Kfir
Re: [gentoo-user] No Sound while video capturing with guvcview
On Sun, May 8, 2011 at 12:35 PM, meino.cra...@gmx.de wrote: Kfir Lavi lavi.k...@gmail.com [11-05-08 11:32]: On Sun, May 8, 2011 at 12:00 PM, meino.cra...@gmx.de wrote: Hi, may be one can help me... I am using a webcam (lsusb: Bus 001 Device 002: ID 1415:2000 Nam Tai EE Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye) on my window board to capture videos from the crow, which often visits me in summer. The PS-Eye cam has one (four?) microphones to capture audio and delivers up to 60 fps. The setup was working last summer with video AND audio. This summer only video is captured. The resulting video file seems to contain a null audio (no sound samples other than zeroes...) When playing the file with mplayer, this is the output on the terminal (the video plays ok beside the fact that there is no sound to hear...) [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 Badly interleaved AVI file detected - switching to -ni mode... AVI: No audio stream found - no sound. VIDEO: [MJPG] 640x480 24bpp 60.094 fps 29695.7 kbps (3625.0 kbyte/s) Clip info: Title: Software: guvcview-1.4.5 Comments: Sun May 8 09:51:35 2011 == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG) == == Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200-88200) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) == AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is undefined - no prescaling applied. VO: [gl2] 640x480 = 640x480 Planar 422P [gl2] You have OpenGL = 1.2 capable drivers, GOOD (16bpp and BGR is ok!) [gl2] antialiasing off [gl2] bilinear linear A: -0.0 V: 1.3 A-V: -1.265 ct: -0.126 77/ 77 14% 88% 0.0% 0 0 Capturing not enabled (forgot -capture parameter?) A: -0.0 V: 14.8 A-V:-14.844 ct: -1.486 893/893 10% 89% 0.0% 0 0 What can I do/check/test/experiment to get back the audio again? Thank you very much for any help in advance! Have a nice sunday! Best regards mcc From your output it shows that the sound is not null. Does your sound works playing other files (alsamixer)? Can you record now a picture with the webcam and play it with sound after? Kfir Hi Kfir, thank you for your reply! :) sorry, English isn't my mothers tongue... When playing other videos there is no problem with the sound. What did you mean with Can you record now a picture with the webcam and play it with sound after? mcc You said that this file is a recording of the webcam with sound. Can you record again from your webcam and then play the file? Does the file you record is the same compression algorithm as the file that doesn't work? Kfir
Re: [gentoo-user] php-cgi must be run as root?
On Fri, May 6, 2011 at 1:46 PM, Andrea Conti a...@alyf.net wrote: The access permission to /usr/lib64/php5.3/bin/php-cgi is 755, so I think everyone can execute it. Then, what is the problem? Most probably, the nginx user cannot access the .php file you're trying to execute, either because of its permissions or because it cannot traverse one of its parent directories. andrea So in short you need to use chmod -R... chown -R... Kfir
[gentoo-user] nomerge sys-apps/shadow why?
Hi, emerge -vpt -e system ... [nomerge ] sys-apps/shadow-4.1.4.3 USE=cracklib nls pam -audit (-selinux) -skey ... The problem is that there is no shadow in my system. emerge -pvt sys-apps/shadow ... [ebuild N] sys-apps/shadow-4.1.4.3 USE=cracklib nls pam -audit (-selinux) -skey 0 kB [ebuild N] virtual/pam-0 0 kB [ebuild N] sys-auth/pambase-20101024 USE=cracklib sha512 -consolekit -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux) 0 kB [ebuild N] sys-libs/pam-1.1.3 USE=berkdb cracklib nls -audit -debug (-selinux) -test -vim-syntax 0 kB ... So why shadow will not install when running 'emerge -e system' (same is for world)? Thanks, Kfir
Re: [gentoo-user] Cmdline image resizer understanding gamma ?
On Fri, May 6, 2011 at 12:25 AM, Sebastian Pipping sp...@gentoo.org wrote: On 05/05/2011 07:48 PM, Paul Hartman wrote: Especially as I don't trust ImageMagick with files that matter I would love to find (or re-find) a command line tool that properly handles Gamma when resizing images. Needs be free software. Anyone? ImageMagick works. I downloaded the Dalai Lama photo from that page and converted it by doing: convert -colorspace sRGB gamma_dalai_lama_gray.jpg -scale 50%% -set colorspace sRGB gamma_dalai_lama_gray50.png And the resulting image is correct. As I said, I do not trust ImageMagick with quality. I am looking for a different tool. Sebastian What about using gimp in scripting mode? Kfir
Re: [gentoo-user] ot? : how to track and bill my work under gentoo
On Tue, May 3, 2011 at 10:41 AM, Stefan G. Weichinger li...@xunil.atwrote: Am 2011-05-02 23:46, schrieb Mick: I don't use Gnome so can't advise for Gnome only apps, but KDE's Kontact suite has Time Tracker. For a DE independent application you may want to have a look at Task Coach: Looks good, thanks! AFAI see it is not possible to use it from multiple machines, though? Maybe if I store that tsk-file on the net somewhere (maybe even dropbox, hmmm) ... Thanks, Stefan I use task coach but don't find it very good. Maybe I should really try to use it more often. I think something like Trac or similar ruby bug tracking tools are much much better. The wiki collaboration with ticket conversation, helps you really nail most of your documenting issues regarding your projects. Regards, Kfir
Re: [gentoo-user] Re: URGENT: nfs stopped working
On Sun, May 1, 2011 at 4:51 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Saturday 30 April 2011 19:53:21 Dale wrote: Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp of sftp since its so infrequent? New can of worms. o_O scp is fucking easy to do. Even easier: pure-ftpd. I'm using sys-fs/sshfs-fuse which is working very good, and it is really easy to setup. Kfir
Re: [gentoo-user] I'm up, at long last!
On Wed, Apr 20, 2011 at 3:32 AM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 20 Apr 2011 01:30:00 +0300, Kfir Lavi wrote: I use evince for PDFs and Gqview for photos. Gqview is no longer in development. Try Geeqie, an active fork of Gqview. Thanks, I didn't know that. As is Gqview is just brilliant. Everything is fast via the keyboard shortcuts. I'lll try Geeqie as you suggested. Thanks again, Kfir -- Neil Bothwick The word 'Windows' is a word out of an old dialect of the Apaches. It means: 'White man staring through glass-screen onto an hourglass...')
Re: [gentoo-user] win key takes me from X to VT
2011/4/18 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com El día 18 de abril de 2011 00:01, Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com escribió: Try to reset all shortcuts with: setxkbmap -option It doesn't change anything. The problem starts in kdm, before loging in, so it's nothing specific to a given user account. Oh, I forgot, it is nothing specific to kdm either. What I meant above is that it happens since I enter X. Or rather, since this is the default behavior in the console, we could more correctly say that it *continues* happening when I enter X, where it should not happen. I tested the lxde login manager and it has the same problem. -- Jesús Guerrero Botella What X drivers you have in your make.conf? Kfir
Re: [gentoo-user] I'm up, at long last!
things like that. I also need to find a decent PDF viewer, and a decent jpeg viewer. I use evince for PDFs and Gqview for photos. Kfir
Re: [gentoo-user] gentoo guest vm - vlan support kills eth0
On Tue, Apr 19, 2011 at 9:18 AM, Adam Carter adamcart...@gmail.com wrote: If i enable 802.1q kernel support in a gentoo vmware guest and reboot (even as a module which is not loaded), eth0 is no longer available. (ifconfig -a shows nothing). Is this expected? What is the driver you use for eth0? Kfir
Re: [gentoo-user] Howzat!
On Mon, Apr 18, 2011 at 7:53 AM, Joshua Murphy poiso...@gmail.com wrote: On Sun, Apr 17, 2011 at 9:44 PM, Dale rdalek1...@gmail.com wrote: Peter Humphrey wrote: Hello list, How's this for sheer persistence and grit? $ genlop -c Currently merging 321 out of 368 * www-client/chromium-10.0.648.204 current merge time: 11 hours, 41 minutes and 9 seconds. ETA: any time now. This is my Atom N270 LAN server box. I remember compiling LFS on P100. It took a week to compile X ;) at the end I had Xinerama working ;-P I got a very old Compaq rig with quad 200Mhz CPUs and 128Mbs of ram. I have always wondered how long it would take to compile OOo on that thing. 12 hours to compile a browser does take patience. I hope you don't have a power failure right at the end. o_O How long does it take to open it when it gets done? Seconds? Minutes? Dale :-) :-) Assuming a reasonable 1GB ram on the box (pretty well standard to low with an Atom), and considering what my netbook does (the same single core 1.6GHz with HT turned on for responsiveness in my case), about 2-3 seconds... but then I'm on a little SSD too. I should admit my netbook's running Debian at the moment, though. Didn't want to abuse the SSD too much with writes, and it's tedious to install things through an intermediary system all the time. The fullsize laptop, when it gets its rebuild over the next week (it's been a windows 2k3 server development system lately) I do a lot of compiling on my laptop using Catalyst for embedded. I upgraded my RAM to 8GB (2x4GB = 90$ ebay). I mount /var/tmp as tmpfs. Thats how I keep my SSD ;) Kfir -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] win key takes me from X to VT
2011/4/17 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com Hello. I am having this issue since a couple of days ago. When I press the win key (alone) I am taken back to VT, which is quite annoying since I've used win+[123456] to go to the respective virtual desktops for years. I've tried downgrading xorg-server and it didn't work. I've also tried to change mingetty (which I've been using for years as well) by agetty, no change either. If I restart the xdm service (I use kdm) then everything works as expected and I can use the windows key for my bindings. Any idea on where to start looking or how to diagnose this? Thanks everyone. -- Jesús Guerrero Botella Try to reset all shortcuts with: setxkbmap -option Maybe this will help, but not sure. Kfir
Re: [gentoo-user] sane-backends
On Sun, Apr 17, 2011 at 1:52 AM, Michael George geo...@mutualdata.comwrote: I just got a new scanner which will be supported in version 1.0.22 of the sane-backend package. However, that version isn't in portage yet. How do I find who the maintainers of the portage package are so that I can contact them to see if I can help get that port made available? -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot. You can create your local overlay, and try to upgrade the ebuild to your needs. If it works, you can send your changes as a patch to the maintainers of the package. Kfir
Re: [gentoo-user] configure wlan0 route metric
On Wed, Apr 13, 2011 at 12:14 AM, deadeyes gvm...@gmail.com wrote: Hi all, For my home network I am generally using wireless to get connected to the network and the internet. However for copying some large files I use the wire. That means I get 2 IPs in the same range. And both interfaces get the same metric : 0. I found out I can modify the metric for the default route using metric_wlan0. Code: Destination Gateway Genmask Flags Metric RefUse Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 00 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 00 wlan0 0.0.0.0 192.168.1.1 0.0.0.0 UG2 00 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG10000 wlan0 (this is not the full routing table) However this changes the metric of the default route. Not of the route that is specifically for the local network. of course I can do this manually. However that is alot of hassle and seems to be something that should be configurable use files. Does anyone knows how I can accomplish this? Or how I can change the metric for each route for the wlan0 interface? Thanks in advance! Hi, you can use net-analyzer/ifmetric. I found this solution not satisfying, but don't remember why. I guess some corner cases. I have bonded the interfaces on my laptop. The bonding driver will prefer using the wired when it is connected. Here is my /etc/conf.d/net: # eth0 config_eth0=( null ) # wlan modules=( wpa_supplicant ) wpa_supplicant_wlan0=-Dwext config_wlan0=( null ) modules_wlan0=( !plug ) ifplugd_wlan0=--api-mode=wlan # bond slaves_bond0=eth0 wlan0 dhcpcd_bond0=--noipv4ll --nolink -t 15 config_bond0=( dhcp ) Regards, Kfir
Re: [gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
On Thu, Apr 7, 2011 at 1:19 AM, Michael Orlitzky mich...@orlitzky.comwrote: On 04/06/2011 07:45 AM, Kfir Lavi wrote: When I run qemu -no-kvm things work as expected under hardened kernel. Using regular kernel (none hardened) qemu works ok. So, the problem is running qemu under hardened kernel. If someone have some input, I'll be happy to hear it. I am a long-time user of qemu/kvm under hardened. It works off and on. I don't have any scientific advice for you, only this: if you ever find a combination of kernel/qemu that works, *don't change anything*. Well, thanks for this advice. hehe I booted a none hardened kernel, and qemu started to work again. So yes, the hardened kernel is to blame. I wonder why qemu have problem with hardened kernel? Maybe some of the hardened devs can pitch in Regards, Kfir
Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
On Wed, Apr 6, 2011 at 1:42 AM, Albert Hopkins mar...@letterboxes.orgwrote: On Tue, 2011-04-05 at 18:06 +0300, Kfir Lavi wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March. I have not had that problem, but I do not use the hardened flag. Thanks for your replay, I have tried to compile qemu without hardened, but it doesn't work: USE=-alsa -aio -curl -jpeg -png -sdl -ssl -hardened emerge -av app-emulation/qemu-kvm More inputs? Tnx, Kfir
Re: [gentoo-user] qemu-kvm black screen and infinite loop on startup
On Wed, Apr 6, 2011 at 1:42 AM, Albert Hopkins mar...@letterboxes.orgwrote: On Tue, 2011-04-05 at 18:06 +0300, Kfir Lavi wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. I've been using app-emulation/qemu-kvm-0.13.0-r2 since early March. I have not had that problem, but I do not use the hardened flag. Hi Albert, Can you paste your USE flags for qemu? Thanks, Kfir
[gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
On Tue, Apr 5, 2011 at 6:06 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. Regards, Kfir when running 'strace qemu' I get this line: read(11, 0xbf10ae5c, 128) = -1 EAGAIN (Resource temporarily unavailable) This seems related to hardened. paxctl shows for all qemu binaries: - PaX flags: -m-x-e-- [/usr/bin/qemu] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-i386] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-img] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-io] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled - PaX flags: -m-x-e-- [/usr/bin/qemu-nbd] MPROTECT is disabled RANDEXEC is disabled EMUTRAMP is disabled Does someone have the solution for this? Regards, Kfir
[gentoo-user] Re: qemu-kvm black screen and infinite loop on startup
On Tue, Apr 5, 2011 at 6:06 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. Regards, Kfir When I run qemu -no-kvm things work as expected under hardened kernel. Using regular kernel (none hardened) qemu works ok. So, the problem is running qemu under hardened kernel. If someone have some input, I'll be happy to hear it. Regards, Kfir
[gentoo-user] qemu-kvm black screen and infinite loop on startup
Hi, After updating qemu-kvm to 0.13.0-r2 I get an infinite loop when running qemu. You can spot the loop with strace. This problem shows on Redhat https://bugzilla.redhat.com/show_bug.cgi?id=553689#c5 and they say that it is related to the seabios. Does anyone have this problem too? I'm compiling qemu-kvm with hardend flag. Regards, Kfir
Re: [gentoo-user] How can I inactivate the anachronism called CAPSLOCK on X?
On Tue, Apr 5, 2011 at 9:46 PM, meino.cra...@gmx.de wrote: Hi, I am using a recent gentoo (updated on a nearly daily basis). For me the CAPSLOCK-function is totally useless and I want to deactivate it as soon as possible to ACCIDENTLY SWITCH ANYthing uppeRCASE. ;) Is there any way to acchieve this -- it would greatly improve my typing... Thank you very much for any help in advance! Best regards mcc I'm using CAPS to switch from English to Hebrew. I don't use xorg.conf to do it. I use this commands in the startup script of fluxbox: setxkbmap -option setxkbmap -option grp:switch,grp:caps_toggle,grp_led:scroll us,il So you can use setxkbmap to check configuration and then apply it to xorg.conf. Regards, Kfir
Re: [gentoo-user] Any bought a laptop that Just Works?
On Thu, Mar 31, 2011 at 12:56 AM, Valmor de Almeida val.gen...@gmail.comwrote: On 03/30/2011 02:46 PM, Elaine C. Sharpe wrote: On Wed, Mar 30, 2011 at 08:40:02PM +0200, Robin Atwood wrote: I am in the market for a new laptop and would be interested if anyone else on the list had recently bought a laptop in which all the hardware worked out of the box with Linux. I am most concerned about WiFi/audio/webcam, the finer points of hibernation are of lesser concern. Currently I have a Linux Certified machine but I want to avoid shipping costs to the UK. I've always had the best luck with the hardware support for thinkpads (and dell inspirons, though they're kind of clunky and cheesy). Can't vouch for the new ones though, it's been a few years since I upgraded. I've been using a thinkpad X201; WiFi works well and audio too. Don't have a camera. There is a little problem configuring the touch pad buttons for a left hand but it does not bother me. All in all a very good machine under gentoo. -- Valmor I have the X200. I use it with 8GB of ram, so all compilation of Gentoo system and Catalyst is done on the ram. Really good. 8GB cost me on ebay 90$ ! The wifi works good, but again as Valmor said there is no cam on the laptop. I also don't have touch pad, just the red stick. I like it that way. The computer goes to sleep, but I didn't tried to hibernate. I have also the X60s and it is a bad laptop. It gets really hot, fairly quickly, and it is very annoying. About the wifi: take care that the wifi card can be changed, as it is a pcie card. So if the laptop seems to be good for the buck, and the wifi is not what you want, you can just buy one of the good wifi cards on ebay and replace it on your new laptop. This of course will void the warranty ;-) Other thing you should consider is the battery life. In my Thinkpad x60s I have upgraded the battery to a 12cell big one, and it lasts about 7-9 hours. Such a battery is hard to fine for other brands of laptops. You will usually find them for thinkpads, I guess because their made for work. I think it cost me about 60$ or so on ebay. Regards, Kfir
[gentoo-user] Re: rsync include exclude of regex conundrum
On Thu, Mar 24, 2011 at 3:24 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I want to rsync all the directories and files that contain the date 2011.03.03. Everything else should not be copied. I did a lot of experiments and read web pages, but can't solve this conundrum. kfir@goofy /tmp/rsync.test $ find . ./b ./a ./a/aaa ./a/aaa/2011.03.03 ./a/2011.03.04 ./a/2011.03.03 kfir@goofy /tmp/rsync.test $ rsync -avvn --include * --include **2011.03.03** --exclude * a/ b/ sending incremental file list [sender] showing directory aaa because of pattern * [sender] showing directory 2011.03.04 because of pattern * [sender] showing directory 2011.03.03 because of pattern * [sender] showing file aaa/2011.03.03 because of pattern * delta-transmission disabled for local transfer or --whole-file ./ 2011.03.03/ 2011.03.04/ aaa/ aaa/2011.03.03 total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 135 bytes received 30 bytes 330.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kfir@goofy /tmp/rsync.test $ rsync -av --include 2011.03.03 a b -v sending incremental file list [sender] showing directory a/2011.03.03 because of pattern 2011.03.03 [sender] showing file a/aaa/2011.03.03 because of pattern 2011.03.03 delta-transmission disabled for local transfer or --whole-file a/ a/2011.03.03/ a/2011.03.04/ a/aaa/ a/aaa/2011.03.03 0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/5) total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 179 bytes received 47 bytes 452.00 bytes/sec total size is 0 speedup is 0.00 kfir@goofy /tmp/rsync.test $ rsync -avvn --include * --include **2011.03.03** --exclude * a b sending incremental file list [sender] showing directory a because of pattern * [sender] showing directory a/aaa because of pattern * [sender] showing directory a/2011.03.04 because of pattern * [sender] showing directory a/2011.03.03 because of pattern * [sender] showing file a/aaa/2011.03.03 because of pattern * delta-transmission disabled for local transfer or --whole-file a/aaa/2011.03.03 is uptodate total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 143 bytes received 31 bytes 348.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kfir@goofy /tmp/rsync.test $ rsync -avvn --include */ --include **2011.03.03** --exclude * a b sending incremental file list [sender] showing directory a because of pattern */ [sender] showing directory a/aaa because of pattern */ [sender] showing directory a/2011.03.04 because of pattern */ [sender] showing directory a/2011.03.03 because of pattern */ [sender] showing file a/aaa/2011.03.03 because of pattern **2011.03.03** delta-transmission disabled for local transfer or --whole-file a/aaa/2011.03.03 is uptodate total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 143 bytes received 31 bytes 348.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) Hope it is solvable. Regards, Kfir Bump, No body uses rsync? Kfir
[gentoo-user] Re: rsync include exclude of regex conundrum
On Sun, Mar 27, 2011 at 2:14 PM, Kfir Lavi lavi.k...@gmail.com wrote: On Thu, Mar 24, 2011 at 3:24 PM, Kfir Lavi lavi.k...@gmail.com wrote: Hi, I want to rsync all the directories and files that contain the date 2011.03.03. Everything else should not be copied. I did a lot of experiments and read web pages, but can't solve this conundrum. kfir@goofy /tmp/rsync.test $ find . ./b ./a ./a/aaa ./a/aaa/2011.03.03 ./a/2011.03.04 ./a/2011.03.03 kfir@goofy /tmp/rsync.test $ rsync -avvn --include * --include **2011.03.03** --exclude * a/ b/ sending incremental file list [sender] showing directory aaa because of pattern * [sender] showing directory 2011.03.04 because of pattern * [sender] showing directory 2011.03.03 because of pattern * [sender] showing file aaa/2011.03.03 because of pattern * delta-transmission disabled for local transfer or --whole-file ./ 2011.03.03/ 2011.03.04/ aaa/ aaa/2011.03.03 total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 135 bytes received 30 bytes 330.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kfir@goofy /tmp/rsync.test $ rsync -av --include 2011.03.03 a b -v sending incremental file list [sender] showing directory a/2011.03.03 because of pattern 2011.03.03 [sender] showing file a/aaa/2011.03.03 because of pattern 2011.03.03 delta-transmission disabled for local transfer or --whole-file a/ a/2011.03.03/ a/2011.03.04/ a/aaa/ a/aaa/2011.03.03 0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/5) total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 179 bytes received 47 bytes 452.00 bytes/sec total size is 0 speedup is 0.00 kfir@goofy /tmp/rsync.test $ rsync -avvn --include * --include **2011.03.03** --exclude * a b sending incremental file list [sender] showing directory a because of pattern * [sender] showing directory a/aaa because of pattern * [sender] showing directory a/2011.03.04 because of pattern * [sender] showing directory a/2011.03.03 because of pattern * [sender] showing file a/aaa/2011.03.03 because of pattern * delta-transmission disabled for local transfer or --whole-file a/aaa/2011.03.03 is uptodate total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 143 bytes received 31 bytes 348.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kfir@goofy /tmp/rsync.test $ rsync -avvn --include */ --include **2011.03.03** --exclude * a b sending incremental file list [sender] showing directory a because of pattern */ [sender] showing directory a/aaa because of pattern */ [sender] showing directory a/2011.03.04 because of pattern */ [sender] showing directory a/2011.03.03 because of pattern */ [sender] showing file a/aaa/2011.03.03 because of pattern **2011.03.03** delta-transmission disabled for local transfer or --whole-file a/aaa/2011.03.03 is uptodate total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 143 bytes received 31 bytes 348.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) Hope it is solvable. Regards, Kfir Bump, No body uses rsync? Kfir Ok, I managed to do it like this: cd a/ rsync -avnR $(find -ipath '*2011.03.03*') b/ Regards, Kfir
[gentoo-user] rsync include exclude of regex conundrum
Hi, I want to rsync all the directories and files that contain the date 2011.03.03. Everything else should not be copied. I did a lot of experiments and read web pages, but can't solve this conundrum. kfir@goofy /tmp/rsync.test $ find . ./b ./a ./a/aaa ./a/aaa/2011.03.03 ./a/2011.03.04 ./a/2011.03.03 kfir@goofy /tmp/rsync.test $ rsync -avvn --include * --include **2011.03.03** --exclude * a/ b/ sending incremental file list [sender] showing directory aaa because of pattern * [sender] showing directory 2011.03.04 because of pattern * [sender] showing directory 2011.03.03 because of pattern * [sender] showing file aaa/2011.03.03 because of pattern * delta-transmission disabled for local transfer or --whole-file ./ 2011.03.03/ 2011.03.04/ aaa/ aaa/2011.03.03 total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 135 bytes received 30 bytes 330.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kfir@goofy /tmp/rsync.test $ rsync -av --include 2011.03.03 a b -v sending incremental file list [sender] showing directory a/2011.03.03 because of pattern 2011.03.03 [sender] showing file a/aaa/2011.03.03 because of pattern 2011.03.03 delta-transmission disabled for local transfer or --whole-file a/ a/2011.03.03/ a/2011.03.04/ a/aaa/ a/aaa/2011.03.03 0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/5) total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 179 bytes received 47 bytes 452.00 bytes/sec total size is 0 speedup is 0.00 kfir@goofy /tmp/rsync.test $ rsync -avvn --include * --include **2011.03.03** --exclude * a b sending incremental file list [sender] showing directory a because of pattern * [sender] showing directory a/aaa because of pattern * [sender] showing directory a/2011.03.04 because of pattern * [sender] showing directory a/2011.03.03 because of pattern * [sender] showing file a/aaa/2011.03.03 because of pattern * delta-transmission disabled for local transfer or --whole-file a/aaa/2011.03.03 is uptodate total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 143 bytes received 31 bytes 348.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) kfir@goofy /tmp/rsync.test $ rsync -avvn --include */ --include **2011.03.03** --exclude * a b sending incremental file list [sender] showing directory a because of pattern */ [sender] showing directory a/aaa because of pattern */ [sender] showing directory a/2011.03.04 because of pattern */ [sender] showing directory a/2011.03.03 because of pattern */ [sender] showing file a/aaa/2011.03.03 because of pattern **2011.03.03** delta-transmission disabled for local transfer or --whole-file a/aaa/2011.03.03 is uptodate total: matches=0 hash_hits=0 false_alarms=0 data=0 sent 143 bytes received 31 bytes 348.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) Hope it is solvable. Regards, Kfir
[gentoo-user] supported package count comparison
Hi, Can someone refer me to a comparison of the number of packages supported by Debian, Redhat etc. For counting Gentoo packages I did: eix -c | wc -l and got 15849 Also, how can I count the number of stable packages in Gentoo? Regards, Kfir
Re: [gentoo-user] supported package count comparison
On Wed, Mar 23, 2011 at 12:17 PM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 23 Mar 2011 11:42:48 +0200, Kfir Lavi wrote: For counting Gentoo packages I did: eix -c | wc -l and got 15849 I get 23355, but I guess you are only counting the official tree and not the layman overlays. Also, how can I count the number of stable packages in Gentoo? Read man eix, particularly the --stable option. -- Neil Bothwick Dolly Parton-- silicone based life Yep, eix -c --stable | wc -l 9996 Tnx, Kfir
Re: [gentoo-user] Prelink on a already fast system
On Tue, Feb 15, 2011 at 3:49 PM, Dale rdalek1...@gmail.com wrote: Neil Bothwick wrote: On Tue, 15 Feb 2011 02:04:38 -0600, Dale wrote: I used it on a older and pretty slow rig once and it did help. I think it was 800Mhz with 512Mbs of ram. It also had some much slower IDE drives too. It wasn't a huge difference but you could tell the difference. Some of the googling I did in the wake of the glibc-2.13 debacle indicated that prelinking makes far less difference wih newer kernels anyway. Even the old slow box wouldn't get much benefit from it. I disabled it because of glibc and won't be re-enabling it, but I might give it a try on this netbook to see if it makes a discernable difference with a slow CPU and slow drive, or I'll buy it a SSD. Sounds like it isn't worth the trouble anymore. I think I'll leave it alone. The new ram may make some things faster tho. Thanks. Dale :-) :-) I have just upgraded my laptop to 8GB (90$ ebay ddr3). I now use tmpfs on /var/tmp and /tmp/ and run catalyst with all sorts of experiments. Take care I needed to provide more inodes to /var/tmp/ . with nr_inodes=500K,size=80% the default was 204K. Regards, Kfir
Re: [gentoo-user] copy a bunch of files...
On Tue, Feb 8, 2011 at 8:27 PM, Mark Knecht markkne...@gmail.com wrote: Hi, Looking for a simple way to do a big copy at the command line. I have a bunch of files (maybe 100 right now, but it will grow) that I can find with locate and grep: c2stable ~ # locate Correlation | grep Builder | grep csv /home/mark/Builder/TF/TF.D-17M-2009_06-2010_11/Correlation/TF.D-17M-2009_06-2010_11-V1.csv /home/mark/Builder/TF/TF.D-17M-2009_06-2010_11/Correlation/TF.D-17M-2009_06-2010_11-V2.csv /home/mark/Builder/TF/TF.D-17M-2009_06-2010_11/Correlation/TF.D-17M-2009_06-2010_11-V3.csv SNIP /home/mark/Builder/TF/TF.D-31M-2009_06-2010_11/Correlation/TF.D-31M-2009_06-2010_11-V4.csv /home/mark/Builder/TF/TF.D-31M-2009_06-2010_11/Correlation/TF.D-31M-2009_06-2010_11-V5.csv c2stable ~ # I need to copy these files to a new directory (~mark/CorrelationTests) where I will modify what's in them before running correlation tests on the contents. How do I feed the output of the command above to cp at the command line to get this done? I've been playing with things like while read but I can't get it right. Thanks, Mark Another way to do it is with find: find /home/mark/Builder -type f -iname '*csv' -exec cp {} ~mark/CorrelationTests \; If catching the *csv is not enough, you can use -ipath instead of -iname and do something like this: -ipath '*Builder*csv' this will match all the path. Regards, Kfir
[gentoo-user] Install unstable package in stage4 catalyst?
Hi, I'm trying to create a stage4 spec file. Running the spec, sys-apps/net-tools-1.60-r13 doesn't compile. There is a bug about this. So I want to specify for catalyst to install a later version of this package. How can I do that? Regards, Kfir
Re: [gentoo-user] CONFIG_DRM_I915_KMS lcd becomes gray after sleeping
I think I found the problem but I'm still not 100% sure. Its the fade to black when blanking of xscreensaver. When my laptop goes to sleep, it issues lock command which in turn will sometimes will fade the screen. I think its a bug of the fading. I disabled this feature. I'll see if it happens again. Thanks for your help, Kfir On Mon, Feb 7, 2011 at 12:33 PM, Barney Salter barney.sal...@quicklink.tvwrote: Can you restore the backlight with setpci? setpci -s [device id] F4.B=[00-99] -Original Message- From: Keith Dart [mailto:ke...@dartworks.biz] Sent: 07 February 2011 07:30 To: gentoo-user@lists.gentoo.org Cc: lavi.k...@gmail.com Subject: Re: [gentoo-user] CONFIG_DRM_I915_KMS lcd becomes gray after sleeping === On Sun, 02/06, Kfir Lavi wrote: === Any thoughts? === Try also enabling backlight control drivers. I also have an Intel laptop and it works fine, and the backlight controls also work. -- Keith Dart -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ = -- This message was scanned by ESVA and is believed to be clean.
[gentoo-user] CONFIG_DRM_I915_KMS lcd becomes gray after sleeping
Hi, After sleeping my laptop becomes grayish transparent. It happens from time to time, no always. The only way to handle this , is to restart the computer. Any thoughts? Regards, Kfir
Re: [gentoo-user] can I remove /var/cache/
2010/12/7 fajfu...@wp.pl Hi Can I remove /var/cache/ directory. My contens of it is as follows: cups edb eix fontconfig genkernel hald ldconfig man revdep-rebuild samba thanks for answer Hi, Before you decide to remove something do some testing. start by running $ du -sh /* Then see what grabs the most, or what seems not in place. Then try to run the command again in the directory that seems to be too big. In my case /var/cache is just 16M so no need to look there. Another option is to mount some parts of your filesystem as tmpfs. This will put files on the main memory and not on the hard drive. Take care that this files will be gone when you unmount or restart. You can save some more space with FEATURES=noman noinfo nodoc placed in /etc/make.conf Regards, Kfir
Re: [gentoo-user] copy paste problem from any app other than Konsole to Konsole
On Thu, Nov 25, 2010 at 2:54 PM, Coert Waagmeester lgro...@waagmeester.co.za wrote: Hello all, Using ksh in konsole. Whenever I select something in any app apart from Konsole, and middle click paste it in Konsole, it does not paste exactly as it should. I have attached a screenshot where I copy from Firefox to Konsole. What could be the reason for this? Regards, Coert This problem happens also in vim. In vim you need to run the command ':set paste' and then insert the copied text. My guess it works the same, and there is a way to set paste on konsole. Regards, Kfir
Re: [gentoo-user] [OT] Best way to restrict home web browsing
On Thu, Nov 4, 2010 at 10:59 PM, Matthew Summers quantumsumm...@gentoo.orgwrote: On Thu, Nov 4, 2010 at 3:41 PM, Jake Moe jakesaddr...@gmail.com wrote: A bit off topic, but this group seems to know a lot about this sort of subject. I've caught the 11 year old at home browsing sites he really shouldn't be. I'd like to implement some sort of filter so that he can only access approved sites, but myself and my o/h can browse whatever we want. What is the best way to implement this? A firewall? Some sort of web proxy? Something else? I've got a few Gentoo computers, one that tri-boots between Windows XP (for work), Windows 7 (for games) and Gentoo (for everything else), and one Windows laptop (my o/h won't give it up) connecting to one wireless AP/router. I'm thinking maybe a single firewall would be the way to go, but I suppose it'd have to something that we could log into to let it know who's who; I've never heard of a firewall that does that. Otherwise, maybe a software firewall on each PC, but it'd be a bit cumbersome across all the PCs, unless it had some sort of central management server. A web search seems to show a Squid proxy may be the way to go, as well. but I'm not familiar enough with that to know if it'll really do what I want. Any help/suggestions would be appreciated. Thanks. Jake Moe Hi Jake, This is something I wish there was more information about free/open solutions available to assist parents in this exact situation. So, dansguardian [1] is a good place to start, and here [2] is a nice article on linux.com that provides an actual solution. I think it would be really helpful if you could document what you learn as you traverse this situation, so that other may benefit as well. Perhaps a gentoo forum topic in addition to this ML might be appropriate. Also, I have seen around some talk about running a setup like this on a WRT router running DD-WRT and another system called packetprotector running openwrt [3] [1] http://dansguardian.org/ [2] http://www.linux.com/archive/feature/113733 [3] http://packetprotector.org/ Cheers and good luck, Matt -- Matthew W. Summers quantumsummers | trustee, gentoo foundation I'm using this tool for general filtering of stuff. http://www.gentoo-wiki.info/Moblock It's not exactly what you need, but it worth a check, because it gets list of sites, so maybe you can add special lists to Moblock that filter sites that are not for teens. Take care that I would use a proxy site to surf the web to overcome your filtering, so this also should be banned. To check it search google for anonymous proxy or something similar. After you do implement those solutions, check that your boy don't spent more time in the neighbor's home surfing the web ;-) If you can document your steps, as Matt said above, maybe on http://en.gentoo-wiki.com, it will be very good for all of us. Regards, Kfir
Re: [gentoo-user] Freemind - big can of worms
On Wed, Nov 3, 2010 at 11:36 PM, Dirk Uys dirkc...@gmail.com wrote: On Wed, Nov 3, 2010 at 10:23 PM, Alan McKinnon alan.mckin...@gmail.comwrote: [snip mind-boggling amount of emerge output...] Sorry about that :) Can you get by without pdf and svg support in freemind? You will lose jms but still need to install half of Sun's (oops, sorry - Oracle's) public repos just for java. $ USE=-pdf -svg emerge -pvt freemind Thanks, I think I will most likely go this route. First prize would be to get a mindmapper simular to freemind for KDE or Qt. Any suggestions? Regards Dirk Is this something that can work? http://basket.kde.org/ Kfir
Re: [gentoo-user] Freemind - big can of worms
On Wed, Nov 3, 2010 at 9:18 PM, Dirk Uys dirkc...@gmail.com wrote: Hi Everyone I wanted to install freemind, did a emerge -uavNDt freemind, this is what I get: [ebuild N] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex 14,714 kB [ebuild N] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source 14,798 kB [ebuild N] dev-java/batik-1.7-r2 USE=python -doc -tcl 14,708 kB [ebuild N]dev-java/rhino-1.7.2-r2 USE=-doc -examples -source 2,946 kB [ebuild N] dev-java/xml-xmlbeans-1.0.4_pre20041217 USE=-doc -source 2,380 kB [nomerge ] dev-java/xml-xmlbeans-1.0.4_pre20041217 USE=-doc -source [nomerge ] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test [nomerge ] dev-java/jdom-1.0-r4 USE=-doc -examples -source [ebuild N]dev-java/jdom-jaxen-1.0-r1 3,489 kB [ebuild N] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test 265 kB [ebuild N] dev-java/jdom-1.0-r4 USE=-doc -examples -source 0 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [nomerge ] dev-java/ant-trax-1.8.1 [ebuild N] dev-java/ant-apache-xalan2-1.8.1 0 kB [ebuild N]dev-java/ant-trax-1.8.1 0 kB [nomerge ] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source [ebuild N] dev-java/avalon-framework-4.2.0-r1 USE=-doc -source 68 kB [ebuild N] dev-java/avalon-logkit-2.1-r4 USE=-doc -source -test 59 kB [ebuild N]java-virtuals/jms-1.1 0 kB [ebuild N] dev-java/glassfish-jms-api-1.1.2.2.04 USE=-doc -source 38,884 kB [ebuild N]java-virtuals/javamail-1.0-r1 0 kB [ebuild N] dev-java/sun-javamail-1.4.3 USE=-doc -source 1,148 kB [ebuild N] java-virtuals/jaf-1.1-r1 0 kB [nomerge ] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test [ebuild N] dev-java/xom-1.0-r7 USE=-doc -examples -source 3,317 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/simplyhtml-0.13.1 USE=-doc -source 463 kB [ebuild N] dev-java/gnu-regexp-1.1.4-r2 USE=-doc -source 161 kB [nomerge ] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source [ebuild N] java-virtuals/servlet-api-2.2 0 kB [ebuild N] dev-java/tomcat-servlet-api-3 USE=-doc -source 64 kB [ebuild N] dev-java/xmlgraphics-commons-1.3.1 USE=jpeg -doc -examples -source -test 734 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/xsd2jibx-0.2a_beta-r2 USE=-doc -source 939 kB [ebuild N] dev-java/jibx-1.1.5-r1 USE=-doc -source 6,630 kB [ebuild N]dev-java/dom4j-1.6.1-r3 USE=-doc -source -test 9,463 kB [ebuild N] dev-java/msv-20050627-r2 USE=-doc -source 3,703 kB [ebuild N] dev-java/iso-relax-20050331-r2 USE=-source 681 kB [ebuild N] dev-java/jsr173-1.0-r1 USE=-doc -source 625 kB [ebuild N] dev-java/jaxme-0.5.2 USE=-doc -source 5,351 kB [ebuild N] dev-db/hsqldb-1.8.1.2-r1 USE=-doc -source -test 3,435 kB [ebuild N]java-virtuals/servlet-api-2.3 0 kB [ebuild N] dev-java/tomcat-servlet-api-4.1.36 USE=-doc -source 3,629 kB [ebuild N] dev-java/antlr-2.7.7 USE=cxx java python -debug -doc -examples -mono -script -source 0 kB [ebuild N] dev-java/xmldb-2001-r1 USE=-doc -source 36 kB [ebuild N] dev-java/xpp2-2.1.10-r1 USE=-doc -source 2,257 kB [ebuild N]java-virtuals/stax-api-1-r1 0 kB [ebuild N] dev-java/jgoodies-forms-1.3.0 USE=-doc -examples -source 1,290 kB [nomerge ] dev-java/jdom-jaxen-1.0-r1 [nomerge ] dev-java/jdom-1.0-r4 USE=-doc -examples -source [ebuild N] dev-java/saxpath-1.0-r2 USE=-doc -source -test 2,116 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/javahelp-2.0.02_p46 USE=-doc -examples -source 6,367 kB [ebuild N] dev-java/servletapi-2.4-r5 USE=-doc -source 4,684 kB [nomerge ] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source [ebuild N] dev-java/commons-io-1.4 USE=-doc -source -test 231 kB [nomerge ] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test [nomerge ] dev-java/dom4j-1.6.1-r3 USE=-doc -source -test [ebuild N] dev-java/xsdlib-20050627-r2 USE=-doc -source 786 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/ant-nodeps-1.8.1 0 kB [ebuild N] dev-java/commons-lang-2.4 USE=-doc -source -test 511 kB [nomerge ] dev-java/dom4j-1.6.1-r3 USE=-doc -source -test [ebuild N] dev-java/relaxng-datatype-1.0-r1 USE=-doc -source 73 kB [ebuild N] dev-java/xpp3-1.1.4c-r1 USE=-doc -source -test 938 kB The indentation is a little weird in the pasted
Re: [gentoo-user] Freemind - big can of worms
On Wed, Nov 3, 2010 at 11:56 PM, Kfir Lavi lavi.k...@gmail.com wrote: On Wed, Nov 3, 2010 at 11:36 PM, Dirk Uys dirkc...@gmail.com wrote: On Wed, Nov 3, 2010 at 10:23 PM, Alan McKinnon alan.mckin...@gmail.comwrote: [snip mind-boggling amount of emerge output...] Sorry about that :) Can you get by without pdf and svg support in freemind? You will lose jms but still need to install half of Sun's (oops, sorry - Oracle's) public repos just for java. $ USE=-pdf -svg emerge -pvt freemind Thanks, I think I will most likely go this route. First prize would be to get a mindmapper simular to freemind for KDE or Qt. Any suggestions? Regards Dirk Is this something that can work? http://basket.kde.org/ Kfir Maybe this http://embedsoftdev.com/software-engineering/mind-map-and-mind-mapping-software/ will add to the fun. Kfir
[gentoo-user] Search for a file that is not installed in the system?
Hi, Is there a way to search for a file that I can install, but is not currently installed in the system? For example: $ equery belongs zzdir [ Searching for file(s) zzdir in *... ] dev-libs/zziplib-0.13.59-r1 (/usr/bin/zzdir) $ eix -I zziplib [I] dev-libs/zziplib Available versions: 0.13.58-r1 0.13.59-r1 {doc sdl static-libs test} Installed versions: 0.13.59-r1(09:22:31 10/30/10)(sdl -doc -static-libs -test) Homepage:http://zziplib.sourceforge.net/ Description: Lightweight library used to easily extract data from files archived in a single zip file Here zziplib is installed. I would like equery return the same output when zziplib is not installed. Is it possible? Regards, Kfir
[gentoo-user] How should I keep my contacts ?
Hi, I'm looking for a way to keep my contacts. What I prefer is a server with database, lets say sqlite, and a front end. I need to read again the LDAP configuration, but wanted to know if there is something similar but less tedious. Regards, Kfir
Re: [gentoo-user] How should I keep my contacts ?
On Wed, Oct 27, 2010 at 4:00 PM, Alan McKinnon alan.mckin...@gmail.comwrote: Apparently, though unproven, at 15:40 on Wednesday 27 October 2010, Kfir Lavi did opine thusly: Hi, I'm looking for a way to keep my contacts. What I prefer is a server with database, lets say sqlite, and a front end. I need to read again the LDAP configuration, but wanted to know if there is something similar but less tedious. akonadi -- alan dot mckinnon at gmail dot com Is there something that don't involve kde or gnome? I'm running a clean fluxbox. Tnx, Kfir
Re: [gentoo-user] Laptop
On Tue, Oct 26, 2010 at 4:25 PM, Alan McKinnon alan.mckin...@gmail.comwrote: Apparently, though unproven, at 14:03 on Tuesday 26 October 2010, Roger Cahn did opine thusly: Hi, I want to buy a laptop Asus N series, but could anybody tell me if its possible to use it with Gentoo-Linux? And in case of yes, if it's a good choice? Thank you Roger Does it have Intel cpus? Then you can use it. Will it work with the supplied wifi card? I haven't the foggiest clue mostly as I don't know what card it has. To get a sensible answer on a question like that, you MUST supply the entire spec of all the hardware you intend to buy. Only then can people offer an opinion on how good or otherwise the drivers are. The way you composed that mail, everyone else will need to do the research on the hardware for you. Most of us would rather you did that bit yourself. -- alan dot mckinnon at gmail dot com If you are able to run on a laptop like this the commands: lspci cat /proc/cpuinfo It will give a good insight of the spec of this laptop. I would take with me a live gentoo cd and try to run it on this laptop in the store. One more thing, If the wireless card is not supported, I think that you can buy one that is supported by linux for 30$. Just make sure you know how to change the cards. Reagards, Kfir