Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far
On Tuesday 09 February 2010 16:31:15 Mark Knecht wrote: > On Mon, Feb 8, 2010 at 4:37 PM, Mark Knecht wrote: > > > > There's a few small downsides I've run into with all of this so far: > > > > 1) Since we don't use sector 63 it seems that fdisk will still tell > > you that you can use 63 until you use up all your primary partitions. > > It used to be easier to put additional partitions on when it gave you > > the next sector you could use after the one you just added.. Now I'm > > finding that I need to write things down and figure it out more > > carefully outside of fdisk. > > Replying mostly to myself, WRT the value 63 continuing to show up > after making the first partition start at 64, in my case since for > desktop machines the first partition is general /boot, and as it's > written and read so seldom, in the future when faced with this problem > I will likely start /boot at 63 and just ensure that all the other > partitions - /, /var, /home, etc., start on boundaries divisible by 8. > > It will make using fdisk slightly more pleasant. I noticed while working on two new laptops with gparted that resizing Windows 7 and creating new partitions showed up small blank partitions (marked as hidden) in between the resized, and/or the new partitions. If I recall correctly these were only a few KB each so rather small as such. I am not sure why gparted created these - could it be related to the drive automatically aligning partitions to this 4K sector size that is discussed here? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Dual booting Dell with Windows 7
Hi All, I bought a Dell XPS laptop which seems to have 3 primary partitions. The third partition is where Windows 7 resides, while the second partition is flagged as bootable. The first partition contains some Dell (recovery) tools. I am lead to believe that the second partition is the back up partition and is meant to be used to restore the OS in the third partition. This confuses me a bit - shouldn't the third partition which houses the OS be flagged as bootable instead? Anyway, I do not want to interfere with the Dell/MS Windows OS way of booting, at least until the warranty expires. What is the recommended way of dual booting with Gentoo? In the past I have either installed GRUB in the MBR and chainloaded WinXP from there, or I have installed GRUB in the Linux partition boot record and then used NTLDR to chainload grub from the MSWindows bootloader. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Dual booting Dell with Windows 7
On Saturday 13 February 2010 17:13:51 Willie Wong wrote: > On Sat, Feb 13, 2010 at 03:09:35PM +0000, Mick wrote: > > I bought a Dell XPS laptop which seems to have 3 primary partitions. The > > third partition is where Windows 7 resides, while the second partition is > > flagged as bootable. The first partition contains some Dell (recovery) > > tools. I am lead to believe that the second partition is the back up > > partition and is meant to be used to restore the OS in the third > > partition. This confuses me a bit - shouldn't the third partition which > > houses the OS be flagged as bootable instead? > > Take a look at this > http://lifehacker.com/5403100/dual+boot-windows-7-and-ubuntu-in-perfect-har > mony Apparently you can now re-size online partitions with Windows 7 > itself. > > Google also suggests you can chainload Windows 7 in the usual way using > grub. Thank you both for your replies. If I were to choose GRUB to chainload W7 what should I point it to? Dell's partition 2 which has the boot flag, or the main W7 OS partition 3? If I were to use W7's NTLDR equivalent - whatever this technology might be - will I be able to chainload GRUB from it? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Sunday 14 February 2010 12:40:59 Alan McKinnon wrote: > On Sunday 14 February 2010 13:02:48 Volker Armin Hemmann wrote: > > > I highly recommend drivers to gain the skill of driving a vehicle > > > crash-style without a clutch. Comes in useful sometimes. > > > > > > :-) > > > > the point was not stick but unsyncronized ;) > > I know. I just felt like tossing sounding in that sounded awfully clever > :-) I also like manual gearboxes and for some years I was driving an old Series IIA Land Rover which had straight cut gears on first and second and it whined when driven at any speed. If you didn't double declutch to go from 2nd to 1st and occasionally from 3rd to 2nd you would eventually end up with a box-full of gears and no forward drive! I also happen to own a couple of old PCs which I try to keep lean and I don't mind the odd double declutching to change gears. Now, I understand the development philosophy of KDE4 since this was very well explained, but that does not stop me wishing that the developers were a bit more modular in their approach. This is because I would like to use a few KDE apps, but do not want to have to download and install a load of ever increasing dependencies. I am after a pick 'n mix from the sweet shop, rather than being 'forced' to have one of each. However, the point has been well made by many. KDE4 is not KDE3.x and with KDE4 you get the full enchilada because that's what the developers have produced. Since I do not have the ability (or time) to fork KDE4 into my own flavour I will very much have to make do and be grateful with what developers care to offer. As I progressively upgrade my hardware all this aforementioned 'bloat' will no doubt be less of a concern, but as things are maturing in the Linux land my old laptop has been getting slower and slower over the years when running X. I can blame this on Xorg, but the applications themselves are getting heavier somewhat too. I wonder if there is enough of a user requirement here for some of us to knock up a few wiki pages of how to build a slimmer gentoo, choices of lightweight WMs, desktop apps of choice, etc. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Dual booting Dell with Windows 7
On Wednesday 17 February 2010 01:12:08 Peter Humphrey wrote: > On Monday 15 February 2010 23:45:23 Mick wrote: > > If I were to [tell] GRUB to chainload W7 [which} should I point it > > to? Dell's partition 2 which has the boot flag, or the main W7 OS > > partition 3? > > The one with W7 on it, I should have thought, as that's the one you want > to start. Why not just try it? And when you find out which partition is > which, why not set the bootable flag on the right one? I.e. the one with > grub in it. I am not sure that I would want to do this. I recall that MSWindows used to be and it possible still is rather sensitive with needing the boot flag on its partition. Linux on the other hand is a more advanced OS which does not care where the boot flag is. The NTLDR bootloader is no more since Vista. A different boot loading arrangement exists and I am not sure of its behaviour. > > If I were to use W7's NTLDR equivalent [...] [would] I be able to > > chainload GRUB from it? > > I assume you mean "to" it. (I have a nasty, ever-growing suspicion that > Americans not only don't know their tenses, but they think backwards - > either that or I do.) :-) Nope. I mean use the Windows 7 bootloader as the primary bootloader to chainload GRUB from the Gentoo partition. The MSWindows stays in the MBR as it is now, the GRUB is installed in the Gentoo /boot partition. MSWindows bootloader chainloads GRUB. > Again, the answer's a lemon - suck it and see. > > No offence intended. Thanks, none received. I am not American. ;-) PS. Not that this somehow makes my English good, or that I share your view on American grammar. I have heard worse English being spoken in places like e.g. Northampton England, than any places that I happened to have visited in the US. :-)) PPS. I am making some progress with this (at least in terms of googling) and will report back as soon as I have achieved this MSWindows --> chainloading -- > Gentoo thing. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On 17 February 2010 00:12, Volker Armin Hemmann > you want dependency nightmare? > > openoffice depends on libwpd > libwpd depends on libgsf > libgsf pulls gconf in. > > I don't need wordperfect, I don't want gnome. No way to get rid of that crap. I know. :-( > Even basic libs are pulling in tons of gnome crap today. Why? KDE does not > infest low level stuff. If you don't want KDE stuff, you don't have to install > it. But thanks to some §§$$%&§$@& even low level libs and apps pull in that > shit today. > If freedesktop wouldn't be that sick joke it is, such behaviour wouldn't be. One more reason why over the years I gravitated towards using KDE apps and staying away from Gnome. I think that a maturing Linux has inevitably become heavier in terms of DEs and dependencies. Even on my new laptop I will be staying away from Gnome as a DE and am thinking of giving LXDE a spin, to see if it is any better than Fluxbox. -- Regards, Mick
Re: [gentoo-user] Dual booting Dell with Windows 7
Thanks Nick, On Wednesday 17 February 2010 09:53:27 Nick Cunningham wrote: > Take a look at EasyBCD: http://neosmart.net/forums/showthread.php?t=642 > The latest betas of version 2 allow you to use the Vista/Win7 bootloader to > chainload grub and so boot linux. Its pretty easy to setup aswell as all > you do is tell it to add an entry to your bootloader and then direct it to > your /boot partition that has grub installed. > Of course its not as pretty as some of the things you can do in grub/grub2, > but it does work. > > The only downside is that you need to register on their forums in order to > download the latest betas :( ... or, perhaps use BCDedit? http://technet.microsoft.com/en-us/library/cc709667(WS.10).aspx Time allowing I'll have a go at installing Gentoo this weekend and report back. I think that it'll be a straight forward exercise of using dd to copy the Gentoo partition boot record (where I will have installed GRUB) to a file and then save this file in Windows 7 and point to it from C:\boot\bcd. The latter seems to be the Windows 7 equivalent to WinXP's boot.ini. Anyway, I better stop here before someone reading this M/L think they've come across a Microsoft conspiracy, or even worse the M/L server got infected! :-)) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT] Choice of Photo gallery tools
On Thursday 18 February 2010 01:35:12 Iain Buchanan wrote: > On Wed, 2010-02-17 at 17:14 -0600, Harry Putnam wrote: > > I wondered if anyone here can speak on the various photo and gallery > > generating tools available on linux. > > > > I have photos on smugmug.com and wondered if there is do it yourself > > tools that come anywhere close the sophisticated handling they do. > > never tried smugmug and don't know what your requirements are, but I > push JAlbum. You can create some pretty good looking albums and run > them from CD / HD / webserver (I especially like the fact that you don't > need a webserver). It can synchronise to your website. There are a > plethora of options and free + commercial skins, plus plug-ins to let > you sell them online. > > Unfortunately it's just the generation tool, you have to find your own > hosting. A really low-tech solution that was more than enough for me was the ability of Konqueror 3.x to generate an html page with thumbnails and link it to the folder with all your chosen photos. With KDE4 I had to install kim4 for editing my pics and creating an html gallery. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE 4.3 Weather Forecast Applet does not find Perth (Looking for a Fix)
On 18 February 2010 14:21, ubiquitous1980 wrote: > Matthias Krebs wrote: >> Am Dienstag 16 Februar 2010 22:26:11 schrieb ubiquitous1980: >> >>> Using KDE 4.3 Weather Forecast Applet for amd64. I know BBC broke >>> this. Anyone got a fix? >>> >> >> update to kde 4.4 >> >> >> bbc works again (at least for berlin) >> >> > You can use cwp (customisable weather plasmoid) from kde-look. Requires > hand installation. Hope that helps. Or you can copy the URL from the BBC RSS feed and it should work. Let me know which location you want and I can copy it over for you to try. -- Regards, Mick
Re: [gentoo-user] Re: [OT] Choice of Photo gallery tools
On Thursday 18 February 2010 14:54:37 Harry Putnam wrote: > Mick writes: > > On Thursday 18 February 2010 01:35:12 Iain Buchanan wrote: > >> On Wed, 2010-02-17 at 17:14 -0600, Harry Putnam wrote: > >> > I wondered if anyone here can speak on the various photo and > >> > gallery generating tools available on linux. > >> > > >> > I have photos on smugmug.com and wondered if there is do it > >> > yourself tools that come anywhere close the sophisticated > >> > handling they do. > >> > >> never tried smugmug and don't know what your requirements are, but I > >> push JAlbum. You can create some pretty good looking albums and run > >> them from CD / HD / webserver (I especially like the fact that you don't > >> need a webserver). It can synchronise to your website. There are a > >> plethora of options and free + commercial skins, plus plug-ins to let > >> you sell them online. > >> > >> Unfortunately it's just the generation tool, you have to find your own > >> hosting. > > > > A really low-tech solution that was more than enough for me was the > > ability of Konqueror 3.x to generate an html page with thumbnails > > and link it to the folder with all your chosen photos. With KDE4 I > > had to install kim4 for editing my pics and creating an html > > gallery. > > That does sound close to what I need, but it involves jacking around > with KDE, something I swore off of a while back. Use Knoppix or similar to see if it does what you want, as you want it and then decide if it is worth you installing Konqueror and kim4. JAlbum is a more substantial application built for this purpose (as long as you have Java on your machine). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] hdparm -d 1 -X 68 ?
On Thursday 18 February 2010 14:33:38 James wrote: > Hello, > > > hdparm -i /dev/hda > > Model=IBM-DJNA-371350, FwRev=J76OA30K, SerialNo=GM0GMGB6505 > Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } > RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34 > BuffType=DualPortCache, BuffSize=1966kB, MaxMultSect=16, MultSect=16 > CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=26520480 > IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} > PIO modes: pio0 pio1 pio2 pio3 pio4 > DMA modes: mdma0 mdma1 mdma2 > UDMA modes: udma0 udma1 *udma2 udma3 udma4 > AdvancedPM=no WriteCache=enabled > Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17: ATA/ATAPI-1,2,3,4 > > * signifies the current active mode > > > Should I put the drive into udma4 mode? > > If so, wouldn't I use: > > hdparm -d 1 -X 68 /dev/hda According to the hitachi manual (who made this drive for IBM) the DJNA-3X series has a Ultra ATA Mode 2 (33.3 MB per second) capability. So the kernel is not lying in this case and you can trust hdparm in what it shows. I suggest you leave alone. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE 4.3 Weather Forecast Applet does not find Perth (Looking for a Fix)
On Thursday 18 February 2010 16:51:00 you wrote: > On 18 February 2010 14:21, ubiquitous1980 wrote: > > Matthias Krebs wrote: > >> Am Dienstag 16 Februar 2010 22:26:11 schrieb ubiquitous1980: > >>> Using KDE 4.3 Weather Forecast Applet for amd64. I know BBC broke > >>> this. Anyone got a fix? > >> > >> update to kde 4.4 > >> > >> > >> bbc works again (at least for berlin) > > > > You can use cwp (customisable weather plasmoid) from kde-look. Requires > > hand installation. Hope that helps. > > Or you can copy the URL from the BBC RSS feed and it should work. Let > me know which location you want and I can copy it over for you to try. Open your ~/.kde4/share/config/plasma-desktop-appletsrc and add this line for your source of the weather applet: source=bbcukmet|weather|Perth, Australia| http://newsrss.bbc.co.uk/weather/forecast/92/ObservationsRSS.xml all on one line. Or if you prefer Perth International, then add this: source=bbcukmet|weather|Perth International, Australia| http://newsrss.bbc.co.uk/weather/forecast/1954/ObservationsRSS.xml Hope this makes it work again. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE 3 and Kconvert
On Saturday 20 February 2010 03:11:41 Dale wrote: > Dale, whatever you wanted to say did not reach the list ... just an html message with an empty body. You may want to resend? PS. Hopefully not in html. ;-) -- Regards, Mick
Re: [gentoo-user] recovering RAID from an old server
On Saturday 20 February 2010 06:29:03 Iain Buchanan wrote: > so it looks like there's some problems with hdc. Are there any disk > hardware testing tools on the gentoo minimal live cd? If you want to check the disk use sys-apps/smartmontools, but this problem may be a fs corruption - which could of course have been caused by the hardware failing. -- Regards, Mick
[gentoo-user] Resizing ntfs creates a hidden partition
Hi All, I am resizing a Windows partition to get some space for Gentoo. I noticed that when gparted finished and I rebooted the machine there is a blank unallocated space in front of the Windows 7 partition, shown below as 6.33MB: === cfdisk (util-linux-ng 2.16.1) Disk Drive: /dev/sda Size: 500107862016 bytes, 500.1 GB Heads: 255 Sectors per Track: 63 Cylinders: 60801 NameFlags Part Type FS Type [Label]Size (MB) -- sda1Primary Dell Utility41.13 sda2BootPrimary NTFS [] 15728.64* Pri/Log Free Space 6.33* sda3Primary NTFS [] 52426.47* Pri/Log Free Space 431902.70* === Also, when I used gparted to create a new extended partition over the 431G free space at the end of the disk I ended up with a similar small unallocated space in front of it. This is something I have observed happening recently on 3 laptops that I have worked on, i.e. resizing or creating a new partition inevitably creates a small blank partition in front of it. Looking at the sectors table I see this: === Partition Table for /dev/sda First Last # Type Sector Sector OffsetLength Filesystem Type (ID) Flag -- --- --- --- -- --- 1 Primary 0 80324 63 80325 Dell Utility (DE)None 2 Primary 8032530800324* 03072*HPFS/NTFS (07) Boot Pri/Log30800325* 30812669 0 12345*Free Space None 3 Primary30812670 133208104* 0 102395435*HPFS/NTFS (07) None Pri/Log 133208105* 976768064 0 843559960*Free Space None === I am not sure what the asterisks are for after the last sector on the second and third partitions. Could this empty space jump be related to gparted somehow shifting the start of a partition to make it align with a particular sector as per previous thread on the 4k sector topic? Should I do anything about it, or just run with it and let gparted align what it wants to align as part of the partitioning process? -- Regards, Mick
Re: [gentoo-user] How should I clean up my broken system?
On Sunday 14 February 2010 11:32:12 Neil Bothwick wrote: > On Sun, 14 Feb 2010 12:03:40 +0100, Volker Armin Hemmann wrote: > > > On a more serious note, conf-update automatically merges trivial > > > changes, so any configs you ran at the default, which is probably the > > > majority, won't be flaged at all. > > > > so does cfg-update > > Every now and then, someone mentions cfg-update - usually you :) - and I > give it another try, but I don't really get on with it and always go back > to conf-update. There's nothing specific wrong with it, I just prefer (or > am used to) conf-update. > > I expect that if I were still using etc-update or dispatch-conf I would > welcome it with open arms though. You make me feel out of touch with Gentoo! Is dispatch-conf and etc-update that bad then? -- Regards, Mick
Re: [gentoo-user] KDE 3 and Kconvert
On Saturday 20 February 2010 14:07:40 Dale wrote: > chrome://messenger/locale/messengercompose/composeMsgs.properties: > > On Saturday 20 February 2010 03:11:41 Dale wrote: > > > > > > Dale, whatever you wanted to say did not reach the list ... just an html > > message with an empty body. You may want to resend? > > > > PS. Hopefully not in html. ;-) > > I synced last night and did a update. After that I was informed that > there was some preserved libs that needed to be rebuilt. So I attempt > to do this and this is what I get: > > r...@smoker / # emerge @preserved-rebuild -a > > * IMPORTANT: 1 news items need reading for repository 'gentoo'. > * Use eselect news to read news items. > > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > > emerge: there are no ebuilds to satisfy "sci-calculators/kconvert:0". > > > * IMPORTANT: 1 news items need reading for repository 'gentoo'. > * Use eselect news to read news items. > > r...@smoker / # eix kconvert > No matches found. > r...@smoker / # layman -l > * kde-sunset[Git ] > (git://git.overlays.gentoo.org/proj/kde-sunset.git > ) > r...@smoker / # > > So, it wants to rebuild Kconvert but there is no such thing in portage. > I have the kde-sunset layman up to date as well. Also, I do use > Kconvert so I don't want to get rid of it either. > > Is there a way to fix this? Oh, the news item is not related. I read > it but plan to go back to it one day when I have more time to mess with it. > > Thanks. > > Dale > > P. S. Is this being sent plain text? Me and Seaonkey 2 are having a > bit of a discussion here. According to the headers in your message, yes: Content-Type: text/plain; I'm afraid I can't help with kconvert other than confirm that it does not seem to be in portage anymore. I do not use any overlays to be able to offer help here. -- Regards, Mick
[gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation
I know that some of you have been using reiser4 for some years now. How does it compare in performance and reliability in terms to reiserfs and xfs? A few years ago I remember there were problems compiling or running some applications/libraries on reiser4 - are these problems now over? Any gotchas? -- Regards, Mick
Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation
On 21 February 2010 14:03, Volker Armin Hemmann wrote: > On Sonntag 21 Februar 2010, Mick wrote: >> I know that some of you have been using reiser4 for some years now. >> How does it compare in performance and reliability in terms to >> reiserfs and xfs? >> > they don't even come close in performance. XFS sucks with files who are not > multi megabyte in size. > >> A few years ago I remember there were problems compiling or running >> some applications/libraries on reiser4 - are these problems now over? >> Any gotchas? > > a lng time ago there was a bug when compiling kde and without compression. > Fixed shortly afterwards, never had a problem again. Thanks Volker for a prompt reply. Is reiser4 still being developed, or is Linux now moving towards ext4? Some googling has shown me that reiser4 gives better performance than ext4, although not across the board. -- Regards, Mick
Re: [gentoo-user] Resizing ntfs creates a hidden partition
On Saturday 20 February 2010 13:59:38 Stefan Schulte wrote: > Hi Mick, > > AFAIK the asterisk behind the partition just indicates, that it is not > aligned to a cylinder boundary. I think this doesnt have any effect (or > maybe some old OS like DOS depend on it). If you use cfdisk for > partitioning you can avoid that by given the space in c(ylinders). e.g. > New Partition with a size of '100c'. > > I guess your hidden partition has something to do with Windows > behaviour, because if you install Windows and create partitions during > the installation process, it also creates an extra 8MB partition. > Maybe gparted adopted that behaviour. > > But I can't tell you the reason why. Some people say it's for temp data > (which I doubt) and others say it's used to store metadatas if the user > decides to use flexible disks or software RAIDs. > > I just can say that windows is running fine without it on my computer, > because i decided to partition with cfdisk before running the > installation. Thank you both for your responses. I failed to notice that gparted now has a handy 'align on cylinder' tick box. That's what I think shifts partitions along until there is alignment with the cylinder boundary. -- Regards, Mick
[gentoo-user] gnupg fails to decrypt on kmail
Yesterday I updated my system and after a series of: revdep-rebuild --library libjpeg.so.7 and revdep-rebuild -v -i I thought all was good to go. Unfortunately, I now noticed that I cannot open encrypted messages anymore and signing mail fails. This points towards gnupg which I remerged along with all packages I thought might me relevant. I haven't yet remerged openssl (will try that in a minute) but I am not sure that will help. It's not just smime but also openpgp that fails. Has anyone else noticed this and have you found any fixes for it? -- Regards, Mick
Re: [gentoo-user] gnupg fails to decrypt on kmail
On Sunday 21 February 2010 15:08:28 Willie Wong wrote: > On Sun, Feb 21, 2010 at 02:50:09PM +0000, Mick wrote: > > Yesterday I updated my system and after a series of: > > > > revdep-rebuild --library libjpeg.so.7 > > > > and > > > > revdep-rebuild -v -i > > > > I thought all was good to go. Unfortunately, I now noticed that I cannot > > open encrypted messages anymore and signing mail fails. This points > > towards gnupg which I remerged along with all packages I thought might me > > relevant. I haven't yet remerged openssl (will try that in a minute) but > > I am not sure that will help. It's not just smime but also openpgp that > > fails. > > > > Has anyone else noticed this and have you found any fixes for it? > > Just a random guess: maybe revdep-rebuild updated to a new version and > configuration files changed? Did you look at the elogs of whatever you > re-emerged yesterday? Yes and I ran dispatch-conf for a couple of changes. However, nothing that I recall was related to encryption: Sat Feb 20 08:05:50 2010 >>> media-libs/jpeg-8 Sat Feb 20 08:20:29 2010 >>> media-sound/phonon-4.3.80-r1 Sat Feb 20 08:36:37 2010 >>> media-libs/tiff-3.9.2 Sat Feb 20 08:39:24 2010 >>> media-libs/libquicktime-1.1.3 Sat Feb 20 08:42:15 2010 >>> media-libs/gd-2.0.35-r1 Anything else I could look into? -- Regards, Mick
Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation
On Sunday 21 February 2010 15:59:56 Alan McKinnon wrote: > On Sunday 21 February 2010 16:16:51 Volker Armin Hemmann wrote: > > On Sonntag 21 Februar 2010, Mick wrote: > > > On 21 February 2010 14:03, Volker Armin Hemmann > > > > > > wrote: > > > > On Sonntag 21 Februar 2010, Mick wrote: > > > >> I know that some of you have been using reiser4 for some years now. > > > >> How does it compare in performance and reliability in terms to > > > >> reiserfs and xfs? > > > > > > > > they don't even come close in performance. XFS sucks with files who > > > > are not multi megabyte in size. > > > > > > > >> A few years ago I remember there were problems compiling or running > > > >> some applications/libraries on reiser4 - are these problems now > > > >> over? Any gotchas? > > > > > > > > a lng time ago there was a bug when compiling kde and without > > > > compression. Fixed shortly afterwards, never had a problem again. > > > > > > Thanks Volker for a prompt reply. Is reiser4 still being developed, > > > or is Linux now moving towards ext4? > > > > linux is moving toward btrfs. ext4 is just a stop gap measure. One that > > is only a good alternative if you don't care about your data. > > I know what you meant, and I know what Mick meant, but the question is > nonsensical. > > In terms of filesystems, linux does not "move" anywhere. There are too many > variables, too many options, too many scenarios to consider one fs the > favoured one. > > The correct question is "Is this thing supported?". The answer is that > btrfs, reiser4 and ext4fs are all supported. I think that on this occasion (new laptop) I will try reiser4 and wave goodbye to reiserfs for now. -- Regards, Mick
Re: [gentoo-user] gnupg fails to decrypt on kmail
On Sunday 21 February 2010 17:01:13 Willie Wong wrote: > On Sun, Feb 21, 2010 at 03:32:00PM +0000, Mick wrote: > > On Sunday 21 February 2010 15:08:28 Willie Wong wrote: > > > On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote: > > > > Yesterday I updated my system and after a series of: > > > > > > > > revdep-rebuild --library libjpeg.so.7 > > > > > > > > and > > > > > > > > revdep-rebuild -v -i > > > > > > > > I thought all was good to go. Unfortunately, I now noticed that I > > > > cannot open encrypted messages anymore and signing mail fails. This > > > > points towards gnupg which I remerged along with all packages I > > > > thought might me relevant. I haven't yet remerged openssl (will try > > > > that in a minute) but I am not sure that will help. It's not just > > > > smime but also openpgp that fails. > > > > > > > > Has anyone else noticed this and have you found any fixes for it? > > > > > > Just a random guess: maybe revdep-rebuild updated to a new version and > > > configuration files changed? Did you look at the elogs of whatever you > > > re-emerged yesterday? > > > > Yes and I ran dispatch-conf for a couple of changes. However, nothing > > that I recall was related to encryption: > > > > Sat Feb 20 08:05:50 2010 >>> media-libs/jpeg-8 > > Sat Feb 20 08:20:29 2010 >>> media-sound/phonon-4.3.80-r1 > > Sat Feb 20 08:36:37 2010 >>> media-libs/tiff-3.9.2 > > Sat Feb 20 08:39:24 2010 >>> media-libs/libquicktime-1.1.3 > > Sat Feb 20 08:42:15 2010 >>> media-libs/gd-2.0.35-r1 > > > > Anything else I could look into? > > Then I am kind of out of ideas. You mentioned that you remerged gnupg: > was there any warnings or logs at the end of the merge? (If you have > it enabled, the logs maybe stored in /var/log/portage/elog/) > > You say that smime and openpgp fails, do you have the error message? > It may help other people who know more about this to answer your > question. Thanks again for your help. The problem seems to be with pinentry when gpg is invoked manually: gpg: problem with the agent: No pinentry and then as a consequence: gpg: public key decryption failed: General error gpg: decryption failed: No secret key However, I have remerged pinentry. :-( Initially, I thought this was related to updating media-libs/jpeg-8 and library libjpeg.so.7, but it seems that it may be related to qt3 becoming deprecated? Perhaps I should unmask app-crypt/pinentry-0.7.6 which has qt4 in its USE flags and try with that? Meanwhile I just resync'ed and there's a load of kde-4.3.5 updates. Perhaps I was cought up in some major update bonanza and that's why this broke. I'll finish the update and see how it goes. -- Regards, Mick
Re: [gentoo-user] Re: Graphical usenet client - alternative to Knode
On 23 February 2010 11:48, Nikos Chantziaras wrote: > On 02/23/2010 01:39 PM, Nikos Chantziaras wrote: >> >> On 02/23/2010 12:26 PM, Neil Bothwick wrote: >>> >>> On Tue, 23 Feb 2010 12:11:40 +0200, Nikos Chantziaras wrote: >>> >>>> I'm on KDE4 but I use Thunderbird for both Usenet (including this >>>> mailing list through GMane's "mailing-list-to-Usenet" interface) and >>>> email. I like the simplicity and using only one app for both. >>> >>> Why are you passing the mail through a conversion gateway only to read it >>> in a mail client? Wouldn't subscribing directly be even more simple? >> >> No, because then I would get all the mail in my inbox and I would be the >> one responsible for filtering it; a total waste on bandwidth and my >> time. GMane does that for me instead. > > Just to make my point more clear: > > http://i50.tinypic.com/15ow2g8.png > > All of these under the "GMane" groups are mailing lists, but they appear > just like Usenet newsgroups. I can't imagine any easier way to easily deal > with 30+ mailing list subscriptions. Also, unlike when using a mail client, with usenet you don't have to download the message/thread if you're not interested in reading it. Back to the OP's topic, I am also using Knode (but not for this M/L). If you set your USE flags right you should be able to continue using Kmail/Knode without some of the dependencies that the full KDE4 desktop requires. However, I don't know if from KDE4.4 changes on dependencies (as per recent thread on semantic-desktop) mean that more of these will be pulled in. -- Regards, Mick
Re: [gentoo-user] gnupg fails to decrypt on kmail
On 22 February 2010 06:49, Mick wrote: > On Sunday 21 February 2010 17:01:13 Willie Wong wrote: >> On Sun, Feb 21, 2010 at 03:32:00PM +0000, Mick wrote: >> > On Sunday 21 February 2010 15:08:28 Willie Wong wrote: >> > > On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote: >> > > > Yesterday I updated my system and after a series of: >> > > > >> > > > revdep-rebuild --library libjpeg.so.7 >> > > > >> > > > and >> > > > >> > > > revdep-rebuild -v -i >> > > > >> > > > I thought all was good to go. Unfortunately, I now noticed that I >> > > > cannot open encrypted messages anymore and signing mail fails. This >> > > > points towards gnupg which I remerged along with all packages I >> > > > thought might me relevant. I haven't yet remerged openssl (will try >> > > > that in a minute) but I am not sure that will help. It's not just >> > > > smime but also openpgp that fails. >> > > > >> > > > Has anyone else noticed this and have you found any fixes for it? >> > > >> > > Just a random guess: maybe revdep-rebuild updated to a new version and >> > > configuration files changed? Did you look at the elogs of whatever you >> > > re-emerged yesterday? >> > >> > Yes and I ran dispatch-conf for a couple of changes. However, nothing >> > that I recall was related to encryption: >> > >> > Sat Feb 20 08:05:50 2010 >>> media-libs/jpeg-8 >> > Sat Feb 20 08:20:29 2010 >>> media-sound/phonon-4.3.80-r1 >> > Sat Feb 20 08:36:37 2010 >>> media-libs/tiff-3.9.2 >> > Sat Feb 20 08:39:24 2010 >>> media-libs/libquicktime-1.1.3 >> > Sat Feb 20 08:42:15 2010 >>> media-libs/gd-2.0.35-r1 >> > >> > Anything else I could look into? >> >> Then I am kind of out of ideas. You mentioned that you remerged gnupg: >> was there any warnings or logs at the end of the merge? (If you have >> it enabled, the logs maybe stored in /var/log/portage/elog/) >> >> You say that smime and openpgp fails, do you have the error message? >> It may help other people who know more about this to answer your >> question. > > Thanks again for your help. The problem seems to be with pinentry when gpg is > invoked manually: > > gpg: problem with the agent: No pinentry > > and then as a consequence: > > gpg: public key decryption failed: General error > gpg: decryption failed: No secret key > > However, I have remerged pinentry. :-( > > Initially, I thought this was related to updating media-libs/jpeg-8 and > library libjpeg.so.7, but it seems that it may be related to qt3 becoming > deprecated? Perhaps I should unmask app-crypt/pinentry-0.7.6 which has qt4 in > its USE flags and try with that? > > Meanwhile I just resync'ed and there's a load of kde-4.3.5 updates. Perhaps I > was cought up in some major update bonanza and that's why this broke. I'll > finish the update and see how it goes. This is rather debilitating ... I have now update pinentry to 0.7.6 and I still have the same problem. :-( I may have to restore my system from a back up just to access my encrypted data, which is something I'd rather not have to do after a mammoth kde update. The elog of pinentry shows this, but I am not sure I understand what it means, or if it is related to my problem. == >>> Messages generated by process 10763 on 2010-02-24 07:01:34 GMT for package a pp-crypt/pinentry-0.7.6: LOG: postinst We no longer install pinentry-curses and pinentry-qt SUID root by default. Linux kernels >=2.6.9 support memory locking for unprivileged processes. The soft resource limit for memory locking specifies the limit an unprivileged process may lock into memory. You can also use POSIX capabilities to allow pinentry to lock memory. To do so activate the caps USE flag and add the CAP_IPC_LOCK capability to the permitted set of your users. == Since invoking gpg on the CLI does not ask for a passphrase and it returns: gpg: problem with the agent: No pinentry I assume that the problem is with pinentry. Is there some other application involved here that I should look into? -- Regards, Mick
Re: [gentoo-user] gnupg fails to decrypt on kmail
On Wednesday 24 February 2010 15:03:06 Willie Wong wrote: > Hum, also, try getting some debug output from gpg-agent: > > (1) 'killall gpg-agent' (and run ps aux to see if they are really > killed) > (2) Restart gpg-agent via > > eval 'gpg-agent --daemon --no-detach --debug-level guru --log-file > ~/gpg-agent.log' (3) Run gpg. > > Look at the content of ~/gpg-agent.log to see if anything is amiss. Thank you very much for persevering with me! :-) I changed your eval argument a bit and this is what I noticed: eval "$(gpg-agent --daemon --no-detach --debug-level guru --log-file gpg- agent.log)" gpg-agent[7276]: enabled debug flags: command mpi crypto memory cache memstat hashing assuan The log file shows: 2010-02-24 20:32:01 gpg-agent[7276] listening on socket `/tmp/gpg- IX4A40/S.gpg-agent' 2010-02-24 20:32:01 gpg-agent[7277] gpg-agent (GnuPG) 2.0.14 started 2010-02-24 20:32:13 gpg-agent[7277] SIGINT received - immediate shutdown 2010-02-24 20:32:13 gpg-agent[7277] gpg-agent (GnuPG) 2.0.14 stopped 2010-02-24 20:32:13 gpg-agent[7277] random usage: poolsize=600 mixed=0 polls=0/0 added=0/0 outmix=0 getlvl1=0/0 getlvl2=0/0 2010-02-24 20:32:13 gpg-agent[7277] secmem usage: 0/32768 bytes in 0 blocks However, when I invoke gpg it looks for another socket ... different to the one that the agent is listening on. $ gpg -vv DATA/some_data.ods.gpg gpg: using character set `iso-8859-1' gpg: enabled debug flags: memstat :pubkey enc packet: version 3, algo 16, keyid data: [2048 bits] data: [2045 bits] gpg: public key is gpg: using subkey instead of primary key You need a passphrase to unlock the secret key for user: "me " gpg: using subkey instead of primary key 2048-bit ELG key, ID , created 2010-01-25 (main key ID ) can't connect to `/tmp/gpg-pNLb9Y/S.gpg-agent': No such file or directory gpg: can't connect to the agent - trying fall back can't connect to `/home/michael/.gnupg/S.gpg-agent': No such file or directory gpg: no running gpg-agent - starting one gpg-agent[7265]: enabled debug flags: assuan can't connect to `/home/michael/.gnupg/log-socket': Connection refused gpg: problem with the agent: No pinentry :encrypted data packet: length: 22577 mdc_method: 2 gpg: encrypted with 2048-bit ELG key, ID , created 2010-01-25 "me " gpg: public key decryption failed: General error gpg: decryption failed: No secret key Why is this? Invoking gpg to decrypt different (encrypted) files always brings up that socket '/tmp/gpg-pNLb9Y/S.gpg-agent'. Shouldn't it be a different socket each time? Another thing that shows something has gone south is that pinentry no longer asks for a passphrase as shown above. Also, when I encrypt a file it still does not ask for my passphrase - it just encrypts the file! -- Regards, Mick
Re: [gentoo-user] gnupg fails to decrypt on kmail
On Thursday 25 February 2010 00:09:17 Willie Wong wrote: > On Wed, Feb 24, 2010 at 10:51:38PM +0000, Mick wrote: > > Why is this? Invoking gpg to decrypt different (encrypted) files always > > brings up that socket '/tmp/gpg-pNLb9Y/S.gpg-agent'. Shouldn't it be a > > different socket each time? I noticed that this morning (after a reboot) it was looking for a different socket ... > Ack, let's do this one step at a time then. First let's try to figure > out the problem with the gpg-agent. [snip...] > In a new prompt, first paste the variable, then type gpg -vv *file* $ gpg-agent --daemon --no-detach --debug-level guru --log-file gpg-agent.log gpg-agent[6740]: enabled debug flags: command mpi crypto memory cache memstat hashing assuan GPG_AGENT_INFO=/tmp/gpg-5Tgf3a/S.gpg-agent:6741:1; export GPG_AGENT_INFO; This is now what the log shows: 2010-02-25 06:45:53 gpg-agent[6740] listening on socket `/tmp/gpg-5Tgf3a/S.gpg-agent' 2010-02-25 06:45:53 gpg-agent[6741] gpg-agent (GnuPG) 2.0.14 started 2010-02-25 06:48:32 gpg-agent[6741] handler 0x98caa38 for fd 7 started gpg-agent[6741.7] DBG: -> OK Pleased to meet you gpg-agent[6741.7] DBG: <- RESET gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- OPTION ttyname=/dev/pts/3 gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- OPTION ttytype=rxvt gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- OPTION display=:0.0 gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- OPTION lc-ctype=C gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- OPTION lc-messages=C gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- OPTION allow-pinentry-notify gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- GETINFO cmd_has_option GET_PASSPHRASE repeat gpg-agent[6741.7] DBG: -> OK gpg-agent[6741.7] DBG: <- GET_PASSPHRASE --data --repeat=0 -- A7029FW0V2G567G225FST52689GV822Rf230gkw8F X X Please+enter+the+passphrase+to+unlock+the+secret+key+ for+the+OpenPGP+certificate:%0A%22me+%22%0A2048-bit+ELG+key, +ID+,%0Acreated+2010-01-25+(main+key+ID+YYY).%0A 2010-02-25 06:48:32 gpg-agent[6741] DBG: agent_get_cache `A7029FW0V2G567G225FST52689GV822Rf230gkw8F'... 2010-02-25 06:48:32 gpg-agent[6741] DBG: ... miss 2010-02-25 06:48:32 gpg-agent[6741] starting a new PIN Entry gpg-agent[6741]: can't connect server: `ERR 67109133 can't exec `/usr/bin/pinentry-qt': No such file or directory' 2010-02-25 06:48:32 gpg-agent[6741] can't connect to the PIN entry module: IPC connect call failed 2010-02-25 06:48:32 gpg-agent[6741] command get_passphrase failed: No pinentry gpg-agent[6741.7] DBG: -> ERR 67108949 No pinentry gpg-agent[6741.7] DBG: <- [EOF] 2010-02-25 06:48:32 gpg-agent[6741] handler 0x98caa38 for fd 7 terminated Why is it trying to call /usr/bin/pinentry-qt?! `ERR 67109133 can't exec `/usr/bin/pinentry-qt' Is this a valid binary these days, or an older qt3 version? I think it should be /usr/bin/pinentry: $ ls -la /usr/bin/pinentry lrwxrwxrwx 1 root root 12 Feb 24 07:01 /usr/bin/pinentry -> pinentry-qt4 Please note that the: "Please+enter+the+passphrase+to+unlock+the+secret+key" does not show up on the screen even when I use the gpg -vv option. -- Regards, Mick
Re: [gentoo-user] gnupg fails to decrypt on kmail
On Thursday 25 February 2010 11:18:54 Willie Wong wrote: > On Thu, Feb 25, 2010 at 07:01:12AM +0000, Mick wrote: > > Why is it trying to call /usr/bin/pinentry-qt?! > > > >`ERR 67109133 can't exec `/usr/bin/pinentry-qt' > > > > Is this a valid binary these days, or an older qt3 version? I think it > > should be /usr/bin/pinentry: > > > > $ ls -la /usr/bin/pinentry > > lrwxrwxrwx 1 root root 12 Feb 24 07:01 /usr/bin/pinentry -> pinentry-qt4 > > Looks like you found your problem. I am not absolutely sure why > pinentry-qt is the default now. The man page says that running > 'gpg-agent --version' will tell you what the default pinentry program > it calls is, and that depends on installation. Hmm ... I saw that but I can't see the pinentry in there: $ gpg-agent --version gpg-agent (GnuPG) 2.0.14 libgcrypt 1.4.5 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. > So maybe file a bug? I > don't know whether this is a configuration/USE issue or something > hardcoded in the distribution. I will file a bug, but I am not entirely sure what I should file it under, so that it does not get rejected: gpg-agent which is calling pinentry-qt? app-crypt/pinentry, because it's done away with my previous pinentry-qt symlink to the pinentry binary? qt3 to qt4 move (in case this is linked to qt3 becoming deprecated)? Thank you so much for holding my hand on this! :-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] pdf viewing suggestions?
On Thursday 25 February 2010 12:45:34 Neal Hogan wrote: > On Thu, Feb 25, 2010 at 2:47 AM, Helmut Jarausch > > wrote: > > Hi, > > > > I cannot use mupdf at all. > > I've emerged mupdf-938 after adding it to my local overlay. > > > > But, when it comes up it displays the first page but I cannot > > do anything else. > > There is no menu, it doesn't respond to the mouse or the PgUp/PgDn > > keys. So I can only view the very first page or exit. > > No search, no printing ... > > > > What am I missing? > > The documentation? http://ccxvii.net/mupdf/ Look at the bottom of the page under "Manual". -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?
On Saturday 27 February 2010 06:53:31 Nikos Chantziaras wrote: > On 02/27/2010 07:21 AM, BRM wrote: > > - Original Message > > > >> From: Dale > >> > >>> On 02/27/2010 04:15 AM, BRM wrote: > >>>>> From: Neil BothwickTo: > >>>>> > >>>>> (PST), BRM wrote: > >>>>>> Aside from that, I'm not sure I have ever really run "emerge > >>>>>> --depclean", but I also rarely uninstall anything, but don't > >>>>>> install things left or right to try out either, so typically > >>>>>> upgrades are all I need to do. > >>>>> > >>>>> You should still run --depclean as dependencies change and you > >>>>> could still have plenty of no longer needed ones installed. > >>>> > >>>> Okay - so I ran "emerge --depclean -a" and got the below. I tried > >>>> running "emerge world -vuDNa" as specified, but that didn't resolve > >>>> it either. > >>>> I tried looking in the world file (/var/lib/portage/world) but didn't > >>>> find any entries that felt safe to remove. > >>> > >>> "Safe" as to what? If something is in the world file that you didn't > >> > >> explicitly request, then it doesn't belong there. For example, if you > >> have "x11-libs/qt-gui" in world, you should delete it. The world file > >> should not contain dependencies, it should only contain the stuff you > >> emerged directly. > > > > Okay...that kind of makes more sense now. > > From what I've read in the past, modifying 'world' would be a big no-no, > > and very risky - so I never touched it - also why I never really ran > > 'emerge --depclean', which is reporting some 400 packages to remove now > > that I've got that cleaned up. > > emerge -C does the same. It's just that I find it easier to edit the > world file directly (it's just a text file, after all, no magic in > there) if I want to clean up stuff. If you don't want to delete > something from world by hand, simply copy&pasting the line you want > removed to "emerge -C " will have the same result. > > Of course there might be special cases I simply don't know about; so > simply emerge -C instead of removing lines from world if you want to > play it safe. Does anyone know why regenworld adds a lot of what seem like dependencies into world (e.g. qt libraries)? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile
/libgamin-0.1.10-r2/work/gamin-0.1.10/python/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/python/tests' make[3]: Entering directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/python' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../libgamin -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -MT gamin.lo -MD -MP -MF .deps/gamin.Tpo -c -o gamin.lo gamin.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../libgamin -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -MT gamin.lo -MD -MP -MF .deps/gamin.Tpo -c gamin.c -fPIC -DPIC -o .libs/gamin.o In file included from gamin.c:11: ../config.h:59:1: warning: "HAVE_PTHREAD_H" redefined In file included from /usr/include/python2.6/Python.h:8, from gamin.c:9: /usr/include/python2.6/pyconfig.h:470:1: warning: this is the location of the previous definition libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../libgamin -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -MT gamin.lo -MD -MP -MF .deps/gamin.Tpo -c gamin.c -o gamin.o >/dev/null 2>&1 mv -f .deps/gamin.Tpo .deps/gamin.Plo /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -module -avoid-version -Wl,-O1 -o _gamin.la -rpath /usr/lib64/python2.6/site-packages gamin.lo ../libgamin/libgamin-1.la libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/gamin.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/libgamin/.libs ../libgamin/.libs/libgamin-1.so /usr/bin /usr/sbin /bin /sbin -lpthread -march=core2 -msse4 -mcx16 -msahf -Wl,-O1 -Wl,-soname -Wl,_gamin.so -o .libs/_gamin.so /usr/bin: file not recognized: Is a directory collect2: ld returned 1 exit status make[3]: *** [_gamin.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/python' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/python' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10' make: *** [all] Error 2 * ERROR: dev-libs/libgamin-0.1.10-r2 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 4734: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-libs/libgamin-0.1.10-r2', * the complete build log and the output of 'emerge -pqv =dev-libs/libgamin-0.1.10-r2'. * The complete build log is located at '/var/log/portage/dev-libs:libgamin-0.1.10-r2:20100227-175701.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/temp/environment'. * S: '/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10' >>> Failed to emerge dev-libs/libgamin-0.1.10-r2, Log file: >>> '/var/log/portage/dev-libs:libgamin-0.1.10-r2:20100227-175701.log' * Messages for package dev-libs/libgamin-0.1.10-r2: * ERROR: dev-libs/libgamin-0.1.10-r2 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 4734: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" What now? -- Regards, Mick
Re: [gentoo-user] Re: dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile
On Saturday 27 February 2010 19:04:09 walt wrote: > On 02/27/2010 10:04 AM, Mick wrote: > > Hi All, > > > > I am trying to install Gentoo on a i7 x86_64 arch machine and libgamin > > fails when I try to emerge syslog-ng (it's a dependency of it). This > > is my first 64bit machine, so I am not sure if I have made more > > mistakes than usual (LOL). This is the error: > > > > > > libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/gamin.o > > -Wl,-rpath > > -Wl,/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/libgam > >in/.libs ../libgamin/.libs/libgamin-1.so /usr/bin /usr/sbin /bin /sbin > >^ > > > -lpthread -march=core2 -msse4 -mcx16 -msahf -Wl,-O1 -Wl,-soname > > -Wl,_gamin.so -o .libs/_gamin.so > > /usr/bin: file not recognized: Is a directory > > Cool, a new libtool trick. It's trying to link an object file with a > directory? Dunno where the real error is, but I'd start with the old > shotgun approach by running lafilefixer --justfixit and see if it helps. That was my first thought too. I ran lafixer and revdep-rebuild after emerging these and the error shown above came up. Does it matter that I am in a chroot (I'm sure I ran all the correct incantations to get there). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Who believes in cylinders?
On Saturday 27 February 2010 18:20:24 Etaoin Shrdlu wrote: > On Saturday 27 February 2010, BRM wrote: > > Stage 1 focuses solely on loading Stage 2, > > and has historically been limited to a total size[1] to 512 bytes, > > It's actually less than that, because the first 64 bytes of sector 0 > contain the partition table, so the maximum size of a stage1 bootloader is > 510 - 64 = 446 bytes. Yep, that's why dd if=/dev/sda of=~/partition_table.img bs=446 count=1 will make you a nice back up of your partition table, while bs=512 will back up your complete MBR. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile
On Saturday 27 February 2010 21:45:13 Arttu V. wrote: > On 2/27/10, Mick wrote: > > On Saturday 27 February 2010 19:04:09 walt wrote: > >> On 02/27/2010 10:04 AM, Mick wrote: > >> > Hi All, > >> > > >> > I am trying to install Gentoo on a i7 x86_64 arch machine and libgamin > >> > fails when I try to emerge syslog-ng (it's a dependency of it). This > >> > is my first 64bit machine, so I am not sure if I have made more > >> > mistakes than usual (LOL). This is the error: > >> > > >> > > >> > libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/gamin.o > >> > -Wl,-rpath > >> > -Wl,/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/lib > >> >gam in/.libs ../libgamin/.libs/libgamin-1.so /usr/bin /usr/sbin /bin > >> > /sbin > >> > >>^ > >> > >> > -lpthread -march=core2 -msse4 -mcx16 -msahf -Wl,-O1 -Wl,-soname > >> > -Wl,_gamin.so -o .libs/_gamin.so > >> > /usr/bin: file not recognized: Is a directory > >> > >> Cool, a new libtool trick. It's trying to link an object file with a > >> directory? Dunno where the real error is, but I'd start with the old > >> shotgun approach by running lafilefixer --justfixit and see if it helps. > > > > That was my first thought too. I ran lafixer and revdep-rebuild after > > emerging these and the error shown above came up. > > grep for pkg-config inside the config.log (and maybe build.log as > well). I'm betting on pkg-config not being found, although the ebuild > seems to list it as a dependency. (Maybe your chroot settings affect > the path?) > > IIRC another package did the same for me some months ago (sorry, can't > remember which). If it couldn't find pkg-config it would still > complete configure phase without errors -- but cflags and libs > variables that were supposed to be filled with various `pkg-config > --libs foo` outputs were in fact filled with the paths from which > pkg-config was searched for (in vain) during configuration. And IIRC > the result looked nearly identical to the situation here. Thanks Arttu V. I will look at this when I boot next - I am trying to chainload the new install from Windows 7 to see if the error repeats outside the chroot and it is a struggle so far. Do you recall what your fix was? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [SOLVED] Re: dev-libs/libgamin-0.1.10-r2 fails to emerge on a multilib profile
On Saturday 27 February 2010 21:45:13 Arttu V. wrote: > On 2/27/10, Mick wrote: > > On Saturday 27 February 2010 19:04:09 walt wrote: > >> On 02/27/2010 10:04 AM, Mick wrote: > >> > Hi All, > >> > > >> > I am trying to install Gentoo on a i7 x86_64 arch machine and libgamin > >> > fails when I try to emerge syslog-ng (it's a dependency of it). This > >> > is my first 64bit machine, so I am not sure if I have made more > >> > mistakes than usual (LOL). This is the error: > >> > > >> > > >> > libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/gamin.o > >> > -Wl,-rpath > >> > -Wl,/var/tmp/portage/dev-libs/libgamin-0.1.10-r2/work/gamin-0.1.10/lib > >> >gam in/.libs ../libgamin/.libs/libgamin-1.so /usr/bin /usr/sbin /bin > >> > /sbin > >> > >>^ > >> > >> > -lpthread -march=core2 -msse4 -mcx16 -msahf -Wl,-O1 -Wl,-soname > >> > -Wl,_gamin.so -o .libs/_gamin.so > >> > /usr/bin: file not recognized: Is a directory > >> > >> Cool, a new libtool trick. It's trying to link an object file with a > >> directory? Dunno where the real error is, but I'd start with the old > >> shotgun approach by running lafilefixer --justfixit and see if it helps. > > > > That was my first thought too. I ran lafixer and revdep-rebuild after > > emerging these and the error shown above came up. > > grep for pkg-config inside the config.log (and maybe build.log as > well). I'm betting on pkg-config not being found, although the ebuild > seems to list it as a dependency. (Maybe your chroot settings affect > the path?) > > IIRC another package did the same for me some months ago (sorry, can't > remember which). If it couldn't find pkg-config it would still > complete configure phase without errors -- but cflags and libs > variables that were supposed to be filled with various `pkg-config > --libs foo` outputs were in fact filled with the paths from which > pkg-config was searched for (in vain) during configuration. And IIRC > the result looked nearly identical to the situation here. Here's what I managed to find: There is not pkg-config in /var/tmp/portage/dev-libs/libgamin-0.1.10- r2/work/gamin-0.1.10/config.log and I couldn't find it in the emerge log either. So, I went back to plan B. I configured the Windows 7 boot loader to chainload GRUB and booted into the new system. It had no problem compiling and installing libgamin and now it is installing syslog-ng. Perhaps this was related to the sysrescue-cd environment, I haven't tried all this with the Gentoo CD. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] segfault on startup scripts with new install
I am booting into a new system and this is what I'm getting: :-( = * Remounting root filesystem read/write ... [OK] /sbin/rc: line 385: 1515 Segmentation fault ( local retval=; local myservice="${service}"; profiling name "/etc/init.d/${service}"; retval=$?; if [[ ${retval} -ne 0 ]]; then eerror "Failed to source /etc/init.d/${service}"; return "${retval}"; fi; local conf="$(add_suffix /etc/conf.d/${service})"; [[ -e ${conf} ]] && source "${conf}"; conf="$(add_suffix /etc/rc.conf)"; [[ -e ${conf} ]] && source "${conf}"; start ) * Failed to start /etc/init.d/checkroot * One or more critical startup scripts failed to start! /sbin/functions.sh: line 207: 1541 Segmentation fault splash "critical" &>/dev/null * Please correct this and reboot ... Give root password for maintenance (or type Control-D to continue): = This is on a multi-reiser4 partition installation. What has gone wrong with it? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Is cpufrequtils needed these days?
On Sunday 28 February 2010 18:52:02 Volker Armin Hemmann wrote: > On Sonntag 28 Februar 2010, Mick wrote: > > As I am working my way through this new box I am not sure if cpufrequtils > > is necessary for the kernel to manage the CPU. Is this still necessary, > > no. I have never needed it. > > > or is the kernel itself clever enough to manage the hardware directly > > these days? > > yes, it is. Just use the ondemand governor. Kewl, thanks - I already am. :-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Dual booting Dell with Windows 7
On 17 February 2010 10:31, Willie Wong wrote: > On Wed, Feb 17, 2010 at 06:58:16AM +0000, Mick wrote: >> On Wednesday 17 February 2010 01:12:08 Peter Humphrey wrote: >> > On Monday 15 February 2010 23:45:23 Mick wrote: >> > > If I were to [tell] GRUB to chainload W7 [which} should I point it >> > > to? Dell's partition 2 which has the boot flag, or the main W7 OS >> > > partition 3? >> > >> > The one with W7 on it, I should have thought, as that's the one you want >> > to start. Why not just try it? And when you find out which partition is >> > which, why not set the bootable flag on the right one? I.e. the one with >> > grub in it. >> >> I am not sure that I would want to do this. I recall that MSWindows used to >> be and it possible still is rather sensitive with needing the boot flag on >> its >> partition. Linux on the other hand is a more advanced OS which does not care >> where the boot flag is. > > If you were to go with the GRUB -> W7 route, I don't think just trying > out the two configurations (don't change boot flags, just try each > partition) would've hurt. The worst that I can imagine is an error > thrown about OS not found. > >> Nope. I mean use the Windows 7 bootloader as the primary bootloader to >> chainload GRUB from the Gentoo partition. The MSWindows stays in the MBR as >> it is now, the GRUB is installed in the Gentoo /boot partition. MSWindows >> bootloader chainloads GRUB. >> > I wish you good luck with your project. > >> PPS. I am making some progress with this (at least in terms of googling) and >> will report back as soon as I have achieved this MSWindows --> chainloading >> -- >> > Gentoo thing. > > Please do write a page on the Wiki (or at least a summary of what you > did to this mailing list). This will be some handy information to > have. I have now succeeded at achieving what I wanted: to use the Windows 7 boot manager (bootmgr.exe) which is the successor to NTLDR to chainload GRUB from it and so leave the Windows installation intact (at least until the warranty expires) ;-) I very briefly detail here the steps that I followed - if you need more please contact me and I will help if I can, or if I get some time I will sign up to edit a Wiki page. First the necessary WARNING: You can render your MSWindows OS unbootable and without an installation CD things can get hairy. So research the necessary steps to recover a borked MSWindows boot system using the facilities offered by the OEM *before* you start and use partimage to make a back up, just in case. There's two or three gotchas that make this more difficult than chainloading GRUB from NTLDR.exe under Win2k and WinXP: 1. Disk and partition signatures in the MBR are used by Vista and Windows 7 to find the active boot partition of MSWindows. If you move that partition then its disk offset changes and you start getting errors like "winload.exe. is missing or corrupt", when what has actually happened is that the drive ID (partition signature) has changed and BCD doesn't know about it. 2. OEMs use additional partitions to save installation images for recovery purposes and they often mark these as active boot partitions. The boomgr and BCD is consequently installed there as part of the installation script - but it doesn't clearly tell you this in the BCD file (that's the new boot.ini) unless you can decipher partition ID signatures. Remove that recovery partition to save space and your MSWindows won't boot again. 3. Windows 7 uses BitLocker on the IPL in the MBR and this may introduce additional complications - you mess with the MBR and then kiss goodbye to booting your MSWindows bloatware again. My solution worked by editing the BCD file using the native editor provided by MSWindows, the bcdedit command. The winload.exe (which partly replaces NTLDR) is thereafter used normally to launch an image of the GRUB partition boot record and that of course knows where to jump to launch your Gentoo. There's no need for 3rd party boot managers - there are two or three available like Neogrub which should do the same job by offering you a GUI, but if you are capable enough to install Gentoo then you can easily find your way around the BCD file with bcdedit.exe. The main steps to achieve this solution are: 1. Install GRUB in your Linux /boot partition and capture an image of the partition boot record (it must be unmouted at the time): dd if=/dev/sda5 of=boot.lnx bs=512 count=1 2. Copy the boot.lnx file to C:\boot.lnx 3. Launch cmd.exe as administrator and call bcdedit /v which will show you something like this: C:\Windows\system32>bcdedit /v Windows Boot
Re: [gentoo-user] Dual booting Dell with Windows 7
On 1 March 2010 15:04, Peter Ruskin wrote: > On Sunday 28 February 2010 23:51:21 Mick wrote: >> I have now succeeded at achieving what I wanted: to use the >> Windows 7 boot manager (bootmgr.exe) which is the successor to >> NTLDR to chainload GRUB from it and so leave the Windows >> installation intact (at least until the warranty expires) ;-) [snip ...] > Thanks for the howto, Mick. I followed it on my Windows Vista Home > Premium 64; got "The operation completed successfully" all the way > through, but on reboot I don't get a boot menu. Can you please post your partition table (cfdisk, or parted will do), let me know which is your Gentoo /boot partition if it is not obvious and the drive letters as understood by Vista when it is running. A screenshot of gparted will help (email off list to keep the bandwidth down) because it also shows the Labels. > This doesn't matter much to me at the moment, as I use Acronis OSS > Selector for boot manager, but this doesn't work on Windows 7, so > my free update to Windows 7 is gathering dust. As long as the upgrade to Windows 7 does not mess up the MS boot partition then achieving this in Vista will be a good dry run for when you install Windows 7. However, I am not sure that you will be able to achieve this test run while Acronis is managing your boot session. My method implies that you use the native MSWindows boot manager. > Gentoo Linux: Portage 2.2_rc63 kernel-2.6.32-gentoo-r5 > AMD Phenom(tm) 9950 Quad-Core Processor gcc(Gentoo: 4.4.3) > KDE: 3.5.10 Qt: 3.3.8b > ==== > > -- Regards, Mick
Re: [gentoo-user] KDE? Get me out of here!
On Monday 01 March 2010 19:22:29 Alan McKinnon wrote: > On Monday 01 March 2010 21:07:18 Dale wrote: > > And to think I have been in KDE 4 for almost a week now. Maybe this is > > to soon to remove KDE 3? > > To be fair, amarok is not part of KDE-4, it's a third party add-on to the > KDE framework. Not much the KDE devs can do about that except encourage > the Amarok devs to ship quality tested code. > > Sort of like AdBlock - if it were poor quality it would not be a correct > reflection on Mozilla as a whole > > > My pet peeve so far is the background slide show. Every time I log in, > > try to change a setting for the background, or sneeze the wrong way, it > > starts looking for the new images, even tho there may not be any. I > > have a huge amount of them and it takes almost 2 minutes to "rebuild" > > whatever it is building. While it is doing that, it won't do anything > > else. > > > > I'm hoping this will change sometime soon. Oh, I also don't like that > > the images are random. Most of my images are done as a slide show. > > Having them in random order sort of defeats the point. > > My pet peeve is Desktop. I have two monitors at work and use two X screens. > KDE wants to create a Desktop and a Desktop-1 directory. I want it to just > use the same set of files for both - background, icons, plasma widgets > must be the same on both monitors, but actual app windows running there > independent. This seems perfectly reasonable to me - e17 does it out the > box - but thus far I have not found the magic voodoo spell that makes it > happen. How does e17 compare in terms of resources to other WMs/DEs like *box, LXDE, xface, these days? I had a look at it when it was all the rage back when, but it looked too Gnomey to me at the time and I couldn't find a reason for preferring it over say fluxbox. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE? Get me out of here!
On Monday 01 March 2010 16:08:05 Alex Schuster wrote: > Alex Schuster wrote: > > [KDE4 problems] > > > And so on. But it's not so bad I cannot work with it (well, sometimes > > it is, and then I have to fix it, like when the password dialog no > > longer accepted passwords), and so I keep using it, waiting it to > > become really stable and usable. > > And another weekend of KDE4 trouble. I rebooted after some upgrades, along > those were Qt and MySQL. Now, plasma-desktop crashed, also when restarting > it on the command line. [snip ...] > Sorry for the whining, Nah! It's good to vent every now and then. :-)) Is it perhaps that you have a very complex/overloaded plasma set up? I've updated KDE on two machines and went swimmingly well. On one machine I first removed qt3 and then had no problems whatsoever. On the other I can't recall what I did with qt3 ... Other than that, I've noticed this sort of behaviour in the past with KDE2 and KDE3 when I was trying to use KDE while major apps were being updated. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE? Get me out of here!
On Monday 01 March 2010 21:17:23 Alan McKinnon wrote: > On Monday 01 March 2010 22:28:42 Mick wrote: > > > My pet peeve is Desktop. I have two monitors at work and use two X > > > screens. KDE wants to create a Desktop and a Desktop-1 directory. I > > > want it to just > > > > > > use the same set of files for both - background, icons, plasma widgets > > > must be the same on both monitors, but actual app windows running > > > there independent. This seems perfectly reasonable to me - e17 does it > > > out the box - but thus far I have not found the magic voodoo spell that > > > makes it happen. > > > > How does e17 compare in terms of resources to other WMs/DEs like *box, > > LXDE, xface, these days? I had a look at it when it was all the rage > > back when, but it looked too Gnomey to me at the time and I couldn't find > > a reason for preferring it over say fluxbox. > > As of right now, I really couldn't say. About 6 months ago the e17 devs > started ramping up for a release that was supposed to happen round about > last xmas. Then Samsung and a French manufacturer of set-top boxes got in > on the action, as a result the code changes faster than Paris Hilton > changes her knickers. It stopped reliably building from one hour to the > next ... :-) > > So I switched to KDE to get some stability and haven't tried again since. > > e17 has to be evaluated on it's own merits, like all other software. it's > not "like" anything ... except perhaps e17 itself. It's claims to fame are > twofold: > > 1. Themeability. If you have every written a KDE or Gnome theme engine you > will know what a serious ball-ache it is. Code mixed in with specs mixed in > with image files e17 does it a different way with .edj files. You write > an .edc spec file in a declarative style (as in you say *what* you want, > not *how* it is done - that's the engine's job to figure that out) and > supply your images to be used on the widgets. Then run it through a > mini-compiler to produce an .edj, tell the wm to use it and voila! theme > applied. It's not just a simple "replace all those .pngs with these .pngs" > to get a different set of colours - you change the entire look and feel of > the desktop and the engine just knows what to do with it. > > 2. Configurability. Everything that can possibly be changeable is so, > including stuff that really shouldn't be :-) It makes KDE look minimalist. > Fortunately, a lot of the advanced stuff can be hidden in the config dialog > which improves things. > > Resources - it's hard to write a wm these days that isn't a resource hog in > some ways. If you want transparency and composition, be prepared to sell > some cpu to get it. Having said that, e17 runs blindingly fast on ARM > mobile devices when configured appropriately. It's nowhere near as > minimalist as *box, those wm's are in a class where if they suit your > needs, then nothing else will come close, especially not e17 which is > designed to showcase graphic effects to a large degree. *box is the polar > opposite of that Thanks Alan, your insight in this is much appreciated. I've been trying different things and keep coming back to fluxbox. Having spent time some years ago to set it up just-as-I-want-it in terms of the menu with all my apps, as well as the windows behaviour and decoration, I find that I am trying to change other WMs to behave like fluxbox! Ha! I am a creature of (minimalist) habit I guess. I'll probably have another pop at e17 and see what gives. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.
On Monday 01 March 2010 10:11:18 Neil Bothwick wrote: > On Mon, 1 Mar 2010 11:08:22 +0200, Alan McKinnon wrote: > > We just log the fact of running sudo. The admins are trusted to not > > cock things up, and if they do, to not try and hide it. The philosophy > > is simple - if we feel we can't trust you, we would not have hired you. > > That is sensible, if not good for your BOFH rating :) > > > Editing root's history after the fact to hide your tracks is considered > > a heinous crime of unimaginable proportions. Anyone caught doing it is > > sentenced to buy cake for the entire technical team. That's about 100 > > people. And when I saw cake I don't mean a teeny weeny jam tart each, I > > mean cake - chocolate filled croissants, black forest and my personal > > favourite: 4 inch high carrot cake. > > I take that back :) Coming back to the OP, on a brand new installation, while on the console and logged in as root user, I also see ESC all over the man pages. I do not have this problem on older boxen, nor do I remember noticing it in the past. What is causing it and what is the fix? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Dual booting Dell with Windows 7
On 1 March 2010 18:09, Mick wrote: > On 1 March 2010 15:04, Peter Ruskin wrote: >> Thanks for the howto, Mick. I followed it on my Windows Vista Home >> Premium 64; got "The operation completed successfully" all the way >> through, but on reboot I don't get a boot menu. > > Can you please post your partition table (cfdisk, or parted will do), > let me know which is your Gentoo /boot partition if it is not obvious > and the drive letters as understood by Vista when it is running. A > screenshot of gparted will help (email off list to keep the bandwidth > down) because it also shows the Labels. OK, from your partition scheme (received off list) I can see that Vista is the first primary partition and your installation does not have a separate boot partition for bootmgr.exe and BCD. This makes things easier for multibooting and upgrading to Win7. >> This doesn't matter much to me at the moment, as I use Acronis OSS >> Selector for boot manager, but this doesn't work on Windows 7, so >> my free update to Windows 7 is gathering dust. > > As long as the upgrade to Windows 7 does not mess up the MS boot > partition then achieving this in Vista will be a good dry run for when > you install Windows 7. However, I am not sure that you will be able > to achieve this test run while Acronis is managing your boot session. > My method implies that you use the native MSWindows boot manager. I'ved had a quick look at the Acronis OSS product. There is one thing worse than the MSWindows boot managers and that is other proprietary boot managers which follow the Microsoft design philosophy! Ha, ha! :-) Unfortunately, Acronis OSS is rather intrusive in how it manages the boot process. It moves all Vista boot files into a separate folder and then it takes over the boot process with its own (undocumented?) mechanisms. Also, it does the same with other OS' boot partitions (i.e. writes files in their partitions and moves things around). If you wish to move on from Vista to Win7, or want to first try out my suggested boot method, then I suspect that the safest approach would be to first uninstall the Acronis OSS. Hopefully, it will sympathetically restore the original Vista boot files and MBR and get itself out of the way. If not, which is what I suspect will happen, then you may end up with an unbootable Vista. Either way, I wouldn't worry about your Linux system because it will be easily made bootable again by installing GRUB in the MBR with a Live CD. I can see the following options open to you: 1. Repair Vista: Essentially you want to restore Vista to its original condition as it was before you installed Acronis OSS. Follow the Acronis instructions and uninstall Acronis, then boot into Vista. If Acronis uninstalls cleanly and restore the MBR you should be able to boot into Vista and follow my instructions for setting up multibooting. If the Acronis instructions ask you to use a Vista CD and run Startup Repair then it means that it will probably need to reinstall the Vista bootloader code (IPL) in the MBR and I suspect it may also rebuild its BCD file. If not and Vista does not boot, then you need to use your Vista CD to auto-repair your Vista boot system as detailed here: http://support.microsoft.com/kb/927391 or use bootrec.exe as described here: http://support.microsoft.com/kb/927392 or if you know what you need to do, run bootrec.exe /fixmbr, bootrec.exe /fixboot and finally BCDedit.exe to do it manually. Then follow my instructions and you should be able to multiboot fine. BTW, because your Vista partition is both your MSWindows boot and system partition, your do not need to redefine the boot device with a drive letter C: as in my last step. Just define it once only as per: bcdedit /set {fda5ebf7-119b-11df-969c-f924691e8117} device boot and thereafter Vista bootmgr.exe should know where to look into to find boot.lnx, i.e. in your first NTFS partition. 2. Upgrade straight to Win7: If you ask it to do a clean installation in your first partition (rather than back up all Vista files to allow you to downgrade to Vista later should you wish to) then it will format the Vista partition, blow away everything including the Acronis boot code from the MBR and install Win7. If Win7 asks you to create a separate boot partition, then you say No (because you haven't any spare partitions and it may decide to wipe one of your Linux partitions and use that instead!) When it completes installing Win7 in your first primary partition you boot into it and follow my instructions with the bcdedit command. 3. If you are not worried about warranty claims and what not, then you can install GRUB in the MBR and chainload Vista or Win7 from it, after you repair Vista or install Win7. BTW, disabling/deactivating Acronis OSS won't work, because Vista requires to access the original MBR code w
Re: [gentoo-user] Advice/best practices for a new Gentoo installation
On 2 March 2010 10:10, Neil Bothwick wrote: > On Tue, 2 Mar 2010 10:35:42 +0100, Alex Schuster wrote: > >> > - best filesystem for portage? something compressed or with small >> > cluster size maybe. >> >> I think reiserfs with the notail option is recommended. > > The data I've seen indicates that ext2 is fastest, that's what I use. > There's no need for journalling on the portage tree, it's small enough to > fsck quickly and if it does get broken, reformat and resync. Over the years I've had /usr/portage on reiserfs (with tails and all) and xfs on laptops. New machine has reiser4. Seems blindingly fast, but that's no comparison because the machine is more modern. -- Regards, Mick
Re: [gentoo-user] vBulletin site causes Konqueror to hang
On Tuesday 02 March 2010 20:37:15 Alan McKinnon wrote: > Hi, > > There's a vBulletin forum I frequent: > > http://forum.thinkbike.co.za > > and my usual browser is Konqueror (just because kparts makes it so > convenient). Every so often, with no pattern I can find, this site hangs > Konqueror - cpu goes to 100% and the browser stays unresponsive. > > I've tried various tricks to see what is going on when it does this, > including strace, to no avail. I have a hunch this started when I > installed konq- plugins, I have these enabled: > > Adblock > bookmarklets > Crashes Monitor > KTHML settings > Konqueror feed icon > Search bar > translate > User Agent Changer > Web Archiver > > My next step is to start the laborious process of disabling them one by one > to see if it makes a difference. Meanwhile, does anyone have suggestions > for clever trouble-shooting techniques to apply here? > > I doubt anyone will have a solution to hand, just some pointers to likely > things to check is all I'm after at this stage. Some of the animated gifs can start eating up resources. Over-elaborate avatars can also have the same effect and when people start using both gifs and flash animations the there may be a combination that causes the problems you describe. Anyway, just an idea. Try it with an old machine and see if the symptoms get worse/sooner. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On 3 March 2010 13:28, Stroller wrote: > > On 3 Mar 2010, at 12:42, Willie Wong wrote: > >> On Wed, Mar 03, 2010 at 12:24:42PM +, Stroller wrote: >>> >>> There seem to have been a few people posting with filesystem >>> corruption in the last week or two. It seems to be my turn, so I hope >>> it isn't contagious. The cause here is quite clear - whilst rummaging >>> in the server cupboard yesterday, power to the machine was >>> accidentally disconnected. >>> >>> I have booted with a live CD & run `reiserfsck --fix-fixable` on the >>> filesystem, but nevertheless when I attempt to boot the system I get a >>> "failed to open the device... no such file or directory" message, >>> followed by another error as per subject line. >> >> from the output it looks like you are mounting by label? What if you >> edit fstab to point to the device name /dev/hd?? instead of >> LABEL=root? Check the filesystem label to make sure it is ok? > > Many thanks for this suggestion, however following it makes no difference, > except in the trivia that it says "failed to open the device '/dev/hda3': No > such file or directory" (instead of "LABEL=..."). > > I also tried editing grub to point to /dev/sda3 (although admittedly with > the LABEL= entry in /etc/fstab) but that makes no difference. I have never > tried (intentionally) reconfiguring this kernel to use /dev/sdX instead of > /dev/hdX and I'm pretty sure it's booted using the current kernel & > configuration in the past. In my experience reiserfs is a very stable fs. I had a dodgy memory module once which I put up with for more than 9 months. The machine would lock up hard on a daily basis and the only way to get it going again would be to pull the plug. That would happen at random, midstream emerge --sync, package updates, updatedb, etc. It survived through hundreds of crashes by fsck at the next boot. Once or twice things went hairy and I would get a message similar to yours. On these rare occasions I booted with a LiveCD and with the partitions unmounted I ran --check, then --fix-fixable and finally --rebuild-tree. You may want to use an external drive with dd to image the current / partition and do all your recovery work on that. If you don't care too much about the risk of catastrophic failure then just run --rebuild-tree with a LiveCD and see what you get. Good luck. -- Regards, Mick
[gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown
Can you make any sense of this? === kernel BUG at kernel/time/clockevents.c:262! invalid opcode: [#1] PREEMPT SMP [snip ...] note: halt[12361] exited with preempt_count 2 /etc/init.d/shutdown.sh: line 9: 12361 Segmentation fault /sbin/halt "${opts}" === -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Advice for 64-bit n00b?
On Wednesday 03 March 2010 20:04:17 Alan McKinnon wrote: > On Wednesday 03 March 2010 19:04:45 Stroller wrote: > > On 3 Mar 2010, at 15:29, Stroller wrote: > > > ... > > > I have started following the Gentoo Linux AMD64 Handbook, because > > > the Quick Install Guide is described as "x86". Having untarred the > > > stage I am surprised to find a lib32 directory. I thought > > > compatibility with 32-bit binaries was optional. Or am I > > > misunderstanding? This is going to be a headless server & I can't > > > think that it'll need any binary packages - possibly the management > > > utility for the RAID controller will be distributed as a binary, I'm > > > not sure yet (the hardware RAID key was missing when I got this > > > machine ☹) > > > > Further to Alan's reply, I've proceeded a little further. > > > > I'm onto section 2.3: Changing profiles, where it says: > >"If you want to have a pure 64-bit environment, with no 32-bit > > applications or libraries, you should use a non-multilib profile." > > > > See my comments in the quoted above. It shouldn't be too expensive to > > enable the RAID in this machine (which is on the mainboard, but > > requires a little hardware PCB "key" to be fitted). That's a Dell > > PERC4, which AFAICT is a rebadged LSI megaraid. > > > > This post [1] http://tinyurl.com/3dzcl9 referrs to the management > > utility thus: "MegaCLI comes as a RPM containing only a single > > statically linked 32-bit Linux binary", however `eix mega` suggests > > there may be alternatives, such as `megactl` [2] > > > > My immediate thought when reading the handbook was that it's "best" > > and "cleanest" and "more right" to only have 64-bit libraries on a 64- > > bit system, but this need for the RAID management utility is making me > > wonder if that would be cutting off my nose to spite my face. > > It has a single statically linked binary. Which probably means it already > contains everything you will need and will run just fine. No need to build > everything multilib; if you do need a 32bit lib, just install the > appropriate emul-x86-linux package. So how 'safe' is it these days to build a 64bit only system? Would you end up having to rebuild with multilibs because many apps which won't work on a pure 64bit build? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] vBulletin site causes Konqueror to hang
On Wednesday 03 March 2010 22:02:06 Paul Hartman wrote: > On Wed, Mar 3, 2010 at 2:38 PM, Dale wrote: > > Also, if you file a bug report somewhere, I got to the site, click on a > > thread then try to go back to the home page by clicking on the link in > > the top box. So far, it has not been able to get past that point. Oh, > > my CPU is at 100% doing whatever it is doing. > > FWIW I just tried it in Konqueror 4.4.0 on Windows XP (work computer) > and, while it didn't use any noticeable CPU, Konqueror did get stuck > on a blank page spawning dozens and dozens of kwalletd and kioslave > processes for about 2 or 3 minutes, and then suddenly the page > displayed and everything settled down, back to normal. It seems random > but has happened every couple pages while clicking around in the site. > Weird. Well, I'm using Konqueror 4.3.5 and tried to navigate around the forums and click on the top link to go to the home page like Dale did. I tried this a few times on a PIII laptop, which is of course slow, but it did not get stuck. So, I guess it works here ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Advice for 64-bit n00b?
On 4 March 2010 09:15, Volker Armin Hemmann wrote: > On Donnerstag 04 März 2010, Stroller wrote: > >> >> I'd be really quite happy if I knew that this decision was revocable - >> if I could choose "no-multilib" now and change my mind using eselect >> later. Presumably I can choose to keep these 32-bit libs for the >> moment & blow them away if I find I don't need them - this lib32 is, >> after all, in the stage3-amd64-*tar.bz2, so what is the point in >> offering me "no-multilib" if I can't do that? > > you can not change on the fly. going from no-multilib to multilib means re- > installation. > no-multilib is meant for the very brave or people who know exactly that they > never need 32bit apps on that box. > > Your manpages will take up more space then those few 32bit emul libs that > might or not be installed. So there is no downside going multilib. Yep, that was my decision too for a desktop installation. If I were building a slim server and checked that all apps required are available as 64bit I might have chosen a no-multilib profile. For anything else I probably wouldn't. -- Regards, Mick
[gentoo-user] mysql is being pulled in again!
I am trying to understand what is pulling in mysql again. This morning a load of qt packages were being updated and I noticed a bunch of perl and virtual packages in there too. Rest assured dev-db/mysql was in there, again. This is despite the fact that the mysql use flag seem to be not active as far as portage is concerned: # euse -i mysql global use flags (searching: mysql) [-] mysql - Adds mySQL Database support local use flags (searching: mysql) [-] mysql (app-admin/ulogd): Build MYSQL output plugin to save packets in a mysql database. [-] mysql (net-misc/mediatomb): Use dev-db/mysql as backend rather than SQLite3. If this USE flag is disabled, dev-db/sqlite is used in its stead. Looking into it further I see that the virtual package is pulling the database in: # equery depends dev-db/mysql [ Searching for packages depending on dev-db/mysql... ] virtual/mysql-5.0 (=dev-db/mysql-5.0*) # equery depends virtual/mysql [ Searching for packages depending on virtual/mysql... ] dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0) dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql) dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql) dev-perl/DBD-mysql-4.00.5 (virtual/mysql) x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql) So, is this telling me the virtual mysql package depends of the real mysql and vice versa? Should I give up and accept that just like a LAMP build, from now on a Linux desktop *must* run mysql and nothing else will do? I've read that sqlite is borked and won't do what semantic-desktop wants, but what about people who for arguments sake want to run postgress or some other database? -- Regards, Mick
Re: [gentoo-user] mysql is being pulled in again!
On 4 March 2010 15:57, Alan McKinnon wrote: > On Thursday 04 March 2010 17:37:23 Mick wrote: >> I am trying to understand what is pulling in mysql again. This >> morning a load of qt packages were being updated and I noticed a bunch >> of perl and virtual packages in there too. Rest assured dev-db/mysql >> was in there, again. This is despite the fact that the mysql use flag >> seem to be not active as far as portage is concerned: >> >> # euse -i mysql >> global use flags (searching: mysql) >> >> [- ] mysql - Adds mySQL Database support >> >> local use flags (searching: mysql) >> >> [- ] mysql (app-admin/ulogd): >> Build MYSQL output plugin to save packets in a mysql database. >> >> [- ] mysql (net-misc/mediatomb): >> Use dev-db/mysql as backend rather than SQLite3. If this USE flag is >> disabled, dev-db/sqlite is used in its stead. >> >> Looking into it further I see that the virtual package is pulling the >> database in: >> >> # equery depends dev-db/mysql >> [ Searching for packages depending on dev-db/mysql... ] >> virtual/mysql-5.0 (=dev-db/mysql-5.0*) >> >> # equery depends virtual/mysql >> [ Searching for packages depending on virtual/mysql... ] >> dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0) >> dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql) >> dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql) >> dev-perl/DBD-mysql-4.00.5 (virtual/mysql) >> x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql) >> >> So, is this telling me the virtual mysql package depends of the real >> mysql and vice versa? Should I give up and accept that just like a >> LAMP build, from now on a Linux desktop *must* run mysql and nothing >> else will do? I've read that sqlite is borked and won't do what >> semantic-desktop wants, but what about people who for arguments sake >> want to run postgress or some other database? > > The tool you want to answer this question is > > emerge -t Right, but I started this mammoth emerge before I spent enough time looking at its contents I'm afraid. :-( I could of course uninstall them and try again, but there's steam coming out the back of this old box and I would rather not have to rinse and repeat. This is what was pulled in today and most of the perl stuff seemed like new installs: Thu Mar 4 09:20:24 2010 >>> dev-libs/libffi-3.0.9 Thu Mar 4 09:20:49 2010 >>> dev-db/mysql-init-scripts-1.2 Thu Mar 4 09:26:49 2010 >>> net-dns/bind-tools-9.4.3_p5 Thu Mar 4 09:33:38 2010 >>> dev-perl/Net-Daemon-0.43 Thu Mar 4 09:34:57 2010 >>> perl-core/Storable-2.20 Thu Mar 4 09:35:22 2010 >>> dev-perl/yaml-0.68 Thu Mar 4 09:35:56 2010 >>> perl-core/Test-Harness-3.17 Thu Mar 4 09:36:32 2010 >>> perl-core/Package-Constants-0.02 Thu Mar 4 09:37:07 2010 >>> perl-core/Sys-Syslog-0.27 Thu Mar 4 09:37:26 2010 >>> virtual/perl-Storable-2.20 Thu Mar 4 09:37:41 2010 >>> virtual/perl-Test-Harness-3.17 Thu Mar 4 09:37:57 2010 >>> virtual/perl-Package-Constants-0.02 Thu Mar 4 09:38:15 2010 >>> virtual/perl-Sys-Syslog-0.27 Thu Mar 4 09:38:46 2010 >>> dev-perl/PlRPC-0.2020-r1 Thu Mar 4 09:39:19 2010 >>> perl-core/IO-Zlib-1.09 Thu Mar 4 09:39:35 2010 >>> virtual/perl-IO-Zlib-1.09 Thu Mar 4 09:40:09 2010 >>> perl-core/Archive-Tar-1.54 Thu Mar 4 09:40:27 2010 >>> virtual/perl-Archive-Tar-1.54 Thu Mar 4 09:41:03 2010 >>> perl-core/Module-Build-0.34.0201 Thu Mar 4 09:41:19 2010 >>> virtual/perl-Module-Build-0.34.0201 Thu Mar 4 09:41:52 2010 >>> perl-core/ExtUtils-CBuilder-0.26.03 Thu Mar 4 09:42:08 2010 >>> virtual/perl-ExtUtils-CBuilder-0.26.03 Thu Mar 4 09:42:48 2010 >>> perl-core/File-Spec-3.30 Thu Mar 4 09:43:21 2010 >>> perl-core/ExtUtils-ParseXS-2.20.0401 Thu Mar 4 09:43:37 2010 >>> virtual/perl-ExtUtils-ParseXS-2.20.0401 Thu Mar 4 09:43:53 2010 >>> virtual/perl-File-Spec-3.30 Thu Mar 4 09:44:48 2010 >>> dev-perl/DBI-1.609 Thu Mar 4 09:47:31 2010 >>> dev-util/boost-build-1.41.0 Thu Mar 4 09:55:19 2010 >>> media-gfx/exiv2-0.19 Thu Mar 4 11:49:55 2010 >>> dev-libs/boost-1.41.0-r3 Thu Mar 4 12:29:27 2010 >>> dev-db/mysql-5.0.84-r1 Thu Mar 4 12:29:44 2010 >>> virtual/mysql-5.0 Thu Mar 4 12:30:32 2010 >>> dev-perl/DBD-mysql-4.00.
Re: [gentoo-user] Re: mysql is being pulled in again!
On 4 March 2010 16:45, Nikos Chantziaras wrote: > On 03/04/2010 05:37 PM, Mick wrote: >> >> I am trying to understand what is pulling in mysql again. This >> morning a load of qt packages were being updated and I noticed a bunch >> of perl and virtual packages in there too. Rest assured dev-db/mysql >> was in there, again. This is despite the fact that the mysql use flag >> seem to be not active as far as portage is concerned: > > That doesn't matter. USE flags is for optional stuff, not required stuff. > It's like having the kde USE flag disabled and wondering why emerging a KDE > application wants to pull-in kdelibs... OK, I found out that qt-mysql caused it. Now I better change the USE flag and start again. Thank you all. -- Regards, Mick
Re: [gentoo-user] mysql is being pulled in again!
On 4 March 2010 20:07, Alan McKinnon wrote: > On Thursday 04 March 2010 19:07:22 Mick wrote: >> > There will be a reason why mysql is being pulled in, most likely a >> > package that must have it. >> >> If a package must have it, wouldn't the USE flag mysql switch to + ? > > Your post seems to indicate a lack of understanding of how these things work. Yep. :-( > Often-times things are not optional, that's what "must" means. USE is > diametrically opposed to that as it has to imply a meaning of "may". If a > package if hard-coded to use mysql, then it must have it, and putting it in > USE in pointless. I see. I thought that (some relevant) USE flags reflected dependencies at some level and that if a dependency changed then this would reflect those USE flags which would now show up as active. So I thought that the mysql USE flag would change from - to +. > There's no rule about this. If mysql is a hard dep, then that's the way it is. > >> > If a user wants postgres, he should install and run postgres. How would >> > this affect the presence or absence of mysql? >> >> Well, I am assuming that if postgres can do what mysql does, then it >> could work in its place. Like if syslog-ng will do what metalog does, >> then the virtual/log-thingie will not insist in pulling in metalog. >> Anyway, the postgres is just an example of asking why are we locking >> down the choice of a database to a particular package/provider. > > Again, you appear to fail to understand. metalog supports a variety of > database backends. Not all apps are like this, some are hard-coded. If you > want to use an app like this, you have no choice but to install mysql. > > If you don't like this, then your choices number two: > > 1. Tough, get over it; > 2. Use a different app No I think you fail to understand what I fail to understand! Ha, ha! :-)) I was not talking about what db a syslog app will use as a back end. I was trying to understand why a virtual package like virtual/mysql is pulling in dev-db/mysql and I used the syslog virtual/real relationship as an analogy. Anyway, I now know two things: a) qt-sql pulled in mysql b) when the wife shouts at me to get going with chores, I do not start an emerge without first checking the contents of it! :-)) Thanks again for your replies. -- Regards, Mick
Re: [gentoo-user] mysql is being pulled in again!
On 5 March 2010 09:42, Neil Bothwick wrote: > On Fri, 5 Mar 2010 06:53:15 +0000, Mick wrote: > >> I was trying to understand why a virtual package like virtual/mysql is >> pulling in dev-db/mysql and I used the syslog virtual/real >> relationship as an analogy. > > The clue is in the name of the virtual, it is satisfied by one of the > MySQL packages in portage. You canot simply replace one SQL database with > another, otherwise there's be a virtual/sqldb that would be satisfied by > any of them. Of course! It was all in the pkg_name. Thank you Neil. -- Regards, Mick
Re: [gentoo-user] Dual booting Dell with Windows 7
On Tuesday 02 March 2010 23:31:16 Peter Ruskin wrote: > Thanks for your help, Mick. You're welcome. Sorry it took me some time to get to it: > Here's the bcdedit /v before I started: > C:\Windows\System32\bcdedit /v >C:\bcdedit-orig.txt It may be better to use the /export function to back up the BCD file. > Windows Boot Loader > --- [snip ...] > > Resume from Hibernate > - [snip ...] > Windows Memory Tester > - [snip ...] I can't see in there your MSWindows Boot Manager entry. This BCD will not be able to boot MSWindows natively, or chainload Linux from it ... you'll need to repair it with your Vista CD as I suggested in the previous message. > And here it is after I followed your procedure: > C:\Windows\System32\bcdedit /v >C:\bcdedit.txt > > Windows Boot Manager > > identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795} > displayorder{150a4189-2608-11df-b94d-00248cc04424} > timeout 10 I suspect that's not enough to load the boot manager. Compare it to my entry: == Windows Boot Manager identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795} device partition=\Device\HarddiskVolume2 path\bootmgr description Windows Boot Manager locale en-US inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e} default {fda5ebf3-119b-11df-969c-f924691e8117} resumeobject{5744906c-0bf4-11df-8e08-0026b920b49c} displayorder{fda5ebf3-119b-11df-969c-f924691e8117} {fda5ebf6-119b-11df-969c-f924691e8117} toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d} timeout 3 == > Real-mode Boot Sector > - > identifier {150a4189-2608-11df-b94d-00248cc04424} > device boot > pathC:\linux.bin > description Gentoo Linux > locale en-US That's good, but I suspect it won't work because your Boot Manager entry is not correct. > After reboot it reverts to the original - just as well, because the > Windows Boot Manager looks suspect to me. Yes, it looks dodgy to me too. If it reverts to the original then that means that you are not actually editing the BCD file that is being used for booting. I suspect that what's happening here is that Acronis OSS has taken over the MBR and the boot files (I think it saves them in a BOOTWIZ folder or something similar). So the BCD file you are editing is not the one Acronis is using. My method implies that you have restored your Vista to its original state as far as MBR and MSWindows boot files are concerned. So, for it to work you will need to uninstal Acronis OSS I'm afraid and repair the start up files as I described in my previous email. Alternatively, you may want to try using bcdedit to edit the correct BCD file, *but* I am not sure that Acronis will allow you to do that (it probably altered the access rights to it, that's why a reboot shows up the original file). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown
On Thursday 04 March 2010 07:54:40 Damian wrote: > On Thu, Mar 4, 2010 at 7:51 AM, Damian wrote: > > On Wed, Mar 3, 2010 at 5:08 PM, Mick wrote: > >> Can you make any sense of this? > >> === > >> kernel BUG at kernel/time/clockevents.c:262! > >> invalid opcode: [#1] PREEMPT SMP > >> [snip ...] > >> > >> note: halt[12361] exited with preempt_count 2 > >> /etc/init.d/shutdown.sh: line 9: 12361 Segmentation fault /sbin/halt > >> "${opts}" > >> === > > > > I had the same problem with the 2.6.32-r1 version. It is fixed as of > > version 2.6.32-r7 > > > > The bug was reported, but I cannot find it. > > Now in my computer I could find it: > http://bugzilla.kernel.org/show_bug.cgi?id=15005 Thank you very much! I will upgrade accordingly. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Can't get Xorg going on Radeon HD R730 4670
I first tried radeonhd, but Xorg.0.log complained that it couldn't find the ati module, so I added radeon in VIDEO_CARDS and it now comes up with this error: === (EE) AIGLX error: dlopen of /usr/lib64/dri/r600_dri.so failed (/usr/lib64/dri/r600_dri.so: cannot open shared object file: No such file or directory) (EE) AIGLX: reverting to software rendering === Have you seen this before? Any idea what I should tweak now to get this going? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Any nice tools for emerge dependency resolution listing?
On Saturday 06 March 2010 10:19:19 Mark David Dumlao wrote: > Hi! > I'm wondering if anyone's written a script that looks deep into the > build dependencies of some package foo, and gives you a list of > ebuilds you need to unmask to build it. Immediate build dependencies > could easily be shown using the ebuild itself, and deep dependencies > could be shown using equery something, but I just want to focus on > dependencies you need to unmask when building. > > I usually just manually iterate through emerge -uDNtav world/something > to make something like that happen, and it's just hit me that this > sounds like a chore that's bound to have bugged someone. > > I'm not looking for a tool that writes my package.keywords/* for me, > I'd like to do that myself, but the iteration process is more painful > than it should be "manually". If there's none I was wondering what > kinds of challenges would it take to write one in python as that > sounds like a cool exercise to try out. Hmm, I was going to suggest autounmask, but since you don't want it to write your package.keywords/* for you point it to another file and then look at what it's written there. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Can't get Xorg going on Radeon HD R730 4670
On Saturday 06 March 2010 18:43:15 Volker Armin Hemmann wrote: > On Samstag 06 März 2010, Mick wrote: > > On Saturday 06 March 2010 16:08:05 Volker Armin Hemmann wrote: > > > On Samstag 06 März 2010, Mick wrote: > > > > I first tried radeonhd, but Xorg.0.log complained that it couldn't > > > > find the ati module, so I added radeon in VIDEO_CARDS and it now > > > > comes up with this error: > > > > === > > > > (EE) AIGLX error: dlopen of /usr/lib64/dri/r600_dri.so failed > > > > (/usr/lib64/dri/r600_dri.so: cannot open shared object file: No such > > > > file or directory) > > > > (EE) AIGLX: reverting to software rendering > > > > === > > > > > > > > Have you seen this before? Any idea what I should tweak now to get > > > > this going? > > > > > > mesa. You need to install mesa with the right flags. > > > > Thanks Volker, > > > > I had installed mesa with the radeon flag already, but now I just > > unmasked/updated it to 2.4.8 and the above error is gone! > > > > However, still no X. :-( > > > > I have also added mouse and synaptics, after initially trying with only > > evdev in my INPUT_DEVICES. So now it looks like this: > > > > INPUT_DEVICES="keyboard mouse synaptics evdev" > > > > When I added synaptics I got an error about RECORD being disabled because > > it is broken. I attach my logs in case there is something in there > > showing why this is not working and I can't see it. > > RECORD does not matter. > > > I can't explain why both Knoppix and Sysrescue CDs work fine and my > > Gentoo build does not. I even used their xorg.conf as a guide and still > > no joy. I noticed this message (with no xorg.conf): > > yeah. please create a xorg.conf. Depending on hal is nice and dandy in > theory. But so does not work for many people. Hmm, can't make it work after multiple attempts of creating and editing a xorg.conf. I think that the problem is with the drivers and perhaps the versions of xorg-server and or mesa. I am using the latest testing of everything and unmasked any dependencies that they had. Tomorrow I will have a go at the fglrx. This is doing my head in ... -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [almost SOLVED] Can't get Xorg going on Radeon HD R730 4670
On Sunday 07 March 2010 15:59:10 you wrote: > I already did, but just in case, here is my latest effort, along with the > Xorg.0.log. I am not (yet) convinced that this is a HAL problem. Good news! I seem to have solved it somehow ... it started showing up after I configured the framebuffer for the VTs. Could this be related? Is it now using the fb to render X, or the radeon driver? How can I tell? (glxgears is 4 times slower than in Knoppix) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] htpasswd works only for valid-user
On Monday 08 March 2010 19:48:12 Laurent Kappler wrote: > Hi > > I'm using htpasswd to write the user password form my htaccess. > > It works only if I put "require valid-user" not if I put "require > specificuser" > > any idea? Have you tried: AuthType Basic (or Digest) AuthUserFile /usr/local/apache/passwd/htpasswords Require user specificuser Make sure that the path to the htpasswords file is outside your webroot - you don't want visitors to be able to access it! -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4 printer config question
On Tuesday 09 March 2010 05:15:38 Roy Wright wrote: > On Mar 8, 2010, at 10:54 PM, ubiquitous1980 wrote: > > Roy, without being presumptuous, I would say that using D.E. (Desktop > > Environment) tools for printing are not the best because of > > inconsistency in layout and authentication problems. My suggestion is > > to open up your web browser and use localhost:631 in the address bar to > > access CUPS and do it this way. My line of reasoning is that you want > > consistency, which is what you get with this method. Printers > > configured in this way are available in your chosen D.E. In my > > use-case, I have an HP usb printer which can connect via cat 6 cable and > > I also use KDE 4.3. I have configured the printer with CUPS via a web > > browser and have few issues. > > > > I trust that helps. > > > > Damien > > I agree, but am wanting to give kde 4.4.1 a try at handling the printer > just to see if it can do it. Currently the answer is either no or I > haven't found a required configuration change. I would set it up using CUPS as Damien suggested and then KDE should pick up the settings without any additional effort on your behalf - i.e. I would think that the "server settings" would no longer be disabled (as long as you have listen to more than the default 127.0.0.1 in cupsd.conf). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] normal user do not have access to usb, and many other things
On 9 March 2010 11:14, Xi Shen wrote: > hi, > > i usually use my linux system with root account. i think it is not > good, so i created a normal user account for myself. but i found that > i cannot access many system resources, like usb disk, battery > informatiion, etc. > > i am already in these groups: disk,wheel,audio,video,usb,haldaemon,plugdev. > > now, i cannot get notification when i plug a new usb device. my > battery gadget says battery information is not available. > > all there stuffs works fine if i log in with root account. You only have yourself to blame I'm afraid ... When you login to xorg using a root account some configuration files become owned by root. A normal user can no longer access them. Most desktops should be clever enough to allow users to create their own configuration files in their home directory - but I am not sure how you have yours set up. Either way, to login in X as root user is a *very* bad idea from a security perspective. Personally, I recommend to reinstall Gentoo from scratch, instead of messing up with access permissions on config files. It would also teach you to follow the Gentoo handbook to the letter (which asks you to set up a plain user account during the installation). ;-) -- Regards, Mick
Re: [gentoo-user] normal user do not have access to usb, and many other things
On 9 March 2010 12:31, Xi Shen wrote: > On Tue, Mar 9, 2010 at 7:24 PM, Mick wrote: >> When you login to xorg using a root account some configuration files >> become owned by root. A normal user can no longer access them. Most >> desktops should be clever enough to allow users to create their own >> configuration files in their home directory - but I am not sure how >> you have yours set up. >> > > if kde created configuration file when i log in as root, it should > only create the configuration files for my root, and should not affect > other users. Yes, that's how it *should* work, but it evidently isn't. Maybe someone else more experienced in KDE can explain what happened and why the particular functions are now not available to plain users, or if you have another machine which has been running properly you could compare and contrast access rights between the two systems. Meanwhile, just as a test, you may want to logout of X, move the /root/.kde4 folder and /home//.kde4 somewhere else, then restart X as a plain user and see if these functions are working properly now. If not then I suspect the problem is not with these user specific configuration files but with the system KDE or X files. HTH. -- Regards, Mick
Re: [gentoo-user] htpasswd works only for valid-user
On Tuesday 09 March 2010 15:50:11 Laurent Kappler wrote: > Mick a écrit : > > On Monday 08 March 2010 19:48:12 Laurent Kappler wrote: > >> Hi > >> > >> I'm using htpasswd to write the user password form my htaccess. > >> > >> It works only if I put "require valid-user" not if I put "require > >> specificuser" > >> > >> any idea? > > > > Have you tried: > > > > AuthType Basic (or Digest) > > AuthUserFile /usr/local/apache/passwd/htpasswords > > Require user specificuser > > > > Make sure that the path to the htpasswords file is outside your webroot - > > you don't want visitors to be able to access it! > > I check the log file here is the line: > 77.54.124.11 - specificuser [09/Mar/2010:16:46:35 +0100] "GET /admin > HTTP/1.1" 401 472 > > it does not auth. > My .htaccess: > > AuthUserFile /so/secret/path/.htpasswd > AuthGroupFile /dev/null > AuthName "Shoot the password" > AuthType Basic > > require specificuser > > > > RewriteEngine On > RewriteRule (.*) /admin/index.n > > > so I shall avoir this keyword...? Actually I don't get why just > specify that for GET and POST if someone arrive with a PUT does it mean > it will let it pass?? Well, as I said you need to add type "user" after "Require" and before the name of the user, in your case specificuser: Required user specificuser Now, as the manual tells you the means that the authentication mechanism applies only for GET POST requests sent to the server. It does not apply for any other type of requests. PUT, DELETE, COPY, etc will be allowed to get through. Instead you may want to limit access on part or all of the fs of your site; e.g. Require user specificuser HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE? Get me out of here!
On Tuesday 09 March 2010 20:12:09 Alex Schuster wrote: > Alex Schuster wrote: > > Alex Schuster writes: > > > Now I'm going to emerge KDE-4.4.1, let's see what this will change. > > > > Nothing I notice. At least things have not gone worse:) > > But still they are not well. But you can safely ignore this if you don't > have KDE4 or are not interested in reading how things do not work, and how > I still use them. I have no good explanation for this, probably I keep > using KDE4 because it is so new and shiny, because I think that the time > must come when things actually DO work, and because I so not like to > switch to something else. There was never a time when ALL was working > fine, but at the moment I am even more disappointed then I used to be. > > - Kontact. The old address book I had imported fro KDE 3.5 half a year ago > showed one "address book" and many std.vcf (or similar) files, with my > data scattered on them. I moved all stuff into the "address book", and did > not use it for a while > Now I wanted to do so, but it did not run due to an error with akonadi. Did you try to create a local resource using your systemsettings and point it to the local KDE3.5 contacts file? If you restart the address book, then akonadi will kick in a carry out the migration - if it does not succeed it will tell you so. In that case you may need to fix things manually (I've posted how in an older thread of mine, where I managed to make akonadi to succeed in its migration from a local resource file using sqlite - I don't have mysql in this box. Let me know if you can't find it.) > I > tried to figure out what this was, and how to get the error message in > English, but then I found out that I only have to restart kontact. Fine, > now I want to add a contact. First, when I want to edit the location, the > country is set to Afghanistan, I always have to change this to Germany. > Annoying, why is this so, who would want this behaviour, except for > Afghans perhaps. Have you tried to set up your locale in systemsettings to Germany? > But it does not matter much, as I cannot store the data: > when I press the OK button, I get a dialog where I should select the > address book to store the data in, but the list is empty. Great. I tried > adding a new address book, now I have two entries called "address book" > and one called "personal contacts", still I cannot add an entry. Try to get akonadi to complete its migration, or I think what you're trying to do will not work. > - Dolphin can do FTP, but I have to repeat the login process several times > until I see the destination files. I've also noticed an error when I try to connect with ftp saying that the connection failed, but then if I click on reload it connects fine. > - I just tried to listen to a CD, but KsCD does not find it. The eject > button ejects, but does not close the tray if pressed again. Okay. I just > thought I could play CDs with KDE. Can you? Yes, although KsCD looks and feels pretty clunky. > - And I am currently editing a page in my wiki with konqueror, but after > the dialog appeared that I should save the edits, it sort of hangs. I can > reload the page, but cannot edit any more. The good thing is that I did > not edit that much yet. Which is also a bad thing, because when editing > longer parts I cop the text to the clipboard from time to time, just in > case something crashes. I'm doing this with this mail, too. > Hmm, looks like konqueror is still working just as usual, it's just it > does no display updates at all. It's the first time it happened, but as it > just happened while I was writing this rant, I thought I'd include it. Haven't noticed this. > - Of course, Amarok keeps doing weird things. At least I can play music > from my collection. But playing a stream sometimes crashes it. And > dragging files into Amarok always leads to a crash. Yeah, I know, Amarok > is not KDE. Given up on that long ago (and sadly have not found a nice replacement which won't pull in the whole of Gnome or worse) > But at least one bug was fixed, I got a mail from bugzilla about this > today. It's the bug that makes password dialogs not work if the password > is to be displayed as three bullets. Wow, nearly two months after it had > been reported, this serious bug was at least confirmed to exist and is > fixed now. Maybe this bug happens seldomly, but when it happens, much of > KDE4 is unusable, as you have no kmail, no kwallet, nothing that needs a > password works. Hmm ... no such problem over here. > Dale, you brave, brave man, are you really using KDE4 now? > > Wonko > -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] stop eth0 from starting at boot
On Wednesday 10 March 2010 05:53:00 Dale wrote: > Tony Miller wrote: > > /etc/init.d/net.eth0 is not in any runlevels: > > > > o_0 tony # rc-update show > > bootmisc | boot > > checkfs | boot > >checkroot | boot > >clock | boot > > consolefont | boot > > hald | default > > hostname | boot > > keymaps | boot > >local | default nonetwork > > localmount | boot > > modules | boot > > net.lo | boot > >net.wlan0 | default > > netmount | default > > ntp-client | default > >rmnologin | boot > > sshd | default > > udev-postmount | default > > urandom | boot > > vixie-cron | default > > xdm | default > > > > Yet it still insists on trying to start at boot! This isn't What I > > Want, since this computer is a laptop and I generally use the wifi. > > > > Could it be related to udev or hotplug? > > > > Thanks, > > -Tony > > This is a common problem. I am on baselayout 1 so if you are on > baselayout 2, this may not help. In /etc/conf.d/rc file, add this line > or edit the line you already have: > > RC_PLUG_SERVICES="net.wlan !net.eth*" > > That should stop it from starting unless it is in a runlevel. If not, > post back. Actually, post back either way. Let us know if that works > or not. The file is well commented to show all options. Just put "lo" in there and it won't bother you again for any interface (other than localhost). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with "make oldconfig" 2.6.30-8 ==> 2.6.31
On 10 March 2010 01:36, Walter Dnes wrote: > Today is when running a lilo menu with "production" and "experimental" > kernels saved me. "production" is 2.6.30-r8. "experimental" is > 2.6.31-r6 or 2.6.31-r10 (same problems with either one). I set > /usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from > 2.6.30-r8 and ran "make oldconfig". I got the warnings listed below > before the config process started. "make oldconfig" appears to have > reset to default values, and it was showing me some settings totally the > opposite of what I know I've set. When I ran through "make oldconfig", > compiled and rebooted, I got a framebuffer console, which I *KNOW* I > haven't selected. If you had not enabled framebuffer in your old kernel then I can't think how it would show up as enabled in your new kernel (as far as I know fb is not enabled by default on any kernels that I've ever built) > And there was a kernel panic because gentoo couldn't > find the boot device. Hmm ... so it's not just framebuffer but different filesystems perhaps? > I'm enough of a bit-twiddler that I can set up the kernel manually. > But I know from past experience that it's a long slow process. Is > there any trick to salvage "make oldconfig", before I resort to setting > up the kernel "the hard way"? Here's the output from "make oldconfig" > up to where it starts asking questions... The errors you show are not show stoppers (or the new kernel would not build). You may want to update your gcc and then check using gcc-config that the latest is being used. With regards to your kernel panic I suspect an error in the .config file you copied over. Do you keep a copy both in /usr/src/linux-gentoo-XXX/ and in /boot? If yes then copy over your .config from a different location this time, otherwise you'll have to go about it through the manual method. PS. Just checking the obvious: you aren't manually patching your kernels and forgot to do it this time, right? -- Regards, Mick
Re: [gentoo-user] Problem with "make oldconfig" 2.6.30-8 ==> 2.6.31
On 10 March 2010 13:56, Tanstaafl wrote: > On 2010-03-10 8:47 AM, Neil Bothwick wrote: >> On Wed, 10 Mar 2010 08:22:41 -0500, Tanstaafl wrote: >> >>>> Today is when running a lilo menu with "production" and "experimental" >>>> kernels saved me. "production" is 2.6.30-r8. "experimental" is >>>> 2.6.31-r6 or 2.6.31-r10 (same problems with either one). I set >>>> /usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from >>>> 2.6.30-r8 and ran "make oldconfig". >>> >>> I *never* use make oldconfig between major kernel versions... >> >> The .30, .31 is the minor kernel version. You shouldn't use oldconfig >> when going from 2.4 to 2.6 but from 2.6.m to 2.6.n is safe. > > Again, not according to the official upgrade guide - it specifically > uses 2.6.9-r1 to 2.6.9-r2 as an example of a 'minor' update, and going > from 2.6.8 to 2.6.9 as having potentially 'too large of changes for make > oldconfig to be considered safe'. > > If the guide is outdated, maybe it should be updated: > > http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap10 Charles, I've been using make oldconfig since 2004. It has never failed me. You soon realise if the new kernel has significant changes from the old one (i.e. if modules have moved between sections, etc.) In that case, when you complete your make oldconfig you can fire up make menuconfig and revisit the new areas just to make double sure you haven't missed anything important. Now, doing that for the first time may be too confusing for someone who is not familiar with the process of rolling up their own kernel, therefore the handbook has to cater for the lowest common denominator and advises to go about it in a long-winded way. PS. make oldconfig is essentially the result of a diff-ing exercise between old/new kernels. Using "?" helps explain new options before you choose to select them. -- Regards, Mick
[gentoo-user] Installing adobe flash on 64bit arch
I see in the amd64 FAQs this: == Can I get Adobe Flash working? Yes. Just emerge adobe-flash. Adobe has provided a 64-bit Flash plugin starting with version 10.0.22.87. If you don't need the 32-bit plugin, then run echo "www-plugins/adobe-flash -32bit" >> /etc/portage/package.use. This will install only the 64-bit Flash plugin. == So that I am clear, why would I want to install flash with both the 32bit and 64bit USE flags? If there is no reason for both flags, then should I be disabling the 32bit globally or are there other circumstances that mean I should only set it so for this package? -- Regards, Mick
Re: [gentoo-user] Re: Installing adobe flash on 64bit arch
On Wednesday 10 March 2010 23:32:14 Nikos Chantziaras wrote: > On 03/11/2010 01:13 AM, Mick wrote: > > I see in the amd64 FAQs this: > > == > > Can I get Adobe Flash working? > > Yes. Just emerge adobe-flash. Adobe has provided a 64-bit Flash > > plugin starting with version 10.0.22.87. If you don't need the 32-bit > > plugin, then run echo "www-plugins/adobe-flash -32bit">> > > /etc/portage/package.use. This will install only the 64-bit Flash > > plugin. > > == > > > > So that I am clear, why would I want to install flash with both the > > 32bit and 64bit USE flags? > > If you have both 32-bit as well as 64-bit browsers installed. > > > If there is no reason for both flags, then > > should I be disabling the 32bit globally or are there other > > circumstances that mean I should only set it so for this package? > > The 32bit flag is not global. It's only defined and used by the flash > ebuild. Thank you both for your replies, I know what to install now. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
On Friday 12 March 2010 06:12:55 Tony Miller wrote: > I have added /etc/init.d/net.ra0 (my wireless interface is called ra0 > instead of wlan0) to the default runlevel. It starts the script at boot, > but it acts like the device has not been brought up(i.e. with ifconfig ra0 > up). For instance the boot log will say: > > * Starting ra0 > * Configuring wireless network for ra0 > Error for wireless request "Set Mode" (8B06) : > SET failed on device ra0; Network is down > Error for wireless request "Set encode" (8B2A) : > SET failed on device ra0; Network is down > Error for wireless request "Set essid" (8B1A) : > SET failed on device ra0; Network is down > > And so on and so on for all the different settings, until it finally gives > up. > > I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect to > the network just fine! Of course I would like it to start at boot however. > > Any ideas? The init script is broken? The actual init script is very > complicated, and even if it were easy to just add "ifconfig ra0 up" > somewhere to it, I'm not sure if that's the "best" solution. Look at /etc/conf.d/wireless.example to see how you are meant to configure /etc/conf.d/net to manage your wireless card either using iwconfig, or using wpa_supplicant. You probably need something like: sleep_scan_ra0="3" #where "3" is three seconds HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE? Get me out of here!
On Friday 12 March 2010 01:59:19 Philip Webb wrote: > Further experience showed that Xterm's standard font doesn't do Unicode > & mouse-scroll doesn't work in Most etc, so I've gone back to Konsole > & settled on a tolerable font in 'fixed misc' at size 13 . I haven't been able to configure either xterm or aterm/rxvt to be able to scroll with the mouse inside less/most/man pages etc. I think that this is a konsole feature only - please share if anyone has found a way of doing this in other than konsole terminals. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] (EE) XKB: No components provided for device Virtual core keyboard
On Friday 12 March 2010 19:37:33 Leandro Boscariol wrote: > Hi guys. > > While trying to find a solution for this error: > > (EE) XKB: No components provided for device Virtual core keyboard > > I came along with a lot of people with the same issue, and I'm even quoting > > this guy: > > when I try to login into xdm login prompt, the login and passwd are > > accepted, I get a black screen for a second and then I get back again to > the xdm login prompt. In /var/log/xdm.log I get > > > (EE) XKB: No components provided for device Virtual core keyboard Is this a new installation (i.e. did you have X working on this machine before the error appeared)? Either way, have you defined keyboard in your make.conf: INPUT_DEVICES="keyboard ." and if you just updated your xorg before this error occurred, have you remerged your keyboard driver? x11-drivers/xf86-input-keyboard Run qlist -I -C x11-drivers/ to see which X drivers you need to remerge. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Starting up gpg-agent script
Hi All, I am trying this script in /etc/env.d/90gpg-agent: if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2>/dev/null; then GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` export GPG_AGENT_INFO else eval `/usr/bin/gpg-agent --daemon` echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info fi But when I emerged kgpg I got this error: !!! 'ParseError: Invalid token 'test' (not '='): /etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent' Can you please help me correct the above script, I'm not sure what's wrong with it. -- Regards, Mick
Re: [gentoo-user] Starting up gpg-agent script
On 14 March 2010 21:30, Neil Bothwick wrote: > On Sun, 14 Mar 2010 20:23:40 +0000, Mick wrote: > >> I am trying this script in /etc/env.d/90gpg-agent: >> >> if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 >> $HOME/.gpg-agent-info` 2>/dev/null; then >> GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` >> export GPG_AGENT_INFO >> else >> eval `/usr/bin/gpg-agent --daemon` >> echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info >> fi >> >> >> But when I emerged kgpg I got this error: >> >> !!! 'ParseError: Invalid token 'test' (not '='): >> /etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent' >> >> >> Can you please help me correct the above script, I'm not sure >> what's wrong with it. > > env-update doesn't evaluate scripts. It expects only variable assignments. Ahh! Didn't know that. Thanks. :-) > You mention kgpg, are you using KDE? If so, it takes care of this > automatically, you only need to uncomment the relevant lines in the agent > startup and shutdown scripts in /etc/kde. Otherwise, put the script in a > file in /etc/profile.d. I only use a few KDE apps. rather than the full DE. I used to have an one-liner in /etc/X11/Sessions/fluxbox, but that means if I choose another WM/DE the previous gpg-agent is still running. Meanwhile, I found this: http://bugs.gentoo.org/258944 will give it a spin and see how it goes. -- Regards, Mick
[gentoo-user] Problem with script calling OOCalc on amd64
Hi All, I have run into a problem which I cannot explain. I am trying to run this script in a amd64 installation: xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg && oocalc \ Personal/data.ods; shred --remove -z -v DATA/data.ods' On a x86 system, oocalc launches, I use the file and when I close it shred removes it. On the amd64 system, the file is shredded as soon as it is opened. This is what happens: [snip ...] gpg: AES256 encrypted data gpg: original file name='data.ods' random usage: poolsize=600 mixed=0 polls=0/0 added=0/0 outmix=0 getlvl1=0/0 getlvl2=0/0 secmem usage: 64/32768 bytes in 1 blocks I18N: Operating system doesn't support locale "en_US" shred: Personal/data.ods: pass 1/4 (random)... shred: Personal/data.ods: pass 2/4 (random)... shred: Personal/data.ods: pass 3/4 (random)... shred: Personal/data.ods: pass 4/4 (00)... shred: Personal/data.ods: removing shred: Personal/data.ods: renamed to Personal/ shred: Personal/: renamed to Personal/000 shred: Personal/000: renamed to Personal/00 shred: Personal/00: renamed to Personal/0 shred: Personal/0: renamed to Personal/ shred: Personal/: renamed to Personal/000 shred: Personal/000: renamed to Personal/00 shred: Personal/00: renamed to Personal/0 shred: Personal/data.ods: removed Is this something 64bit specific? Shouldn't xrterm behave the same in both x86 and amd64 with regards to this script? How do I get it to keep oocalc open and shred to kick in only after the oocalc application is closed? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Starting up gpg-agent script
On Monday 15 March 2010 13:32:51 you wrote: > On 14 March 2010 21:30, Neil Bothwick wrote: > > On Sun, 14 Mar 2010 20:23:40 +0000, Mick wrote: > >> I am trying this script in /etc/env.d/90gpg-agent: > >> > >> if test -f $HOME/.gpg-agent-info && kill -0 `cut -d: -f 2 > >> $HOME/.gpg-agent-info` 2>/dev/null; then > >> GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` > >> export GPG_AGENT_INFO > >> else > >> eval `/usr/bin/gpg-agent --daemon` > >> echo $GPG_AGENT_INFO >$HOME/.gpg-agent-info > >> fi > >> > >> > >> But when I emerged kgpg I got this error: > >> > >> !!! 'ParseError: Invalid token 'test' (not '='): > >> /etc/env.d/90gpg-agent: line 1 in /etc/env.d/90gpg-agent' > >> > >> > >> Can you please help me correct the above script, I'm not sure > >> what's wrong with it. > > > > env-update doesn't evaluate scripts. It expects only variable > > assignments. > > Ahh! Didn't know that. Thanks. :-) > > > You mention kgpg, are you using KDE? If so, it takes care of this > > automatically, you only need to uncomment the relevant lines in the agent > > startup and shutdown scripts in /etc/kde. Otherwise, put the script in a > > file in /etc/profile.d. > > I only use a few KDE apps. rather than the full DE. I used to have an > one-liner in /etc/X11/Sessions/fluxbox, but that means if I choose > another WM/DE the previous gpg-agent is still running. Meanwhile, I > found this: > > http://bugs.gentoo.org/258944 > > will give it a spin and see how it goes. This works fine, as long as I start fluxbox from the console with startx, but not if I use xdm ... probably something to do with the former using xinit? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] (EE) XKB: No components provided for device Virtual core keyboard
On Tuesday 16 March 2010 16:35:09 Leandro Boscariol wrote: > Hi Mick. > > On Fri, Mar 12, 2010 at 19:26, Mick wrote: > > On Friday 12 March 2010 19:37:33 Leandro Boscariol wrote: > > > Hi guys. > > > > > > While trying to find a solution for this error: > > > > > > (EE) XKB: No components provided for device Virtual core keyboard [snip ...] > Any other idea? What does 'cat /etc/env.d/90xsession' show? If nothing, then create it and add to it: XSESSION="fluxbox" or whatever is your DE/WM. If this is a multi-user machine and people use different WMs then you'll need to set this up in their .bashrc. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Tuesday 16 March 2010 07:40:04 Amit Dor-Shifer wrote: > What does > > xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg;echo $?' tell you? It doesn't return anything on the terminal I launch it from, but decrypts the file in an xterm and then closes it (the xterm). So the gpg part works fine. > I'm thinking that gpg fails, so oocalc never launches (because you > conditioned its execution with '&&', and the script continues to shred the > file. The gpg part does not fail, because when I run: xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg && oocalc \ Personal/data.ods' An xterm opens up asks for a passwd to decrypt the file, decrypts it and launches OOo. However, the xterm dies immediately after that. On my x86 machine, the xterm stays open until I close OOo. This is how it should work; i.e. the xterm should continue to run as long as any processes within it are still running. This makes me think that it may be some env or profile difference ...? What would control this behaviour in an xterm? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
On Wednesday 17 March 2010 08:24:07 Tony Miller wrote: > Well it was working, then I wanted to add this to my /etc/conf.d/net: > > essid_ra0=( "my essid" ) > > Now the same problem is happening again, any advice? Yes, first please try not to top post because it messes up the natural flow of the question/answer sequence. Then try this syntax in case it works: essid_ra0="my essid" -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Wednesday 17 March 2010 09:15:17 Amit Dor-Shifer wrote: > ok. I didn't realize that oocalc actually executed in your first attempt. > Out of ideas then. > > FWIW - a few guesses: I'd execute oocalc under strace, and try to find > what is killing oocalc (does it decide to exit, or is it sent some > signal). If your suspecting xterm to be the culprit (i.e., yr script > works-as-expected w/o the xterm wrap) then maybe it'll be worthwhile > looking into the X resources yr xterm is reading. That's interesting ... which Xresources is xterm reading? I have this in my ~/.Xresources: aterm*loginShell:true aterm*saveLines:32767 aterm*transparent:true aterm*transpscrollbar:true aterm*shading:40 aterm*fading:55 aterm*font:-*-fixed-*-*-*-*-20-*-100-*-*-*-*-* but xterm (judging by the size of the font) does not use it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] (EE) XKB: No components provided for device Virtual core keyboard
On Wednesday 17 March 2010 22:20:12 Leandro Boscariol wrote: > On Tue, Mar 16, 2010 at 18:38, Mick wrote: > > What does 'cat /etc/env.d/90xsession' show? If nothing, then create it > > and add to it: > > > > XSESSION="fluxbox" > > None existed. Created it. > > Tried kdm, kde, kde4, and still nothing. > > Am I using the wrong value or its bug related yet? The syntax for your session should be one of the names listed under /etc/X11/Sessions/* e.g. KDE-4 So it should look like: XSESSION="KDE-4" Don't forget to restart /etc/init.d/xdm or reboot. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] top does not save settings
This is another little nuisance that I have noticed on this new amd64 laptop: In an aterm I launch top. Then press z c and Shift+W. I get: Wrote configuration to '/home/michael/.toprc' Fine I think, Ctrl+c to end it and move on. Next time I fire up top, even from the same terminal, it's all looking white with no colour, no highlighting, or anything else. Why is this? This is what the contents of .toprc show: = Cfile for "top with windows" # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 = Same thing happens in xterm and konsole. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Wednesday 17 March 2010 22:57:41 you wrote: > On Wednesday 17 March 2010 09:15:17 Amit Dor-Shifer wrote: > > ok. I didn't realize that oocalc actually executed in your first attempt. > > Out of ideas then. > > > > FWIW - a few guesses: I'd execute oocalc under strace, and try to find > > what is killing oocalc (does it decide to exit, or is it sent some > > signal). If your suspecting xterm to be the culprit (i.e., yr script > > works-as-expected w/o the xterm wrap) then maybe it'll be worthwhile > > looking into the X resources yr xterm is reading. I'm posting this to the list on behalf of Jack, because his posts don't make it to the list for some reason: You didn't see it in the list because it hasn't shown up there yet, despite three tries to post. What I mean is that if I type "oocalc somefile" in a term (it doesn't seem to matter xterm, konsole, ...) I almost immediately get the next shell prompt, even before the oocalc (or oodraw or oowrite) window is fully displayed and ready to work. It does not smell to me like anything to do with the terminal program, or even the shell, although there may well be an environment variable that OO is checking. oowriter --help (and any variation I have tried) seems to ignore the request for help. If you look at the ooffice help on command line parameters, there is a note about gentoo having a custom version - but I haven't been able to find anything at the gentoo site either. I have not yet tried launching from a script in case that behaves any differently. Note that since the shell has given the next prompt - the terminal will certainly think everything is done, and happily close if the script is finished. The trick will be to explicitly find a way to check that oo has finished. If you just launch oo from a command line in a terminal, do you get the next shell prompt immediately, or not until you exit oo? Jack Thanks Jack, this is rather interesting: On two machines including the amd64 laptop the terminal exits immediately, while the OOo is being launched. Both of these have OOo compiled from source. The third machine (an old x86 laptop) has the OOo binary installed. The binary installation behaves as I thought was the norm, i.e. the terminal does not exit, but remains open until I close OOo. So this problem that reported I guess is due to a difference between the two types of OOo, built from source or binary. I looked at the CLI help options by running 'ooffice -help'but I can't see anything in there that will change this behaviour on the OOo built from sources. Any other ideas? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Thursday 18 March 2010 03:29:00 Dan Wallis wrote: > On 16 March 2010 12:41, Mick wrote: > > On a x86 system, oocalc launches, I use the file and when I close it > > shred removes it. On the amd64 system, the file is shredded as soon as > > it is opened. This is what happens: > > I get something similar with firefox: if it's the first instance, it > will block until I terminate firefox; but if there's already a firefox > running, it'll send a "open this URL" command to the other instance, > and close this new one. > > I'm not sure if OOo is the same, but I'd recommend giving it a try. Hi Dan, my problem is not exactly the same. It occurs on the first instance that I launch OOo from the terminal. Is there some bash incantation I can use then with OOo compiled from source, to keep the terminal open until I close OOo? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] top does not save settings
On Thursday 18 March 2010 14:07:37 Renat Golubchyk wrote: > Hi! > > On Wed, 17 Mar 2010 23:19:34 + Mick > > wrote: > > In an aterm I launch top. Then press z c and Shift+W. I get: > > > >Wrote configuration to '/home/michael/.toprc' > > > > Fine I think, Ctrl+c to end it and move on. Next time I fire up top, > > even from the same terminal, it's all looking white with no colour, > > no highlighting, or anything else. Why is this? > > Maybe it will help if you quit from top gracefully by pressing 'q' > instead of killing it by sending a SIGTERM. I suppose top doesn't flush > the write buffer if you just kill it. Thank you all for your responses. Since I installed this amd64 system I have found a couple of 'unexplained' behaviours compared to my x86 systems. This must be one of them. However, some of you also run amd64 and you do not seem to experience the same. This particular problem is rather weird. Why on earth do these four missing keywords are not in my .toprc files? Neither in my root or my plain user accounts. Even more weird is that I added these in both .toprc files and as if by magic my changes in colour etc. showed up when I relaunched top! Now, as soon as I made some more changes and pressed Shift+W the Def, Job, Mem, Usr keywords disappeared again and all changes were no longer visible. What can be causing this? Should I report it as a bug? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: CUPS and hp OfficeJet Pro
On Thursday 18 March 2010 19:55:14 Dale wrote: > James wrote: > > Dale gmail.com> writes: > >> [ebuild R ] net-print/cups-1.3.11-r1 USE="X acl avahi dbus gnutls > >> java jpeg ldap pam perl png ppds python ssl tiff zeroconf -kerberos -php > >> -samba -slp -static -xinetd" LINGUAS="en -de -es -et -fr -he -id -it -ja > >> -pl -sv -zh_TW" 0 kB > > > > I could not help but notice the avahi and zeroconf flags. I do not > > see them. Do I have to install mono-zeroconf and avahi to see those > > flags? > > > > > > Do you find them useful? What applications are using avahi/zeroconf ? > > > > > > > > curiously, > > James > > I think avahi is a KDE thing. I don't really know what zeroconf is. If > I recall correctly, some package said it had to have that so I turned it > on. No clue what it is even after looking up the definition with euse. > May as well be Greek. ;-) Hmm ... they're not. Avahi is daemon utilising multicast DNS and DNS Service Discovery for devices and services which are advertising themselves on your network. Zeroconf is the standard used for this purpose. Unless you expect to plug and play I am not sure you need them on your machine. I think that for a typical setup where you tell your PCs where the printer is there isn't much benefit to justifying installing their dependencies and running a daemon. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Friday 19 March 2010 00:34:44 Dan Wallis wrote: > On 19 March 2010 08:42, Mick wrote: > > Is there some bash incantation I can use then with OOo compiled from > > source, to keep the terminal open until I close OOo? > > I guess something like this might do the trick: > while pgrep ooffice >/dev/null; do sleep 1; done > Although I'm not at my Gentoo box at the moment to test. The version > of pgrep on this Debian box doesn't have a -q option, hence the > redirect to devnull. Thanks Dan, I tried this but the terminal did not wait for OOo to close. It exited straight away: xterm -fg green -bg black -e 'gpg DATA/data.ods.gpg && oocalc DATA/data.ods; while pgrep oocalc >/dev/null; do sleep 1; done' I also tried /usr/bin/oocalc, but it didn't work. :-( -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] (EE) XKB: No components provided for device Virtual core keyboard
On Friday 19 March 2010 11:16:29 Leandro Boscariol wrote: > Well, did as you said, but still the same... Let's belt & brace this to cover all bases: Check that in your /etc/rc.conf you have XSESSION="fluxbox" or whatever is the session shown in /etc/X11/Sessions/. Also, check that you have specified the correct Display Manager in /etc/conf.d/xdm, e.g. DISPLAYMANAGER="kdm" Then /etc/init.d/xdm restart to see what you get. If you have no success after this then I'm afraid I've run out of ideas. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] KDE4 suspend to RAM
Hi All, I want to map a OEM keyboard button to suspend the PC to RAM, but I am not sure which command KDE4 is using in its menu for suspending to RAM. I assume that I will be able to map this button to the command in question and I wouldn't need to elevate privileges, enter passwds, or the like, because when I select it from the KDE menu it just runs. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4 suspend to RAM
On Saturday 20 March 2010 15:16:57 ich bins wrote: > Am 20.03.2010 11:21, schrieb Mick: > > Hi All, > > > > I want to map a OEM keyboard button to suspend the PC to RAM, but I am > > not sure which command KDE4 is using in its menu for suspending to RAM. > > I assume that I will be able to map this button to the command in > > question and I wouldn't need to elevate privileges, enter passwds, or the > > like, because when I select it from the KDE menu it just runs. > > in the shortcuts section you have to define a new dbus-call > > org.kde.kded > /modules/powerdevil > suspend > 2 Thanks! Will give it a try next time I get on that machine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4 suspend to RAM
On Saturday 20 March 2010 15:16:57 ich bins wrote: > Am 20.03.2010 11:21, schrieb Mick: > > Hi All, > > > > I want to map a OEM keyboard button to suspend the PC to RAM, but I am > > not sure which command KDE4 is using in its menu for suspending to RAM. > > I assume that I will be able to map this button to the command in > > question and I wouldn't need to elevate privileges, enter passwds, or the > > like, because when I select it from the KDE menu it just runs. > > in the shortcuts section you have to define a new dbus-call > > org.kde.kded > /modules/powerdevil > suspend > 2 Hmm ... this is weird: I set up Trigger as Sleep and populated the Action fields as you suggested in the Input Actions in SystemSettings. If I click on the Call button under the Action fields, the machine goes to sleep. If I use the keyboard Sleep button it does not. How do I troubleshoot this? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: (EE) XKB: No components provided for device Virtual core keyboard
On Sunday 21 March 2010 17:04:28 walt wrote: > On 03/21/2010 05:33 AM, Leandro Boscariol wrote: > > Well, I`ve got this: > > > > /etc/conf.d/xdm > > ... > > DISPLAYMANAGER="kdm" > > ... > > > > /etc/rc.conf > > ... > > # Gnome - will start gnome-session > > # kde- - will start startkde (look in /etc/X11/Sessions/) > > # Xfce4 - will start a XFCE4 session > > # Xsession - will start a terminal and a few other nice apps > > XSESSION="kde-4" > > > > Then I remembered about /etc/X11/Sessions and switched it for KDE-4, but > > still... > > > > Also tried commenting the line XSESSION, and nothing again. > > > > But, I`m thinking about this note in /etc/rc.conf: > > > > # NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and > > startx # is called. > > > > This is the command called when I use startx, right? If so, how can I > > make xdm use it as well? Or the problem is somewhere else here? > > In the old days, xdm used your ~/.xsession instead of ~/.xinitrc. I see > that /etc/X11/Sessions/Xsession still reads ~/.xsession, but I don't use > kde so I don't know what /etc/X11/Sessions/KDE-4 (or kde?) does when you > run it. > > Whatever is in that file must do something different than just run > startkde, so take a look at it. /etc/X11/Sessions/KDE-4 just runs: exec "/usr/bin/startkde" and /usr/bin/startkde does not seem to look into either .xinitrc, or .xsession, both of which are optional files for personal settings of your xsession and its applications. It does however check to see if XDM is running and then it tries to connect to that X server. In my machine (still on the stable baselayout) if I add XSESSION="kde-4" in /etc/rc.conf and DISPLAYMANAGER="kdm" in /etc/conf.d/xdm it works. Assuming that you have not forgotten to emerge xdm ;-) you may want to try using the above settings and then running: /etc/init.d/xdm --debug restart from a console to see what errors you get. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Playing Apple Trailers
What's the trick for playing Apple Trailers these days? It used to work fine years ago, but now all I get is a pop-up telling me to download Apple's Quicktime player. :-( I looked for mplayer USE flags to enable it, but can't find any. I did find media-libs/libquicktime, but I am not sure if this is needed or which video player will use it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] KDE4 suspend to RAM
On 22 March 2010 09:26, ich bins wrote: > Am 21.03.2010 09:46, schrieb Mick: >> On Saturday 20 March 2010 15:16:57 ich bins wrote: >> >>> Am 20.03.2010 11:21, schrieb Mick: >>> in the shortcuts section you have to define a new dbus-call >>> >>> org.kde.kded >>> /modules/powerdevil >>> suspend >>> 2 >>> >> Hmm ... this is weird: >> >> I set up Trigger as Sleep and populated the Action fields as you suggested in >> the Input Actions in SystemSettings. If I click on the Call button under the >> Action fields, the machine goes to sleep. If I use the keyboard Sleep button >> it does not. How do I troubleshoot this? >> > have you populated the Xf86Sleep-button (or which you re using) with the > action? Yes, in the Trigger tab of Input Actions, I clicked on 'Input' and then pressed the keyboard button which changed the 'Input' field into 'Sleep'. > Is the key you re using known by KDE ? which KDE version you re > using? I believe that the key is known by KDE because it is now also shown under Global hotkeys. I am using KDE-4.3.5 -- Regards, Mick
Re: [gentoo-user] Playing Apple Trailers
Thanks Daniel, On 22 March 2010 07:29, Daniel Troeder wrote: > On 03/22/2010 07:58 AM, Mick wrote: >> What's the trick for playing Apple Trailers these days? It used to work fine >> years ago, but now all I get is a pop-up telling me to download Apple's >> Quicktime player. :-( >> >> I looked for mplayer USE flags to enable it, but can't find any. I did find >> media-libs/libquicktime, but I am not sure if this is needed or which video >> player will use it. > You have to use > $ mplayer -user-agent=QuickTime/7.6.2 > http://trailers.apple.com/movies/disney/aliceinwonderland/aliceinwonderland-clip1_480p.mov The correct syntax is slightly different: mplayer -user-agent QuickTime/7.6.2 The "=" sign is required in the configuration file though. Thanks again. -- Regards, Mick