Re: how to install skype on F20

2014-01-20 Thread Mihai T. Lazarescu
On Sun, Jan 19, 2014 at 09:12:40PM +0100, Raf Roger wrote:

 i followed the tutorial available on
 http://edmondscommerce.github.io/Fedora/getting-skype-working-on-fedora-20.html
 to install skype on F20.
 however, when i launch skype it crashes all the time...

I have installed Skype using lpf-skype from rpmfusion repo.
It appears to work fine:

rpm -qa \*skype\*

skype-4.2.0.11-8.fc20.i686
skype-data-4.2.0.11-8.fc20.noarch
lpf-skype-4.2.0.11-11.fc20.i686

HTH,
Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f20 - Suspend not working

2014-01-20 Thread Mihai T. Lazarescu
On Sun, Jan 19, 2014 at 11:09:19AM -0500, Robert Moskowitz wrote:

 Lenovo x120e.

 So perhaps I do have a radeon video, how do I check?

Typically:

lspci | grep VGA

Some external sources:

«The ThinkPad X120e's Radeon HD 6310 integrated graphics...»

http://www.laptopmag.com/review/laptops/lenovo-thinkpad-x120e.aspx
http://shop.amd.com/us/All/Detail/Notebook/06112EU
http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS013718

http://www.notebookcheck.net/Lenovo-ThinkPad-X120e-Laptop-Review.56445.0.html

BTW, here are some Linux optimizations you may want to try:

https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X120e

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f20 - Suspend not working

2014-01-19 Thread Mihai T. Lazarescu
On Sat, Jan 18, 2014 at 09:58:02PM -0500, Robert Moskowitz wrote:

 On 01/18/2014 08:48 PM, Mihai T. Lazarescu wrote:
 To suspend try systemctl suspend
 
 Is this different than sudo pm-suspend?

Certainly so, although it may not cure your problem.

 Doesn't systemctl have to be run as root?

Not on my F20.

 Maybe this can help:
 
  https://ask.fedoraproject.org/question/37731/suspend-lenovo-flex/
 
 Hmmm.  What proprietary driver?  I do not think I have the
 radeon video.

OK.  But to hope to make some progress you may need to find out
(and post) more info about your HW than just Lenovo laptop.

 journalctl|grep suspend gets these for today:
 
 Jan 18 19:36:10 lx120e.htt-consult.com gnome-session[1189]: INFO :
 GSettings missing key org.gnome.settings-daemon.plugins.power (key
 lid-close-suspend-with-external-monitor)
 Jan 18 19:46:07 lx120e.htt-consult.com gnome-session[1170]: INFO :
 GSettings missing key org.gnome.settings-daemon.plugins.power (key
 lid-close-suspend-with-external-monitor)
 Jan 18 19:47:30 lx120e.htt-consult.com kernel: Suspending console(s)
 (use no_console_suspend to debug)
 Jan 18 19:47:30 lx120e.htt-consult.com kernel: PM: suspend of
 devices complete after 1189.579 msecs
 Jan 18 19:47:30 lx120e.htt-consult.com kernel: PM: late suspend of
 devices complete after 0.302 msecs
 Jan 18 19:47:30 lx120e.htt-consult.com kernel: PM: noirq suspend of
 devices complete after 44.326 msecs
 
 The first two were attemptings to suspend by closing the notebook. I
 had detacted the external monitor prior, but I had not tried the
 fn+f7 to cycle off the external monitor.  Never had to do that
 with f17.
 
 The last 4 were from the pm-suspend.
 
 
 HTH,
 Mihai
 
 On Sat, Jan 18, 2014 at 08:02:27PM -0500, Robert Moskowitz wrote:
 
 f20 x86-64 on my Lenovo with all the problems I had installing
 x86_64.
 
 Well I **think** suspend was working, and now it barely works.
 
 Closing the notebook, does nothing except hose Gnome,
 which restarts on opening the notebook, and all my apps go
 into the current workspace (I have tweaked to have 5 static
 workspaces).  This use to put the notebook into suspend and
 would come out with no problems for Gnome.
 
 There is no suspend function available from the top bar.
 There is an extension to add hibernate, but it does not
 seem to provide suspend.  And anyway, hibernate is broken
 on this Lenovo.
 
 Suspend via sudo pm-suspend works, but seems to still have
 a problem with gnome restarting.
 
 I am leaving for LA tomorrow for a week an IEEE 802 wireless
 interim, and in and out of suspend is MANDATORY.  Typically I
 would do it a dozen times per day.  I don't like walking
 around with my notebook open in my hand from session to
 session (though had to do it once).
 
 thank you for any help.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f20 - Suspend not working

2014-01-18 Thread Mihai T. Lazarescu
To suspend try systemctl suspend

Maybe this can help:

https://ask.fedoraproject.org/question/37731/suspend-lenovo-flex/

HTH,
Mihai

On Sat, Jan 18, 2014 at 08:02:27PM -0500, Robert Moskowitz wrote:

 f20 x86-64 on my Lenovo with all the problems I had installing
 x86_64.

 Well I **think** suspend was working, and now it barely works.

 Closing the notebook, does nothing except hose Gnome,
 which restarts on opening the notebook, and all my apps go
 into the current workspace (I have tweaked to have 5 static
 workspaces).  This use to put the notebook into suspend and
 would come out with no problems for Gnome.

 There is no suspend function available from the top bar.
 There is an extension to add hibernate, but it does not
 seem to provide suspend.  And anyway, hibernate is broken
 on this Lenovo.

 Suspend via sudo pm-suspend works, but seems to still have
 a problem with gnome restarting.

 I am leaving for LA tomorrow for a week an IEEE 802 wireless
 interim, and in and out of suspend is MANDATORY.  Typically I
 would do it a dozen times per day.  I don't like walking
 around with my notebook open in my hand from session to
 session (though had to do it once).

 thank you for any help.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Anyone upgraded from F19 to F20 with yum?

