Re: Init system deba{te|cle}

2013-11-03 Thread Markus Falb

On 03.Nov.2013, at 10:33, Marko Randjelovic wrote:

 On Tue, 29 Oct 2013 16:55:44 -0400
 John johnrchamp...@wowway.com wrote:
 
 Could someone who has been following the giant fuss on -devel over
 init systems explain why there's such a sense of dire urgency?
 
 I am sure this is not urgent, Gnome should not be default DE and even
 they could easily just make two (or more) DE options in installer.
 XFCE4 is on Wheezy DVD-1. 
 
 Decisions like changing such an essential part of OS should not be made
 in rush.

This is wise. Put in other words: If you do not know what to do, do nothing.

 I do not see enough reasons for Gnome to depend on systemd, other than
 forcing us to switch to systemd for interests of big corporations.

Who knows?

http://en.wikipedia.org/wiki/Lennart_Poettering (the one that wrote systemd) 
tells us
Poettering is a long term contributor of the GNOME project, a GNOME Foundation 
member and...

-- 
Markus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1d5d8055-d172-47c3-a9d5-6f8c49cca...@gmail.com



Re: meaning of a warning message

2013-10-21 Thread Markus Falb

On 21.Okt.2013, at 16:51, Erwan David wrote:

 On Mon, Oct 21, 2013 at 04:46:58PM CEST, Ralf Mardorf 
 ralf.mard...@alice-dsl.net said:
 On Mon, 2013-10-21 at 16:14 +0200, François Patte wrote:
 Bonjour,
 
 Sometimes while I launch evince (or emacs), I get this message in the
 terminal:
 
 (evince:28904): Gtk-WARNING **: Calling Inhibit failed:
 GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
 org.gnome.SessionManager was not provided by any .service files
 
 What does it mean?
 
 It does mean that you don't use GNOME? Take a look at ~/.xsession-errors
 and you'll notice that there are a lot of similar warnings. You can
 ignore them.
 
 I also get them when I use a ssh -X session, which does not start
 dbus. I was told that all applications using gconf need dbus and thus
 are not compatible anymore with ssh -X.

Does it mean that dbus does not work with remote X sessions at all?

-- 
Markus

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/615d0cc3-9c43-4387-b111-c13fce61f...@gmail.com



Re: Debian Wheezy - HP Pavilion dm1

2013-10-21 Thread Markus Falb

On 21.Okt.2013, at 17:11, Sureyya Sahin wrote:

 
 
 On 21/10/13 05:07 AM, Curt wrote:
 On 2013-10-21, Bob Proulx b...@proulx.com wrote:
 
 Sureyya Sahin wrote:
 Just to update, the hdparm command gives me:
Advanced power management level: 254
 I guess the value would be 254. I will try to set it permanently if I can.
 
 Set it permanently to 254?  Or to something different?
 
 My understanding is that he executed the command
 
 hdparm -I /dev/whatever
 
 and he got back an apm level of 254, which is what the device has
 defaulted to without any intervention on his part.
 
 
 Yes, Curt I issued the command and ended up with some information including 
 the part I posted and I thought is relevant. I am interpreting this as 
 follows:
 
 Currently, with the data I already posted from the output of smart, I am 
 having a low value at around 35 perhaps. When I issue the hdparm command, I 
 am obtaining a value of 254 which would be the ideal one for my computer. 
 Thus, I will add the scripts described in the article to set it to 254 and to 
 relieve the symptom.


If the hdparm -I tells you that APM is at 254, then *it is* at 254
The value of 35 that you are talking about is another value that has nothing to 
do with it.

you refer to this line

ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE UPDATED  
WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count  0x0032   035   035 000  
Old_age   Always  -   656598

The last column is the raw value, probably this is the absolute load cycle 
count, but who knows.
*If* the raw value is the absolute count, your disk had 656598 cycles

VALUE and WORST are normalized views of the raw value. If VALUE is reaching 
THRESH than the disk will die soon.
VALUE was probably 100 when the disk was new and was/is decreasing since then. 
If S.M.A.R.T. is right, you have 1 third of the load cycles left. Oh, but who 
says that it decreases linearly?

I did a search for your drive (I hope I got that right)
http://www.techhypermart.com/samsung-hm641ji-2-5-640gb-mobile-hard-disk-drive.html
says
- Load/Unload Cycles: 600,000

yours is at 656598, this could mean that its over the specificated load cycle 
counts yet.
Note that this does not correlate with the 1 third from above, sadly.

Another strange thing - your APM is at 254 according to the output from hdparm

It was mentioned that the APM level is not guaranteed to survive a reboot. Some 
OS's could set it at boot time, some will not.
It could be that a OS that does not make these clicking sounds is a OS that 
sets it at 254 at boot time. You will have to retrieve the value with the 
problem-os. Maybe you retrieved this value while the good OS was running, I 
do not know.

I encountered drives which APM was not changeable at all
Also note that the interpretation of the raw value is not standardized.

We are fishing in muddy waters without technical specifications from Samsung.

-- 
Markus







--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/f8e6354f-8db4-4ae2-bc53-e9d5eb706...@gmail.com



Re: Debian Wheezy - HP Pavilion dm1

2013-10-21 Thread Markus Falb

