Re: [gentoo-user] pear hangs no FUTEX_WAIT
* [EMAIL PROTECTED] [EMAIL PROTECTED] 20. May 08: Even the simple pear command from the command line hangs, strace show that it hangs at futex(0x2ac88d5093a0, FUTEX_WAIT, 2, NULL I had this problem with rpm waiting for a lock in its DB. This futex() call waits forever, that at memory address 0x2ac88d5093a0 appears a 2. Try to figure out what's mapped on 0x2ac88d5093a0 and what could write a 2 to it but doesn't. It should also appear somewhere in the strace. Maybe this gives a clue what it is waiting for. HTH. Kind regards, Frank. -- Sigmentation fault -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
On Wed, 21 May 2008 07:53:52 +0200, Dirk Heinrichs wrote: I believe that when I upgrade grub I am supposed to re-run it. Only if you want to upgrade your MBR too. If you don't, the stage1 in your MBR may not work with the stage1.5 and stage2 in /boot. This happened with a recent GRUB update. -- Neil Bothwick DANGER! DANGER! Computer store ahead...hide wallet. signature.asc Description: PGP signature
Re: [gentoo-user] Re: OT: Linux/Standards-friendly mobile phone
On Mon, 19 May 2008 20:51:47 + (UTC), Grant Edwards wrote: If you mean the former, then anything that's supported by BitPIM or gnokii is Linux/OSS friendly: As is any phone running PalmOS. -- Neil Bothwick A bug in the hand is better than one as yet undetected. signature.asc Description: PGP signature
Re: [gentoo-user] is grub in my mbr?
Am Mittwoch, 21. Mai 2008 schrieb ext Neil Bothwick: On Wed, 21 May 2008 07:53:52 +0200, Dirk Heinrichs wrote: I believe that when I upgrade grub I am supposed to re-run it. Only if you want to upgrade your MBR too. If you don't, the stage1 in your MBR may not work with the stage1.5 and stage2 in /boot. This happened with a recent GRUB update. Not to me. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] is grub in my mbr?
On Wed, 21 May 2008 10:53:28 +0200, Dirk Heinrichs wrote: If you don't, the stage1 in your MBR may not work with the stage1.5 and stage2 in /boot. This happened with a recent GRUB update. Not to me. Aha, the old works for me defence :) It came up on this list very recently, where someone had to use a live CD to fix GRUB after ignoring/missing the elog warnings. WARN: postinst *** IMPORTANT NOTE: you must run grub and install the new version's stage1 to your MBR. Until you do, stage1 and stage2 will still be the old version, but later stages will be the new version, which could cause problems such as an unbootable system. -- Neil Bothwick Everything's back to normal. Damn. signature.asc Description: PGP signature
Re: [gentoo-user] $LINGUAS question
On Monday 19 May 2008, Michał 'shpaq' Laszuk wrote: Dnia 2008-05-18, nie o godzinie 23:02 +0100, Graham Murray pisze: Michał 'shpaq' Laszuk [EMAIL PROTECTED] writes: The LINGUAS variable should be only en. en_US is a localization. In that case why do packages such as mozilla-firefox support (amongst others) linguas_en, linguas_en_GB and linguas_en_US? They use the LINGUAS variable to select which localised language packs to install. So 'LINGUAS=en_US en' is perfectly valid. You're right. My fault. Mine has been set to LINGUAS=en_GB el for many years now, but mplayer still shows up with scrambled characters on the terminal (aterm/rxvt). However, when rebuilt like: LINGUAS=en_US emerge -DV mplayer no more scrambled messages! This tells me that mplayer's translations are partial to the particular LINGUAS flags and probably affected by what character sets your terminal can show. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] is grub in my mbr?
Am Mittwoch, 21. Mai 2008 schrieb ext Neil Bothwick: On Wed, 21 May 2008 10:53:28 +0200, Dirk Heinrichs wrote: If you don't, the stage1 in your MBR may not work with the stage1.5 and stage2 in /boot. This happened with a recent GRUB update. Not to me. Aha, the old works for me defence :) No, it's the couldn't happen to me because my /boot is mounted ro defense. BTW: One doesn't really need to keep grub installed after writing the MBR. Just unmerge it and your /boot and/or MBR are save. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Limiting portage sync
On Tue, 20 May 2008 02:09:26 +0100, Matt Harrison wrote: I was just wondering, while watching an emerge --sync, is it possible (or advisable) to limit what portage syncs? For example, I have a server here that doesn't use X, kde, gnome, java, and a number of other fairly large areas of portage. It would be nice if I could speed up syncing by excluding these categories from the process. It is possible, by setting PORTAGE_RSYNC_EXTRA_OPTS in make.conf to add --exclude options to mask out the directories you don't want. As for being advisable, it depends on whether you are prepared to risk and breakage this may incur, but unless you do anything silly, you should be able to fix any damage by undoing the change and syncing again. -- Neil Bothwick If your VCR still flashes 12:00 - then Linux is not for you. signature.asc Description: PGP signature
Re: [gentoo-user] Are some-cvs items synced with actual cvs often?
On Tue, 20 May 2008 09:37:47 -0500, [EMAIL PROTECTED] wrote: AFter running `emerge --sync' I see that emacs-cvs still shows emacs-23.0.. And no update needed When I run emacs command M-x version it shows emacs-23.0.60 I think there have been changes in the head of emacs-23 cvs. So how do I determine if I'm running the latest cvs? Check the version of the running Emacs against the latest on the CVS server. If it differs, emerge it again. CVS ebuilds don't have a specific version, that would mean creating a new ebuild each time the CVS was updated, instead they use the latest available from CVS at the time you run it. -- Neil Bothwick Multitasking: Reading in the bathroom. signature.asc Description: PGP signature
Re: [gentoo-user] is grub in my mbr?
At Wed, 21 May 2008 11:42:37 +0200 Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Mittwoch, 21. Mai 2008 schrieb ext Neil Bothwick: On Wed, 21 May 2008 10:53:28 +0200, Dirk Heinrichs wrote: If you don't, the stage1 in your MBR may not work with the stage1.5 and stage2 in /boot. This happened with a recent GRUB update. Not to me. Aha, the old works for me defence :) No, it's the couldn't happen to me because my /boot is mounted ro defense. BTW: One doesn't really need to keep grub installed after writing the MBR. Just unmerge it and your /boot and/or MBR are save. This discussion is interesting and may well prove helpful. But, unless I missed it, I didn't see an answer to my question, namely Am I correct in believing that seeing `GRUB' within the first 512 bytes of /dev/sda (I have a one-hard-disk laptop) confirms my memory that I did install grub in the mbr (as opposed to the boot block of the active partition). thanks, allan -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] $LINGUAS question
On Wed, May 21, 2008 at 10:26:58AM +0100, Mick wrote: Mine has been set to LINGUAS=en_GB el for many years now, but mplayer still shows up with scrambled characters on the terminal (aterm/rxvt). However, when rebuilt like: LINGUAS=en_US emerge -DV mplayer no more scrambled messages! This tells me that mplayer's translations are partial to the particular LINGUAS flags and probably affected by what character sets your terminal can show. I have also found that when LINGUAS is set to multiple values, emerge -pv sorts them when it shwos what it would do: # LINGUAS=en_US en_GB en emerge -pv --nospinner mozilla-firefox-bin These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] www-client/mozilla-firefox-bin-3.0_rc1 [3.0_beta5-r1] USE=-restrict-javascript LINGUAS=en en_GB en_US 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Whether or not this reported order is what it actually uses, I don't know and don't know how to find out. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
Am Mittwoch, 21. Mai 2008 schrieb ext Allan Gottlieb: This discussion is interesting and may well prove helpful. But, unless I missed it, I didn't see an answer to my question, namely Although it was a little bit ironic, I gave it in my first reply. Am I correct in believing that seeing `GRUB' within the first 512 bytes of /dev/sda (I have a one-hard-disk laptop) confirms my memory that I did install grub in the mbr (as opposed to the boot block of the active partition). Yes. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] is grub in my mbr?
At Wed, 21 May 2008 15:31:23 +0200 Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Mittwoch, 21. Mai 2008 schrieb ext Allan Gottlieb: This discussion is interesting and may well prove helpful. But, unless I missed it, I didn't see an answer to my question, namely Although it was a little bit ironic, I gave it in my first reply. Thanks. I thought so, but feared that my question might have been poorly written and suggested that I wanted to know which loader I had rather that where it was installed. Thanks again. allan -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
On Wed, May 21, 2008 at 7:08 AM, Allan Gottlieb [EMAIL PROTECTED] wrote: At Wed, 21 May 2008 15:31:23 +0200 Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Mittwoch, 21. Mai 2008 schrieb ext Allan Gottlieb: This discussion is interesting and may well prove helpful. But, unless I missed it, I didn't see an answer to my question, namely Although it was a little bit ironic, I gave it in my first reply. Thanks. I thought so, but feared that my question might have been poorly written and suggested that I wanted to know which loader I had rather that where it was installed. Thanks again. allan I think this answer would be good to have on a Gentoo grub Wiki somewhere. (If it isn't already.) There have been times I've wondered the same thing and didn't know how to extract the data out fo the MBR the way you did. It would also be good to add a second example of how to get it out of a partition instead of the MBR in case grub is installed there. Anyway, great info. Thanks! Cheers, Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] $LINGUAS question
On Wednesday 21 May 2008, [EMAIL PROTECTED] wrote: On Wed, May 21, 2008 at 10:26:58AM +0100, Mick wrote: Mine has been set to LINGUAS=en_GB el for many years now, but mplayer still shows up with scrambled characters on the terminal (aterm/rxvt). However, when rebuilt like: LINGUAS=en_US emerge -DV mplayer no more scrambled messages! This tells me that mplayer's translations are partial to the particular LINGUAS flags and probably affected by what character sets your terminal can show. I have also found that when LINGUAS is set to multiple values, emerge -pv sorts them when it shwos what it would do: # LINGUAS=en_US en_GB en emerge -pv --nospinner mozilla-firefox-bin These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] www-client/mozilla-firefox-bin-3.0_rc1 [3.0_beta5-r1] USE=-restrict-javascript LINGUAS=en en_GB en_US 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Whether or not this reported order is what it actually uses, I don't know and don't know how to find out. Does it matter in which order languages are emerged? Uwe -- Ignorance killed the cat, sir, curiosity was framed! -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
At Wed, 21 May 2008 07:12:32 -0700 Mark Knecht [EMAIL PROTECTED] wrote: I think this answer would be good to have on a Gentoo grub Wiki somewhere. (If it isn't already.) There have been times I've wondered the same thing and didn't know how to extract the data out fo the MBR the way you did. It would also be good to add a second example of how to get it out of a partition instead of the MBR in case grub is installed there. Here is how to do it for a partition, in my case /dev/sda2 is the active partition and it is a windows partition (remember that in grub this would be (hd0,1), not sd and not 2). Note that if `GRUB' is in the boot block of a partition it does not mean it is not in the mbr. However, there is no ambiguity when you check the mbr itself since whatever is there counts. ajglap ~ # dd if=/dev/sda2 ibs=512 count=1 | od -c --address-radix=d 1+0 records in 1+0 records out 512 bytes (512 B) copied000 353 R 220 N T F S \0 002 \b \0 \0 , 0.0234332 s, 21.8 kB/s 016 \0 \0 \0 \0 \0 370 \0 \0 ? \0 377 \0 \0 200 001 \0 032 \0 \0 \0 \0 200 \0 200 \0 377 237 337 001 \0 \0 \0 \0 048 \0 \0 \f \0 \0 \0 \0 \0 377 371 035 \0 \0 \0 \0 \0 064 366 \0 \0 \0 001 \0 \0 \0 \a C 326 216 r 326 216 236 080 \0 \0 \0 \0 372 3 300 216 320 274 \0 | 373 h 300 \a 096 037 036 h f \0 313 210 026 016 \0 f 201003 \0 N 112 T F S u 025 264 A 273 252 U 315 023 r \f 201 373 128 U 252 u 006 367 301 001 \0 u 003 351 322 \0 036 203 354 144 030 h 032 \0 264 H 212 026 016 \0 213 364 026 037 315 023 160 237 203 304 030 236 X 037 r 341 ; 006 \v \0 u 333 243 176 017 \0 301 . 017 \0 004 036 Z 3 333 271 \0 + 310 192 f 377 006 021 \0 003 026 017 \0 216 302 377 006 026 \0 350 208 @ \0 + 310 w 357 270 \0 273 315 032 f # 300 u - 224 f 201 373 T C P A u $ 201 371 002 001 r 036 026 240 h \a 273 026 h p 016 026 h \t \0 f S f S f 256 U 026 026 026 h 270 001 f a 016 \a 315 032 351 j 001 272 220 220 f ` 036 006 f 241 021 \0 f 003 006 034 \0 036 288 f h \0 \0 \0 \0 f P 006 S h 001 \0 h 020 \0 304 264 B 212 026 016 \0 026 037 213 364 315 023 f Y [ Z 320 f Y f Y 037 017 202 026 \0 f 377 006 021 \0 003 026 336 017 \0 216 302 377 016 026 \0 u 274 \a 037 f a 303 240 352 370 001 350 \b \0 240 373 001 350 002 \0 353 376 264 001 213 368 360 254 \0 t \t 264 016 273 \a \0 315 020 353 362 303 384 \r \n A d i s k r e a d e r 400 r o r o c c u r r e d \0 \r \n B 416 O O T M G R i s m i s s i n 432 g \0 \r \n B O O T M G R i s c 448 o m p r e s s e d \0 \r \n P r e s 464 s C t r l + A l t + D e l t 480 o r e s t a r t \r \n \0 \0 \0 \0 \0 496 \0 \0 \0 \0 \0 \0 \0 \0 200 235 262 312 \0 \0 U 252 512 ajglap ~ # Anyway, great info. Thanks! You are welcome and thanks again to alan mckinnon for confirming my guess. allan (gottlieb) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
On Wed, 21 May 2008 11:00:50 -0400, Allan Gottlieb wrote: ajglap ~ # dd if=/dev/sda2 ibs=512 count=1 | od -c --address-radix=d dd if=/dev/sda bs=446 count=1 2/dev/null | strings | grep GRUB Is clearer, add a partition number to check a partition. -- Neil Bothwick The trouble with the world is that everybody in it is three drinks behind. signature.asc Description: PGP signature
Re: [gentoo-user] is grub in my mbr?
On Wednesday 21 May 2008, Mark Knecht wrote: I think this answer would be good to have on a Gentoo grub Wiki somewhere. (If it isn't already.) There have been times I've wondered the same thing and didn't know how to extract the data out fo the MBR the way you did. It would also be good to add a second example of how to get it out of a partition instead of the MBR in case grub is installed there. I skipped over most of this thread, I now wished I hadn't :-) Not having the previous posts handy, this might already have been answered, but I'll go ahead anyway. The way I normally do the extraction is very simple: from mbr: dd if=/dev/sda of=/dev/pts/0 bs=512 count=1 from disk partition: dd if=/dev/sda1 of=/dev/pts/0 bs=512 count=1 Change the of= appropriately, of course -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
On Wed, May 21, 2008 at 8:31 AM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 21 May 2008 11:00:50 -0400, Allan Gottlieb wrote: ajglap ~ # dd if=/dev/sda2 ibs=512 count=1 | od -c --address-radix=d dd if=/dev/sda bs=446 count=1 2/dev/null | strings | grep GRUB Is clearer, add a partition number to check a partition. -- Neil Bothwick Neil, That single command would have saved me some heartache in the past. I think it could be a good one-line addition to even something like the Quick Install guide - I.e. If you want to sanity check your grub installation then run this command to ensure grub is located where you think it's located... Great info. thanks! Cheers, Mark -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: pear hangs no FUTEX_WAIT
On Wednesday 21 May 2008, Frank Gruellich wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] 20. May 08: Even the simple pear command from the command line hangs, strace show that it hangs at futex(0x2ac88d5093a0, FUTEX_WAIT, 2, NULL I had this problem with rpm waiting for a lock in its DB. This futex() call waits forever, that at memory address 0x2ac88d5093a0 appears a 2. Try to figure out what's mapped on 0x2ac88d5093a0 and what could write a 2 to it but doesn't. It should also appear somewhere in the strace. Maybe this gives a clue what it is waiting for. HTH. Kind regards, Frank. -- Sigmentation fault I can try tomorrow morning... Never thought to see what's in the address, it could give me a clue. I was able to install PEAR-PEAR in the past, now it hangs too, there must be something obvious. Ciao Francesco -- Linux Version 2.6.25-gentoo-r4, Compiled #1 PREEMPT Sun May 18 08:04:58 CEST 2008 One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.05 Bogomips Total aemaeth -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] kde 3.5.9 revdep-rebuild
hello, I upgrade one system without incident. revdep-rebuild -p just found one package to rebuild. Now I have upgraded to kde 3.5.9 successufully rebooting into 3.5.9. When I run revdep-rebuild -p I get many things that need to be rebuilt: [ebuild UD] kde-base/kdelibs-3.5.8-r4 [3.5.9-r4] [ebuild R ] kde-base/kdemultimedia-arts-3.5.8 [ebuild UD] kde-base/libkdegames-3.5.8 [3.5.9] [ebuild R ] kde-base/noatun-3.5.8 [ebuild R ] kde-base/kolf-3.5.8 [ebuild R ] kde-base/kaboodle-3.5.8 [ebuild R ] kde-base/krec-3.5.8 [ebuild R ] kde-base/noatun-plugins-3.5.8 USE=-arts* But they are all 3.5.8 based software. Should I just rebuild them? revdep-rebuild or do I need to run something like emerge -a --depclean first? If they were 3.5.9 packages, I could understand the need to re compile these packages. Since they are 3.5.8 it seems to me, something is amiss? I have also ran these updates since compiling 3.5.9: env-update source /etc/profile etc-update Hopefully somebody will explain why this amd64 system's upgrade to kd3 3.5.9 looks different from the first one I completed? James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] kde 3.5.9 revdep-rebuild
Am Mittwoch, 21. Mai 2008 schrieb James: I upgrade one system without incident. revdep-rebuild -p just found one package to rebuild. Now I have upgraded to kde 3.5.9 successufully rebooting into 3.5.9. No need to reboot, BTW. Just logout and login again. When I run revdep-rebuild -p I get many things that need to be rebuilt: [ebuild UD] kde-base/kdelibs-3.5.8-r4 [3.5.9-r4] [ebuild R ] kde-base/kdemultimedia-arts-3.5.8 [ebuild UD] kde-base/libkdegames-3.5.8 [3.5.9] [ebuild R ] kde-base/noatun-3.5.8 [ebuild R ] kde-base/kolf-3.5.8 [ebuild R ] kde-base/kaboodle-3.5.8 [ebuild R ] kde-base/krec-3.5.8 [ebuild R ] kde-base/noatun-plugins-3.5.8 USE=-arts* But they are all 3.5.8 based software. Should I just rebuild them? revdep-rebuild re-installs the exact same version of a broken package than the one that _is_ currently installed. You should try to update the listed packages first, then run revdep-rebuild again. HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] kde 3.5.9 revdep-rebuild
On Wednesday 21 May 2008, James wrote: hello, I upgrade one system without incident. revdep-rebuild -p just found one package to rebuild. Now I have upgraded to kde 3.5.9 successufully rebooting into 3.5.9. When I run revdep-rebuild -p I get many things that need to be rebuilt: [ebuild UD] kde-base/kdelibs-3.5.8-r4 [3.5.9-r4] [ebuild R ] kde-base/kdemultimedia-arts-3.5.8 [ebuild UD] kde-base/libkdegames-3.5.8 [3.5.9] [ebuild R ] kde-base/noatun-3.5.8 [ebuild R ] kde-base/kolf-3.5.8 [ebuild R ] kde-base/kaboodle-3.5.8 [ebuild R ] kde-base/krec-3.5.8 [ebuild R ] kde-base/noatun-plugins-3.5.8 USE=-arts* Without having the full output of revdep-rebuild to hand, one can only guess. It's not a arch vs ~arch issue as 3.5.9-r4 is already stable, so I would guess that the one package that came up in the first revdep-rebuild is now pulling in the others in the second. What was that package? You also used revdep-rebuild -p, which re-uses the data from the last run of the program. Try again with -i as well to rescan the system But they are all 3.5.8 based software. Should I just rebuild them? revdep-rebuild or do I need to run something like emerge -a --depclean first? If they were 3.5.9 packages, I could understand the need to re compile these packages. Since they are 3.5.8 it seems to me, something is amiss? I have also ran these updates since compiling 3.5.9: env-update source /etc/profile etc-update Hopefully somebody will explain why this amd64 system's upgrade to kd3 3.5.9 looks different from the first one I completed? James -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] is grub in my mbr?
On Wed, 21 May 2008 09:07:28 -0700, Mark Knecht wrote: dd if=/dev/sda bs=446 count=1 2/dev/null | strings | grep GRUB That single command would have saved me some heartache in the past. I think it could be a good one-line addition to even something like the Quick Install guide - I.e. If you want to sanity check your grub installation then run this command to ensure grub is located where you think it's located... You could check for all instances with for i in /dev/[hs]d* dd if=$i bs=446 count=1 2/dev/null | strings | grep -q GRUB \ echo GRUB found in $i -- Neil Bothwick OS/2: Obsolete Soon, Too signature.asc Description: PGP signature
Re: [gentoo-user] is grub in my mbr?
On Wed, May 21, 2008 at 11:13 AM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 21 May 2008 09:07:28 -0700, Mark Knecht wrote: dd if=/dev/sda bs=446 count=1 2/dev/null | strings | grep GRUB That single command would have saved me some heartache in the past. I think it could be a good one-line addition to even something like the Quick Install guide - I.e. If you want to sanity check your grub installation then run this command to ensure grub is located where you think it's located... You could check for all instances with for i in /dev/[hs]d* dd if=$i bs=446 count=1 2/dev/null | strings | grep -q GRUB \ echo GRUB found in $i This is great info. I know of one case a long time ago, maybe 2001 or 2002, where I used an older drive and got burned by a preexisting copy of grub in the MBR conflicting with the version I had installed into a specific partition. I kept thinking grub was working but doing the wrong thing. I suspect that had I run some commands like the ones were talking about here I would have found the problem. As it turned out I didn't and went the direction of completely repartitioning the drive. What a waste! Cheers, Mark -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] kde 3.5.9 revdep-rebuild
On Wednesday 21 May 2008, Alan McKinnon wrote: On Wednesday 21 May 2008, James wrote: hello, I upgrade one system without incident. revdep-rebuild -p just found one package to rebuild. Now I have upgraded to kde 3.5.9 successufully rebooting into 3.5.9. When I run revdep-rebuild -p I get many things that need to be rebuilt: [ebuild UD] kde-base/kdelibs-3.5.8-r4 [3.5.9-r4] [ebuild R ] kde-base/kdemultimedia-arts-3.5.8 [ebuild UD] kde-base/libkdegames-3.5.8 [3.5.9] [ebuild R ] kde-base/noatun-3.5.8 [ebuild R ] kde-base/kolf-3.5.8 [ebuild R ] kde-base/kaboodle-3.5.8 [ebuild R ] kde-base/krec-3.5.8 [ebuild R ] kde-base/noatun-plugins-3.5.8 USE=-arts* Without having the full output of revdep-rebuild to hand, one can only guess. It's not a arch vs ~arch issue as 3.5.9-r4 is already stable, so I would guess that the one package that came up in the first revdep-rebuild is now pulling in the others in the second. What was that package? Same thing happened to me because midway I had to stop the emerge and restart it later. The solution is to emerge all the other packages first from the original emerge, without downgrading kde-base/kdelibs, kde-base/libkdegames. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Apache2 + PHP5 problem
Alexey Medvedchikov pisze: On 5/20/08, Mateusz A. Mierzwiński [EMAIL PROTECTED] wrote: Can anybody tell me what happend with PHP5 under (Linux athene 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux) Gentoo? My server runs with error (and white pages after accessing): [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal Segmentation fault (11) [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal Segmentation fault (11) [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal Segmentation fault (11) After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache everything is OK but... without PHP. What's up. This is PHP build flags: [ebuild R ] dev-lang/php-5.2.6_rc4 USE=apache2 berkdb bzip2 cgi cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile -interbase -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -qdbm -recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid) -spell -spl -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz -zip-external 0 kB -- gentoo-user@lists.gentoo.org mailing list Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i dont remember what - had same problem - use revdep-rebuild (app-portage/gentoolkit) I use revdep-rebuild every time I get any update. My system is 100% consistent but something is wrong. I've try to remove updates by mkfs.jfs and unpack backup created after update. Everything is ok, but when installing gallery2 php module still get segfault. What's wrong? I'm out of ideas... -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Apache2 + PHP5 problem
kashani pisze: Mateusz A. Mierzwiński wrote: Can anybody tell me what happend with PHP5 under (Linux athene 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux) Gentoo? My server runs with error (and white pages after accessing): [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal Segmentation fault (11) [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal Segmentation fault (11) [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal Segmentation fault (11) After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache everything is OK but... without PHP. What's up. This is PHP build flags: [ebuild R ] dev-lang/php-5.2.6_rc4 USE=apache2 berkdb bzip2 cgi cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib Is your Apache also built with threads? If it is not I would rebuild PHP without threads and try again. kashani This are (after restore backup done before update) flags for compiling apache2 and PHP: [ebuild R ] www-servers/apache-2.2.8 USE=ssl suexec threads -debug -doc -ldap (-selinux) -sni -static APACHE2_MODULES=actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias APACHE2_MPMS=worker -event -itk -peruser -prefork 4,746 kB [ebuild R ] dev-lang/php-5.2.5_p20080206-r3 USE=apache2 berkdb bzip2 cgi cli crypt ftp gd hash iconv iodbc mysql mysqli ncurses nls odbc pcntl pcre pic posix readline session simplexml snmp soap sockets ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -imap -inifile -interbase -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -qdbm -recode -reflection -sapdb -sharedext -sharedmem (-solid) -spell -spl -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz -zip-external 8,861 kB As You see every thing is OK. Flags are set same for apache and PHP. This is not a problem. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Apache2 + PHP5 problem
Mateusz A. Mierzwiński pisze: Alexey Medvedchikov pisze: On 5/20/08, Mateusz A. Mierzwiński [EMAIL PROTECTED] wrote: Can anybody tell me what happend with PHP5 under (Linux athene 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux) Gentoo? My server runs with error (and white pages after accessing): [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal Segmentation fault (11) [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal Segmentation fault (11) [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal Segmentation fault (11) After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache everything is OK but... without PHP. What's up. This is PHP build flags: [ebuild R ] dev-lang/php-5.2.6_rc4 USE=apache2 berkdb bzip2 cgi cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile -interbase -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres -qdbm -recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid) -spell -spl -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz -zip-external 0 kB -- gentoo-user@lists.gentoo.org mailing list Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i dont remember what - had same problem - use revdep-rebuild (app-portage/gentoolkit) I use revdep-rebuild every time I get any update. My system is 100% consistent but something is wrong. I've try to remove updates by mkfs.jfs and unpack backup created after update. Everything is ok, but when installing gallery2 php module still get segfault. What's wrong? I'm out of ideas... Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Apache2 + PHP5 problem
try strace'ing it On May 21, 2008, at 6:15 PM, Mateusz A. Mierzwiński wrote: Alexey Medvedchikov pisze: On 5/20/08, Mateusz A. Mierzwiński [EMAIL PROTECTED] wrote: Can anybody tell me what happend with PHP5 under (Linux athene 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone must be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/ Linux) Gentoo? My server runs with error (and white pages after accessing): [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal Segmentation fault (11) [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal Segmentation fault (11) [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal Segmentation fault (11) After unloading PHP5 modules (moving 70_php5_mod) and restarting Apache everything is OK but... without PHP. What's up. This is PHP build flags: [ebuild R ] dev-lang/php-5.2.6_rc4 USE=apache2 berkdb bzip2 cgi cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc pcntl pcre pic posix readline session simplexml soap sockets ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib (-adabas) -bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl - curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (- empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -gd-external -gdbm -gmp -inifile - interbase -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit - mcve -mhash -msql -mssql -oci8 (-oci8-instant-client) -pdo -postgres - qdbm -recode -reflection -sapdb -sharedext -sharedmem -snmp (-solid) - spell -spl -sqlite -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz -zip-external 0 kB -- gentoo-user@lists.gentoo.org mailing list Look for broken deps, after upgrading to 5.2.6_rc4 smth brokes, i dont remember what - had same problem - use revdep-rebuild (app-portage/gentoolkit) I use revdep-rebuild every time I get any update. My system is 100% consistent but something is wrong. I've try to remove updates by mkfs.jfs and unpack backup created after update. Everything is ok, but when installing gallery2 php module still get segfault. What's wrong? I'm out of ideas... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] $LINGUAS question
On Wed, May 21, 2008 at 03:13:44PM +0100, Uwe Thiem wrote: Does it matter in which order languages are emerged? Mplayer emerge says it uses the first one as the default language, and one firefox emerge showed all help menus etc in some non-English language. Wheteher anything else cares, I do not know. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: is grub in my mbr?
Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Mittwoch, 21. Mai 2008 schrieb ext Neil Bothwick: On Wed, 21 May 2008 10:53:28 +0200, Dirk Heinrichs wrote: If you don't, the stage1 in your MBR may not work with the stage1.5 and stage2 in /boot. This happened with a recent GRUB update. Not to me. Aha, the old works for me defence :) No, it's the couldn't happen to me because my /boot is mounted ro defense. I wouldn't rely on this. My boot wasn't mounted at all, but the ebuild mounted it and overwrote some files. It could just as easily remount a /boot that had been ro. Using DONT_MOUNT_BOOT=yes in make.conf should avoid it for good. BTW: One doesn't really need to keep grub installed after writing the MBR. Just unmerge it and your /boot and/or MBR are save. True. But I wanted the new grub, just wanted to install it to my /boot manually. -- »Q« Kleeneness is next to Gödelness. -- gentoo-user@lists.gentoo.org mailing list