2014-01-14 Thread Mihai T. Lazarescu
On Tue, Jan 14, 2014 at 04:41:44PM -0600, Ian Pilcher wrote:

 Any gotchas that I should be aware of?
 
 Thanks!

I was thinking to go with you, but then I decided that the
recommended way:

sudo fedup --network 20

may be smoother, and so it was.

Do you have any reason to use yum instead of fedup?

HTH,
Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Acroread vs. ctrl/z

2013-12-19 Thread Mihai T. Lazarescu
On Thu, Dec 19, 2013 at 03:07:49PM -0800, Jonathan Ryshpan wrote:

 When Adobe acroread is run from a terminal, ctrl/z doesn't suspend it.
 ^Z appears on the terminal, which hangs until acroread terminates itself
 or ctrl/c is pressed on the terminal.  However $ acroread  starts
 acroread in the background and ctrl/z suspends all other programs, as
 expected.  System is Fedora-19 with all updates installed.
 
 Has anyone else seen this?  What's going on?

Not here (same F19 updated):

mihai@mtl acroread 
^Z
[1]+  Stopped acroread
mihai@mtl 

I use xterm and AdobeReader_enu-9.5.5-1.i486

HTH,
Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: OT: C programs and architectures (use on Fedora)

2013-11-02 Thread Mihai T. Lazarescu
On Sat, Nov 02, 2013 at 05:55:37PM -0500, Ranjan Maitra wrote:

 Hi,
 
 I have obtained a set of open-source programs from 
 
 http://petertoft.dk/PhD/Recon2D.tar.gz
 
 uncompressed, etc, and it all goes through fine. 
 
 When I compile, the programs work fine on my old 32-bit machine
 (results make sense), however there is a segmentation fault on my
 64-bit laptop.
 
 I compile using:
 
 gcc -c -I../include -O3 -finline-functions -Winline -Wall
 -falign-loops=2 -falign-jumps=2 -falign-functions=2
 -Wstrict-prototypes .
 
 (Note that I had to fix the makefiles in there.) 
 
 Btw, I don't know if this could have anything to do with it, but this
 set of programs were written in 1996 (when 64-bit probably did not even
 exist at all). Also, all the code uses single-precision (floats) rather
 than my preferred doubles. (Which makes me ask: is it possible to go
 into all the many files and convert all the floats into doubles using
 some command? )

You can add -m32 to gcc arguments.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Printing of colour pages from adobe reader comes out greyscale

2013-09-27 Thread Mihai T. Lazarescu
On Thu, Sep 26, 2013 at 04:57:21PM +0200, Erik P. Olsen wrote:

 Subject says all. Printing the same pages with gimp comes out
 correctly. Printing is ordinary colour print not photo.
 
 Adobe reader: Version 9.5.5
 Fedora: Version 19 fully updated as of 25/9-2013
 CUPS: 1.6.3-4.fc19.x86_64
 Printer: HP Photosmart 8450
 
 Is this a known issue and is there a fix for it?

Have you checked printer settings in Adobe reader?
AFAIK each program can use different settings.

HTH,
Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Printing of colour pages from adobe reader comes out greyscale

2013-09-27 Thread Mihai T. Lazarescu
On Fri, Sep 27, 2013 at 11:37:26AM +0200, Erik P. Olsen wrote:

 On 27/09/13 11:17, Mihai T. Lazarescu wrote:
 On Thu, Sep 26, 2013 at 04:57:21PM +0200, Erik P. Olsen wrote:
 
 Subject says all. Printing the same pages with gimp comes out
 correctly. Printing is ordinary colour print not photo.
 
 Adobe reader: Version 9.5.5
 Fedora: Version 19 fully updated as of 25/9-2013
 CUPS: 1.6.3-4.fc19.x86_64
 Printer: HP Photosmart 8450
 
 Is this a known issue and is there a fix for it?
 
 Have you checked printer settings in Adobe reader?
 AFAIK each program can use different settings.
 
 I don't see any printer settings that I can change. I only see print
 properties in the print dialogue as:
 
 lpr -P Colour -o PageSize=A4 -o PageRegion=A4 -o Duplex=None -o
 InputSlot=Auto -o ColorModel=RGB -o MediaType=Automatic -o
 OutputMode=Normal -o OptionDuplex=False
 
 And that I can't change, AFAIK.

I mean steps 4 and 5 here:

http://acps.aub.edu.lb/mod/book/view.php?id=493chapterid=834

However, if I select Custom as printer name I can set the
command to print with (lp ...), which is editable.  But I
never use that, I use one of the printers I have defined and
steps 45 above and change their settings as I see fit.

Do you have any printers defined?  I.e., you see any in the
list on right of Name: in the box Printer in print dialog --
step 3 here:


http://smallbusiness.chron.com/adjust-adobe-reader-printer-settings-59054.html

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: USB memory stick - where?

2013-09-20 Thread Mihai T. Lazarescu
On Fri, Sep 20, 2013 at 02:38:05PM +0200, ppq wrote:

 Am 20.09.2013 14:35, schrieb Timothy Murphy:
 If I install a memory stick in a Fedora-19 laptop,
 is there a simple command that will tell me
 where it is on the filesystem, eg /dev/sdb1 ?
 I know I can find this indirectly,
 but is there eg a switch to lsusb that will tell me?
 
 lsblk is quite useful

Great, thanks!  I was wondering if there was no better way than
dmesg | tail... :-)

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: USB memory stick - where?

2013-09-20 Thread Mihai T. Lazarescu
On Fri, Sep 20, 2013 at 01:48:18PM -0700, Robert Holtzman wrote:

 On Fri, Sep 20, 2013 at 02:57:39PM +0200, Mihai T. Lazarescu wrote:
  On Fri, Sep 20, 2013 at 02:38:05PM +0200, ppq wrote:
  
   Am 20.09.2013 14:35, schrieb Timothy Murphy:
   If I install a memory stick in a Fedora-19 laptop,
   is there a simple command that will tell me
   where it is on the filesystem, eg /dev/sdb1 ?
   I know I can find this indirectly,
   but is there eg a switch to lsusb that will tell me?
   
   lsblk is quite useful
  
  Great, thanks!  I was wondering if there was no better way than
  dmesg | tail... :-)
 
 I usually use cat /etc/mtab.

/etc/mtab will list it only if mounted.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: WHY !!! ?

2013-09-15 Thread Mihai T. Lazarescu
On Sun, Sep 15, 2013 at 06:27:08PM +0200, Reindl Harald wrote:

 Am 15.09.2013 18:03, schrieb Jim:
  On 09/14/2013 08:11 PM, Sam Varshavchik wrote:
  Do you explicitly unmount your flash drives, before yanking them out.
  I have to admit that is the one thing I don't do
 
 so answering with your subject in normal letters: why?

Indeed.  Linux uses (extensive) buffering.  Your write
command may return but the data be still in memory instead
of written on the drive.  If you disconnect it right away,
besides a corrupted file system you may find that your files
are incomplete or missing.

So, with FAT FS issue a sync and wait for it to return or,
much better, unmount (which forces a flush of the associated
write buffers).

Regarding the mount read-only, the kernel may decide to do so
if the FS has errors.  It should resume mounting it RW once
the errors are fixed.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MATE desktop

2013-08-28 Thread Mihai T. Lazarescu
On Wed, Aug 28, 2013 at 03:52:02AM +0200, Suvayu Ali wrote:

 On Wed, Aug 28, 2013 at 12:05:27AM +0200, Mihai T. Lazarescu wrote:
  On Tue, Aug 27, 2013 at 09:27:14PM +0200, Suvayu Ali wrote:
  
   On Mon, Aug 26, 2013 at 06:59:07AM -0700, Ben Greear wrote:

One thing I noticed, 'gdm' appears to use gnome-shell, so if you have a 
system w/out
accelerated graphics, your CPU will still be eaten by gnome-shell even 
if you log into
MATE.
   
   I don't think that is correct, I have gdm installed, and no gnome-shell.
   These are the only dependencies for gdm:
   
   $ rpm -e --test gdm
   error: Failed dependencies:
   gdm is needed by (installed) 
   xfce4-xfswitch-plugin-0.0.1-8.fc18.x86_64
   gdm = 1:2.22.0 is needed by (installed) 
   pulseaudio-gdm-hooks-2.1-6.fc18.x86_64
  
  gdm requires gnome-shell, not gnome-shell requires gdm:
  
  rpm -q --requires gdm | grep gnome
  gnome-icon-theme-symbolic
  gnome-keyring-pam
  gnome-session
  gnome-settings-daemon = 2.21.92
  gnome-shell
 
 I'm sorry, but not here:
 
 $ rpm -q --requires gdm | grep gnome
 gnome-icon-theme-symbolic
 gnome-keyring-pam
 gnome-session
 gnome-settings-daemon = 2.21.92
 polkit-gnome
 
 I do not have gnome-shell installed:
 
 $ rpm -q gnome-shell
 package gnome-shell is not installed
 
 $ uname -r
 3.10.9-100.fc18.x86_64
 

You appear to use F18, I (and OP?) am using F19:

cat /etc/fedora-release 
Fedora release 19 (Schrödinger's Cat)

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MATE desktop

2013-08-28 Thread Mihai T. Lazarescu
On Wed, Aug 28, 2013 at 11:23:44AM +0200, Suvayu Ali wrote:

 On Wed, Aug 28, 2013 at 10:21:58AM +0200, Mihai T. Lazarescu wrote:
  On Wed, Aug 28, 2013 at 03:52:02AM +0200, Suvayu Ali wrote:
 
 $ rpm -e --test gdm
 error: Failed dependencies:
 gdm is needed by (installed) 
 xfce4-xfswitch-plugin-0.0.1-8.fc18.x86_64
 gdm = 1:2.22.0 is needed by (installed) 
 pulseaudio-gdm-hooks-2.1-6.fc18.x86_64
 
  [...chomp...chomp...chomp...]
 
   $ uname -r
   3.10.9-100.fc18.x86_64
   
  
  You appear to use F18, I (and OP?) am using F19:
 
 I know I'm on F18.

Now we all know. :-)

 I think this might be a packaging bug in F19.

The discussion was about the high CPU drain on slow GPUs due
to gnome-shell, apparently triggered by gdm.  This means that
gnome-shell runs, not just is installed as dependency. :-)

I use gdm + MATE and have gnome-shell installed as dependency.
But it is not running, at least not after login.

At the next reboot I'll check if it is active while the login
screen is on, to contribute a test point to the CPU drain topic.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MATE desktop

2013-08-28 Thread Mihai T. Lazarescu
On Wed, Aug 28, 2013 at 02:29:52PM +0200, Suvayu Ali wrote:

 On Wed, Aug 28, 2013 at 12:23:38PM +0200, Mihai T. Lazarescu wrote:
  
  The discussion was about the high CPU drain on slow GPUs due
  to gnome-shell, apparently triggered by gdm.  This means that
  gnome-shell runs, not just is installed as dependency. :-)
  
  I use gdm + MATE and have gnome-shell installed as dependency.
  But it is not running, at least not after login.
  
  At the next reboot I'll check if it is active while the login
  screen is on, to contribute a test point to the CPU drain topic.
 
 You snipped out the relevant part of my response.
 
 http://pkgs.fedoraproject.org/cgit/gdm.git/tree/gdm.spec#n348
 
 This is what it says there:
 
 - Require gnome-shell. We no longer use the fallback greeter.
   (Since gdm 3.7.92).
 
 If you look at the spec file, it includes a session file
 (line 283):

 %{_datadir}/gnome-session/sessions/gdm-shell.session

 In my understanding, this means there is no hard dependency.
 Of course the constant CPU load could be a gnome-shell bug,
 but the gnome-shell dependency does not look necessary from
 what I see.

 It is very easy to test actually; just rebuild the stock
 fedora gdm source rpm without that line (there is one more,
 but that just includes an icon) and see if gdm still works
 normally.

 Anyone care to test?

