Re: [gentoo-user] Re: [OT] filesystems
On Mon, Dec 1, 2008 at 1:38 AM, Shawn Haggett [EMAIL PROTECTED] wrote: On Sat, 29 Nov 2008 04:21:44 pm Jorge Peixoto de Morais Neto wrote: Speaking of md5sum/shasum, do you know some tool that adds data redundancy? I heard dvddistaster does this, but I guess it is limited to DVDs. It would be great fo find a general data redundancy tool. In the moment, with the tools I know, the best I can do is store the files twice, with md5sums/shasums to decide which version is correct. Have a look at app-arch/par2cmdline ( http://parchive.sourceforge.net/ ). It will create parity files for an arbitrary set of data files and you can choose your level of redundency (from 0 = now redundency, just integrity checking, up to 100%). Although expect your parity files to be on the order of the percentage for size, i.e. 50% redundancy for some given files to take about 50% of their size for the parity files). The down side I find with the tool is that it doesn't currently support directories. This isn't so bad for creating parity files, but during checking/restore, the program expects all files to exist in the current directory, despite which sub-dirs they were originally in. You can get around this with a tar/rar/zip first, then calculate parities on the archive though. Thank you very much. I have taken a quick look at this, and seems to be what I look for. In a few days, when I have time, I will try it on some files and see the results.
[gentoo-user] Re: pager independant of window manager
Dirk Heinrichs [EMAIL PROTECTED] writes: Am Samstag, 29. November 2008 18:32:34 schrieb Rodrigo Lazo: I think he mean a pager like this: http://fluxbox.sourceforge.net/fbpager/ Aargh, stupid me. Yes, there's two meanings of pager. He he... caught you in a dumb move... since you make very few of them... I'll have to make the most of this one I hoped by using `desktop pager' it would avoid this very comment. Nah nah na na naaa
[gentoo-user] USB permissions glitch
Something keeps resetting the permission for /mnt/usb to 755 , which prevents me accessing a USB storage stick as user. My user is in the USB group : 'usb:x:85:haldaemon,purslow'; in /etc/fstab I have : '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0' (I never use 1 USB device at a time, so this is ok). Till last week, it worked as expected there's been no change in Udev rules. I've made a work-around by amending the Bash alias I use to mount it to alias musb='mount /dev/sdb1 /mnt/usb ; chmod 777 /mnt/usb' , which does solve the problem, but is there a more conventional method ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] USB permissions glitch
Philip Webb schrieb: Something keeps resetting the permission for /mnt/usb to 755 , which prevents me accessing a USB storage stick as user. My user is in the USB group : 'usb:x:85:haldaemon,purslow'; in /etc/fstab I have : '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0' (I never use 1 USB device at a time, so this is ok). Till last week, it worked as expected there's been no change in Udev rules. I've made a work-around by amending the Bash alias I use to mount it to alias musb='mount /dev/sdb1 /mnt/usb ; chmod 777 /mnt/usb' , which does solve the problem, but is there a more conventional method ? You can include the mountoption uid= gid=. signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: pager independant of window manager
Rodrigo Lazo [EMAIL PROTECTED] writes: [...] http://fluxbox.sourceforge.net/fbpager/ Yeah, I knew about that one and have tried it but its no more aware than bbpager (blackbox). By that I mean, clicking inside the pager does not transport you to that desktop. At least I did not see that happen here. However I've since found that in blackbox one can use the mouse scroll wheel to quickly navigate to any desktop and bbpager supplies the quick visual reference. So I think with a little usage, clicking in the pager will not be my first thought when needing to change desktops. One other missing ingredient though is that you cannot tell what the windows displayed inside the pager are. I'm used to seeing what they are ala kde. But again the mouse scroll is so quick, that may not matter much either. So far I can never remember which way to scroll. but with only 4 desktops I actually ever use... it still is very quick to mouse scroll until you find the right one.
Re: [gentoo-user] Re: boot messages; vga; vesa; HDTV monitor
Oops, a slight typo in the last message the boot option should be fbcon=font:name John From: john stampe [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Monday, December 1, 2008 6:11:47 PM Subject: Re: [gentoo-user] Re: boot messages; vga; vesa; HDTV monitor Not sure if this will answer your question, but you can adjust which font is used by the kernel framebuffer either in the kernel: Device Drivers -- Graphics Support -- Console Display Driver Support -- [] Select compiled-in fonts or by adding fbcon=fontname as a boot option. Regards, John From: 7v5w7go9ub0o [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Monday, December 1, 2008 8:29:48 AM Subject: [gentoo-user] Re: boot messages; vga; vesa; HDTV monitor Volker Armin Hemmann wrote: On Saturday 29 November 2008, 7v5w7go9ub0o wrote: 1. Anyone aware of a wiki or other gentoo help that describes how to change the boot message size during boot? yes, it is. In /usr/src/Documentation. Thanks for the reply. Wasn't able to find any reference here (/usr/src/linux/Documentation) to anything other than configuring the kernel for framebuffer alternatives. Either way, it seems that my HDTV monitor is not very happy with the framebuffer - but works great with X.
Re: [gentoo-user] Re: boot messages; vga; vesa; HDTV monitor
Not sure if this will answer your question, but you can adjust which font is used by the kernel framebuffer either in the kernel: Device Drivers -- Graphics Support -- Console Display Driver Support -- [] Select compiled-in fonts or by adding fbcon=fontname as a boot option. Regards, John From: 7v5w7go9ub0o [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Monday, December 1, 2008 8:29:48 AM Subject: [gentoo-user] Re: boot messages; vga; vesa; HDTV monitor Volker Armin Hemmann wrote: On Saturday 29 November 2008, 7v5w7go9ub0o wrote: 1. Anyone aware of a wiki or other gentoo help that describes how to change the boot message size during boot? yes, it is. In /usr/src/Documentation. Thanks for the reply. Wasn't able to find any reference here (/usr/src/linux/Documentation) to anything other than configuring the kernel for framebuffer alternatives. Either way, it seems that my HDTV monitor is not very happy with the framebuffer - but works great with X.
[gentoo-user]Unable to download Imagemagick
Hello Since last week, i'm unable to download new imagemagick sources. This is what i get from emerge : [EMAIL PROTECTED] ~ $ sudo emerge -vu imagemagick These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-gfx/imagemagick-6.4.4.6 [6.4.0.6] USE=bzip2 corefonts%* jpeg jpeg2k openmp%* perl png svg tiff truetype xml zlib -X -djvu -doc -fontconfig -fpx -graphviz -gs -hdri -jbig -lcms -nocxx -openexr -q32 -q8 -raw% -wmf 8,650 kB Total: 1 package (1 upgrade), Size of downloads: 8,650 kB Verifying ebuild Manifests... Emerging (1 of 1) media-gfx/imagemagick-6.4.4.6 to / Downloading 'http://gentoo.dsv.agh.edu.pl/distfiles/ImageMagick-6.4.4-6.tar.bz2' --2008-12-01 12:59:40-- http://gentoo.dsv.agh.edu.pl/distfiles/ImageMagick-6.4.4-6.tar.bz2 Resolving gentoo.dsv.agh.edu.pl... 149.156.124.22 Connecting to gentoo.dsv.agh.edu.pl|149.156.124.22|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2008-12-01 12:59:40 ERROR 404: Not Found. Downloading 'ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.4.4-6.tar.bz2' --2008-12-01 12:59:41-- ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.4.4-6.tar.bz2 = `/usr/portage/distfiles/ImageMagick-6.4.4-6.tar.bz2' Resolving ftp.imagemagick.org... 74.63.3.20 Connecting to ftp.imagemagick.org|74.63.3.20|:21... connected. Logging in as anonymous ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /pub/ImageMagick ... done. == SIZE ImageMagick-6.4.4-6.tar.bz2 ... done. == PASV ... done.== RETR ImageMagick-6.4.4-6.tar.bz2 ... No such file `ImageMagick-6.4.4-6.tar.bz2'. !!! Couldn't download 'ImageMagick-6.4.4-6.tar.bz2'. Aborting. * Fetch failed for 'media-gfx/imagemagick-6.4.4.6' !!! can't process invalid log file: merge.ERROR When i'm trying to download it manually i get : wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.4.4-6.tar.bz2 --2008-12-01 13:01:30-- ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.4.4-6.tar.bz2 = `ImageMagick-6.4.4-6.tar.bz2' Resolving ftp.imagemagick.org... 74.63.3.20 Connecting to ftp.imagemagick.org|74.63.3.20|:21... connected. Logging in as anonymous ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /pub/ImageMagick ... done. == SIZE ImageMagick-6.4.4-6.tar.bz2 ... done. == PASV ... done.== RETR ImageMagick-6.4.4-6.tar.bz2 ... No such file `ImageMagick-6.4.4-6.tar.bz2'. Thank You for Your help ? -- Rafał (ert16) Trójniak [EMAIL PROTECTED] : [EMAIL PROTECTED] Jid : [EMAIL PROTECTED] GPG key-ID : DD681D47 749F E1DC A58F 9084 BBC0 797A 0691 53D6 DD68 1D47 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] USB permissions glitch
081201 Justin wrote: Philip Webb schrieb: Something keeps resetting the permission for /mnt/usb to 755 , which prevents me accessing a USB storage stick as user. / sb 'writing' My user is in the USB group : 'usb:x:85:haldaemon,purslow'; in /etc/fstab I have : '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0' (I never use 1 USB device at a time, so this is ok). You can include the mountoption uid= gid= . According to 'man mount', they are not available for 'ext2' (only 'fat'). I reformat USB sticks to a Linux fs, as 'fat' seems to reduce capacity. Till last week, it worked as expected there's been no change in Udev rules. In any case, that's not what I did to make it work before. I've made a work-around by amending the Bash alias I use to mount it to alias musb='mount /dev/sdb1 /mnt/usb ; chmod 777 /mnt/usb' , which does solve the problem, but is there a more conventional method ? Does anyone have any other suggestions (thanks for this one) ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] Re: Unable to download Imagemagick
ert256 wrote: Hello Since last week, i'm unable to download new imagemagick sources. This is what i get from emerge : [EMAIL PROTECTED] ~ $ sudo emerge -vu imagemagick [...] When i'm trying to download it manually i get : No such file `ImageMagick-6.4.4-6.tar.bz2'. Try this mirror: http://ftp.surfnet.nl/pub/ImageMagick/ImageMagick-6.4.4-6.tar.bz2
Re: [gentoo-user] USB permissions glitch
On Mon, 1 Dec 2008 07:10:00 -0500, Philip Webb wrote: in /etc/fstab I have : '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0' (I never use 1 USB device at a time, so this is ok). You can include the mountoption uid= gid= . According to 'man mount', they are not available for 'ext2' (only 'fat'). I reformat USB sticks to a Linux fs, as 'fat' seems to reduce capacity. You didn't mention that before, it was reasonable to assume that you were using FAT because you have a umask option in fstab, which also does not apply to ext2. Are you setting the permissions of the mount point with the device mounted or unmounted? When the device is mounted,the mount point assumes the ownership and permissions of the root of the device's filesystem. You need to chmod/chown it with the stick mounted. -- Neil Bothwick On the other hand, you have different fingers. signature.asc Description: PGP signature
Re: [gentoo-user]Unable to download Imagemagick
On Monday 01 December 2008 13:03:11 ert256 wrote: Hello Since last week, i'm unable to download new imagemagick sources. This is what i get from emerge : [snip] No such file `ImageMagick-6.4.4-6.tar.bz2'. Thank You for Your help ? Hi You could try adding some more mirrors with mirrorselect emerge -av app-portage/mirrorselect mirrorselect -i -o /etc/make.conf After that, you'd have to delete or comment the previous GENTOO_MIRRORS=... in /etc/make.conf HTH Uwe signature.asc Description: This is a digitally signed message part.
[gentoo-user] waiting for Godot uevents
My back-up box has an irritating problem, which was discussed here in a thread which ended 080731 (msg 73690) apparently unresolved. At boot, it says populating /dev with existing devices thro' uevents ... . On this my everyday machine, it all goes successfully very quickly, but on the other it says waiting for uevents to be processed takes a very long time to finish whatever it's doing ( c 2 min ). Both machines have Udev-124-r1 I copied /etc/udev/rules.d/* from this one to the back-up rebooted it, but without any change. Was this problem ever resolved ? Does anyone have suggestions ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] OpenOffice-bin spellchecker not working
Any ideas how to fix? ispell, hunspell, aspell, myspell-en and aspell-en are all installed. James
Re: [gentoo-user] USB permissions glitch
081201 Neil Bothwick wrote: On Mon, 1 Dec 2008 07:10:00 -0500, Philip Webb wrote: in /etc/fstab I have : '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0' I reformat USB sticks to a Linux fs, as 'fat' seems to reduce capacity. You didn't mention that before: it was reasonable to assume that you were using FAT because you have a umask option in fstab, which also does not apply to ext2. Thanks(1) : I hadn't noticed that. I have 1 USB stick with 'fat', in case I want to exchange files with a M$ machine (more below), hence the 'auto' entry in the filesystem column. Are you setting the permissions of the mount point with the device mounted or unmounted ? When the device is mounted, the mount point assumes the ownership permissions of the root of the device's filesystem. You need to chmod/chown it with the stick mounted. Thanks(2) : indeed ! -- I reformatted 2 sticks to 'ext2' recently that seems to be what undid the previous behaviour: having done 'chmod' with each stick mounted, the permissions persist when I remount them. However, I can't similarly change the permission for the 'fat' stick, presumably because M$ formats don't understand Linux permissions. I will make appropriate notes ... (smile) -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] FiXeD: Re: Bug 246672 ATI-DRIVERS
James wireless at tampabay.rr.com writes: ati-drivers will not compile, any version. Here is the errors from 8.552-r2 : I finally got 8.552-r2 installed and working using the latest information from bug 246672. This is the 3rd posting to the list (via Gmane) so appologies in advance if anyone get's multiple copies. Gmane does not show these multiple postings.. thanks Volker, James
Re: [gentoo-user] OpenOffice-bin spellchecker not working
2008/12/1 James [EMAIL PROTECTED] Any ideas how to fix? ispell, hunspell, aspell, myspell-en and aspell-en are all installed. James, ooo 3 use extensions to install dictionaries. James
Re: [gentoo-user] audacious 1.5 not playing
Hi, Maybe you could provide more detail about the error and your specific setup? What does emerge --info say? Do you get any error output when you try to play ogg-files? Just in case: I do use audacious once in a while and have been using the 1.5.1 versions for some time now. mp3 and ogg files both play like a charm (just checked it to be abs sure) Here the USE flags as set on my boxes: # emerge -1pv audacious audacious-plugins These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-sound/audacious-1.5.1-r1 USE=nls session sse2 (-altivec) -chardet -libsamplerate 1,943 kB [ebuild R ] media-plugins/audacious-plugins-1.5.1-r3 USE=aac adplug alsa flac modplug mp3 musepack nls oss sdl tta vorbis wavpack wma -arts -chardet -esd -gnome -jack -lirc -mtp -pulseaudio -scrobbler -sid -sndfile -sse2 -timidity 0 kB Cheers, Sandro
Re: [gentoo-user] audacious 1.5 not playing
Michael George schrieb am 30.11.2008 11:33: I updated audacious and audacious-plugins from 1.4.6 and .5 to 1.4.1-r1 and r3, respectively. It comes up and seems to operate fine, but it won't play my ogg files. It doesn't even seem to try. I downgraded to 1.4.6/5 and it plays fine. I'll be testing it on mp3 files today, I hope, to see if it's a problem unique to 1.5.x. Anyone else having problems with audacious 1.5.x? Had the same problem here! I guess you have set Detect file formats on demand, instead of immediately under Preferences - Audio - Format Detection Disabling this option makes playback of ogg and mp3 files working again here. Regards, Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: pager independant of window manager
Joshua Murphy wrote: On Mon, Dec 1, 2008 at 5:45 AM, Harry Putnam [EMAIL PROTECTED] wrote: Rodrigo Lazo [EMAIL PROTECTED] writes: [...] http://fluxbox.sourceforge.net/fbpager/ Yeah, I knew about that one and have tried it but its no more aware than bbpager (blackbox). By that I mean, clicking inside the pager does not transport you to that desktop. At least I did not see that happen here. However I've since found that in blackbox one can use the mouse scroll wheel to quickly navigate to any desktop and bbpager supplies the quick visual reference. So I think with a little usage, clicking in the pager will not be my first thought when needing to change desktops. One other missing ingredient though is that you cannot tell what the windows displayed inside the pager are. I'm used to seeing what they are ala kde. But again the mouse scroll is so quick, that may not matter much either. So far I can never remember which way to scroll. but with only 4 desktops I actually ever use... it still is very quick to mouse scroll until you find the right one. Well... (pulling from http://fluxbox.sourceforge.net/fbpager/ ) in ~/.fluxbox/fbpager set: fbpager.icons: true fbpager.changeWorkspaceButton: 1 and in the case of bbpager (which doesn't support icons), in ~/.bbtools/bbpager.bb and ~/.bbtools/bbpager.nobb set: bbpager.desktopChangeButton: 1 bbpager.windowMoveButton: 3 exist a pager , independent and more usefull than the traditional f/bbpafger , is ipager... ...go here [http://www.useperl.ru/ipager/index.en.html] bye !
Re: [gentoo-user] Re: pager independant of window manager
On Mon, Dec 1, 2008 at 5:45 AM, Harry Putnam [EMAIL PROTECTED] wrote: Rodrigo Lazo [EMAIL PROTECTED] writes: [...] http://fluxbox.sourceforge.net/fbpager/ Yeah, I knew about that one and have tried it but its no more aware than bbpager (blackbox). By that I mean, clicking inside the pager does not transport you to that desktop. At least I did not see that happen here. However I've since found that in blackbox one can use the mouse scroll wheel to quickly navigate to any desktop and bbpager supplies the quick visual reference. So I think with a little usage, clicking in the pager will not be my first thought when needing to change desktops. One other missing ingredient though is that you cannot tell what the windows displayed inside the pager are. I'm used to seeing what they are ala kde. But again the mouse scroll is so quick, that may not matter much either. So far I can never remember which way to scroll. but with only 4 desktops I actually ever use... it still is very quick to mouse scroll until you find the right one. Well... (pulling from http://fluxbox.sourceforge.net/fbpager/ ) in ~/.fluxbox/fbpager set: fbpager.icons: true fbpager.changeWorkspaceButton: 1 and in the case of bbpager (which doesn't support icons), in ~/.bbtools/bbpager.bb and ~/.bbtools/bbpager.nobb set: bbpager.desktopChangeButton:1 bbpager.windowMoveButton: 3 -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Conditional TMOUT variable
On Sunday 30 November 2008, Neil Bothwick wrote: On Sun, 30 Nov 2008 09:48:15 +, Mick wrote: I've exported TMOUT=1200 to make sure an absent minded colleague does not leave his console logged in as root and walk away. This has the desired effect - except that when I am su'd in via SSH it also kicks in and logs me out midstream whatever I have been doing at the time. Where do you set this, in the profile/bashrc? No, only in /root/.bashrc. You could test $SSH_TTY before setting the variable, so it is not set for SSH logins. I use a similar method to give a different prompt for SSH sessions. [[ -n ${SSH_TTY} ]] || export TMOUT=1200 Thanks, I entered this and I think it works (not sure I spent enough time online to be certain). Time will tell, ha! -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Sun, 30 Nov 2008 14:27:22 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: [-snip-] You are the one making them claims! You do the test! Me? No, my dear. It is you who claims that fragmentation only matters on MS file systems while Linux FS remain unaffected w/o providing any proof. The common sense says otherwise: fragmentation leads to seeks, seeks hurt performance. Anyways, I'm going to do the tests because I want to see the numbers. Should the outcome prove you were right I'd be the first to congratulate and thank you for opening my eyes. Since I'm going to use my workstation at work to do the job at night I'll limit the repetitions to 400 which would take about 13 hours with two files, 2GB each. The machine has 1GB RAM installed and I'll run the test in Gentoo's boot rc level. I've closed everything except sshd and screen (see ps outpput below) and have taken care of the cache by clearing it before each run via /proc (see the script). The file system is ext3 and during the test it will be used in about 30% of its capacity: localhost test # df -h | grep home /dev/sdc1 15G 718M 14G 5% /home localhost test # mount -v | grep home /dev/sdc1 on /home/ type ext3 (rw,noatime,nodiratime,data=journal,commit=1) localhost test # rc-status Runlevel: boot bootmisc[ started ] checkfs [ started ] checkroot [ started ] clock [ started ] hostname[ started ] iptables[ started ] localmount [ started ] modules [ started ] net.eth0[ started ] net.lo [ started ] sshd[ started ] udev-postmount [ started ] localhost test # ps af PID TTY STAT TIME COMMAND 12191 pts/0Ss 0:00 -bash 12227 pts/0S 0:00 \_ su - 12231 pts/0S 0:00 \_ -su 12266 pts/0S+ 0:00 \_ screen -x 8575 pts/3Ss+0:00 -/bin/bash 4967 pts/2Ss 0:00 -/bin/bash 12830 pts/2R+ 0:00 \_ ps af 4895 pts/1Ss+0:03 -/bin/bash 4755 tty6 Ss+0:00 /sbin/agetty 38400 tty6 linux 4754 tty5 Ss+0:00 /sbin/agetty 38400 tty5 linux 4753 tty4 Ss+0:00 /sbin/agetty 38400 tty4 linux 4752 tty3 Ss+0:00 /sbin/agetty 38400 tty3 linux 4751 tty2 Ss+0:00 /sbin/agetty 38400 tty2 linux 4750 tty1 Ss+0:00 /sbin/agetty 38400 tty1 linux The script: #!/bin/bash cat /usr/portage/distfiles/* test1 cp test1 test2 filefrag test* sync for (( i=0 ; i=400 ; i++ )) do sync echo 3 /proc/sys/vm/drop_caches echo -n try_no=$i /usr/bin/time -f \ command=%C|\ real_t=%e|\ kernel_t=%S|\ user_t=%U|\ major_faults=%F|\ minor_faults=%R|\ context_sw=%c|\ io_waits=%w|\ fs_reads=%I|\ fs_writes=%O cp test1 /dev/null sync echo 3 /proc/sys/vm/drop_caches echo -n try_no=$i /usr/bin/time -f \ command=%C|\ real_t=%e|\ kernel_t=%S|\ user_t=%U|\ major_faults=%F|\ minor_faults=%R|\ context_sw=%c|\ io_waits=%w|\ fs_reads=%I|\ fs_writes=%O cp test2 /dev/null done ###EOF I hope all this will be enough for you to accept the results. -- Best regards, Daniel
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Mon, Dec 1, 2008 at 3:11 PM, Daniel Iliev [EMAIL PROTECTED] wrote: On Sun, 30 Nov 2008 14:27:22 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: [-snip-] You are the one making them claims! You do the test! Me? No, my dear. It is you who claims that fragmentation only matters on MS file systems while Linux FS remain unaffected w/o providing any proof. The common sense says otherwise: fragmentation leads to seeks, seeks hurt performance. Anyways, I'm going to do the tests because I want to see the numbers. Should the outcome prove you were right I'd be the first to congratulate and thank you for opening my eyes. Since I'm going to use my workstation at work to do the job at night I'll limit the repetitions to 400 which would take about 13 hours with two files, 2GB each. The machine has 1GB RAM installed and I'll run the test in Gentoo's boot rc level. I've closed everything except sshd and screen (see ps outpput below) and have taken care of the cache by clearing it before each run via /proc (see the script). The file system is ext3 and during the test it will be used in about 30% of its capacity: localhost test # df -h | grep home /dev/sdc1 15G 718M 14G 5% /home localhost test # mount -v | grep home /dev/sdc1 on /home/ type ext3 (rw,noatime,nodiratime,data=journal,commit=1) localhost test # rc-status Runlevel: boot bootmisc[ started ] checkfs [ started ] checkroot [ started ] clock [ started ] hostname[ started ] iptables[ started ] localmount [ started ] modules [ started ] net.eth0[ started ] net.lo [ started ] sshd[ started ] udev-postmount [ started ] localhost test # ps af PID TTY STAT TIME COMMAND 12191 pts/0Ss 0:00 -bash 12227 pts/0S 0:00 \_ su - 12231 pts/0S 0:00 \_ -su 12266 pts/0S+ 0:00 \_ screen -x 8575 pts/3Ss+0:00 -/bin/bash 4967 pts/2Ss 0:00 -/bin/bash 12830 pts/2R+ 0:00 \_ ps af 4895 pts/1Ss+0:03 -/bin/bash 4755 tty6 Ss+0:00 /sbin/agetty 38400 tty6 linux 4754 tty5 Ss+0:00 /sbin/agetty 38400 tty5 linux 4753 tty4 Ss+0:00 /sbin/agetty 38400 tty4 linux 4752 tty3 Ss+0:00 /sbin/agetty 38400 tty3 linux 4751 tty2 Ss+0:00 /sbin/agetty 38400 tty2 linux 4750 tty1 Ss+0:00 /sbin/agetty 38400 tty1 linux The script: #!/bin/bash cat /usr/portage/distfiles/* test1 cp test1 test2 filefrag test* sync for (( i=0 ; i=400 ; i++ )) do sync echo 3 /proc/sys/vm/drop_caches echo -n try_no=$i /usr/bin/time -f \ command=%C|\ real_t=%e|\ kernel_t=%S|\ user_t=%U|\ major_faults=%F|\ minor_faults=%R|\ context_sw=%c|\ io_waits=%w|\ fs_reads=%I|\ fs_writes=%O cp test1 /dev/null sync echo 3 /proc/sys/vm/drop_caches echo -n try_no=$i /usr/bin/time -f \ command=%C|\ real_t=%e|\ kernel_t=%S|\ user_t=%U|\ major_faults=%F|\ minor_faults=%R|\ context_sw=%c|\ io_waits=%w|\ fs_reads=%I|\ fs_writes=%O cp test2 /dev/null done ###EOF I hope all this will be enough for you to accept the results. -- Best regards, Daniel One thing that comes to mind... if one of those files is primarily closer to the start of the disk than the other, and the drive tapers down on speed as bad as some... well, that's one variable you can't easily resolve. Whether that would influence enough to matter, compared to seeks, is questionable though. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] [Even More OT] Fragmentation of my drives. Curious mostly
Ignoring the MS/*nix argument for a moment. How does fragmentation work on hardware RAID? The normal argument of more fragmentation = more seeks = worse performance would seem to be eliminated by a controller with a large cache and lots of drives (say a Dell/Equallogic PS5000E in RAID 10.). A signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Mon, 1 Dec 2008 15:40:11 -0500 Joshua Murphy [EMAIL PROTECTED] wrote: = One thing that comes to mind... if one of those files is primarily closer to the start of the disk than the other, and the drive tapers down on speed as bad as some... well, that's one variable you can't easily resolve. Whether that would influence enough to matter, compared to seeks, is questionable though. Yes. That has crossed my mind too, but I can't figure out if there's anything I alone can do about it. It would taint the results in a very bad way, because it is impossible to catch by increasing the number of repetitions. If my memory serves well its called systematic error in statistics. I'm open to suggestions. P.S. The way to eliminate the influence of this factor is to find many other people to make the test and share the results. -- Best regards, Daniel
[gentoo-user] ssmtp att woes
I recently switched to att from another isp. At that other isp, my ssmtp setup worked perfectly. With att, a similar ssmtp setup (modified appropriately to point to att's smtp server) does not work at all. ATT told me to use the server smtp.att.yahoo.com and port 465. So my ssmtp.conf file looks like: Debug=YES [EMAIL PROTECTED] mailhub=smtp.att.yahoo.com:465 AuthUser=xxx AuthPass=yyy rewriteDomain=att.net FromLineOverride=YES UseTLS=YES and my revaliases file looks like [EMAIL PROTECTED]:smtp.att.yahoo.com:465 The result of the command mail -v -s test [EMAIL PROTECTED] is: [-] 220 smtp122.sbc.mail.sp1.yahoo.com ESMTP [-] EHLO tobey [-] 250 8BITMIME [-] AUTH LOGIN [-] 334 VXNlcm5hbWU6 [-] am9obi5ibGlua2E= [-] 334 UGFzc3dvcmQ6 [-] 535 authorization failed (#5.7.0) send-mail: Authorization failed (535 authorization failed (#5.7.0)) Can't send mail: sendmail process failed with error code 1 I read somewhere that some people can't get att's port 465 to work with ssmtp and that they have used port 587 successfully. Not so for me. Using port 587 (replacing 465 by 587 in ssmtp.conf and revaliases), the result of mail -v -s test [EMAIL PROTECTED] is: SSL_connect: Success send-mail: Cannot open smtp.att.yahoo.com:587 Can't send mail: sendmail process failed with error code 1 I have no problem at all sending mail to my att.net account from various gmail accounts I use, so I know that my password and username combination functions. I can telnet to smtp.att.yahoo.com at either port 465 or 587 and get a response, so nothing is blocking either port. Any insights or suggestions? John Blinka
Re: [gentoo-user] [Even More OT] Fragmentation of my drives. Curious mostly
On Mon, Dec 1, 2008 at 5:07 PM, Anthony Metcalf [EMAIL PROTECTED] wrote: Ignoring the MS/*nix argument for a moment. How does fragmentation work on hardware RAID? The normal argument of more fragmentation = more seeks = worse performance would seem to be eliminated by a controller with a large cache and lots of drives (say a Dell/Equallogic PS5000E in RAID 10.). A Assuming a level that performs striping, it would be alleviated, yes, but even striping is at its fastest when performing sequential reads, it just reads sequentially from more than one disk at a time... but the fact that one disk will likely be reading while another performs a seek would probably reduce the impact of the seeks considerably. (all of this is, of course, purely pulling from my understanding of raid and how it operates and could very well be 100% incorrect) -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] [OT] Fragmentation of my drives. Curious mostly
On Mon, Dec 1, 2008 at 5:19 PM, Daniel Iliev [EMAIL PROTECTED] wrote: Yes. That has crossed my mind too, but I can't figure out if there's anything I alone can do about it. It would taint the results in a very bad way, because it is impossible to catch by increasing the number of repetitions. If my memory serves well its called systematic error in statistics. I'm open to suggestions. P.S. The way to eliminate the influence of this factor is to find many other people to make the test and share the results. -- Best regards, Daniel I'm tempted to donate my system for a short bit to try it.. but at least in the case of my desktop... I pre-cache all my major software at boot time, so I don't really want to dump caches there ;) ... maybe it'll be a good use for my old amd64... but, umm... it'll need an OS and even the slightest potential of fragmented files first... maybe I'll make that happen tonight if I get bored. As a side note, SSDs are the quickest way to remove all worries where fragmentation is concerned, having negligible seek times as they do... and physically smaller platters (2.5in SAS drives, the Velociraptor, etc) at least make a small dent on worst case seek times... reducing the impact that way. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] waiting for Godot uevents
On Mon, Dec 1, 2008 at 7:46 AM, Philip Webb [EMAIL PROTECTED] wrote: My back-up box has an irritating problem, which was discussed here in a thread which ended 080731 (msg 73690) apparently unresolved. At boot, it says populating /dev with existing devices thro' uevents ... . On this my everyday machine, it all goes successfully very quickly, but on the other it says waiting for uevents to be processed takes a very long time to finish whatever it's doing ( c 2 min ). Both machines have Udev-124-r1 I copied /etc/udev/rules.d/* from this one to the back-up rebooted it, but without any change. Was this problem ever resolved ? Does anyone have suggestions ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca If your backup box never sees hotplug events you can get away with a static /dev ... or you can go through and see which device/module/rule/etc is taking a long time and adjust things to work around that. -- Poison [BLX] Joshua M. Murphy
[gentoo-user] Automounting of USB drives
I have finally reached the point where I use enough USB media (external hard drives and flash drives) that I would like to set up a system to automount the media devices for me. I have read in the past about hal + ivman and a bit of googling has brought up AutoFS as well. I was just wondering what the best system to automount USB media would be. I am looking for something that is relatively easy to set up and is also well maintained. Thanks in advance for any suggestions. AJ
Re: [gentoo-user] FAT/VFAT fs analyser ???
Daniel Pielmeier ha scritto: And you are right the order is controlled by the order they are saved to the filesystem. It seems this is only true for the usb driver and not the mtp driver which is afaik only usable on windows. I know almost nothing about the iRiver, but the MTP protocol is supported under Linux. I manage my Creative Zen with Amarok using MTP, and there is even a (flaky) mtpfs FUSE layer. Is that an iRiver problem? m.
Re: [gentoo-user] Re: Unable to download Imagemagick
[ 01.12.2008 13:16 ], Nikos Chantziaras : ert256 wrote: Hello Since last week, i'm unable to download new imagemagick sources. This is what i get from emerge : [EMAIL PROTECTED] ~ $ sudo emerge -vu imagemagick [...] When i'm trying to download it manually i get : No such file `ImageMagick-6.4.4-6.tar.bz2'. Try this mirror: http://ftp.surfnet.nl/pub/ImageMagick/ImageMagick-6.4.4-6.tar.bz2 Thank You for help. Downloading file directly to /usr/portage/distfiles fixed the problem. -- Rafał (ert16) Trójniak [EMAIL PROTECTED] : [EMAIL PROTECTED] Jid : [EMAIL PROTECTED] GPG key-ID : DD681D47 749F E1DC A58F 9084 BBC0 797A 0691 53D6 DD68 1D47 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] FAT/VFAT fs analyser ???
Hi, I dont want to install MTP firmware on my T60. I have solved my little problem with a tool called fatsort. Thanks for the support. Kind regards, Meino Cramer b.n. [EMAIL PROTECTED] [08-12-02 04:03]: Daniel Pielmeier ha scritto: And you are right the order is controlled by the order they are saved to the filesystem. It seems this is only true for the usb driver and not the mtp driver which is afaik only usable on windows. I know almost nothing about the iRiver, but the MTP protocol is supported under Linux. I manage my Creative Zen with Amarok using MTP, and there is even a (flaky) mtpfs FUSE layer. Is that an iRiver problem? m. -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] waiting for Godot uevents
081201 Joshua Murphy wrote: On Mon, Dec 1, 2008 at 7:46 AM, Philip Webb [EMAIL PROTECTED] wrote: My back-up box has an irritating problem, which was discussed here in a thread which ended 080731 (msg 73690) apparently unresolved. At boot, it says populating /dev with existing devices thro' uevents ... . On this my everyday machine, it all goes successfully very quickly, but on the other it says waiting for uevents to be processed takes a very long time to finish whatever it's doing ( c 2 min ). Both machines have Udev-124-r1 I copied /etc/udev/rules.d/* from this one to the back-up rebooted it, but without any change. If your backup box never sees hotplug events you can get away with a static /dev ... or you can go through ... Go through what (smile) ? ... and see which device/module/rule/etc is taking a long time and adjust things to work around that. I don't see anything which might help in syslog etc . -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Cannot login with publickey on sshd
On Monday 01 December 2008, Mick wrote: On Monday 01 December 2008, Eric Martin wrote: What did you use to generate the key? Also, what does the client / server say for the key fail? I used something like: ssh-keygen -v -t rsa -b 2048. I have even generated a second key pair and tried that too, with no success. The client messages are in the first message I sent to the list - basically showing this: debug1: Connection established. debug3: timeout: 14828 ms remain after connect debug3: Not a RSA1 key file /home/michael/.ssh/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-BEGIN' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'Proc-Type:' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'DEK-Info:' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace . . . debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-END' debug3: key_read: missing keytype The server messages are shown here: http://pastebin.centos.org/22705 I have now also tried to generate a key pair on the server, move the private key over to the client and then try to login - still no result! :-( It has to be some sort of incompatibility between the two versions of OpenSSH. Don't know what else to assume with this problem. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: pager independant of window manager
Joshua Murphy [EMAIL PROTECTED] writes: Well... (pulling from http://fluxbox.sourceforge.net/fbpager/ ) in ~/.fluxbox/fbpager set: fbpager.icons: true fbpager.changeWorkspaceButton: 1 and in the case of bbpager (which doesn't support icons), in ~/.bbtools/bbpager.bb and ~/.bbtools/bbpager.nobb set: bbpager.desktopChangeButton: 1 bbpager.windowMoveButton: 3 Ahh there you go.. yes. I just hadn't dug into the files enough.