On 21.Okt.2013, at 19:48, Ralf Mardorf wrote:

 FWIW when gvfs wakes up the
 drive, this doesn't cause a click noise, only a drive that is close to
 it's death makes this noise, when the heads are released.

Putting a harddisk to sleep and wake it up does not make a click noise. Only 
thing it does is beginning to rotate, or stop.
But putting a harddisk to sleep is not the same as parking it's heads. These 
are two different functions. Normal sleep does not automatically involve 
parking it's heads, AFAIK.

Parking the head's (or unparking them, or both) *is* making a click, albeit 
relatively low noise.
My experience is it's also drive dependent, some drive models make louder noise 
than other.

I also have stumbled about some thing called Laptop mode in linux, not sure 
how it relates to those things.
-- 
Markus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/003adfa6-522b-43fe-8f0e-8a7c3fa58...@gmail.com



Re: Debian Wheezy - HP Pavilion dm1

2013-10-20 Thread Markus Falb

On 19.Okt.2013, at 23:50, Sureyya Sahin wrote:

 On 19/10/13 05:44 PM, Gregory Nowak wrote:
 On Sat, Oct 19, 2013 at 05:30:41PM -0400, Sureyya Sahin wrote:
 Ok, I entered the command as root (not working as a regular user)
 and get this edited version (to keep my message short) of
 information:
 
 All your edited version tells us is what drive this is. To actually
 know what shape the drive is in, we need to see the section that
 starts out something like:
 
 SMART Attributes Data Structure revision number: 10
 Vendor Specific SMART Attributes with Thresholds:
 
 Greg
 
 
 OK, I guess this is the data you are asking for (I trimmed the other part 
 again to make the message short):
 
 SMART Attributes Data Structure revision number: 16
 Vendor Specific SMART Attributes with Thresholds:
 ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE UPDATED  
 WHEN_FAILED RAW_VALUE
 ...
 193 Load_Cycle_Count0x0032   035   035   000Old_age   Always  
  -   656598
 ...

Is this a laptop? I guess it is.

The firmware in your harddisk is parking it's head and you hear it click (or 
maybe it clicks when it is waking up).
You can set the APM level for the disk with hdparm or smartctl

try to get the current value like that
# smartctl -g apm /dev/sda

or with

# hdparm -I /dev/sda

it is probably at 128 or lower
set it to a higher value
192 or even 254, this is hard disk vendor dependent, unfortunately.

google for load cycle count and you will find plenty results.
This seems to be a problem with a lot of disks.

-- 
Markus

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/6e84e096-08f3-4f3e-9bf5-7e01668fb...@gmail.com



Re: Usage of grep - Was: no .bash_hostory file was found in user home folder

2013-10-19 Thread Markus Falb

On 20.Okt.2013, at 00:51, Ralf Mardorf wrote:

 
 
 On Sun, 2013-10-20 at 03:42 +0500, Muhammad Yousuf Khan wrote:
cat /etc/passwd | grep ykhan
ykhan:x:19000:19000:ykhan,,,:/home/ykhan:/bin/bash
 
 [rocketmouse@archlinux ~]$ grep rocketmouse /etc/passwd
 rocketmouse:x:1000:1000::/home/rocketmouse:/bin/bash
 
 IOW if you use grep, then you don't need to use cat first.


I find myself doing this on occasion.
Sometimes it seems quicker to add the pipe to the previous command than to 
modify the whole thing.

Knowing your shell's command line shortcut's helps with that, at least maybe.
I recommend the emacs tutorial (bash command line navigation is emacs-ish by 
default)

-- 
Markus

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/753e1b0b-cb41-4a06-a31f-e8e621d7e...@gmail.com



Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-12 Thread Markus Falb

On 12.Okt.2013, at 01:22, Terho Uotila wrote:

 On Sat, 12 Oct 2013 00:11:01 +0200
 berenger.mo...@neutralite.org wrote:
 
 Oh, of course, if you speak about giving yourself a label, then,
 fine. Take the one you want. But, it does not mean that you can claim
 to be a professional, or that you can say someone is a professional.
 
 It seemed to me that rootly powers doesn't make sysadmin camp equated
 sysadmin with _professional_ sysadmin (or as job title), and above kind
 of confirms this.
 
 (I believe) other camp (rootly powers makes sysadmin) on the other
 hand is talking about role person performs in administering system,
 whether in professional capacity or non-professional. (I admit I'm in
 this group.)
 
 I hope this helps you all agree on something. :)

I agree! There are different points of view.

Some years ago I would have said I am a System Administrator if I were asked. 
The business cards I got from employer said System engineer.

Maybe it's just a concept which somehow evades precise definition :-)

-- 
Markus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/32ac7394-b2ea-4064-adab-f6d71c41d...@gmail.com



Re: duplicate emails

2013-09-27 Thread Markus Falb

On 27.Sep.2013, at 16:52, Ralf Mardorf wrote:

 On Fri, 2013-09-27 at 10:43 -0400, Catherine Gramze wrote:
 it may be an iOS 7 bug
 
 Right now I download iOS 7.0.2 ;). I'm not an Apple fan, I won the iPad.

Tell us when you realize that you got duplicate copies ;-)

-- 
Markus


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/17ae2bdf-47f8-4a29-9269-d40fe21aa...@gmail.com