Tests:

1. reboot normally.

   Result: gnome-shell is started at the login screen:

ps axuww | grep -w gdm

root   631  0.0  0.0 296692  3160 ?Ssl  15:04   0:00 
/usr/sbin/gdm
root   638  0.0  0.1 380308  5840 ?Sl   15:04   0:00 
/usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Displays/_0
root   947  0.4  0.3 149216 12156 tty1 Ss+  15:04   0:00 
/usr/bin/Xorg :0 -background none -verbose -auth 
/run/gdm/auth-for-gdm-SbLhPY/database -seat seat0 -nolisten tcp vt1
root   993  0.2  0.2 356968  8860 ?Sl   15:04   0:00 
gdm-session-worker [pam/gdm-launch-environment]
gdm   1073  0.2  0.3 712024 12184 ?Ssl  15:04   0:00 
/usr/bin/gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm   1076  0.0  0.0  16020   456 ?S15:04   0:00 
/usr/bin/dbus-launch --exit-with-session /usr/bin/gnome-session --autostart 
/usr/share/gdm/greeter/autostart
gdm   1077  0.0  0.0  24516  1048 ?Ss   15:04   0:00 
/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
gdm   1080  0.0  0.0 337740  3468 ?Sl   15:04   0:00 
/usr/libexec/at-spi-bus-launcher
gdm   1084  0.0  0.0  24228  1520 ?S15:04   0:00 
/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork 
--print-address 3
gdm   1087  0.0  0.0 127260  3352 ?Sl   15:04   0:00 
/usr/libexec/at-spi2-registryd --use-gnome-session
gdm   1093  0.6  0.5 766944 19920 ?Sl   15:04   0:00 
/usr/libexec/gnome-settings-daemon
gdm   1165  3.0  2.7 1283616 107216 ?  Sl   15:04   0:01 
gnome-shell --mode=gdm
gdm   1170  0.0  0.1 447948  5468 ?Sl  15:04   0:00 
/usr/bin/pulseaudio --start --log-target=syslog
gdm   1200  0.0  0.0 178304  2552 ?Sl   15:04   0:00 
/usr/libexec/dconf-service
gdm   1210  0.0  0.1 460288  4472 ?Sl   15:04   0:00 
/usr/bin/ibus-daemon --replace --xim --panel disable
gdm   1212  0.0  0.0 310396  3504 ?Sl   15:04   0:00 
/usr/libexec/ibus-dconf
gdm   1216  0.0  0.2 376736  8456 ?Sl   15:04   0:00 
/usr/libexec/ibus-x11 --kill-daemon
gdm   1264  0.0  0.0 236460  3424 ?Sl   15:04   0:00 
/usr/libexec/ibus-engine-simple

2. reboot without gdm-shell.session:

mv /usr/share/gnome-session/sessions/gdm-shell.session /tmp
reboot

   Result: graphical screen informing that something went
   wrong, try again.

3. restore gdm-shell.session and reboot without gnome-shell:

rpm -e --nodeps gnome-shell
reboot

   Result: no login screen.

Test 1 explains the issue originally reported by Ben Greear,
that gnome-shell starts due to gdm and is not usable on HW
without accelerated graphics:

https://lists.fedoraproject.org/pipermail/users/2013-August/440219.html

Test 2 and 3 show that gnome-{session,shell} are started at
login.  The behaviour appears compiled in (not due to a run-time
test).  The dependency does not appear to be a packaging error.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MATE desktop

2013-08-28 Thread Mihai T. Lazarescu
On Wed, Aug 28, 2013 at 06:20:39PM +0200, Suvayu Ali wrote:

 I do not think you are following what I mean.  I'll try
 to illustrate.
 
 First some comments on your tests:
 
  Tests:
  
  1. reboot normally.
  
 Result: gnome-shell is started at the login screen:
  
  ps axuww | grep -w gdm
 
 Did you login to Gnome?  If so, of course gnome-shell will
 be started.  I tested on my F19 server with WindowMaker,
 there was no gnome-shell process after login.

 I do not use any parts of Gnome/MATE, so I do not know if
 MATE uses gnome-shell somehow.  If it does, then sadly I
 cannot help anymore.  Hope the above helps someone.

Hi Suvayu,

As I mentioned in a previous email, I use MATE and, as you,
I have no gnome-shell after login.

In that message I also said that I will test if gnome-shell
is started *for* the login screen, which would be consistent
with the original report.  That was my test 1: before actual
login and start of a session.


Hi Ben,

For low-end systems it can also be worth switching to XDM:

https://en.wikipedia.org/wiki/XDM_(display_manager)

yum info xorg-x11-xdm
Description : X.Org X11 xdm - X Display Manager

I suspect that XDM is less likely to be unexpectedly tweaked
by future desktop developments. :-)

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F19: Wireless not working - dhclient not running?

2013-08-27 Thread Mihai T. Lazarescu
Check also if the MAC and name of the WiFi interface in the user
configuration of NetworkManager matches that of the hardware.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cannot access incoming yahoo from evolution

2013-08-27 Thread Mihai T. Lazarescu
On Tue, Aug 27, 2013 at 08:20:07AM -0500, g wrote:

 On 08/27/2013 07:57 AM, Matthew Saltzman wrote:
 
 I've been seeing this problem as well, but intermittently.  After a
 failure and after a few retries, I get my mail again.  Haven't been able
 to detect circumstances where it fails reliably.
 
 why would you want it to 'fail reliably'? :=)

Can help debugging.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F19: Wireless not working - dhclient not running?

