Re: [gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown
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 HTH.
Re: [gentoo-user] No more mythtv for Gentoo users?
On Thursday 04 March 2010 03:28:27 Neil Bothwick wrote: > On Wed, 3 Mar 2010 22:07:22 +0200, Alan McKinnon wrote: > > > > % ssh myt...@agrajag uptime > > > > > > > >17:58:52 up 51 days, 16:25, 1 user, load average: 0.17, 0.10, > > > > > > > > 0.09 > > > > > > You call it Agrajag and talk about stability? You big tempter of fate > > > you. > > > > Wasn't Agrajag the toothless wonder that kept getting accidentally > > killed by Arthur Dent? > > Yes, all my hostnames are HHGTTG characters. Agrajag never crashes and > has only died once... so far. This notebook is nazgul, not because I'm a LOTR fan (which I am) but because it ties in nicely with the BOFH image I've been cultivating for years -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] nepomuk 4.4 is emerged with kde 4.3
On Thursday 04 March 2010 04:02:56 Xi Shen wrote: > On Thu, Mar 4, 2010 at 8:41 AM, Alan McKinnon wrote: > > On Thursday 04 March 2010 02:27:40 Xi Shen wrote: > >> hi, > >> > >> my system is gentoo amd64, kde 4.3. and i found nepomuk, along with > >> some other packages, are using 4.4 version. is it correct? > > > > No. > > > > Nepomuk is slotted like KDE. I suspect you are running a stable system > > and have added nepomuk to packages.keywords and it is now pulling in > > latest ~arch nepomuk > > oh, i guess it all my fault. i tried to emerge kde 4.4 once, but > failed. i did not have time to resolve the error. so i rolled back to > kde 4.3, and did a simple emerge -uvND world. i think this did not > help me roll back the packages that were updated when i was trying to > emerge kde 4.4. > > how should i roll back those miss updated packages back to 4.3? or can > someone tell me if kde 4.4 is pretty stable to use for desktop? 4.4 is as safe to use as 4.3 (or equally broken depending on your point of view). If you run an arch machine, then remove all the KDE stuff out of package.keywords and let emerge -avuND world do it's thing. Don't try and run unstable KDE on a stable machine, you end up with too much stuff in ~arch. If you run an ~arch machine, then do nothing and let emerge -avuND world do it's thing. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Advice for 64-bit n00b?
On Thursday 04 March 2010 08:44:27 Graham Murray wrote: > Volker Armin Hemmann writes: > > no, it is not safe to have a 64bit only system. Just choose the multilib > > profile and start installing. If something needs the 32bit emul libs, it > > will pull the stuff in. There is nothing you need to care about. > > What is unsafe about a 64bit only system? Surely if it were unsafe then > Gentoo would not offer no-multilib profiles? I have recently built 2 > systems using a no-multilib profile and have not found any problems, and > expect to start building a third one today. It's not unsafe in that the machine cannot work, it's unsafe in that for a normal desktop user's range of apps, some thing might be impossible to get going. If you have a no-multilib desktop profile, and you need to install some thrid party app like VPN software that is 32 bit, you are stuck needing a reinstall (as that profile switch on a live machine is not easy nor advised). Just be safe as use the profile that will let you use 32 bit libs if and when you need them. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Advice for 64-bit n00b?
On Thu, Mar 04, 2010 at 06:44:27AM +, Graham Murray wrote: > Volker Armin Hemmann writes: > > > no, it is not safe to have a 64bit only system. Just choose the multilib > > profile and start installing. If something needs the 32bit emul libs, it > > will > > pull the stuff in. There is nothing you need to care about. > > What is unsafe about a 64bit only system? Surely if it were unsafe then > Gentoo would not offer no-multilib profiles? I have recently built 2 > systems using a no-multilib profile and have not found any problems, and > expect to start building a third one today. > I completely misread that, I read it as "it is safe to have a 64bit only system". I ran a no-multilib profile for a couple of weeks which ran fine. This isn't a long period of time, I know. But I had absolutely no issues in that period. The only reason I switched back to a multilib profile was because a math program for school couldn't connect to it's core functions on a pure 64-bit environment. Furthermore, I have multilib flag disabled as standard, but there are some things (gcc, glibc mainly) where I have set the multilib flag. And I'm not having any sort of problem with it. -- Zeerak Waseem pgpF8ICbdlhM6.pgp Description: PGP signature
Re: [gentoo-user] Re: FreeNX password vs. ssh-key
Anyone? Amit Dor-Shifer wrote: BTW, am I the only-one who can't get x2go to build? amit0 ~ # emerge -av x2goserver These are the packages that would be merged, in order: Calculating dependencies / * Please fix your package (net-misc/x2gosessionadministration-2.0.1.10) to not use kde.eclass /usr/portage/local/layman/nx/net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild: line 22: need-kde: command not found * Please fix your package (net-misc/x2gohostadministration-2.0.1.4) to not use kde.eclass /usr/portage/local/layman/nx/net-misc/x2gohostadministration/x2gohostadministration-2.0.1.4.ebuild: line 19: need-kde: command not found * Please fix your package (net-misc/x2gouseradministration-2.0.1.8) to not use kde.eclass /usr/portage/local/layman/nx/net-misc/x2gouseradministration/x2gouseradministration-2.0.1.8.ebuild: line 18: need-kde: command not found * Please fix your package (net-misc/x2gogroupadministration-2.0.1.4) to not use kde.eclass /usr/portage/local/layman/nx/net-misc/x2gogroupadministration/x2gogroupadministration-2.0.1.4.ebuild: line 19: need-kde: command not found * Please fix your package (net-misc/x2gosystemadministration-2.0.1.5) to not use kde.eclass /usr/portage/local/layman/nx/net-misc/x2gosystemadministration/x2gosystemadministration-2.0.1.5.ebuild: line 18: need-kde: command not found ... done! emerge: there are no ebuilds to satisfy "net-misc/x2gokdebindings". (dependency required by "net-misc/x2goserver-3.0.1.1" [ebuild]) (dependency required by "x2goserver" [argument]) Amit Nikos Chantziaras wrote: On 02/27/2010 01:52 AM, Joseph wrote: I'm installing Freenx and it will not install unless I enable in sshd_conf UsePAM yes (password authentication) What is the use use of ssh-key if I have to enable PAM? FreeNX does not support SSH keys. It only uses one for its control user. For an NX-based client/server that supports SSH keys, you might want to look at x2go instead. Furthermore, FreeNX seems to be quite inactive upstream (last update in 2008.) x2go is in the "nx" overlay.
[gentoo-user] Re: Advice for 64-bit n00b?
On 03/04/2010 08:44 AM, Graham Murray wrote: Volker Armin Hemmann writes: no, it is not safe to have a 64bit only system. Just choose the multilib profile and start installing. If something needs the 32bit emul libs, it will pull the stuff in. There is nothing you need to care about. What is unsafe about a 64bit only system? Surely if it were unsafe then Gentoo would not offer no-multilib profiles? I have recently built 2 systems using a no-multilib profile and have not found any problems, and expect to start building a third one today. You didn't understand the question Volker was replying to. The question was not about "safe" as in "security", but rather "safe" as in "I can rest assured that a no-multilib system can run every software I could install", which is clearly not the case since some applications need 32-bit support.
Re: [gentoo-user] 2.6.31-gentoo-r10 kernel segfaults on shutdown
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.
Re: [gentoo-user] Advice for 64-bit n00b?
Volker Armin Hemmann writes: > no, it is not safe to have a 64bit only system. Just choose the multilib > profile and start installing. If something needs the 32bit emul libs, it will > pull the stuff in. There is nothing you need to care about. What is unsafe about a 64bit only system? Surely if it were unsafe then Gentoo would not offer no-multilib profiles? I have recently built 2 systems using a no-multilib profile and have not found any problems, and expect to start building a third one today.
[gentoo-user] how to add custom compilation options?
hi, i want to emerge the crypto++ package with the "-DCRYPTOPP_DISABLE_ASM" option. i tried to add it into the CFLAGS variable, but it did not work. please tell me how to do this. -- Best Regards, David Shen http://twitter.com/davidshen84/
Re: [gentoo-user] nepomuk 4.4 is emerged with kde 4.3
On Thu, Mar 4, 2010 at 8:41 AM, Alan McKinnon wrote: > On Thursday 04 March 2010 02:27:40 Xi Shen wrote: >> hi, >> >> my system is gentoo amd64, kde 4.3. and i found nepomuk, along with >> some other packages, are using 4.4 version. is it correct? > > No. > > Nepomuk is slotted like KDE. I suspect you are running a stable system and > have added nepomuk to packages.keywords and it is now pulling in latest > ~arch nepomuk > oh, i guess it all my fault. i tried to emerge kde 4.4 once, but failed. i did not have time to resolve the error. so i rolled back to kde 4.3, and did a simple emerge -uvND world. i think this did not help me roll back the packages that were updated when i was trying to emerge kde 4.4. how should i roll back those miss updated packages back to 4.3? or can someone tell me if kde 4.4 is pretty stable to use for desktop? -- Best Regards, David Shen http://twitter.com/davidshen84/
Re: [gentoo-user] No more mythtv for Gentoo users?
On Wed, 3 Mar 2010 17:20:50 -0500, Willie Wong wrote: > Precisely, I hate to imagine what kind of a system will Neil decide to > call "Wowbagger". I've not used one yet, but I did have a laptop call Eccentrica :) -- Neil Bothwick WinErr 007: System price error - Inadequate money spent on hardware signature.asc Description: PGP signature
Re: [gentoo-user] No more mythtv for Gentoo users?
On Wed, 3 Mar 2010 22:07:22 +0200, Alan McKinnon wrote: > > > % ssh myt...@agrajag uptime > > > > > >17:58:52 up 51 days, 16:25, 1 user, load average: 0.17, 0.10, > > > 0.09 > > > > You call it Agrajag and talk about stability? You big tempter of fate > > you. > > > Wasn't Agrajag the toothless wonder that kept getting accidentally > killed by Arthur Dent? Yes, all my hostnames are HHGTTG characters. Agrajag never crashes and has only died once... so far. -- Neil Bothwick Processor: (n.) a device for converting sense to nonsense at the speed of electricity, or (rarely) the reverse. signature.asc Description: PGP signature
Re: [gentoo-user] nepomuk 4.4 is emerged with kde 4.3
On Thursday 04 March 2010 02:27:40 Xi Shen wrote: > hi, > > my system is gentoo amd64, kde 4.3. and i found nepomuk, along with > some other packages, are using 4.4 version. is it correct? No. Nepomuk is slotted like KDE. I suspect you are running a stable system and have added nepomuk to packages.keywords and it is now pulling in latest ~arch nepomuk > > also, i have a problem with nepomuk. whenever i start X, it pops up > "Nepomuk was not able to find the configured database backend > 'sesame2'. Existing data can thus not be". the message is truncated, > and i have no way to read them all. how can i fix this? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] nvidia GeForce 6200 questions
On Tuesday 02 March 2010 17:18:38 Neil Bothwick wrote: > On Tue, 2 Mar 2010 16:09:06 +, Peter Humphrey wrote: > > > There was a patch for the 190.53 driver released yesterday to > > > make it work with 2.6.33. > > > > Can you give a link please? I'm having trouble compiling > > nvidia-drivers with 2.6.33 and I can't see much on the nvidia > > site. > > emerge --sync and try again. the patch is now in portage. So it is. I sync daily but I hadn't got this version until now. Thanks Neil. -- Rgds Peter.
[gentoo-user] nepomuk 4.4 is emerged with kde 4.3
hi, my system is gentoo amd64, kde 4.3. and i found nepomuk, along with some other packages, are using 4.4 version. is it correct? also, i have a problem with nepomuk. whenever i start X, it pops up "Nepomuk was not able to find the configured database backend 'sesame2'. Existing data can thus not be". the message is truncated, and i have no way to read them all. how can i fix this? -- Best Regards, David Shen http://twitter.com/davidshen84/
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] Advice for 64-bit n00b?
On Mittwoch 03 März 2010, Mick wrote: > 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? no, it is not safe to have a 64bit only system. Just choose the multilib profile and start installing. If something needs the 32bit emul libs, it will pull the stuff in. There is nothing you need to care about.
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] No more mythtv for Gentoo users?
On Wed, Mar 03, 2010 at 10:07:22PM +0200, Alan McKinnon wrote: > On Wednesday 03 March 2010 20:23:01 Willie Wong wrote: > > On Wed, Mar 03, 2010 at 05:59:32PM +, Neil Bothwick wrote: > > > % ssh myt...@agrajag uptime > > > > > >17:58:52 up 51 days, 16:25, 1 user, load average: 0.17, 0.10, 0.09 > > > > You call it Agrajag and talk about stability? You big tempter of fate > > you. > > > Wasn't Agrajag the toothless wonder that kept getting accidentally killed by > Arthur Dent? > Precisely, I hate to imagine what kind of a system will Neil decide to call "Wowbagger". W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] vBulletin site causes Konqueror to hang
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.
Re: [gentoo-user] No more mythtv for Gentoo users?
> Wasn't Agrajag the toothless wonder that kept getting accidentally killed by > Arthur Dent? Yes
Re: [gentoo-user] vBulletin site causes Konqueror to hang
chrome://messenger/locale/messengercompose/composeMsgs.properties: On Wednesday 03 March 2010 03:54:06 Dale wrote: I did click around on the site earlier but I'm not registered to do anything else. I just went back and tried to navigate a bit more. I went to a thread then clicked to go back to the main page. Dicks hat band could not have done it better. That thing locked up like a whore on the front row. lol It was a 53% loading and trying to get something that is 18.9Kib. It's been a couple minutes now and it is still sitting there. I'm thinking that only a kill -9 will make this "whore" move again. Please excuse my humor. So, whatever it is, it affects us both. I fear the worst :-) I see KDE-4.4.1 just showed up in the tree and the Changelog has some interesting javascript-related bugs fixed. So what I'm gonna do is rebuild this latest KDE and see if that makes a difference. If not, disable $STUFF one at a time. If that doesn't work, I shall have to change a 6 year browsing habit :-( It may be safe to fear the worst. I updated mine last night so I thought I would try it again with the updates. Last time it locked up at about 53%. Well they did improve it a little bit at least. It now hangs at 66%. So we have a 13% improvement. Hey, maybe with the next updates it will work all the way to a page load. 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. Now to go do a kill on Konqueror. Dale :-) :-)
Re: [gentoo-user] Re: No more mythtv for Gentoo users?
On Wed, Mar 3, 2010 at 12:30 PM, Grant Edwards wrote: > On 2010-03-03, Mark Knecht wrote: >> On Wed, Mar 3, 2010 at 10:49 AM, Grant Edwards >>> >>> I read the instructions for fixing the broken database encoding, but >>> it appears mine is fine -- so updating to 0.22 won't be quite as >>> painful as it might have been. ??I'll still have to re-build the >>> frontend, since 0.22 doesn't use a compatible protocol. >> >> You are already using latin1 throughout your database? > > Apparently: > > $ mysql -umythtv -p mythconverg -e 'status;' > Enter password: > -- > mysql Ver 14.12 Distrib 5.0.84, for pc-linux-gnu (i686) using readline 6.0 > > Connection id: 106 > Current database: mythconverg > Current user: myt...@localhost > SSL: Not in use > Current pager: stdout > Using outfile: '' > Using delimiter: ; > Server version: 5.0.84-log Gentoo Linux mysql-5.0.84-r1 > Protocol version: 10 > Connection: Localhost via UNIX socket > Server characterset: latin1 > Db characterset: latin1 > Client characterset: latin1 > Conn. characterset: latin1 > UNIX socket: /var/run/mysqld/mysqld.sock > Uptime: 1 day 20 hours 44 min 55 sec > > Threads: 5 Questions: 261810 Slow queries: 0 Opens: 1400 Flush tables: 1 > Open tables: 59 Queries per second avg: 1.625 > -- > Good stuff. Not true for me. > >> You are lucky if that's true. It isn't for me but I've been running >> myth for about 4 years now. > > I've been running Myth for a while (6 years?), but this database was > created about 7 months ago when I switched from a dedicated FE/BE > machine running KnoppMyth to a split FE/BE setup where the BE runs on > a non-dedicated Gentoo machine. Not sure how it ended up this way > other than the fact that I don't have UTF support enabled on that box > (at some point in the past, having UTF support enabled broke something > else, but I don't remember what). > >> I would suggest that if you use __any__ remote frontends and there is >> any chance of someone else powering one up and using Myth then you >> should first emerge -C mythtv on ALL frontend-only machines, > > The FE doesn't run Gentoo, it runs MiniMyth -- I _think_ all I need to > do is replace the 0.21 rootfs on the USB flash drive with the one > containing 0.22... You've probably read this elsewhere but apparently an older 0.21 frontend can corrupt the MythTV database. Maybe it won't happen for you if you're already using all latin1 everywhere. I'm not so I have to be careful. Cheers, Mark
[gentoo-user] Re: No more mythtv for Gentoo users?
On 2010-03-03, Mark Knecht wrote: > On Wed, Mar 3, 2010 at 10:49 AM, Grant Edwards >> >> I read the instructions for fixing the broken database encoding, but >> it appears mine is fine -- so updating to 0.22 won't be quite as >> painful as it might have been. ??I'll still have to re-build the >> frontend, since 0.22 doesn't use a compatible protocol. > > You are already using latin1 throughout your database? Apparently: $ mysql -umythtv -p mythconverg -e 'status;' Enter password: -- mysql Ver 14.12 Distrib 5.0.84, for pc-linux-gnu (i686) using readline 6.0 Connection id: 106 Current database: mythconverg Current user: myt...@localhost SSL:Not in use Current pager: stdout Using outfile: '' Using delimiter:; Server version: 5.0.84-log Gentoo Linux mysql-5.0.84-r1 Protocol version: 10 Connection: Localhost via UNIX socket Server characterset:latin1 Db characterset:latin1 Client characterset:latin1 Conn. characterset:latin1 UNIX socket:/var/run/mysqld/mysqld.sock Uptime: 1 day 20 hours 44 min 55 sec Threads: 5 Questions: 261810 Slow queries: 0 Opens: 1400 Flush tables: 1 Open tables: 59 Queries per second avg: 1.625 -- > You are lucky if that's true. It isn't for me but I've been running > myth for about 4 years now. I've been running Myth for a while (6 years?), but this database was created about 7 months ago when I switched from a dedicated FE/BE machine running KnoppMyth to a split FE/BE setup where the BE runs on a non-dedicated Gentoo machine. Not sure how it ended up this way other than the fact that I don't have UTF support enabled on that box (at some point in the past, having UTF support enabled broke something else, but I don't remember what). > I would suggest that if you use __any__ remote frontends and there is > any chance of someone else powering one up and using Myth then you > should first emerge -C mythtv on ALL frontend-only machines, The FE doesn't run Gentoo, it runs MiniMyth -- I _think_ all I need to do is replace the 0.21 rootfs on the USB flash drive with the one containing 0.22... > upgrade your server, emerge mythtv-0.22 on one frontend, make sure it > works, and then move on with any other machine. > > Good luck and report back how it goes! -- Grant Edwards grant.b.edwardsYow! Are we on STRIKE yet? at gmail.com
Re: [gentoo-user] No more mythtv for Gentoo users?
On Wednesday 03 March 2010 20:23:01 Willie Wong wrote: > On Wed, Mar 03, 2010 at 05:59:32PM +, Neil Bothwick wrote: > > % ssh myt...@agrajag uptime > > > >17:58:52 up 51 days, 16:25, 1 user, load average: 0.17, 0.10, 0.09 > > You call it Agrajag and talk about stability? You big tempter of fate > you. Wasn't Agrajag the toothless wonder that kept getting accidentally killed by Arthur Dent? -- alan dot mckinnon at gmail dot com
[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] No more mythtv for Gentoo users?
On Wednesday 03 March 2010 18:52:46 Grant Edwards wrote: > When upgrading a machine today, I saw a notice that mythtv 0.21 has > now been hardmasked. I think it's because it depends on an obsolte > version of Qt. Don't get me started on the royal PITA of requiring > that Qt be installed for a backend-only setup on a server. > > Since 0.21 and 0.23 is hardmasked, and mythv 0.22 is unstable on > everything except the amd64 platform, what's an X86 user to do? Move the needed Qt-3 ebuilds to your local private overlay along with the mythtv ebuilds, unmask mythtv, continue as normal. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Advice for 64-bit n00b?
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. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] KDE? Get me out of here!
On Wednesday 03 March 2010 19:30:56 stosss wrote: > > I wonder if amarok would not be better off using the strigi/nepomuk > > indexing function, instead of trying to be real clever and doing it > > itself. > > I think Amarok uses MySQL. Amarok definitely uses MySQL, but that's the storage function, we are talking about the search function. It uses MySQL in the most brain-dead way anyone ever heard of, a way that no- one in their right mind would consider even half-way sane. It *requires* you to jump through interminable loops at build-time because it wants, wait for it, shared embedded libraries. I mean, wtf? That's not something MySQL was built to do. It's like having sex to preserve virginity Then, to top it all, the Qt db libs get used wrongly too, causing the db to ... not work. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] KDE? Get me out of here!
On Wednesday 03 March 2010 19:32:57 Paul Hartman wrote: > On Wed, Mar 3, 2010 at 10:49 AM, Alan McKinnon wrote: > > I wonder if amarok would not be better off using the strigi/nepomuk > > indexing function, instead of trying to be real clever and doing it > > itself. > > AFAIK it is on the Amarok to-do list now that the speed is good enough > to replace mysql, but nobody has volunteered to take on the challenge > yet. > > I think there's also the potential problem of users who don't install > or enable the indexing/semantic-desktop stuff might not be able to use > Amarok then... It could be a build-time option, giving the user a choice -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: No more mythtv for Gentoo users?
On Wed, Mar 3, 2010 at 10:49 AM, Grant Edwards wrote: > On 2010-03-03, Mark Knecht wrote: >> On Wed, Mar 3, 2010 at 8:52 AM, Grant Edwards >> wrote: >>> When upgrading a machine today, I saw a notice that mythtv 0.21 has >>> now been hardmasked. ??I think it's because it depends on an obsolte >>> version of Qt. ??Don't get me started on the royal PITA of requiring >>> that Qt be installed for a backend-only setup on a server. >>> >>> Since 0.21 and 0.23 is hardmasked, and mythv 0.22 is unstable on >>> everything except the amd64 platform, what's an X86 user to do? > >> I think this is being handled badly but that sort of the way it is for >> a few days anyway. Shortly 0.22 will be unmasked as stable if it isn't >> already, but there are LOTS and LOTS of things we need to be careful >> about when changing or the Myth database will get messed up and >> possibly be unusable. > > I read the instructions for fixing the broken database encoding, but > it appears mine is fine -- so updating to 0.22 won't be quite as > painful as it might have been. I'll still have to re-build the > frontend, since 0.22 doesn't use a compatible protocol. You are already using latin1 throughout your database? You are lucky if that's true. It isn't for me but I've been running myth for about 4 years now. I would suggest that if you use __any__ remote frontends and there is any chance of someone else powering one up and using Myth then you should first emerge -C mythtv on ALL frontend-only machines, upgrade your server, emerge mythtv-0.22 on one frontend, make sure it works, and then move on with any other machine. Good luck and report back how it goes! - Mark > > I'll probably try upgrading to 0.22. > > -- > Grant Edwards grant.b.edwards Yow! We're going to a > at new disco! > gmail.com > > >
[gentoo-user] Re: No more mythtv for Gentoo users?
On 2010-03-03, Mark Knecht wrote: > On Wed, Mar 3, 2010 at 8:52 AM, Grant Edwards > wrote: >> When upgrading a machine today, I saw a notice that mythtv 0.21 has >> now been hardmasked. ??I think it's because it depends on an obsolte >> version of Qt. ??Don't get me started on the royal PITA of requiring >> that Qt be installed for a backend-only setup on a server. >> >> Since 0.21 and 0.23 is hardmasked, and mythv 0.22 is unstable on >> everything except the amd64 platform, what's an X86 user to do? > I think this is being handled badly but that sort of the way it is for > a few days anyway. Shortly 0.22 will be unmasked as stable if it isn't > already, but there are LOTS and LOTS of things we need to be careful > about when changing or the Myth database will get messed up and > possibly be unusable. I read the instructions for fixing the broken database encoding, but it appears mine is fine -- so updating to 0.22 won't be quite as painful as it might have been. I'll still have to re-build the frontend, since 0.22 doesn't use a compatible protocol. > It seems that a few devs can decide that something like qt3 is enough > to force people to move forward. I've got 5 x64/amd64 frontends plus > a backend PPC server. I'm not convinced they thought about this sort > of mixed environment issue but that's the way it is. > > I am expecting that it's going to be a bad couple of weeks > > I'd like to find some sort of sunset overlay for 0.21 but I haven't > looked. Let me know if you go that way. I'll probably try upgrading to 0.22. -- Grant Edwards grant.b.edwardsYow! We're going to a at new disco! gmail.com
Re: [gentoo-user] No more mythtv for Gentoo users?
On Wed, Mar 03, 2010 at 05:59:32PM +, Neil Bothwick wrote: > % ssh myt...@agrajag uptime >17:58:52 up 51 days, 16:25, 1 user, load average: 0.17, 0.10, 0.09 You call it Agrajag and talk about stability? You big tempter of fate you. :) W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] No more mythtv for Gentoo users?
On Wed, 3 Mar 2010 16:52:46 + (UTC), Grant Edwards wrote: > Since 0.21 and 0.23 is hardmasked, and mythv 0.22 is unstable on > everything except the amd64 platform, what's an X86 user to do? It may be in a testing ebuild but it is far from unstable: % ssh myt...@agrajag uptime 17:58:52 up 51 days, 16:25, 1 user, load average: 0.17, 0.10, 0.09 -- Neil Bothwick "Apple I" (c) Copyright 1767, Sir Isaac Newton. signature.asc Description: PGP signature
Re: [gentoo-user] No more mythtv for Gentoo users?
On Wed, Mar 3, 2010 at 8:52 AM, Grant Edwards wrote: > When upgrading a machine today, I saw a notice that mythtv 0.21 has > now been hardmasked. I think it's because it depends on an obsolte > version of Qt. Don't get me started on the royal PITA of requiring > that Qt be installed for a backend-only setup on a server. > > Since 0.21 and 0.23 is hardmasked, and mythv 0.22 is unstable on > everything except the amd64 platform, what's an X86 user to do? > > -- > Grant Edwards grant.b.edwards Yow! My face is new, my I think this is being handled badly but that sort of the way it is for a few days anyway. Shortly 0.22 will be unmasked as stable if it isn't already, but there are LOTS and LOTS of things we need to be careful about when changing or the Myth database will get messed up and possibly be unusable. It seems that a few devs can decide that something like qt3 is enough to force people to move forward. I've got 5 x64/amd64 frontends plus a backend PPC server. I'm not convinced they thought about this sort of mixed environment issue but that's the way it is. I am expecting that it's going to be a bad couple of weeks I'd like to find some sort of sunset overlay for 0.21 but I haven't looked. Let me know if you go that way. - Mark
Re: [gentoo-user] KDE? Get me out of here!
Alan McKinnon writes: > On Wednesday 03 March 2010 13:27:45 Alex Schuster wrote: [RANT RANT RANT] > > Ah, I see the problem. It mainly scans /data/mp3/incoming, a > > directory I have NOT selected as collection folder (but most other > > directories in /data/mp3 are selected). Still, those files do not > > show up in my collection, which is fine - some time ago amarok did > > index all in /data/mp3, even if a directory was not selected. I investigated this further. Amarok seems to look for all playlists below /data/mp3, and then looks up all of their files. No idea why. > I wonder if amarok would not be better off using the strigi/nepomuk > indexing function, instead of trying to be real clever and doing it > itself. Strigi also keeps indexing parts of my /data/mp3 stuff with EVERY login. > OTOH, that might just resurrect the mother of all threads we had > recently - the one about the pros and cons of nepomuk and > semantic-desktop :-) I am pro, I like it, but again it seems those things are not yet working right. Strigi indexes stuff over and over again at every login. virtuoso-t then also runs for a while and hogs resources. dbus-daemon uses 10-15 percent of CPU time according to top. Should it do this? I enabled auto-login for KDE, so when I boot the system, at least things are already indexed when I start working with it. Now I'm going to emerge KDE-4.4.1, let's see what this will change. Wonko
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, 3 Mar 2010 16:16:50 +, Stroller wrote: > > If you try to boot, after the failure to check rootfs, it should dump > > you to a recovery console, what happens if you issue ls /dev ? > > About 13 items. Is this unlucky? > > http://linux.stroller.uk.eu.org/fs-corruption-dev.png Is that the same as you see in the dev directory of your root filesystem when you boot from a live CD? It looks like udev may not be running for some reason. -- Neil Bothwick Everyone has a photographic memory. Some don't have film. signature.asc Description: PGP signature
Re: [gentoo-user] KDE? Get me out of here!
On Wed, Mar 3, 2010 at 10:49 AM, Alan McKinnon wrote: > I wonder if amarok would not be better off using the strigi/nepomuk indexing > function, instead of trying to be real clever and doing it itself. AFAIK it is on the Amarok to-do list now that the speed is good enough to replace mysql, but nobody has volunteered to take on the challenge yet. I think there's also the potential problem of users who don't install or enable the indexing/semantic-desktop stuff might not be able to use Amarok then...
Re: [gentoo-user] KDE? Get me out of here!
> I wonder if amarok would not be better off using the strigi/nepomuk indexing > function, instead of trying to be real clever and doing it itself. I think Amarok uses MySQL.
Re: [gentoo-user] Is the move perl-5.10 involved here
On Wed, Mar 03, 2010 at 11:21:35AM -0600, Harry Putnam wrote: > >>> Unpacking source... > >>> Unpacking DBD-mysql-4.013.tar.gz to > >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work > >>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work > >>> Compiling source in > >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ... > * Using ExtUtils::MakeMaker > Use of uninitialized value in subroutine entry at > /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. > object version 1.609 does not match $::VERSION %_ at > /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263. > Compilation failed in require at > /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225. > BEGIN failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226. Have you tried perl-cleaner? http://www.gentoo.org/proj/en/perl/perl-cleaner.xml W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
[gentoo-user] Boost emerge: bjam-1.41 using 100% CPU
I did an update to day on two systems. Both are installed boost-1.41.0-r3, and both "paused" during the install phase for about ten minutes with bjam-1.41 using 100% of the CPU time. Eventually, things become "un-jammed" and various files get copied to the proper destiantions. Is this behavior normal? -- Grant Edwards grant.b.edwardsYow! It's OKAY -- I'm an at INTELLECTUAL, too. gmail.com
[gentoo-user] Is the move perl-5.10 involved here
I'm having trouble when revdep-rebuild tries to emerge dev-perl/DBD-mysql I can't really make much sense of the output but I see it involves scripting from perl-5.8.8 I've included the tail of the emerge below, and below that the output of emerge --info =dev-perl/DBD-mysql-4.01.3 as suggested by emerge output. I did run `USE="build" emerge -v DBD-mysql' as suggested somewhere in the ouput. The tail below is from that: [...] >>> Emerging (1 of 1) dev-perl/DBD-mysql-4.01.3 * DBD-mysql-4.013.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ...[ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... * CPV: dev-perl/DBD-mysql-4.01.3 * REPO: gentoo * USE: build elibc_glibc kernel_linux userland_GNU x86 >>> Unpacking source... >>> Unpacking DBD-mysql-4.013.tar.gz to >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work >>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work >>> Compiling source in >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ... * Using ExtUtils::MakeMaker Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. object version 1.609 does not match $::VERSION %_ at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226. Compilation failed in require at Makefile.PL line 24. * ERROR: dev-perl/DBD-mysql-4.01.3 failed: * Unable to build! (are you using USE="build"?) * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2896: Called perl-module_src_compile * environment, line 2585: Called perl-module_src_prep * environment, line 2657: Called die * The specific snippet of code: * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR='none' DESTDIR="${D}" ${myconf} <<< "${pm_echovar}" || die "Unable to build! (are you using USE=\"build\"?)"; ---- ---=--- - Below here is the output of emerge --info =dev-perl/DBD-mysql-4.01.3 ---- ---=--- - Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r1 i686) = System Settings = System uname: Linux-2.6.32-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_3.06GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 02 Mar 2010 17:30:01 + app-shells/bash: 4.1_p2 dev-lang/python: 2.6.4-r1, 3.1.1-r1 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox:2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20-r1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.32 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -...@eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.datapipe.net/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/"; LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d acl acpi alsa apache2 aspell berkdb branding bzip2 cairo cli cracklib cscope cups cxx dbus dri emacs exif ffmpeg fortran gdbm gif gpm hal iconv jpeg lock logrotate mbox modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pdf perl png pppd python readline
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, Mar 03, 2010 at 04:16:50PM +, Stroller wrote: > > Many thanks for your help, Willie! > > About 13 items. Is this unlucky? > > http://linux.stroller.uk.eu.org/fs-corruption-dev.png > Okay, something is screwed up with udev. Is udev started? Is it upgraded recently? Any config files in /etc that needs updating? Is udev directory in /etc okay? At this point I don't think your problem is necessarily with the harddrive itself: I think we now know why fsck cannot open file or device. Check /var/log/emerge.log or the portage elogs. Did you upgrade baselayout recently? Good luck, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Advice for 64-bit n00b?
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. Thoughts? Stroller. [1] http://www.kaltenbrunner.cc/blog/index.php?/archives/4-LSIlogic-MegaRAID-SAS-and-the-self-explaining-CLI.html [2] http://sourceforge.net/projects/megactl/
Re: [gentoo-user] Pending layman directory "relocation"
On 3 Mar 2010, at 16:33, Alex Schuster wrote: Alan McKinnon writes: On Wednesday 03 March 2010 14:21:23 Neil Bothwick wrote: That's right, they should both be in /var. I concur. /usr has a long tradition is Unix of often being mounted read-only (think thin clients that mount it over NFS). Any idea why it's different with Gentoo in the first place? /usr also always sounded wrong to me for the portage tree. It probably just goes back to a snap descision by Daniel Robbins a decade (or nearly) ago. At one time he wasn't intending to distribute in the same way - Portage evolved from a script that he wrote to help him build a binary distro he was planning, so perhaps /usr/portage wasn't intended to be installed on users' systems (only on his own machine). Stroller.
[gentoo-user] No more mythtv for Gentoo users?
When upgrading a machine today, I saw a notice that mythtv 0.21 has now been hardmasked. I think it's because it depends on an obsolte version of Qt. Don't get me started on the royal PITA of requiring that Qt be installed for a backend-only setup on a server. Since 0.21 and 0.23 is hardmasked, and mythv 0.22 is unstable on everything except the amd64 platform, what's an X86 user to do? -- Grant Edwards grant.b.edwardsYow! My face is new, my at license is expired, and I'm gmail.comunder a doctor's care
Re: [gentoo-user] KDE? Get me out of here!
On Wednesday 03 March 2010 13:27:45 Alex Schuster wrote: > > On Monday 01 March 2010 18:08:05 Alex Schuster wrote: > > > On the other hand, from time to time I have show-stoppers, and then I > > > cannot use kmail, or no KDE4 at all. And have to invest time to solve > > > this. And there are these annoying things. Like Amarok being very > > > unstable, and taking 5 minutes to start. What the heck is it doing in > > > this time? > > > > > > > > Fuck knows what amarok-2x does for the first 5 minutes. I think On my > > system it scans the music directory, presumably to find updates that > > happened when amarok was not running. Fair enough, can't argue that, > > but why is it so *slow*??? > > Yes, it scans the collection, I just verified that by removing a folder > from my collection. Start-up takes 7 minutes, I guess this also slows down > my KDE4 start-up even further (strigi also scans some stuff for about a > minute, along this music files I did not touch in any way). So when I save > my KDE session I have to remember to quit amarok before that. Of course, I > also have to remember to start amarok some time after I logged in, so I > can play music when I want without having to wait 7 minutes first. > > This does not feel right... > > BTW, a find /data/mp3 -type d takes about a minute. Checking the date of > the directories to verify they did not alter since the last scan should > not take that much longer. > > Ah, I see the problem. It mainly scans /data/mp3/incoming, a directory I > have NOT selected as collection folder (but most other directories in > /data/mp3 are selected). Still, those files do not show up in my > collection, which is fine - some time ago amarok did index all in > /data/mp3, even if a directory was not selected. I wonder if amarok would not be better off using the strigi/nepomuk indexing function, instead of trying to be real clever and doing it itself. OTOH, that might just resurrect the mother of all threads we had recently - the one about the pros and cons of nepomuk and semantic-desktop :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] vBulletin site causes Konqueror to hang
On Wednesday 03 March 2010 03:54:06 Dale wrote: > I did click around on the site earlier but I'm not registered to do > anything else. I just went back and tried to navigate a bit more. I > went to a thread then clicked to go back to the main page. Dicks hat > band could not have done it better. That thing locked up like a whore > on the front row. lol It was a 53% loading and trying to get something > that is 18.9Kib. It's been a couple minutes now and it is still sitting > there. I'm thinking that only a kill -9 will make this "whore" move > again. Please excuse my humor. > > So, whatever it is, it affects us both. I fear the worst :-) I see KDE-4.4.1 just showed up in the tree and the Changelog has some interesting javascript-related bugs fixed. So what I'm gonna do is rebuild this latest KDE and see if that makes a difference. If not, disable $STUFF one at a time. If that doesn't work, I shall have to change a 6 year browsing habit :-( -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Pending layman directory "relocation"
On Wednesday 03 March 2010 18:43:55 stosss wrote: > I am new to Gentoo and just watching this discussion. > > So why does stage three put portage in > > /usr I'm not sure this will mean much to you, but the REAL reasons are that 1. It is a historical artifact that no-one thus far saw fit to change, 2. FreeBSD does it that way. Yes, #2 is for real. Read the ancient histories of where Gentoo originally came from as written by drobbins to find out why -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] KDE? Get me out of here!
On Wednesday 03 March 2010 17:48:39 Paul Hartman wrote: > On Mon, Mar 1, 2010 at 1:22 PM, Alan McKinnon 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. > > Can you symlink Desktop-1 to Desktop? ( I only have 1 monitor and have > never tried this... so forgive me if it's a stupid idea) Dunno, I'm too scared to try :-) I remember the devastation that occurred the last time I deleted Desktop-1. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Pending layman directory "relocation"
On Wednesday 03 March 2010 18:33:52 Alex Schuster wrote: > Alan McKinnon writes: > > On Wednesday 03 March 2010 14:21:23 Neil Bothwick wrote: > > > That's right, they should both be in /var. > > > > I concur. /usr has a long tradition is Unix of often being mounted > > read-only (think thin clients that mount it over NFS). > > Any idea why it's different with Gentoo in the first place? /usr also > always sounded wrong to me for the portage tree. > And for other things. Shouldn't /usr/src go somewhere into /var? And > shouldn't /usr/share/config stuff be in /etc? /usr/src/ is the traditional place for kernel header files. They are intended to be static, change seldom, and definitely not something that users can change. Normally, root would update them when needed, and stuff can then build against them. /usr/share/config/ is an upstream thing and if you follow FHS then /etc/ is a better place. But Gentoo follows upstream as much as possible so this one gets left as-is. NB: Gentoo only follows FHS when it suits Gentoo devs to do it :-) The reasoning offered is usually that Gentoo is a source distro and therefore has little needs of FHS, which does tend towards compatibility between binary distros > > > My set up is: > > > > portage:/var/portage/ > > my overlay: /var/portage/local/alan/ > > layman: /var/portage/local/layman/* > > > > As portage is hard-coded to not fiddle with $PORTDIR/local/, this works > > well for me and every ebuild on the system is under one mount point. > > Where do you have the distfiles? I now have it like this: /var/distfiles/ /var/packages/ /var/rpm/ I do it this way as I am confident portage will leave /var/portage/local/ alone, I have no confidence it will do the same for the above three. Plus, those dirs can get big, and I keep the portage volume small and tight for performance reasons -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Pending layman directory "relocation"
I am new to Gentoo and just watching this discussion. So why does stage three put portage in /usr
Re: [gentoo-user] Advice/best practices for a new Gentoo installation
Willie Wong writes: > On Wed, Mar 03, 2010 at 12:52:55PM +0100, Alex Schuster wrote: > > I thought the small files of the portage tree especially profit from > > the notail option in reiserfs? Did you change the block size? > > You mean the other way around, right? Oh dear. Yes. Thanks. > reiser defaults to tail-packing, > which can cause problems with GRUB and LILO, which is why notail is an > option which turns off tail-packing for those crazy enough to use > reiser on /boot. > > If you use notail on the portage tree, you get rid of that advantage, > then Neil is absolutely correct: there's not too much point in > journaling the portage tree, and if you actively make reiser > not-competitive on the storage-space direction, the only metric left > to compare is speed, and ext2 is faster. > > Incidentally, if you are willing to sacrifice speed for space, then a > sparsefile for /usr/portage may also be an option. I had this once on a smaller machine, but now I'd prefer it the other way around, there's plenty of space available. I have 15G for distfiles and pkgdir, so I don't worry about some 100MB for the portage tree. Wonko
Re: [gentoo-user] Pending layman directory "relocation"
Alan McKinnon writes: > On Wednesday 03 March 2010 14:21:23 Neil Bothwick wrote: > > That's right, they should both be in /var. > > I concur. /usr has a long tradition is Unix of often being mounted > read-only (think thin clients that mount it over NFS). Any idea why it's different with Gentoo in the first place? /usr also always sounded wrong to me for the portage tree. And for other things. Shouldn't /usr/src go somewhere into /var? And shouldn't /usr/share/config stuff be in /etc? > My set up is: > > portage: /var/portage/ > my overlay: /var/portage/local/alan/ > layman: /var/portage/local/layman/* > > As portage is hard-coded to not fiddle with $PORTDIR/local/, this works > well for me and every ebuild on the system is under one mount point. Where do you have the distfiles? I now have it like this: /var/portage:distfiles, pkgdir and tree /var/portage/tree: portage tree (on extra partition) /var/portage/layman: layman /var/portage/local: my ebuilds Wonko
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On 3 Mar 2010, at 14:01, Mick wrote: ... 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. That's a great idea. I'm (now) religious about backing up my customers' computers, often using dd like this, but for some reason it hadn't yet occurred to me today. Stroller.
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
Many thanks for your help, Willie! On 3 Mar 2010, at 15:18, Willie Wong wrote: On Wed, Mar 03, 2010 at 01:28:11PM +, Stroller wrote: 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=..."). If you try to boot, after the failure to check rootfs, it should dump you to a recovery console, what happens if you issue ls /dev ? About 13 items. Is this unlucky? http://linux.stroller.uk.eu.org/fs-corruption-dev.png Also check dmesg? I don't think this gives any clues: http://linux.stroller.uk.eu.org/fs-corruption-dmesg.png Stroller.
Re: [gentoo-user] KDE? Get me out of here!
Mick writes: > On Monday 01 March 2010 16:08:05 Alex Schuster wrote: > > 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. :-)) Thanks! > Is it perhaps that you have a very complex/overloaded plasma set up? Not really. I would like to, though, this stuff is actually quite nice. I changed my setup to have a different activity for each desktop, and I like it. I hope this stuff becomes more stable and usable soon. And I am missing features. Why can't I tell a plasmoid to appear on several desktops / activities I select, and not only on one? Why can't I insert another activity/desktop between the ones I already have? At the moment, I think I would have to close all plasmoids and re-open them on the new activity I want them to be, this is annoying. But again, I like the whole idea, it's only not perfect yet. > 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. This might have been the problem. But I would not like to log out for that, I just do the world updates from time to time when the machine has not much else to do, but I like to keep my desktop session running. Wonko
Re: [gentoo-user] Advice/best practices for a new Gentoo installation
Neil Bothwick writes: > On Wed, 3 Mar 2010 12:52:55 +0100, Alex Schuster wrote: > > > The data I've seen indicates that ext2 is fastest, that's what I > > > use. > > > > I thought the small files of the portage tree especially profit from > > the notail option in reiserfs? > > They benefit compared with using reiser with tail-packing. Oh my. I have it the other way around, and never even thought much about what this does. > > Did you change the block size? > > I had to change both the block size and blocks per inode, otherwise I > would run out of inodes on a 1GB filesystem. You have to admire the > user-friendliness of ext! I only wished I could add more inodes after all are out, because this happens quite frequently to me. But yes, it's nice I can specify this at all. > > > 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. > > > > Would the journaling overhead be noticeable? > > I also had used ext2 for my portage tree first, then I read somewhere > > that reiserfs would be the best. BTW, I have distfiles and pkgdir > > somewhere else, if not the fsck would not be so fast. > > It's certainly noticeable compared with ext3. Many benchmarks do show > ext2 to be the fastest filesystem, probably because of the lack of > journalling overhead. When I saw some, it was maybe 15% difference, and that probably due to writes I assume. The portage tree is written during sync only, and then I do not care about speed. But would accessing lots and lots of small files be slowed down by journaling? > Like you, I have $DISTDIR and $PKGDIR elsewhere, those files really > should not be mixed in with the portage tree. > > > Just for fun, I just copied my $PORTDIR into my tmpfs, emerge -DpN > > @system @world takes between 81 and 53 seconds. With reiserfs, I get > > 130 seconds first ($PORTDIR was unmounted first and mounted again to > > clear the caches), and 57 seconds in the second attempt. > > > > I had expected that tmpfs would be even faster. I think I just keep > > it the way it is now. > > The exact same thought occurred to me. With a local tree to sync from, > tmpfs seemed a good choice (you could sync it from /etc/conf.d/local) > but it seems like it is not worth bothering with. I would need more memory for that, I'm not at amd64 yet. But I probably should migrate anyway, and get another 4GB of memory. > I'll try a reiser3 > filesystem without tail packing to see if it beats ext2. I backed up my portage tree, re-created the reiserfs partition, and mounted without notail option. The same emerge command now takes about three minutes... no, on 2nd try it's five. Hmm... ah, clementine is indexing files. Why does it do this, I did not change files. Oh, and it has indexed all of my /data/mp3, while I only gave it four subfolders to index. Why does no audio player just accept my choices for what the collection is, and add other stuff? The next test gives 93 seconds, that's nice. Wonko
Re: [gentoo-user] Internal DAT72 : HP C7438A
Am 03.03.2010 15:18, schrieb Stefan G. Weichinger: > Am 03.03.2010 14:47, schrieb Volker Armin Hemmann: > >> but you do get /dev/sgX devices? > > Yes. > > Looks like the four SATA-disks, one cdrom and the tapedrive (recognized > as CDROM?): > > # ls -l /dev/sg? > crw-rw 1 root disk 21, 0 3. Mär 2010 /dev/sg0 > crw-rw 1 root disk 21, 1 3. Mär 2010 /dev/sg1 > crw-rw 1 root disk 21, 2 3. Mär 2010 /dev/sg2 > crw-rw 1 root disk 21, 3 3. Mär 2010 /dev/sg3 > crw-rw 1 root cdrom 21, 4 3. Mär 2010 /dev/sg4 > crw-rw 1 root cdrom 21, 5 3. Mär 2010 /dev/sg5 After a reboot, with a tape inserted, I get: # ls -l /dev/sg? crw-rw 1 root disk 21, 0 3. Mär 2010 /dev/sg0 crw-rw 1 root disk 21, 1 3. Mär 2010 /dev/sg1 crw-rw 1 root disk 21, 2 3. Mär 2010 /dev/sg2 crw-rw 1 root disk 21, 3 3. Mär 2010 /dev/sg3 crw-rw 1 root cdrom 21, 4 3. Mär 2010 /dev/sg4 crw-rw 1 root tape 21, 5 3. Mär 2010 /dev/sg5 and also # ls -l /dev/st0* crw-rw 1 root tape 9, 0 3. Mär 2010 /dev/st0 crw-rw 1 root tape 9, 96 3. Mär 2010 /dev/st0a crw-rw 1 root tape 9, 32 3. Mär 2010 /dev/st0l crw-rw 1 root tape 9, 64 3. Mär 2010 /dev/st0m # ls -l /dev/nst0* crw-rw 1 root tape 9, 128 3. Mär 2010 /dev/nst0 crw-rw 1 root tape 9, 224 3. Mär 2010 /dev/nst0a crw-rw 1 root tape 9, 160 3. Mär 2010 /dev/nst0l crw-rw 1 root tape 9, 192 3. Mär 2010 /dev/nst0m I am able to write and read a tape, yes. But dmesg still looks ugly! stuff like --> usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x2c67 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command WRITE_6 (6 bytes) usb-storage: 0a 00 00 80 00 00 usb-storage: Bulk Command S 0x43425355 T 0x2c68 L 32768 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_sglist: xfer 32768 bytes, 1 entries usb-storage: Status code 0; transferred 32768/32768 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x2c68 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command WRITE_6 (6 bytes) usb-storage: 0a 00 00 80 00 00 usb-storage: Bulk Command S 0x43425355 T 0x2c69 L 32768 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_sglist: xfer 32768 bytes, 1 entries Not very trustworthy? S
Re: [gentoo-user] KDE? Get me out of here!
On Mon, Mar 1, 2010 at 1:22 PM, Alan McKinnon 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. Can you symlink Desktop-1 to Desktop? ( I only have 1 monitor and have never tried this... so forgive me if it's a stupid idea)
Re: [gentoo-user] Advice for 64-bit n00b?
On Wednesday 03 March 2010 17:29:06 Stroller wrote: > Hi there, > > A new (to me) server has 64-bit CPUs. By my standards this is a REALLY > NICE high specification machine (I appears to be 2 x dual-core), but > in fact it's about 3 years old & is one of the earliest Intel Xeons > that supports 64-bits / AMD64 / EMT64. I think it is 64-bit Pentium 4, > rather than Core 2 architecture. > > # cat /proc/cpuinfo | head -n 25 > processor : 0 > vendor_id : GenuineIntel > cpu family : 15 > model : 4 > model name : Intel(R) Xeon(TM) CPU 3.00GHz > stepping: 3 > cpu MHz : 2992.346 > cache size : 2048 KB > physical id : 0 > siblings: 2 > core id : 0 > cpu cores : 1 > apicid : 0 > initial apicid : 0 > fpu : yes > fpu_exception : yes > cpuid level : 5 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe > syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 > xtpr > bogomips: 5984.69 > clflush size: 64 > cache_alignment : 128 > address sizes : 36 bits physical, 48 bits virtual > power management: > > > I'm a bit confused by the 36-bit address size mentioned there, but I > assume this is OK. The Gentoo wiki seems to confirm this CPU is 64- > bit: http://tinyurl.com/klv7gc [1] that is correct > > Is there anything I need to know about working with 64-bits / AMD64 / > EMT64, seeing as I've never done so before? Nope, it's just another arch. The days of doing weird funky stuff to get amd64 to work are long gone > > 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 ☹) > > I'm editing my make.conf and looked at the Gentoo wiki for "Safe > Cflags" - it says 'CHOST="x86_64-pc-linux-gnu"'. But of course > (according to make.conf.example) one shouldn't change CHOST on an > installed system. Will the files in the stage 3 have been compiled > using this CHOST? Yes. If you used a recent amd64 stage, it will all be fine. > > Any pointers would be gratefully appreciated - I'm wondering if > there's anything you guys all take for granted that I could mess up if > I don't allow for it early enough in the installation process. In make,conf, as long s you are using a reasonably recent gcc: CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CXXFLAGS="${CFLAGS}" -march=native avoids all that tedious mucking about with trying to figure out what cpu type you should build for, and moves the heavy lifting off onto the compiler. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, Mar 03, 2010 at 09:29:43AM -0600, Harry Putnam wrote: > Mark Knecht writes: > > >In my most recent case what looked like a simple disk corruption > > problem was really a prelude to the drive just plain going bad. Have > > you tried smartctl to see what it says about the drive at this point? > > Sorry to butt in here... is that tool, smartctl in some pkg on portage? > sys-app/smartmontools W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
[gentoo-user] Re: Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
Mark Knecht writes: >In my most recent case what looked like a simple disk corruption > problem was really a prelude to the drive just plain going bad. Have > you tried smartctl to see what it says about the drive at this point? Sorry to butt in here... is that tool, smartctl in some pkg on portage?
[gentoo-user] Advice for 64-bit n00b?
Hi there, A new (to me) server has 64-bit CPUs. By my standards this is a REALLY NICE high specification machine (I appears to be 2 x dual-core), but in fact it's about 3 years old & is one of the earliest Intel Xeons that supports 64-bits / AMD64 / EMT64. I think it is 64-bit Pentium 4, rather than Core 2 architecture. # cat /proc/cpuinfo | head -n 25 processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.00GHz stepping: 3 cpu MHz : 2992.346 cache size : 2048 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr bogomips: 5984.69 clflush size: 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: I'm a bit confused by the 36-bit address size mentioned there, but I assume this is OK. The Gentoo wiki seems to confirm this CPU is 64- bit: http://tinyurl.com/klv7gc [1] Is there anything I need to know about working with 64-bits / AMD64 / EMT64, seeing as I've never done so before? 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 ☹) I'm editing my make.conf and looked at the Gentoo wiki for "Safe Cflags" - it says 'CHOST="x86_64-pc-linux-gnu"'. But of course (according to make.conf.example) one shouldn't change CHOST on an installed system. Will the files in the stage 3 have been compiled using this CHOST? Any pointers would be gratefully appreciated - I'm wondering if there's anything you guys all take for granted that I could mess up if I don't allow for it early enough in the installation process. Thanks in advance for any comments, Stroller. [1] http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Xeon_w.2FEM64T_.28also_Pentium_4_P6xx_or_Celeron_M_5xx.29
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, Mar 03, 2010 at 02:26:46PM +, Stroller wrote: > I don't think this is a problem. I would love to know what others > think of the `smartctl` output: > > > r...@sysresccd /root % smartctl -H /dev/sda > smartctl version 5.38 [i486-pc-linux-gnu] Copyright (C) 2002-8 Bruce > Allen > Home page is http://smartmontools.sourceforge.net/ > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > Please note the following marginal Attributes: > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE > UPDATED WHEN_FAILED RAW_VALUE > 9 Power_On_Seconds0x0012 001 001 020Old_age > Always FAILING_NOW 44803h+12m+16s You can always run the smart long-test to double check. The FAILING_NOW just indicates that the normalised value falls below the threshold. For Power_On_Seconds, this usually just indicates that your are way pass the warranty. If you really care about your data, swap it out now or make frequent backups. Otherwise I don't see the harm of keeping it until it actually dies. Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, Mar 3, 2010 at 6:26 AM, Stroller wrote: > > On 3 Mar 2010, at 14:00, Mark Knecht wrote: >> >> On Wed, Mar 3, 2010 at 4:24 AM, 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. >> >> ... >> Sorry for your problems. I've had a rash of machine problems over >> the last 6 weeks. No fun. I feel for you. >> >> In my most recent case what looked like a simple disk corruption >> problem was really a prelude to the drive just plain going bad. Have >> you tried smartctl to see what it says about the drive at this point? >> >> It would be even more frustrating to chroot in, do all the work, >> think you had it fixed and then the underlying foundation of your >> house crumbles beneath you 3 weeks from now. > > I don't think this is a problem. I would love to know what others think of > the `smartctl` output: > > > r...@sysresccd /root % smartctl -H /dev/sda > smartctl version 5.38 [i486-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > Please note the following marginal Attributes: > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED > WHEN_FAILED RAW_VALUE > 9 Power_On_Seconds 0x0012 001 001 020 Old_age Always > FAILING_NOW 44803h+12m+16s > > r...@sysresccd /root % smartctl -i /dev/sda > smartctl version 5.38 [i486-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > === START OF INFORMATION SECTION === > Model Family: Fujitsu MPA..MPG series > Device Model: FUJITSU MPF3204AT > Serial Number: 05030567 > Firmware Version: 0028 > User Capacity: 20,496,236,544 bytes > Device is: In smartctl database [for details use: -P show] > ATA Version is: 5 > ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1 > Local Time is: Wed Mar 3 14:14:31 2010 UTC > SMART support is: Available - device has SMART capability. > SMART support is: Enabled > > r...@sysresccd /root % > > > This looks to me like smartctl is going "OMG! What an ancient drive!" - it's > a 20gig EIDE drive and if my pocket calculator is correct (44803/24/365), > it's seen 5 years of active use - and that's the "marginal attribute" > referred to. > > Like I said, the power plug was accidentally pulled on this drive, so I'm > inclined to attribute the corruption only to that, not to the drive actually > failing. > > The drive is in a computer that has rarely been turned off in the last > couple of years, and is also in a warm environment, conditions which are > ideal. I appreciate the latter seems unintuitive, but in fact studies have > showed that drives in somewhat warm environments last longer than those that > are cooled. > > That it passes the "SMART overall-health self-assessment test" suggests to > me that it is chugging away quite happily. > > I would have dismissed your concerns were it not for the capitalised > "FAILING_NOW" in the output. Like I say, I think this is just smartctl > declaring "OMG! this drive is old!", but I open this matter to the list for > discussion (should you wish). > > I think I'm actually nearly ready to migrate off this system. The power was > actually pulled as I installed 3 new (to me) rackmount machines in the > server cupboard - the plan is to have identical machines running RAID, so > that in the case of ANY problems I have spares available. I have take > nightly backups of the important data on this machine, however I'd prefer it > to run just a couple or a few weeks longer to allow me to migrate at my own > leisure. > > Stroller. I've had two machines go bad due to hard drive problems in the last 6 weeks. One drive was 4.5 years old, the other 6 years old. I have no experience with smart. I'm just learning about it. However it is generated by the microcontroller in the hard drive as per the view of the drive manufacturer so if the drive is telling you it's failing then... My 4.5 year failure actually stopped producing smart output somewhere along the way before it failed. The 6 year drive I wasn't using smart at the time so I had no data from it but it was in an environment where the UPS went through a lot of abuse. I sounds like you have good backups so just make sure they are good and do what you want. - Mark
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, Mar 03, 2010 at 01:28:11PM +, Stroller wrote: > >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=..."). If you try to boot, after the failure to check rootfs, it should dump you to a recovery console, what happens if you issue ls /dev ? Also check dmesg? Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On 3 Mar 2010, at 14:00, Mark Knecht wrote: On Wed, Mar 3, 2010 at 4:24 AM, 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. ... Sorry for your problems. I've had a rash of machine problems over the last 6 weeks. No fun. I feel for you. In my most recent case what looked like a simple disk corruption problem was really a prelude to the drive just plain going bad. Have you tried smartctl to see what it says about the drive at this point? It would be even more frustrating to chroot in, do all the work, think you had it fixed and then the underlying foundation of your house crumbles beneath you 3 weeks from now. I don't think this is a problem. I would love to know what others think of the `smartctl` output: r...@sysresccd /root % smartctl -H /dev/sda smartctl version 5.38 [i486-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 9 Power_On_Seconds0x0012 001 001 020Old_age Always FAILING_NOW 44803h+12m+16s r...@sysresccd /root % smartctl -i /dev/sda smartctl version 5.38 [i486-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Fujitsu MPA..MPG series Device Model: FUJITSU MPF3204AT Serial Number:05030567 Firmware Version: 0028 User Capacity:20,496,236,544 bytes Device is:In smartctl database [for details use: -P show] ATA Version is: 5 ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1 Local Time is:Wed Mar 3 14:14:31 2010 UTC SMART support is: Available - device has SMART capability. SMART support is: Enabled r...@sysresccd /root % This looks to me like smartctl is going "OMG! What an ancient drive!" - it's a 20gig EIDE drive and if my pocket calculator is correct (44803/24/365), it's seen 5 years of active use - and that's the "marginal attribute" referred to. Like I said, the power plug was accidentally pulled on this drive, so I'm inclined to attribute the corruption only to that, not to the drive actually failing. The drive is in a computer that has rarely been turned off in the last couple of years, and is also in a warm environment, conditions which are ideal. I appreciate the latter seems unintuitive, but in fact studies have showed that drives in somewhat warm environments last longer than those that are cooled. That it passes the "SMART overall-health self-assessment test" suggests to me that it is chugging away quite happily. I would have dismissed your concerns were it not for the capitalised "FAILING_NOW" in the output. Like I say, I think this is just smartctl declaring "OMG! this drive is old!", but I open this matter to the list for discussion (should you wish). I think I'm actually nearly ready to migrate off this system. The power was actually pulled as I installed 3 new (to me) rackmount machines in the server cupboard - the plan is to have identical machines running RAID, so that in the case of ANY problems I have spares available. I have take nightly backups of the important data on this machine, however I'd prefer it to run just a couple or a few weeks longer to allow me to migrate at my own leisure. Stroller.
Re: [gentoo-user] Internal DAT72 : HP C7438A
Am 03.03.2010 14:47, schrieb Volker Armin Hemmann: > but you do get /dev/sgX devices? Yes. Looks like the four SATA-disks, one cdrom and the tapedrive (recognized as CDROM?): # ls -l /dev/sg? crw-rw 1 root disk 21, 0 3. Mär 2010 /dev/sg0 crw-rw 1 root disk 21, 1 3. Mär 2010 /dev/sg1 crw-rw 1 root disk 21, 2 3. Mär 2010 /dev/sg2 crw-rw 1 root disk 21, 3 3. Mär 2010 /dev/sg3 crw-rw 1 root cdrom 21, 4 3. Mär 2010 /dev/sg4 crw-rw 1 root cdrom 21, 5 3. Mär 2010 /dev/sg5 > You have multiple lun support compiled in? Yes, I do. Additional info (st and usb_storage): # lsmod Module Size Used by st 30200 0 ipv6 195220 16 usbhid 21472 0 usb_storage60096 0 rtc 8472 0 ehci_hcd 29068 0 uhci_hcd 17864 0 sg 23788 0 usbcore 117040 5 usbhid,usb_storage,ehci_hcd,uhci_hcd container 3164 0 processor 24024 0 thermal12920 0 button 5068 0 Thanks, Stefan
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
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
On Wed, Mar 3, 2010 at 4:24 AM, 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. > > However, you will see from this screenshot (taken with an IP KVM) that the > filesystem does indeed seem to have been mounted successfully, if read-only: > > http://linux.stroller.uk.eu.org/fs-corruption.png > > All I did here was log in with the root password. > > > When I boot with a live CD I can mount, read & write the filesystem: > > r...@sysresccd /root % mount -v -L root /mnt/gentoo > mount: you didn't specify a filesystem type for /dev/sda3 > I will try type reiserfs > /dev/sda3 on /mnt/gentoo type reiserfs (rw) > r...@sysresccd /root % ls /mnt/gentoo > bin boot dev etc home lib mnt opt proc root sbin sys tmp usr > var > r...@sysresccd /root % touch /mnt/gentoo/foo > r...@sysresccd /root % echo foobar >> /mnt/gentoo/foo > r...@sysresccd /root % ls -lh !!:$ > ls -lh /mnt/gentoo/foo > -rw-r--r-- 1 root root 7 2010-03-03 11:18 /mnt/gentoo/foo > r...@sysresccd /root % cat !!:$ > cat /mnt/gentoo/foo > foobar > r...@sysresccd /root % rm !!:$ > rm /mnt/gentoo/foo > rm: remove regular file `/mnt/gentoo/foo'? y > r...@sysresccd /root % > > All the important system stuff on this PC is on a single partition. I have > two other drives attached at /mnt/space & /mnt/morespace - they are XFS and > I have run xfs_repair on both of them, which completes quickly indicating no > problems. > > I'm not really sure how to proceed next. I feel the problem is indeed on > this reiserfs filesystem, the root filesystem with the label "root". I can't > help thinking that the problem is not that the system "failed to open the > device", but instead maybe that there's an important system file missing > that means the init script (or whatever responsible for mounting the > fiesystem) is not properly returning 0. Does this seem possible? Maybe the > reiserfs handler for mount is somehow broken (performing the mount, but not > returning 0, or perhaps broken in such as was it is able to mount read-only > but not read-write). > > I am tempted to chroot into the system and re-emerge system & baselayout. If > I'm correct in this above guess then re-emerging the correct file will fix > the problem. Right? > > `reiserfsck --help` shows some other options besides the simple > --fix-fixable - I assume the "expert option" of --scan-whole-partition is > unsafe, but what about the --rebuild-sb or --rebuild-tree? Can I safely run > these? Am I advised to run these? > > Stroller. Hi Stroller, Sorry for your problems. I've had a rash of machine problems over the last 6 weeks. No fun. I feel for you. In my most recent case what looked like a simple disk corruption problem was really a prelude to the drive just plain going bad. Have you tried smartctl to see what it says about the drive at this point? It would be even more frustrating to chroot in, do all the work, think you had it fixed and then the underlying foundation of your house crumbles beneath you 3 weeks from now. Good luck, Mark
Re: [gentoo-user] Internal DAT72 : HP C7438A
On Mittwoch 03 März 2010, Stefan G. Weichinger wrote: > Am 03.03.2010 14:07, schrieb Stefan G. Weichinger: > > Does anyone know what I need to do to correctly adress such a drive? > > > > I have the modules "usb_storage" and "st" loaded but I don't get any > > /dev/(n)stX ... > but you do get /dev/sgX devices? You have multiple lun support compiled in?
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
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. Stroller.
Re: [gentoo-user] do we have a write-redirect snapshot system on linux?
On Wed, Mar 3, 2010 at 4:57 PM, Helmut Jarausch wrote: > If I remember right, this can be achieved with aufs2 . > > Helmut. > it is a file system with branching feature. the behavior should looks like snapshot, but it is on file system level. i am trying to look up on on the block device level, like the lvm2. anyway, i will give a try. thanks -- Best Regards, David Shen http://twitter.com/davidshen84/
Re: [gentoo-user] Internal DAT72 : HP C7438A
Am 03.03.2010 14:07, schrieb Stefan G. Weichinger: > > Does anyone know what I need to do to correctly adress such a drive? > > I have the modules "usb_storage" and "st" loaded but I don't get any > /dev/(n)stX ... Forgot to mention: it is connected via USB ... internally ... I see it via # lsusb -v -d 03f0:0125 Bus 008 Device 003: ID 03f0:0125 Hewlett-Packard Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x03f0 Hewlett-Packard idProduct 0x0125 bcdDevice 30.30 iManufacturer 1 Hewlett Packard iProduct2 DAT72 USB Tape iSerial 3 485531095336544D bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 5 High Speed bmAttributes 0x80 (Bus Powered) MaxPower2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 6 SCSI Over USB Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 bNumConfigurations 1 Device Status: 0x (Bus Powered)
[gentoo-user] Internal DAT72 : HP C7438A
Does anyone know what I need to do to correctly adress such a drive? I have the modules "usb_storage" and "st" loaded but I don't get any /dev/(n)stX ... Kernel 2.6.31-gentoo-r10 ... hmm Do I have to add my own udev-rules ?? Thanks for any pointers, Stefan
Re: [gentoo-user] How to update (only) all installed KDE packages
Helmut Jarausch writes: > Hi, > > I'd like to upgrade all my installed package from, say, kde-base/* . > emerge -u kde-base/kde-meta doesn't work unfortunately. > > Is there something easier than Try emerge -u $(qlist -IC kde-base/)
Re: [gentoo-user] Pending layman directory "relocation"
On Wednesday 03 March 2010 14:21:23 Neil Bothwick wrote: > On Wed, 3 Mar 2010 11:10:21 +, Stroller wrote: > > But the different Unix directories are supposed to have different > > general purposes. I don't remember the details of that off the top of > > my head, but putting something in "/var" ought to indicate that it is > > somewhat different in nature &/or purpose to something in "/usr". The > > main Portage tree & a layman overlay are not so fundamentally > > different, IMO. > > That's right, they should both be in /var. I concur. /usr has a long tradition is Unix of often being mounted read-only (think thin clients that mount it over NFS). My set up is: portage:/var/portage/ my overlay: /var/portage/local/alan/ layman: /var/portage/local/layman/* As portage is hard-coded to not fiddle with $PORTDIR/local/, this works well for me and every ebuild on the system is under one mount point. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
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? Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Re: [OT] NoSQL?
On 2 Mar 2010, at 17:07, walt wrote: On 03/02/2010 04:23 AM, Arttu V. wrote: On 3/2/10, walt wrote: This article was a big surprise to me. Am I the last one to hear about this stuff? http://news.cnet.com/8301-13505_3-10461670-16.html?part=rss&subj=news&tag=2547-1_3-0-20 If you're expecting a discussion then perhaps you'd care to narrow it down a bit: which part of the article are we expected to feel surprised about? I was surprised that three major social networking sites have dumped MySQL (but now the article says only two sites). I've also not heard of the "NoSQL" movement before, and I'm curious to know what's motivating it. Maybe nobody trusts Oracle? I read the other day that Facebook have NOT dropped MySQL - they remain committed to it - but that they use NoSQL technologies for some of their queries as it is more scalable. This seems to concur with an update to the article, which not everyone may have seen. Unless they are using closed-source modules to MySQL (do these exist?) the Oracle situation probably would not worry such large companies are Facebook & Twatter. They are big enough to support OSS MySQL on their own. Stroller.
Re: [gentoo-user] Advice/best practices for a new Gentoo installation
On Wed, 3 Mar 2010 12:52:55 +0100, Alex Schuster wrote: > > The data I've seen indicates that ext2 is fastest, that's what I > > use. > > I thought the small files of the portage tree especially profit from > the notail option in reiserfs? They benefit compared with using reiser with tail-packing. > Did you change the block size? I had to change both the block size and blocks per inode, otherwise I would run out of inodes on a 1GB filesystem. You have to admire the user-friendliness of ext! > > 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. > > Would the journaling overhead be noticeable? > I also had used ext2 for my portage tree first, then I read somewhere > that reiserfs would be the best. BTW, I have distfiles and pkgdir > somewhere else, if not the fsck would not be so fast. It's certainly noticeable compared with ext3. Many benchmarks do show ext2 to be the fastest filesystem, probably because of the lack of journalling overhead. Like you, I have $DISTDIR and $PKGDIR elsewhere, those files really should not be mixed in with the portage tree. > Just for fun, I just copied my $PORTDIR into my tmpfs, emerge -DpN > @system @world takes between 81 and 53 seconds. With reiserfs, I get > 130 seconds first ($PORTDIR was unmounted first and mounted again to > clear the caches), and 57 seconds in the second attempt. > > I had expected that tmpfs would be even faster. I think I just keep it > the way it is now. The exact same thought occurred to me. With a local tree to sync from, tmpfs seemed a good choice (you could sync it from /etc/conf.d/local) but it seems like it is not worth bothering with. I'll try a reiser3 filesystem without tail packing to see if it beats ext2. -- Neil Bothwick Those who live by the sword get shot by those who don't. signature.asc Description: PGP signature
Re: [gentoo-user] Advice/best practices for a new Gentoo installation
On Wed, Mar 03, 2010 at 12:52:55PM +0100, Alex Schuster wrote: > Neil Bothwick writes: > > > 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. > > I thought the small files of the portage tree especially profit from the > notail option in reiserfs? Did you change the block size? You mean the other way around, right? reiser defaults to tail-packing, which can cause problems with GRUB and LILO, which is why notail is an option which turns off tail-packing for those crazy enough to use reiser on /boot. If you use notail on the portage tree, you get rid of that advantage, then Neil is absolutely correct: there's not too much point in journaling the portage tree, and if you actively make reiser not-competitive on the storage-space direction, the only metric left to compare is speed, and ext2 is faster. Incidentally, if you are willing to sacrifice speed for space, then a sparsefile for /usr/portage may also be an option. W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
[gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("
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. However, you will see from this screenshot (taken with an IP KVM) that the filesystem does indeed seem to have been mounted successfully, if read-only: http://linux.stroller.uk.eu.org/fs-corruption.png All I did here was log in with the root password. When I boot with a live CD I can mount, read & write the filesystem: r...@sysresccd /root % mount -v -L root /mnt/gentoo mount: you didn't specify a filesystem type for /dev/sda3 I will try type reiserfs /dev/sda3 on /mnt/gentoo type reiserfs (rw) r...@sysresccd /root % ls /mnt/gentoo bin boot dev etc home lib mnt opt proc root sbin sys tmp usr var r...@sysresccd /root % touch /mnt/gentoo/foo r...@sysresccd /root % echo foobar >> /mnt/gentoo/foo r...@sysresccd /root % ls -lh !!:$ ls -lh /mnt/gentoo/foo -rw-r--r-- 1 root root 7 2010-03-03 11:18 /mnt/gentoo/foo r...@sysresccd /root % cat !!:$ cat /mnt/gentoo/foo foobar r...@sysresccd /root % rm !!:$ rm /mnt/gentoo/foo rm: remove regular file `/mnt/gentoo/foo'? y r...@sysresccd /root % All the important system stuff on this PC is on a single partition. I have two other drives attached at /mnt/space & /mnt/morespace - they are XFS and I have run xfs_repair on both of them, which completes quickly indicating no problems. I'm not really sure how to proceed next. I feel the problem is indeed on this reiserfs filesystem, the root filesystem with the label "root". I can't help thinking that the problem is not that the system "failed to open the device", but instead maybe that there's an important system file missing that means the init script (or whatever responsible for mounting the fiesystem) is not properly returning 0. Does this seem possible? Maybe the reiserfs handler for mount is somehow broken (performing the mount, but not returning 0, or perhaps broken in such as was it is able to mount read-only but not read-write). I am tempted to chroot into the system and re-emerge system & baselayout. If I'm correct in this above guess then re-emerging the correct file will fix the problem. Right? `reiserfsck --help` shows some other options besides the simple --fix- fixable - I assume the "expert option" of --scan-whole-partition is unsafe, but what about the --rebuild-sb or --rebuild-tree? Can I safely run these? Am I advised to run these? Stroller.
Re: [gentoo-user] Pending layman directory "relocation"
On Wed, 3 Mar 2010 11:10:21 +, Stroller wrote: > But the different Unix directories are supposed to have different > general purposes. I don't remember the details of that off the top of > my head, but putting something in "/var" ought to indicate that it is > somewhat different in nature &/or purpose to something in "/usr". The > main Portage tree & a layman overlay are not so fundamentally > different, IMO. That's right, they should both be in /var. -- Neil Bothwick There's too much blood in my caffeine system. signature.asc Description: PGP signature
Re: [gentoo-user] Advice/best practices for a new Gentoo installation
Neil Bothwick writes: > 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. I thought the small files of the portage tree especially profit from the notail option in reiserfs? Did you change the block size? > 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. Would the journaling overhead be noticeable? I also had used ext2 for my portage tree first, then I read somewhere that reiserfs would be the best. BTW, I have distfiles and pkgdir somewhere else, if not the fsck would not be so fast. Just for fun, I just copied my $PORTDIR into my tmpfs, emerge -DpN @system @world takes between 81 and 53 seconds. With reiserfs, I get 130 seconds first ($PORTDIR was unmounted first and mounted again to clear the caches), and 57 seconds in the second attempt. I had expected that tmpfs would be even faster. I think I just keep it the way it is now. Wonko
Re: [gentoo-user] KDE? Get me out of here!
Alan McKinnon writes: > On Monday 01 March 2010 18:08:05 Alex Schuster wrote: > > On the other hand, from time to time I have show-stoppers, and then I > > cannot use kmail, or no KDE4 at all. And have to invest time to solve > > this. And there are these annoying things. Like Amarok being very > > unstable, and taking 5 minutes to start. What the heck is it doing in > > this time? > > Fuck knows what amarok-2x does for the first 5 minutes. I *think* On my > system it scans the music directory, presumably to find updates that > happened when amarok was not running. Fair enough, can't argue that, > but why is it so *slow*??? Yes, it scans the collection, I just verified that by removing a folder from my collection. Start-up takes 7 minutes, I guess this also slows down my KDE4 start-up even further (strigi also scans some stuff for about a minute, along this music files I did not touch in any way). So when I save my KDE session I have to remember to quit amarok before that. Of course, I also have to remember to start amarok some time after I logged in, so I can play music when I want without having to wait 7 minutes first. This does not feel right... BTW, a find /data/mp3 -type d takes about a minute. Checking the date of the directories to verify they did not alter since the last scan should not take that much longer. Ah, I see the problem. It mainly scans /data/mp3/incoming, a directory I have NOT selected as collection folder (but most other directories in /data/mp3 are selected). Still, those files do not show up in my collection, which is fine - some time ago amarok did index all in /data/mp3, even if a directory was not selected. > Fuck also knows what the amarok devs are doing in general. I still > can't find a way to move stuff to an mp3 player like the old 1.4 > version did. And the library thingamagij still doesn't always update > tags, or put tag changes that it itself did into it's own database. It > gladly accepts any changes you make in the Edit Tags dialog, and tries > to write them, even if it knows it cannot do it (no support for that > format, permissions, etc). Then, no warning or message about this. Ah, this looks familiar, I ran into this, too. > Depending on which bleeding edge latest-svn commit build you happen to > get on any given day, this last might or might not tell you something > in the status bar. I'm always using the newest version that is not hard-masked. with every new version, some things get better, but others get worse. This delays and startup times are new to me, but on the other hand I did not get any file corruption for a long time. I do not like the new toolbar though. Where are the stop, forward and back buttons? And for the volume control I have to move the mouse in a circle around it... or use the scroll wheel, okay. Nah, I liked it better the way it was before. > For all the above reasons, and more, I have switched to clementine > (it's in portage). It's a Qt port of amarok-1.4 and has equivalents of > all the music- playing goodness that amarok used to have. It doesn't > do tags, external players, wikipedia etc etc, it just plays music. And > you have to tag your music by other means with eg kid3. I can live > with that. At least it starts and stays up. Nice! But not for me. I like the wikipedia stuff. And tagging, now that it seems to work. And what amarok is supposed to become. Yes, I like it much better than the old amarok, it's just that things do not already work fine. So I will keep suffering, until some day amarok will not do all the annoying stuff it currently does. The day will come! Hopefully long before they start coding amarok-3 and all gets worse again. I'll just have to wait. And wait. Thanks anyway for the tip, at least I can use clementine when I see that amarok is not running yet and did not do its 7 minutes of scanning already. Wonko
Re: [gentoo-user] Pending layman directory "relocation"
On 2 Mar 2010, at 15:51, Peter Humphrey wrote: ... I'm happy with the new default arrangement: mainstream packages under /usr/portage; layman overlays under /var/lib/layman; and my own variations under /usr/local/portage. Nice clean boundaries. Not that I really care, but I find this layout somewhat illogical. It makes perfect sense to me that /usr/local/portage should be the local version of /usr/portage But the different Unix directories are supposed to have different general purposes. I don't remember the details of that off the top of my head, but putting something in "/var" ought to indicate that it is somewhat different in nature &/or purpose to something in "/usr". The main Portage tree & a layman overlay are not so fundamentally different, IMO. Stroller.
Re: [gentoo-user] How to update (only) all installed KDE packages
On Mittwoch 03 März 2010, Helmut Jarausch wrote: > On 3 Mar, Volker Armin Hemmann wrote: > > On Mittwoch 03 März 2010, Helmut Jarausch wrote: > >> Hi, > >> > >> I'd like to upgrade all my installed package from, say, kde-base/* . > >> emerge -u kde-base/kde-meta doesn't work unfortunately. > >> > >> Is there something easier than > >> eix --only-names -I 'kde-base/*' | xargs emerge -uv1 -j4 --keep-going > >> > >> Many thanks for a hint, > >> Helmut. > > > > emerge -u @kde > > > > if you have used sets and a recent portage version this should work > > nicely. > > Thanks, I had hoped that, but where is the set '@kde' > > I have portage-2.2_63 but > emerge --list-sets > only reports > > downgrade > installed > live-rebuild > module-rebuild > preserved-rebuild > rebuilt-binaries > security > selected > system > unavailable > world > > > Helmut. hm, mine is a bit bigger... kde kde-4.3 kde-4.4 kde-4.5 kde-extras-live kde-live kdeaccessibility kdeaccessibility-4.3 kdeaccessibility-4.4 kdeaccessibility-4.5 kdeaccessibility-live kdeadmin kdeadmin-4.3 kdeadmin-4.4 kdeadmin-4.5 kdeadmin-live kdeartwork kdeartwork-4.3 kdeartwork-4.4 kdeartwork-4.5 kdeartwork-live kdebase kdebase-4.3 kdebase-4.4 kdebase-4.5 kdebase-live kdebindings kdebindings-4.3 kdebindings-4.4 kdebindings-4.5 kdebindings-live kdedeps-4.4 kdedeps-4.5 kdedeps-live kdeedu kdeedu-4.3 kdeedu-4.4 kdeedu-4.5 kdeedu-live kdegames kdegames-4.3 kdegames-4.4 kdegames-4.5 kdegames-live kdegraphics kdegraphics-4.3 kdegraphics-4.4 kdegraphics-4.5 kdegraphics-live kdelibs kdelibs-4.3 kdelibs-4.4 kdelibs-4.5 kdelibs-live kdemultimedia kdemultimedia-4.3 kdemultimedia-4.4 kdemultimedia-4.5 kdemultimedia-live kdenetwork kdenetwork-4.3 kdenetwork-4.4 kdenetwork-4.5 kdenetwork-live kdeoptional kdeoptional-4.3 kdeoptional-4.4 kdeoptional-4.5 kdeoptional-live kdepim kdepim-4.3 kdepim-4.4 kdepim-4.5 kdepim-live kdesdk kdesdk-4.3 kdesdk-4.4 kdesdk-4.5 kdesdk-live kdetoys kdetoys-4.3 kdetoys-4.4 kdetoys-4.5 kdetoys-live kdeutils kdeutils-4.3 kdeutils-4.4 kdeutils-4.5 kdeutils-live kdewebdev kdewebdev-4.3 kdewebdev-4.4 kdewebdev-4.5 kdewebdev-live koffice koffice-2 koffice-live live-rebuild maemo6 module-rebuild plasmoids plasmoids-live preserved-rebuild qt qt-all-4.5 qt-all-4.5-live-kde qt-all-4.5-live-nokia qt-all-4.6 qt-all-4.6-live-kde qt-all-4.6-live-nokia qt-all-live-kde qt-all-live-nokia qt-extras-live rebuilt-binaries security selected system unavailable world because of the KDE overlay (and qt and X) but you could create your own set in /etc/portage/sets or you could unpack that tarball I send you off list in /etc/portage/sets
Re: [gentoo-user] do we have a write-redirect snapshot system on linux?
On 3 Mar, Xi Shen wrote: > hi, > > both lvm2 and zfs are copy-on-write snapshot system. do we have a > write-redirect snapshot system on linux? > If I remember right, this can be achieved with aufs2 . Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] How to update (only) all installed KDE packages
On 3 Mar, Volker Armin Hemmann wrote: > On Mittwoch 03 März 2010, Helmut Jarausch wrote: >> Hi, >> >> I'd like to upgrade all my installed package from, say, kde-base/* . >> emerge -u kde-base/kde-meta doesn't work unfortunately. >> >> Is there something easier than >> eix --only-names -I 'kde-base/*' | xargs emerge -uv1 -j4 --keep-going >> >> Many thanks for a hint, >> Helmut. > > emerge -u @kde > > if you have used sets and a recent portage version this should work nicely. Thanks, I had hoped that, but where is the set '@kde' I have portage-2.2_63 but emerge --list-sets only reports downgrade installed live-rebuild module-rebuild preserved-rebuild rebuilt-binaries security selected system unavailable world Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] How to update (only) all installed KDE packages
On Mittwoch 03 März 2010, Helmut Jarausch wrote: > Hi, > > I'd like to upgrade all my installed package from, say, kde-base/* . > emerge -u kde-base/kde-meta doesn't work unfortunately. > > Is there something easier than > eix --only-names -I 'kde-base/*' | xargs emerge -uv1 -j4 --keep-going > > Many thanks for a hint, > Helmut. emerge -u @kde if you have used sets and a recent portage version this should work nicely.
[gentoo-user] How to update (only) all installed KDE packages
Hi, I'd like to upgrade all my installed package from, say, kde-base/* . emerge -u kde-base/kde-meta doesn't work unfortunately. Is there something easier than eix --only-names -I 'kde-base/*' | xargs emerge -uv1 -j4 --keep-going Many thanks for a hint, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany