Re: [gentoo-user] best circuit drawing software
Try geda On Fri, Feb 29, 2008 at 4:15 PM, maxim wexler [EMAIL PROTECTED] wrote: I need to post some drawings of a circuit I'm working on to an electronics group.
[gentoo-user] SATA kernel messages
I am constantly getting errors like this. I don't think it is a problem with the drive although it might be. I have seen hard resetting port messages through my google searches but often they are associated with an error of some sort. I'm using 2.6.19. Anyone else have any experience with this? Apr 16 01:44:19 sonata kernel: ata1: hard resetting port Apr 16 01:44:20 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 01:44:24 sonata kernel: ata1: hard resetting port Apr 16 01:44:25 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 01:44:25 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 01:44:25 sonata kernel: ata1: EH complete Apr 16 01:44:25 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 01:44:25 sonata kernel: sda: Write Protect is off Apr 16 01:44:25 sonata kernel: SCSI device sda: drive cache: write back -- David Grant http://www.davidgrant.ca
Re: [gentoo-user] SATA kernel messages
On 4/16/07, Daniel Pielmeier [EMAIL PROTECTED] wrote: 2007/4/16, David Grant [EMAIL PROTECTED]: I am constantly getting errors like this. I don't think it is a problem with the drive although it might be. I have seen hard resetting port messages through my google searches but often they are associated with an error of some sort. I'm using 2.6.19. Anyone else have any experience with this? Apr 16 01:44:19 sonata kernel: ata1: hard resetting port Apr 16 01:44:20 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 01:44:24 sonata kernel: ata1: hard resetting port Apr 16 01:44:25 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 01:44:25 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 01:44:25 sonata kernel: ata1: EH complete Apr 16 01:44:25 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 01:44:25 sonata kernel: sda: Write Protect is off Apr 16 01:44:25 sonata kernel: SCSI device sda: drive cache: write back I also had this kind of problem after setting up my new pc from components. To fix it i checked the connections of my sata cables which were not connected tightly. Maybe you have the same problem. Thanks for the tip. Actually I should have been looking at syslog rather than messages because syslog does show the error: Apr 16 08:54:45 sonata kernel: ata1: exception Emask 0x10 SAct 0x0 SErr 0x9 action 0x2 frozen Apr 16 08:54:45 sonata kernel: ata1: hard resetting port Apr 16 08:54:45 sonata kernel: ata1: COMRESET failed (device not ready) Apr 16 08:54:45 sonata kernel: ata1: hardreset failed, retrying in 5 secs Apr 16 08:54:50 sonata kernel: ata1: hard resetting port Apr 16 08:54:51 sonata kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Apr 16 08:54:51 sonata kernel: ata1.00: configured for UDMA/100 Apr 16 08:54:51 sonata kernel: ata1: EH complete Apr 16 08:54:1 sonata kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Apr 16 08:54:51 sonata kernel: sda: Write Protect is off Apr 16 08:54:51 sonata kernel: sda: Mode Sense: 00 3a 00 00 Apr 16 08:54:51 sonata kernel: SCSI device sda: drive cache: write back -- David Grant http://www.davidgrant.ca
Re: [gentoo-user] newer alsa-lib and .asoundrc
On 10/19/06, Richard Fish [EMAIL PROTECTED] wrote: On 10/19/06, David Grant [EMAIL PROTECTED] wrote: In the elog or ewarn message for alsa-lib there is now a warning about having an old .asoundrc file laying around. Does this mean that we don't even need .asoundrc anymore? I have gotten rid of mine and things do seem to be working.That's correct.Newer versions of alsa have built-in configurationsthat automatically enable the dmix and dsnoop plugins when necessary. This is awesome. alsa pretty much works just like you want right out of the box now.Dave-- David Granthttp://www.davidgrant.ca
[gentoo-user] newer alsa-lib and .asoundrc
In the elog or ewarn message for alsa-lib there is now a warning about having an old .asoundrc file laying around. Does this mean that we don't even need .asoundrc anymore? I have gotten rid of mine and things do seem to be working. I also emerged alsa-driver without the oss USE flag and firefox seems to be working and can even play flash videos while amarok and mpg321 are also playing at the same time.-- David Grant http://www.davidgrant.ca
Re: [gentoo-user] partition scheme
I'd like to share mine with the world: Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1490439391348+ 7 HPFS/NTFS /dev/sda249054917 104422+ 83 Linux /dev/sda349185161 1959930 82 Linux swap / Solaris /dev/sda45162 30401 2027403005 Extended /dev/sda55162 1002539070079+ 83 Linux /dev/sda6 10026 1488939070079+ 8e Linux LVM /dev/sda7 14890 1975339070079+ 8e Linux LVM /dev/sda8 19754 2461739070079+ 8e Linux LVM /dev/sda9 24618 2948139070079+ 83 Linux /dev/sda10 29482 30401 7389899+ 83 Linux # df FilesystemSize Used Avail Use% Mounted on /dev/sda5 38G 258M 38G 1% / udev 442M 184K 442M 1% /dev /dev/sda2 99M 15M 79M 16% /boot /dev/mapper/vg-opt 30G 3.2G 27G 11% /opt /dev/mapper/vg-usr 20G 7.7G 13G 39% /usr /dev/mapper/vg-home20G 5.5G 15G 28% /home /dev/mapper/vg-var 20G 12G 8.6G 58% /var /dev/mapper/vg-tmp 10G 356M 9.7G 4% /tmp shm 442M 0 442M 0% /dev/shm sda6-sda10 are all separate partitions so that I have the flexibility to throw them into the LVM if I want or use them for something else later. Dave On 10/16/06, Thufir [EMAIL PROTECTED] wrote: For hdb, what's a good partitioning scheme? I want to go with reiser, and keep the vfat (for win2k). I have 512MB RAM, should I change the swap size? Is there a big advantage to using LVM versus just a regular root partition? I figure I'll use hda just for storage of stuff prior to burning to disc. For a little while, I'll have a triple boot system. [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# parted GNU Parted 1.7.1 Using /dev/hda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print all Disk /dev/hda: 80.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End SizeType File system Flags 1 32.3kB 107MB 107MB primary ext3 boot 2 107MB 80.0GB 79.9GB primary lvm Disk /dev/hdb: 30.8GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End SizeType File system Flags 1 32.3kB 11.7GB 11.7GB primary fat32boot, lba 2 11.7GB 11.8GB 107MB primary ext2 3 11.8GB 12.3GB 452MB primary linux-swap 4 12.3GB 30.7GB 18.4GB primary ext3 Error: Unable to open /dev/md0 - unrecognised disk label. Warning: Unable to open /dev/fd0 read-write (Read-only file system). /dev/fd0 has been opened read-only. Error: Unable to open /dev/fd0 - unrecognised disk label. (parted) quit Information: Don't forget to update /etc/fstab, if necessary. [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# date Tue Oct 17 07:37:56 IST 2006 [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# thanks, Thufir -- gentoo-user@gentoo.org mailing list -- David Grant http://www.davidgrant.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Possible new gentoo user
On 10/1/06, Hemmann, Volker Armin [EMAIL PROTECTED] wrote: On Sunday 01 October 2006 20:08, Terry Eck wrote: I've been a SuSE user for several years now currently running 10.0. I'm interested in giving gentoo a try with the object of converting from SuSE to gentoo. I've been looking at this list for a couple of weeks and have determined that there may be a steep learning curve on my part converting. Any words of advice on getting up to speed using gentoo before I install it. Thanks for any advice you might be able to give me. well, read the documentation on gentoo.org. Handbook, installationinstructions.If it seems to complicated to you, don't do the switch. But if youthink 'well, I might be able to do it', try it. Backup your suse forst, of course.I agree, just read the handbook over the course of a few days or however long it takes you. If you understand most of it (or if you didn't understand it before reading the handbook but you do afterwards) and you think it sounds easy to you, then everything else should be easy. -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] MythTV 0.20 ebuild
On 9/27/06, Bryce Verdier [EMAIL PROTECTED] wrote: I've had it up for a couple of days. Nothing seriously wrong yet.Although, watching live TV on my box is a little choppier now... forsome reason. The chmod +s mythfrontend did help, but its still not fluid on the live tv playback (i have pvr-250).Hmm, I have never heard of the chmod +s mythfrontend trick. Speaking of Mythtv, does anyone else have problems with mythbackendstarting ONLY with the init scripts (if i call it manually it startsjust fine)?Mine will start with the init script or without, just fine. Dave-- David Granthttp://www.davidgrant.ca
[gentoo-user] Looking for a non-ndiswrapper USB NIC
Can anyone recommend a good non-ndiswrapper USB wireless 802.11g NIC?Thanks,-- David Granthttp://www.davidgrant.ca
[gentoo-user] Re: [gentoo-dev] baselayout-1.12.5 sucks
Try:RC_HOTPLUG=noRC_COLPLUG=noRC_NET_STRICT_CHECKING=nodoing that I think will give you what you want.DaveOn 9/25/06, Noack, Sebastian [EMAIL PROTECTED] wrote: Hi,at the weekend I upgraded to baselayout-1.12.5. And this is the worseversion of baselayout since I'm using Gentoo.The first reason therefore is, that the kernel log is spamming to yourconsole all the time, because of the loglevel doesn't become set to 1 anymore.The workaround is to hack /etc/init.d/checkroot to call `dmesg -n 1` onstartup, even though in /etc/conf.d/rc is a variable RC_DMESG_LOGLEVELwhich is set to 1 by default, but it doesn't affect anything. The other reason is, that independent from which net.*-scripts areattached to a runlevel, at least one net.*-script besides net.lo becomesstarted according to RC_NET_STRICT_CHECKING=no [1] in /etc/conf.d/rc. Such behaviour shouldn't be the default. If I want a distro whereanything happens automatically, I would use Ubunto or Suse. Furthermoreit isn't even possible to stop this behaviour by settingRC_NET_STRICT_CHECKING to none or lo [1]. The workaround therefore is to set RC_PLUG_SERVICES=!net.* in/etc/conf.d/rc.But however, the best workaround would be the following I guess. :)echo ~sys-apps/baselayout-1.12.5 /etc/portage/package.maskIf I just misunderstood the new configurations of baselayout-1.12.5,feel free to answer, before other people apply my bad workarounds. ;)[1]# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service. # The following values are allowed:#none- The 'net' service is always considered up.#no- This basically means that at least one net.* service besidesnet.lo#must be up.This can be used by notebook users that have a wifi and#a static nic, and only wants one up at any given time to havethe#'net' service seen as up.#lo- This is the same as the 'no' option, but net.lo is alsocounted. #This should be useful to people that do not care about anyspecific#interface being up at boot.#yes - For this ALL network interfaces MUST be up for the 'net'service to#be considered up. RegardsSebastian Noack--gentoo-dev@gentoo.org mailing list-- David Grant http://www.davidgrant.ca
Re: [gentoo-user] What is the preferred gentoo way to list all packages w/ multiple versions installed?
On 9/18/06, Wolfgang Liebich [EMAIL PROTECTED] wrote: Hi,I have an older gentoo systen which accumulated some cruft over the time- I have to clean it up :-)I want to list all installed SLOTTED packages where more than oneversion is installed. The old (deprecated) qpkg had the option --dups. What is the new! shiny! way of doing that?:-)Try dep from udept (from ecatmur's overlay). Use layman to get it:emerge -va laymanlayman -a ecatmuremerge -va udeptdep --help --David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Update to glibc-2.4-r3 with gcc-3.4.6
I did and I totally screwed up my system. I managed to fix it eventually by booting to a live CD and untaring the quickpkg I made into the / directory.I might have done something wrong to cause this but I'm not sure what it was. Anyways, make sure you do quickpkg before hand, and secondly, don't do it until you get some responses back from others who did it succesfully. DaveOn 9/15/06, Remy Blank [EMAIL PROTECTED] wrote: Has anybody tried updating glibc to the latest stable 2.4-r3, butwithout also updating gcc to 4.1.1? Any problems?From the ebuild, =sys-devel/gcc-3.4.4 should be supported.I'd like to do the updates separately if possible. Thanks.-- RemyRemove underscore and suffix in reply address for a timely response.--gentoo-user@gentoo.org mailing list -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Re: Update to glibc-2.4-r3 with gcc-3.4.6
On 9/15/06, Remy Blank [EMAIL PROTECTED] wrote: David Grant wrote: I did and I totally screwed up my system. I managed to fix it eventually by booting to a live CD and untaring the quickpkg I made into the / directory.Yes, I saw your posts on bug 125868 [1]. ... and secondly, don't do it until you get some responses back from others who did it succesfully.Well, I did it anyway (had a bit of time on my hands). And surprise, Ihad the exact same symptoms as the bug above, i.e. a relocation errorbefore unmerging the previous glibc-2.3.6-r4. But everything was stillworking ok.So I did *not* panic ;-) and just emerged glibc-2.4-r3 a second time (Ihad made a binary package, so this was quite fast), and this time the previous glibc was unmerged correctly. I suppose an emerge --prune wouldalso have worked. Your problem was most likely due to your havingunmerged glibc-2.4, which left you with a system without glibc. Is that what I said I did in the bug report? Ok, I did do something wrong. :-) Well for my MythTV box (the one I screwed up) I'll be waiting probably 6 months to a year to upgrade just to make sure there are no problems. Actually I'll probably just leave the new glibc and gcc hard-masked until I am forced to upgrade due to the old one being removed from portage or due to a dependancy. -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Boring new startup look with baselayout 1.12
On 9/15/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Fri, 15 Sep 2006 17:07:21 -0700, Daevid Vincent wrote: Thanks, yes, that did fix it. However it's strange b/c I have had PARALLEL on for years ever since I first learned of it. Only with this new baselayout did the loading change to this other way of displaying it. Hmm...Because the startup scripts are no longer running sequentially, the OKresponses make little sense, as they won't necessarily appear i the same order and the scripts are run. Um, but the OK could appear after a script finishes succesfully.-- David Granthttp://www.davidgrant.ca
[gentoo-user] vixie-cron and ssmtp
Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab). And on the command line, I see the same thing either way: Sep 14 14:43:01 sonata cron[16727]: (david) CMD (/home/david/scripts/encryptPass.pl)Sep 14 14:43:01 sonata cron[16725]: (root) CMD (/home/david/scripts/encryptPass.pl)Sep 14 14:43:02 sonata sSMTP[16728]: Sent mail for [EMAIL PROTECTED] (221 2.3.0 Bye received. Goodbye.)Sep 14 14:43:02 sonata sSMTP[16729]: Sent mail for [EMAIL PROTECTED] (221 2.3.0 Bye received. Goodbye.)Can anyone else repeat this behaviour?-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend?
First things first, what version of Gnome is your Ubuntu screenshot from, and which version of Gnome in Gentoo are you using?DavidOn 9/14/06, Alexander Skwar [EMAIL PROTECTED] wrote: Hi!When I logout of Gnome in Ubuntu (to start Gentoo *G*), I get thefollowing dialog: http://www.myimg.de/?img=gnomelogoutc2e.gifThat dialog has a lot more options than the dialog shown in Gentoo. In Gentoo, I do not have Ruhezustand (Hibernate) and the dialoglooks a lot simpler.What do I have to do, to get the Ubuntu gnome logout dialog inGentoo as well?Thanks,Alexander Skwar --Knghtbrd Yorick: no problem with indexed color palettes for images, as long as you can pick the paletteYorick Obviously the people creating quake were colour-blind but that doesn't mean you have to be --gentoo-user@gentoo.org mailing list-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] OT developing C code using Elcipse
On 9/14/06, James [EMAIL PROTECTED] wrote: Hello,We have several assembler/C programmers who currently use windows to developembedded software for microprocessors. I'd like to migrate those folksto using Eclipse (or whatever) on Gentoo. Why? It'd be really wonderful if there was a BOOK showing C programmers (not JAVA or any other OO language) how to use Eclipse. The examples needto be in C cause as soon as I show them Java or any other OO examples,that puts an immediate end to the venture ..As a secondchoice maybe some wiki or something on the web. All I seem to be able to find is OO examples, such as Java.Alternatively, another robust IDE that works on Gentoo could beconsidered, if a book or wiki or examples exist. Um, emacs isnot an option. Try anjuta or kdevelop. An IDE that runs on gentoo and can interface to a JTAG would be keen.Good luck finding one that interacts with JTAG.-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Compile failure: libdv-102
The place you want to check is http://bugs.gentoo.orgOn 9/12/06, Meino Christian Cramer [EMAIL PROTECTED] wrote:Hi, there are a few package, which do not compile after I did the step to gcc-4.1.1. The third of those packages is: libdv-0.102 With -j3 set the output is: if /bin/sh ../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT YUY2.lo -MD -MP -MF .deps/YUY2.Tpo \-c -o YUY2.lo `test -f 'YUY2.c' || echo './'`YUY2.c; \then mv -f .deps/YUY2.Tpo .deps/YUY2.Plo; \else rm -f .deps/YUY2.Tpo; exit 1; \ fi/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:Assembler messages:/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1464:Error: suffix or operands invalid for `paddb' /home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1479:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1509:Error: suffix or operands invalid for `paddb' /home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1524:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1794:Error: suffix or operands invalid for `paddb' /home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1817:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1844:Error: suffix or operands invalid for `paddb' /home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1867:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2373:Error: suffix or operands invalid for `paddb' /home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2388:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2418:Error: suffix or operands invalid for `paddb' /home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2433:Error: suffix or operands invalid for `paddb'make[3]: *** [YUY2.lo] Error 1make[3]: Leaving directory`/home/mccramer/data/portagetmp/portage/libdv- 0.102/work/libdv-0.102/libdv'make[2]: *** [all] Error 2make[2]: Leaving directory`/home/mccramer/data/portagetmp/portage/libdv-0.102/work/libdv-0.102/libdv'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/mccramer/data/portagetmp/portage/libdv-0.102/work/libdv-0.102'make: *** [all] Error 2!!! ERROR: media-libs/libdv-0.102 failed.Call stack:ebuild.sh, line 1546: Called dyn_compileebuild.sh , line 937: Called src_compilelibdv-0.102.ebuild, line 39: Called die!!! compile problem!!! If you need support, post the topmost build error, and the call stack if relevant.Without -j3 set the symptoms are the same. If there are more infos needed to trace down the problem,please email me.Kind regards,mcc--gentoo-user@gentoo.org mailing list -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Setup questions for dedicated media center box.
On 9/10/06, Walter Dnes [EMAIL PROTECTED] wrote: A few weeks ago, I got a new AMD machine, and I specified themotherboard that came with the Geforce 6150 video chip onboard.Iunderstand that hardware acceleration works with it.Separately, I also ordered a PCHDTV card ( http://pchdtv.com ) and a PCI modem.I intendto use the machine to record/playback TV broadcasts.I got busy with afew other things, but finally got around to installing console-only Gentoo (2006.1) this weekend.Now for the setup questions.In the portage x11-base directory, I seekdriveopengl-updatex11-drmxdirectfbxorg-serverxorg-x11I presume xorg-x11 is the standard X. Yep, that's all you need. Here's some more information.http://www.gentoo.org/doc/en/xorg-config.xml http://gentoo-wiki.com/HOWTO_Setup_X_for_MythTVhttp://en.wikibooks.org/wiki/NVidia/TV-OUThttp://gentoo-wiki.com/Xorg I've gotten into the habit ofemerging a GUI app onto a console-only system, and X never shows up in world.It gets pulled in as a dependancy.Will this cause problemsif I want to use hardware acceleration?No, it's still installed, so what do you care if it isn't in world? Is x11-drm a direct-renderingversion that's faster than standard X? I'm not sure, but I didn't need it and I've never heard of it.Don't forget to emerge nvidia-drivers for opengl hardware acceleration. I'll probably be using mplayerheavily, unless a showstopper comes along.Using mplayer to watch TV? Why not use mythtv? Is SVGA any faster than X?I have no idea but I'm pretty sure that's like asking if apples are better than oranges. :-) Since this'll be a single-purpose dedicated box, connecting to the netonly for updates, I have no problem running it as root full-time.Bad idea.-- David Grant http://www.davidgrant.ca
Re: [gentoo-user] vixie-cron and ssmtp
On 9/14/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab).You seem to be contradicting yourself here; first you say user cron jobsdon't send mail, then you say they send mail to root. Which is it? Well I'm not contradicting myself intentionally... I should have been more clear. I'll do a better job this time:Cron is trying to send out an email for jobs run as user root to and succeeding. Cron is also trying to send out an email for jobs run as a normal user but it seems to fail at this. Both cron jobs (whether run as user root or normal user) are both trying to send the email to the root user. Either way, the solution may be to set MAILTO in your user's crontab. I could try this, although I as I said it seems like both jobs run as root and normal user are both being sent to user root (according to the MAILTO)-- David Grant http://www.davidgrant.ca
Re: [gentoo-user] vixie-cron and ssmtp
On 9/14/06, David Grant [EMAIL PROTECTED] wrote: On 9/14/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab).You seem to be contradicting yourself here; first you say user cron jobsdon't send mail, then you say they send mail to root. Which is it? Well I'm not contradicting myself intentionally... I should have been more clear. I'll do a better job this time:Cron is trying to send out an email for jobs run as user root to and succeeding. Cron is also trying to send out an email for jobs run as a normal user but it seems to fail at this. Both cron jobs (whether run as user root or normal user) are both trying to send the email to the root user. Either way, the solution may be to set MAILTO in your user's crontab. I could try this, although I as I said it seems like both jobs run as root and normal user are both being sent to user root (according to the MAILTO) Hmm, it turns out that setting MAILTO=root in my own user's crontab makes it send mail. MAILTO=root is already in /etc/cron/crontab by the way so this is all very strange.-- David Grant http://www.davidgrant.ca
Re: [gentoo-user] vixie-cron and ssmtp
On 9/14/06, David Grant [EMAIL PROTECTED] wrote: Hmm, it turns out that setting MAILTO=root in my own user's crontab makes it send mail. MAILTO=root is already in /etc/cron/crontab by the way so this is all very strange. I tried setting MAILTO=david and that didn't work. I decided ssmtp might be the problem, so I isolated it and tried this:1. echo test |mail -s testing ssmtp to external [EMAIL PROTECTED]2. echo test |mail -s testing ssmtp mail to root root3. echo test |mail -s testing ssmtp mail to david david4. echo test |mail -s testing ssmtp mail to sarah sarah 1. The first one worked. So ssmtp can send to external addresses fine. 2. The second one worked. So ssmtp can look at the root= command (which tells it where to send mail to user ids 1000) properly and send to whatever root= is set to.3. The third one didn't work. So for some reason I can't send mail to a normal user. But maybe something is weird with that user. I used to run a mail server on this machine with that user (postfix/procmail/blah/blah/blah) so maybe some leftover thing was screwing things up. 4. Sending mail to this user didn't work either. The users in 3. and 4. are both in /etc/ssmtp/revaliases. User 3 is in the 'mail' group (does that even matter) and I tried user 4. with and without that user in the revaliases file. It looks like maybe ssmtp isn't seeing my revaliases file? Or maybe I'm not using is properly?david:[EMAIL PROTECTED]:smtp.vc.shawcable.netsarah:[EMAIL PROTECTED] :smtp.vc.shawcable.net-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] annoying delivery status notifications
On 9/14/06, darren kirby [EMAIL PROTECTED] wrote: quoth the David Grant: Is anyone else getting: This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] every time they send an email to gentoo-user@gentoo.org?I am. Seems D Cagnetta should unsubscribe... It seems the list should be set up in such a way that every user doesn't get one of those in reply.-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] annoying delivery status notifications
On 9/14/06, Iain Buchanan [EMAIL PROTECTED] wrote: On Thu, 2006-09-14 at 18:35 -0700, David Grant wrote: On 9/14/06, darren kirby [EMAIL PROTECTED] wrote: quoth the David Grant: Is anyone else getting: This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] every time they send an email to gentoo-user@gentoo.org? I am. Seems D Cagnetta should unsubscribe... It seems the list should be set up in such a way that every user doesn't get one of those in reply. it's not the list's fault - unless the list were to mangle your Fromaddres, which is A Bad Thing (TM)!That's true. The bounces are coming from CagnettaD's mail server, for whatever reasonthey're rejecting us :(Can he be unsubscribed by the maintainers/moderators?-- David Grant http://www.davidgrant.ca
[gentoo-user] revdep-rebuild wants to re-emerge gcc-4.1.1 endlessly
revdep-rebuild keeps wanting to re-emerge gcc-4.1.1 over and over again. Is anyone else seeing this?-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] revdep-rebuild wants to re-emerge gcc-4.1.1 endlessly
On 9/13/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: Well, what have you actually done with this? I mean it tells you to recompileall of the following:# emerge -va1\=sys-devel/gcc-4.1.1 \=dev-libs/libpqxx- 2.5.1\=media-libs/xine-lib-1.1.2-r2\=media-plugins/libvisual-plugins-0.2.0 \=media-video/vlc-0.8.5-r5Did you not try to recompile them? Or did they all fail for you? Or did you just give up when libpqxx failed? You know nothing prevents you fromkeywording libpqxx-2.5.5 (don't you know how to do that?) or running:# emerge --skipfirstYeah I know how to do all these things. I have done emerge -1 gcc (still shows up in revdep-rebuild) after emerging, I have rebuilt vlc and libvisual-plugins and xine-lib, libpgqxx does indeed fail. -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] revdep-rebuild wants to re-emerge gcc-4.1.1 endlessly
On 9/13/06, Richard Fish [EMAIL PROTECTED] wrote: On 9/13/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: to compile the rest...? In short: If you want help you really should provide more info about what you have done and where you didn't know what to do...! In addition to what Bo said, you have a lot of broken .la files.Morethan likely, these are files that fix_libtool_files.sh modified, soportage didn't remove them when the associated packages got upgraded or removed.So for each of the broken .la files, you should do a equery belongsfoo.la.If nothing owns the file, remove it.Looks like most of these are not owned by anything. I'll start deleting them. -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] revdep-rebuild wants to re-emerge gcc-4.1.1 endlessly
On 9/13/06, David Grant [EMAIL PROTECTED] wrote: On 9/13/06, Richard Fish [EMAIL PROTECTED] wrote: On 9/13/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: to compile the rest...? In short: If you want help you really should provide more info about what you have done and where you didn't know what to do...! In addition to what Bo said, you have a lot of broken .la files.Morethan likely, these are files that fix_libtool_files.sh modified, soportage didn't remove them when the associated packages got upgraded or removed.So for each of the broken .la files, you should do a equery belongsfoo.la.If nothing owns the file, remove it. Looks like most of these are not owned by anything. I'll start deleting them. Doing that and also re-emerging gcc without the gcj use flag seemed to fix everything. Now my revdep-rebuild runs clean. And I accidentally deleted lipqxx so that doesn't show up either. :-) -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] Getting ELOG to sent to an smtp server with ssl
On 9/1/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Friday 01 September 2006 00:31, David Grant wrote: Anyone know how to get elog to send mail to an smtp server with ssl on port 465? I know it does starttls if you use 100465 as the port, but this server at work just does ssl with login authentication, no tls or starttls. I tried getting it to work, but no dice.Did you try:PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] user:[EMAIL PROTECTED]:465Yeah, but I found that using sendmail (ssmtp) was actually easier especially since ssmtp was already set up.-- David Grant http://www.davidgrant.ca
[gentoo-user] Re: [gentoo-dev] Why you use Gentoo
On 9/7/06, Chris White [EMAIL PROTECTED] wrote: All responses off list please. Please people, it's common sense to read emails before you reply to them. :-)-- David Granthttp://www.davidgrant.ca
[gentoo-user] xmame with 2 joysticks
Anyone know how to get xmame to recognize two joysticks at /dev/input/js0 and /dev/input/js1?-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] installing mono
By the way, hugin does not depend on mono, autopano-sift depends on mono. If hugin depends on autopano-sift or hugin, then that is a bug. Looks like it does depend on autopano-sift, but it probably shouldn't as it is not required. DaveOn 9/5/06, Stefán István [EMAIL PROTECTED] wrote: Hello,I want to install hugin which depends on mono, and during the installation ofmono-1.1.13.2 I get this error:** (./class/lib/monolite/mcs.exe:1463): CRITICAL **:_wapi_shm_semaphores_init: semget error: Nincs hely az eszközön.Try deleting some semaphores with ipcs and ipcrmthe translation of the hungarian part of the message is: no space left on thedevice.But on what device? I checked the partitions, and they do have a lot of spaces (~4.5 GB).What shall I do to be able to install mono?Thanks,Istvan--gentoo-user@gentoo.org mailing list -- David Granthttp://www.davidgrant.ca
[gentoo-user] Deleted /var/lib/portage/config
I accidentally deleted /var/lib (I meant to delete /var/lib/mysql). The only damage seems to be the deletion of /var/lib/portage/config and /var/lib/portage/mysql I'm not worried about world, I can easiliy fix that over time by running emerge -p --depclean and adding world entries. There are probably only about 10 packages anyways because this is a mythtv box. But what is config all about? On my other machine it looks like the file contains a bunch of hashes for config files in /etc/. Are these used to quickly see if a file in /etc/ is different or does it just do a diff? -- David Grant http://www.davidgrant.ca -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: glibc completed screwed my system
A very small step in the right direction...I unzipped the quickpkg I made into the /mnt/gentoo and now I am able to chroot in there. If I try to re-emerge glibc-2.3.6 though it complains that downgrading is a sure way to destruction. I'm pretty sure it would be safe for me to downgrade because I didn't really do much of anything after installing 2.4 so I'm not sure what the problem would be. The problem is that it still think 2.4 is installed. Ah, here we go. emerge -C =glibc-2.4* worked fully this time (it didn't work fully before, which I forgot to mention). Now it will let me re-emerge =glibc-2.3* overtop of the quickpkg that I unpacked. I am also not compiling with nptlonly (which came in to my profile through 2006.1), so it is now emerging with the exact same use flags that it was before (and the same as what the quickpkg is made from). So hopefully everything will be cool and I will be able to reboot into this machine (I couldn't even boot into it after this b0rking happend). Dave On 9/1/06, David Grant [EMAIL PROTECTED] wrote: Here's what I did: I have sticking with gcc-3.x for now... I wanted to upgraded glibc to 2.4. I upgraded it and at the end of the emerge I got this error similar to this one, mine involved libresolv: http://forums.gentoo.org/viewtopic-t-443051-postdays-0-postorder-asc-highlight-libresolv+glibc-start-0.html I then did emerge -C =glibc-2.4-r4 to remove glibc-2.4 completely and leave 2.3. Now my whole system is b0rked. I can't even chroot in because it can't run /bin/sh or /bin/bash on the new system. Basically all binaries are screwed on the new system. I do have a quickpkg of glibc2.3 but I'm not sure what good that will do. If anyone can help me I'm desperate to save this system and not have to reinstall. -- David Grant http://www.davidgrant.ca -- David Grant http://www.davidgrant.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Deleted /var/lib/portage/config
I noticed that my /var/lib/portage/config file is not getting populated with new entries anymore, although it did get created by some program. Very strange... David On 9/1/06, Erik [EMAIL PROTECTED] wrote: David Grant wrote: But what is config all about? On my other machine it looks like the file contains a bunch of hashes for config files in /etc/. Are these used to quickly see if a file in /etc/ is different or does it just do a diff? It looks like the numbers I get when running md5sum filename, at least for files that I have not modified or deleted. man portage mentions files that portage uses, but not /var/lib/portage/config. It is either because the file is not meant to be edited by the administrator or a documentation bug. -- gentoo-user@gentoo.org mailing list -- David Grant http://www.davidgrant.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: glibc completed screwed my system
On 9/1/06, James [EMAIL PROTECTED] wrote: David Grant davidgrant at gmail.com writes: If anyone can help me I'm desperate to save this system and not have to reinstall. Well, I have lost xwindows/kde on (2) systems because of an upgrade of make.profile to point to 2006.1. I'm sure glibc was part of the problem. A third syxtem, an amd64, sits just slobering and drooling about; it will not even allow ls or cat to run. so I'm not so sure this one can be saved without a re-installation. It'd sure been nice if there was a little bit more detail on this, problem and recovery options. I've googled for links that help, but found nothing. So how is the new 2006.1 liveCD working these days? I'm soon to find out, on at least one system, maybe (3), Any ideas on recovery mechanisms, for this make.profile/glibc problem are most welcome.. I think I'll just drink (quite a lot) and read this list to see how the smarter half of this list dance around these pending upgrades. I'm quite sure it's my fault, I just do not have the fortitude to fight through another twisted hack-fest of a weekend. Well all I can say is that without my quickpkg I would probably have been screwed. Although there is still one other thing I could have done. I could have grabbed a quickpkg of glibc from another box (although that box has the newest glibc so actually that wouldn't have worked). It would probably be possible to find someone on the mailing list with similar hardware and the correct version of glibc that you want and they could send you the glibc quickpkg'd up for you. Here is pretty much the bug as I experienced it: http://bugs.gentoo.org/show_bug.cgi?id=125868 You can see detail there on how I solved it. My system is now fully working and recovered. -- David Grant http://www.davidgrant.ca -- gentoo-user@gentoo.org mailing list
[gentoo-user] ELOG doesn't seem to be logging much
If I re-emerge hotplug, for example, I get a big fat warning about hotplug's init.d script being dead and buried. When I look at my elog directory I don't see anything there, nor do I get an email about it. Am I doing something wrong? I get some ELOG messages but nothing very important. I also have enotice installed and I get nothing compared to what I get through enotice. Anyone else experiencing this? I searched the mailing list for anything elog related and didn't find anything similar to my problem. -- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] ELOG doesn't seem to be logging much
On 8/31/06, Rumen Yotov [EMAIL PROTECTED] wrote: On Thu, 31 Aug 2006 12:08:20 -0700David Grant [EMAIL PROTECTED] wrote: If I re-emerge hotplug, for example, I get a big fat warning about hotplug's init.d script being dead and buried. When I look at my elog directory I don't see anything there, nor do I get an email about it. Am I doing something wrong? I get some ELOG messages but nothing very important. I also have enotice installed and I get nothing compared to what I get through enotice. Anyone else experiencing this? I searched the mailing list for anything elog related and didn't find anything similar to my problem.Hi,Had the same problem (for some time) until i removed 'enotice' leavingonly elog. Before that (in elog) only had some patching messages. Ok, I'll give that a try. Thanks.-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] ELOG doesn't seem to be logging much
On 8/31/06, Rumen Yotov [EMAIL PROTECTED] wrote: On Thu, 31 Aug 2006 12:08:20 -0700David Grant [EMAIL PROTECTED] wrote: If I re-emerge hotplug, for example, I get a big fat warning about hotplug's init.d script being dead and buried. When I look at my elog directory I don't see anything there, nor do I get an email about it. Am I doing something wrong? I get some ELOG messages but nothing very important. I also have enotice installed and I get nothing compared to what I get through enotice. Anyone else experiencing this? I searched the mailing list for anything elog related and didn't find anything similar to my problem.Hi,Had the same problem (for some time) until i removed 'enotice' leavingonly elog. Before that (in elog) only had some patching messages.HTH.Rumen Yep removing enotice fixed it for me. Now I'm getting all the warnings and everything. Thanks.-- David Granthttp://www.davidgrant.ca
Re: [gentoo-user] ELOG doesn't seem to be logging much
deleting /usr/local/sbin/enoticedeleting /usr/local/share/man/man1/enotice.1deleting /etc/portage/profiledeleting /var/tmp/portage/enoticeremoving ENOTICE_LOGDIR from /etc/make.confI may have gotten some of those directories wrong...but that's what I mean by removing enotice. DaveOn 8/31/06, Nico [EMAIL PROTECTED] wrote: Sorry, but what do you mean by 'removing enotice' ? -- David Granthttp://www.davidgrant.ca