2013-08-27 Thread Mihai T. Lazarescu
On Tue, Aug 27, 2013 at 02:34:29PM +0100, John Horne wrote:

 On Tue, 2013-08-27 at 15:03 +0200, Mihai T. Lazarescu wrote:
  Check also if the MAC and name of the WiFi interface in the user
  configuration of NetworkManager matches that of the hardware.
  
 NetworkManager is not being used.

Regardless, other managers may have similar settings.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cannot access incoming yahoo from evolution

2013-08-27 Thread Mihai T. Lazarescu
On Tue, Aug 27, 2013 at 09:04:12AM -0500, g wrote:

 
 
 On 08/27/2013 08:32 AM, Mihai T. Lazarescu wrote:
 On Tue, Aug 27, 2013 at 08:20:07AM -0500, g wrote:
 
 On 08/27/2013 07:57 AM, Matthew Saltzman wrote:
 
 I've been seeing this problem as well, but intermittently.  After a
 failure and after a few retries, I get my mail again.  Haven't been able
 to detect circumstances where it fails reliably.
 
 why would you want it to 'fail reliably'? :=)
 
 Can help debugging.
 
 really? i never thought of that. (bwg)

This was obvious from your question.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F19: Wireless not working - dhclient not running?

2013-08-27 Thread Mihai T. Lazarescu
On Tue, Aug 27, 2013 at 04:57:04PM +0100, John Horne wrote:

 On Tue, 2013-08-27 at 11:18 -0400, Jared K. Smith wrote:
  On Tue, Aug 27, 2013 at 9:03 AM, Mihai T. Lazarescu mtl...@gmail.com
  wrote:
  Check also if the MAC and name of the WiFi interface in the
  user
  configuration of NetworkManager matches that of the hardware.
  
  
  I too would suggest that you double-check that the MAC address -- just
  last week I got the same symptoms from a system where the config files
  thought that the MAC should be one thing, and the actual MAC address
  was different.
 
 The wireless adapter hasn't changed, and the same config files
 (wpa_supplicant.conf, ifcfg-wlan0) are being used that worked with F17.
 
 As said, if I run 'ifdown wlan0  ifup wlan0' then the interface comes
 up. That wouldn't happen if the MAC address was wrong.

MAC is stored in system filed (/etc/...) and user files
($HOME/...).  Check the latter.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F19: Wireless not working - dhclient not running?

2013-08-27 Thread Mihai T. Lazarescu
On Tue, Aug 27, 2013 at 06:11:35PM +0100, John Horne wrote:

 On Tue, 2013-08-27 at 18:16 +0200, Mihai T. Lazarescu wrote:
  On Tue, Aug 27, 2013 at 04:57:04PM +0100, John Horne wrote:
  
   On Tue, 2013-08-27 at 11:18 -0400, Jared K. Smith wrote:
On Tue, Aug 27, 2013 at 9:03 AM, Mihai T. Lazarescu mtl...@gmail.com
wrote:
Check also if the MAC and name of the WiFi interface in the
user
configuration of NetworkManager matches that of the hardware.


I too would suggest that you double-check that the MAC address -- just
last week I got the same symptoms from a system where the config files
thought that the MAC should be one thing, and the actual MAC address
was different.
   
   The wireless adapter hasn't changed, and the same config files
   (wpa_supplicant.conf, ifcfg-wlan0) are being used that worked with F17.
   
   As said, if I run 'ifdown wlan0  ifup wlan0' then the interface comes
   up. That wouldn't happen if the MAC address was wrong.
  
  MAC is stored in system filed (/etc/...) and user files
  ($HOME/...).  Check the latter.
 
 Why?

Because the F19 fresh installation you made aligns the system
files, not user's.

Even if the MAC did not changed, F19 changed interface names:


https://fedoraproject.org/wiki/Features/SystemdPredictableNetworkInterfaceNames

Since you preserved the user configuration from F17, that is
set for the old interface names.  Thus, your network manager
is not finding the new ones, unless you manually check for
and fix the mismatches.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MATE desktop

2013-08-27 Thread Mihai T. Lazarescu
On Tue, Aug 27, 2013 at 09:27:14PM +0200, Suvayu Ali wrote:

 On Mon, Aug 26, 2013 at 06:59:07AM -0700, Ben Greear wrote:
  
  One thing I noticed, 'gdm' appears to use gnome-shell, so if you have a 
  system w/out
  accelerated graphics, your CPU will still be eaten by gnome-shell even if 
  you log into
  MATE.
 
 I don't think that is correct, I have gdm installed, and no gnome-shell.
 These are the only dependencies for gdm:
 
 $ rpm -e --test gdm
 error: Failed dependencies:
 gdm is needed by (installed) xfce4-xfswitch-plugin-0.0.1-8.fc18.x86_64
 gdm = 1:2.22.0 is needed by (installed) 
 pulseaudio-gdm-hooks-2.1-6.fc18.x86_64

gdm requires gnome-shell, not gnome-shell requires gdm:

rpm -q --requires gdm | grep gnome
gnome-icon-theme-symbolic
gnome-keyring-pam
gnome-session
gnome-settings-daemon = 2.21.92
gnome-shell

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't read DVD

2013-08-25 Thread Mihai T. Lazarescu
On Sun, Aug 25, 2013 at 07:06:04AM +0200, Martin S wrote:

 On Saturday, August 24, 2013 03:17:10 PM Doug wrote:
 
  I'm sure you are aware that there are some things that run in Wiondows
  that cant be run in Linux. This seems to be an example. That's why
  most of us who use Linux *most* of the time, have Windows machines.
 
 Umm, yes. As I used Linux exclusively for years untill a long desktop break 
 untill recently I well know there are things that don't run in Linux. Reading 
 DVDs (10 out of 12 faililng) never crossed my mind to be one of them.

Have you checked if (or what) region code is set on the DVD
drive of the linux box:

https://en.wikipedia.org/wiki/DVD_region_code

(or get around it)?

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Read Only file system

