Re: can exim reject all mail for one recipient?
I'm certainly not knowledgeable on these matters, but a google search gave me: http://www.ii.com/internet/robots/procmail/qs/#reject That and other pages seemed to suggest it was better to have exim rather than procmail reject mail. Ric On Sep 30, 2009, at 8:48 PM, Girish Kulkarni wrote: On Wed, 30 Sep 2009, Ric Otte wrote: I believe it is bad to use procmail to reject mail, ... Why is that? -- Girish Kulkarni - Allahabad, India - athene.org.in/girish -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
can exim reject all mail for one recipient?
I am running Lenny with exim4 and one user would like all email to him to be rejected. I believe it is bad to use procmail to reject mail, and wonder if there is an easy way to do this with exim. This user basically wants no mail to be able to be delivered to his account. Any suggestions would be appreciated. Ric -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
IMAP one way backup
The IMAP server where I work is not very reliable, and I would like to back it up each day of the week to a different directory, using cron. Although offlineimap does not provide 1-way backup, I set up offlineimap to do something like this. Basically I have an offlineimaprc file for each day of the week, that syncs the server to a separate hard drive on my machine (so .offlineimaprc.mon syncs to .offlineimap.mon, etc.). I then run offlineimap - c .offlineimaprc.mon on mondays, etc. Since the backup copies are never modified on my local machine, offlineimap should not make any changes to the server when it runs. The reason I keep several different backup copies is in case the server deletes lots of my messages and offlineimap were to then delete them off my local copy. What now worries me is that if my local drive that I am syncning to were to die, I wonder if offlineimap might take that to mean that I deleted all my messages, and would delete all of them on the server. Reading the manual I see that one can delete the directory where all the info is stored. So if offlineimap is storing all of the info (not the mail messages) in a directory .offlineimap.mon, then simply deleting it after running should erase all of the stored info about the local mail, and the mail on the server would not be deleted if the messages disappeared on my local machine. Does anyone know if this will work, or even if it is needed (perhaps offlineimap wouldn't delete all the messages on the server if it couldn't find the backup drive). Any suggestions on how others do one- say backup of an imap server would be appreciated. Thanks, Ric -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: mutt and IMAP accounts
On Oct 29, 2007, at 12:47 AM, Martin Marcher wrote: see the check_subscribed option in the manual (imap_check_subscribed, imap_list_subscribed may also be what you want) less /usr/share/doc/mutt/manual.txt.gz hth martin I tried both of these. Now when I type 'c' I get a suggested mailbox to go to (one with new mail), but if I type a '?' I am given a list of mailboxes, such as: 1 IMAP +al/ 2 IMAP +bob/ etc. but if I select one of them, I simply get: 1 IMAP../ If I select that one, I get the same list of mailboxes above. I am then in an endless loop, and get out of it by typing 'y'. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mutt and IMAP accounts
On Oct 29, 2007, at 6:28 AM, Nicolas KOWALSKI wrote: On Mon, Oct 29, 2007 at 06:16:47AM -0700, Ric Otte wrote: I tried both of these. Now when I type 'c' I get a suggested mailbox to go to (one with new mail), but if I type a '?' I am given a list of mailboxes, such as: 1 IMAP +al/ 2 IMAP +bob/ etc. but if I select one of them, I simply get: 1 IMAP../ Does hitting space instead of return to select the mailbox helps ? See, http://www.mutt.org/doc/manual/manual-4.html#ss4.11 Folder browser. That's it! It works fine with space. I hadn't quite understood that with IMAP there is a difference between the selection key and the view-file key. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: looking for mac-to-linux backup recommendations - OT
On Tue, May 01, 2007 at 08:15:29PM +0200, Peter Teunissen wrote: On 1-mei-2007, at 17:09, Miles Fidelman wrote: Hi Folks, I have a Mac on my desk at home, and I'm looking for a way to back it up to one of the Linux servers I have sitting in a data center. Any suggestions as to what software is out there to make this as simple and automated as possible? (Obviously rsync is an option, but that doesn't quite get to the point of being able to recover a bootable disk image. Right now, I clone my hard drive to a 2nd local drive - I'm sort of wondering if there's a way to generate a remote image that would be net bootable for recovery purposes). Thanks much, Miles Hi, I think that backup software should be as simple as possible, to make sure that in case of an emergency getting back on track is a no brainer. That's why I don't use nice strong network software like pcbackup or backula for backing up my Mac, but a simple solution: SuperDuper! (exclamation mark is part of the name). It is a simple client app that can be scheduled to launch, mount a network drive and backup to an imagefile. In case of disaster, booting from a cd, launching SuperDuper! and restoring the image is all that's needed and easy to do. I use it in combination with the Netatalk AFP server on Debian. Personally I wouldn't do this over an internet connection since performance would be less than exceptable. I'd use a local fileserver and from there make an overnight copy with a simple script to the remote machine. It can also backup to a connecter drive if needed. Nice extra is that it's capable of creating a sandbox copy on the bootdisk, so you can play with you system and in case something doesn't turn out the way you like it, you can simply rewind to the former state. Elas it's not FOSS, but cheap: $27.95 http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html HTH Peter Peter, Will Superduper! backup the mac hfs+ filesystem to a Linux ext3 filesystem, and be able to recover everything (including resource forks) from it? Also, does it support encrypted backups (so that the data stored on the remote site is encrypted)? Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
migrate / to new partition; wants to use old mount points
I wanted to migrate a sid install from a partition on a sata drive to a partition on another ide drive. I used dd to copy the partion, changed fstab, and tried to boot into the system on the ide drive. Grub recognizes the ide drive, begins to boot, but after several (maybe 7 or 8 screens) of data, the boot halts because it is trying to mount the old sata drive (which is not now connected to the machine). I originally thought this was a grub problem (see thread moved system do different partition; grub boot problem), but now think that the kernel on the new partition is booting, but at some point in the boot process it begins to use all of the mount points on the sata drive. It is almost as if it is using the old fstab is being used instead of the new one. I then erased the new partition, and copied over the old / using 'cp -a', which had the same result. I then tried rsync, with the same effect. The message on the screen when the boot process stops reads something like: waiting 7 seconds for /sys/block/sda/sda10/dev to show up /bin/cat /sys/block/sda/sda10/dev: No such file or Directory I cannot figure out why it is looking for sda10, which is where the original / was located on the sata drive, instead of looking at hdc2, which is where the new / is located and is what it booted off of. Is there any place besides /etc/fstab that indicates what partitions to mount? I changed /etc/mtab, but that didn't help, and can't find any other places that might be diverting the boot process to the old drive. Any advice would be appreciated. Thanks. Ric signature.asc Description: Digital signature
Re: migrate / to new partition; wants to use old mount points
On Thu, Apr 26, 2007 at 03:46:36PM +, David Claughton wrote: Ric Otte ric at otte.ucsc.edu writes: Is there any place besides /etc/fstab that indicates what partitions to mount? I changed /etc/mtab, but that didn't help, and can't find any other places that might be diverting the boot process to the old drive. Any advice would be appreciated. Thanks. Ric Could be that it's nothing to do with mount points - if the boot process is 7- 8 screens in as you say it's probably processing the scripts in /etc/init.d. I would try greping in there for 'sda10' to see if anything is directly trying to access the old device node directly. Cheers, Dave. Good idea. I counted and I was able to go back 12 screens (using shift page up) which indicates I was quite a ways into the boot process. I grepped for sda10 and even sda, but couldn't find anything in /etci/init.d Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: migrate / to new partition; wants to use old mount points
On Thu, Apr 26, 2007 at 05:25:27PM +0200, Florian Kulzer wrote: On Thu, Apr 26, 2007 at 07:53:38 -0700, Ric Otte wrote: I wanted to migrate a sid install from a partition on a sata drive to a partition on another ide drive. I used dd to copy the partion, changed fstab, and tried to boot into the system on the ide drive. Grub recognizes the ide drive, begins to boot, but after several (maybe 7 or 8 screens) of data, the boot halts because it is trying to mount the old sata drive (which is not now connected to the machine). I originally thought this was a grub problem (see thread moved system do different partition; grub boot problem), but now think that the kernel on the new partition is booting, but at some point in the boot process it begins to use all of the mount points on the sata drive. It is almost as if it is using the old fstab is being used instead of the new one. I then erased the new partition, and copied over the old / using 'cp -a', which had the same result. I then tried rsync, with the same effect. The message on the screen when the boot process stops reads something like: waiting 7 seconds for /sys/block/sda/sda10/dev to show up /bin/cat /sys/block/sda/sda10/dev: No such file or Directory I cannot figure out why it is looking for sda10, which is where the original / was located on the sata drive, instead of looking at hdc2, which is where the new / is located and is what it booted off of. Is there any place besides /etc/fstab that indicates what partitions to mount? I changed /etc/mtab, but that didn't help, and can't find any other places that might be diverting the boot process to the old drive. I once shifted my root partition around and I had to rebuild the initrd so that it would really boot from the new root partition. We recently had someone ask if it is possible to simply edit the initrd to effect such a change. To my knowledge that was never fully resolved. I participated in that thread and outlined how to rebuild the initrd instead. Maybe you can try that approach: http://lists.debian.org/debian-user/2007/04/msg03533.html In that thread the initrd had to be changed because booting with an additional drive attached changed the device node of the root partition. Your problem is slightly different, but I think you can easily adapt the procedure by using yaird --output= to put the newly generated initrd onto the new root partition (which you can mount somewhere while you are booted into one of the working old root partitions). -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | I tried this, and it began booting, but fairly quickly I got the message: switching root ... /usr/lib/yaird/exec/run_init: opening console: no such file or directory Kernel panic - not syncing: Attempted to kill init! I looked and there is a /usr/lib/yaird/exec/run_init in my current system (where I installed yaird), but it doesn't exist on the new partition I'm trying to boot into. I've never used yaird before, and so I probably am missing something obvious. I put the output of yaird to the new partition and I gave it the option of the kernel version in the new partition. Do I have to do anything else to get the initrd.img to handoff to the regular kernel? Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: migrate / to new partition; wants to use old mount points
On Thu, Apr 26, 2007 at 07:40:02PM +0200, Florian Kulzer wrote: [...] Are you sure you made the necessary changes to /etc/yaird/Default.cfg and /etc/fstab before calling yaird? You can extract the relevant file, init, from the new initrd like this: zcat new-initrd-name | cpio -i init Then you can check if these lines in init specify the correct device: mkbdev '/dev/sda' 'sda' mkbdev '/dev/sda6' 'sda/sda6' /bin/mount -n \ $ro \ -t ext3 \ -o 'errors=remount-ro' \ '/dev/sda6' \ '/mnt' You could also try to chroot into the new root partition and build the initrd from there. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | I think I made the right changes to /etc/yaird/Default.cfg,and when I followed your directions, I got the right lines in init. So I chroot into the new partition and made a new initrd.img. But I still couldn't boot. Here are some of the last lines on the screen before it hangs on boot: hdc: hdc1 hdc2 hdc3 hdc4 Attempting manual resume umount: devfs: not mounted mount: unknown filesystem type 'devfs' kjournald Starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode umount: devfs not mounted /sbin/init: 432: cannot create /dev/null: Read only filesystem /sbin/init: 433: cannot open dev/console: No such file Kernel panic - not syncing: Attempted to kill init I am not sure what all of this means. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: migrate / to new partition; SOLVED
I finally was able to boot into the copied partition. I found that /dev/console did not exist, so I created it and changed permissions on /dev/null. Then I'm able to boot. I still don't know why it wasn't copied over, but it's fixed now. Thanks for the help, Ric signature.asc Description: Digital signature
moved system to different partition; grub boot problems
Hi, I recently had some problems with my sata drive (sda), so I got an IDE drive, did a fresh install of etch to partition 1 (hdc1), put home on partition 4 (hdc4), and left partition 2 blank. I then copied my sid system from sda10 to hdc2, using dd. Everything looks fine in hdc2, and when I mount it while in etch, I find everything there. I have the computer first boot off of the IDE drive (grub is also installed there, as well as on the SATA drive). My IDE etch /boot/grub/menu.lst has the following lines: title Debian GNU/Linux, kernel 2.6.18-4-k7 root(hd0,0) kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/hdc1 ro initrd /boot/initrd.img-2.6.18-4-k7 savedefault title Debian GNU/Linux, IDE-sid 386 root(hd0,1) kernel /boot/vmlinuz root=/dev/hdc2 ro initrd /boot/initrd.img savedefault title Debian GNU/Linux, SATA-sid 386 root(hd1,9) kernel /boot/vmlinuz root=/dev/sda10 ro initrd /boot/initrd.img savedefault There is no problem booting the etch kernel (first in the list), and there is no problem booting to the old sid system on the sata drive (last on the list). But I cannot boot to the sid system on the IDE drive. If I choose that option when logging in, it boots from the sata drive. If I disconnect the sata drive, it begins to boot, but then eventually stops while looking for the sata drive. I thought I put the entries in menu.lst correctly (correct me if I'm wrong), and I'm wondering if the initrd.img or vmlinuz files are indexed to the particular drive they are on (and thus wouldn't work by simply using dd to copy them over). I thought it might be the old grub on the sata drive, so I removed the menu.lst file from the first partition on the sata drive, but am still getting booted into the sata drive. Does anyone have any thoughts about how to boot into the sid system on the IDE's second partition? I don't know what is telling it to boot from sda10 instead of hdc2. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
hardware problem? continual errors with drive and kernel
I have a AMD XP 1700+ with an Asus A7V266-E motherboard and 512M of ram. Recently I noticed many errors in the log files, everything from kernel oops to errors on the hard drive. I replaced the drive with a new one and did a fresh install of etch. I still got lots of errors, especially hard drive errors, and noticed that the machine would crash if I tried to attach two hard drives. Thinking the power supply might be wearing out, I replaced the power supply, but continued to get the errors. For example, this morning I had kernel errors (attached below) and when I tried to restart, I spent about 15 minutes with fsck fixing all the bad inodes and blocks on the home partition of the drive. I am assuming that it is unlikely that this hard drive is also bad, and so I am guessing that it is either the processor, the memory, or the motherboard. I was wondering if anyone else had had problems like this and had any suggestions. I don't know much about hardware and don't begin to know what to do. Thanks (Here is the log message) System Events =-=-=-=-=-=-= Feb 8 14:42:07 otte kernel: [drm] Initialized drm 1.0.1 20051102 Feb 8 14:42:07 otte kernel: [drm] Initialized mga 3.2.1 20051102 on minor 0 Feb 8 14:42:07 otte kernel: agpgart: Found an AGP 2.0 compliant device at :00:00.0. Feb 8 14:42:07 otte kernel: agpgart: Putting AGP V2 device at :00:00.0 into 1x mode Feb 8 14:42:07 otte kernel: agpgart: Putting AGP V2 device at :01:00.0 into 1x mode Feb 8 14:42:07 otte kernel: [drm] Initialized card for AGP DMA. Feb 8 14:43:02 otte gconfd (ric-3461): starting (version 2.16.0), pid 3461 user 'ric' Feb 8 14:43:02 otte gconfd (ric-3461): Resolved address +xml:readonly:/etc/gconf/gconf.xml.mandatory to a read-only configuration source at +position 0 Feb 8 14:43:02 otte gconfd (ric-3461): Resolved address xml:readwrite:/home/ric/.gconf +to a writable configuration source at position 1 Feb 8 14:43:02 otte gconfd (ric-3461): Resolved address +xml:readonly:/etc/gconf/gconf.xml.defaults to a read-only configuration source at +position 2 Feb 8 14:43:02 otte gconfd (ric-3461): Resolved address +xml:readonly:/var/lib/gconf/debian.defaults to a read-only configuration source at +position 3 Feb 8 14:43:02 otte gconfd (ric-3461): Resolved address +xml:readonly:/var/lib/gconf/defaults to a read-only configuration source at position 4 Feb 8 14:50:33 otte gconfd (ric-3461): GConf server is not in use, shutting down. Feb 8 14:50:33 otte gconfd (ric-3461): Exiting Feb 8 16:00:32 otte kernel: [ cut here ] Feb 8 16:00:32 otte kernel: kernel BUG at mm/rmap.c:587! Feb 8 16:00:32 otte kernel: invalid opcode: [#1] Feb 8 16:00:32 otte kernel: Modules linked in: mga drm ipv6 button ac battery dm_snapshot+dm_mirror dm_mod loop floppy snd_emu10k1 parport_pc parport snd_rawmidi snd_ac97_codec +snd_ac97_bus pcspkr psmouse snd_pcm snd_seq_device rtc serio_raw snd_timer snd_page_alloc+snd_util_mem via_ircc snd_hwdep snd irda crc_ccitt soundcore i2c_viapro via_agp agpgart +shpchp pci_hotplug emu10k1_gp i2c_core gameport tsdev evdev ext3 jbd usbhid 8139cp ide_cd+cdrom ide_disk generic 8139too mii uhci_hcd usbcore via82cxxx pdc202xx_old ide_core +thermal processor fan Feb 8 16:00:32 otte kernel: CPU:0 Feb 8 16:00:32 otte kernel: EIP:0060:[c01401e6]Not tainted VLI Feb 8 16:00:32 otte kernel: EFLAGS: 00210286 (2.6.18-3-486 #1) Feb 8 16:00:32 otte kernel: EIP is at page_remove_rmap+0x13/0x47 Feb 8 16:00:32 otte kernel: eax: ebx: c100 ecx: c035f1cc edx: c100Feb 8 16:00:32 otte kernel: esi: b7c91000 edi: d8dec244 ebp: esp: d8417f10Feb 8 16:00:32 otte kernel: ds: 007b es: 007b ss: 0068 Feb 8 16:00:32 otte kernel: Process dovecot-auth (pid: 3807, ti=d8416000 task=df7d1030 +task.ti=d8416000) Feb 8 16:00:32 otte kernel: Stack: c013bc1a dda05614 d8417f74 0001 +b7dac000 d9e14b7c Feb 8 16:00:32 otte kernel:da1335e0 c035f1cc ffd4 d9e14b7c 002a0be6 +b7dac000 Feb 8 16:00:32 otte kernel:d8417f74 d98328b4 da1335e0 d8417fac c013ddcb +d8417f70 Feb 8 16:00:32 otte kernel: Call Trace: Feb 8 16:00:32 otte kernel: [c013bc1a] unmap_vmas+0x267/0x427 Feb 8 16:00:32 otte kernel: [c013ddcb] exit_mmap+0x50/0xb9 Feb 8 16:00:32 otte kernel: [c0112f24] mmput+0x1b/0x5e Feb 8 16:00:32 otte kernel: [c0116c4d] do_exit+0x18e/0x65f Feb 8 16:00:32 otte kernel: [c011717a] sys_exit_group+0x0/0xd Feb 8 16:00:32 otte kernel: [c01029dd] sysenter_past_esp+0x56/0x79 Feb 8 16:00:32 otte kernel: Code: 02 c1 e8 1e 8b 04 85 94 da 30 c0 ff 80 fc 00 00 00 ff +05 24 b4 36 c0 c3 89 c2 83 40 08 ff 0f 98 c0 84 c0 74 39 8b 42 08 40 79 08 0f 0b 4b 02 +6d 00 29 c0 8b 4a 10 83 f1 01 83 e1 01 8b 12 c1 ea Feb 8 16:00:32 otte kernel: EIP: [c01401e6] page_remove_rmap+0x13/0x47 SS:ESP +0068:d8417f10 Feb 8 16:00:32 otte kernel: 1Fixing recursive fault but reboot is needed!
Re: editor to remove noise (wind and wave) from sound file
Thanks for the suggestions. I'm playing with the filters in audacity and rezound; they seem to help a bit, but I still haven't been able to make the voices understandable. If anyone is interested, I placed a 4 second sample of the voices at http://people.ucsc.edu/~otte/sound.test.aiff Thanks for the suggestions, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
editor to remove noise (wind and wave) from sound file
Hi, I have a recording of a wedding at a beach, but it is very difficult to make out the words because of the noise due to the waves and wind. I am looking for suggestions about how to begin editing the file to remove the noise and retain the voices. I've looked a bit at rezound and audacity, but haven't been able to remove the noise with them. I have never edited a sound file before, and was wondering if anyone had any suggestions for other programs that might do the job, or any other suggestions about how to do this. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: iTunes Lib. to Ogg
On Fri, Jun 23, 2006 at 01:50:48AM -0400, Felipe Sateler wrote: Ric Otte wrote: Is there an easy way to convert applelossless to FLAC? Suppose one has lots of songs on a mac in .m4a format and wants to convert them all to FLAC; is there a simple command that would do this for all songs in a directory? m4a is not lossless. In fact, m4a files are most probably aac files inside the MPEG4 container format. http://en.wikipedia.org/wiki/M4a -- I looked at the wikipedia link you provided, and it linked to the following: http://en.wikipedia.org/wiki/Apple_Lossless According to it, apple lossless is data stored in a MP4 container with the extension .m4a. It is interesting that very different encodings can use the extension .m4a. I looked at some files encoded with apple lossless on a mac, and they have the extension .m4a; the only program I've found that can play them back on debian is amarok. Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: iTunes Lib. to Ogg
On Wed, Jun 21, 2006 at 04:42:30PM +0200, Jochen Schulz wrote: Another reason to use FLAC: it uses the same tag structure as Ogg Vorbis. And when using oggenc to convert FLAC to Vorbis, all tags are preserved. Is there an easy way to convert applelossless to FLAC? Suppose one has lots of songs on a mac in .m4a format and wants to convert them all to FLAC; is there a simple command that would do this for all songs in a directory? Ric signature.asc Description: Digital signature
X broke in sid after dist-upgrade
I recently did a dist-upgrade on my sid machine and no longer have a working X system. When I try to startx, the screen will go dark, and then in a few seconds I'll be returned to the console. (interestingly, if I simply type X, the screen will go grey, the mouse (working) will be a X, but nothing else will work). At the end of the Xorg log file I find: Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /usr/share/fonts/X11/TTF/, removing from list! Could not init font path element /usr/share/fonts/X11/OTF, removing from list! Could not init font path element /usr/share/fonts/X11/CID/, removing from list! FreeFontPath: FPE /usr/share/fonts/X11/misc/ refcount is 2, should be 1; fixing. I read the FAQ at x.org, and it says to run mkfondir on the font directories, which I did (I also ran it on any font directory I could find, not just the ones in /usr/lib/X11/fonts). Unfortunately I still get the same error message. I couldn't find anything else that would help using google. I tried dpkg-reconfigure, but it also didn't help. I don't know a lot about fonts, and I would appreciate any suggestions about how to get X working again. Thanks, Ric Here is a copy of /var/log/Xorg.0.log: X Window System Version 7.0.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 7.0 Build Operating System:Linux 2.6.12-1-686 i686 Current Operating System: Linux perelandra 2.6.16-2-k7 #2 Mon May 22 23:23:54 UTC 2006 i686 Build Date: 16 March 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jun 22 07:01:41 2006 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout Default Layout (**) |--Screen Default Screen (0) (**) | |--Monitor Generic Monitor (**) | |--Device NVIDIA Corporation NV34 [GeForce FX 5200] (**) |--Input Device Generic Keyboard (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc104 (**) XKB: model: pc104 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (**) |--Input Device Configured Mouse (**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/share/fonts/X11/misc/,/usr/share/fonts/X11/TTF/,/usr/share/fonts/X11/OTF,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/CID/,/usr/share/fonts/X11/100dpi/,/usr/share/fonts/X11/75dpi/ (==) RgbPath set to /usr/share/X11/rgb (==) ModulePath set to /usr/lib/xorg/modules (II) Module ABI versions: X.Org ANSI C Emulation: 0.2 X.Org Video Driver: 0.8 X.Org XInput driver : 0.5 X.Org Server Extension : 0.2 X.Org Font Renderer : 0.4 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so (II) Module bitmap: vendor=X.Org Foundation compiled for 7.0.0, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/lib/xorg/modules/libpcidata.so (II) Module pcidata: vendor=X.Org Foundation compiled for 7.0.0, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.8 (--) using VT number 7 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1106,0282 card 147b,1415 rev 00 class 06,00,00 hdr 80 (II) PCI: 00:00:1: chip 1106,1282 card , rev 00 class 06,00,00 hdr 00 (II) PCI: 00:00:2: chip 1106,2282 card , rev 00 class 06,00,00 hdr 00 (II) PCI: 00:00:3: chip 1106,3282 card , rev 00 class 06,00,00 hdr 00 (II) PCI: 00:00:4: chip 1106,4282 card , rev 00 class 06,00,00 hdr 00 (II) PCI: 00:00:7: chip 1106,7282 card , rev 00 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 1106,b188 card , rev 00 class 06,04,00 hdr 01 (II) PCI: 00:07:0: chip 1106,3044 card 147b,1415 rev 46
Re: X broke in sid after dist-upgrade
On Thu, Jun 22, 2006 at 08:00:34PM +0200, Florian Kulzer wrote: The font paths have changed for Xorg 7.0. You should change the beginning of all FontPath definitions in your /etc/X11/xorg.conf from /usr/X11R6/lib/X11/fonts/ to /usr/share/fonts/X11/. The last entry in your log suggests that your X server does at least find the new location of the misc fonts, therefore the font paths should not be the reason that X fails to start up. There was a version of dbus recently which had a bug that prevented X from starting. Check your ~/.xsession-errors after a failed attempt and run apt-cache policy dbus. dbus version 0.62-2 hit the mirrors today and fixes the problem; if you still have version 0.62-1 you need to upgrade. Upgrading dbus fixed it; thanks very much! Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: photo management and camera download by date SOLVED
Hi, Further reading of the manual shows digikam can do this automatically; So far it seems to be working. Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: multi-gnome-terminal in sid
Hi, I tried things like: multi-gnome-terminal --font=adobe-helvetica But got the following: The font adobe-helvetica does not support all the required character sets for the current locale en_US (Missing character set ISO8859-1) (Missing character set ISO8859-1) In .gnome/MultiTerminal I see a line: font=-*-fixed-medium-r-normal--14-*-*-*-*-*-*-*,*-r-* But I don't know any other way to set the font, other than by the command line I tried above. Interestingly, my machine is a dual boot and it works when I boot into sarge. Thanks, Ric On Thu, Dec 01, 2005 at 04:09:26AM -0600, Christopher L. Everett wrote: [EMAIL PROTECTED] wrote: Hi, I installed multi-gnome-terminal in sid, but when I start it up, the characters in the terminal are not standard ascii characters; they are unusual characters, some with accents , and some are simply boxes. Furthermore, there is no blank space in the terminal window, but it is filled with these characters.I did a search and read through some of the manual, but don't know what might be causing this. Any suggestions on how to get it working? Thanks, Ric Dis you try changing the font settings? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: preferred method of using imap/mutt
On Thu, Oct 06, 2005 at 07:46:43PM -0400, Ryan Claycamp wrote: On Wed, 05 Oct 2005 at 2211 -0700, John L Fjellstad wrote: Best solution for filtering is probably what Roberto suggested. If that's impossible, you should look into offlineimap. Basically, it syncs your local Mail with the IMAP. Since it's IMAP, any changes you do on the local end gets changed on the server. It's especially nice solution for laptops (where you don't always have your net connection, but you still want access to your email). Thanks for the tip on offlineimap. I recently purchased a laptop and was using IMAP on my old computer so I would have a constant place for it. Offlineimap does a great job so far. I haven't gotten offlineimap working yet, but am not convinced that any changes you do on the local end get changed on the server. I looked at the website for offlineimap and it looks to me as if it is saying that if you create a new mail folder locally, it will not create it on the server. Since I sometimes make new mailfolders on my machine, this might be a problem for me. Am I correct about this? Ric signature.asc Description: Digital signature
Re: preferred method of using imap/mutt
On Fri, Oct 07, 2005 at 02:33:19PM +0100, Dick Davies wrote: On 07/10/05, Ric Otte [EMAIL PROTECTED] wrote: On Thu, Oct 06, 2005 at 07:46:43PM -0400, Ryan Claycamp wrote: On Wed, 05 Oct 2005 at 2211 -0700, John L Fjellstad wrote: Best solution for filtering is probably what Roberto suggested. If that's impossible, you should look into offlineimap. Basically, it syncs your local Mail with the IMAP. Since it's IMAP, any changes you do on the local end gets changed on the server. It's especially nice solution for laptops (where you don't always have your net connection, but you still want access to your email). Thanks for the tip on offlineimap. I recently purchased a laptop and was using IMAP on my old computer so I would have a constant place for it. Offlineimap does a great job so far. I haven't gotten offlineimap working yet, but am not convinced that any changes you do on the local end get changed on the server. I looked at the website for offlineimap and it looks to me as if it is saying that if you create a new mail folder locally, it will not create it on the server. Since I sometimes make new mailfolders on my machine, this might be a problem for me. Am I correct about this? Mutt can create folders on the IMAP server (like any other imap client), so why would you ever want to make local ones anyway? If I was working offline, I might want to make some new folders, and then use offlineimap to duplicate this onto the server. That is what I don't think is possible (but I could be wrong). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Using both Mutt and graphical email client with maildir
Hi, I've been using mutt for several years, and really like it except for when I need to follow a link. I've tried using urlview, but gave up because I often didn't know what the urls were linked to. For example, if I have an email with 50 links, when I call urlview I often have no idea what link I want (all I see are the urls, and not any text that will tell me what the links are for). Since urlview didn't work well for me, I usually simply copy and paste the link into Firefox, but I keep thinking there must be an easier way. So I've been thinking it would be nice to use mutt most of the time, but have an alternative graphical email client that I could use once a day or so to read my email with links in them. Is there a reason not to do this that I have overlooked? Additionally I would then see images in the email. My mail is saved in maildir format, and one problem seems to be that many graphical email clients don't seem to support maildir. For example, I looked at Thunderbird, but I believe it does not support maildir format. So, does anyone have any experience with any graphical mail client that can work with maildir format? Any suggestions would be appreciated, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using both Mutt and graphical email client with maildir
On Mon, Oct 03, 2005 at 09:30:30PM +0200, Jochen Schulz wrote: Antony Gelberg: Not as such, but you could install an IMAP server on the machine, then use Thunderbird (or whatever). That is my advice, too. Setting up Dovecot for that task should't take more than half an hour. It's really simple and does the job very well. J. -- This is an interesting suggestion. I run dovecot on a separate machine and could easily set it up here. The reason I don't use imap myself is that I use names like philosophy debian debian.amd for my mailbox names, which don't fit the imap standard (I think the files all begin with . and use . to separate mailboxes, or something like that). If I renamed my mailboxes, then in mutt it would be slightly more tedious to change mailboxes (typing a . in front of all of them). But this may be the way to go. I'm also going to check out Balsa, evolution, and kmail. Thanks, Ric
Re: ext3 and rsync problem
On Mon, Sep 12, 2005 at 11:31:47PM -0600, Bob Proulx wrote: Ric Otte wrote: One thing I notice is that while copying the files (using either cp or rsync (and also tar, although I didn't pay as much attention), is that according to top, Xfree86 is often using up to 78-99% of the cpu, and things are very sluggish for a few seconds after the copying is done. Every few seconds Xfree86 will go to the top of top with a high cpu usage. This is puzzling to me, because I'm using fluxbox with 3 open rxvt terminals. Are you using the --progress option to rsync? If so then the display updating will cause your rxvt terminals to do a lot of screen writing and would account for the cpu utilization. Bob I didn't use --progress, but I did use -v. I tried it without -v, and top still showed a lot of Xfree86 activity (in just a few seconds it was jumping up to 68% and down, etc.). Nothing else was changing on the screen except for the output of top. Normally top doesn't show Xfree86 using so much cpu when doing other things that change rxvt. Thanks, Ric
Re: ext3 and rsync problem
On Mon, Sep 12, 2005 at 03:07:41AM -0500, Ron Johnson wrote: Does tar succeed as well? Yes, I believe so. I just copied several directories using tar, and fsck says everything is fine. One thing I notice is that while copying the files (using either cp or rsync (and also tar, although I didn't pay as much attention), is that according to top, Xfree86 is often using up to 78-99% of the cpu, and things are very sluggish for a few seconds after the copying is done. Every few seconds Xfree86 will go to the top of top with a high cpu usage. This is puzzling to me, because I'm using fluxbox with 3 open rxvt terminals. Thanks, Ric signature.asc Description: Digital signature
Re: mounting large hfsplus partion
On Thu, Sep 01, 2005 at 05:35:08AM +0200, Elimar Riesebieter wrote: On Wed, 31 Aug 2005 the mental interface of Ric Otte told: Hi, I have a 300gb drive that I separated into two 150gb partitions: one hfsplus (for macs to backup to) and one ext3. I formatted the hfsplus partion on a mac, but when I mount it using mount -thfsplus /dev/hdc2 /HFS, the partion does not show up being anywhere near 150gb; instead it shows up as being 8.5mb with 3.4mb of that being used by the simple partitioning. I tried to copy data to this partition, but it fills up immediately. Does anyone know how to mount a hfs+ partition and get access to the whole partition? Thanks, apt-cache show hfsplus apt-cache show hfsutils Elimar I have hfsplus and hfsutils installed, so that isn't the problem. I now wonder if Linux supports reading HFS+ filesystems, but not writing to them, and that is causing this phenomena. My initial plan was to have a HFS+ partition so that mac users could use rsync to backup to it, without losing their resource forks. Now I'm beginning to think that may not work. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mounting large hfsplus partion
On Thu, Sep 01, 2005 at 06:07:44PM +0200, Elimar Riesebieter wrote: On Thu, 01 Sep 2005 the mental interface of Ric Otte told: [...] I have hfsplus and hfsutils installed, so that isn't the problem. I now wonder if Linux supports reading HFS+ filesystems, but not writing to them, and that is causing this phenomena. $ mount -t hfsplus /dev/hfspluspartiotion /mountpoint works great on my powerbook. Kernel config: CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m Read kernel-source/Documentation/filesystems/hfs.txt Elimar I have the same lines in my kernel config and mount it using the exact same command that you use. I read the doc you suggested, but it seems to be only about the hfs filesystem and not the hfs+ filesystem. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mounting large hfsplus partion
On Thu, Sep 01, 2005 at 08:15:24PM +0200, Elimar Riesebieter wrote: Hmmm, try: $ hpmount /dev/hdc2 *** bla *** blo y enter $ hpumount hpumount: destroy: bli $ mount -t hfsplus /dev/hdc2 /HFS Elimar That gave me the following: hpmount: /dev/hdc2: This is not a HFS+ volume (Unknown error 4294967295) I tried hpfsch -v /dev/hdc2, which gave me a long message (appended at the end of this email) that ended with: Volume was last Mounted by hfsplus kernel module: xL+H Invalid total blocks 880, expected 0 Done *** *** Checking Backup Volume Header: Unexpected Volume signature ' ' expected 'H+' hpfsck: hpfsck: This is not a HFS+ volume (Unknown error 4294967295) I then took out that drive and put in a HFS+ drive that only had one partition on it; that worked fine and when mounted using mount -thfsplus device mntpoint I saw lots of gigabytes. So, I am guessing that the problem is that the original drive was partitioned into one HFS+ partition and one ext3 partition. I originally formatted it into a HFS+ partition on the mac and a linux partition, and then once it was in my linux machine, I reformatted the non-hfs partition to ext3. I did this because I don't know how to format a disk as hfs+ using Linux Evidently this doesn't work, and I believe it was the source of the problems. Thanks, Ric the result of hpfsch -v: # hpfsck -v /dev/hdc2 *** Checking Volume Header: This HFS+ volume is not wrapped. signature : +H version : 4 attributes : 0X100 last_mount_vers : xL+H reserved: 0 create_date : Wed Mar 23 15:44:21 2005 modify_date : Thu Sep 1 12:29:17 2005 backup_date : Thu Dec 31 16:00:00 1903 checked_date: Wed Mar 23 23:44:21 2005 file_count : 5 folder_count: 1 blocksize : 1000 total_blocks: 2176 free_blocks : 1284 next_alloc : 531 rsrc_clump_sz : 65536 data_clump_sz : 65536 next_cnid : 228 write_count : 2061 encodings_bmp : 0 Allocation file total_size : 0X10001 clump_size : 0 total_blocks: 0 extents : (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0X11000) (0X11+0X11) Extension file total_size : 0 clump_size : 0 total_blocks: 0 extents : (0+0) (0+0) (0+0) (0+0) (0+0) (0+0X11000) (0X22+0X13) (0X5ED+0X11) Catalog file total_size : 0 clump_size : 0 total_blocks: 0 extents : (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) Attribute file total_size : 0 clump_size : 0 total_blocks: 0 extents : (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) Start file total_size : 0 clump_size : 0 total_blocks: 0 extents : (0+0) (0+0) (0X400+0XEA850408) (0X48280240+0X8C00408) (0X+0X70F7FFBF) (0X400+0XEA850408) (0X48280240+0X8C00408) (0X+0X70F7FFBF) Volume was last Mounted by hfsplus kernel module: xL+H Invalid total blocks 880, expected 0 Done *** *** Checking Backup Volume Header: Unexpected Volume signature ' ' expected 'H+' hpfsck: hpfsck: This is not a HFS+ volume (Unknown error 4294967295) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mounting large hfsplus partion
Hi, I have a 300gb drive that I separated into two 150gb partitions: one hfsplus (for macs to backup to) and one ext3. I formatted the hfsplus partion on a mac, but when I mount it using mount -thfsplus /dev/hdc2 /HFS, the partion does not show up being anywhere near 150gb; instead it shows up as being 8.5mb with 3.4mb of that being used by the simple partitioning. I tried to copy data to this partition, but it fills up immediately. Does anyone know how to mount a hfs+ partition and get access to the whole partition? Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problem updating menus in fluxbox
On Mon, May 23, 2005 at 04:51:44PM -0400, [EMAIL PROTECTED] wrote: On Monday 23 May 2005 09:49, Ric Otte wrote: Hi, I noticed that fluxbox (.9.12-1) doesn't seem to update its menus (or I am doing something wrong). I have added some menus to /etc/menu and ran update-menus. The new menus show up on other windowmanagers, but don't under fluxbox. They don't seem to be listed properly in either /etc/X11/fluxbox/fluxbox-menu or in my .fluxbox/menu file. I tried running update-menus while not running fluxbox, but that didn't make any difference. Any suggestions? Thanks, Ric Ric.. Please man fluxbox because it gives you TONS of good documentation on fluxbox init file, menu file, apps file and style files.. This File: - $HOME/.fluxbox/init - has all your flux settings for your menu, style, groups, etc.. etc... this session.styleFile: ~/.fluxbox/styles/Ant-Crazylikeafox session.groupFile: ~/.fluxbox/MYfbgroups session.slitlistFile: ~/.fluxbox/MYSlitList session.keyFile: ~/.fluxbox/MYkeys session.menuFile: ~/.fluxbox/MYmenufile The menu pointed to by YOUR init should be the one you edit. cheers.. mike.. Mike, I did read the man page, but it doesn't seem to address my problem. I've tried having my init file set $HOME/.fluxbox/menu and /etc/fluxbox/fluxbox-menu as the default, but I've discovered that these files are not updated by running update-menus. So my files in /etc/menu are simply ignored, although they are seen by other window managers. Of course, I could simply edit the .fluxbox/menu file by hand each time I add something to /etc/menu or when I install a program using apt-get, but that eliminates one of the nice features of Debian. But perhaps fluxbox doesn't look at /etc/menu for its basic menu; if so, please let me know. I may have been expecting it to do something it doesn't claim to do (I couldn't find anything in the man page that settled this). Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problem updating menus in fluxbox
To explain my puzzle a bit more, I thought that when I ran update-menus, the script in /etc/menu-menthods/fluxbox would update the fluxbox menus. That is what doesn't appear to be happening. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
problem updating menus in fluxbox
Hi, I noticed that fluxbox (.9.12-1) doesn't seem to update its menus (or I am doing something wrong). I have added some menus to /etc/menu and ran update-menus. The new menus show up on other windowmanagers, but don't under fluxbox. They don't seem to be listed properly in either /etc/X11/fluxbox/fluxbox-menu or in my .fluxbox/menu file. I tried running update-menus while not running fluxbox, but that didn't make any difference. Any suggestions? Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
problem with logcheck rules
Hi, I am running logcheck 1.2.28 but am unable to modify the rules to prevent certain information being mailed to me. I get loads of messages like the following in the System Events section of the email: Nov 24 01:08:01 phil cron(pam_unix)[4763]: session opened for user mail by (uid=0) Nov 24 01:08:01 phil cron(pam_unix)[4763]: session closed for user mail Nov 24 01:09:01 phil cron(pam_unix)[4768]: session opened for user root by (uid=0) Nov 24 01:09:01 phil cron(pam_unix)[4768]: session closed for user root After reading the information in /usr/share/doc/logcheck-database, I made a file 'local' in /etc/logcheck/ignore.d.server that contains the following lines: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron\(pam_unix\)\[[0-9]+\]: session closed for user root$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron\(pam_unix\)\[[0-9]+\]: session closed for user mail$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron\(pam_unix\)\[[0-9]+\]: session opened for user mail by \ (uid=[0-9]+\)$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron\(pam_unix\)\[[0-9]+\]: session opened for user root by \ (uid=[0-9]+\)$ But this had no effect at all. I then placed this file in /etc/logcheck/violations.ignore.d/local but it also had no effect there. As far as I can tell, my rules files in the /etc/logcheck directories are having no effect. These rules do find the relevant lines when I use them manually with egrep. My /etc/logcheck/logcheck.conf file contains the following: REPORTLEVEL=server SENDMAILTO=ric RULEDIR=/etc/logcheck ATTACKSUBJECT=Attack Alerts SECURITYSUBJECT=Security Events #EVENTSSUBJECT=System Events I am also puzzled that I still get a System Events subject line section, even though this line is commented out in logcheck.conf. Any suggestions would be appreciated; I've tried many different regexp in the files, and nothing seems to work. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
glxgears slow under 2.6, fast under 2.4
Things are very slow for me under 2.6 kernels. Under 2.4.16 I was able to play tuxracer just fine, but under 2.6.6 things are so slow that it is unplayable (a second or so pause between command and action). I ran glxgears under 2.4.16 and got output like: 2430 frames in 5.0 seconds = 486.000 FPS Under 2.6.6 I get output like: 1332 frames in 5.0 seconds = 266.400 FPS I ran glxinfo and noticed that under 2.4.16 direct rendering was YES but it was NO under 2.6.6. I then tried upgrading to 2.6.8.1 (changing the agpgart chipset to via from intel in the kernel (i do have a via chipset) and things got worse under glxgears with the correct chipset in the kernel: 860 frames in 5.0 seconds = 172.000 FPS I do notice that under 2.4.16 I get the following in dmesg: dmesg |grep agpgart Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 439M agpgart: Detected Via Apollo Pro KT266 chipset agpgart: AGP aperture is 32M @ 0xfc00 and under 2.6.6 I get: Linux agpgart interface v0.100 (c) Dave Jones [drm:drm_init] *ERROR* Cannot initialize the agpgart module. while under 2.6.8.1 I get: $ dmesg |grep agpgart Linux agpgart interface v0.100 (c) Dave Jones [drm:mga_probe] *ERROR* Cannot initialize the agpgart module. agpgart: Detected VIA KT266/KY266x/KT333 chipset agpgart: Maximum main memory to use for agp memory: 439M agpgart: AGP aperture is 32M @ 0xfc00 So things seemed to improve under 2.6.8.1 in that at least I'm detecting the via chipset, but I'm still not initializing the agpgart module. I'm using a Matrox g550 video card. Any suggestions as to what might be wrong or what to do would be appreciated. I'm not a debian expert, and I suspect I may be doing something obviously wrong. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: glxgears slow under 2.6, fast under 2.4
On Thu, Oct 07, 2004 at 10:19:39AM -0600, Justin Guerin wrote: Just a guess, but did you reconfigure X to run at a nice value of 0? The 2.4 kernels ran best when X was niced to -10, but with the 2.6 anticipatory scheduler, it turns out to be a bad thing. Also, check out your /etc/modules contents. Are you trying to load some modules you shouldn't? From your error messages, it does seem that 2.6.8 properly initializes the agpgart, but I don't know why it also gives you the error message. You didn't indicate whether direct rendering was turned on in 2.6.8.1. Was it still off? Nice was at -10, so I changed it to run at 0; it didn't make a difference. Yes, direct rending was still off in 2.6.8.1. I looked at my /etc/modules, and found parport_pc emu10k1 8139too usb-uhci hid ide-scsi ide-cd I don't think i need the ide-scsi and ide-cd under 2.6, but I don't think they hurt anything. Thanks for the suggestion. Best, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: glxgears slow under 2.6, fast under 2.4
On Thu, Oct 07, 2004 at 04:34:54PM -0400, Andrew Schulman wrote: Try the suggested fix at http://home.comcast.net/~andrex/Debian-nVidia/troubleshooting.html#nodri (I know you're not using an nVidia card, but the fix described there is generic). This was quite interesting, but didn't work. When I took out Load GLcore and Load dri from the module section of /etc/X11/XF86Config-r I got an error message with glxgears: ~$ glxgears Xlib: extension XFree86-DRI missing on display :0.0. 979 frames in 5.0 seconds = 195.800 FPS The threads in that url seem to think it is a problem with X. What puzzles me is that it works fine under 2.4.16 but not under 2.6.6, but they use the same XF86Config-4 file. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: glxgears slow under 2.6, fast under 2.4: FIXED
I recompiled the kernel, compiling in AGP_VIA directly and not as a module. This then turned on direct rendering when I booted up, and glxgears is about twice as fast: glxgears 1900 frames in 5.0 seconds = 380.000 FPS 2266 frames in 5.0 seconds = 453.200 FPS 2267 frames in 5.0 seconds = 453.400 FPS 2261 frames in 5.0 seconds = 452.200 FPS Plus, I can now play tuxracer just fine. I now wonder if I would have listed the agp_via module somehow in /etc/modules if that would have helped, or if it doesn't work as a module. Thanks for all the help, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't retrieve large numbers of email
On Sat, Aug 14, 2004 at 09:06:08AM +0100, Alan Chandler wrote: I had a similar problem It turns out that my ISP had some spam messages with a single . on a line by itself. Instead of escaping these, it was transmitting then to me - which was causing fetchmail to think it had got to end of message, was therefore using a command to get the next one. The confused the ISP pop3 server and it closed the connection, this not acting on the delete commands it already had. Next time around it retrieved all the messages again. To get around it, I had to manually telnet into my ISPs pop3 server and issue the delete command manually for that message. In about 1400 spam messages on the server 2 had this problem. I also changed fetchmail to retrieve mail from my isp using IMAP. The delete commands are issued and acting upon every message so I am hoping I don't get the large backlog of messages that resulted from the last occurance. (This is the backup route to my mail, so I had not noticed it had happened because I had stopped receiving mail - but because, all of a sudden I realised I was seeing the same messages over and over again. By the time I had discovered it, there was 1400 messages stuck at my isp). I don't think this is the source of my problem, because I'm using the IMAP protocol and the messages download fine if I wait 10 or 15 minutes; there never is any single message that is creating problems. Given the error message 10, I think it is because fetchmail cannot find an open smtp port. Why, I have no idea. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
can't retrieve large numbers of email
If I allow a large number of emails to build up at my email provider, I have problems downloading them. When I run fetchmail, I can download 100-200 of them, but then I get a message such as the following: reading message [EMAIL PROTECTED]:195 of 399 (10332 octets) flushed reading message [EMAIL PROTECTED]:196 of 399 (5552 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from otte.ucsc.edu fetchmail: Query status=10 (SMTP) If I then run fetchmail again, I get the following: [EMAIL PROTECTED]:~$ fetchmail otte.ucsc.edu 207 messages for ric at otte.ucsc.edu (1083211 octets). reading message [EMAIL PROTECTED]:1 of 207 (5552 octets) ..fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from otte.ucsc.edu fetchmail: Query status=10 (SMTP) If I wait several minutes (10-15) then I will be able to retrieve another 100-200 emails, at which point I get the same error message. I cannot figure out why this is happening. In my /etc/exim/exim.conf, I have the following line: smtp_accept_queue_per_connection = 2000 which I thought would allow large numbers of email to be delivered. I checked /var/log/exim/mainlog, and nothing is written when mail fails. I am sending fetchmail through procmail (which also has no error message in the log file) If anyone knows why this is happening, or has any suggestions, I would appreciate it very much. Thanks, Ric ps--in case it is helpful, here are some more parts of /etc/exim/exim.conf that may be relevant. local_delivery: driver = appendfile group = mail mode = 0660 mode_fail_narrower = false envelope_to_add = true return_path_add = true #file = /var/spool/mail/${local_part} directory=${home}/Maildir maildir_format = true prefix = procmail_pipe: driver = pipe command = /usr/bin/procmail return_path_add delivery_date_add envelope_to_add # check_string = From # escape_string = From suffix = -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't retrieve large numbers of email
On Fri, Aug 13, 2004 at 07:14:41PM -0400, Kevin Mark wrote: Hi rick, I have fetchmail run at intervals (like every 10 minutes) (CRON can do this) and ask it to download a few email at a time (like with --fetchlimit=20). So, I always get a few emails every once in a while. This approach mail help. try doing: fetchmail --fetchlimit=20 (repeat 15 times) and see if this as the same result. -Kev Kev, I think running fetchmail by cron would work, but the problem arises when I am out of town for a couple of days and my home machine is not running. I could, of course, leave it running while I'm gone, but I prefer to shut it down. Next time I return from a trip I may try downloading only 100 messages at a time and see what happens (but there must be an easier way). Thanks for the suggestion, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
squirrelmail and apache2-mpm-worker
I was going to install squirrelmail and received the message that apache2-mpm-worker would be removed and replaced with apache2-mpm-prefork. I had previously installed apache2-mpm-worker because it was the recommended version of apache2. Does anyone know why squirrelmail won't work with ..worker and requires ..prefork? Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
after dist-upgrade mutt in reverse video
Hi, I am running a testing machine and just did a dist-upgrade. This time when I start Mutt from the menus, it shows up in reverse video. Before it looked as if it was being run from rxvt, which is not in reverse video. Now it looks as if it is being run in xterm, which also starts in reverse video from the pulldown menu. I have looked around trying to find where the xterm defaults are, but haven't had much luck. I looked at /usr/lib/menu/mutt and see that it needs'text', and I'm wondering if there is a text setting. Mutt works fine if I start it in an rxvt window, but I'd like to be able to start it from the pulldown menu. I don't have a .XDefaults file. Any suggestions would be appreciated; I've never had this happen before. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Car Talk (wma9 stream) on Debian system?
On Tue, Feb 24, 2004 at 09:42:14PM -0500, Carl Fink wrote: However, they recently switched from Real to wma9 streaming formats, and nothing I can find will play their stream under Linux. Their site claims mplayer will -- but the Marillat version at least, does not. Neither will avifile-player (even with the Windows codecs) or xine. Right before this change occurred I got an email from car talk asking if anyone wanted to donate some Linux servers to run their web site. When they changed and I was unable to listen due to their new format, I promptly emailed them and let them know that something wasn't quite right about relying on Linux and yet changing formats so that folks using Linux couldn't listen to their material. Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
tar --listed-incremental
Hi, I'm trying to use tar for incremental backups. After reading what I could find on the web, it looks as if I need to use the --listed-incremental option. With this option tar creates a file that keeps track of the changes. So if (in /home/ric) I type: tar -cvf /mnt/BACKUP1 --listed-incremental=LIST /home/ric/ to begin my backup, tar will create a file LIST in my home directory which keeps track of what is archived on whatever I have mounted at /mnt. I can then do incremental backups by simply modifying the name of the file: tar -cvf /mnt/BACKUP2 --listed-incremental=LIST /home/ric/ and the file LIST is modified in my home directory. To restore my home directory I would go to /home/ric and type: tar -xvf /mnt/BACKUP1 this creates a home/ric/copy of my original archive. For each incremental backup, I then type: tar -xvf /mnt/BACKUP1 --listed-incremental=LIST which seems to restore my home directory to the state it was in at the last incremental backup. What puzzles me is that the file LIST is restored when I do the first restore from the first tar archive. The listed-incremental option looks at this list when it restores the first incremental update (which has the version of LIST used for that archive). The listed-incremental option looks at the 2nd version of LIST when it restores the 3d incremental archive (which contains the version of LIST that was used to create that archive). So it initially looks as if tar is always one step behind in using the correct file LIST. However, when I try this experimentally, things seem to work out fine. I suppose ideally that I should keep a copy of LIST somewhere independent of the directory being backed up, but then I have to worry about keeping it and the tar archives. I hope this confusion or puzzlement of mine makes sense. I'd appreciate any suggestions on how to use the --listed-incremental option, or comments about this use of it. It doesn't look to me as if it should work, but it seems to do fine. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tar --listed-incremental
Sorry, I mistyped. Instead of ..For each incremental backup, I then type: tar -xvf /mnt/BACKUP1 --listed-incremental=LIST Instead, I should have typed: tar -xvf /mnt/BACKUP2 ..listed-incremental=LIST Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
inetd not being run at startup
I recently lost my hard drive, and after restoring, fetchmail does not work. I get the smtp failed for localhost message, and discovered that exim is not running (I can't telnet to localhost 25). Things work fine if I start exim manually (/usr/sbin/exim -bd), or if I do /etc/init.d/inetd restart or if I do /usr/sbin/inetd. So it looks to me as if inetd is not being run at startup. The relevant line in my /etc/inetd.conf is: smtpstream tcp nowait mail /usr/sbin/exim exim -bs Does anyone have any idea why inetd would not be run at startup? Thanks very much, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: inetd not being run at startup
Aha, sure enough, only rc0.d and rc6.d have a file K20inetd I assume I can fix this by typing update-rc.d inetd defaults Someone please let me know if it would be a mistake to do so. Also, I noticed that there were several other files missing besides inetd, such as: cron, kerneld, ppp, hwclock.sh, etc-setserial, hotplug, urandom, networking, umountfs, and halt. Should I also try to type 'update-rc.d NAME defaults' for them? Thanks, Ric On Mon, Oct 27, 2003 at 11:32:29AM -0700, Monique Y. Herman wrote: On Mon, 27 Oct 2003 at 15:44 GMT, Ric Otte penned: I recently lost my hard drive, and after restoring, fetchmail does not work. I get the smtp failed for localhost message, and discovered that exim is not running (I can't telnet to localhost 25). Things work fine if I start exim manually (/usr/sbin/exim -bd), or if I do /etc/init.d/inetd restart or if I do /usr/sbin/inetd. So it looks to me as if inetd is not being run at startup. The relevant line in my /etc/inetd.conf is: smtpstream tcp nowait mail /usr/sbin/exim exim -bs Does anyone have any idea why inetd would not be run at startup? Thanks very much, Ric Looks like your links to /etc/init.d/inetd from rc?.d are borked. Do you have any files that look like S20inetd in any of your /etc/rc?.d directories? (The number may be different) -- monique Unless you need to share ultra-sensitive super-spy stuff with me, please don't email me directly. I will most likely see your post before I read your mail, anyway. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
X broke after crash, restore, upgrade
My hard drive recently died, and after installing a new one, I tried to get things working by first using Mondo to restore my system to the way it was a year ago. That worked fine. I then took a recent list of packages, and did: dpkg --set-selectionsnew.list.of.packages apt-get update apt-get dselect-upgrade apt-get dist-upgrade I received the following error: dpkg: error processing /var/cache/apt/archives/xserver-xfree86_4.2.1-12.1 _i386.deb (--unpack): subprocess pre-installation script returned error exit status 1. I tried various things, such as apt-get clean, but nothing helped. So I installed xserver-xfree86/stable instead of testing, which I normally run. This installed fine. But x is unable to start. I tried several different config files, including the one right before the crash and one from my office machine, but none of them seem to get X working. I will append the output of /var/log/XFree86.0.log below, but the last lines are something like: (EE) No Devices detected Fatal Server Error No screens found I've tried to run dpkg-reconfigure xserver-xfree86 a couple of times, but that also didn't help. In case it is helpful, I will also append my most recent XF86Config-4 file at the end. Any suggestions would be greatly appreciated. I am hoping to avoid erasing the disk and starting completely over. Thanks, Ric /var/log/XFree86.0.log : This is a pre-release version of XFree86, and is not supported in any way. Bugs may be reported to [EMAIL PROTECTED] and patches submitted to [EMAIL PROTECTED] Before reporting bugs in pre-release versions, please check the latest version in the XFree86 CVS repository (http://www.XFree86.Org/cvs) XFree86 Version 4.1.0.1 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 21 December 2001 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Build Operating System: Linux 2.4.20-8um i686 [ELF] Module Loader present (==) Log file: /var/log/XFree86.0.log, Time: Fri Oct 24 05:59:50 2003 (==) Using config file: /etc/X11/XF86Config-4 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout Default Layout (**) |--Screen Default Screen (0) (**) | |--Monitor dell 1702FP (**) | |--Device matrox g550 (**) |--Input Device Generic Keyboard (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc104 (**) XKB: model: pc104 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (**) |--Input Device Configured Mouse (WW) The directory /usr/lib/X11/fonts/CID does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/cyrillic does not exist. Entry deleted from font path. (**) FontPath set to unix/:7100,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi (==) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (--) using VT number 7 (WW) Open APM failed (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.4 XFree86 XInput driver : 0.2 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.2 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.1.0.1, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.2 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.1.0.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.4 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x803c, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1106,3099 card 1043,8064 rev 00 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 1106,b099 card , rev 00 class 06,04,00 hdr 01 (II) PCI: 00:06:0: chip 105a,0d30 card 105a,4d33 rev 02 class 01,80,00 hdr 00 (II) PCI: 00:0d:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00 (II) PCI: 00:0e:0: chip 1102,0002 card 1102,8064 rev 08 class 04,01,00 hdr 80 (II) PCI: 00:0e:1: chip 1102,7002 card 1102,0020 rev 08 class 09,80,00 hdr 80 (II) PCI: 00:0f:0: chip 12b9,1008 card 12b9,00aa rev 01 class 07,00,02 hdr 00 (II) PCI: 00:11:0: chip 1106,3074 card 1043,8052 rev 00 class 06,01,00 hdr 80 (II) PCI: 00:11:1: chip 1106,0571 card , rev 06 class 01,01,8a hdr 00 (II) PCI: 00:11:2: chip 1106,3038 card
sudden vim problem in mutt
Hi, I've been using mutt with vim for a couple of years with no problem. But recently I've noticed that when I reply and begin inserting text (on the same line as, and right before the original message), the line does not wrap when I get to 77 spaces (what I have set in .vimrc). What happens is that the text just continues on the next line, and I end up with a very long line, unless I hit Enter (it doesn't matter if I insert spaces in the text). Strangely enough, this does not happen if I am simply using vim or gvim outside of mutt. I can even write an email message to a file, and have the lines wrap when editing with vim, but it won't do it when vim is called from mutt. Even more strange, sometimes vim will begin wrapping the lines later in the message, but I am not sure how to reproduce this. I do not believe I've changed my .muttrc settings, but I might have changed something when pasting in quotations or adding vimspell to .vim/plugins. Unfortunately I can't remember what I have done, if anything. Any suggestions would be appreciated. Ric here is my .vimrc file: set list set listchars=tab:- set textwidth=77 set fileformats=unix,mac,dos set showcmd Show (partial) command in status line. set showmatch Show matching brackets. set ignorecase Do case insensitive matching set incsearch Incremental search set autowrite Automatically save before commands like :next and :make noremap F8 :so `vimspell.sh %`CRCR noremap F7 :syntax clear SpellErrorsCR -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sudden vim problem in mutt
Nathan, I tried your suggestion, but that doesn't seem to change the behaviour. The lines still don't wrap (I had to hit a Return to get the above line to break). I am using Mutt 1.5.4-1 and vim 6.1-320+1. Thanks, Ric On Wed, Oct 01, 2003 at 01:03:30PM -0500, Nathan Poznick wrote: Thus spake Ric Otte: Hi, I've been using mutt with vim for a couple of years with no problem. But recently I've noticed that when I reply and begin inserting text (on the same line as, and right before the original message), the line does not wrap when I get to 77 spaces (what I have set in .vimrc). What happens is that the text just continues on the next line, and I end up with a very long line, unless I hit Enter (it doesn't matter if I insert spaces in the text). Strangely enough, this does not happen if I am simply using vim or gvim outside of mutt. I can even write an email message to a file, and have the lines wrap when editing with vim, but it won't do it when vim is called from mutt. Even more strange, sometimes vim will begin wrapping the lines later in the message, but I am not sure how to reproduce this. I do not believe I've changed my .muttrc settings, but I might have changed something when pasting in quotations or adding vimspell to .vim/plugins. Unfortunately I can't remember what I have done, if anything. Any suggestions would be appreciated. Try using something like this in your .muttrc : set editor=vim -c 'set notitle ft=mail tw=72 expandtab noautoindent' -- Nathan Poznick [EMAIL PROTECTED] This is the part where the Zagnut is fertilized by the salted nut roll... -Joel. #413 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sudden vim problem in mutt
Hi, Well, after trying many different things, I finally got it to work. I put the following line in my .vimrc: au FileType mail set tw=70 fo=tcrq2 nomodeline I don't know why that solved the problem, and the line: set textwidth=77 in .vimrc didn't work. But at least it is working. Thanks for the advice. Best wishes, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sed, bash script
On Wed, Sep 17, 2003 at 11:40:31AM +0100, Karsten M. Self wrote: on Wed, Sep 17, 2003 at 08:08:26AM +0800, csj ([EMAIL PROTECTED]) wrote: At Tue, 16 Sep 2003 17:08:51 +0200, Matthias Czapla wrote: On Tue, Sep 16, 2003 at 07:39:39AM -0700, Ric Otte wrote: Hi, I would like to run all of the files in some directories through sed, in order to edit the files. I can do it for individual files by typing: cat filename|sed commandfilename But that requires me to run that command for each file. I was wondering if anyone could 1) give me a reference to a simple bash tutorial that will explain how to set up a script to do things like this, http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html and 2) tell me how to do it. for f in *; do tmp=`tempfile`; cat $f | sed command $tmp ; mv $tmp $f; done Is there anything intrinsically wrong with: find directory -name *.foo | xargs sed -i -f sed_script Well: - It outputs everything to stdout, rather than a named file for each input. - You need to restrict the number of input files with 'xargs -n 1' - You could run into problems with filenames containing embeded IFS characters. -print0 / -0 are useful arguments. Hmm, I tried 'find directory -name *.foo | xargs sed -i -f sed_script' and it worked. Evidently my version of sed knows about -i (4.0.7-1) and the changes showed up in the original filenames, not stdout. Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
sed, bash script
Hi, I would like to run all of the files in some directories through sed, in order to edit the files. I can do it for individual files by typing: cat filename|sed commandfilename But that requires me to run that command for each file. I was wondering if anyone could 1) give me a reference to a simple bash tutorial that will explain how to set up a script to do things like this, and 2) tell me how to do it. I was thinking I could set up an alias FOO and type 'FOO *' , but I haven't been able to get that to work--I don't know how to refer to the filename in the alias. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SBC/Yahoo DSL with Debian?
Thanks for all the comments. I'm going to sign up, and this will all be very helpful when I set it up. I think I will ask for the box that is a modem/router/wireless for $50 instead of the free modem, which should then be easy to hook up to my linux machine. Best, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SBC/Yahoo DSL with Debian?
Hi, I saw that SBC/Yahoo had a DSL offer of $30 a month, and I called them up to ask if it would work with Linux. The woman at tech support confidently assured me, over and over, that it would not work with Linux. I spoke to her a long time, trying to figure out why it wouldn't work. She said that since they use pppoe and not dhcp, I couldn't get an ip address with a dhcp client. But Debian has a pppoe package, and there are also things like rp-pppoe. Although she could not explain to me why it wouldn't work, she was absolutely positive it wouldn't. The modem/router they give out as part of the deal is a Homeportal 1000sw. I checked that on the web, and it looks to me as if it uses pppoe to connect to SBC, and then assigns either static or dynamic ip addresses to computers plugged into it. It also says that it is Linux compatible. So I find it very difficult to believe that Linux will not work with SBC DSL service, unless they are intentionally doing something to prevent Linux users from using their service. So I was wondering if anyone is using SBC DSL, or knows if it will work. Any info would be appreciated; thanks. Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hard drives larger than 137gb
Thanks--that is quite helpful. I may stick to less than 137gb to avoid using the adapter card. Ric On Sat, Mar 08, 2003 at 08:13:17PM -0600, Lupust wrote: The 2.4.x kernel supports them, but you also have to have either a mainboard with ATA/133 or a ATA/133 adapter card. I am using a 160 on one of my Linux boxes here with the ATA/133 adapter card, no problems. Lupust -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
hard drives larger than 137gb
Hi, Is it possible to use some of the large IDE hard drives (such as 160, 180, 200gb) that are being advertised with linux? If so, is some sort of patch needed to be able to 'see' the whole drive? And can I install it just as I would a normal hard drive?Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
hfs support in 2.4.20
I downloaded 2.4.20 from www.kernel.org and am trying to compile it with hfs file support (so I can read disks given to me written on a mac). When I type 'make menuconfig' I do not get the option of compiling hfs file support. It has lots of other types of file system support, such as ext3 and reiserfs, but no hfs. I tried using an old .config file that had 'CONFIG_HFS_FS=y', but that didn't work. Any suggestions on what I'm doing wrong? Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hfs support in 2.4.20
Thanks, that did it! Ric On Tue, Feb 11, 2003 at 03:50:33PM -0600, Nathan E Norman wrote: On Tue, Feb 11, 2003 at 01:10:14PM -0800, Ric Otte wrote: I downloaded 2.4.20 from www.kernel.org and am trying to compile it with hfs file support (so I can read disks given to me written on a mac). When I type 'make menuconfig' I do not get the option of compiling hfs file support. It has lots of other types of file system support, such as ext3 and reiserfs, but no hfs. I tried using an old .config file that had 'CONFIG_HFS_FS=y', but that didn't work. Any suggestions on what I'm doing wrong? Thanks, Answer 'Y' to Prompt for development and/or incomplete code/drivers in the section Code maturity level options. -- Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] Q: What's tiny and yellow and very, very, dangerous? A: A canary with the super-user password. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
changing from mbox to maildir
Hi, I am wanting to change my mail from mbox format to maildir format (to make it easier to incrementally backup my email using rsync). I don't really understand the differences between MH and maildir, but rather arbitrarily decided to go with maildir. Before I completely screw things up I thought I'd ask to see if my plan to change is workable. I am using fetchmail, procmail, and mutt. I assume my fetchmail settings can remain the same. For procmail and mutt I put / at the end of the mailbox names. For my .procmailrc file, I thought something like the following would do: PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin MAILDIR=$HOME/Mail # you'd better make sure it exists DEFAULT=$MAILDIR/inbox/ # completely optional LOGFILE=$MAILDIR/procmail.log # recommended :0: *^Resent-From: [EMAIL PROTECTED] in.debian/. For my .muttrc, I was thinking of changing to the following (in addition to the other stuff I believe is irrelevant to this change): set mbox_type=Maildir set mbox=~/Maildir/inbox/ set folder=~/Mail/ set record=~/Mail/outbox/ set spoolfile=~/Maildir/inbox/ I also want some lines like the following which (I hope) will provide default mailboxes when saving from various email addresses: save-hook neu =jerry/ I also like read mail from certain inboxes, such as 'in.debian', to be moved to mailbox 'debian' when the mailbox is closed. So I think I want something like this: mbox-hook =in.debian/ =debian/ I want mutt to look for new mail in the following mailboxes: mailboxes ! +inbox/ +in.debian/ Does it look like the above will work? Another question is whether I could put some of my old mbox files in the Mail directory, and if mutt could work on a mixture of maildir and mbox formats. I have several directories of old mail that I keep and occasionally look at. If not, I will have to convert all of my old mbox files to maildir files, but I'd really like to avoid that. Any advice about modifying .procmailrc and .muttrc would be appreciated. Thanks, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
cdrecord freezes when burning data
Hi, I moved a Sony cdburner from my home machine to my office machine (testing), but am now unable to burn data cds. I am able to burn music cds (.wav files) using the command: cdrecord -v speed=16 dev=0,1,0 -dao -useinfo *.wav To burn a data file I (as root) first type: mkisofs -r -o output.file input.directory/ and then type: cdrecord blank=fast -v dev=0,1,0 speed=2 filename (I began using cd-rw because I was ruining cd-r disks--the same thing happens with cd-r disks). The machine prints out several lines of info (appended below), but then it simply freezes up about the time it begins to write. Sometimes it will write a small amount before freezing up. After nothing happens for a long while, the mouse is frozen, and the only way I know to get control back is to unplug the machine and reboot (I really really hate doing that). If I type ctrl-c while the machine is doing nothing, but before it freezes up, I get the prompt back at the terminal. But soon the cdburner starts whirring and making a lot of noise in the background, and then the machine freezes up again (and I then unplug it and start over--I'm afraid the burner will destroy itself if I let it spin forever). This is repeatable many times, with different initial directories. I then tried backing up a file that was very small, 344 kb, and things worked fine: no freezing up. But it still freezes on larger files. Any help would be appreciated. Thanks, Ric Here is the messages I get up until the machine freezes: otte:/home/ric# cdrecord blank=fast -v dev=0,1,0 speed=2 x4.output Cdrecord 1.11a34 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.6' atapi: 1 Device type: Removable CD-ROM Version: 0 Response Format: 1 Vendor_info: 'SONY' Identifikation : 'CD-RW CRX1611 ' Revision : 'TYS7' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : MMC-2 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96P RAW/R96R Drive buf size : 1658880 = 1620 KB FIFO size : 4194304 = 4096 KB Track 01: data 4 MB Total size:5 MB (00:31.17) = 2338 sectors Lout start:5 MB (00:33/13) = 2338 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 6 Reference speed: 2 Is not unrestricted Is erasable ATIP start of lead in: -11078 (97:34/22) ATIP start of lead out: 336075 (74:43/00) 1T speed low: ( 0 reserved val 0) 1T speed high: 4 2T speed low: ( 0 reserved val 5) 2T speed high: ( 0 reserved val 12) power mult factor: 3 5 recommended erase/write power: 3 A1 values: 02 3A B0 A2 values: 5C C6 26 Disk type:Phase change Manuf. index: 11 Manufacturer: Mitsubishi Chemical Corporation Blocks total: 336075 Blocks current: 334125 Blocks remaining: 331787 Starting to write CD/DVD at speed 4 in real TAO mode for single session. Last chance to quit, starting real write in 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. Performing OPC... Blanking PMA, TOC, pregap (at this point the machine will eventually freeze, and will require restarting. Sometimes it will get past this point and I will get a line that says something about Track 01, but it never gets past 1mb of ... written. The following message is what I get when I burn a very small file successfully:) otte:/home/ric# cdrecord blank=fast speed=2 dev=0,1,0 -v x3.output Cdrecord 1.11a34 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.6' atapi: 1 Device type: Removable CD-ROM Version: 0 Response Format: 1 Vendor_info: 'SONY' Identifikation : 'CD-RW CRX1611 ' Revision : 'TYS7' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : MMC-2 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96P RAW/R96R Drive buf size : 1658880 = 1620 KB FIFO size : 4194304 = 4096 KB Track 01: data 0 MB padsize: 344 KB Total size:0 MB (00:04.02) = 302 sectors Lout start:1 MB (00:06/02) = 302 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 6 Reference speed: 2 Is not unrestricted Is erasable ATIP start of lead in: -11078 (97:34/22) ATIP start of lead out: 336075 (74:43/00) 1T speed low: ( 0 reserved val 0) 1T speed high: 4 2T speed low: ( 0 reserved val 5) 2T speed high: ( 0 reserved val 12) power mult factor: 3 5 recommended erase/write power: 3 A1 values: 02 3A B0 A2 values: 5C C6 26 Disk type:Phase change Manuf. index: 11 Manufacturer: Mitsubishi Chemical Corporation Blocks total: 336075 Blocks current: 322407 Blocks remaining:
Re: procmail slow email delivery
Shyamal, Among other very useful things, you wrote: This is the key part. Your mail is being delivered to ric@otte, and I'm guessing this is fetchmail. But otte is not a local domain, so it is being sent to your smart host. My question would be: where exactly did you ask fetcmail to drop your mail (what is on the line ending with is xxx here)? Yes. It really should, unless fetchmail is qualifying the name to start with. You were right. My .fetchmailrc file read: poll cats.ucsc.edu proto POP3 user otte with password x is ric here keep smtphost otte I believe it was that last line which was sending the mail to 'ric@otte'. After I changed that line to simply 'keep', I noticed that exim is now sending the mail to 'ric@localhost', which is fine. My hosts file looks like this: 127.0.0.1ottelocalhost 128.114.180.220 otte.ucsc.edu otte (with a buch of stuff that I don't understand about IPv6 capable hosts, added automaticaly by netbase upgrade) If this doesn't look ok to you, let me know. Thanks very much; it looks like things are working now. Best wishes, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
net connect problem, sleep?
I am running Debian 2.2.17 on my office machine connected to a university network. When I'm in my office things work well, and I am connected well to the outside world. When I leave the office and the machine is not being used, it cannot be pinged from the outside world (it can be pinged when I'm using it in my office). I thought this might be because the machine is going to sleep when I'm gone (the screen does go blank), but I couldn't find any power saving system turned on in the bios (I may not be looking in the right place, or know what I'm looking for). I am now able to keep the machine accessible from outside by running a javascript program that reloads a web page every couple of minutes; this allows me to ping the machine at will. But I'd like to avoid this, and would like to fix the problem. I was wondering if it was in the ethernet card or driver. My startup message reads: eth0: 3Com 3c900 Cyclone 10Mbps TPC at 0x1080, 00:50:04:0d:87:e1, IRQ 11 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface. MII transceiver found at address 24, status 182d. Enabling bus-master transmits and whole-frame receives. I was wondering if replacing that ethernet card with a linksys 10/100 card (and tulip driver) would help; I have it lying on my desk. Any suggestions would be appreciated, Ric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: change ethernet to ppp, routing
I hadn't known about the /etc/network/interfaces file, and when I fiddled with it, things seem to be fixed. Thanks very much! Ric On Wed, Dec 26, 2001 at 05:06:10PM -0500, k l u r t wrote: On Wednesday 26 December 2001 01:24 pm, Ric Otte wrote: Yep, I did mean to write that I want to connect to the Internet with ppp, instead of I want to connect to the ethernet with ppp. Basically I'm wanting to use the machine at home instead of my office. I'm sorry for the confusion. SO, if I need to delete the default route to the internet via my ethernet card, how do I do that? Do I use 'route del eth0' or do I need to type something like: 'route del netmask 255.255.255.0 eth0' I've never used the command 'route' before, but it looks to me like it is the one that will add or delete routes. Thanks, Ric On Wed, Dec 26, 2001 at 11:29:28AM -0600, John Hasler wrote: klurt writes: you need to use PPPoE I think that he intended to write I want to connect to the Internet with ppp rather than I want to connect to the ethernet with ppp. hmm.. sorry... i be confused. i thought you were trying to use adsl w/ pppoe... but i think to solve your problem, you would want to take a look at your /etc/network/interfaces - you could use route, but you would have to route del everytime you wanted to connect. I'm assuming that in your /etc/network/interfaces is a configuration for your office's LAN on eth0. you would want to comment that out or just remove it completely. then if you wanted to use your eth0 for your local LAN, you can config /etc/network/interfaces for such a need... kinda like this: auto eth0 iface eth0 inet static address 192.168.1.1 - or use whatever addy you want network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 #or to use dhcp #iface eth0 inet dhcp i hope this helps solve the confusion and not add to it.. - k l u r t -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: change ethernet to ppp, routing
Yep, I did mean to write that I want to connect to the Internet with ppp, instead of I want to connect to the ethernet with ppp. Basically I'm wanting to use the machine at home instead of my office. I'm sorry for the confusion. SO, if I need to delete the default route to the internet via my ethernet card, how do I do that? Do I use 'route del eth0' or do I need to type something like: 'route del netmask 255.255.255.0 eth0' I've never used the command 'route' before, but it looks to me like it is the one that will add or delete routes. Thanks, Ric On Wed, Dec 26, 2001 at 11:29:28AM -0600, John Hasler wrote: klurt writes: you need to use PPPoE I think that he intended to write I want to connect to the Internet with ppp rather than I want to connect to the ethernet with ppp. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI