Re: [gentoo-user] Update BIOS with 4MB .exe
On 16 April 2012 11:48, Markus Kaindl markus.kai...@stusta.mhn.de wrote: Hi, did you try, if your DELL is supported by libsmbios? http://www.gentoo-wiki.info/Dell_BIOS_Upgrade Worked for me on 3 DELL-Computers (1 Desktop and 2 Laptops). Markus Please link people to the maintained version of the wiki, not the archive (that's .com, not .info) http://en.gentoo-wiki.com/wiki/Dell_BIOS_Upgrade Most of that page describes multiple ways of getting a .hdr file to flash the bios from. Dell provides extracted .hdrs, so there's no need to extract from a .exe. I have used smbios a few times in the past, and haven't had any trouble with it.
Re: [OT] Re: [gentoo-user] Anybody have kdebluetooth working?
On 28 February 2012 00:39, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Monday 27 February 2012 23:29:35 Robin Atwood wrote: Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling Please check the spelling of the third word in that quotation. I'm pretty certain that somewheres is purely American, which of course Kipling was not. He was, however, a poet, which gives him the teensiest bit of lee-way. http://en.wikipedia.org/wiki/East_of_Suez Please don't send html emails to the list, nor correct the grammar/spelling of a quotation that you have not googl'd for verification. Alternately, you may contact Mr. Kipling directly.
Re: [gentoo-user] Anybody have kdebluetooth working?
On 27 February 2012 23:29, Robin Atwood robin.atw...@attglobal.net wrote: I am glad we had this little chat! I always pass my kernel configs from release to release, so I went and checked the bluetooth section, and lo, it looks like it got reorganised some time after version 3.0.0 and lots of options were no longer checked. Fixed that and now bluetooth works: I can transfer files and browse the phones storage. Thanks for giving me a nudge. :) Are you aware of make oldconfig, which will interactively walk you through the changes to the config layout?
Re: [gentoo-user] Freeing up disk space problem!!
On 28 February 2012 11:37, trevor donahue donahue.tre...@gmail.com wrote: In situations like this I start deleting /var/tmp/*, /tmp/*, /usr/portage/distfiles/*, maybe do even a revdep-rebuild to fix something, but even then I'm left with no more then 100 mb, which obviously is not enough ... Lots of good advice already, but I thought that I'd chime in to suggest that you use `eclean` to free up space in distfiles, but only removing downloaded files which aren't going to be used again. This means that you don't need to re-download if you re-merge, and lightens server load. Another obvious suggestion: unless you're on a very constrained system, consider re-partitioning to give yourself more root space -- I very happily ran gentoo inside ~7 GiB for a very long time without needing to shuffle things about. I recently bought one of these and a 16GiB SD card to quickly add space to my HTPC without disassembly (and warranty-voiding). http://www.dealextreme.com/p/kawau-world-s-smallest-microsd-transflash-tf-sd-sdhc-usb-2-0-card-reader-keychain-25558
Re: [gentoo-user] [OFF] string1!string2!string3 notation
On 27 February 2012 14:27, Florian Philipp li...@binarywings.net wrote: Am 27.02.2012 15:04, schrieb Claudio Roberto França Pereira: I'm reading Writing Solid Code, by Steve Maguire, and at the end of the book there is an about the author section that mentions two contact addresses: one is an email, the other is microsoft!storm!stevem. The book is from 1993, so that should be an old address, for an old protocol. So what? That's not enough for my curiosity. Anyone does know where this came from? -- Claudio Roberto França Pereira That's a bang path from UUCP. http://en.wikipedia.org/wiki/Uucp Bang paths of eight to ten machines (or hops) were not uncommon in 1981, and late-night dial-up UUCP links would cause week-long transmission times. shudder
Re: [gentoo-user] wicd will not connect to wireless network
On 26 February 2012 17:00, Dan Johansson dan.johans...@dmj.nu wrote: On Sunday 26 February 2012 13.43:13 Dan Johansson wrote: On Sunday 26 February 2012 10.52:58 Willie WY Wong wrote: You guys are almost certainly running into the same problem as the one I mentioned in the thread I just started. Try `pkill dhcpcd` and associate again. Unfortunately I couldn't figure out why all of a sudden dhcpcd decides to start on boot. Yes, that was it, killing the dhcpcd made it possible to bring the interface up and associate with the AP. As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I assume (guess) that is why dhcpcd gets started at boot. Now I just have to figure out a way to stop this from happening. The problems seems to be that dhcpcd was started automatically as soon as a service needed the network - in my case dhcpcd was started due to /etc/init.d/sshd. At the moment I have solved it with putting rc_dhcpcd_provide=!net in /etc/rc.conf which prevents dhcpcd to start when sshd is started and wicd can now do it's magic. Ah, I could really have done with this thread earlier, but gmail had decided that it was spam :-/ What is strange is that it seems to work for some networks, but not for others, and I can't figure out how to predict on which dhcpd with succeed and on which it will not. I have access to three APs here (each with different SSIDs), and I can only connect to one of them; the other two have the dhcp failure. Very strange.
Re: [gentoo-user] Is Gentoo for me?
On 26 February 2012 17:10, John irgu...@gmail.com wrote: On Sunday, February 26, 2012 09:50 Alan McKinnon wrote: snip Assuming you have a handy Linux LiveCD (any distro) it's better to download the stage3 as these are built daily and of all the available methods, it's the most recent. But beware that you will still need to download almost all the source code all over again with the first update, and this is somewhere around 2G if you use KDE or Gnome. Aha! So the stage 3 tarball's I'm seeing at http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3/ won't be the same as what the 12.0 DVD will have, correct? The stage tarballs are just the barest minimum stuff, with only a few window managers and no DE's, correct? So, what I basically was right about at first, the only *real* problem I'll have with trying to run a Gentoo system is my dial-up (presuming I can get along just fine with command line stuff and whatever). Still...if I absolutely *must* do an update of some kind of huge MB download thing, can I not just go to the gentoo sources webpage, download whatever it was I needed (being on someone's fast pipe of course), put that on a CD or DVD, take it back home and have the update app install it from said CD or DVD? If this is possible, then I just might have this thing licked! To do an install offline , you will need: - An installation environment (any LiveCD at all, or another linux/freebsd(?) install on the same machine) - A stage3 to unpack (this is the base of your install) - A portage snapshot (today's list of packages which are installable and scripts to install them). Once you have the stage and snapshot unpacked, you will hit a point where you need the source of some packages to continue (grub and a kernel, as a bare minimum). At this point, the handbook will tell you to emerge foo. If instead you run emerge -fp foo get-these.txt, you will get a list of links to all the files that you will need to download to continue. Take this to the nearest internet, and put the files in /usr/portage/distfiles, and compile away!
Re: [gentoo-user] Invalid boot diskette what do I do?
On 23 February 2012 21:29, Grant emailgr...@gmail.com wrote: [snip] I'm amazed but disconnecting and reconnecting the IDE and power cable fixed it. Which is your favorite tool for testing a HD's integrity with and without S.M.A.R.T. support? [I] gnome-extra/gsmartcontrol [1] Available versions: (~)0.8.6 {debug} Installed versions: 0.8.6(16:47:27 13/02/12)(-debug) Homepage:http://gsmartcontrol.berlios.de/ Description: Graphical user interface for smartctl [1] sunrise /var/lib/layman/sunrise Is a great (and sorely needed) frontend for smartmontools - it even colours lines in red when they indicate imminent failure! Make sure that you have read the Google paper before trusting SMART too far though -- they found (among other things) that it only accurately predicts failure in 50% of cases.
Re: [gentoo-user] Anybody have kdebluetooth working?
On 23 February 2012 12:39, Robin Atwood robin.atw...@attglobal.net wrote: I have just tried to send a file from my phone to my laptop running KDE 4.8.0 and it fails; the two devices never bind. When I set up the laptop it was running KDE 4.6.3 and bluetooth worked fine. The BlueZ libraries have changed substantially since, I think. Using 'hcitool inq' works fine, it's the KDE dialogs which sit there searching endlessly. Any recommended settings for /etc/bluetooth/*? Doc is a bit hard to come by. TIA -Robin Not exactly on-topic, but I recently got my bluetooth headset working without any major hassle using net-wireless/gnome-bluetooth by - Building the appropriate communications-types modules - Starting the bluetooth init script - Running bluetooth-wizard to pair and bluetooth-applet to connect/disconnect
Re: [gentoo-user] Re: libreoffice-3.4.5.2: getting LibreOffice Help fails
On 19 February 2012 23:08, Hartmut Figge h.fi...@gmx.de wrote: Hartmut Figge: But first i should look into that ominous xdg-open. 'man xdg-open' didn't help much, but xdg-open is part of xdg-utils. And there is e.g. xdg-settings. Looking into 'man xdg-settings' and then hafi@i5_64 ~ $ xdg-settings --list Known properties: default-url-scheme-handler Default handler for URL scheme default-web-browser Default web browser hafi@i5_64 ~ $ xdg-settings get default-web-browser xdg-settings: unknown desktop environment No wonder, there is not such thing as a desktop environment here. Now it seems that libreoffice assumes that it is run in a desktop environment. Grmbl. Hartmut xdg-open is intended to select an appropriate binary using the MIME type of the argument file. In the absence of gnome-open or kfmclient (the KDE equivalent), it's supposed to parse the files in .local to determine what to open. If you create an appropriate binding to your browser, that should do the trick (using xdg-mime, which is cumbersome but does the job).
Re: [gentoo-user] I want to play movies without hangs
On 18 February 2012 05:45, Alex Schuster wo...@wonkology.org wrote: Walter Dnes writes: On Thu, Feb 16, 2012 at 04:29:48PM +0100, Alex Schuster wrote Then my hardware broke, and I got new one... I had ***EXACTLY THE SAME PROBLEM ON A FRESH INSTALL***. In My case it was a 4+ year old Dell with onboard Intel GPU that was having problems playing NHL Gamecenter Live streams at the slowest speed. I solved the problem and sped up everything by doing... 1) emerge system 2) emerge world 3) rebuild the kernel and reboot Good idea, Walter! But not in my case. The system had been set up long ago, and I did an emerge -e @world in the past already. A fresh install will have the stage 3 binaries built with lowest-common-denominator x86 or amd64 code (depending if you chose 32 or 64 bit install). This is necessary in order to allow the install code to run on all CPUs with the target platform. The downside is that you lose all the optimisations that make Gentoo scream. Rebuilding the install as described above builds optimized (i.e. faster) binaries. My CFLAGS line in /etc/make.conf is... CFLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe CXXFLAGS=${CFLAGS} I had those, when I upgraded the hardware: CFLAGS=-march=k8-sse3 -mfpmath=sse -O2 -pipe Or something very silimar. But I also just did an emerge -e @world on the new system, using more sophisticated CFLAGS. I got them by doing like suggested on [*], using what -march=natve would do. And adding support for this graphite stuff. They are: CFLAGS=-pipe -march=amdfam10 -O2 \ -floop-interchange -floop-strip-mine -floop-block \ -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -m3dnow \ -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx \ --param l1-cache-size=16 --param l1-cache-line-size=64 \ --param l2-cache-size=2048 Before rebuilding your system, go over your USE flags to make sure you've got the maximum optimization. To find out what your CPU supports, execute the command grep flags /proc/cpuinfo | head -1 This will define the limits what your system can support. For instance, mplayer can use the following flags... waltdnes@d530 ~ $ emerge -pv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/mplayer-1.0_rc4_p20110322-r1 USE=X a52 alsa ass dga encode gif jpeg mmx mmxext mng mp3 opengl png quicktime real rtmp sse sse2 ssse3 theora truetype win32codecs x264 xv xvid xvmc -3dnow -3dnowext -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdio -cdparanoia -cpudetection -custom-cpuopts -debug -dirac -directfb -doc -dts -dv -dvb -dvd -dvdnav (-dxr3) -enca (-esd) -faac -faad -fbcon -ftp -ggi -gsm -iconv -ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad -md5sum -mpg123 -nas -network -nut -openal -osdmenu -oss -pnm -pulseaudio -pvr -radio -rar -rtc -samba -schroedinger -sdl -shm -speex -tga -toolame -tremor -twolame -unicode -v4l -vdpau -vidix -vorbis -vpx -xanim -xinerama -xscreensaver -zoran VIDEO_CARDS=-mga -s3virge -tdfx -vesa 0 kB Your CPU will obviously support a different set of USE flags than mine. Check the files /usr/portage/profiles/use.desc for a list of global flags and /usr/portage/profiles/use.local.desc for package-specific flags. These are my USE flags for mplayer, they should be fine: [ebuild R ] media-video/mplayer-1.0_rc4_p20120213 USE=3dnow 3dnowext X a52 aalib alsa ass cdio dga directfb dts dv dvb dvd dvdnav enca encode faad fbcon ftp ggi gif iconv ipv6 jack jpeg jpeg2k live mad mmx mmxext mng mp3 nas network openal opengl osdmenu oss png pnm quicktime rar real rtc samba sdl shm speex sse sse2 ssse3 theora toolame tremor truetype twolame unicode vorbis x264 xinerama xscreensaver xv xvid (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -doc (-dxr3) (-esd) -faac -gsm -joystick -ladspa -libcaca -libmpeg2 -lirc -lzo -md5sum -nut -pulseaudio -pvr -radio -rtmp -tga -v4l -vdpau (-vidix) (-win32codecs) -xanim -xvmc -zoran VIDEO_CARDS=-mga -s3virge -tdfx 0 kB Now I'm bulding a new kernel, using genkernel, and without providing a custom made .config. Just in case I have some weird setting somewhere (debug output for SCSI stuff or something like that). [later...] So I did. Argh. I thought genkernel was smart enough to generate a working kernel from scratch, if no existing .config would be given. But the initramfs could not open my encrypted root partition, until I compiled XTS and AES directly into the kernel, not only as modules. Genkernel did not include modules for my NIC, somewhat annoying because I had to wait several minutes for mysql to start, until I could open a root shell. KDM was already running at that time, but I only saw a blank screen, because the radeon stuff was not compiled with KMS. There's also something
Re: [gentoo-user] Invalid boot diskette what do I do?
On 17 February 2012 20:47, Grant emailgr...@gmail.com wrote: LOL. Except not really. Am I totally screwed or is there some little-known method for kick-starting an apparently dead HD? Everything was fine until it was rebooted. Multiple reboots always come back to: Invalid Boot diskette- Enter BOOT diskette into A: Cracks about how if the system is old enough to have a floppy drive then it's overdue for a dead HD are appropriate. This worked for me moderately well recently: http://superuser.com/questions/1078/harddrive-in-the-freezer-ever-work-for-you ... in that I was able to get enough files off it to putter along until I could restore from backups.
Re: [gentoo-user] slim keyboard layout
On 16 February 2012 09:10, András Csányi sayusi.a...@gmail.com wrote: Dear All, I have been googling for a while to find the answer for the question how on earth I'm able to set up the default keyboard layout of slim, but I haven't find any answer for this. A few articles say that if the keyboard layout is set up in xorg.conf than it will be okay. It doesn't work. I haven't find any option to set up in /etc/slim.conf file and I also haven't find any information about it in the gentoo documents. So, I would like to know that somebody does know the answer for this question? Thanks in advance! András I really doubt that slim has any keyboard-layout functionality - it should be defined by xorg.conf. It's possible that you have a complex DE (gnome/kde), which overrides the X settings when it loads, as I assume that your problem is only in slim, and not also in your DE. A look at your Xorg.0.log, and some more explanation of your situation would be helpful :)
Re: [gentoo-user] HTPC and Gentoo
On 12 February 2012 00:11, Alecks Gates fuzzylunk...@gmail.com wrote: On Feb 11, 2012 6:54 PM, Michael Mol mike...@gmail.com wrote: So I've got Inara in position to be my HTPC box. Tried installing MythTV, but I can't make heads or tails of how to have it do the things I'd like it to do: * Play DVDs inserted into the DVD drive * Hit streaming websites like Netflix, Hulu, Amazon Prime, Youtube, etc. * Play video and audio files I already have. * Launch games like StepMania and/or Frets on Fire. XBMC should do everything you're looking for, with a few plugins (launcher, youtube, bluecop?). I don't know the state of Hulu or Netflix (last I checked Netflix doesn't work due to Mono (Moonlight) DRM issues), but the xbmc forums should have that info. It's a very lovely program, and is just about to come out with a new release too. +1 Although you'll need to hack around to get calling to external applications working (Stepmania), and at least historically, XBMC has pretty high CPU usage when in the background. For video capture, you're stuck using Myth, but there's xbmc-myth connectivity in the new release. (I think that it's a new feature, at least)
Re: [gentoo-user] Slow not in sync movie playing with mplayer2, ffmpeg, x264 with intel core i5
On 12 February 2012 08:51, Kfir Lavi lavi.k...@gmail.com wrote: 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 threads=2 is a nice option to try in most circumstances. :) You should also make sure that XVideo is set up correctly (if that's what you're using). `xvinfo` will inform you of that. Try some other -vo options. You should also try media-video/mplayer (which is a separate project) The console output from mplayer2 itself would also help. Finally, your lspci output would be more useful if you ran `update-pciids` beforehand.
Re: [gentoo-user] wireless newbee needs help
On 9 February 2012 17:00, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, it's the first time I have to set up a wireless network on a notebook. Save yourself some hassle and use either wicd or NetworkManager - both wrap wpa_supplicant, and make for a much smoother mobile experience.
Re: [gentoo-user] Re: amarok fade down
On 5 February 2012 17:01, Nikos Chantziaras rea...@arcor.de wrote: On 02/05/2012 06:02 PM, Canek Peláez Valdés wrote: In short, both GStreamer and VLC can do anything that Xine do, and they probably do it better. If something is not working properly, it probably is a problem with the integration with KDE (via phonon). This should be fixed by them in a short time. Stuff doesn't get fixed. Instead, new bugs keep piling up. KDE is going down the drain. If the trend continues, KDE 4.9 will be of the same stability as 4.0. I'm actually a little surprised that there isn't a fork of KDE 3.5 going somewhere ...
Re: [gentoo-user] Re: amarok fade down
On 5 February 2012 17:19, James Broadhead jamesbroadh...@gmail.com wrote: On 5 February 2012 17:01, Nikos Chantziaras rea...@arcor.de wrote: On 02/05/2012 06:02 PM, Canek Peláez Valdés wrote: In short, both GStreamer and VLC can do anything that Xine do, and they probably do it better. If something is not working properly, it probably is a problem with the integration with KDE (via phonon). This should be fixed by them in a short time. Stuff doesn't get fixed. Instead, new bugs keep piling up. KDE is going down the drain. If the trend continues, KDE 4.9 will be of the same stability as 4.0. I'm actually a little surprised that there isn't a fork of KDE 3.5 going somewhere ... Unduly, it turns out! http://www.trinitydesktop.org/
Re: [gentoo-user] [OT as it gets. Sorry] Windoze 7 and reinstalling error.
On 2 February 2012 15:34, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Feb 1, 2012 at 7:06 PM, Dale rdalek1...@gmail.com wrote: Your reply made me think of something. I had a XP reinstall once that required a number from MS because of the new mobo and hard drive. They said it recognized the change in the serial numbers. When I ran into that before tho, it installed fine but gave 30 days to put in the number. Does winders 7 have something similar? When you install Windows 7, Vista or XP (SP3 or newer), you can actually skip the product key step and it'll install as a trial version (30-day? 90-day? something like that). You can then upgrade to the real version by activating it when you're comfortable that everything is working properly -- or don't activate it at all and install Gentoo. Trying to keep it on-topic. :) This problem isn't related to Activation (which a lot of people have been describing). Those errors tend to be pretty explicit. In my experience, Windows 7 is relatively lax at install-time, and will give you 30 days leeway before it demands a key (which may or may not require calling the hotline). I'd say that you've either been hit by; - An incorrect OEM disk that's checking the BIOS for some kind of Manufacturer flag (and not getting what it wants). - A BIOS setting that Win7 doesn't like working with (I think that IDE-compat/AHCI is a good avenue of approach). Mike's link looks good (http://support.microsoft.com/kb/2466753) Also, install Linux, jeez :3
Re: [gentoo-user] Floppy support question for old farts. lol
On 30 January 2012 13:09, Michael Hampicke gentoo-u...@hadt.biz wrote: Technically, they did, it was just impossible for an OS to make it actually work: http://blogs.msdn.com/b/oldnewthing/archive/2009/04/02/9528175.aspx From the comments: Barry Kelly: Win95 Setup *does* make the floppy drive grind, though, as have all versions of Windows Setup from 95 through to XP. (Speaking as an ex hardware technician who installed Windows hundreds of times.) Specifically, it makes the grinding noise when it's setting up the Start Menu items for the first time (it says). I personally suspect it's because it's creating the Send To shortcut, but that's only my suspicion. Honestly, given that it's a single bit check per hardware change, it doesn't seem like all that challenging of a feature. We could have had autorun.inf viruses almost 5 years earlier!
Re: [gentoo-user] Google privacy changes
On 26 January 2012 16:18, Michael Hampicke gentoo-u...@hadt.biz wrote: Within our dataset of visitors, one in 0 browsers have the same fingerprint as yours. Currently, we estimate that your browser has a fingerprint that conveys INF bits of identifying information. I think I broke it. I win? :) Sweet, panopticlick.eff.org got gentoo'd :) I wouldn't find it at all surprising if gentoo systems came out pretty unique; no standard set of fonts, for example.
Re: [gentoo-user] PDF export/import in LibreOffice
On 23 January 2012 20:55, Daniel Troeder dan...@admin-box.com wrote: On 23.01.2012 01:00, Philip Webb wrote: During my usual Saturday system update, I noticed LibreOffice 3.5.0.1 is now testing, while there's an upgrade of LO 3.4 in stable. I tried 3.5.0.0 when it was briefly released a few weeks ago, but PDF export was not working. Has anyone used it with LO 3.5.0.1 ? Also, I compiled LO 3.4.3.2-r1 with USE=pdfimport, but it refuses actually to import a PDF when presented with one. Does anyone know if/how it is possible to get that to work as well ? Lots of those functions need java - make sure you have it configured in Options-LO-Java. The problem I'd have is: $ sudo revdep-rebuild -ie -- -pv ... * Checking dynamic linking consistency [ 68% ] * broken /usr/lib64/libreoffice/share/extensions/pdfimport/xpdfimport (requires libpoppler.so.13) ... Which stems from using a binary package (app-office/libreoffice-bin-3.4.3.2-r1) I guess... Maybe you have the same problem? Thanks for this post - I've been needing to use this functionality for the last few days, and hadn't tried building libreoffice. I just built app-office/libreoffice-3.5.0.1 (cleverly without USE=pdfimport, so I installed oracle-pdfimport.oxt manually), and although it took quite a lot of CPU time to Import, it's now working. Thanks again, James
Re: [gentoo-user] Resurrecting a Gentoo install
Ok, looks as though it's time for a manually-installed version of python to upgrade portage, then a portage-installed python:2.6 to bootstrap your way towards modernity. This is all explained here: http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml This may also help http://forums.gentoo.org/viewtopic-p-5578709.html
Re: [gentoo-user] Resurrecting a Gentoo install
On 21 January 2012 04:48, Grant emailgr...@gmail.com wrote: # emerge -avDuN system [snip] !!! All ebuilds that could satisfy =sys-auth/pambase-20081028 have been masked. !!! One of the following masked packages is required to complete your request: - sys-auth/pambase-20101024-r1 (masked by: EAPI 4) - sys-auth/pambase-20101024 (masked by: EAPI 3) USE=-pam emerge @system will avoid that particular block, although it may only get you as far as the next one. I seem to get an error like this from whatever I try to emerge. Is untarring a stage3 my only option? - Grant You don't have to do the entire stage3 at once, http://tinderbox.dev.gentoo.org/ has precompiled packages for the major arches and profiles. You could try to replace just pambase, pam, python, etc. -- whatever's giving you trouble. This was not my first recommendation because I've managed to break e.g. `tar` and `cp` before in the attempt at which point you have two rescues to attempt. The errors I'm getting seem to be complaining about emerging ebuilds with a higher EAPI number than my portage has. Should I just install the latest portage binary package? If so, how should I do that? - Grant What you need to do is upgrade portage incrementally, to increase your available EAPI. Versions available are ; sys-apps/portage Available versions: [M]2.1.6.7 2.1.6.13 2.1.10.11 2.1.10.41 (~)2.1.10.44 Try upgrading to 2.1.6.13 first, then 2.1.10.41 (perhaps with intermediaries in between)
Re: [gentoo-user] Gentoo + Macbook
I think that that last post might be a little misleading for a new user, I'd just like to clarify it a little bit. On 18 January 2012 15:23, Fernando Freire freir...@up.edu wrote: I've installed other distributions of Linux before on a MacbookPro and have found that installing GRUB to the boot record of sda is a Bad Idea. I can't comment on this part ... Instead, try installing GRUB to the partition that Gentoo is currently on (or wherever your /boot partition is mounted) such as (hd0,3). Installing grub (emerge grub), and installing it to the Boot Record (MBR) of a drive are very different things. Do you mean; grub root (hd0,0) and NOT grub setup(hd0) ? This would require the Apple bootloader to allow chainloading into a partition (and I have no clue if / how that is supported). Also, make sure that GRUB is compiled with support for the filesystem that you desire to use; I know for a fact that you have to have a particularly new version of GRUB to support EXT4 filesystems. grub is has supported ext4 since 2009 - it's kernel filesystem support that's most people mess up. Most gentoo users will still be using grub-0.99, which is years old. -r10 went stable on amd64 in 2010-07.
Re: [gentoo-user] Re: libreoffice-bin-3.4.3.2-r1 sun-jdk-1.6.0.29 on x86_64
On 16 January 2012 19:51, Hartmut Figge h.fi...@gmx.de wrote: walt: Oh, I forgot shotgun v.2 :) When faced with something as complex as libreoffice I usually create a brand new user account and try running it from there, to rule out breakage in my home directory. Fine to know about this. :) But... ;) I could try the unstable sun-jdk. I could try an old libreoffice. I could try other jdk's. Or i could just forget about java, because i never had missed it. *g* Hartmut I saw this earlier in the week, and did a little googling. It's actually looking for java-1.7 ; but seems to work fine with 1.6 (hence the lower DEPEND version).
[gentoo-user] Secure Cloud Backup
I have a pile of files, and a personal svn repo totalling around 13GiB which I want to back up to cheaply to 'the cloud'. I would also like it to be non-trivial for someone with access to the cloud servers to decrypt my data. I have a 50GB free account for Box.net, but would consider others if they have significant advantages. The box.net account is only allowed upload files of max 100MiB at a time. Now one problem facing me is that most cloud services don't give assurances of bit parity, so I'd like to be able to recover most of the files if I lost my local copies and there were bits missing from the uploaded backup. This makes the one-big-encrypted-file approach a no-go. My current approach is to use split-tar, with the intention of encrypting each file separately. (Is this worse / equivalent to having one big file with ECB ? ) http://www.informatik-vollmer.de/software/split-tar.php ...but this seems to have difficulty sticking below the 100MiB individual file limit (possibly there are too many large files in the svn history). Any thoughts? I'm sure that many of you face this problem.
Re: [gentoo-user] Allow non root users to edit files owned by root?
On 22 December 2011 15:41, Tanstaafl tansta...@libertytrek.org wrote: On 2011-12-20 11:00 AM, Florian Philipp li...@binarywings.net wrote: You should probably also restrict which files can be edited (not /etc/passwd, /etc/shadow or /etc/sudoers, for sure!). You can do this with globs. For example: %sudoroot sudoedit/var/www/* Ok, just found out that subdirectories are not included when doing it this way, and haven't found a way to include them... Please tell me there is a way, and I won't have to explicitly define every subdirectory under /var/www that they will need to be able to work in... Perhaps I missed it, but my approach to this would be to create a 'webadmin' group, and change the group of the directory (and applicable subdirs).
Re: [gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID
On Dec 13, 2011 12:25 a.m., Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Dec 12, 2011 at 6:03 PM, James Broadhead jamesbroadh...@gmail.com wrote: Does it happen to be a 2TB USB drive? I remember reading about problems with some of those. It works in Windows with the factory partition/FAT tables because of tricks they do to the addressing that works in Windows, but once you reformat it you can't access the 2TB areas. Something like that... As far as I recall, you could repartition to create a 2TB or smaller partition and that would work, but then the rest of the drive was inaccessible. So on returning to this machine, I see that another USB disk that I have connected to it is also having those messages printed about it. This leads me to suspect that it's either an ext4 bug or the situation that you mentioned above. Both are Western Digital 2TB disks; 1058:1130 Western Digital Technologies, Inc. 1058:1021 Western Digital Technologies, Inc. Elements 2TB There are 42 messages in quick succession for each disk, appearing to cycle through the same list of blocks twice. I'll attach the messages. I'm inclined towards the bad-usb-firmware idea - do you have a link to where you read about the 2TB partition problem ? I don't have much time to deal with this at the moment, so I think that I'll just power them down and wait until I do. The problem I was referring to was for drives LARGER than 2TB (I think the real limit hits somewhere around 2.1 or 2.2TB). So if your drives are 2TB then I don't think it's that problem. I use a 2TB external USB drive myself (LaCie brand, with a pair of spanned 1TB Samsung disks inside), formatted as ext4, and it works fine. However, that was not always the case. I had to replace the USB cable after I suffered a lot of corruption and random USB disconnects. Later on, the drive started going offline and making the click of death, and eventually failed to start up. It turned out to be a faulty power supply. They sent me a replacement free of charge, despite the drive being out of warranty, and it worked perfectly fine with the new power supply. And it has worked fine ever since. Actually, a bit more triage shows that these errors are triggered on mount, and only when using pmount. Mounting manually as root doesn't trigger them. I'll have another look through my logs to see if they've happened at other times, but for the moment I'll stop using pmount and see if it reoccurs.
Re: [gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID
On 2011-12-13, Walter Dnes waltd...@waltdnes.org wrote: On Tue, Dec 13, 2011 at 12:03:32AM +, James Broadhead wrote So on returning to this machine, I see that another USB disk that I have connected to it is also having those messages printed about it. This leads me to suspect that it's either an ext4 bug or the situation that you mentioned above. Both are Western Digital 2TB disks; 1058:1130 Western Digital Technologies, Inc. 1058:1021 Western Digital Technologies, Inc. Elements 2TB Could these disks be slightly larger than 2 TB? If you you use make menuconfig, the setting is... -*- Enable the block layer --- [*] Support for large (2TB+) block devices and files If you edit .config manually, set... CONFIG_LBDAF=y -- Walter Dnes waltd...@waltdnes.org No! It's the usual SI measurement. 1.8TiB in powers-of-two. I'll enable it anyway.
[gentoo-user] ext4 - fill_buffer on unknown block BLOCKID out of range
ext4: fill_buffer on unknown block BLOCKID out of range I have seen a number of these appearing in my dmesg recently for a new-ish external disk. I'm afraid that it's a paraphrase, as I am away from the machine at present. ckfs.ext4 -f comes back clean and smartmontools reports nothing out of the ordinary. I have been running Picasa through wine, which is probably the application using the disk. What does this error imply? I'm guessing that they are failed writes, but if so, why is ckfs reporting that the filesystem is clean? I'm guessing that it means that data has been lost, but am uncertain how to determine which files are bad. Any advice or help would be appreciated - James
[gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID
On 12 December 2011 14:14, James Broadhead jamesbroadh...@gmail.com wrote: ext4: fill_buffer on unknown block BLOCKID out of range Apologies; the correct message is: grow_buffers: requested out-of-range block 18446744072382021139 for device sdb1 This appears 42 times immediately following mount. Running picasa today, it informed me that one of the files I was working with was corrupted (but put the message in a box too small to read the full path). This makes me think that perhaps the disk is bad. Any advice, aside from the usual get your data off asap?
Re: [gentoo-user] Re: ext4 - grow_buffers: requested out-of-range block BLOCKID
On 12 December 2011 20:55, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Dec 12, 2011 at 2:33 PM, James Broadhead jamesbroadh...@gmail.com wrote: Apologies; the correct message is: grow_buffers: requested out-of-range block 18446744072382021139 for device sdb1 This appears 42 times immediately following mount. Running picasa today, it informed me that one of the files I was working with was corrupted (but put the message in a box too small to read the full path). This makes me think that perhaps the disk is bad. Any advice, aside from the usual get your data off asap? Does it happen to be a 2TB USB drive? I remember reading about problems with some of those. It works in Windows with the factory partition/FAT tables because of tricks they do to the addressing that works in Windows, but once you reformat it you can't access the 2TB areas. Something like that... As far as I recall, you could repartition to create a 2TB or smaller partition and that would work, but then the rest of the drive was inaccessible. So on returning to this machine, I see that another USB disk that I have connected to it is also having those messages printed about it. This leads me to suspect that it's either an ext4 bug or the situation that you mentioned above. Both are Western Digital 2TB disks; 1058:1130 Western Digital Technologies, Inc. 1058:1021 Western Digital Technologies, Inc. Elements 2TB There are 42 messages in quick succession for each disk, appearing to cycle through the same list of blocks twice. I'll attach the messages. I'm inclined towards the bad-usb-firmware idea - do you have a link to where you read about the 2TB partition problem ? I don't have much time to deal with this at the moment, so I think that I'll just power them down and wait until I do. On 12 December 2011 21:52, Florian Philipp li...@binarywings.net wrote: I've looked at the kernel code that causes the error message. It verifies that this is most likely a dead disk: Now that I have 2 from the same manufacturer, of similar vintage causing the same errors, it's probably not simultaneous failure (unless I'm super-unlucky!). It's also entirely possible that it's an ext4 bug, so I'll try with a different kernel; Linux broadhej-D830 3.1.2-gentoo #2 SMP PREEMPT Sun Nov 27 17:41:32 GMT 2011 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux ... although I didn't see this problem until recently. (Or maybe I just didn't notice it ... ) On 12 December 2011 22:44, Adam Carter adamcart...@gmail.com wrote: I've looked at the kernel code that causes the error message. It verifies that this is most likely a dead disk: It would be worth running smartctl from smartmontools to see what it knows of the disks status. Having suffered with a faulty power supply for a while, I'm pretty good with smartmontools - if you read the Google paper though, you'll see that it only predicts failure in ~50% of cases. Thanks though! James
Re: [gentoo-user] can one tell me: gentoo vs opensuse
On 12 December 2011 23:52, Indi thebeelzebubtrig...@gmail.com wrote: On Sat, Dec 10, 2011 at 03:40:02PM +0100, Pandu Poluan wrote: On Dec 10, 2011 8:50 PM, LinuxIsOne [1]linuxis...@gmail.com wrote: ((No wonder NASDAQ uses Gentoo for its infrastructure)) Indeed What a bunch of ricers :P
Re: [gentoo-user] What happened to OpenRC 0.9.6?
On 11 December 2011 10:41, Andrea Conti a...@alyf.net wrote: On 27/11/11 16.36, Nikos Chantziaras wrote: sys-apps/openrc-0.9.6 is just... gone? Not even masked, but completely gone from portage. FYI, sys-apps/openrc-0.9.7 is out. Apparently, the solution to the rc_parallel issues was to remove every mention of rc_parallel from the default /etc/rc.conf Brilliant. I didn't take this email at face value when I read it earlier, but I just merged my openrc-0.9.7 config file. Wow, what a cynical move. Perhaps someone could do some performance testing on rc_parallel to find out if it's worth fighting for as a feature.
Re: [gentoo-user] What happened to OpenRC 0.9.6?
On 11 December 2011 21:42, Michael Orlitzky mich...@orlitzky.com wrote: On 12/11/2011 01:10 PM, James Broadhead wrote: I didn't take this email at face value when I read it earlier, but I just merged my openrc-0.9.7 config file. Wow, what a cynical move. It's not cynical. If you put a cool-sounding option in there with a comment that says this will delete all of your documents, some idiot (i.e. me) is probably going to enable it. Parallel doesn't work correctly, and it shouldn't be enabled unless you're looking for fun ways to break stuff. It's worked for me ever since I switched all of my machines to OpenRC a year+(?) ago. We broke it, so let's just remove the comments about it _is_ a cynical response. Perhaps someone could do some performance testing on rc_parallel to find out if it's worth fighting for as a feature. The directive still exists, it's just been removed from the default rc.conf. This prevents people from thinking well, parallel is better than not parallel, so I'm gonna enable it. I should know, most of my machines still have it enabled and that was the extent of the research I did. Parallel _is_ better than Not Parallel - at least in general. I was proposing some concrete testing rather than data-less complaining, or allowing it to be brushed under the rug
Re: [gentoo-user] Lynx, Links, or Elinks?
On 9 December 2011 12:44, Mariusz Ceier mce...@gmail.com wrote: w3m,links and elinks. w3m and links as they support displaying images under framebuffer, and elinks for it's javascript support. If you don't need these features, any text browser is good for browsing html documentation :) Not too long ago, I was using elinks for the same reason, but found that sites were complaining about the amount of js support, telling me to upgrade :-( Afterthought: it was actually the Oracle website where I was going to get the jdk / documentation, which has gone back to being fetch-restricted :-( :-( :-(
Re: [gentoo-user] can one tell me: gentoo vs opensuse
On 8 December 2011 06:57, LinuxIsOne linuxis...@gmail.com wrote: On Wed, Dec 7, 2011 at 5:20 AM, Stroller strol...@stellar.eclipse.co.uk wrote: I tried Ubuntu, hated this *so* much. I'm sure all the respondents were just trying to be helpful, but they made Ubuntu look like the distro of idiots. How do you say like this? Can you give me an example please? The next time you have a problem with anything related to linux, follow a link to an Ubuntu user forum. Unfortunately, the quality of advice on them tends to be pretty low. :-(
Re: [gentoo-user] Can't build firmware into kernel
2011/12/8 Lavender lavender_mat...@163.com: I'm being working out with building KDE environment recently. Now I need installing Xorg first. As the The X Server Configuration HOWTO says, if I use radeon card ,then I need emerge radeon-ucode or linux-firmware package. Then I need rebuild my kernel with External firmware blobs . My video card belongs to radeon 4000 series, so I should add radeon/R600_rlc.bin radeon/R700_rlc.bin as it says into External firmware blobs . But when I make, it says that it can't find files that I specific.. Can anyone help? I maintain http://en.gentoo-wiki.com/wiki/Radeon , which should sort you out. If not, please post again I'll update the article to be more helpful.
Re: [gentoo-user] How can I keep baselayout-1?
On 8 December 2011 11:17, Jarry mr.ja...@gmail.com wrote: Hi, I just upgraded gcc and after switching to the new version I want to update system too. But it wants to emerge baselayout-2 as dependency of system: !!! All ebuilds that could satisfy sys-apps/baselayout have !!! been masked. One of the following masked packages is required !!! to complete your request: - sys-apps/baselayout-2.1::gentoo (masked by: package.mask, ~amd64 keyword) /etc/portage/package.mask: - sys-apps/baselayout-2.0.3::gentoo (masked by: package.mask) (dependency required by @system [argument]) I do not want to upgrade to baselayout-2, but I want to re-emerge system. So how can I do it now, when all 1.x versions have been removed from portage? I think that the standard answer is you can't. I mean, you could fetch an old copy of the ebuild from cvs, and add it to a local overlay, but you'd be completely unsupported (unsupportable?). A better question would be - Why do you want to?
Re: Re: [gentoo-user] Can't build firmware into kernel
2011/12/8 Lavender lavender_mat...@163.com: I maintain http://en.gentoo-wiki.com/wiki/Radeon , which should sort you out. If not, please post again I'll update the article to be more helpful. I'm sorry, cause the policy of Internet in my country, I can't open the webpage. Could you send it to me or use other methods? Please see my off-list reply.
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On 7 December 2011 15:58, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2011-12-07, Stroller strol...@stellar.eclipse.co.uk wrote: On 6 December 2011, at 23:25, Grant Edwards wrote: ... The Ubuntu documentation seems to be mainly user-forum threads full of wrong answers posted by people who didn't understand the question. I tried Ubuntu, hated this *so* much. I'm sure all the respondents were just trying to be helpful, but they made Ubuntu look like the distro of idiots. Ubuntu is intended to be usable by people ignorant of how Linux/Unix works. As such, it does tend to get used by people who are ignorant of how Linux/Unix works. Asking such a group for technical help is an express-train to frustration -- but there doesn't really seem to be anywhere you can ask questions of Ubuntu users who _do_ understand things. This actually expresses it quite well - because they dropped the barrier to entry, they end up with a much wider audience, but one which doesn't obsess over learning how their system operates as much as other distros. Additionally, Ubuntu suffers from the devs attempts to include the newest versions of packages as stable before the majority of distros think that they are ready[1], while trying to maintain wide 'it just works' compatibility. They also tend towards over-engineering around problems in linux / apt, rather than solving the root problem, or relying on their users to adapt or deal with it themselves.[2] Especially in the past, they have allowed their political views on Open Source / Free Software to interfere with the best user experience[3]. [1] Pulseaudio, KDE4 (others, I'm sure) [2] The grub2 config process in Ubuntu is torturous, and includes editing a file in /etc/defaults of all things. [3] The whole concept of 'restricted extras' is detrimental to distro usability, as is having a separate package-manager-frontend for installing them, as is a separate repository which is disabled by default.
Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse
On 8 December 2011 14:25, Michael Mol mike...@gmail.com wrote: On Thu, Dec 8, 2011 at 9:10 AM, James Broadhead jamesbroadh...@gmail.com wrote: Especially in the past, they have allowed their political views on Open Source / Free Software to interfere with the best user experience[3]. [3] The whole concept of 'restricted extras' is detrimental to distro usability, as is having a separate package-manager-frontend for installing them, as is a separate repository which is disabled by default. I'm not a fan of Ubuntu, but that really didn't start with them. *Debian* has it in a far worse way. As an example, say you're in my position and want Squid running as a website accelerator, and you want SSL support. Squid can do this. Except the binary packages Debian builds have SSL disabled because of fears of incompatible licenses between Squid and OpenSSL. Especially in the past _means_ 'back when they were closer to being Debian'. Things have improved over the years, but it's still difficult to get a codec-heavy mplayer in Ubuntu without building it manually for example.
Re: [gentoo-user] How can I keep baselayout-1?
On 8 December 2011 14:41, Jarry mr.ja...@gmail.com wrote: On 08-Dec-11 12:26, James Broadhead wrote: I do not want to upgrade to baselayout-2, but I want to re-emerge system. So how can I do it now, when all 1.x versions have been removed from portage? I think that the standard answer is you can't. I mean, you could fetch an old copy of the ebuild from cvs, and add it to a local overlay, but you'd be completely unsupported (unsupportable?). A better question would be - Why do you want to? This server is ~50 miles away, and if I screw something and it does not boot up, I will have to go there and fix it on place. One small typo in ~50 config-files which must be updated is just enough to cause it... Anyway I'm surprised that everything older than 2.0.3 has been simply thrown overboard, especially while it worked for us without a problem for many years... Personally, I quite like baselayout-2, and had a smooth time upgrading my 3 boxes - two in advance of stabilisation and one which did the baselayout upgrade as part of a normal upgrade. I only noticed when the latter asked me to merge the config files :P I suppose that your options for packages which depend back to baselayout are to hack their various config files / init scripts to make them baselayout-1 compatible, or to avoid upgrading them. You could clone your current install into a new /root, upgrade and set grub to boot into /root one time only, then to fall back to /bakroot. Slightly outside my expertise, but grub can be told to boot one option by default just once, and then to return to a different default subsequently. Good luck!
Re: [gentoo-user] can one tell me: gentoo vs opensuse
On 8 December 2011 15:10, LinuxIsOne linuxis...@gmail.com wrote: On Thu, Dec 8, 2011 at 9:29 AM, Alan McKinnon alan.mckin...@gmail.com wrote: Don't take our word for it, go look for yourself. I could give you examples of how that forum works, I could give you links that show what we are saying, but NOTHING can prepare you for what you really find on the Ubuntu user forums. Okay but at least Ubuntu is good for new users and Windows convert and for those doesn't it give a learning curve in Linux? That's debatable; it generally means that the amount of time that passes before they realise that Linux is not Windows is increased. It definitely gets them booted into a desktop environment quicker, but it doesn't really save on the learning curve - something will go awry sooner or later, and the fact that they've had the command-line hidden from them until that first fateful trip to the forums won't feel like such a benefit then.
Re: [gentoo-user] Changing names of LOTS of files, adding to them actually.
On Dec 1, 2011 3:32 p.m., Frank Steinmetzger war...@gmx.de wrote:: I used to get stuck in vi, but at some point I asked a friend to give me a proper introduction and now ... Now you're _completely_ stuck!
Re: [gentoo-user] Laptop - Switch video/audio output to HDMI?
On 29 November 2011 23:17, Mark Knecht markkne...@gmail.com wrote: Hi, I'm finally joining the 21st century having purchased my first new TV in more than 13 years. My laptop runs KDE with Nvidia drivers. I'm wondering what the process is to switch the audio video output of my laptop the its HDMI port? I'd like to try using xine to play DVDs. I assume in Linux I'm going to have to mess with both Alsa and X which in the end sounds like a disaster waiting to happen but I figure I might as well see if it's actually easier than I think. When running as a normal laptop the machine uses the nvidia-drivers package and the kernel's Intel HD Audio driver. If I want to deliver audio over HDMI do I need to switch to the Nvidia audio device? Makes sense but creates more problems testing if it doesn't work really easily. Anyway, just looking for someone to point me in the right direction. Thanks, Mark The gentoo-wiki page on the Acer Revo 3600 might help you here - different hardware, but it has a quick and dirty config.
Re: [gentoo-user] Changing names of LOTS of files, adding to them actually.
On 1 December 2011 10:55, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: On 12/01/2011 10:34:33 AM, Stroller wrote: On 1 December 2011, at 01:49, Dale wrote: ... I ran into a problem. I been downloading a lot of TV shows. I forgot to put a sort of important part in the names. This is what I have with the full path: /data/Movies/TV_Series/Person of Interest/Season 1, Episode 1 - Pilot.mp4 This is what I need it to be: /data/Movies/TV_Series/Person of Interest/Person of Interest - Season 1, Episode 1 - Pilot.mp4 I'm surprised that no one mentioned 'mmv', which I switched to from rename. It has nice simple syntax, which is good for the _one thing that it does_, which makes it nice and unixy. All I've ever needed (I use python for anything more complex) ? Single character match * String match until next token #1, #2 , #3 for first match, second match etc. cd /data/Movies/TV_Series/ # for all series mmv */* #1/#1-#2
Re: [gentoo-user] Install problem - SATA CD-ROM drive
On 26 November 2011 00:28, Albert W. Hopkins mar...@letterboxes.org wrote: Have you tried boot media other than the Gentoo livecd? I see that you have tried the SysRescueCD - have you tried the vanilla Gentoo LiveCD? I find that it is usually pretty resilient. In the past, I've found enabling legacy_ide mode helpful -- can't remember the exact line, but that's enough to start googling :) J
Re: [gentoo-user] Fonts.
On 26 November 2011 08:00, Stayvoid stayv...@gmail.com wrote: Hi there! I have some fonts which are not included in the repository. How can I install them? Cheers! Bad, works immediately: Put them in /usr/share/fonts Good: I'm sure that there is a setting for per-user font dirs in ${HOME} AMAZING: Copy the existing ebuilds in portage, edit them a bit for your new fonts, then submit them to Sunrise, so that ALL Gentoo users can use them! Pick one :)
Re: [gentoo-user] LibreOffice 3.4.4: required HDD space
On 20 November 2011 20:09, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 20 Nov 2011 18:58:22 + James Broadhead jamesbroadh...@gmail.com wrote: Seeing as the ebuild is 'aware' of CFLAGS and USE, it would be nice if it would use that information (roughly) to determine how much space to check for. 4-9GiB is a pretty wide range. A slight mis-measurement on how much space a specific setup needs results in a failed build, or a build that won't start or any amount of other craziness. Read the maintainer's blog sometime (it's on the gentoo.org frontpage) to get a sense of what it takes to maintain that bitch of a project. Something as simple as figuring out what packages LibreOffice bundles and making the ebuild use the system one instead is a mammoth task. Don't forget that every little tweak is 2 hours of building just to test if it builds. Then one has to test if it works I'm not surprised the OOo and LibreOffice ebuilds take the easy route - figure out by enabling everything the maximum amount of free space OOo ould possibly need to build, then insist the build host has at least that much free. Heck, I'd do exactly the same. I read the blogs, and I'm well aware of the difficulties. I suppose I'm pretty used to running my laptop pretty close to the wire space-wise, and so an ebuild asking for 9GiB when it only requires 5GiB would cause me to have to shuffle a lot of things around to no good end. Really though, it would be replacing one (inaccurate, but conservative) estimate with two such estimates. Still, nothing much to stress about.
Re: [gentoo-user] Vim stops installing when it runs installman.sh
On 21 November 2011 18:51, Dale rdalek1...@gmail.com wrote: James Broadhead wrote: Finally: You probably don't need the MAKEOPTS flag at all - try updating vim without it. ( `emerge -u vim` ) That about covers it ;) And don't forget the -1 or --oneshot option either. You are incorrect, vim definitely belongs in world. :wq :P
Re: [gentoo-user] Re: sed/awk question
On 22 November 2011 10:45, Nicolas Sebrecht nsebre...@piing.fr wrote: The 22/11/11, Joerg Schilling wrote: You seem to miss the fact that you are using gsed instead of sed. using -r makes scripts non-portable. You seem to miss the fact that the OP didn't asked for a portable script and didn't even talked about any system specification. So, it's _welcome_ to suppose he's using the most available implementation of sed on Linux distribution which is GNU sed. A: You are not using the original release of sed from 1973!! B: I'm using sed-justforme, with the --magic option. I'm pretty sure that on a linux mailing list, that the chances that he's asking for a GNU-sed compatible regex are pretty strong. Can't we all just get along? :)
Re: [gentoo-user] Vim stops installing when it runs installman.sh
On 21 November 2011 15:00, 1990 dqgcs dqgcs1...@gmail.com wrote: Hi Mick Here is my output ,Thanks for help!!! *** .-(~)-(ayu@Freedom )- `-- MAKEOPTS=-j1 emerge -uaDv app-editors/vim This action requires superuser access... Would you like to add --pretend to options? [Yes/No] yes These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-arch/bzip2-1.0.6-r3 [1.0.6-r2] USE=static-libs%* -static 0 kB [ebuild U ] dev-libs/icu-4.8.1-r2 [4.8] USE=static-libs -debug -doc -examples 18,241 kB [ebuild U ] dev-libs/libffi-3.0.10 [3.0.9-r2] USE=static-libs -debug -test 736 kB [ebuild U ] sys-libs/timezone-data-2011l [2011h] USE=nls 331 kB [ebuild U ] sys-devel/automake-wrapper-5 [4] 0 kB [ebuild U ] sys-apps/sandbox-2.5 [2.4] USE=(-multilib) 348 kB [ebuild U ] sys-apps/less-444 [441] USE=unicode 301 kB [ebuild U ] sys-kernel/linux-headers-2.6.39 [2.6.36.1] 4,583 kB [ebuild U ] dev-perl/IO-Socket-SSL-1.440.0 [1.35] USE=-idn 68 kB [ebuild U ] dev-util/gtk-doc-am-1.18 [1.17] 623 kB [ebuild U ] media-libs/freetype-2.4.7 [2.4.6] USE=X bzip2 static-libs -auto-hinter -bindist -debug -doc -fontforge -utils 1,456 kB [ebuild U ] dev-lang/python-2.7.2-r3 [2.7.1-r1] USE=gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -sqlite* -tk -wininst 11,494 kB [ebuild U ] dev-libs/libxml2-2.7.8-r3 [2.7.8-r1] USE=icu ipv6 python readline static-libs%* -debug -doc -examples -test 0 kB [ebuild U ] dev-libs/libxslt-1.1.26-r2 [1.1.26-r1] USE=crypt python static-libs%* -debug 0 kB [ebuild U ] dev-lang/python-3.1.4-r3 [3.1.3-r1] USE=gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -sqlite -tk -wininst 8,005 kB [ebuild U ] sys-apps/util-linux-2.19.1-r1 [2.19.1] USE=cramfs crypt ncurses nls unicode -loop-aes -old-linux -perl (-selinux) -slang (-uclibc) 0 kB [ebuild U ] sys-devel/binutils-2.21.1-r1 [2.20.1-r1] USE=nls static-libs -multislot -multitarget -test -vanilla 18,572 kB [ebuild U ] sys-devel/llvm-2.9-r2 [2.8-r2] USE=libffi -debug -llvm-gcc -multitarget -ocaml -test -udis86 -vim-syntax% 9,351 kB [ebuild U ] app-text/docbook-xsl-stylesheets-1.76.1 [1.75.2] 3,597 kB [ebuild U ] sys-apps/dbus-1.4.16 [1.4.12] USE=X static-libs -debug -doc (-selinux) -test 1,846 kB [ebuild U ] dev-util/ctags-5.8 [5.7] USE=-ada 469 kB [ebuild U ] dev-libs/dbus-glib-0.98 [0.92] USE=static-libs -debug -doc -test (-bash-completion%) 707 kB [ebuild U ] x11-misc/xdg-utils-1.1.0_rc1_p20111003 [1.1.0_rc1_p20110519] USE=-doc 1,141 kB [ebuild U ] sys-libs/pam-1.1.5 [1.1.4] USE=berkdb cracklib nls -audit -debug -nis (-selinux) -test -vim-syntax 1,584 kB [ebuild U ] sys-auth/polkit-0.102 [0.101-r1] USE=gtk introspection nls pam -debug -doc -examples -kde 860 kB [ebuild N ] app-editors/vim-core-7.3.266 USE=acl nls -bash-completion -livecd 0 kB [ebuild N ] app-editors/vim-7.3.266 USE=X acl gpm nls python -bash-completion -cscope -debug -minimal -perl -ruby -vim-pager 0 kB [ebuild U ] x11-libs/gtk+-2.24.5-r1 [2.24.4] USE=cups introspection (-aqua) -debug -doc -examples -test -vim-syntax -xinerama 12,942 kB [ebuild U ] media-libs/libpng-1.5.5 [1.4.8-r1] USE=static-libs -apng 670 kB [ebuild U ] x11-libs/gdk-pixbuf-2.24.0-r1 [2.22.1-r2] USE=X introspection jpeg -debug -doc -jpeg2k -test -tiff (-svg%*) 1,149 kB [ebuild U ] app-text/ghostscript-gpl-9.04-r4 [9.04-r3] USE=X cups dbus gtk static-libs -bindist -djvu -idn -jpeg2k LINGUAS=zh_CN -ja -ko -zh_TW 0 kB [blocks B ] x11-libs/libsexy-0.1.11-r3 (x11-libs/libsexy-0.1.11-r3 is blocking media-libs/libpng-1.5.5) [blocks B ] x11-libs/gdk-pixbuf-2.24.0-r1 (x11-libs/gdk-pixbuf-2.24.0-r1 is blocking media-libs/libpng-1.5.5) Total: 31 packages (29 upgrades, 2 new), Size of downloads: 99,064 kB Conflict: 2 blocks (2 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (media-libs/libpng-1.5.5::gentoo, ebuild scheduled for merge) pulled in by media-libs/libpng:0 required by (app-text/ghostscript-gpl-9.04-r4::gentoo, ebuild scheduled for merge) =media-libs/libpng-1.4.3:0 required by (net-print/cups-1.4.8-r1::gentoo, installed) =media-libs/libpng-1.4:0 required by (app-text/poppler-0.16.7::gentoo, installed) =media-libs/libpng-1.4:0 required by (x11-libs/gdk-pixbuf-2.24.0-r1::gentoo, ebuild scheduled for merge) media-libs/libpng:0 required by (x11-libs/cairo-1.10.2-r1::gentoo, installed) For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook
Re: [gentoo-user] LibreOffice 3.4.4: required HDD space
On 20 November 2011 18:32, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 20 Nov 2011 09:07:33 -0500, Michael Mol wrote: Ok, then I'll narrow my guess to the size required being dependent on USE flag combinations. Also CFLAGS and architecture, to a lesser extent. Seeing as the ebuild is 'aware' of CFLAGS and USE, it would be nice if it would use that information (roughly) to determine how much space to check for. 4-9GiB is a pretty wide range.
Re: [gentoo-user] Is it possible for F5 to delete all contacts in Kmail?!!!
On 17 November 2011 08:56, Alan McKinnon alan.mckin...@gmail.com wrote: +1 for dropping kdepim. I used to love kaddressbook and kontact (but a lot of that was enthusiasm about features that were just around the corner). I found that I was having consistent problems keeping my contacts between versions (fortunately, I had them all backed up as vcards in svn), and a number of other annoying bugs which the KDE devs ignored, and closed after a while. I just uploaded all my PIM stuff to Google Contacts, which actually adds a whole pile of functionality to other Google products that I didn't know existed (Addresses of my friends pop up in Maps, for example). Since I'm using Android, that made the most sense for me.
Re: [gentoo-user] USB automount with LXDE
On 17 November 2011 09:07, Raffaele BELARDI raffaele.bela...@st.com wrote: When I need to mount a removable USB device on LXDE (~amd64) I currently manually issue the mount command. What do I need to do to make automounting possible? According to LXDE wiki (1) you need HAL, which I don't have on my system. I found several suggestions on the net but none seems promising. Any hints to point me in the right direction? raffaele (1) http://wiki.lxde.org/en/LXDE:Questions#Does_LXDE_automount_plugged_in_removable_devices_.28USB_drives.2C_Flash_disks.2C_etc.29.3F udev can do it - here's an Arch guide which is probably helpful: https://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices Personally, I use pmount, which allows plugdev-users to mount without sudo. gentoo-wiki has an article on AutoFS, but I've no idea about that.
Re: [gentoo-user] udev rules for an iPod Touch?
Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have root:plugdev rwxrwxr-x. I have more written, but I'm travellong atm. Use app-pda/ideviceinstaller -l to get AppIds then use ifuse --appid to mount Apps 'Documents' folders (to pass them music/videos/ebooks). I needed ifuse libimobiledevice from git for my updated ipad1. On Nov 13, 2011 5:06 a.m., Mark Knecht markkne...@gmail.com wrote: On Wed, Nov 9, 2011 at 3:14 PM, James Broadhead jamesbroadh...@gmail.com wrote: As for native support, it looks as though Apple have updated their protocol, so if you've a new i*, or have updated recently, then the in-portage versions of ifuse and libimobiledevice won't work - I've just gotten my updated iPad working with current git versions of both however. I've also been working on: http://wiki.gentoo.org/wiki/Apple_ipod,_ipad,_iphone Please feel free to add to it. :) J Hi James, Sitting here this evening I remembered you had posted this so I thought I'd give it a try. While there's a lot of life I still don't have a connection. Here's what I see following along with your commands: 1) idevice_id just prints a help list. However idevice_id -l does give me a serial number. 2) ideviceinfo prints lots of information from the ipod. 3) idevicepair pair idevicepair validate report success. Great so far. 5) ifuse /mnt/ipod does mount the ipod. I can cd to /mnt/ipod and see directories, etc. k2 ipod # ls -la total 4 drwxr-xr-x 0 root root 204 Dec 31 1969 . drwxr-xr-x 9 root root 4096 Nov 4 17:50 .. drwxr-xr-x 0 root root 102 Dec 31 1969 DCIM drwxr-xr-x 0 root root 102 Dec 31 1969 Downloads -rw-r--r-- 0 root root0 Dec 31 1969 com.apple.itunes.lock_sync drwxr-xr-x 0 root root 204 Dec 31 1969 iTunes_Control k2 ipod # At this point I start gtkpod but cannot find the ipod. I'm wondering what root might need to do to make /mnt/ipod visible to my user account? Should I be adding my id to some groups possibly? Something else? Thanks for the write-up. - Mark
Re: [gentoo-user] udev rules for an iPod Touch?
On 16 November 2011 08:42, James Broadhead jamesbroadh...@gmail.com wrote: Your user should be in plugdev, with the mountpoiny rwx by plugdev. I have root:plugdev rwxrwxr-x. Oh, and run ifuse as the user, not as root :)
Re: [gentoo-user] swapping processor problem
On 16 November 2011 08:55, Dale rdalek1...@gmail.com wrote: Raffaele BELARDI wrote: On 11/16/2011 09:23 AM, Dale wrote: Maybe check if there is a BIOS update available? Might be worth a shot. I already upgraded the BIOS to have the dual-core CPU recognized, otherwise the kernel would not even start. There is yet another update on the ASUS site but it's mainly for AM3 processor compatibility and labelled as 'beta' so I'm a bit nervous to try it ;-) I have a beta for mine too. It'll will be there when it gets marked stable tho. I'm in no hurry. Sometimes waiting is a good idea. The latest version of my Gigabyte BIOS has been 'in beta' for about 4 years now -- _and_ it's the version where they add support for Quad-Core 2s! Sometimes it means that they added some features, but can't be bothered doing a full test suite.
Re: [gentoo-user] Can I read a MacOSX FileVault disk from Linux?
On 10 November 2011 19:25, fe...@crowfix.com wrote: I have a 5 year old Mac OS X laptop which died last night -- no lights, nothing, as if the battery and AC line were disconnected. There's nothing on it which is a disaster to lose, but there are some things I'd like to get off. Is it possible to plug the drive into a SATA (?) connector on a Linux system and mount it with some encryption loopback setup to get into my FileVault-protcted home dir? I do have access to a completely different Mac, and I could probably swap drives, boot, get the data I want, shut down, and restore drives, but I have no idea how well that would work. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / fe...@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o From a casual read through the wiki page on Filevault, you should be able to get it up and running provided you still have the Master password. In fact, the age of the install may be an advantage - the encryption schemes are well understood, and some versions even have cryptographic weaknesses. If you are lucky enough to have the 'Sparse Image' variant (from OS10.4), it may even be possible to recover the majority ov the content, even if some of it is damaged through disk failure (although your description sounds more like motherboard / power failure. As to whether someone has written mount_filevault or not, I've no idea. Happy googling!
Re: [gentoo-user] Looking at Sources
On 9 November 2011 17:36, James wirel...@tampabay.rr.com wrote: Hello, A better method to review code? You seem to be talking about doing a few different things, none of which is _quite_ what I'd call a code review. What you're currently doing makes sense if you're interested in finding out what some code does before you emerge it. If you want to work on writing patches for it, then it doesn't make as much sense. First, a packaged file in distfiles is probably not the latest version of the code - you should fetch the latest from version-control (no point repeating someone else's work) Next, creating a local overlay (/usr/local/portage) to test patches for a program isn't a fantastic idea since your changes (and bugs!) get installed to your system. A local overlay is usually used to test _ebuild_ development, not program development. Dev Testing is usually done in a development folder, and is not installed system-wide until ready. Of course, it's nice to update ebuilds and add lines to apply your patches before filing a gentoo / ${APP} bug report, but that's more a near-final step in patch-writing. Take a look at the gentoo-wiki article on creating a local overlay for info on this. So basically, I'm advising you to check out from upstream's version control, work on your patching inside the checkout, perform builds, but don't make install. Run the test builds from your development folder (that way you can have $APP-nopatch installed and working system-wide, and can compare to it while you're testing). Once your patch is ready, create a local overlay + update the ebuild to apply your patch. Finally, file those bug reports! Happy hacking - James
Re: [gentoo-user] Handbook as epub
On 9 November 2011 17:09, Michael Mol mike...@gmail.com wrote: I'd like to have the Handbook in a format convenient for reading in ebook readers. Now, I know I could take the existing HTML files and convert them, but I think it'd be nicer if I could get the handbook maintenance scripts to automate a conversion process, and then I could download the epub. The Gentoo documentation is generated from XML, so creating something to generate a .epub (which is just a bunch of zipped .html files) shouldn't be too hard. That said, I have had great success using Instapaper to create .epub from .html. If you coupled that with a service which creates RSS feeds by watching static pages for changes, you could have an updated epub every time the RSS got an update. Easy! * Steven covered everything else :)
Re: [gentoo-user] udev rules for an iPod Touch?
As for native support, it looks as though Apple have updated their protocol, so if you've a new i*, or have updated recently, then the in-portage versions of ifuse and libimobiledevice won't work - I've just gotten my updated iPad working with current git versions of both however. I've also been working on: http://wiki.gentoo.org/wiki/Apple_ipod,_ipad,_iphone Please feel free to add to it. :) J
Re: [gentoo-user] kde overlay is missing manifests
On 9 November 2011 20:43, Aljosha Papsch papsch...@googlemail.com wrote: 2011/11/9 Nikos Chantziaras rea...@arcor.de: What's happening with the kde overlay? All Manifest files are gone and I can't emerge anything because of that. The overlay uses new Manifest format. Read the blog entry: http://dilfridge.blogspot.com/2011/11/gentoo-kde-stabilization-and-kde.html I'm sure that that felt a little sudden for people using the overlay and not running ~portage. (Of source, running ~arch mixed ~arch and arch systems is not supported but let's face it, we all do it). Is it possible to give more warning than this? For example, can overlays push to enews? I mean, just to people actually using the overlay -- so people with the kde overlay would get kde-overlay enews, but others would not. ALSO: Shouldn't this kind of change come with updated DEPEND or EAPI? Either/or would bump portage, and that is what these things are for.
Re: [gentoo-user] udev rules for an iPod Touch?
On 5 November 2011 19:45, Joost Roeleveld jo...@antarean.org wrote: On Saturday, November 05, 2011 04:48:54 AM Mark Knecht wrote: On Sat, Nov 5, 2011 at 2:39 AM, Joost Roeleveld jo...@antarean.org wrote: On Friday, November 04, 2011 06:03:55 PM Mark Knecht wrote: 2011/11/4 Jorge Martínez López jorg...@gmail.com: Did you install app-pda/ifuse and app-pda/libimobiledevice (dependency of ifuse and gtkpod)?. I do not recall touching any udev rule. Hi Jorge, Thanks for the ifuse idea. ifuse /mnt/ipod does seem to get the device mounted. However just poking around in the /mnt/ipod directory isn't very clear by itself about how music (and one day hopefully videos) are stored. Maybe I can find some info somewhere to help with that if necessary. Even with the device mounted it doesn't seem to be visible to gtkpod, and there aren't any new USB disk messages in dmesg. Just a single ifuse message is all that's added. Well, at least I can sort of communicate with the ipod even if I cannot do anything interesting yet I haven't played with my iPod touch yet, but the older models all worked with gtkpod. You might need to tell gtkpod to open the ipod by pointing it where it is mounted I have the same problem, with an iPad, but effectively the same. iPods work on the local Ubuntu machine, and I believe that usbmuxd is the problem in this case. It's supposed to pick up the ipod announce in dmesg and take over. I can't test atm, but it looks like a good place to start. Take a look here: http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux-part-2/ which is a little old, but has piles of info. I'm thinking of updating the HFS+ page on gentoo-wiki - if we figure this out, maybe we can write up a good guide for Apple i* devices.
Re: [gentoo-user] Re: {OT} Do open drivers use different GPU abilities?
On 6 November 2011 16:45, Grant emailgr...@gmail.com wrote: Does anyone know if open-source video drivers like radeon use the different GPU's in different cards differently? Maybe not and there is just a flat identical acceleration for all of the radeon cards? The GPUs are different, so yes, the driver needs to handle them differently. So some perform better than others even with the open-source drivers? For each card, there is only one open-source driver which will work with its GPU (r300, r600 etc.). Your only modern alternative is to use the official ATI drivers, but it's difficult to maintain a current perspective on how they compare. At least historically, fglrx has been better for 3D support, but radeon has been more inclusive, supporting many older cards. radeon has 3D support now, so that's a moot point. Feel free to try both and post the results of the phoronix test suite for benchmarking.
[gentoo-user] Donating Blood
On 6 November 2011 17:23, Mark Knecht markkne...@gmail.com wrote: On Sun, Nov 6, 2011 at 7:33 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 6 Nov 2011 06:16:59 -0800, Mark Knecht wrote: I hope anyone reading who doesn't donate will at least consider donating. I used to9, but I'm no longer allowed to. In the UK, anyone who received a transfusion before 1981 is no longer able to donate, I received blood in December 1980. It's something to do with CJD/Mad Cow disease, no jokes about the wife please... she may read this and prove them right! We have the same limitations here and it is about Mad Cow. (Not 'THE Mad Cow' you crazy Brit!) ;-) Please change the Subject when a thread goes off-topic. My ipod no-worky ;_;
Re: [gentoo-user] Does this drive need a funeral?
On 2 November 2011 01:17, Dale rdalek1...@gmail.com wrote: Dale wrote: Hi, For the first time in my life, I think I have a drive failing on me. Here is the info: SNIP What you folks think? Can I fix it somehow? I got a good shovel handy just in case. Dale :-) :-) Nov 1 19:08:09 localhost kernel: ata4.01: status: { DRDY } Nov 1 19:08:14 localhost kernel: ata4: link is slow to respond, please be patient (ready=0) Nov 1 19:08:19 localhost kernel: ata4: device not ready (errno=-16), forcing hardreset Nov 1 19:08:19 localhost kernel: ata4: soft resetting link I have RMA'd many drives upon seeing errors like this. I eventually tracked it down to a faulty SATA cable. :-/
Re: [gentoo-user] the same hard-drives, different number of sectors...
On 27 October 2011 20:35, Mark Knecht markkne...@gmail.com wrote: On Thu, Oct 27, 2011 at 11:41 AM, Jarry mr.ja...@gmail.com wrote: Hi, perhaps someone could explain this to me: I have bouth two the same hard-drives. The same model (Hitachi HUA722050CLA330), the same firmware (JP20A3EA), the same size (500GB). Well, not exactly. Both hdparm and fdisk report different number of sectors (976771055 versus 976773168). Although not a big difference, yet I expected them to be exactly the same (want to use them for raid1). So how is it possible they do not have the same number of sectors? I have bought them from one supplier, even their serial numbers are very close (only the last 2 characters out of 24 are different)... Jarry Maybe one has some stuff mapped out due to bad blocks found during manufacturing or something like that? Not sure what it will tell you but have you run smartctl on the drives and looked around at what they tell you to find any differences? - Mark During normal operation, if a bad block is detected, that sector is marked as 'bad', and a one of the free sectors (which are additional to your totals) is allocated to replace it. This is called Re-Allocating Sectors, and according to the Google paper[1], which seems to be the only authoritative (non-marketing, non industry-funded) source on hard-drive failure, re-allocated sectors are indicative of impending drive failure. You can check your Re-Allocated sector count using smartmontools (but I recommend that you try gsmartcontrol in sunrise, which makes life easier). This is made more complicated by the fact that if bad sectors (below a manufacturing threshold) are detected in factory testing, they will re-allocate them, and reset the SMART counter to Zero (the drive _is_ brand new after all!). Thus, you can buy two of the exact same model of drive, and yet have different numbers of available sectors. It is also possible that something entirely different is at play. [1] labs.google.com/papers/disk_failures.pdf
Re: [gentoo-user] Calls compiler directly, and strange parameters passed. Is this a bug?
On 29 October 2011 01:03, Michael Mol mike...@gmail.com wrote: Is this incorrect? Does it qualify as a bug? Yes. The ebuild should respect your CFLAGS unless there is a USE flag to enable/disable them. The counter to this is when a package won't build without specific flags, then disregarding the user is okay. Since this is over-optimising (rather than under-), this probably isn't the case. File a minor bug, and if you're super-interested, please take a look at ebuild writing. I get the feeling that maintaining calibre is a bit messy, I'm sure that they'd appreciate the help.
Re: [gentoo-user] Hard drive RPMs and data speed.
On 27 October 2011 09:15, Dale rdalek1...@gmail.com wrote: Howdy, I'm wanting to get a hard drive that is pretty good size. I'm looking for about 1 to 2TBs or so. Thing is, a lot of them seem to be 5900 or even 5400 rpm drives. I realize that the data on there is packed pretty tight so I want to ask a few people that may have one or more of these things a few questions. Are they as fast as a slower RPM drive? Would they be fast enough to play HD videos and such? I have quite a few 1080 HD videos. I don't want the drive to cause issues. Ignoring your question somewhat, since the hdparm test won't actually get you 'effective' throughput, only 'ideal'. ( (4.4*1024*1024*1024) / (120*60) ) / 1024 640.796 So a 4.4GiB movie that lasts 2 hours would require a sustained drive throughput of 640KiB/s - which is pretty achievable. My experience says that it doesn't matter how slow a drive you use, provided that you beef up mplayer's cache size and minimum cache threshold, since my laptop has a slow drive that likes to power down, but loads of RAM. grep cache /etc/mplayer/mplayer.conf # cache settings # Use 8MB input cache by default. cache = 131072 # Prefill 20% of the cache before starting playback. cache-min = 20.0 # Prefill 50% of the cache before restarting playback after the cache emptied. cache-seek-min = 50
Re: [gentoo-user] Which desktop antivirus?
On 30 October 2011 15:29, Mick michaelkintz...@gmail.com wrote: On Sunday 30 Oct 2011 13:32:26 James Broadhead wrote: I'm surprised that no one has mentioned rkhunter yet I have ... Oops, sorry! I was reading the thread on my phone, and must have missed it. JB
Re: [gentoo-user] Combining multiple pointer devices into one
On 31 October 2011 09:13, Willie Wong ww...@math.princeton.edu wrote: When I look at /dev/input I see the devices mice, mouse0, mouse1, mouse2, mouse3. The first one, mice, seems to be a combination of all other mouse devices. On the console I want to use gpm to get a pointer, but gpm can only take one MOUSEDEV entry at a time (as far as I know), so currently I have it set on /dev/input/mice. Ideally, however, I only want to use mouse0 and mouse2 on the console (mouse1 is actually a touchscreen and its output is junk from the point of view of the ps2 driver, and actually causes problems). How does one create, using udev, an input device that aggregates just the data from mouse0 and mouse2? Do you mean for X, or a /dev/ node for gpm ? Like /dev/input/most_mice ? For the first, this is configurable in xorg.conf. No clue about the second.
Re: [gentoo-user] Hard drive RPMs and data speed.
On 31 October 2011 10:58, Dale rdalek1...@gmail.com wrote: James Broadhead wrote: # Use 8MB input cache by default. cache = 131072 I have the same here too. Like minds maybe? o_O I _think_ that it's the highest power-of-two that mplayer will allow ... so maybe not.
Re: [gentoo-user] Which desktop antivirus?
I'm surprised that no one has mentioned rkhunter yet - loads of lib exploits allow system access, and there's a pretty solid argument that says that compromising a user account on the average *nix system allows enough resourses to do a lot of malicious activity without even needing privilege escalation. On Oct 30, 2011 1:06 p.m., Mick michaelkintz...@gmail.com wrote: On Saturday 29 Oct 2011 19:40:49 Mick wrote: On Saturday 29 Oct 2011 19:25:00 Pandu Poluan wrote: On Oct 30, 2011 1:15 AM, Mick michaelkintz...@gmail.com wrote: pagefile.sys of a WinXP OS and it thinks it is a Win32:Patched-HO. If pagefile.sys is detected as a malware, most likely the actual malware was once loaded into (Windows XP's) memory got swapped, and avast! picked up its remnant. Loaded into memory doesn't mean that the malware was active, if the Windows XP was equipped with a good antivirus. Interesting! The WinXP has Microsoft Security Essentials on it. I'll ask my wife if it picked up anything lately. She can't recall any MSE reports of malware. I did check the WinXP fs for all the files and registry entries that this trojan is meant to create and none were present. Then I've zero'ed the pagefile and a second scan did not flag anything up. I also checked for a reported trojan in a Windows 7 vdi file (in virtualbox). Nothing found there either. I am tempted to think that avast! is rather super-sensitive. However, avast! also picked up some php files from a backed up website - so this may be a worthwhile find. Anyway, I can't make it integrate with kmail which was the original user requirement. Tried this script but the kmail Antivirus Wizard will not pick it up: http://forum.avast.com/index.php?topic=17898.0 So I am now heading for clamav to see how that works with a Linux desktop. -- Regards, Mick
Re: Re: [gentoo-user] Why I can't play music?
2011/10/23 Lavender lavender_mat...@163.com: First use modules. This post [1] from the forum is about the mic but it walks you through the process of setting up sound pretty well. HTH David My reading of those errors implies that you might have an alsa config file left over which is confusing mplayer. Make sure that you don't have .asoundrc or .alsa* in your ${HOME}. You probably don't need one (not for most setups). Is your card in `cat /proc/asound/cards` or alsamixer ? (can't check correct location, in Windows atm).
Re: [gentoo-user] Which desktop antivirus?
I'm surprised that no one has mentioned rkhunter yet - loads of lib exploits allow system access, and there's a pretty solid argument that says that compromising a user account on the average *nix system allows enough resourses to do a lot of malicious activity without even needing privilege escalation. On Oct 30, 2011 1:06 p.m., Mick michaelkintz...@gmail.com wrote:
Re: [gentoo-user] Gentoo Install Issue
On 15 October 2011 23:44, CJoeB colleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? If not, then you should not have any fb driver in your grub.conf (and perhaps add 'nofb' to your kernel options line. If it is, then by far the easiest way of getting it to work is by using the same driver for X as you do for the framebuffer (allowing Kernel Modeswitching, or KMS). In the case of radeon cards, this can be done with the open-source driver, as described by others. Take a look at en.gentoo-wiki.com/wiki/Radeon for a pretty comprehensive guide. I maintain it, so if you find anything hard to follow, please edit the page or post here describing what should be improved. Good luck - JB
Re: [gentoo-user] gentoo-user@lists.gentoo.org
On 4 October 2011 13:21, Alex Sla 4k3...@googlemail.com wrote: Hi Guys, i got a problem build gconf. The problem is somehow emake again o.O emake is merely a wrapper around make - that line means that there was a compile failure. Thanks for attaching your build log, but please try searching through it for Error, and find the actual build error. (hint: line 580 or so). Also: please take more care with Subject lines in emails to the list.
Re: [gentoo-user] BASH Completion - Mixing directories and executables
On 3 October 2011 01:42, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: foo It's possible that you would prefer zsh's completion style and configurability.
Re: [gentoo-user] How to read package changelogs?
On 2 October 2011 07:06, Canek Peláez Valdés can...@gmail.com wrote: emerge --changelog -p blah? Oh wow. I'll be using that a lot from now on. If only I'd read the portage changelog to find out when they added this feature :P
Re: [gentoo-user] WPA2 connection configuration?
On 26 September 2011 03:19, Paul Hartman paul.hartman+gen...@gmail.com wrote: Or skip the net config/init scripts stuff and just use something like wicd. Getting a manager to write your wpa_supplicant.conf for you (in effect), has been the right way of configuring wifi for the average user for years now. It's a real shame that this isn't promoted more in the gentoo handbook and/or the Wifi guide. I added a patch to the wifi guide a while back, but I really find the gentoo documentation workflow so over-burdening that I usually work on gentoo-wiki instead. It's pretty dispiriting to see people using troublesome tools when there's better ways out there :( JB
Re: [gentoo-user] WPA2 connection configuration?
On Mon, Sep 26, 2011 at 7:12 AM, Spidey / Claudio spide...@gmail.com Between the Gentoo Handbook and Google (... )I didn't even know there was a better way of managing wireless networks! This is exactly the problem. I'm working on rewriting the Handbook's page on setting up wifi, but I'm going to need some time to get into the Live-Environments to test that my new version works :P I'll post a draft here would appreciate comments before I submit the bug report. On 26 September 2011 15:51, Mick michaelkintz...@gmail.com wrote: On the other hand reading through the examples/comments for /etc/conf.d/net and wpa_supplicant.conf takes the whole of 10-20 minutes. I absolutely disagree with this - while editing /etc/conf.d/net is fine, wpa_supplicant.conf requires a pretty solid understanding of both the network that you're trying to connect to, and the various protocols/encryption mechanisms available. Back when I was first trying to get wireless working on my systems, it was a major stumbling block. The gentoo install is pretty tough going for the average new user, with a lot of separate areas of new competence without getting into wireless (assuming that they have a reasonable understanding of computing to start). An additional 10-20 minutes of user intervention is quite significant overhead. JB
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
On 26 September 2011 16:01, Mick michaelkintz...@gmail.com wrote: I don't know if you have seen this. Given that we're moving into UEFI boot what are the workarounds to compensate for Microsoft's efforts to exclude other operating systems from available hardware? My opinion is that signed boot is probably on its way (despite not actually offering much in the way of security, as the Apple Battery hack has shown), and so we'll enter an era where you have the option between a fully-signed system (Windows 9 / OS XI or so) or a cracked boot, with little in the way of switching between the two, at least initially I know which one I'd pick if it came down to it :)
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
On 26 September 2011 16:26, Nilesh Govindarajan cont...@nileshgr.com wrote: And you really need not worry about it, some geek (Torvalds?) will surely find out a way. Oh, I don't doubt that I'll be able to boot Linux, I just think that we're going to enter another era where setting up a functional and easily-switched dual boot between Linux and Windows will be difficult again for a while. Hopefully it won't require us to all be careful to buy specific hardware, but who knows. Case in point: The Windows 7's installer mangling of the MBRs on disks that it has no business touching.
Re: [gentoo-user] FreeType unpatented auto-hinter?
On 26 September 2011 16:49, pk pete...@coolmail.se wrote: ...but don't take my word for it... If you really need to know for sure - contact a lawyer[1]. [1] IANAL :-) If you were, would you give your opinion freely on the internet? `s/would/could`? Since our system is set up so that one can spend significant amounts of money just to find out whether something is or is not a restricted idea, only to end up in court anyway because others have more money to employ lawyers to come up with creative counter-arguments, I don't think that it's productive to emulate people who think that it's reasonable or useful to append a disclaimer to every claim that they make. THIS EMAIL DOES NOT NECESSARILY NEED TO BE TAKEN LITERALLY. ANY WORDS IN IT ARE ONES THAT I WROTE, AND ARE NOT INTENDED TO AMUSE OR OTHERWISE BENEFIT ANY PARTIES THAT HAPPEN TO BE CELEBRATING ANYTHING. DO NOT PRINT THIS, THINK OF THE CHILDREN. FNORD. (sorry)
Re: [gentoo-user] Slightly OT but interesting nonetheless...
On 26 September 2011 20:44, Michael Mol mike...@gmail.com wrote: Yeah, I just saw that. Admittedly, when I saw this section: --begin-section-- I'll add at this point that this isn't just a programmer problem. I've seen entire companies get locked into the idea that “perfecting” the program was everything. They then neglected what the users wanted from the program, supporting the users and so on. Most of us who've been in the business for a while have seen this cycle play out over and over again. Expanding on that second point, Torvalds says that's why the Linux kernel team is “so very anal about the whole ‘no regressions’ thing, for example. Breaking the user experience in order to ‘fix’ something is a totally broken concept; you cannot do it. If you break the user experience, you may feel that you have ‘fixed’ something in the code, but if you fixed it by breaking the user, you just violated that second point; you thought the code was more important than the user. Which is not true.” --end-section-- I immediately thought of the udev thread. The only problem with that attitude is that it eventually leads you to the same position that Microsoft is in with Windows -- where too many years of refusing to drop backwards compatibility were completely holding them back. The direction that they took with Windows XP, drop raw DOS support, release-freeze (9 years!), gather bug reports, fix bugs(!), has actually left them with a pretty stable and functional OS in Windows 7 (The release candidate was not quite as strong). If you read the Old New Thing, you will still find some absolute madness left in there to maintain support for Win3.1 programs, and hacked around in some really awful ways. Breaking User Experience is a major factor of open-source, it's iterative though, and the general consensus is that each generation of software improves on the previous one (that said, I'm pretty worried about the directions of both gnome3 and kde4).
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
On 26 September 2011 20:29, Jonas de Buhr jonas.de.b...@gmx.net wrote: between a fully-signed system (Windows 9 / OS XI or so) or a cracked boot, with little in the way of switching between the two, at least initially And you really need not worry about it, some geek (Torvalds?) will surely find out a way. yes, there will most likely be a technical way to circumvent it. the problem is that involved companies might try (and likely succeed) to make that illegal. Unfortunately, under the DMCA, breaking any encryption / copy-protection mechanism is illegal under US copyright law of all things (and by extension, globally :-/ ). I listened to a pretty interesting debate about this related to the Right to Repair act in the States, which relates to the right to access car firmware / software. The consensus seems to be that the pitifully easy-to-crack encryption is only there so that the software becomes covered by the DMCA. What a mess.
Re: [gentoo-user] Unity on Gentoo?
On 25 September 2011 03:15, Nilesh Govindarajan cont...@nileshgr.com wrote: It's stunning to know that something that's shipped by default with Ubuntu sucks so much? Canonical surely must have gone haywire. It wouldn't be the first time that they've effectively tested software by pushing it out to their user-base. PuulseAudio! I actually think that it's a fundamental problem with their software distribution model -- there's very little scope for someone to be both - Using the most up to date distribution version - Switching between 'stable' implementations of certain features and 'testing' ones. (Yes, I know about the different repos; I just think that so much basic functionality is only available through experimental, third-party, testing etc. that the majority of users will have them enabled, and think no further about it).
Re: [gentoo-user] Unity on Gentoo?
On 24 September 2011 06:53, Nilesh Govindarajan cont...@nileshgr.com wrote: Unity is kinda famous, want to try it on Gentoo. Can't find a package in `eix -sS unity', I'm missing something? What you're missing is the experience of having used it. (Or having *tried* to use it). Once you have, you will see why no one is enthusiastic enough to write an ebuild and support it in gentoo (or an overlay). I'm just glad that Ubuntu still ships with vanilla Gnome (or Ubuntu Classic) by default -- I maintain a few Ubuntu systems for members of my family. J
Re: [gentoo-user] Re: udev + /usr
On 19 September 2011 15:22, Alan McKinnon alan.mckin...@gmail.com wrote: :-) Example: Try run a browser on that Amiga. I doubt it would even manage to display the Gentoo logo at http://www.gentoo.org. And forget all about playing music. As requested: http://i.imgur.com/WbQHa.jpg
Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?
On 6 September 2011 19:55, Permjacov Evgeniy permea...@gmail.com wrote: On 09/06/2011 09:26 PM, Pandu Poluan wrote: Disk I/O Characteristic: Occasional writes during 'normal' usage, once-a-week eix-sync + emerge -avuD Priority: Stable (i.e., less chance of corruption), least CPU usage. You would have to profile this, but I imagine that the best approach would be to compile in a RAM disk and copy. I think that you're probably trying to optimise the wrong part of this problem. As for ext3/ext4, the improvements to fsck alone make ext4 the FS of choice between the two. JB
Re: [gentoo-user] Re: What is up with the libreoffice ebuild?
On 6 September 2011 19:57, Alan Mackenzie a...@muc.de wrote: The support for lpr exists. It's being removed, for some reason. Given that printing works by constructing a postscript equivalent of the thing being printed, just how difficult can it be to squirt this postscript down lpr rather than the cups equivalent? How long does it take to write a C++ `if' statement? We're all happily waiting for you to do it ... time yourself! :)
Re: [gentoo-user] Layman errors. Google ain't helping.
make.config != make.conf :)
Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered
On 18 August 2011 09:23, Norman Rieß nor...@smash-net.org wrote: Am 08/18/11 09:11, schrieb Matthew Finkel: Just out of curiosity, how long does it take to compile gcc? - Matt Atom: genlop -t sys-devel/gcc-4.4.5 * sys-devel/gcc Sat Feb 26 13:06:08 2011 sys-devel/gcc-4.4.5 merge time: 1 hour, 12 minutes and 27 seconds. Wed Mar 23 23:01:12 2011 sys-devel/gcc-4.4.5 merge time: 1 hour, 10 minutes and 22 seconds. I have an Atom 330 machine which is getting significantly worse build-times than you. What make.conf options are you using? (Or are you using something else to improve build times?) Wed Mar 16 04:49:09 2011 sys-devel/gcc-4.4.5 merge time: 2 hours, 56 minutes and 20 seconds. Thu May 5 22:07:36 2011 sys-devel/gcc-4.3.4 merge time: 2 hours, 14 minutes and 15 seconds. Fri May 6 00:35:53 2011 sys-devel/gcc-4.4.5 merge time: 2 hours, 28 minutes and 17 seconds. Admittedly, my machine runs xbmc, which is a resource hog, and has a fair bit of disk activity. My CFLAGS are: CFLAGS=-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe -mssse3 -mfpmath=sse which date to before -march=atom, and having read a performance article suggesting these. I note that the only practical difference between the resultant gcc options is that setting -mtune to core2 adds #define __tune_core2__ 1. I wonder what the practical difference is. echo | gcc -dM -E - -O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe -mssse3 -mfpmath=sse I suppose, having looked into it this far, I'll merge gcc-4.5 to see what effect -mtune=atom has. (I'm not particularly interested in build times, but whether they're a sign of poor overall performance ... ) JB
Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered
On 18 August 2011 12:45, Norman Rieß nor...@smash-net.org wrote: CFLAGS=-O2 -pipe -march=core2 -mssse3 -mfpmath=sse Yes, those work out to the same set as I posted -- the major difference is that I have USE=gtk gcj, which along with the additional load probably accounts for the discrepancy. I also have -j5. JB
Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered
On 16 August 2011 01:28, Adam Carter adamcart...@gmail.com wrote: Linux also offered financial firms the ability to modify the source code to further speed performance, Lameter said. It depends on how daring the exchange is, Lameter said, noting that NASDAQ uses a modified version of the Gentoo Linux distribution. http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street We should mention this somewhere on the Gentoo page on wikipedia.
Re: [gentoo-user] portage blockage gnome-control-center vs gnome-media
On 15 August 2011 09:27, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun 14 August 2011 19:55:28 Allan Gottlieb did opine thusly: On Sun, Aug 14 2011, Alan McKinnon wrote: emerge --sync layman -S eix-update $ man eix (...) /etc/eix-sync.conf This file stores commands and configurations to apply with eix-sync. (...) * Call layman -S (i.e. overlays are synced with layman). Hope that helps.
Re: [gentoo-user] Re: Updating a Standalone
On 08/12/2011 12:58 PM, dhk wrote: I have a Gentoo Box that is a standalone with no internet access. Is there a way I can update it by using my laptop? My immediate response is that a PCI/USB wifi card costs less than the combined brainpower that you have had respond to this question. My actual approach would be to set up the laptop as an rsync mirror, then: laptop $ emerge --sync (connect laptop to null-internet box via crossover cable + sync from laptop) nointernet $ emerge --sync nointernet $ emerge -pvfuDN world getfile (copy getfile to laptop, move laptop to delicious bandwidth) laptop $ wget -flags getfile (move laptop back to target machine) laptop $ rsync gotfiles/* no-internet-box/usr/portage/distfiles nointernet $ emerge -uDvN world