2013-08-23 Thread Mihai T. Lazarescu
On Fri, Aug 23, 2013 at 05:23:30PM -0400, Jim wrote:

 Fedora 18 / kde
 
 My Flash Drive has somehow been change to Read Only and I cannot
 delete files from it.
 
 The drive is at /run/media/mickey/0A73-237A and the owner is user
 mickey:mickey  in /mickey/0A73-237A the files on this drive are at;
 -rw-r--r--.  1 mickey mickey   967 Aug 23 16:15 yumex
 -rw-r--r--.  1 mickey mickey  5107 Aug  5 10:55 yum-update
 
 Everytime I try to rm yumex I get a ReadOnly file system
 
 How do I change this ??

This may be because of a file system with errors.  If this is
the case, unmount, check for and fix errors, then it should
mount RW.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F19 Kernels 3.10.5, 6, 7 won't boot

2013-08-22 Thread Mihai T. Lazarescu
On Thu, Aug 22, 2013 at 12:34:59AM -0400, Robert McBroom wrote:

 Updated to Fedora 19 but none of the kernels will boot.  The
 process begins and something about an error with connecting
 to DBUS flashes on the screen then the cycle starts over.
 I can still run with kernel-3.10.4-100.fc18.x86_64 although
 it complains about a file missing that udev would like to see.
 
 [ 14.730648] systemd-udevd[1081]: failed to execute 
 '/usr/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
 'socket:@/org/freedesktop/hal/udev_event': No such file or directory
 
 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
 
 Working boot
 
 BOOT_IMAGE=/vmlinuz-3.10.4-100.fc18.x86_64 
 root=UUID=f04657c0-2964-494f-8efa-f194b7ba370a ro rd.md=0 rd.lvm=0 rd.dm=0 
 vconsole.keymap=us rd.luks=0 LANG=en_US.UTF-8 quiet pci=nomsi noapic irqpoll 
 vconsole.font=latarcyrheb-sun16 3 nouveau.modeset=0 
 rd.driver.blacklist=nouveau video=vesa:off
 
 Looking at the /var/log messages see
 
 Aug 18 00:31:57 robert-pc dbus[1066]: [system] Activating via systemd: 
 service name='org.freedesktop.nm_dispatcher' 
 unit='dbus-org.freedesktop.nm-dispatcher.service'
 Aug 18 00:31:57 robert-pc dbus[1066]: [system] Activation via systemd failed 
 for unit 'dbus-org.freedesktop.nm-dispatcher.service': Unit 
 dbus-org.freedesktop.nm-dispatcher.service failed to load: No such file or 
 directory. See system logs and 'systemctl status 
 dbus-org.freedesktop.nm-dispatcher.service' for details.
 Aug 18 00:31:57 robert-pc NetworkManager[1044]: warn Dispatcher failed: 
 (32) Unit dbus-org.freedesktop.nm-dispatcher.service failed to load: No such 
 file or directory. See system logs and 'systemctl status 
 dbus-org.freedesktop.nm-dispatcher.service' for details.
 Aug 18 00:31:57 robert-pc dbus-daemon[1066]: dbus[1066]: [system] Activating 
 via systemd: service name='org.freedesktop.nm_dispatcher' 
 unit='dbus-org.freedesktop.nm-dispatcher.service'
 Aug 18 00:31:57 robert-pc dbus-daemon[1066]: dbus[1066]: [system] Activation 
 via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': 
 Unit dbus-org.freedesktop.nm-dispatcher.service failed to load: No such file 
 or directory. See system logs and 'systemctl status 
 dbus-org.freedesktop.nm-dispatcher.service' for details.
 
 # systemctl status dbus-org.freedesktop.nm-dispatcher.service
 
 dbus-org.freedesktop.nm-dispatcher.service
 Loaded: error (Reason: No such file or directory)
 Active: inactive (dead)
 
 Any ideas as to what is happening?

No idea, but I also see that:

** the icon of the power manager is missing;

** when is returning from sleep it goes back to sleep right
   away.  Only the second time stays awake;

** when this happens, after the second wakeup the ath9k module
   issues continuously for a couple dozen of seconds or so:

kernel: [121459.809116] ath: phy0: PLL4 meaurement not done

3.10.[56] had no apparent shortcoming, though.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-20 Thread Mihai T. Lazarescu
On Tue, Aug 20, 2013 at 03:56:56PM +0200, Heinz Diehl wrote:

 On 20.08.2013, Mihai T. Lazarescu wrote: 
 
  Thanks for the pointer.  I add to the mix my test results for
  F19 with kernel 3.10.7 on an ASUS UX31E with its factory 256GB
  SSD-only mass storage.
  
  CFQ scheduler run1:
 []
 
 All these numbers are pointless, because when I see
 your results I'm quite shure you did run the test without
 generating loads of disk I/O in parallel.  What you actually
 measured is the latency in idle state ;-)
 
 Open a console and run
 
  while : ; do time sh -c dd if=/dev/zero of=bigfile bs=8M count=256 ; sync; 
 rm bigfile; done
 
 Then, open another one and run fsync-tester.  The numbers
 that count to compare different elevators on your system
 is the output fsync-tester generates while your machine is
 generating the bigfile.

Thanks Heinz!  Indeed, I took every precaution to leave the
machine still. :-)

Here are the program numbers while running the script:

CFQ:
write time: 0.0010s fsync time: 0.8647s
write time: 0.1340s fsync time: 3.1220s
write time: 2.1435s fsync time: 2.8134s
write time: 0.1458s fsync time: 8.3726s
write time: 0.0005s fsync time: 1.0401s
write time: 0.0175s fsync time: 1.0270s
write time: 4.0406s fsync time: 0.0321s
write time: 0.0005s fsync time: 4.8683s
write time: 0.0004s fsync time: 0.3178s

Deadline run1:
write time: 0.0009s fsync time: 82.3477s

Deadline run2:
write time: 0.0007s fsync time: 659.2289s

Noop:
I give up after waiting for more than 20'
to see even the first measurement.

