[gentoo-user] Virtualbox Display Broken After xorg Upgrade
I'm not sure where to start. I upgraded from xorg 1.4 to xorg 1.6. I also followed the ATI Migration guide at http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml. Everything seems fine except now Virtualbox 3.0.2 guest displays are unreadable. Before the upgrade, Virtualbox displays were OK. Basically it looks like when one has a bad modeline for X. If I click on the guest window to close, I get a Virtualbox pop up asking if I want to shutdown or power off the guest. When this pops up, the screen is a slightly readable black and white version. Guest machines are Windows 7 and Windows XP. Both have the same symptoms. I've rebuilt virtualbox-bin and -modules. I've Googled but can't seem to find the right google-fu to turn anything up. Any suggestions on how to get things working again? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com
Re: [gentoo-user] bash stopped running python scripts...
On Tuesday 04 August 2009 00:08:48 Mike Edenfield wrote: I have the identical file, it works here. That's very odd, as everything I've read over the past hour indicates that it's not supposed to work if you put a shell script in that line, but that's clearly not always true. I didn't diff it, just compared yours and mine visually What's the #! line in your /usr/bin/emerge file? $ head /usr/bin/emerge #!/usr/bin/python # Copyright 2006-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id: emerge 13131 2009-03-18 01:43:41Z zmedico $ import sys # This block ensures that ^C interrupts are handled quietly. try: import signal Your original post has a X connection to localhost:11.0 broken error, which is mighty unusual. The error is common enough, but has nothing to do with python. I know where that particular error is coming from. The first non-comment line in /usr/bin/emerge is import sys. Since bash is interpreting the script instead of python, when it gets to that line, it runs ImageMagick's import command. It just indicates that bash ignored the #! line and kept going. Ah, now stuff makes sense, like your reference to ImageMagick The bug Remy sent me to did have two working solutions: replacing the shell script with a symlink, or replacing #!/usr/bin/python with #!/usr/bin/env python in emerge/ebuild, both of which point the #! line at a real executable. I'm now curious why that shell script works for anyone. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Anybody tried shake defragmenter?
On Montag 03 August 2009, Alan McKinnon wrote: On Monday 03 August 2009 23:16:05 Grant Edwards wrote: On 2009-08-03, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 03 August 2009 23:05:02 Paul Hartman wrote: The time-honored way of fixing this is backup, delete, restore. In my case my simple defragmenter is to move a file to tmpfs and then move it back to the hard drive. I always do this to files I'm about to burn to a CD/DVD to ensure the read speed is optimal. Until one day someone write a super-duper disk cache algorithm that delays writes safely, notices that you are putting back unmodified something you just deleted, then reverts to be deleted flag on the block pointers. meaning that nothing has changed. Lucky for us, I do not believe that such a driver has been written yet. Unlucky for us, I believe that such a driver is entirely possible. And actually quite simple once the content-addressable-disk-drive is invented. We tried that already, it was called WinFS. Unfortunately, it was an idea ahead of it's time and technology was not quite ready for it yet :-) http://en.wikipedia.org/wiki/Be_File_System was first and did it.
Re: [gentoo-user] Re: bash stopped running python scripts...
Remy Blank remy.bl...@pobox.com writes: The whole issue seems to be handled quite strangely IMO. You would think breaking Python for all ~x86 is a major offense... It did not break for all ~x86. I have 2 systems both running ~x86, both have emerged (but not made active) python-3.1, /usr/bin/python is a bash script on both yet emerge works with no problems. The only non-standard things are that I have unmasked gcc-4.4.1 and am using git 2.6.31-rc kernels.
[gentoo-user] Links not working from Thunderbird-2.0.0.22 to Firefox-3.5
Hi all, Since i upgraded Firefox to Firefox-3.5-r1, my links from Thunderbird to Firefox don't work anymore. In Thunderbird-2.0.0.22 : Edition - Preferences - Advanced - General - Configuration Editor, i get : network.protocol-handler.app.http type chain with /usr/bin/firefox. Nothing happens when clicking on a link in Thunderbird. In console /usr/bin/firefox works properly. In Openoffice, links launch Firefox. Everything is ok if i change /usr/bin/firefox to /usr/bin/midori. I tried removing .mozilla and .thunderbird without any success... What's wrong ? Thank you very much for your help. Cheers, Jacques
[gentoo-user] How do I find new packages?
There used to be a package which ran after a sync to report new and updated packages. At some point a year ago or so, it disappeared. I have long since forgotten its name. Is there some way to do this now? I could probably write some script to simply search /usr/portage for ebuilds which were modified or created since the last time it ran, but I can see it having a few false positives from other changes. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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
Re: [gentoo-user] How do I find new packages?
fe...@crowfix.com wrote: There used to be a package which ran after a sync to report new and updated packages. At some point a year ago or so, it disappeared. I have long since forgotten its name. Is there some way to do this now? I could probably write some script to simply search /usr/portage for ebuilds which were modified or created since the last time it ran, but I can see it having a few false positives from other changes. If you're just looking for updated packages emerge -au world would certainly do that.
[gentoo-user] Re: Virtualbox Display Broken After xorg Upgrade
On 08/03/2009 11:53 PM, Drew Tomlinson wrote: I'm not sure where to start. I upgraded from xorg 1.4 to xorg 1.6. I also followed the ATI Migration guide at http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml. Everything seems fine except now Virtualbox 3.0.2 guest displays are unreadable. Before the upgrade, Virtualbox displays were OK. Basically it looks like when one has a bad modeline for X. If I click on the guest window to close, I get a Virtualbox pop up asking if I want to shutdown or power off the guest. When this pops up, the screen is a slightly readable black and white version. Guest machines are Windows 7 and Windows XP. Both have the same symptoms. Do you have the Windows vbox guest additions installed in the Windows guests? If so, you should be able to resize the guest window just like any other X window. Hm, not sure if the guest additions are available for Win7 yet, but definitely are for XP. Worth a try, anyway.
Re: [gentoo-user] How do I find new packages?
On Tue, Aug 04, 2009 at 01:46:43AM -0700, fe...@crowfix.com wrote: There used to be a package which ran after a sync to report new and updated packages. At some point a year ago or so, it disappeared. I have long since forgotten its name. Is there some way to do this now? I could probably write some script to simply search /usr/portage for ebuilds which were modified or created since the last time it ran, but I can see it having a few false positives from other changes. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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 It sounds like you're thinking of the eix-diff application that comes with eix. When using eix-sync, it's run after the sync is complete to update the eix database; but it can be run by itself. To update a eix database, run 'eix-diff /var/cache/eix.previous /var/cache/eix' after you run eix-update. It will show all new ebuilds, what was removed, et cetera. Hope that helps. -- Jake Todd // If it isn't broke, tweak it! pgpONht7hHahP.pgp Description: PGP signature
Re: [gentoo-user] Re: bash stopped running python scripts...
On 8/4/2009 7:13 AM, Graham Murray wrote: Remy Blankremy.bl...@pobox.com writes: The whole issue seems to be handled quite strangely IMO. You would think breaking Python for all ~x86 is a major offense... It did not break for all ~x86. I have 2 systems both running ~x86, both have emerged (but not made active) python-3.1, /usr/bin/python is a bash script on both yet emerge works with no problems. The only non-standard things are that I have unmasked gcc-4.4.1 and am using git 2.6.31-rc kernels. Aha. I think I've discovered the problem. There was a change in the kernel execl() call between 2.6.27 and 2.6.28: --- linux-2.6.27-hardened-r3/fs/binfmt_script.c 2008-10-09 18:13:53.0 -0400 +++ linux-2.6.28-hardened/fs/binfmt_script.c2008-12-24 18:26:37.0 -0500 @@ -22,14 +22,15 @@ char interp[BINPRM_BUF_SIZE]; int retval; - if ((bprm-buf[0] != '#') || (bprm-buf[1] != '!') || (bprm-sh_bang)) + if ((bprm-buf[0] != '#') || (bprm-buf[1] != '!') || + (bprm-recursion_depth BINPRM_MAX_RECURSION)) return -ENOEXEC; /* * This section does the #! interpretation. * Sorta complicated, but hopefully it will work. -TYT */ - bprm-sh_bang = 1; + bprm-recursion_depth++; allow_write_access(bprm-file); fput(bprm-file); bprm-file = NULL; The kernel = 2.6.28 now supports nesting up to 4 levels of script in the #! lines, if I'm reading that right, whereas 2.6.28 it only supported 1 level. I'll go update the b.g.o entry and try upgrading my kernel. Though I dunno what that means for Gentoo/FreeBSD. --Mike
[gentoo-user] Re: Links not working from Thunderbird-2.0.0.22 to Firefox-3.5
On 08/04/2009 05:15 AM, Jacques Montier wrote: Hi all, Since i upgraded Firefox to Firefox-3.5-r1, my links from Thunderbird to Firefox don't work anymore. In Thunderbird-2.0.0.22 : Edition - Preferences - Advanced - General - Configuration Editor, i get : network.protocol-handler.app.http type chain with /usr/bin/firefox. Nothing happens when clicking on a link in Thunderbird. In console /usr/bin/firefox works properly. In Openoffice, links launch Firefox. Everything is ok if i change /usr/bin/firefox to /usr/bin/midori. It may depend on what desktop you use. I use gnome, and the usual reason for this problem is that the setting in System-Preferences- Preferred-Applications is set to point at the wrong browser name. I believe kde has a similar menu item somewhere, not certain. Possibly the name of your firefox binary was changed in the upgrade? Maybe an old symlink is pointing to an old (deleted) file?
Re: [gentoo-user] Re: Virtualbox Display Broken After xorg Upgrade
walt wrote: On 08/03/2009 11:53 PM, Drew Tomlinson wrote: I'm not sure where to start. I upgraded from xorg 1.4 to xorg 1.6. I also followed the ATI Migration guide at http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml. Everything seems fine except now Virtualbox 3.0.2 guest displays are unreadable. Before the upgrade, Virtualbox displays were OK. Basically it looks like when one has a bad modeline for X. If I click on the guest window to close, I get a Virtualbox pop up asking if I want to shutdown or power off the guest. When this pops up, the screen is a slightly readable black and white version. Guest machines are Windows 7 and Windows XP. Both have the same symptoms. Do you have the Windows vbox guest additions installed in the Windows guests? If so, you should be able to resize the guest window just like any other X window. Hm, not sure if the guest additions are available for Win7 yet, but definitely are for XP. Worth a try, anyway. I know I installed them but maybe I did it when running Virtualbox 2.x. If I can't see the Virtualbox screens, how can I install/re-install the guest additions? Is there some way to do that from a command line? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com
Re: [gentoo-user] How do I find new packages?
On Tue, Aug 04, 2009 at 08:49:26AM -0400, Saphirus Sage wrote: If you're just looking for updated packages emerge -au world would certainly do that. Nah, that only shows updated packages I have already installed. I am curious about packages which I haven't installed. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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
Re: [gentoo-user] How do I find new packages?
On Tue, Aug 04, 2009 at 08:52:37AM +, Jacob Todd wrote: It sounds like you're thinking of the eix-diff application that comes with eix. When using eix-sync, it's run after the sync is complete to update the eix database; but it can be run by itself. To update a eix database, run 'eix-diff /var/cache/eix.previous /var/cache/eix' after you run eix-update. It will show all new ebuilds, what was removed, et cetera. Might do. I ran both, but eix-diff says void load_db(const char*, DBHeader*, PackageTree*, PortageSettings*): Can't open the database file '/var/cache/eix.previous' for reading (mode = 'rb') which I take as a particularly lazy way of telling me the cache hasn't been created or is elsewhere. I'll investigate in a bit -- a quick --help from both programs doesn't show anything obvious. Probably something easy. Thanks. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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
Re: [gentoo-user] How do I find new packages?
http://packages.gentoo.org/gentoo.rss HTH, Greg On Tue, Aug 4, 2009 at 4:27 PM, fe...@crowfix.com wrote: On Tue, Aug 04, 2009 at 08:49:26AM -0400, Saphirus Sage wrote: If you're just looking for updated packages emerge -au world would certainly do that. Nah, that only shows updated packages I have already installed. I am curious about packages which I haven't installed. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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 -- - One hour of broadband to ftp the Linux package, 10 cents - CDs to burn the files, 50 cents - The knowledge that nothing on your computer is from MicrosoftTM , PRICELESS. There are people who like to be free. For everyone else, there’s WindowsTM.
Re: [gentoo-user] How do I find new packages?
On Tue, August 4, 2009 16:35, fe...@crowfix.com wrote: On Tue, Aug 04, 2009 at 08:52:37AM +, Jacob Todd wrote: It sounds like you're thinking of the eix-diff application that comes with eix. When using eix-sync, it's run after the sync is complete to update the eix database; but it can be run by itself. To update a eix database, run 'eix-diff /var/cache/eix.previous /var/cache/eix' after you run eix-update. It will show all new ebuilds, what was removed, et cetera. Might do. I ran both, but eix-diff says void load_db(const char*, DBHeader*, PackageTree*, PortageSettings*): Can't open the database file '/var/cache/eix.previous' for reading (mode = 'rb') which I take as a particularly lazy way of telling me the cache hasn't been created or is elsewhere. I'll investigate in a bit -- a quick --help from both programs doesn't show anything obvious. Probably something easy. update-eix You might want to create a cron job, I have no idea if the package installs one by default. However, if you run eix-sync instead of emerge --sync, it should update the eix database as well, so running eix-update would be redundant. It will also list the diff when the sync is done if you run it manually. -- Jesús Guerrero
Re: [gentoo-user] How do I find new packages?
On Tue, Aug 4, 2009 at 7:35 AM, fe...@crowfix.com wrote: On Tue, Aug 04, 2009 at 08:52:37AM +, Jacob Todd wrote: It sounds like you're thinking of the eix-diff application that comes with eix. When using eix-sync, it's run after the sync is complete to update the eix database; but it can be run by itself. To update a eix database, run 'eix-diff /var/cache/eix.previous /var/cache/eix' after you run eix-update. It will show all new ebuilds, what was removed, et cetera. Might do. I ran both, but eix-diff says void load_db(const char*, DBHeader*, PackageTree*, PortageSettings*): Can't open the database file '/var/cache/eix.previous' for reading (mode = 'rb') which I take as a particularly lazy way of telling me the cache hasn't been created or is elsewhere. I'll investigate in a bit -- a quick --help from both programs doesn't show anything obvious. Probably something easy. Thanks. Run (I think) update-eix by hand, then eix-sync again.
Re: [gentoo-user] Re: Links not working from Thunderbird-2.0.0.22 to Firefox-3.5
walt a gentiment tapote: On 08/04/2009 05:15 AM, Jacques Montier wrote: Hi all, Since i upgraded Firefox to Firefox-3.5-r1, my links from Thunderbird to Firefox don't work anymore. In Thunderbird-2.0.0.22 : Edition - Preferences - Advanced - General - Configuration Editor, i get : network.protocol-handler.app.http type chain with /usr/bin/firefox. Nothing happens when clicking on a link in Thunderbird. In console /usr/bin/firefox works properly. In Openoffice, links launch Firefox. Everything is ok if i change /usr/bin/firefox to /usr/bin/midori. It may depend on what desktop you use. I use gnome, and the usual reason for this problem is that the setting in System-Preferences- Preferred-Applications is set to point at the wrong browser name. I believe kde has a similar menu item somewhere, not certain. Possibly the name of your firefox binary was changed in the upgrade? Maybe an old symlink is pointing to an old (deleted) file? Thank you for your response. I use Xfce-4.6.1, and i find nothing about preferred applications. The firefox binary has not changed, and /usr/bin/firefox works in console... Great mystery... Jacques
[gentoo-user] Recovering a deleted file.
Some friends, who are trying out Linux on their home system, accidentally deleted some pictures on their camera memory card, while it was plugged into the camera. Is there any software to recover a deleted file off of a memory card in such a circumstance? I already told them not to use the card for anything else and to lock it. Thanks Sean
Re: [gentoo-user] Recovering a deleted file.
On Tue, August 4, 2009 17:24, sean wrote: Some friends, who are trying out Linux on their home system, accidentally deleted some pictures on their camera memory card, while it was plugged into the camera. Is there any software to recover a deleted file off of a memory card in such a circumstance? I already told them not to use the card for anything else and to lock it. Thanks Sean photorec is probably perfect for this concrete task. http://www.cgsecurity.org/wiki/PhotoRec -- Jesús Guerrero
Re: [gentoo-user] Recovering a deleted file.
Jesús Guerrero wrote: photorec is probably perfect for this concrete task. http://www.cgsecurity.org/wiki/PhotoRec Thanks, I will pass it on.
[gentoo-user] Re: bash stopped running python scripts...
Mike Edenfield wrote: Though I dunno what that means for Gentoo/FreeBSD. It means that relying on linux-only, non-POSIX compliant behavior is a very bad idea ;-) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] How can I steer the sequence of modules to load
Hi, I have trouble to start the usb-audio interface of my Webcam (PS3 Eye). Sometimes it works...must of the time it does not. I compared the dmesg outputs of the good and bad case and it seems, the a certain sequence of module loading will give me a chance to success. How can I urge the bootprocess to load modules in a well defined sequence? Thank you very much in advance for any help which gives me the audio of my webcam back! :) Kind regards Meino Cramer -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] How can I steer the sequence of modules to load
On Dienstag 04 August 2009, meino.cra...@gmx.de wrote: Hi, I have trouble to start the usb-audio interface of my Webcam (PS3 Eye). Sometimes it works...must of the time it does not. I compared the dmesg outputs of the good and bad case and it seems, the a certain sequence of module loading will give me a chance to success. How can I urge the bootprocess to load modules in a well defined sequence? Thank you very much in advance for any help which gives me the audio of my webcam back! :) Kind regards Meino Cramer put the right order into /etc/conf.d/modules?
Re: [gentoo-user] Anybody tried shake defragmenter?
I know Linux systems aren't supposed to become fragmented, but I've also read that it can happen eventually. I'm on ext3. I've read that ext4 will have a defragmenter but that it doesn't have one yet. It's not that they aren't supposed to become fragmented, it is that they try to avoid it. There is a big difference, and things like streaming writes (downloads, bittorrents, etc) can cause extreme fragmentation. Yeah, that's when I'm hearing the HD access I didn't hear before. I run miro and it's downloading several torrents all the time. It never made a sound before, but now there's a rhythmic grinding sound when miro is running, maybe because the HD is more full now. Could shake help with this? To find out, should I be running it on the partially downloaded torrents? Well, bittorent does not download in sequential order, so it is constantly doing random reads and writes. You may not be able to avoid the HD grinding during this kind of activity. Download to a RAM drive or SSD or something perhaps. Fragmentation definitely gets worse the nearer you are to full (which for me is always). I have seen very small files with hundreds of fragments as I live at 99% of my space used. They say a hard drive has 2 states: new and full :) It certainly wouldn't hurt to defrag the partial files, though you may want to pause your download before doing it (I don't know how much locking/blocking may occur on in-use files). Some bittorrent clients have an option to write a placeholder file; this is supposed to prevent fragmentation since it's allocating the space for the whole file immediately. Vuze is what I use, it calls this option allocate and zero new files on creation. The down-side is it could take a while to initialize if you're downloading something huge, especially if you're saving to a network or USB hard drive that's not very fast. Is there any tool available to show which files are being written to any any given time? iotop is great for watching the I/O rate and which process is responsible, but sometimes I wonder which files are being written. For example, miro is showing a constant 3.5Mbps write in iotop, and I only have 50kbps downloading and 30kbps uploading. I'd really like to know what is being written to. Here's how I'm running shake, please let me know if you would modify this to work on my noisy drive problem: shake -vX --new 0 --old 0 --bigsize 0 folder Does anyone know what these headers indicate (FRAGC and SHOCKED for example)? There is no info in man or on the homepage: IDEAL START END FRAGC CRUMBC AGE SHOCKED NAME - Grant
Re: [gentoo-user] Recovering a deleted file.
On Tuesday 04 August 2009 17:24:13 sean wrote: Some friends, who are trying out Linux on their home system, accidentally deleted some pictures on their camera memory card, while it was plugged into the camera. Is there any software to recover a deleted file off of a memory card in such a circumstance? I already told them not to use the card for anything else and to lock it. What kind of card? It's likely formatted with FAT, there's hundreds of tools for Windows that can undelete files on FAT. I recall using such stuff written by a certain Mr Peter Norton when I was still but a little lad... -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: How do I find new packages?
felix at crowfix.com writes: There used to be a package which ran after a sync to report new and updated packages. Well I'm not sure about that mechanism. What I do, when I want new software that is already in a ebuild is this: look into the dir that contains all software in a given category /usr/portage/category Then use eix to give me a one line description so I can see if it's plausible what I'm after. Then just read up on the software and decide to install or not. Searching dirs by category usually gets me what I want hth, James
Re: [gentoo-user] How do I find new packages?
090804 fe...@crowfix.com wrote: There used to be a package which ran after a sync to report new and updated packages. At some point a year ago or so, it disappeared. I have long since forgotten its name. I always update Portage via 'eix-sync', which does what you want. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Re: How do I find new packages?
On Tue, Aug 04, 2009 at 07:46:51PM +, James wrote: Well I'm not sure about that mechanism. What I do, when I want new software that is already in a ebuild is this: I do that when I have specific categories or even programs in mind. What I am more after here is just curiousity of what new packages have popped into existence. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. 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
Re: [gentoo-user] Re: How do I find new packages?
On Tue, Aug 4, 2009 at 2:59 PM, fe...@crowfix.com wrote: On Tue, Aug 04, 2009 at 07:46:51PM +, James wrote: Well I'm not sure about that mechanism. What I do, when I want new software that is already in a ebuild is this: I do that when I have specific categories or even programs in mind. What I am more after here is just curiousity of what new packages have popped into existence. You can also view http://packages.gentoo.org to see the latest.
Re: [gentoo-user] How can I steer the sequence of modules to load
On Tue, 4 Aug 2009 20:26:03 +0200, Volker Armin Hemmann wrote: put the right order into /etc/conf.d/modules? You may also need to block them from hotplugging too, to prevent that loading them earlier and in the wrong order. -- Neil Bothwick A friend in need may turn out to be a nuisance. signature.asc Description: PGP signature
Re: [gentoo-user] Virtualbox Display Broken After xorg Upgrade
Drew Tomlinson wrote: I'm not sure where to start. I upgraded from xorg 1.4 to xorg 1.6. I also followed the ATI Migration guide at http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml. Everything seems fine except now Virtualbox 3.0.2 guest displays are unreadable. Before the upgrade, Virtualbox displays were OK. Basically it looks like when one has a bad modeline for X. If I click on the guest window to close, I get a Virtualbox pop up asking if I want to shutdown or power off the guest. When this pops up, the screen is a slightly readable black and white version. Guest machines are Windows 7 and Windows XP. Both have the same symptoms. I've rebuilt virtualbox-bin and -modules. I've Googled but can't seem to find the right google-fu to turn anything up. Any suggestions on how to get things working again? Thanks, Drew Hi I have the same problem however I have been able to start a machine from the comand line, ~ VirtualBox -rmode sdl -startvm name of your machine I also tried VirtualBox -rmode image -startvm name of your machine but this gave the same unreadable screen. The same results repeated with a new machine also. Installing the guest additions has no effect. Have not got around to investigating any further yet. Al
Re: [gentoo-user] Re: Links not working from Thunderbird-2.0.0.22 to Firefox-3.5
walt wrote: On 08/04/2009 05:15 AM, Jacques Montier wrote: Hi all, Since i upgraded Firefox to Firefox-3.5-r1, my links from Thunderbird to Firefox don't work anymore. In Thunderbird-2.0.0.22 : Edition - Preferences - Advanced - General - Configuration Editor, i get : network.protocol-handler.app.http type chain with /usr/bin/firefox. Nothing happens when clicking on a link in Thunderbird. In console /usr/bin/firefox works properly. In Openoffice, links launch Firefox. Everything is ok if i change /usr/bin/firefox to /usr/bin/midori. It may depend on what desktop you use. I use gnome, and the usual reason for this problem is that the setting in System-Preferences- Preferred-Applications is set to point at the wrong browser name. I believe kde has a similar menu item somewhere, not certain. Possibly the name of your firefox binary was changed in the upgrade? Maybe an old symlink is pointing to an old (deleted) file? I forgot where I found it but here is mine; user_pref(network.protocol-handler.app.http, /home/david/firefox_launch); user_pref(network.protocol-handler.app.https, /home/david/firefox_launch); cat firefox_launch #!/bin/bash unset LD_PRELOAD exec /usr/bin/firefox $@ -- Powered by Gentoo GNU/Linux http://linuxcrazy.com
Re: [gentoo-user] Re: Remove stranded gcc-config's?
On Tuesday 04 August 2009, Mark Knecht wrote: On Mon, Aug 3, 2009 at 4:35 PM, waltw41...@gmail.com wrote: On 08/03/2009 03:51 PM, Mark Knecht wrote: Again as history, I first noticed this issue when emerging gcc-4.3.2. I had 4.1.2 on the system, in use, as well as these old line items in gcc-config. Once I had rebuilt the system with 4.3.2 I did an emerge -C =sys-devel/gcc-4.1.2 and got rid of that one both from the system and this list, but this thread was about 'stranded' options which are the 3.3.3 and 3.4.4 selections. Are these options held in a file somewhere that can be edited by hand? Is there some option to gcc-config that can clean them up? Have a look in /etc/env.d/gcc/ and /usr/libexec/gcc/ and /usr/lib/gcc/ for any old files or directories that shouldn't be there. Particular attention to /etc/env.d/gcc. Thanks Walt. slocate 3.3.3/3.4.4 sort of spreads out across the system and shows a lot of stuff that probably shouldn't be around anymore. /etc/env.d/gcc looks like the list of things I want to get rid of. I'll try to double check against a system that's not having this problem and experiement a bit with just deleting this stuff. (After doing some backups first.) I also seem to have an older gcc 3.4.5 listed: # gcc-config -l [1] i686-pc-linux-gnu-3.4.5 [2] i686-pc-linux-gnu-3.4.5-hardened [3] i686-pc-linux-gnu-3.4.5-hardenednopie [4] i686-pc-linux-gnu-3.4.5-hardenednopiessp [5] i686-pc-linux-gnu-3.4.5-hardenednossp [6] i686-pc-linux-gnu-4.3.2 * and indeed it is still in: $ ls -la /etc/env.d/gcc/ total 29 drwxr-xr-x 2 root root 408 Aug 4 23:03 . drwxr-xr-x 4 root root 952 Jul 2 06:06 .. lrwxrwxrwx 1 root root 23 May 15 06:15 .NATIVE - i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 32 May 15 06:15 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 292 Mar 30 2006 i686-pc-linux-gnu-3.4.5 -rw-r--r-- 1 root root 356 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardened -rw-r--r-- 1 root root 361 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenednopie -rw-r--r-- 1 root root 364 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenednopiessp -rw-r--r-- 1 root root 361 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenednossp -rw-r--r-- 1 root root 235 Apr 6 13:15 i686-pc-linux-gnu-4.3.2 It cannot be unmerged (not there) and fix_libtool_files.sh 3.4.5 completes immediately (unlike the few seconds it takes for any gcc packages that are still in my system). At this stage it may just be a matter of deleting relevant files in /etc/env.d/gcc/ but I have not done that yet. Where else do you find 3.3.3/3.4.4 in your system other than /usr/share/gcc-data/ or perhaps in portage? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Recovering a deleted file.
On Tuesday 04 August 2009, Alan McKinnon wrote: On Tuesday 04 August 2009 17:24:13 sean wrote: Some friends, who are trying out Linux on their home system, accidentally deleted some pictures on their camera memory card, while it was plugged into the camera. Is there any software to recover a deleted file off of a memory card in such a circumstance? I already told them not to use the card for anything else and to lock it. What kind of card? It's likely formatted with FAT, there's hundreds of tools for Windows that can undelete files on FAT. I recall using such stuff written by a certain Mr Peter Norton when I was still but a little lad... It goes without saying that you should create an image of the card on your machine using e.g. dd, mount it using -o loop and then perform any recovery with testdisk or what not on that image. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Remove stranded gcc-config's?
On Tue, Aug 4, 2009 at 3:15 PM, Mickmichaelkintz...@gmail.com wrote: On Tuesday 04 August 2009, Mark Knecht wrote: On Mon, Aug 3, 2009 at 4:35 PM, waltw41...@gmail.com wrote: On 08/03/2009 03:51 PM, Mark Knecht wrote: Again as history, I first noticed this issue when emerging gcc-4.3.2. I had 4.1.2 on the system, in use, as well as these old line items in gcc-config. Once I had rebuilt the system with 4.3.2 I did an emerge -C =sys-devel/gcc-4.1.2 and got rid of that one both from the system and this list, but this thread was about 'stranded' options which are the 3.3.3 and 3.4.4 selections. Are these options held in a file somewhere that can be edited by hand? Is there some option to gcc-config that can clean them up? Have a look in /etc/env.d/gcc/ and /usr/libexec/gcc/ and /usr/lib/gcc/ for any old files or directories that shouldn't be there. Particular attention to /etc/env.d/gcc. Thanks Walt. slocate 3.3.3/3.4.4 sort of spreads out across the system and shows a lot of stuff that probably shouldn't be around anymore. /etc/env.d/gcc looks like the list of things I want to get rid of. I'll try to double check against a system that's not having this problem and experiement a bit with just deleting this stuff. (After doing some backups first.) I also seem to have an older gcc 3.4.5 listed: # gcc-config -l [1] i686-pc-linux-gnu-3.4.5 [2] i686-pc-linux-gnu-3.4.5-hardened [3] i686-pc-linux-gnu-3.4.5-hardenednopie [4] i686-pc-linux-gnu-3.4.5-hardenednopiessp [5] i686-pc-linux-gnu-3.4.5-hardenednossp [6] i686-pc-linux-gnu-4.3.2 * and indeed it is still in: $ ls -la /etc/env.d/gcc/ total 29 drwxr-xr-x 2 root root 408 Aug 4 23:03 . drwxr-xr-x 4 root root 952 Jul 2 06:06 .. lrwxrwxrwx 1 root root 23 May 15 06:15 .NATIVE - i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 32 May 15 06:15 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 292 Mar 30 2006 i686-pc-linux-gnu-3.4.5 -rw-r--r-- 1 root root 356 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardened -rw-r--r-- 1 root root 361 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenednopie -rw-r--r-- 1 root root 364 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenednopiessp -rw-r--r-- 1 root root 361 Mar 30 2006 i686-pc-linux-gnu-3.4.5-hardenednossp -rw-r--r-- 1 root root 235 Apr 6 13:15 i686-pc-linux-gnu-4.3.2 It cannot be unmerged (not there) and fix_libtool_files.sh 3.4.5 completes immediately (unlike the few seconds it takes for any gcc packages that are still in my system). At this stage it may just be a matter of deleting relevant files in /etc/env.d/gcc/ but I have not done that yet. Where else do you find 3.3.3/3.4.4 in your system other than /usr/share/gcc-data/ or perhaps in portage? -- Regards, Mick Mick, I found stuff a bunch of places using slocate 3.3.3 or slocate 3.4.4, etc. I basically ended up erasing everything that wasn't gcc-4.3.2 and it seems to have worked out OK for me so far. The machine appears clean. I haven't discovered anything that doesn't work. I was thinking about re-emerging gcc-4.3.2 just in case I happened to delete something I shouldn't have, but so far everything is cool. Hope this helps, Mark
Re: [gentoo-user] Anybody tried shake defragmenter?
On Mon, 3 Aug 2009 16:48:06 -0700 Grant emailgr...@gmail.com wrote: It never made a sound before, but now there's a rhythmic grinding sound when miro is running, maybe because the HD is more full now. In my experience, the rate of change of hard drive access volume is inversely proportional with the drive's lifetime. The faster it gets louder, the sooner it's going to die. Time to start planning for replacement. Oh, and you're utilizing SMART, right?