Re: [gentoo-user] desperation question: disklabel, unable to write to disk, etc.
Hi, These type of messages: [17180157.02] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } [17180157.02] hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=5, high=0, low=5, sector=0 [17180157.02] ide: failed opcode was: unknown [17180157.02] end_request: I/O error, dev hda, sector 0 are very bad signs. Nine times out of ten it means the drive is dead, or nearly so. The few times it's not a dead/dying drive, is usually due to dma not being supported, or a bad cable. Given that dd is not working, and nothing seems able to actually write to the drive, I'm leaning towards a dead drive. As a last ditch attempt, you could try reseating the power and ide cable on the drive, as well as the motherboard end of the ide cable. If you have another system laying around, you could put the problem drive in there to confirm it is a drive problem. HTH, PaulNM -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] desperation question: disklabel, unable to write to disk, etc.
On Sat, 23 Dec 2006 23:22:02 +, Alan E. Davis wrote: Neither of these worked: # dd if=/dev/zero of=/dev/hda bs=512 count=1 dd: writing `/dev/hda': Input/output error 1+0 records in 0+0 records out 0 bytes (0 B) copied, 3.96744 seconds, 0.0 kB/s gparted shows the whole disk as unallocated. When I try to install a new partition, it wants to install a disklabel. The attempt fails. It looks like a dead disk to me :( -- Neil Bothwick Documentation: (n.) a novel sold with software, designed to entertain the operator during episodes of bugs or glitches. signature.asc Description: PGP signature
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Neil Bothwick wrote: On Sat, 23 Dec 2006 23:48:38 -0600, Dale wrote: OK. I downloaded Kdar so far. It was smaller and I'm on dial-up. Does these programs preserve file permissions? Yes, because the files are stored in an archive file, not directly on the CD. dar can split the archives into CD (or DVD) sized chunks and kdar can (AFAIR) write them to disc. dar also creates an index of what's in which file and writes this to the first and last backup files. May need a little more info on this archive part. If I use this to back up my whole system and then lets say the hard drive fails completely. I can just untar or unzip to restore the system right? I have some data to back up but I may use this to do a system back-up too. While I am at it, if I do a system back up, do I need to worry about backing up /proc and /sys? From my understanding the kernel generates these when it boots up. Just curious about what I really need to back up. Oh, what about /dev too. I use udev and have the tarball set to no. Thanks Dale :-) :-) :-)
Re: [gentoo-user] How to see Windows graphics chars
El Sat, 23 Dec 2006 21:28:05 -0800 Kevin O'Gorman [EMAIL PROTECTED] escribió: I would not ordinarily care about Windows pseudo-graphics characters, but for one brief moment on one project I need to manipulate them a bit. This is a bit hard on KDE and gentoo as things stand because the terminals don't know about that encoding/font/codepage/whatever. I see there's a way to make my terminals speak a variety of encodings, but the ones I've tried don't help. Anybody out there know how to do this? ++ kevin If you are talking about the webdings set, it is included along with many other MS fonts into the corefonts package. Make sure you have it installed, then make sure you have a line for that font dir in your xorg.conf: Section Files FontPath /usr/share/fonts/TTF FontPath /usr/share/fonts/ttf-bitstream-vera FontPath /usr/share/fonts/hunkyfonts FontPath /usr/share/fonts/corefonts FontPath /usr/share/fonts/sharefonts FontPath /usr/share/fonts/misc FontPath /usr/share/fonts/Type1 FontPath /usr/share/fonts/75dpi FontPath /usr/share/fonts/100dpi FontPath /usr/share/fonts/arphicfonts FontPath /usr/share/fonts/baekmuk-fonts FontPath /usr/share/fonts/kochi-substitute FontPath /usr/share/fonts/intlfonts EndSection Then restart X or do this: xset +fp /usr/share/fonts/corefonts xset fp rehash Now the font is installed and apps can see it, it might depend on each concrete app how to use it from now on. Jesús Guerrero -- gentoo-user@gentoo.org mailing list
[gentoo-user] Batch resizing of photos
Hi All, I have a load of photos which I would like to resize running some sort of ImageMagick batch command; e.g. convert -resize WxH something.jpeg something_resized.jpeg In this case something is meant to be the photos in a directory. How do I do this? (me useless at scripting). :( Merry Christmas to you All and Your dearest and nearest! :) -- Regards, Mick pgpKb6XdkVKFw.pgp Description: PGP signature
[gentoo-user] LVM problem
I'm about to start using LVM. I setup a secondary partition with fdisk, created a physical volume with pvcreate, made a group volume with vgcreate (out of only that physical volume), created several logical volumes with lvcreate, and installed filesystems on the logical volumes. One volume is swap, and /proc/meminfo says it is active. Other volumes I can mount and write onto. So, what's the problem? The problem is that vgdisplay, vgscan, vgchange, pvdisplay, lvdisplay all say there are no volumes to be found! What did I miss? One other thing i don't understand is what to do regarding init scripts. (The kernel gentoo-sources 2.6.18-r2 has build-in support for Multiple devices driver support (RAID and LVM) and Device mapper support. ) TIA. -- Jorge Almeida -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] working with overlays
Neil Bothwick wrote: On Fri, 22 Dec 2006 20:09:55 +0100, Benno Schulenberg wrote: mkdir -p /usr/local/portage/category/package ## Dont't copy all ebuilds, just the one to be tweaked: Unless you are really short of disk space, what's wrong with copying the complete package directory - it makes life much simpler. There's nothing wrong with it, but it makes life harder: now I must remember which of the ebuilds in /usr/local/portage/*/* I have patched and which not. It's much easier to have only ebuilds in there that I've actually changed. If you just want to add a patch, you can do it with bashrc, no need to mess with overlays: http://forums.gentoo.org/viewtopic-t-339019.html (Or http://dev.gentoo.org/~solar/portage_misc/bashrc.autopatch for the original.) Well, yes, that is one way. But mostly I do not want things to be autopatched: I just want to change this one version and not any newer one. And I do not want to have to remember to remove /usr/portage/local/patches/category/package afterwards; patch, emerge and forget is easier. Also, when using overlays 'emerge -pev world' will immediately show which packages have been patched (because coming from my overlay). When autopatching, one has to check /usr/portage/local/patches/ separately. There's a script floating around that will copy an ebuild to your overlay and bump its version. Found it here: http://forums.gentoo.org/viewtopic.php?p=445501 Since this script is a bit too verbose for my taste, I've continued working on my own. Using the post_src_unpack() function mentioned by Bo, the inserting of patches becomes pretty easy. See the attached file. Suggestions and improvements are welcome. But neither of these are related to the original question, which was about preserving old versions. Yes, sorry for changing focus; I was reacting to this: Overlays are there specifically for people who need something different from the standard portage tree. Benno ovlay.sh Description: application/shellscript
Re: [gentoo-user] Batch resizing of photos
On Sunday 24 December 2006 12:43, Mick wrote: Hi All, I have a load of photos which I would like to resize running some sort of ImageMagick batch command; e.g. convert -resize WxH something.jpeg something_resized.jpeg In this case something is meant to be the photos in a directory. How do I do this? (me useless at scripting). :( You can use a for loop, with a little trickery to modify the name, eg (untested) for i in *.jpeg; do name=${i%.jpeg} convert -resize WxH ${i} ${name}_resized.jpeg done if you don't want to keep the original images, then it's simpler: for i in *.jpeg; do convert -resize WxH ${i} ${i}.resized mv ${i}.resized ${i} # caution: overwrites original file done -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sunday 24 December 2006 04:53, Dale wrote: Speaking of booting, it would be nice if the first CD was bootable and could be restored that way. I only have one CD drive at the moment so something to boot from would be nice. Yes, that can be done. Mondorescue makes the first backup CD bootable, using a mini kernel and distro called mindi. You can even restore an entire system from scratch, using the barebones (nuke) restore. Read the docs for more info. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Misconfigured system
On Friday 22 December 2006 12:20, David Relson wrote: On Thu, 21 Dec 2006 21:45:07 -0800 Kevin O'Gorman wrote: ...[snip]... Oops. I should have known I could answer my own question with a little more digging. I now see that there's hostname hostname --fqdn dnsdomainname and they all work by looking in /etc/host.conf, and if (as is true here) that says to use the hosts file first, it looks for it in /etc/hosts, which has the fqdn. I seem to dimly recall that it actually looks for the first non-comment, but that cannot be quite right, because localhost comes first in my copy. Maybe it's the first routable IP number? I think this sub-problem is solved. I've commented my config files a bit more, so I won't make the same mistake again. ++ kevin Now, I'm curious! On my system, I see the following: dnsdomainname osagesoftware.com hostname osage.osagesoftware.com hostname --fqdn osage.osagesoftware.com /etc/hosts contains: 192.168.1.10 osage.osagesoftware.com osage strace -feopen shows that /etc/hosts is opened by hostname --fqdn but not hostname. What have I got wrong? Regards, David P.S. Greetings from one Kiewit alumni to another ... I discovered that the order of entries on the localhost line is important to avoid hostname being identified as none. I suppose in your system it should be: 127.0.0.1 osage.osagesoftware.com osage localhost HTH -- Regards, Mick pgpeBFcfe0glo.pgp Description: PGP signature
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sun, 24 Dec 2006 04:07:50 -0600, Dale wrote: Yes, because the files are stored in an archive file, not directly on the CD. dar can split the archives into CD (or DVD) sized chunks and kdar can (AFAIR) write them to disc. dar also creates an index of what's in which file and writes this to the first and last backup files. May need a little more info on this archive part. If I use this to back up my whole system and then lets say the hard drive fails completely. I can just untar or unzip to restore the system right? I have some data to back up but I may use this to do a system back-up too. dar uses its own archive format, so you'll need a live disc with the dar executable to unpack them. I think there's a statically compiled version of dar available that you can chuck on your backup discs. While I am at it, if I do a system back up, do I need to worry about backing up /proc and /sys? From my understanding the kernel generates these when it boots up. Just curious about what I really need to back up. Oh, what about /dev too. I use udev and have the tarball set to no. All three are virtual filesystems, so you should not attempt to back them up. I prefer to use the --one-filesystem option when backing up with tar, dar has a similar option AFAIR. -- Neil Bothwick Grow your own dope, plant a politician! signature.asc Description: PGP signature
[gentoo-user] Re: LVM problem
Jorge Almeida wrote: I'm about to start using LVM. LVM-user or LVM2? So, what's the problem? The problem is that vgdisplay, vgscan, vgchange, pvdisplay, lvdisplay all say there are no volumes to be found! What did I miss? Have you modified lvm.conf? Can you provide /etc/lvm/.cache? One other thing i don't understand is what to do regarding init scripts. The gentoo init script already manages lvm. Cheers, -- Régis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: LVM problem
On Sun, 24 Dec 2006, Regis Decamps wrote: Jorge Almeida wrote: I'm about to start using LVM. LVM-user or LVM2? LVM2. (Don't know about the former...) So, what's the problem? The problem is that vgdisplay, vgscan, vgchange, pvdisplay, lvdisplay all say there are no volumes to be found! What did I miss? Have you modified lvm.conf? Yes, I changed the filter line: filter = [ a|/dev/hdb]|, r/.*/ ] And, of course, this is the problem! I copied the line in http://www.gentoo.org/doc/en/lvm2.xml, but since I have a physical volume only at /dev/hdb5, I deleted the '[a' and forgot about the closing ']'! Things are working now. Can you provide /etc/lvm/.cache? Here it goes, although I suppose it's not needed any more: persistent_filter_cache { valid_devices=[ /dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part2, /dev/disk/by-path/pci-:00:1f.1-ide-0:1-part1, /dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part3, /dev/disk/by-path/pci-:00:1f.1-ide-0:1-part3, /dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part1, /dev/hdb6, /dev/disk/by-uuid/203d7cab-0dd9-4a52-a376-02ee721de134, /dev/disk/by-path/pci-:00:1f.1-ide-0:1-part2, /dev/disk/by-uuid/d6d0a50f-16dc-4425-9047-66758c5b13d9, /dev/hdb5, /dev/disk/by-uuid/3a5288ad-f1a4-4370-a5ed-6058467de4e8, /dev/disk/by-uuid/38415f62-cea0-4c2a-aee2-567932993d2d, /dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part6, /dev/hdb1, /dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part5, /dev/disk/by-path/pci-:00:1f.1-ide-0:1-part5, /dev/hdb2, /dev/disk/by-path/pci-:00:1f.1-ide-0:1-part6, /dev/hdb3 ] } One other thing i don't understand is what to do regarding init scripts. The gentoo init script already manages lvm. Could you elaborate on this? What init script? Something in /etc/init.d? Something to be managed by rc-update? Thanks. (Great list, where you can get help on XMAS eve!) -- Jorge -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] desperation question: disklabel, unable to write to disk, etc.
It's looking really bad. However, I have seen some messages about similar messages/problems being addressed by flashing the bios. I have received a diagnostic utility from Gateway. This is a laptop. Thank you for the advice. I'll keep trying. Merry Christmas (in an hour, here in the W. Pacific), Alan On 12/24/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Sat, 23 Dec 2006 23:22:02 +, Alan E. Davis wrote: Neither of these worked: # dd if=/dev/zero of=/dev/hda bs=512 count=1 dd: writing `/dev/hda': Input/output error 1+0 records in 0+0 records out 0 bytes (0 B) copied, 3.96744 seconds, 0.0 kB/s gparted shows the whole disk as unallocated. When I try to install a new partition, it wants to install a disklabel. The attempt fails. It looks like a dead disk to me :( -- Neil Bothwick Documentation: (n.) a novel sold with software, designed to entertain the operator during episodes of bugs or glitches. -- Alan Davis, Kagman High School, Saipan [EMAIL PROTECTED] 1-670-256-2043 I consider that the golden rule requires that if I like a program I must share it with other people who like it. Richard Stallman
Re: [gentoo-user] desperation question: disklabel, unable to write to disk, etc.
On Sunday 24 December 2006 08:42, PaulNM wrote: Hi, These type of messages: [17180157.02] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } [17180157.02] hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=5, high=0, low=5, sector=0 [17180157.02] ide: failed opcode was: unknown [17180157.02] end_request: I/O error, dev hda, sector 0 are very bad signs. Nine times out of ten it means the drive is dead, or nearly so. The few times it's not a dead/dying drive, is usually due to dma not being supported, or a bad cable. Given that dd is not working, and nothing seems able to actually write to the drive, I'm leaning towards a dead drive. As a last ditch attempt, you could try reseating the power and ide cable on the drive, as well as the motherboard end of the ide cable. If you have another system laying around, you could put the problem drive in there to confirm it is a drive problem. I agree that in all likelihood your HD is toast. However, before you start searching on Ebay you would better follow the above advice to reseat cables and, or sockets. I used to have an IBM laptop with a problematic floppy drive that needed reseating in its socket every now and then to cure its boot problems. -- Regards, Mick pgpcMTFFlV3zR.pgp Description: PGP signature
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Etaoin Shrdlu wrote: On Sunday 24 December 2006 04:53, Dale wrote: Speaking of booting, it would be nice if the first CD was bootable and could be restored that way. I only have one CD drive at the moment so something to boot from would be nice. Yes, that can be done. Mondorescue makes the first backup CD bootable, using a mini kernel and distro called mindi. You can even restore an entire system from scratch, using the barebones (nuke) restore. Read the docs for more info. Kewwwl. I like that idea. This sort of reminds me of what I used back in the Mac Classic and Mac II days. Old huh? Thanks Dale :-) :-) :-)
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Neil Bothwick wrote: On Sun, 24 Dec 2006 04:07:50 -0600, Dale wrote: Yes, because the files are stored in an archive file, not directly on the CD. dar can split the archives into CD (or DVD) sized chunks and kdar can (AFAIR) write them to disc. dar also creates an index of what's in which file and writes this to the first and last backup files. May need a little more info on this archive part. If I use this to back up my whole system and then lets say the hard drive fails completely. I can just untar or unzip to restore the system right? I have some data to back up but I may use this to do a system back-up too. dar uses its own archive format, so you'll need a live disc with the dar executable to unpack them. I think there's a statically compiled version of dar available that you can chuck on your backup discs. Hmmm, does the Gentoo CD have this? While I am at it, if I do a system back up, do I need to worry about backing up /proc and /sys? From my understanding the kernel generates these when it boots up. Just curious about what I really need to back up. Oh, what about /dev too. I use udev and have the tarball set to no. All three are virtual filesystems, so you should not attempt to back them up. I prefer to use the --one-filesystem option when backing up with tar, dar has a similar option AFAIR. OK, so skip /proc, /sys and /dev then? I need to do some reading I guess, if it ever gets it downloaded that is. This slow dial-up sucks. :-( Thanks for the info. One of these days I'll actually know something. LOL Dale :-) :-) :-)
Re: [gentoo-user] OT: Follow-up on the HDD problems...
On Saturday 23 December 2006 10:23, Chris Walters wrote: Some of you may remember the problem I was having with my SATA II HDD in Windows XP (but not in Linux). To recap: My drive got switched from UDMA mode to PIO mode in Windows (only). I ended up having to reinstall Windows. After some careful investigation, I found that the problem was caused by the copy protection of a game - Superpower 2. Worse, the problem was not corrected when I removed the game. It took either a full reinstall of the OS, or a restoration of the windows registry from before I installed the game to fix this problem. I know that this will not affect dedicated Linux users, but it can affect those of you who use both windows and Linux. I've never heard of such a case before! I can't even begin to understand why copy protection will screw up an OS' settings. Have you complained to the game's suppliers? Following Sony's screw-up with their copy protection trojan it may be time to start asking for compensation from all game coders out there who take liberties with your OS (even if half the problem may well lie with the particular OS?). -- Regards, Mick pgpirCxWrFSVV.pgp Description: PGP signature
[gentoo-user] emerge --resume
Hi, guys! #emerge --resume gives me: These are the packages that would be merged, in order: !!! Error: The resume list contains packages that are no longer !!!available to be emerged. Please restart/continue !!!the merge operation manually. # How could I fix it? -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sunday 24 December 2006 13:12, Dale wrote: OK, so skip /proc, /sys and /dev then? I need to do some reading I guess, if it ever gets it downloaded that is. This slow dial-up sucks. :-( For complete partition/disk/OS backups I have used partimage. No doubt it comes with many recovery LiveCDs, but I have only used it with Knoppix. As the package name implies it creates image files. You'll need a swap partition activated though, otherwise you may run out of memory when you are burning the DVD/CD with your images. Partimage has compression options to reduce the size of the backed up image file and you can define the size at which you want to image files split so as to fit on a number of CDs or DVDs. If you want to access particular files/directories within the image file I guess you will need to mount it using loopback, but I haven't tried that yet. HTH. -- Regards, Mick pgpfEyvV6rqTt.pgp Description: PGP signature
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Etaoin Shrdlu wrote: On Sunday 24 December 2006 04:53, Dale wrote: Speaking of booting, it would be nice if the first CD was bootable and could be restored that way. I only have one CD drive at the moment so something to boot from would be nice. Yes, that can be done. Mondorescue makes the first backup CD bootable, using a mini kernel and distro called mindi. You can even restore an entire system from scratch, using the barebones (nuke) restore. Read the docs for more info. Well, this sucks. Downloading 'http://adelie.polymtl.ca/distfiles/mindi-1.10.tgz' --07:14:12-- http://adelie.polymtl.ca/distfiles/mindi-1.10.tgz = `/usr/portage/distfiles/mindi-1.10.tgz' Resolving adelie.polymtl.ca... 132.207.4.160 Connecting to adelie.polymtl.ca|132.207.4.160|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 2,130,907 (2.0M), 1,026,811 (1003K) remaining [application/x-gzip] 100%[+] 2,130,907 2.71K/sETA 00:00 07:20:29 (2.67 KB/s) - `/usr/portage/distfiles/mindi-1.10.tgz' saved [2130907/2130907] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mindi-1.10.tgz ;-) ... [ !! ] !!! A file listed in the Manifest could not be found: '/usr/portage/distfiles/mindi-1.10.tgz' [EMAIL PROTECTED] / # Seems there may be a reason it is masked. I restarted it to see if it was a connection boo boo but it ain't looking good right now. May have to try a older version maybe. Notice that super fast data transfer speed of 2.71K/s. Swift huh? Stupid dial-up. What cha think about this? Dale :-) :-) :-)
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Etaoin Shrdlu wrote: On Sunday 24 December 2006 04:53, Dale wrote: Speaking of booting, it would be nice if the first CD was bootable and could be restored that way. I only have one CD drive at the moment so something to boot from would be nice. Yes, that can be done. Mondorescue makes the first backup CD bootable, using a mini kernel and distro called mindi. You can even restore an entire system from scratch, using the barebones (nuke) restore. Read the docs for more info. Well, this sucks. Downloading 'http://adelie.polymtl.ca/distfiles/mindi-1.10.tgz' --07:14:12-- http://adelie.polymtl.ca/distfiles/mindi-1.10.tgz = `/usr/portage/distfiles/mindi-1.10.tgz' Resolving adelie.polymtl.ca... 132.207.4.160 Connecting to adelie.polymtl.ca|132.207.4.160|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 2,130,907 (2.0M), 1,026,811 (1003K) remaining [application/x-gzip] 100%[+] 2,130,907 2.71K/sETA 00:00 07:20:29 (2.67 KB/s) - `/usr/portage/distfiles/mindi-1.10.tgz' saved [2130907/2130907] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mindi-1.10.tgz ;-) ... [ !! ] !!! A file listed in the Manifest could not be found: '/usr/portage/distfiles/mindi-1.10.tgz' [EMAIL PROTECTED] / # Seems there may be a reason it is masked. I restarted it to see if it was a connection boo boo but it ain't looking good right now. May have to try a older version maybe. Notice that super fast data transfer speed of 2.71K/s. Swift huh? Stupid dial-up. What cha think about this? Well, the email didn't go so I can say that it failed again so I unmasked mindi-1-11 and will see if it works better. Will report later, unless someone has a better idea. Dale :-) :-) :-)
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Mick wrote: On Sunday 24 December 2006 13:12, Dale wrote: OK, so skip /proc, /sys and /dev then? I need to do some reading I guess, if it ever gets it downloaded that is. This slow dial-up sucks. :-( For complete partition/disk/OS backups I have used partimage. No doubt it comes with many recovery LiveCDs, but I have only used it with Knoppix. As the package name implies it creates image files. You'll need a swap partition activated though, otherwise you may run out of memory when you are burning the DVD/CD with your images. Partimage has compression options to reduce the size of the backed up image file and you can define the size at which you want to image files split so as to fit on a number of CDs or DVDs. If you want to access particular files/directories within the image file I guess you will need to mount it using loopback, but I haven't tried that yet. HTH. Another one to consider. Will look into it too. Thanks Dale :-) :-) :-)
Re: [gentoo-user] Batch resizing of photos
On Sunday 24 December 2006 12:25, Etaoin Shrdlu wrote: for i in *.jpeg; do name=${i%.jpeg} convert -resize WxH ${i} ${name}_resized.jpeg done Thank you for a lovely Christmas present! :) -- Regards, Mick pgpWQAFJDIlIK.pgp Description: PGP signature
Re: [gentoo-user] Misconfigured system
On Sun, 24 Dec 2006 12:09:13 + Mick wrote: ...[snip]... Now, I'm curious! On my system, I see the following: dnsdomainname osagesoftware.com hostname osage.osagesoftware.com hostname --fqdn osage.osagesoftware.com /etc/hosts contains: 192.168.1.10 osage.osagesoftware.com osage strace -feopen shows that /etc/hosts is opened by hostname --fqdn but not hostname. What have I got wrong? Regards, David P.S. Greetings from one Kiewit alumni to another ... I discovered that the order of entries on the localhost line is important to avoid hostname being identified as none. I suppose in your system it should be: 127.0.0.1 osage.osagesoftware.com osage localhost Curiouser and curiouser... Using your suggested line as the complete content of my /etc/hosts file has _no_ effect at all. As an experiment, I tried modifying /etc/conf.d/hostname to have just a test name, i.e. osagexxx, and restarting /etc/init.d/hostname. My system was not at all happy with that. ### hostname ; hostname -s ; hostname --fqdn ; dnsdomainname osagexxx hostname: Unknown host hostname: Unknown host dnsdomainname: Unknown host -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: Follow-up on the HDD problems...
Mick wrote: On Saturday 23 December 2006 10:23, Chris Walters wrote: Some of you may remember the problem I was having with my SATA II HDD in Windows XP (but not in Linux). To recap: My drive got switched from UDMA mode to PIO mode in Windows (only). I ended up having to reinstall Windows. After some careful investigation, I found that the problem was caused by the copy protection of a game - Superpower 2. Worse, the problem was not corrected when I removed the game. It took either a full reinstall of the OS, or a restoration of the windows registry from before I installed the game to fix this problem. I know that this will not affect dedicated Linux users, but it can affect those of you who use both windows and Linux. I've never heard of such a case before! I can't even begin to understand why copy protection will screw up an OS' settings. Have you complained to the game's suppliers? Following Sony's screw-up with their copy protection trojan it may be time to start asking for compensation from all game coders out there who take liberties with your OS (even if half the problem may well lie with the particular OS?). Actually I've read about such cases before: http://blogs.technet.com/markrussinovich/archive/2005/10/31/sony-rootkits-and-digital-rights-management-gone-too-far.aspx http://en.wikipedia.org/wiki/Mark_Russinovich http://en.wikinews.org/wiki/Sony_faces_class_action_lawsuits_for_DRM -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --resume
On 24/12/06, Daniel Iliev [EMAIL PROTECTED] wrote: Hi, guys! #emerge --resume gives me: These are the packages that would be merged, in order: !!! Error: The resume list contains packages that are no longer !!!available to be emerged. Please restart/continue !!!the merge operation manually. # How could I fix it? -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list Are you doing a large emerge? eg. --emptytree or have you not --sync lately or has this emerge been running fora long... time and prehaps something has dropped out of the tree in that time? A bit more information on what you are actually doing may get you a better response than mine. Prehaps one of those may explain the issue but for now trying emerge --resume --skipfirst may help the situation and get you to the end of the process then you can go back and discover the offending package. -- There are 10 types of people in this world: those who understand binary, those who don't --Unknown -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Dale wrote: Etaoin Shrdlu wrote: On Sunday 24 December 2006 04:53, Dale wrote: Speaking of booting, it would be nice if the first CD was bootable and could be restored that way. I only have one CD drive at the moment so something to boot from would be nice. Yes, that can be done. Mondorescue makes the first backup CD bootable, using a mini kernel and distro called mindi. You can even restore an entire system from scratch, using the barebones (nuke) restore. Read the docs for more info. snip OK. Now I get this for mindi-1.11. One version has something missing and the other fails to compile. Wonder why this is masked? make[3]: Entering directory `/var/tmp/portage/mindi-1.11/work/mindi-1.11/mondo/common' if /bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D__IA32__ -march=athlon-xp -O2 -momit-leaf-frame-pointer -fno-ident -pipe -MT libmondo-archive.lo -MD -MP -MF .deps/libmondo-archive.Tpo \ -c -o libmondo-archive.lo `test -f 'libmondo-archive.c' || echo './'`libmondo-archive.c; \ then mv -f .deps/libmondo-archive.Tpo .deps/libmondo-archive.Plo; \ else rm -f .deps/libmondo-archive.Tpo; exit 1; \ fi if /bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D__IA32__ -march=athlon-xp -O2 -momit-leaf-frame-pointer -fno-ident -pipe -MT libmondo-devices.lo -MD -MP -MF .deps/libmondo-devices.Tpo \ -c -o libmondo-devices.lo `test -f 'libmondo-devices.c' || echo './'`libmondo-devices.c; \ then mv -f .deps/libmondo-devices.Tpo .deps/libmondo-devices.Plo; \ else rm -f .deps/libmondo-devices.Tpo; exit 1; \ fi In file included from libmondo-devices.c:223: my-stuff.h:201:18: error: newt.h: No such file or directory make[3]: *** [libmondo-devices.lo] Error 1 make[3]: *** Waiting for unfinished jobs In file included from libmondo-archive.c:175: ../common/my-stuff.h:201:18: error: newt.h: No such file or directory make[3]: *** [libmondo-archive.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/mindi-1.11/work/mindi-1.11/mondo/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mindi-1.11/work/mindi-1.11/mondo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mindi-1.11/work/mindi-1.11' make: *** [all] Error 2 !!! ERROR: sys-apps/mindi-1.11 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 608: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. [EMAIL PROTECTED] / # Anybody know what newt.h is? Looks like it needs it for something. Thanks Dale :-) :-) :-)
[gentoo-user] lvm setup questions
hi i'm trying setup lvm on running system using latest lvm2. lvm and kernel part seems ok but rest is problem,after reboot vg and lv are borked. For now im playing with junk partitions. Do I need put lvm-start(stop).sh in /etc/conf.d/local.start(stop) or somehow pass to grub initrd line? I dont plan put /boot and / on lvm but /opt /home /var /usr /usr/portage And i cant figure out where lvm puts all data besides /etc/lvm. I have problems to clean mess i have so far ;) thanx for your input and Merry Christmas martins -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sunday 24 December 2006 15:33, Dale wrote: OK. Now I get this for mindi-1.11. One version has something missing and the other fails to compile. Wonder why this is masked? [cut] Are you trying to install mindi by itself or as part of an emerge mondo-rescue? Seems like some dependency is missing... Anybody know what newt.h is? Looks like it needs it for something. * dev-libs/newt Available versions: 0.50.35-r2 ~0.50.35-r3 ~0.50.35-r4 0.51.6 0.51.6-r1 ~0.51.6-r2 ~0.52.2 Homepage:http://www.redhat.com/ Description: Redhat's Newt windowing toolkit development files mondo-rescue does depend upon newt, but mindi doesn't (I'd say that's probably a bug, but otoh I think mindi alone is rather useless). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On 24 December 2006 15:12, Dale wrote: OK, so skip /proc, /sys and /dev then? I need to do some reading I guess, if it ever gets it downloaded that is. Yes, you can skip them. /tmp as well, but you have to create the empty directory after restoration. Same for /dev. I am nott too sure about /sys and /proc - at least, it doesn't hurt to create them. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Etaoin Shrdlu wrote: On Sunday 24 December 2006 15:33, Dale wrote: OK. Now I get this for mindi-1.11. One version has something missing and the other fails to compile. Wonder why this is masked? [cut] Are you trying to install mindi by itself or as part of an emerge mondo-rescue? Seems like some dependency is missing... Anybody know what newt.h is? Looks like it needs it for something. * dev-libs/newt Available versions: 0.50.35-r2 ~0.50.35-r3 ~0.50.35-r4 0.51.6 0.51.6-r1 ~0.51.6-r2 ~0.52.2 Homepage:http://www.redhat.com/ Description: Redhat's Newt windowing toolkit development files mondo-rescue does depend upon newt, but mindi doesn't (I'd say that's probably a bug, but otoh I think mindi alone is rather useless). Here's the funny part. I figured out that that file is in the package newt, who would have thunk that. LOL Anyway, I emerge -1 it then when I tell it to start emerging mondorescue again, it skips the package mindi completely. Since I have no clue what this may break, I went back and emerge -1 mindi just in case. It worked this time, since newt was there. May be a bug too. Now back to mondorescue. Anyway, here I go again. Dale :-) :-) :-)
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sun, 24 Dec 2006 09:02:24 -0600 Dale wrote: Etaoin Shrdlu wrote: On Sunday 24 December 2006 15:33, Dale wrote: OK. Now I get this for mindi-1.11. One version has something missing and the other fails to compile. Wonder why this is masked? [cut] Are you trying to install mindi by itself or as part of an emerge mondo-rescue? Seems like some dependency is missing... Anybody know what newt.h is? Looks like it needs it for something. * dev-libs/newt Available versions: 0.50.35-r2 ~0.50.35-r3 ~0.50.35-r4 0.51.6 0.51.6-r1 ~0.51.6-r2 ~0.52.2 Homepage:http://www.redhat.com/ Description: Redhat's Newt windowing toolkit development files mondo-rescue does depend upon newt, but mindi doesn't (I'd say that's probably a bug, but otoh I think mindi alone is rather useless). Here's the funny part. I figured out that that file is in the package newt, who would have thunk that. LOL Anyway, I emerge -1 it then when I tell it to start emerging mondorescue again, it skips the package mindi completely. Since I have no clue what this may break, I went back and emerge -1 mindi just in case. It worked this time, since newt was there. May be a bug too. Now back to mondorescue. Sounds like the ebuild needs to include newt as a dependency! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --resume
First of all - where did my manners go!? ;-( MARRY CHRISTMAS, EVERYONE! I wish you health, happiness and even more fun with our favorite Gentoo! ;- On the subject: Yes, yesterday I woke up with a broken root FS after a power failure. I did fix the FS with a boot CD I did emerge -e system. Afterwards I booted the system on its own and started emerge -e world. During this my cron did emerge --sync. Unfortunately I lost my network connection and emerge -e world stopped on x11-libs/libxklavier-3.0-r1. After my connection was restored I had this message from emerge --resume. So I started emerge -e world again and now it is complete. Also emerge -DuN world gives an empty list therefore I consider my system to be up-to-date with the current portage. The problem is that emerge --resume still gives this never seen before (by me) output. Bottom lines: I want to clear the resume list in order to get back to the normal behavior of emerge --resume P.S. emerge --resume --skipfirst doesn't help - it gives the same message. -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: lvm setup questions
· Martins [EMAIL PROTECTED]: hi i'm trying setup lvm on running system using latest lvm2. lvm and kernel part seems ok but rest is problem,after reboot vg and lv are borked. Please explain what you've done. The exact steps would be interesting. Also please show what error messages you've got. For now im playing with junk partitions. Do I need put lvm-start(stop).sh in /etc/conf.d/local.start(stop) No. And i cant figure out where lvm puts all data besides /etc/lvm. /etc/lvm contains the configuration of LVM - but it's no problem at all, if /etc/lvm is not there. The volume groups will be created under dev with the name of the VG. So, if you've got a VG called Volume00, you'll find /dev/Volume00 (and also /dev/mapper/Volume00-*). I have problems to clean mess i have so far ;) Have you read the LVM howto? If not, you should do so - it's at http://tldp.org/. Alexander Skwar -- If everything seems to be going well, you have obviously overlooked something. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Misconfigured system
On 12/24/06, David Relson [EMAIL PROTECTED] wrote: On Sun, 24 Dec 2006 12:09:13 + Mick wrote: ...[snip]... Now, I'm curious! On my system, I see the following: dnsdomainname osagesoftware.com hostname osage.osagesoftware.com hostname --fqdn osage.osagesoftware.com /etc/hosts contains: 192.168.1.10 osage.osagesoftware.com osage strace -feopen shows that /etc/hosts is opened by hostname --fqdn but not hostname. What have I got wrong? Regards, David P.S. Greetings from one Kiewit alumni to another ... I discovered that the order of entries on the localhost line is important to avoid hostname being identified as none. I suppose in your system it should be: 127.0.0.1 osage.osagesoftware.com osage localhost Curiouser and curiouser... Using your suggested line as the complete content of my /etc/hosts file has _no_ effect at all. As an experiment, I tried modifying /etc/conf.d/hostname to have just a test name, i.e. osagexxx, and restarting /etc/init.d/hostname. My system was not at all happy with that. ### hostname ; hostname -s ; hostname --fqdn ; dnsdomainname osagexxx hostname: Unknown host hostname: Unknown host dnsdomainname: Unknown host As the OP, I checked this out. Right now, the first two non-comment lines in /etc/hosts are 127.0.0.1 localhost 64.166.164.49 treat.kosmanor.com treat Adding stuff to the localhost line has no effect. Fooling with the 64.. line does. The first thing after the IP seems to be taken as the FQDN by hostname --fqdn, so the order on the line is important. Neither of these affects the results of hostname, although I did not reboot to test the theory that this might make a difference. It seems more likely this comes from /etc/conf.d/hostname ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sunday 24 December 2006 17:04, Dale wrote: Unpacking source... Unpacking mondo-2.10.tgz to /var/tmp/portage/mondo-rescue-2.10/work gzip: stdin: decompression OK, trailing garbage ignored tar: Child returned status 2 tar: Error exit delayed from previous errors !!! ERROR: app-backup/mondo-rescue-2.10 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack mondo-rescue-2.10.ebuild, line 32: Called unpack 'mondo-2.10.tgz' ebuild.sh, line 377: Called die !!! failure unpacking mondo-2.10.tgz !!! If you need support, post the topmost build error, and the call stack if relevant. [EMAIL PROTECTED] / # Now what do we do with that? Also note, it failed the md5 thing before. It did that when I used the --digest option. Something is broke here. Yes, that fails on my box also. Seems the md5 digests are not correct. You can try to resync and see if that solves the problem, or file a bug after that. As a last resort, however, you can try using the mondo-2.2.0 ebuild, available on the project site (of course, put it into an overlay and unmask/keyword things accordingly). There seems to be a LiveCD available for mondorescue, with which you can hopefully try it and do backups/restores without going through the hassle of installing masked/unstable/buggy packages, as the mondo-rescue ebuild seems to be ATM. You can find it at ftp://ftp.mondorescue.org/iso/mondorescue.iso (it's there, despite the site saying that it's currently unavailable). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
On Sunday 24 December 2006 18:00, Etaoin Shrdlu wrote: ftp://ftp.mondorescue.org/iso/mondorescue.iso (it's there, despite the site saying that it's currently unavailable). Ok, it's definitely NOT there :) I've been fooled by the fact that after clicking on it the browser was asking me to save the file, but if you actually do, you get could not read from source. Sorry for the wrong info. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Etaoin Shrdlu wrote: On Sunday 24 December 2006 17:04, Dale wrote: Unpacking source... Unpacking mondo-2.10.tgz to /var/tmp/portage/mondo-rescue-2.10/work gzip: stdin: decompression OK, trailing garbage ignored tar: Child returned status 2 tar: Error exit delayed from previous errors !!! ERROR: app-backup/mondo-rescue-2.10 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack mondo-rescue-2.10.ebuild, line 32: Called unpack 'mondo-2.10.tgz' ebuild.sh, line 377: Called die !!! failure unpacking mondo-2.10.tgz !!! If you need support, post the topmost build error, and the call stack if relevant. [EMAIL PROTECTED] / # Now what do we do with that? Also note, it failed the md5 thing before. It did that when I used the --digest option. Something is broke here. Yes, that fails on my box also. Seems the md5 digests are not correct. You can try to resync and see if that solves the problem, or file a bug after that. As a last resort, however, you can try using the mondo-2.2.0 ebuild, available on the project site (of course, put it into an overlay and unmask/keyword things accordingly). There seems to be a LiveCD available for mondorescue, with which you can hopefully try it and do backups/restores without going through the hassle of installing masked/unstable/buggy packages, as the mondo-rescue ebuild seems to be ATM. You can find it at ftp://ftp.mondorescue.org/iso/mondorescue.iso (it's there, despite the site saying that it's currently unavailable). Well, I went back to mondo-rescue-2.04 and it worked for me, finally. uh, this thing is command line though. This may take me a bit to sort out. O_O It sort of got busy when I typed in mondoarchive and was waiting on a GUI. LOL Learning the hard way as usual. That link didn't work but I'm diggin around on the site. It's there somewhere or you wouldn't have found it. LOL Thanks :D :D :D :D
Re: [gentoo-user] [Somewhat OT] Backup software for CDs.
Etaoin Shrdlu wrote: On Sunday 24 December 2006 18:00, Etaoin Shrdlu wrote: ftp://ftp.mondorescue.org/iso/mondorescue.iso (it's there, despite the site saying that it's currently unavailable). Ok, it's definitely NOT there :) I've been fooled by the fact that after clicking on it the browser was asking me to save the file, but if you actually do, you get could not read from source. Sorry for the wrong info. Well, it tells me that it could not change directories. The previous page says it is not available for bandwidth issues. I guess it got to expensive to host. Info was right, just wasn't able to access for one reason or other. Thanks Dale :-) :-) :-)
Re: [gentoo-user] Re: LVM problem
On 12/24/06, Jorge Almeida [EMAIL PROTECTED] wrote: Could you elaborate on this? What init script? Something in /etc/init.d? Something to be managed by rc-update? /sbin/rc starts up lvm volumes, provided you have lvm in RC_VOLUME_ORDER in /etc/conf.d/rc. The actual startup of lvm occurs in /lib/rcscripts/addons/lvm-start.sh. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --resume
On 24/12/06, Daniel Iliev [EMAIL PROTECTED] wrote: First of all - where did my manners go!? ;-( MARRY CHRISTMAS, EVERYONE! I wish you health, happiness and even more fun with our favorite Gentoo! ;- On the subject: Yes, yesterday I woke up with a broken root FS after a power failure. I did fix the FS with a boot CD I did emerge -e system. Afterwards I booted the system on its own and started emerge -e world. During this my cron did emerge --sync. Unfortunately I lost my network connection and emerge -e world stopped on x11-libs/libxklavier-3.0-r1. After my connection was restored I had this message from emerge --resume. So I started emerge -e world again and now it is complete. Also emerge -DuN world gives an empty list therefore I consider my system to be up-to-date with the current portage. The problem is that emerge --resume still gives this never seen before (by me) output. Bottom lines: I want to clear the resume list in order to get back to the normal behavior of emerge --resume P.S. emerge --resume --skipfirst doesn't help - it gives the same message. -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list Ouch! not so merry at this time of yea. Well my understanding of the emerge command is that resume works only on the current/last call to emerge and since you have been through the --emptytree all the way you have nothing to resume. I confess I dont understand the message but I would assume that if you emege something else then the last emege call will be reset and then hopefully resume will be working next time you need it, not sure how you can test to see if resume works unless you try and build a package that is going to fail then try the resume function. stu -- There are 10 types of people in this world: those who understand binary, those who don't --Unknown -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Wrong dependencies to postgresql
On Saturday 23 December 2006 16:54, Enrico Weigelt [EMAIL PROTECTED] wrote about '[gentoo-user] Wrong dependencies to postgresql': since jakub (as always) closes all my bugs, Jakub is pretty bugzilla savvy, are you sure you bugs weren't closed for valid reasons? Sometime he does jump the gun though, so I don't doubt that some of your bugs may be valid -- you can always add more information to the bug and ask for it to be reopened. I'll report the issue to this list before completely giving up and never ever waste a single second on reporting bugs ... Bugzilla is *the only* official channel to get bugs reported so that the developers will fix them. If you don't report your bugs, you'll just have to wait for someone else to report or the developers to accidentally fix the bug while working on something else. Lots of packages have an wrong/unnecessary dependency to postgresql. I don't doubt it. It's generally better to depend on too much rather than too little, and once things are working it's hard to get someone to fix it and run the risk of breaking it further. Three cases: a) probably traditionally depended on the whole postgresql, maybe since before libpq was an own package. ie. qt, dovecot, ... Have you confirmed these actually compile just against libpg? b) many apps (ie. webapps like bugzilla) have postgresql as dep., although they do not need it to be installed. (ie. bugzilla does not have to do anything directly w/ postgresql, since it uses perl-DBD for database access). Of course they maybe want to have access to some postgres database, but this obviously does not need an local server. Are you sure this isn't bringing in postgresql to satisfy some virtual? In all cases, you've confirmed that the dependency is direct and not USE flag controlled? Also, have you patched the ebuild with the changed/removed dependency and then sucessfully installed and run the package on a system *without postgresql* installed? What's the third case? -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpwR39TZn7AH.pgp Description: PGP signature
[gentoo-user] emacs shell color question
G'day, I habitually run emacs shell sessions. When I forget the --color options, for example for the ls and emerge commands, the shell session displays the ascii escape sequences which is pretty ugly. Is there an option for telling emacs to handle escape sequences? Thanks. David -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: LVM problem
On Sun, 24 Dec 2006, Richard Fish wrote: On 12/24/06, Jorge Almeida [EMAIL PROTECTED] wrote: Could you elaborate on this? What init script? Something in /etc/init.d? Something to be managed by rc-update? /sbin/rc starts up lvm volumes, provided you have lvm in RC_VOLUME_ORDER in /etc/conf.d/rc. The actual startup of lvm occurs in /lib/rcscripts/addons/lvm-start.sh. OK, thank you. /etc/conf.d/rc has the default values and so it JustWorks. I suppose that's why I couldn't find anything about this issue in the docs (gentoo+tldp). Cheers. -- Jorge -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge --resume
Stuart Howard wrote: On 24/12/06, Daniel Iliev [EMAIL PROTECTED] wrote: First of all - where did my manners go!? ;-( MARRY CHRISTMAS, EVERYONE! I wish you health, happiness and even more fun with our favorite Gentoo! ;- On the subject: Yes, yesterday I woke up with a broken root FS after a power failure. I did fix the FS with a boot CD I did emerge -e system. Afterwards I booted the system on its own and started emerge -e world. During this my cron did emerge --sync. Unfortunately I lost my network connection and emerge -e world stopped on x11-libs/libxklavier-3.0-r1. After my connection was restored I had this message from emerge --resume. So I started emerge -e world again and now it is complete. Also emerge -DuN world gives an empty list therefore I consider my system to be up-to-date with the current portage. The problem is that emerge --resume still gives this never seen before (by me) output. Bottom lines: I want to clear the resume list in order to get back to the normal behavior of emerge --resume P.S. emerge --resume --skipfirst doesn't help - it gives the same message. -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list Ouch! not so merry at this time of yea. Well my understanding of the emerge command is that resume works only on the current/last call to emerge and since you have been through the --emptytree all the way you have nothing to resume. I confess I dont understand the message but I would assume that if you emege something else then the last emege call will be reset and then hopefully resume will be working next time you need it, not sure how you can test to see if resume works unless you try and build a package that is going to fail then try the resume function. stu Well, I tried emerge mc and I hit ctrl-c in the middle of the process. Then emerge --resume emerged mc. Now emerge --resume gives the same strange message again. ;-) -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [SOLVED] emerge --resume
Etaoin Shrdlu wrote: On Sunday 24 December 2006 19:59, Daniel Iliev wrote: Well, I tried emerge mc and I hit ctrl-c in the middle of the process. Then emerge --resume emerged mc. Now emerge --resume gives the same strange message again. ;-) emerge --resume reads the list of packages to emerge from a binary file located at /var/cache/edb/mtimedb. In your case, that file is probably stale and is likely to contain package names or versions which are not available anymore (I don't know why it's there even after a succesful emerge though). I think that deleting or renaming it will cause emerge to believe that there's nothing to resume. Thank you! Removing that file did the trick. -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Batch resizing of photos
On 12/24/06, Mick [EMAIL PROTECTED] wrote: Hi All, I have a load of photos which I would like to resize running some sort of ImageMagick batch command; e.g. If you manage your photos with F-Spot, there is a cool utility to export your photos to a directory, scaling them in the way if you want to. The directory could be any GNOME VFS URI, so it works with remote directories too. The photos all preserve the EXIF information, which is very cool. -- Canek Peláez Valdés Facultad de Ciencias, UNAM -- gentoo-user@gentoo.org mailing list
[gentoo-user] RE: I'm not getting gentoo list emails anymore?
Something in definitely strange... I turned off my Mailhop Outbound service and sent the mail directly via exim: I tried to subscribe to a list that I know I'm not already in (the osx one). I turned off .procmailrc (no recopies and full logging) daevid exim # grep gentoo /var/log/mail/current Dec 24 13:21:31 [exim] 2006-12-24 13:21:31 1Gyamg-0006aw-2F = [EMAIL PROTECTED] R=dnslookup T=remote_smtp H=lists.gentoo.org [140.105.134.102] Dec 24 13:31:22 [exim] 2006-12-24 13:31:22 1GyawC-0006c2-K7 = [EMAIL PROTECTED] R=dnslookup T=remote_smtp H=mail.gentoo.org [140.211.166.183] X=TLSv1:DHE-RSA-AES256-SHA:256 Dec 24 13:31:22 [exim] 2006-12-24 13:31:22 1GyawC-0006c2-Va = [EMAIL PROTECTED] R=dnslookup T=remote_smtp H=mail.gentoo.org [140.211.166.183] X=TLSv1:DHE-RSA-AES256-SHA:256 I'm running out of ideas. As you can see, NOTHING is coming back to my server. I should at least see something in the log there with an = arrow from the gentoo.org server. I get all other mail from several lists and for several different users on this system. daevid exim # ping gentoo.org PING gentoo.org (204.74.99.100) 56(84) bytes of data. --- gentoo.org ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 4015ms But its not unusual for someone to drop ping packets (I do it too for security reasons) Would the list admin please double check the mlmmj list tools and see if there is some setting for my email address that says 'nomail' or 'suspended' or something like that... Is my email even showing up in the list (or did my unsubscribes go through). Does the list use any kind of RBL? -Original Message- From: Andrea Barisani [mailto:[EMAIL PROTECTED] Sent: Sunday, December 24, 2006 3:36 AM To: Daevid Vincent Cc: [EMAIL PROTECTED] Subject: Re: I'm not getting gentoo list emails anymore? On Fri, Dec 22, 2006 at 02:45:13PM -0800, Daevid Vincent wrote: I had a power outage here in Seattle, WA since last Thursday. Server is finally online. I suspect your mail server suspended or unsubscribed me due to bounces. However, how can I turn it back on? I tried to send messages to [EMAIL PROTECTED] Also tried [EMAIL PROTECTED] And I don't get any emails at all back. Then I tried it from my work account and I do get a 'confirmation' email?! Are you doing some kind of blocking or checking (I hope not) that my email address comes from some certain domain or something? I run a gentoo server on my cable modem at home and use DynDNS Outbound Mail relay (to prevent this very kind of thing, where certain domains like AOL block mail from dynamic IPs) We don't do any kind of specific filtering on our side, so this is not a problem on our end. You might want to wait a few days and see if this changes, it might be just a connectivity issue. Cheers I have been monitoring my /var/log/mail/current and don't see any gentoo emails coming in. As a sanity check, I even turned off my .procmailrc file (the whole thing!) and still nada. daevid mail # grep gentoo * current:Dec 22 14:17:47 [exim] 2006-12-22 14:17:47 1Gxsi2-0002UD-6L = [EMAIL PROTECTED] R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-21-11:12:52:Dec 21 02:11:33 [exim] 2006-12-21 02:11:33 1GxKtg-0005RB-5D = gentoo-user@lists.gentoo.org R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-22-01:05:18:Dec 21 12:14:04 [exim] 2006-12-21 12:14:04 1GxUIm-lT-CG = [EMAIL PROTECTED] H=lists.gentoo.org (robin.gentoo.org) [140.105.134.102] P=esmtp S=4261 [EMAIL PROTECTED] log-2006-12-22-01:05:18:Dec 21 12:19:04 [exim] 2006-12-21 12:19:04 SMTP command timeout on connection from lists.gentoo.org (robin.gentoo.org) [140.105.134.102] log-2006-12-22-09:56:01:Dec 21 22:15:41 [exim] 2006-12-21 22:15:41 1Gxdgw-0003Ql-GT = [EMAIL PROTECTED] R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-22-09:56:01:Dec 21 22:15:41 [exim] 2006-12-21 22:15:41 1Gxdgx-0003Ql-22 = [EMAIL PROTECTED] R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-22-09:56:01:Dec 21 22:16:26 [exim] 2006-12-21 22:16:26 1Gxdhh-0003RB-2s = [EMAIL PROTECTED] R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-22-09:56:01:Dec 21 22:16:26 [exim] 2006-12-21 22:16:26 1Gxdhh-0003RB-Dw = [EMAIL PROTECTED] R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-22-09:56:01:Dec 21 22:17:07 [exim] 2006-12-21 22:17:07 1GxdiG-0003RM-RR = [EMAIL PROTECTED] R=send_to_gateway T=outbound_smtp H=outbound.mailhop.org [63.208.196.171] X=TLSv1:AES256-SHA:256 log-2006-12-22-09:56:01:Dec 21 23:27:02 [exim]
[gentoo-user] which mirror does emerge --sync chose? and why?
Hi, emerge --sync should sync with rsync.gentoo.org, to which many IP adresses (5 at the moment). Here's what host says: # host rsync.gentoo.org rsync.gentoo.org has address 129.79.6.73 rsync.gentoo.org has address 134.68.220.73 rsync.gentoo.org has address 134.68.220.74 rsync.gentoo.org has address 140.211.166.165 rsync.gentoo.org has address 64.127.121.98 The order of the adresses is random, when i rerun the command above. So i _would_ expect, that emerge --sync randomly choses on the the mirrors. But that is not true, and actually, on all my machines, emerge --sync uses always the 64.x.x.x mirror, and on the machine of a friend, it used always 129.x.x.x mirror - well, always is not true, but i run emerge --sync over and over again, and it did never try to use another one. So the thing is, that from my friend's DSL-connection, the server 129.x.x.x was unreachable, while the others were reachable. So we had to change the server manually in /etc/make.conf - but i don't understand, why emerge --sync used the one it was using, and why it didn't switch to one of the other ones. Thanks, Sven BTW: Merry Christmas! signature.asc Description: OpenPGP digital signature
[gentoo-user] RE: I'm not getting gentoo list emails anymore?
Would the list admin please double check the mlmmj list administration tools and see if there is some setting for my email address that says 'nomail' or 'suspended' or something like that... Is my email even showing up in the list (or did my unsubscribes go through). Does the list use any kind of RBL? I looked at the mlmmj site (and that is an extremely generous term for this page http://mlmmj.mmj.dk/), and it had nothing useful in terms of commands I could try -- since 'help' doesn't even respond. Well, according to http://article.gmane.org/gmane.linux.gentoo.user/176367 my last post just went through, so clearly my unsubscribe commands aren't even being received/executed either. Just to verify, I have tried both: [EMAIL PROTECTED] and [EMAIL PROTECTED] (does it matter if I use list. or not?) (And to clarify, I don't wish to actually unsubscribe, I'm merely trying to get mlmmj to reply back to me or clear my 'bits' in case something was toggled to not send me mail) Could the list admin check the /var/log/mail/* logs and look for '[EMAIL PROTECTED]' and see if there are any error messages or anything? Something that might shed some light as to what's happening here. This is very bizarre that I can post to the list a normal email, but not a command one, and not receive back anything. It really feels like something specific to my actual email address and mlmmj. I tried to subscribe via my work account (which I only use for testing as a backup email for situations like this) and I got a response instantly to confirm. *sigh* I'm hoping for a Christmas miracle here... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Wrong dependencies to postgresql
* Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: Hi, Jakub is pretty bugzilla savvy, are you sure you bugs weren't closed for valid reasons? well, after some discussion @ gentoo-dev, it's now a little bit clearer: The bugs are not completely valid yet (but soon will be), since libpq (=8.0.8) is still buggy/incomplete (missing pg_config), so some packages may still need postgresql for building (not runtime). I supplied fixed ebuild to the -dev, but they told me they don't see what I'm fixing ;-o Well, this issue is actually fixed in 8.0.9 (IMHO not completely stabelized yet, but soon), while introducing another, even worse at the same time: libpq-8.0.9 doesn't wanna play w/ postgresql=8.0.8, but postgresql-8.0.9 wants exactly libpq-8.0.9. So there's no clean way to solve this. Someone @ b.g.o suggested completely removing postgres+libpq and installing afresh, but that's an absolutely no-go for production systems (IMHO). Disabling deps for upgrade should work, but is unclean. My fixed ebuild should fit into the gap by adding pg_config to libpq (overwriting the one from postgresql) and changing the postgresql ebuild to be satisfied w/ this libpq version. Sometime he does jump the gun though, Not only at me ? Some bit salving ;-) snip Bugzilla is *the only* official channel to get bugs reported so that the developers will fix them. If you don't report your bugs, you'll just have to wait for someone else to report or the developers to accidentally fix the bug while working on something else. I'll simply do it by myself. I have to maintain my own overlay nevertheless. Maybe I could drop a note to -user if perhaps anyone's interested in my stuff. But I had to learn filing bugs and talking @ -dev are just a waste my (rare+expensive) time. Lots of packages have an wrong/unnecessary dependency to postgresql. I don't doubt it. It's generally better to depend on too much rather than too little, and once things are working it's hard to get someone to fix it and run the risk of breaking it further. Wouldn't be such an problem w/ really cleanroom builds + tests from the first place. Seems, Gentoo isn't made for that. snip Three cases: a) probably traditionally depended on the whole postgresql, maybe since before libpq was an own package. ie. qt, dovecot, ... Have you confirmed these actually compile just against libpg? I'm still in the process. The lack of automatic cleanroom builds requires me to install an minimal jail before each build. (most of my gentoo systems actually have postgresql server running) b) many apps (ie. webapps like bugzilla) have postgresql as dep., although they do not need it to be installed. (ie. bugzilla does not have to do anything directly w/ postgresql, since it uses perl-DBD for database access). Of course they maybe want to have access to some postgres database, but this obviously does not need an local server. Are you sure this isn't bringing in postgresql to satisfy some virtual? Which virtual should it be ? And why ? In all cases, you've confirmed that the dependency is direct and not USE flag controlled? Of course, it is controlled by the postgresql useflag. But that doesn't make it better. Bugzilla does not need an local postgres server. And I didn't find any sign that it needs pg_config, so this current libpq bug also shouldn't be an issue. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.0.8-r2.ebuild,v 1.12 2006/07/30 22:32:28 chtekk Exp $ inherit eutils gnuconfig flag-o-matic toolchain-funcs DESCRIPTION=Libraries of postgresql HOMEPAGE=http://www.postgresql.org/; MY_P=postgresql-${PV} SRC_URI=mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 LICENSE=POSTGRESQL SLOT=4 KEYWORDS=alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 IUSE=ssl nls pam readline zlib kerberos #pg-hier S=${WORKDIR}/${MY_P} DEPEND=virtual/libc sys-devel/autoconf =sys-libs/ncurses-5.2 =sys-devel/bison-1.875 zlib? ( =sys-libs/zlib-1.1.3 ) pam? ( virtual/pam ) readline? ( =sys-libs/readline-4.1 ) ssl? ( =dev-libs/openssl-0.9.6-r1 ) nls? ( sys-devel/gettext ) kerberos? ( virtual/krb5 ) RDEPEND=virtual/libc zlib? ( =sys-libs/zlib-1.1.3 ) ssl? ( =dev-libs/openssl-0.9.6-r1 ) kerberos? ( virtual/krb5 )
[gentoo-user] anti-portage wreckage?
Hi! I know I don't post here much but I read it a lot and have been using Gentoo for several years now. I keep seeing users mention about how they do an update and then everything goes to crap. I've experienced this myself quite a bit too. I believe the reason this happens is the drawback one of Gentoo's nicest features; constantly being up to date. In contrast to Gentoo, most distros have a new version released every year or so which includes major updates like new kernels, sound drivers, updated software, etc. In Gentoo, the system is updated while you are using it. This causes us users to modify whatever we're running to suit all these changes. Take for instance some recent packages that have had updates, like PHP, mysql, and apache. All three of these have had major updates at almost the exact same time. And then on the desktop side, we've had to deal with the whole xorg going modular thing and other similar updates, also at the same time. This can be quite a headache on a live system, especially when you have multiple systems. Like, it's easier to mask the new versions and just stick with the minor updates (like mysql 4.0.x, instead of going from 4.0 to 4.1 or 5), but this also leaves the users with having to manage all of these masks for multiple systems. Anyways, my question is that since we have profiles, like 2006.1 currently, why can't we do something like restrict versions of apps to specific profiles? I'd rather be able to specify that I'm using like the 2005 profile, and then when I try to do emerge -u world, I don't have to deal with my applications going from one major version to another major version all by themselves and then breaking with no easy way to revert back. This is pretty much similar to how Red Hat works with up2date. That way the community wouldn't have to worry about dealing with older installs since they could drop support for them after a while. Also, us users can miss a month or so of updates and not have to worry about updating 500 config files only to realize the new version of mysql just broke like 20 other applications and won't even start because it's using the old config. Please tell me there's some solution to this? I haven't seen one mentioned anywhere yet. Even with Gentoo's occasional problems, I like it too much to use any other distro but I'd definitely like to see better version management than what its got, which is none.
Re: [gentoo-user] anti-portage wreckage?
I have been using gentoo for over 5 years. For the first few years I would sync and update every few days or once a week. Now I may do it once every 6 months. I waited until the modular xorg kind of calmed down and there were some good howto's and I updated then. I have 4 boxes here two that are web servers and I have just gotten to lazy. -- Powered by Gentoo/Linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] anti-portage wreckage?
Yeah, the documentation is one of the many great things about Gentoo. I just wish the software was a little more proactive in fixing update problems. On 12/24/06, david [EMAIL PROTECTED] wrote: I have been using gentoo for over 5 years. For the first few years I would sync and update every few days or once a week. Now I may do it once every 6 months. I waited until the modular xorg kind of calmed down and there were some good howto's and I updated then. I have 4 boxes here two that are web servers and I have just gotten to lazy. -- Powered by Gentoo/Linux -- gentoo-user@gentoo.org mailing list
[gentoo-user] gtk+ / Cairo / pdf-flag mutual build problem.
Did an emerge --sync and emerge --ask --deep --update --world. When emerge got to x11-libs/gtk+-2.10.6, the following happened... checking for cups-config... /usr/bin/cups-config checking cairo-pdf.h usability... no checking cairo-pdf.h presence... no checking for cairo-pdf.h... no configure: error: *** Can't find cairo-pdf.h. You must build Cairo with the pdf *** backend enabled. Probably because I start off USE with a -*. Should be an easy fix, insert x11-libs/cairo pdf into /etc/portage/package.use and rebuild Cairo, then proceed with the emerge... *BUT*... [m3000][root][~] emerge -pv cairo These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/cairo-1.2.4 USE=X png -directfb -doc -glitz -svg (-pdf%) 0 kB Oops... note the (-pdf%). This option is simply not allowed for Cairo on my system. I threw in --skipfirst into the emerge command, and it seems to be working so far. But back to my main problem... how do I reconcile gtk+ and Cairo? -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://techsec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT, but short
I'm using Residential SBC/Yahoo DSL and DynDNS and they don't block anything inbound. I guess since they're blocking Joe's traffic, it's sort of a hit or miss with SBC or Yahoo or ATT or whoever it is now. On 12/23/06, Michael Sullivan [EMAIL PROTECTED] wrote: Is anyone out there using Residential SBC/Yahoo DSL with dynamic DNS? I want to know if the ISP blocks incoming requests to your servers if you're not paying them the rate for a static IP... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] anti-portage wreckage?
On Mon, 25 Dec 2006 04:52:55 +0300, Mike Myers [EMAIL PROTECTED] wrote: In Gentoo, the system is updated while you are using it. This causes us users to modify whatever we're running to suit all these changes. As far as I know, Gentoo releases a Reference Platform twice a year. So, you can upgrade twice a year, once a year, once in two years - all as you please. It will be similar to other distros, but better. I'd rather be able to specify that I'm using like the 2005 profile, and then when I try to do emerge -u world, I don't have to deal with my applications going from one major version to another major version all by themselves and then breaking with no easy way to revert back. As discussed recently in another thread of this list, there are ways to get back easily, backup of the portage tree being one of them. However, I guess your problem can be solved easier - just do not do -u world. Since its goal is exactly to produce what you do not want, why should you? How many packages do you really want to be the latest? If there are a few, it is easy to update them individually; if there are many, you may create a virtual package in the overlay and update it. I do not here much about upgrade really breaking a Gentoo installation. If it did, then a fresh install also would be broken, an extremely rare case with stable arch. Thus, if something does not work after upgrade, then configuration files are out of order. Gentoo already has everything necessary to examine them one by one and fix as necessary. Please tell me there's some solution to this? I haven't seen one mentioned anywhere yet. Even with Gentoo's occasional problems, I like it too much to use any other distro but I'd definitely like to see better version management than what its got, which is none. As far as I understand, no, there is no solution. If you upgrade any software, you have to upgrade the dependencies and configuration. All that can be offered, and is offered by many distros, is the upgrade option that should work if you installed the distro and did not change anything. Even that does not work pretty often, please read the reviews. For a Gentoo user the reason is evident - they do not have dispatch-conf. Some vendors have already stopped bragging that an upgrade does not break anything, example - Vista. -- Andrei Gerasimenko -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: emacs shell color question
David Relson [EMAIL PROTECTED] writes: G'day, I habitually run emacs shell sessions. When I forget the --color options, for example for the ls and emerge commands, the shell session displays the ascii escape sequences which is pretty ugly. Is there an option for telling emacs to handle escape sequences? Does the problem persist if you use `eshell' instead of shell? (M-x eshell RET) -- gentoo-user@gentoo.org mailing list