As a side note, with deadline and noop schedulers the test can
take a LOT to complete and often lock for tens of seconds other
programs that make mild accesses to disk (e.g., vim writing
this email or unhiding/hiding MATE panel).  This happened also
in previous tests, run without additional load, but then the
tests did complete in a reasonable amount of time.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-20 Thread Mihai T. Lazarescu
On Tue, Aug 20, 2013 at 04:02:42PM +0200, Heinz Diehl wrote:

 On 20.08.2013, Heinz Diehl wrote: 
 
  Then, open another one and run fsync-tester. The numbers that count to
  compare different elevators on your system is the output fsync-tester
  generates while your machine is generating the bigfile.
 
 And while your're at it, you could also consider doing some
 fsmark runs (without the load), e.g.:
 
  ./fs_mark -S 1 -D 1 -N 10 -d /home/htd/fsmark/test -s 65536 -t4 -w 
 4096 -F 
 
 Notice the -t switch, which lets you specify the number of
 threads used.

Here they are:

CFQ:

#  ./fs_mark  -S  1  -D  1  -N  10  -d  
/home/mihai/tmp/c/fs_mark-3.3  -s  65536  -t4  -w  4096  -F 
# Version 3.3, 4 thread(s) starting at Tue Aug 20 23:30:40 2013
# Sync method: INBAND FSYNC: fsync() per file in write loop.
# Directories: Round Robin between directories across 1
# subdirectories with 10 files per subdirectory.
# File names: 40 bytes long, (16 initial bytes of time stamp
# with 24 random bytes at end of name)
# Files info: size 65536 bytes, written with an IO size of
# 4096 bytes per write
# App overhead is time in microseconds spent in the test not
# doing file writing related system calls.
#
FSUse%Count SizeFiles/sec App Overhead
77 400065536 50.488160
77 800065536 43.2   104150
771200065536 44.494512

Deadline:

#  ./fs_mark  -S  1  -D  1  -N  10  -d  
/home/mihai/tmp/c/fs_mark-3.3/test  -s  65536  -t4  -w  4096  -F 
# Version 3.3, 4 thread(s) starting at Tue Aug 20 23:42:19 2013
# Sync method: INBAND FSYNC: fsync() per file in write loop.
# Directories: Round Robin between directories across 1
# subdirectories with 10 files per subdirectory.
# File names: 40 bytes long, (16 initial bytes of time stamp
# with 24 random bytes at end of name)
# Files info: size 65536 bytes, written with an IO size of
# 4096 bytes per write
# App overhead is time in microseconds spent in the test not
# doing file writing related system calls.
#
FSUse%Count SizeFiles/sec App Overhead
77 400065536 47.692902
77 800065536 41.6   101888
771200065536 39.697937

Noop:

#  ./fs_mark  -S  1  -D  1  -N  10  -d  
/home/mihai/tmp/c/fs_mark-3.3/test  -s  65536  -t4  -w  4096  -F 
# Version 3.3, 4 thread(s) starting at Tue Aug 20 23:48:10 2013
# Sync method: INBAND FSYNC: fsync() per file in write loop.
# Directories: Round Robin between directories across 1
# subdirectories with 10 files per subdirectory.
# File names: 40 bytes long, (16 initial bytes of time stamp
# with 24 random bytes at end of name)
# Files info: size 65536 bytes, written with an IO size of
# 4096 bytes per write
# App overhead is time in microseconds spent in the test not
# doing file writing related system calls.
#
FSUse%Count SizeFiles/sec App Overhead
77 400065536 46.889478
77 800065536 42.0   101337
771200065536 43.295834

It does not look like significant differences between schedulers.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-20 Thread Mihai T. Lazarescu
On Tue, Aug 20, 2013 at 08:32:22PM +0200, Heinz Diehl wrote:

 On 20.08.2013, Mihai T. Lazarescu wrote: 
 
  Here are the program numbers while running the script:
  
  CFQ:
 []
 
 Seems that cfq performs better on your machine, under this workload.

Apparently so.  But I can't explain the really poor performance
of the other schedulers.

 I run an OCZ Vertex 4, filesystem is XFS mounted with 
 rw,noatime,attr2,discard,nobarrier,inode64,logbufs=8,logbsize=256k,noquota.
 
 These are my deadline parameters: 
 echo deadline  /sys/block/sda/queue/scheduler
 echo 0  /sys/block/sda/queue/iosched/front_merges
 echo 8  /sys/block/sda/queue/iosched/fifo_batch
 
 These are the disk tunings:
 /sbin/hdparm -W1 /dev/sda
 /sbin/blockdev --setra 8192 /dev/sda

Mine has mostly F19 defaults:

* ext4 with rw,relatime,discard,data=ordered

* cat /sys/block/sda/queue/scheduler: deadline

* cat /sys/block/sda/queue/iosched/front_merges: 1

* cat /sys/block/sda/queue/iosched/fifo_batch: 16

* hdparm /dev/sda:
multcount =  0 (off)
IO_support=  1 (32-bit)
readonly  =  0 (off)
readahead = 256 (on)
geometry  = 31130/255/63, sectors = 500118192, start = 0

* hdparm -W /dev/sda:
write-caching =  1 (on)

* blockdev --report /dev/sda:
RORA   SSZ   BSZ   StartSecSize   Device
rw   256   512  4096  0256060514304   /dev/sda

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-20 Thread Mihai T. Lazarescu
On Tue, Aug 20, 2013 at 08:36:24PM +0200, Heinz Diehl wrote:

 On 20.08.2013, Heinz Diehl wrote: 
 
 []
 
 And the kernel is vanilla from kernel.org:
 
 [htd@kiera ~]$ uname -a
 Linux kiera.fritha.org 3.10.8 #1 SMP PREEMPT Tue Aug 20 19:53:31 CEST 2013 
 x86_64 x86_64 x86_64 GNU/Linux

F19 is missing preempt:

Linux mtl.m.lazarescu.org 3.10.7-200.fc19.x86_64 #1 SMP Thu Aug 15 23:19:45 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-19 Thread Mihai T. Lazarescu
On Mon, Aug 19, 2013 at 06:30:06PM +0200, Heinz Diehl wrote:

 Don't forget to switch to the deadline elevator, it works a
 lot better than cfq in combination with non-rotational drives.

It appears that CFQ can sense and adapt to SSD and has little
if any loss to other I/O schedulers:

https://wiki.archlinux.org/index.php/Talk:Solid_State_Drives


http://www.velobit.com/storage-performance-blog/bid/126135/Effects-Of-Linux-IO-Scheduler-On-SSD-Performance

Also, here you can find some tips to increase SSD performance
and lifetime:

https://wiki.archlinux.org/index.php/Solid_State_Drives

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-19 Thread Mihai T. Lazarescu
On Mon, Aug 19, 2013 at 09:24:14PM +0200, Heinz Diehl wrote:

 On 19.08.2013, Mihai T. Lazarescu wrote: 
 
  It appears that CFQ can sense and adapt to SSD and has little
  if any loss to other I/O schedulers:
 
  http://www.velobit.com/storage-performance-blog/bid/126135/Effects-Of-Linux-IO-Scheduler-On-SSD-Performance
 
 They only tested bandwidth, not latency.  On my systems,
 deadline outperforms cfq, both wrt bandwidth *and* latency,
 both felt and measured.  Latency is especially sensible when
 there's a lot of disk I/O. You can do some testing using
 Ted Tso's fsync-tester:
 
 https://oss.oracle.com/~mason/fsync-tester.c

Thanks for the pointer.  I add to the mix my test results for
F19 with kernel 3.10.7 on an ASUS UX31E with its factory 256GB
SSD-only mass storage.

CFQ scheduler run1:
write time: 0.0007s fsync time: 0.9397s
write time: 0.0004s fsync time: 5.6349s
write time: 0.0004s fsync time: 1.1586s
write time: 0.0004s fsync time: 14.4159s
write time: 0.0004s fsync time: 12.7619s
write time: 0.0004s fsync time: 13.5689s

CFQ scheduler run2:
write time: 0.0010s fsync time: 0.9970s
write time: 0.0004s fsync time: 5.7953s
write time: 0.0004s fsync time: 0.9726s
write time: 0.0004s fsync time: 14.9300s
write time: 0.0005s fsync time: 0.7052s
write time: 0.0004s fsync time: 8.3616s
write time: 0.0004s fsync time: 2.1200s
write time: 0.0004s fsync time: 4.5161s

Deadline scheduler run1:
write time: 0.0007s fsync time: 1.6141s
write time: 0.0005s fsync time: 11.2728s
write time: 0.0005s fsync time: 18.5445s
write time: 8.0272s fsync time: 23.0132s

Deadline scheduler run2:
write time: 0.0137s fsync time: 0.9517s
write time: 0.0005s fsync time: 11.5287s
write time: 0.0005s fsync time: 17.4877s
write time: 0.0005s fsync time: 12.9626s
write time: 0.0004s fsync time: 56.6898s

Noop scheduler run1:
write time: 0.0062s fsync time: 1.2807s
write time: 0.0005s fsync time: 11.4450s
write time: 0.0005s fsync time: 18.3745s
write time: 7.6150s fsync time: 25.1109s

Noop scheduler run2:
write time: 0.0099s fsync time: 1.3952s
write time: 0.0004s fsync time: 11.3167s
write time: 0.0004s fsync time: 19.0572s
write time: 7.4895s fsync time: 25.1773s

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: f19 scientific and boolean calculator

2013-08-18 Thread Mihai T. Lazarescu
On Sun, Aug 18, 2013 at 09:44:35PM +, Andre Robatino wrote:

 Les Howell hlhowell at pacbell.net writes:
 
  Does anyone know what happened to the calculator?  I upgraded to F19 and
  now the calculator shows up like a 2.00 simple calculator.  I need the
  boolean and scientific functions.
 
 The version in F19 (gnome-calculator-3.8.2-1.fc19) does not have any menus
 in the top bar. It also appears to be impossible to resize. The version
 gnome-calculator-3.9.4-2.fc20 in Rawhide has an Application menu in the
 top bar which allows choice of mode, including Advanced (scientific) and
 Programming (boolean). However, it also cannot be resized. You might want
 to file a bug, if there isn't one already.

Weird, I have gnome-calculator-3.8.2-1.fc19.x86_64 and I see
(and can use) the Application menu.  I don't know if it matters,
but I use Mate for session and Sawfish as WM.

It does not resize, though.

Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: HD to SSD question.

2013-08-18 Thread Mihai T. Lazarescu
On Sun, Aug 18, 2013 at 10:57:09PM +0200, Erik P. Olsen wrote:

 I plan to swap the HD on my laptop with an SSD of same size.
 Will it work OK if I dd the HD to an external HD, swap
 the HD with the SSD and dd the contents back to the SSD?
 I believe I can use knoppix to the process.

You can dd /dev/sdXX of the HDD into a file, then dd that file
into the SSD.  It should generally work.  If you have a spare
laptop that can host either the original HDD or the new SSD
for the duration of the operation, you can boot both from a
live distro and dd directly from one to the other via network.
It may help to zero the unused space and the swap partition(s)
on source HDD and compress the transfer over net.

But _do_ check carefully that the SSD has at least the same
number of _bytes/sectors_ and sector size as the HDD, else
you risk to end up with corrupted partitions.  E.g., my 256GB
SSD says:

fdisk -l /dev/sda

Disk /dev/sda: 256.1 GB, 256060514304 bytes, 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Should the SSD be slightly shorter you can boot from a live
distro and shrink a bit the last partition on the source HDD
to keep it within the destination SSD boundary.

You may also want to check Clonezilla, which automates some
operations: http://clonezilla.org/

Good luck!
Mihai
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org