Re: Back in Time fails with Python errors

2013-10-22 Thread Karl E. Jorgensen
Hi

On Tue, Oct 22, 2013 at 04:11:09PM -0700, anx_dev wrote:
> Hi all,
> 
> Back in Time is failing with a Python fatal error in app.py. Is anyone having 
> the same sort of error?

Possibly. Possibly not. If you listed what the error actually was, it
may be helpful in resolving it.

-- 
Karl E. Jorgensen


-- 
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/20131023062401.GA25131@hawking



Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread recoverym4n
On Wed, 23 Oct 2013 02:18:10 +0200
Ralf Mardorf  wrote:

> That makes me wonder, perhaps this works because your install is that
> clean. 

There may be other differences. Versions, build options, etc.
And there's always ltrace and strace to make sure that the software
behaves exactly the way you want it.


> Impossible for my usage, fortunately I anyway mount from a
> terminal. I don't know if the OP could live without G and Dconf and
> gtk3.

I didn't install that stuff simply for the sake of an clean experiment.
I'm pretty sure that thunar doesn't use GConf, DConf or GTK+3, so these
libraries were not needed.

Reco


-- 
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/20131023102116.8ee1b2e35bfca57d9a728...@gmail.com



Re: Debian and UEFI and GPT

2013-10-22 Thread David Christensen

On 10/22/13 22:03, Bret Busby wrote:

I am wondering whether the amd64 versions of Debian 6 and 7 install and
run on a UEFI/GPT system.


Yes.  I have an Intel DQ67SW motherboard (has UEFI) with 3 TB Seagate 
hard drives (formatted with GPT), and have run both Squeeze and Wheezy 
on it.



HTH,

David


--
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/526764af.7080...@holgerdanske.com



Debian and UEFI and GPT

2013-10-22 Thread Bret Busby

Hello.

I am wondering whether the amd64 versions of Debian 6 and 7 install and 
run on a UEFI/GPT system.


From what I understand, FreeBSD does not yet install and run on a 
UEFI/GPT system, and so I assume that Debian kfreebsd also does not yet 
install and run on a UEFI/GPT system, and I am wondering whether the 
amd64 versions of Debian 6 and 7, install and run on a UEFI/GPT system.


--
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
  Chapter 28 of Book 1 of
  "The Hitchhiker's Guide to the Galaxy:
  A Trilogy In Four Parts",
  written by Douglas Adams,
  published by Pan Books, 1992



--
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/alpine.deb.2.00.1310231259560.12...@bret-dd-workstation.busby.net



Boot Problems with 2.6.32-5-686 Kernel

2013-10-22 Thread Mark Phillips
I ran apt-get update and apt-get upgrade this morning on an old server
(Debian Squeeze) and the system won't boot now. I get the error

kernel panic not syncing: VFS: unable to mount root fs on unknown
-block(0,0)

One of the updates was to kernel 2.6.32-5-686. I can boot in to safe mode
with this kernel, and the upgrade wiped out the older version of the kernel.

I have googled for possible solutions, but nothing helpful is popping up. I
am also running grub, and not grub2, but that is OK for this kernel
according to debian.org.

Any suggestions on how to proceed?

Thanks!

Mark


Re: Hp Proliant 460c drivers

2013-10-22 Thread Stan Hoeppner
On 10/22/2013 1:42 PM, Erick Ocrospoma wrote:
> On Oct 22, 2013 12:15 PM, "Stan Hoeppner"  wrote:
>>
>> On 10/22/2013 10:11 AM, Erick Ocrospoma wrote:
>>> On Oct 22, 2013 8:36 AM, "Stan Hoeppner"  wrote:

 On 10/21/2013 2:57 PM, Erick Ocrospoma wrote:

 Is this your first rodeo with HP servers?
>>>
>>> Blades yes
>>>
> I have installed Debian 7.1 on a few hp proliant blade servers, after
> installing I've seen that network is not working properly. It
> recognises
> around 8 interfaces, mii-tool says that there is not any link present.
>>
>> I'm pretty damn sure that blade doesn't have 8x 10GbE interfaces.  It
>> should have one, or two if you purchased the dual port mezzazine board.
>>
 Post your dmesg and lspci output WRT to the NIC hardware so we can
 verify which Ethernet chip it is.

>>>
>>> lspci | grep Eth
>>> 
>>> Ethernet Controller: Emulex corporation One connect 10GB NIC (be3)
> (rev01)
>>
>> The kernel driver is "be2net".  Is the driver loading?  dmesg output
> please.
>>
>> Are you using static assignment or DHCP?
>>
>> What is the content of /etc/network/interfaces?
>>
> 
> I have find the correct interfaces, from the group of 8 the two first ones
> are the NICs. There are only asigned only two virtual NICs per bay.
> I have just used the install cd1 so this must be a generic driver, anyway.
> 
> Now, the problem is with the HBA fibber adapter, there's a SAN on the
> datacenter which Debian should recognise.
> 
> Emulex brings official drivers for CentOS and due to this servers will be
> under high load, should I follow the official ones?
> 
> We are testing under CentOS too, works fine but in both cases, Debian and
> CentOS, now we need to make work the fibber adapter.

Hardware drivers are part of the Linux kernel.  They are not
distribution specific.  You didn't post dmesg output so I don't know if
the Emulex FC HBA driver is loading or not.  I'd guess it is.

The first thing you need to do is enter the HBA BIOS during POST and see
what LUNs are being unmasked to your HBA WWNs, if any.  Read the HBA
manual to learn how to do this.

If the switches have not been programmed adding the WWNs of the FC HBAs
to an appropriate zone, and if the SAN array administrator has not
exposed LUNs to the HBA WWNs, you won't see any LUNs in the HBA BIOS,
nor any /dev/sdX devices that map to SAN LUNs.  You literally won't
"see" anything on the SAN.

I can tell this is your first rodeo with FC SAN technology.  There is
nothing "automatic" with FC SAN hardware.  Zones, paths, security,
ports, etc, must typically all be manually configured on each piece of
the SAN, including the array controller, switches, and HBAs.  Most
vendor introductory SAN courses are 3-5 days, and most offer 3 course
levels, beginner, intermediate, and advanced.  If you've had no prior
SAN training or self study, you may be in for a rough ride, unless you
have a SAN admin, or someone on staff with knowledge.  If so you will
need to work closely with that person to get this working.

FWIW, I taught myself enough in about 15 hours to integrate my first SAN
using Qlogic switches and HBAs, IBM and Nexsan disk arrays, using
strictly online vendor documentation, and Google.  So it is possible to
fly by the seat of one's pants with one's first SAN deployment, but I am
not your average tech, and most people can't pull this type of thing off
working alone.

-- 
Stan


-- 
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/52674101.8010...@hardwarefreak.com



Re: Dying hard drive?

2013-10-22 Thread Celejar
On Wed, 23 Oct 2013 02:40:27 +0200
Ralf Mardorf  wrote:

> On Tue, 2013-10-22 at 19:52 -0400, Celejar wrote:
> > http://lists.debian.org/debian-user/2012/10/msg00182.html
> 
> At least it's better to backup more files than wanted, as to miss files
> that are needed :D.

Fair enough ;)

Celejar


-- 
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/2013103255.4d69d220851819290328b...@gmail.com



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

2013-10-22 Thread Jerry Stuckle

On 10/22/2013 8:47 PM, berenger.mo...@neutralite.org wrote:



Le 22.10.2013 23:01, Jerry Stuckle a écrit :

On 10/21/2013 5:26 PM, berenger.mo...@neutralite.org wrote:

Le 18.10.2013 19:36, Jerry Stuckle a écrit :

On 10/18/2013 1:10 PM, berenger.mo...@neutralite.org wrote:

Le 18.10.2013 17:22, Jerry Stuckle a écrit :

On 10/17/2013 12:42 PM, berenger.mo...@neutralite.org wrote:

Le 16.10.2013 17:51, Jerry Stuckle a écrit :

I only know few people who actually likes them :)
I liked them too, at a time, but since I can now use standard
smart
pointers in C++, I tend to avoid them. I had so much troubles with
them,
so now I only use them for polymorphism and sometimes RTTI.
I hope that someday references will become usable in standard
containers... (I think they are not because of technical problems,
but I
do not know a lot about that. C++ is easy to learn, but hard to
master.)



Good design and code structure eliminates most pointer problems;
proper testing will get the rest.  Smart pointers are nice, but in
real time processing they are an additional overhead (and an
unknown
one at that since you don't know the underlying libraries).


Depends on the smart pointer. shared_ptr indeed have a runtime cost,
since it maintains additional data, but unique_ptr does not,
afaik, it
is made from pure templates, so only compilation-time cost.



You need to check your templates.  Templates generate code.  Code
needs resources to execute.  Otherwise there would be no difference
between a unique_ptr and a C pointer.


In practice, you can replace every occurrence of
std::unique_ptr by
int* in your code. It will still work, and have no bug. Except, of
course, that you will have to remove some ".get()", ".release()" and
things like that here and there.
You can not do the inverse transformation, because you can not copy
unique_ptr.

The only use of unique_ptr is to forbid some operations. The code it
generates is the same as you would have used around your raw pointers:
new, delete, swap, etc.
Of course, you can say that the simple fact of calling a method
have an
overhead, but most of unique_ptr's stuff is inlined. Even without
speaking about compiler's optimizations.



Even inlined code requires resources to execute.  It is NOT as fast
as regular C pointers.


I did some testing, to be sure. With -O3, the code is exactly the same.
Did not tried with -O1 and -O2. Without optimization, the 5 lines with
pointers were half sized of those using unique_ptr. But I never ship
softwares not optimized (the level depends on my needs, and usually I do
not use -O3, though).



First of all, with the -O1 and -O2 optimization you got extra code.


Did you try it? It just did, with a code doing simply a new and a delete
with raw against unique_ptr. In short, the simplest usage possible.
Numbers are optimization level, p means pointer and u means unique_ptr.
It seems that it is the 2nd level of optimization which removes the
difference.



Which is why your -O3 was able to optimize the extra code out.  A more 
complicated test would not do that.



  7244 oct.  23 01:57 p0.out
  6845 oct.  23 01:58 p1.out
  6845 oct.  23 01:58 p2.out
  6845 oct.  23 01:58 p3.out

11690 oct.  23 01:59 u0.out
10343 oct.  23 01:59 u1.out
  6845 oct.  23 01:59 u2.out
  6845 oct.  23 01:59 u3.out


That means the template DOES create more code.  With -O3, your
*specific test* allowed the compiler to optimize out the extra code.
But that's only in your test; other code will not fare as well.


Indeed it adds code. But what is relevant is what you will release, and
if by adding some switches (I am interested in that stuff now, but too
tired from now. Tomorrow I'll make testing with various switches to know
which one exactly allows to have those results, plus a better testing
code. Sounds like a good occasion to learn few things.) you have the
same final results, then it is not a problem, at least for me.



Only in your simple case.


Now, I have never found any benchmark trying to compare raw pointers and
unique_ptr, could be interesting to have real numbers instead of
assumptions. I'll probably do that tomorrow.



I don't care about benchmarks in such things.  If I need a unique_ptr, I 
use a unique_ptr.  If I don't, I (may) use a raw pointer.


If there is a performance problem later, I will find the problem and fix 
it.  But I don't prematurely optimize.



unique_ptr must manage the object at *run time* - not at *compile
time*. To ensure uniqueness, there has to be an indication in the
object that it is being managed by a unique_ptr object.


Wrong. std::unique_ptr is not intrusive, the content never knows that it
is managed manually or by a smart_ptr. This is also valid for shared_ptr.

In fact, the uniqueness is not guaranteed. This code shows what I mean:

std::unique_ptr foo, bar ( new int ( 5 ) );
foo.reset( bar.get() );
bar.reset();
printf( "%d", *foo );

This is a simple example of how to break the features given by
unique_ptr. But the get() m

Re: Start Synaptic with user password (NOT root password)

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 20:34 -0400, Frank McCormick wrote:
> I have also had this problem for a while - I thought it was related to
> Mate which I run.
> gksudo will run it here...but pkexec will not.

I don't know pkexec. Does it allow something gksudo doesn't allow?
If there should be the need to log in as another user with gksudo, this
does the trick:

xhost +
gksudo -u add_another_user_here "$*"
xhost -
exit


-- 
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/1382489867.3610.181.camel@archlinux



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

2013-10-22 Thread berenger . morel



Le 22.10.2013 23:01, Jerry Stuckle a écrit :

On 10/21/2013 5:26 PM, berenger.mo...@neutralite.org wrote:

Le 18.10.2013 19:36, Jerry Stuckle a écrit :

On 10/18/2013 1:10 PM, berenger.mo...@neutralite.org wrote:

Le 18.10.2013 17:22, Jerry Stuckle a écrit :

On 10/17/2013 12:42 PM, berenger.mo...@neutralite.org wrote:

Le 16.10.2013 17:51, Jerry Stuckle a écrit :

I only know few people who actually likes them :)
I liked them too, at a time, but since I can now use standard 
smart
pointers in C++, I tend to avoid them. I had so much troubles 
with

them,
so now I only use them for polymorphism and sometimes RTTI.
I hope that someday references will become usable in standard
containers... (I think they are not because of technical 
problems,

but I
do not know a lot about that. C++ is easy to learn, but hard 
to

master.)



Good design and code structure eliminates most pointer 
problems;
proper testing will get the rest.  Smart pointers are nice, but 
in
real time processing they are an additional overhead (and an 
unknown

one at that since you don't know the underlying libraries).


Depends on the smart pointer. shared_ptr indeed have a runtime 
cost,
since it maintains additional data, but unique_ptr does not, 
afaik, it

is made from pure templates, so only compilation-time cost.



You need to check your templates.  Templates generate code.  Code
needs resources to execute.  Otherwise there would be no 
difference

between a unique_ptr and a C pointer.


In practice, you can replace every occurrence of 
std::unique_ptr by

int* in your code. It will still work, and have no bug. Except, of
course, that you will have to remove some ".get()", ".release()" 
and

things like that here and there.
You can not do the inverse transformation, because you can not 
copy

unique_ptr.

The only use of unique_ptr is to forbid some operations. The code 
it
generates is the same as you would have used around your raw 
pointers:

new, delete, swap, etc.
Of course, you can say that the simple fact of calling a method 
have an

overhead, but most of unique_ptr's stuff is inlined. Even without
speaking about compiler's optimizations.



Even inlined code requires resources to execute.  It is NOT as fast
as regular C pointers.


I did some testing, to be sure. With -O3, the code is exactly the 
same.
Did not tried with -O1 and -O2. Without optimization, the 5 lines 
with

pointers were half sized of those using unique_ptr. But I never ship
softwares not optimized (the level depends on my needs, and usually 
I do

not use -O3, though).



First of all, with the -O1 and -O2 optimization you got extra code.


Did you try it? It just did, with a code doing simply a new and a 
delete with raw against unique_ptr. In short, the simplest usage 
possible.

Numbers are optimization level, p means pointer and u means unique_ptr.
It seems that it is the 2nd level of optimization which removes the 
difference.


 7244 oct.  23 01:57 p0.out
 6845 oct.  23 01:58 p1.out
 6845 oct.  23 01:58 p2.out
 6845 oct.  23 01:58 p3.out

11690 oct.  23 01:59 u0.out
10343 oct.  23 01:59 u1.out
 6845 oct.  23 01:59 u2.out
 6845 oct.  23 01:59 u3.out


That means the template DOES create more code.  With -O3, your
*specific test* allowed the compiler to optimize out the extra code.
But that's only in your test; other code will not fare as well.


Indeed it adds code. But what is relevant is what you will release, and 
if by adding some switches (I am interested in that stuff now, but too 
tired from now. Tomorrow I'll make testing with various switches to know 
which one exactly allows to have those results, plus a better testing 
code. Sounds like a good occasion to learn few things.) you have the 
same final results, then it is not a problem, at least for me.


Now, I have never found any benchmark trying to compare raw pointers 
and unique_ptr, could be interesting to have real numbers instead of 
assumptions. I'll probably do that tomorrow.



unique_ptr must manage the object at *run time* - not at *compile
time*. To ensure uniqueness, there has to be an indication in the
object that it is being managed by a unique_ptr object.


Wrong. std::unique_ptr is not intrusive, the content never knows that 
it is managed manually or by a smart_ptr. This is also valid for 
shared_ptr.


In fact, the uniqueness is not guaranteed. This code shows what I mean:

std::unique_ptr foo, bar ( new int ( 5 ) );
foo.reset( bar.get() );
bar.reset();
printf( "%d", *foo );

This is a simple example of how to break the features given by 
unique_ptr. But the get() method is needed for compatibility problem and 
because they did not made a weak_ptr for unique_ptr, as they did for 
shared_ptr. I have read that this issue might be fixed in 2014 ( the 
need for raw pointers, not the fact that get() can break the guarantees 
).
In real code, you could have that problem too, if responsibilities are 
not correctly defined, but it will probably happens less often than for 
raw

Re: Dying hard drive?

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 19:52 -0400, Celejar wrote:
> http://lists.debian.org/debian-user/2012/10/msg00182.html

At least it's better to backup more files than wanted, as to miss files
that are needed :D.


-- 
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/1382488827.3610.177.camel@archlinux



Re: Start Synaptic with user password (NOT root password)

2013-10-22 Thread Frank McCormick

On 22/10/13 08:23 PM, Ralf Mardorf wrote:

On Tue, 2013-10-22 at 16:09 -0700, anx_dev wrote:

Synaptic cannot be started with a user with sudo privileges.


Does it work if you use gksudo?





  I have also had this problem for a while - I thought it was related to
Mate which I run.
gksudo will run it here...but pkexec will not.

Cheers


--
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/52671997.4010...@videotron.ca



Re: Start Synaptic with user password (NOT root password)

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 16:09 -0700, anx_dev wrote:
> Synaptic cannot be started with a user with sudo privileges.

Does it work if you use gksudo?


-- 
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/1382487804.3610.173.camel@archlinux



Re: upgrade to wheezy

2013-10-22 Thread Ralf Mardorf


On Wed, 2013-10-23 at 00:05 +0200, mess-mate wrote:
> Thanks to all for the help !!

You're welcome, but next time please write in plain text. On most
mailing lists and this is one of them, HTML is frowned upon.



-- 
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/1382487643.3610.171.camel@archlinux



Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread Ralf Mardorf
On Wed, 2013-10-23 at 02:04 +0400, recovery...@gmail.com wrote:
> On Tue, 22 Oct 2013 23:05:10 +0200
> Ralf Mardorf  wrote:
> 
> > On Wed, 2013-10-23 at 00:53 +0400, recovery...@gmail.com wrote:
> > > I was merely curious if there's some 'killer GNOME app' that I'm
> > > missing, and it looks like it's still not.
> > 
> > That's true, with one exception, I disagree regarding to gvfs. You
> > perhaps can explain the OP how to use udev or anything else to get back
> > mountable devices and trash by Thunar/on the desktop.
> 
>  Sure.
> 
> I've just installed thunar and thunar-volman with the needed
> dependencies (I've disabled auto-install of recommended stuff long
> time ago).
> I've ensured that no GConf, DConf, gvfs or GTK+3 libraries
> are present (no QT libs too).
> I've used USB stick to do a quick test.
> Thunar helpfully showed me that it's a '1.89 Gb Volume' (um, whatever).
> Next, I've added that line to /etc/fstab:
> 
> /dev/sdb1 /mnt auto noauto,user 0 0
> 
> Clicked on '1.89 Gb Volume' and … it mounted. Talk about magic.
> Next, I've selected 'Eject device' and … it unmounted! Awesome.
> 
> That lead me to the conclusion that gvfs is a complex solution to a
> non-existent problem.
> 
> Even without that /etc/fstab line Thunar showed me 'Trash', whatever
> that thing is.

That makes me wonder, perhaps this works because your install is that
clean. Impossible for my usage, fortunately I anyway mount from a
terminal. I don't know if the OP could live without G and Dconf and
gtk3.


-- 
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/1382487490.3610.168.camel@archlinux



Re: Rebooting and HDD spinup / spindown cycles [WAS: Re: Debian Wheezy - HP Pavilion dm1]

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 17:56 -0400, Celejar wrote:
> Do you have reason to believe this, or a source, or are you just
> expressing your opinion, unshackled by facts and data?
> 
> Quite likely not, but who said that that will be due to excessive
> spinups / spindowns?

It's the kind of breakage, the click click click noise, which is the
most common death, then heads often only can be released, if you use a
hammer or similar and hit the drive.

The rest is the math I've written

> >5 reboots a day  =10 cycles
> >   10 cycles * 365 days  =  3650 cycles
> > 3650 cycles *  10 years = 36500 cycles

Isn't that plausible? I'm the source, I care for facts, not for claims
from vendors.

Regards,
Ralf



-- 
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/1382487184.3610.164.camel@archlinux



Re: Wheezy only boots to login prompt

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 22:47 +0100, Beru wrote:
> No errors in Xorg.0.log, dmesg output and .xsession-errors ar both
> huge, so I'm hesitant to post them here.

The culprit seems to show up in .xsession-errors. Dmesg is huge, with or
without errors, but .xsession-errors shouldn't exist, resp. it's normal
that there are a view messages and seldom it can be "normal" if it's
huge.

http://paste.debian.net/




-- 
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/1382486836.3610.159.camel@archlinux



Re: Dying hard drive?

2013-10-22 Thread Celejar
On Tue, 22 Oct 2013 22:01:07 +0100
Jonathan Dowland  wrote:

> is rsnapshot doing something different to usual: have you got a lot
> more files in your backup? is it now having to delete old snapshots,
> whereas before it hadn't hit some critical threshold? I found it to
> scale very poorly when I was using it. rdiff-backup is almost a
> drop-in replacement and doesn't suffer the same problem (lots of
> work to adjust large hard link trees)

rdiff-backup is buggy (at least, it has at least one serious reported
bug, known for years but not even acknowledged by upstream), untouched
for years and apparently abandoned:

http://lists.debian.org/debian-user/2012/10/msg00182.html

Celejar


-- 
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/20131022195234.5b79f37fca198b780eb9f...@gmail.com



tracking down a kernel oops

2013-10-22 Thread Jim McCloskey

Hello. I'm responsible for a bunch of debian machines, work-stations
and servers, in an academic/research environment. They co-exist with
OsX machines. Some months ago we were able to get some new hardware
and had wheezy with gnome 3 installed on the new machines. It's been
difficult keeping these machines working day by day -- printing just
stops working, there are apparently random X freezes, and so on; they
seem just generally unstable. This has been overall a frustrating and
disappointing experience.

The worst problem I'm having at present is with a workstation on which
there are regular kernel failures when there is even a moderately
heavy desktop load -- typically when a browser is opened. The screen
goes crazy and the machine becomes unresponsive to input. I can still
ssh in, so this is probably, at bottom, an X server problem. I call
it a kernel failure, though, because the logs show a kernel oops when
this happens. It's hard to know what the ultimate cause of these
events might be, but gdbus seems to be implicated often. I'll attach
the relevant logs below from two of the most recent such events.

The kernel is: 3.2.0-4-686-pae #1 SMP Debian 3.2.51-1 i686 GNU/Linux

I'm guessing (but truly it is only a guess) that the problem is
graphics related. The GPU is:

  [AMD] nee ATI RS880 [Radeon HD 4250]

and we're using the radeon driver, not the proprietary driver:

  xserver-xorg-video-radeon: Installed: 1:6.14.4-8

from stable.  I could upgrade to a newer version of that driver or to
a newer kernel and hope for the best, but I'd really like to have more
of an idea of what problem it is I'm trying to solve.

Is there anyone here who has seen similar problems or who has a
suggestion about how the specific problem might be tracked down? I've
installed xserver-xorg-video-radeon-dbg in the hope of getting more
information at the next unpleasant event, but in the meantime here is
the log.

Thanks to all,

Jim


Oct 21 14:07:01 chung kernel: [1737005.190329] BUG: unable to handle
kernel NULL pointer dereference at 0008
Oct 21 14:07:01 chung kernel: [1737005.190445] IP: []
vma_address+0x25/0x4c
Oct 21 14:07:01 chung kernel: [1737005.190521] *pdpt =
 *pde = f000eef3f000eef3
Oct 21 14:07:01 chung kernel: [1737005.190607] Oops:  [#2] SMP
Oct 21 14:07:01 chung kernel: [1737005.190663] Modules linked in:
 btrfs crc32c libcrc32c zlib_deflate ufs qnx4 hfsplus hfs minix ntfs
 vfat msdos fat jfs xfs reiserfs ext3 jbd ext2 efivars dm_mod cpuid ppdev
 lp rfcomm bnep cpufreq_userspace cpufreq_stats bluetooth rfkill
 cpufreq_conservative cpufreq_powersave binfmt_misc fuse nfsd nfs nfs_acl
 auth_rpcgss fscache lockd sunrpc loop snd_hda_codec_realtek
 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq
 snd_seq_device snd_timer radeon snd parport_pc parport ttm
 drm_kms_helper drm power_supply i2c_algo_bit soundcore sp5100_tco k10temp 
i2c_piix4
 i2c_core evdev powernow_k8 pcspkr mperf shpchp wmi processor button
 thermal_sys ext4 crc16 jbd2 mbcache microcode usbhid hid sg sd_mod
 crc_t10dif ata_generic ohci_hcd r8169 pata_atiixp mii ahci libahci
 ehci_hcd libata usbcore scsi_mod usb_common [last unloaded: scsi_wait_scan]
Oct 21 14:07:01 chung kernel: [1737005.192010]
Oct 21 14:07:01 chung kernel: [1737005.192010] Pid: 30, comm: kswapd0
Tainted: G  D  3.2.0-4-686-pae #1 Debian 3.2.46-1+deb7u1 
MICRO-STAR INTERNATIONAL CO.,LTD MS-7596/880GM-E43 (MS-7596)
Oct 21 14:07:01 chung kernel: [1737005.192010] EIP: 0060:[] EFLAGS: 
00010246 CPU: 1
Oct 21 14:07:01 chung kernel: [1737005.192010] EIP is at vma_address+0x25/0x4c
Oct 21 14:07:01 chung kernel: [1737005.192010] EAX:  EBX: cb1158b8 ECX: 
0009 EDX: 
Oct 21 14:07:01 chung kernel: [1737005.192010] ESI: 0001 EDI:f52abf28 EBP: 
 ESP: f502fe7c
Oct 21 14:07:01 chung kernel: [1737005.192010]  DS: 007b ES: 007b FS:00d8 GS: 
00e0 SS: 0068
Oct 21 14:07:01 chung kernel: [1737005.192010] Process kswapd0 (pid: 30, 
ti=f502e000 task=f594f200 task.ti=f502e000)
Oct 21 14:07:01 chung kernel: [1737005.192010] Stack:
Oct 21 14:07:01 chung kernel: [1737005.192010]  f6617c00  c10b52e5 
534b eaf3af98 cb1158b8  f52abf44
Oct 21 14:07:01 chung kernel: [1737005.192010]   0020 f502fef4 
 c1411000 0002 c10a746a 0001
Oct 21 14:07:01 chung kernel: [1737005.192010]  f6617c14 c1410dc0 f502ff64 
 c10a1780 f502ff10 f502fef4 0020
Oct 21 14:07:01 chung kernel: [1737005.192010] Call Trace:
Oct 21 14:07:01 chung kernel: [1737005.192010]  [] ? 
page_referenced+0xcb/0x204
Oct 21 14:07:01 chung kernel: [1737005.192010]  [] ? 
zone_page_state_add+0x12/0x1f
Oct 21 14:07:01 chung kernel: [1737005.192010]  [] ? 
shrink_active_list.isra.53+0x19d/0x24f
Oct 21 14:07:01 chung kernel: [1737005.192010]  [] ? 
kswapd+0x347/0x679
Oct 21 14:07:01 chung kernel: [1737005.192010]  [] ? 
add_wait_queue+0x30/0x30
O

Nvidia 325.15 and Kernel > 3.9 for Lenovo Y500 (and others)

2013-10-22 Thread anx_dev
Hi all,

Does anyone have any news about the errors with the Nvidia boards and kernels 
newer than 3.9? It seems to be localized to a few configurations where there's 
an Optimus card disabled. 

Other reports of the error:

https://devtalk.nvidia.com/default/topic/572092/linux/gt-650m-in-acer-aspire-v3-with-325-15-kernel-3-10-5-not-working/

https://devtalk.nvidia.com/default/topic/612160/linux/gtx-660m-optimus-support-do-not-work-on-archlinux-kernel-3-10-amp-3-11-with-driver-325-15/

Cheers


-- 
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/b4c48e94-9381-4a4e-aaa6-41b559c85...@googlegroups.com



Back in Time fails with Python errors

2013-10-22 Thread anx_dev
Hi all,

Back in Time is failing with a Python fatal error in app.py. Is anyone having 
the same sort of error?

Cheers


-- 
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/c0d62cdb-51e2-48e6-ac5f-98af29752...@googlegroups.com



Start Synaptic with user password (NOT root password)

2013-10-22 Thread anx_dev
Hi all,

Since the change for pkexec, Synaptic cannot be started with a user with sudo 
privileges. This is _very_ cumbersome if you have to admin several machines 
with a central NIS for users and allowing only the user sitting on the machine 
to have sudo on _that_ machine. Should I report a bug? Is there a easy way to 
change this configuration for all machines quickly?

Thanks


--
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/91db1626-d932-4260-99ba-1c7355c43...@googlegroups.com



Re: Rebooting and HDD spinup / spindown cycles [WAS: Re: Debian Wheezy - HP Pavilion dm1]

2013-10-22 Thread Celejar
On Tue, 22 Oct 2013 02:56:12 +0200
Ralf Mardorf  wrote:

> On Mon, 2013-10-21 at 20:33 -0400, Celejar wrote:
> > On Mon, 21 Oct 2013 10:54:57 +0200
> > Ralf Mardorf  wrote:
> > 
> > > On Sun, 2013-10-20 at 18:44 -0400, Celejar wrote:
> > > > On Sun, 20 Oct 2013 20:15:06 +0200
> > > > Ralf Mardorf  wrote:
> > > > 
> > > > ...
> > > > 
> > > > > Each time you reboot, you harm your HDDs.
> > > > 
> > > > You do?
> > > 
> > > Everybody does. The spin downs and spin ups are a mechanical strain.
> > > This is what cause the most often death of HDDs after a few years.
> > 
> > Not sure I buy this - my understanding is that modern HDDs are
> > typically rated for several 100,000 spinup / spindown cycles, so while
> > I suppose that it's technically true that each cycle brings the drive
> > closer to failure, I'm not sure that it's really reasonable to worry
> > about things like several hundred or so additional reboots a year.
> > 
> > Keyboard keys are also rated to last for some number of keypresses
> > (several 10,000,000) - should we warn people that every keypress harms
> > their keyboards? You might want to rethink the length of some of your
> > emails ;)
> 
>5 reboots a day  =10 cycles
>   10 cycles * 365 days  =  3650 cycles
> 3650 cycles *  10 years = 36500 cycles
> 
> I've got doubts that the click click click death will happen after
> several 10 cycles. It likely will happen before 36500 cycles. I do

Do you have reason to believe this, or a source, or are you just
expressing your opinion, unshackled by facts and data?

> not reboot 5 times each day, but I don't expect that my drives will
> survive for more than 10 years.

Quite likely not, but who said that that will be due to excessive
spinups / spindowns?

FWIW, my ThinkPad T61 Hitachi's Load_Cycle_Count currently reads
700734 ...

Celejar


-- 
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/20131022175600.9ec97c7b5b0172d614c9b...@gmail.com



Re: upgrade to wheezy

2013-10-22 Thread mess-mate

On 22/10/2013 22:46, Ralf Mardorf wrote:

On Tue, 2013-10-22 at 22:19 +0200, mess-mate wrote:

Hi, it's time to do an upgrade from my sqeeze to wheezy.
Is there any particularity i have to observe ?
Thanks in advance

As for all upgrades on all distros I know, there are release notes.

http://www.debian.org/releases/wheezy/releasenotes

Take a look at chapter 4. Upgrades from Debian 6.0 (squeeze).

FWIW it's common that even for daily upgrades at least the software
comes with release notes, resp. READMEs, some distros in addition inform
about changes and possible difficulties.






Thanks to all for the help !!



Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread recoverym4n
On Tue, 22 Oct 2013 23:05:10 +0200
Ralf Mardorf  wrote:

> On Wed, 2013-10-23 at 00:53 +0400, recovery...@gmail.com wrote:
> > I was merely curious if there's some 'killer GNOME app' that I'm
> > missing, and it looks like it's still not.
> 
> That's true, with one exception, I disagree regarding to gvfs. You
> perhaps can explain the OP how to use udev or anything else to get back
> mountable devices and trash by Thunar/on the desktop.

 Sure.

I've just installed thunar and thunar-volman with the needed
dependencies (I've disabled auto-install of recommended stuff long
time ago).
I've ensured that no GConf, DConf, gvfs or GTK+3 libraries
are present (no QT libs too).
I've used USB stick to do a quick test.
Thunar helpfully showed me that it's a '1.89 Gb Volume' (um, whatever).
Next, I've added that line to /etc/fstab:

/dev/sdb1 /mnt auto noauto,user 0 0

Clicked on '1.89 Gb Volume' and … it mounted. Talk about magic.
Next, I've selected 'Eject device' and … it unmounted! Awesome.

That lead me to the conclusion that gvfs is a complex solution to a
non-existent problem.

Even without that /etc/fstab line Thunar showed me 'Trash', whatever
that thing is.

Reco


-- 
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/20131023020404.6ba086041dec5fa54d945...@gmail.com



Re: Wheezy only boots to login prompt

2013-10-22 Thread Beru

Hi Ralf,

No errors in Xorg.0.log, dmesg output and .xsession-errors ar both huge, so I'm 
hesitant to post them here.

I have tried removing the ATI proprietary driver but it doesn't seem to help. 
The USB error went away when I unplugged the printer.

I'm still stuck !

Thanks,
Beru



--
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/1382478463.85277.yahoomail...@web171702.mail.ir2.yahoo.com



Re: COBOL [was: sysadmin qualifications (Re: apt-get vs. aptitude)]

2013-10-22 Thread Jerry Stuckle

On 10/22/2013 10:01 AM, Miles Fidelman wrote:

Curt wrote:

On 2013-10-21, berenger.mo...@neutralite.org
 wrote:

COBOL is still used, but tend to disappear, you can like it or not. I


  COBOL programs are in use globally in governmental and military
agencies and in
  commercial enterprises, and are running on operating systems such as
IBM's z/OS
  and z/VSE, the POSIX families (Unix/Linux etc.), and Microsoft's
Windows as
  well as ICL's VME operating system and Unisys' OS 2200. In 1997, the
Gartner
  Group reported that 80% of the world's business ran on COBOL with
over 200
  billion lines of code in existence and with an estimated 5 billion
lines of new
  code annually

http://en.wikipedia.org/wiki/Cobol#Legacy



Interesting.  I really wonder what the numbers are today, and how
precepitously they dropped from 1997-2000.  As I recall, the "year 2000
bug" was used as an excuse to re-write a lot of legacy code. There was
also a spike in demand for COBOL programmers just before 2000 - so at
least some of that re-writing probably involved tweaks to legacy code.
But a lot of stuff was completely replaced.



I would say not much.  If the report was from 1997, it was probably 
researched in 1996 and early 1997.  Y2K fixups weren't in full swing yet.


And actually, only a small percentage of the code was rewritten - there 
just wasn't time by the time the companies discovered how massive the 
problem was. More often than not there were just "fixups" put into 
place.  For instance, changing a year field in a database from 2 digits 
to 4 digits could easily affect thousands of programs.  All of these 
programs would require numerous changes to the code to account for the 
change, and all of the programs would have to be brought online at the 
same time the database was converted.  A recipe for major disaster, 
considering the time limitations.


So the programs were "fixed" to do something like "If the value is <= 
10, it's a 20xx year; if >= 11, it's a 1999 year" (in fact there was a 
lawsuit by someone in the early 2000's who patented this method and 
wanted to be paid by everyone who used it - shows what's wrong with our 
patent system).


Once the crunch was over, they could spend the years it would take to 
rewrite the programs to use 4 digit years.


Note that I wasn't directly involved in any Y2K work, but I did have 
several friends who were.  Glad I wasn't - towards the last half of '99, 
many were putting in 12-16 hour days, 7 days a week.  The pay was great 
- but they were dead by the time 1/1/2000 rolled around!


And I would say the amount of COBOL written now has probably increased 
over 1997, although I don't have the actual figures (other than it's 
still the most popular language).


Jerry


--
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/5266ecea.6080...@attglobal.net



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

2013-10-22 Thread Jerry Stuckle

On 10/21/2013 5:40 PM, berenger.mo...@neutralite.org wrote:



Le 21.10.2013 22:23, Jerry Stuckle a écrit :

On 10/21/2013 3:49 PM, berenger.mo...@neutralite.org wrote:



Le 19.10.2013 04:48, Jerry Stuckle a écrit :

On 10/18/2013 7:33 PM, Miles Fidelman wrote:

berenger.mo...@neutralite.org wrote:

Le 18.10.2013 17:50, Jerry Stuckle a écrit :

And, again, just a guess, but I'm guessing the huge percentage of
programmers these days are writing .NET code on vanilla Windows
machines
(not that I like it, but it does seem to be a fact of life). A
lot of
people also seem to be writing stored SQL procedures to run on MS
SQL.



Bad guess.  .NET is way down the list of popularity (much to
Microsoft's chagrin).  COBOL is still number 1; C/C++ still way
surpass .NET.  And MSSQL is well behind MySQL in the number of
installations (I think Oracle is still #1 with DB2 #2).


I wonder where did you had those numbers?
Usually, in various studies, COBOL is not even in the 5 firsts. I do
not say that those studies are pertinent, they are obviously not,
since their methods always shows problems. But, it does not means
that
they are completely wrong, and I mostly use them as very vague
indicators.
So, I would like were you had your indicators, I may find that
interesting for various reasons.


Yeah.  I kind of quesiton those numbers as well.



As I said - Parks Associates - a well known and respected research
firm.


The sources I tend to check:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html


This one is quite funny, I know it. That's not the only one I know, of
course, but it is the quoted one when someone wants to troll a bit about
languages popularity.



Try well-respected research firms.


Did not I said funny? Does funny means the same as serious?



Yes, I understand.  Sorry I wasn't clear - I wasn't speaking to you 
personally, but in general.



http://langpop.com/
both have C and Java shooting it out for top spot

http://trendyskills.com/ (analysis of job postings)
has JavaScript, Java, and C# battling it out

COBOL is in the noise.



Do you really think PC job boards are a good indication of what
languages are most used?


Most used? No.
Most used to create new stuff and maintain old ones? Yes. You need
people to maintain and create softwares, and you can find people with
job boards.
In fact, job boards can give a partial image of what is needed, in
current real world. Partial, of course. But there is no way to have an
exact and complete image.



Yea, right.  How many programming jobs do you see from major
companies like IBM, Bank of America, United Parcel Service or any
other major company with lots of programmers?  The answer is - NONE.
Yet they all have huge numbers of programmers.


Do biggest companies have more programmers together than all other ones?



They have a lot more programmers than you see on any of the job boards. 
 In fact, I would bet just the U.S. Government has more programmers 
than you see jobs being advertised on the boards.


And these jobs are basically long-term jobs; it's not at all unusual for 
someone to be at the same company for 10-30 years.  Looking at those job 
boards, the vast majority are temporary.  From those boards, a 
successful programmer (generally meaning "cheap") can do 10-50 "jobs" a 
year.



And yes, there is a way to have at least a *more* exact and complete
image.  You hire a research firm which knows what it is doing to
survey the world.


Results means nothing, when you do not know how they determine them.
That's why I said tiobe is a funny one, because I know how they are
doing to measure stuff, and it makes me laugh.
But it allows, in conjunction with others, to measure a vague tendency.
That's the problem with statistics: the numbers themselves on a given
time are just useless. But combining them with other ones from different
sources and moments, and you can have a vague vision of tendencies. More
or less precise depending on the methods, of course.



Like any good research firm, Parks Associates always documents its 
methodology in determining it results.  That's one reason they are well 
respected.  Another reason is those methodologies are valid.


I don't have the methodology used for this particular report (I just got 
excerpts - the entire report was like $3200US).  But I trust them 
because major businesses trust them.



COBOL is still used, but tend to disappear, you can like it or not. I
spoke with 2 persons which were able to give me reports that COBOL was
still used: a friend from my studies that I have met anew last year in
train, and a teacher which was doing... well, good question? But at
least it allowed me to see some real COBOL code for the first time.
I do not mean that I have met a lot of programmers, but clearly, COBOL
is not something which will last for decades.



Not according to REAL research.  COBOL is still very heavily used; in
large finance, it's about the only language used other than web sites.


I am

Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread Ralf Mardorf
On Wed, 2013-10-23 at 00:53 +0400, recovery...@gmail.com wrote:
> I was merely curious if there's some 'killer GNOME app' that I'm
> missing, and it looks like it's still not.

That's true, with one exception, I disagree regarding to gvfs. You
perhaps can explain the OP how to use udev or anything else to get back
mountable devices and trash by Thunar/on the desktop.

Regards,
Ralf



-- 
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/1382475910.3610.42.camel@archlinux



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

2013-10-22 Thread Jerry Stuckle

On 10/21/2013 5:26 PM, berenger.mo...@neutralite.org wrote:

Le 18.10.2013 19:36, Jerry Stuckle a écrit :

On 10/18/2013 1:10 PM, berenger.mo...@neutralite.org wrote:

Le 18.10.2013 17:22, Jerry Stuckle a écrit :

On 10/17/2013 12:42 PM, berenger.mo...@neutralite.org wrote:

Le 16.10.2013 17:51, Jerry Stuckle a écrit :

I only know few people who actually likes them :)
I liked them too, at a time, but since I can now use standard smart
pointers in C++, I tend to avoid them. I had so much troubles with
them,
so now I only use them for polymorphism and sometimes RTTI.
I hope that someday references will become usable in standard
containers... (I think they are not because of technical problems,
but I
do not know a lot about that. C++ is easy to learn, but hard to
master.)



Good design and code structure eliminates most pointer problems;
proper testing will get the rest.  Smart pointers are nice, but in
real time processing they are an additional overhead (and an unknown
one at that since you don't know the underlying libraries).


Depends on the smart pointer. shared_ptr indeed have a runtime cost,
since it maintains additional data, but unique_ptr does not, afaik, it
is made from pure templates, so only compilation-time cost.



You need to check your templates.  Templates generate code.  Code
needs resources to execute.  Otherwise there would be no difference
between a unique_ptr and a C pointer.


In practice, you can replace every occurrence of std::unique_ptr by
int* in your code. It will still work, and have no bug. Except, of
course, that you will have to remove some ".get()", ".release()" and
things like that here and there.
You can not do the inverse transformation, because you can not copy
unique_ptr.

The only use of unique_ptr is to forbid some operations. The code it
generates is the same as you would have used around your raw pointers:
new, delete, swap, etc.
Of course, you can say that the simple fact of calling a method have an
overhead, but most of unique_ptr's stuff is inlined. Even without
speaking about compiler's optimizations.



Even inlined code requires resources to execute.  It is NOT as fast
as regular C pointers.


I did some testing, to be sure. With -O3, the code is exactly the same.
Did not tried with -O1 and -O2. Without optimization, the 5 lines with
pointers were half sized of those using unique_ptr. But I never ship
softwares not optimized (the level depends on my needs, and usually I do
not use -O3, though).



First of all, with the -O1 and -O2 optimization you got extra code. 
That means the template DOES create more code.  With -O3, your *specific 
test* allowed the compiler to optimize out the extra code.  But that's 
only in your test; other code will not fare as well.


unique_ptr must manage the object at *run time* - not at *compile time*. 
 To ensure uniqueness, there has to be an indication in the object that 
it is being managed by a unique_ptr object.  Additionally, when the 
unique_ptr object is destroyed, the object being pointed to must also be 
destroyed.


Neither of these can be handled by the compiler.  There must be run-time 
code associated with the unique_ptr to ensure the above.


You should look at the unique_ptr template code.  It's not easy to read 
or understand (none of STL is).  But you can see the code in it.



Plus, in an OS, there are applications. Kernels, drivers, and
applications.
Take windows, and say honestly that it does not contains
applications?
explorer, mspaint, calc, msconfig, notepad, etc. Those are
applications,
nothing more, nothing less, and they are part of the OS. They simply
have to manage with the OS's API, as you will with any other
applications. Of course, you can use more and more layers between
your
application the the OS's API, to stay in a pure windows environment,
there are (or were) for example MFC and .NET. To be more general,
Qt,
wxWidgets, gtk are other tools.



mspaint, calc, notepad, etc. have nothing to do with the OS. They
are just applications shipped with the OS.  They run as user
applications, with no special privileges; they use standard
application interfaces to the OS, and are not required for any other
application to run.  And the fact they are written in C is
immaterial.


So, what you name an OS is only drivers+kernel? If so, then ok. But
some
people consider that it includes various other tools which does not
require hardware accesses. I spoke about graphical applications,
and you
disagree. Matter of opinion, or maybe I did not used the good ones,
I do
not know.
So, what about dpkg in debian? Is it a part of the OS? Is not it a
ring
3 program? As for tar or shell?



Yes, the OS is what is required to access the hardware.  dpkg is an
application, as are tar and shell.


< snip >

Just because something is supplied with an OS does not mean it is
part of the OS.  Even DOS 1.0 came with some applications, like
command.com (the command line processor).



So, it was not a bad idea to ask what you 

Re: Dying hard drive?

2013-10-22 Thread Jonathan Dowland
is rsnapshot doing something different to usual: have you got a lot
more files in your backup? is it now having to delete old snapshots,
whereas before it hadn't hit some critical threshold? I found it to
scale very poorly when I was using it. rdiff-backup is almost a
drop-in replacement and doesn't suffer the same problem (lots of
work to adjust large hard link trees)


-- 
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/20131022210107.gc2...@bryant.redmars.org



Re: Wheezy only boots to login prompt

2013-10-22 Thread Ralf Mardorf

On Tue, 2013-10-22 at 21:46 +0100, Beru wrote:
> I am using Debian 7.2 KDE. 
> 
> Today I updated the system (apt-get update) First the network crashed,
> network manager showing no network interface at all. Upon reboot, all
> I get is the login prompt. No network at all, and startx gives me a
> blank screen.
> 
> During boot I can see that usb_modeswitch fails in some way.

Hi,

the information that your MUA is capable to send HTML mails doesn't help
us to help you ;).

Is there anything interesting in the log files?

https://wiki.debian.org/dmesg

$ grep EE /var/log/Xorg.0.log
$ cat ~/.xsession-errors

Regards,
Ralf



-- 
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/1382475377.3610.37.camel@archlinux



Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread recoverym4n
On Tue, 22 Oct 2013 22:18:39 +0200
Ralf Mardorf  wrote:

> On Tue, 2013-10-22 at 19:34 +0400, recovery...@gmail.com wrote:
> > Out of curiosity, what are names of these Gnome applications?
> 
> Xfce does need gtk. 

XFCE needs GTK+2. Current GNOME needs GTK+3. GNOME2 depended on
libgconf, and no XFCE part depends on it.


> Xfce doesn't provide some software, resp. only
> rudimentary software for some usages.

I don't see this as a bad thing.
Why bother implementing, say, DE-tied display manager, then there is an
excellent nodm? Likewise, nothing beats good old xscreensaver. Unless
you're trying to to something very uncommon, TightVNC client is as good
as that GNOME gizmo.


> Likely it's used with
> NetworManager,

Which doesn't even depend on X, not to mention any GUI toolkit.
And I always failed to understand what's so hot about that
NetworkDestroyer anyway.


> Gedit etc. and as mentioned before, 

Mousepad is a graphical text editor for Xfce.


> for showing devices
> in Thunar, even trash, gvfs is needed.

For that, you need thunar-volman, which in turn depends on libgudev,
which in turn listens for udev events via libudev. Actual mounting can
be provided by anything (which includes, but surely not limited to
dreaded gvfs, which chews on harddrives).


> Sure, there's no hard dependency to Gnome software (or KDE software),
> but at least I install a DE to get a DE and Xfce4 is missing features.
> Would you like to use mousepad for programming?

Of course not. Vim covers all my programming and text editing needs.
They say that Emacs will be good for that too, once they put a text
editor inside :)
Are you implying that Gedit is suitable as an IDE?


> What are you using as
> your MUA? Etc. pp..

Sylpheed, mutt, maybe Icedove (Thunderbird in Debian-speek). Evolution
is not the only MUA provided in Debian, and there is nothing special
about it IMO.


> "XFCE without GNOME/KDE parts" isn't a subject from me, but I agree that
> it's quasi impossible to use Xfce without stuff from Gnome or if
> installing Qt doesn't matter, KDE.

Why, it's perfectly possible as it's exactly what I'm doing for several
years. I was merely curious if there's some 'killer GNOME app' that I'm
missing, and it looks like it's still not.

Reco


-- 
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/20131023005320.48d4779978692f656b72d...@gmail.com



Wheezy only boots to login prompt

2013-10-22 Thread Beru
I am using Debian 7.2 KDE. 

Today I updated the system (apt-get 
update) First the network crashed, network manager showing no network 
interface at all. Upon reboot, all I get is the login prompt. No network
 at all, and startx gives me a blank screen.

During boot I can see that usb_modeswitch fails in some way.

Thanks for any help.

Re: upgrade to wheezy

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 22:19 +0200, mess-mate wrote:
> Hi, it's time to do an upgrade from my sqeeze to wheezy.
> Is there any particularity i have to observe ?
> Thanks in advance

As for all upgrades on all distros I know, there are release notes.

http://www.debian.org/releases/wheezy/releasenotes

Take a look at chapter 4. Upgrades from Debian 6.0 (squeeze).

FWIW it's common that even for daily upgrades at least the software
comes with release notes, resp. READMEs, some distros in addition inform
about changes and possible difficulties.





-- 
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/1382474787.3610.32.camel@archlinux



Re: upgrade to wheezy

2013-10-22 Thread Jochen Spieker
mess-mate:
> Hi, it's time to do an upgrade from my sqeeze to wheezy.
> Is there any particularity i have to observe ?

Yes, it's all in the Release Notes:

http://www.debian.org/releases/wheezy/releasenotes

J.
-- 
Television advertisements are the apothesis of twentieth century culture.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: upgrade to wheezy

2013-10-22 Thread Jonathan Dowland
On Tue, Oct 22, 2013 at 10:19:43PM +0200, mess-mate wrote:
> Hi, it's time to do an upgrade from my sqeeze to wheezy.
> Is there any particularity i have to observe ?
> Thanks in advance

It's recommended you read the release notes for Wheezy:
http://www.debian.org/releases/stable/releasenotes


-- 
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/20131022204136.gb2...@bryant.redmars.org



upgrade to wheezy

2013-10-22 Thread mess-mate

Hi, it's time to do an upgrade from my sqeeze to wheezy.
Is there any particularity i have to observe ?
Thanks in advance



Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 19:34 +0400, recovery...@gmail.com wrote:
> Out of curiosity, what are names of these Gnome applications?

Xfce does need gtk. Xfce doesn't provide some software, resp. only
rudimentary software for some usages. Likely it's used with
NetworManager, Gedit etc. and as mentioned before, for showing devices
in Thunar, even trash, gvfs is needed.

Sure, there's no hard dependency to Gnome software (or KDE software),
but at least I install a DE to get a DE and Xfce4 is missing features.
Would you like to use mousepad for programming? What are you using as
your MUA? Etc. pp..

"XFCE without GNOME/KDE parts" isn't a subject from me, but I agree that
it's quasi impossible to use Xfce without stuff from Gnome or if
installing Qt doesn't matter, KDE.




-- 
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/1382473119.3610.12.camel@archlinux



Re: How to compile Kernel 2.6.32 on Debian Wheezy?

2013-10-22 Thread Ralf Mardorf
If I compile patched kernels and something unneeded can't build, I
simply disable it by the configuration. I don't know if it's possible in
your case, but I would test it.



-- 
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/1382473127.3610.13.camel@archlinux



Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 19:34 +0400, recovery...@gmail.com wrote:
> Out of curiosity, what are names of these Gnome applications?

Xfce does need gtk. Xfce doesn't provide some software, resp. only
rudimentary software for some usages. Likely it's used with
NetworManager, Gedit etc. and as mentioned before, for seeing devices
with Thunar, even trash, you need gvfs.


-- 
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/1382471516.2766.8.camel@archlinux



Wheezy: mcelog not getting notified of ECC errors anymore?

2013-10-22 Thread biopsin
Hi,
Im refering to a post @
http://lists.debian.org/debian-amd64/2013/06/msg3.html

Im not shure what to do :)
but I was in the middle of a android build and these apeare


log:

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.780062] [Hardware Error]: CPU:3  MC0_STATUS[-|CE|-|-|AddrV|CECC]:
0x94544833

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.780072] [Hardware Error]:MC0_ADDR: 0x00010516e100

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.780074] [Hardware Error]: Data Cache Error: during system
linefill.

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.780078] [Hardware Error]: cache level: L3/GEN, mem/io: MEM,
mem-tx: DRD, part-proc: SRC (no timeout)

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.792078] [Hardware Error]: CPU:2  MC0_STATUS[-|CE|-|-|AddrV|CECC]:
0x94544833

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.792087] [Hardware Error]:MC0_ADDR: 0x00010516e100

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.792089] [Hardware Error]: Data Cache Error: during system
linefill.

Message from syslogd@builder at Oct 22 20:21:26 ...
 kernel:[18300.792093] [Hardware Error]: cache level: L3/GEN, mem/io: MEM,
mem-tx: DRD, part-proc: SRC (no timeout)


Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792060] [Hardware Error]: CPU:2  MC0_STATUS[-|CE|-|-|AddrV|CECC]:
0x94544833

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792068] [Hardware Error]:MC0_ADDR: 0x00010516e100

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792070] [Hardware Error]: Data Cache Error: during system
linefill.

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792073] [Hardware Error]: cache level: L3/GEN, mem/io: MEM,
mem-tx: DRD, part-proc: SRC (no timeout)

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792080] [Hardware Error]: CPU:2  MC4_STATUS[-|CE|-|-|AddrV|CECC]:
0x945440010813

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792083] [Hardware Error]:MC4_ADDR: 0x00010516e128

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792085] [Hardware Error]: Northbridge Error (node 1): DRAM ECC
error detected on the NB.

Message from syslogd@builder at Oct 22 20:26:26 ...
 kernel:[18600.792099] [Hardware Error]: cache level: L3/GEN, mem/io: MEM,
mem-tx: RD, part-proc: SRC (no timeout)


would someone please push this to the correct human, tnx!


-- 
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/20131022204419.365yp4k69wkgw...@webmail.ventelo.no



Re: Dying hard drive?

2013-10-22 Thread Gregory Nowak
On Tue, Oct 22, 2013 at 08:59:05AM +0200, Veljko wrote:
> Do you guys have any advice for this? Should I first run dd on those drives.
> They are part of RAID, so it should be difficult to read data from one drive
> alone, but what is the best way to be sure? And obviously, I'll have to return
> more than one drive.

Running dd is fine, shred [options] /dev/sd? is even better.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
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/20131022192442.ga6...@gregn.net



Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread Sureyya Sahin



On 22/10/13 05:06 AM, didier gaumet wrote:

Le 20/10/2013 14:47, Sureyya Sahin a écrit :


with the free radeon driver, my laptop is not particularly heating.
I have enabled compositing in XFCE and no Gnome/KDE desktop parts are
installed.

I have tried both default Gnome and Xfce with debian wheezy stable and 
both of them were heating up abnormally. I tried both the stable and 
backported version of wheezy (for kernel 3.10) and it wasn't improving. 
I think Jessie testing has currently 3.10 (I am not sure about the 
non-free driver though). Thus, I didn't bother in switching to Jessie 
but instead I installed the closed-source version from Debian repositories.


I never tried KDE in debian. Given this tasteless situation I am in 
perhaps I should switch back to KDE in my future installs. I don't like 
some of the features of KDE like nepomuk, desktop activities etc. But 
nevertheless, it looks like it is a more suitable desktop for everyday 
use (provided you have a resourceful laptop).


lscpi shows: 02:00.1 Bluetooth: Ralink corp. Device 3298
it is recognized but not enabled
is your Ralink chipset a RT3290 or an older one (RT3090...)?
I think RT3290 bluetooth is still WIP in Linux, is n't it?
hciconfig and blueman-manager display no device and bluetooth-applet
does not show up (no device), bluetoothd being started.



Actually I can't see the bluetooth device from my laptop, which is 
strange. But lscpi shows me my wireless Ralink chipset


02:00.0 Network controller: Ralink corp. RT5390 [802.11 b/g/n 1T1R 
G-band PCI Express Single Chip]


I will try to find out more about it if I can. You may be right, 
probably my bluetooth is not recognized properly in Debian Wheezy.



--
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/5266bc9a.6080...@yahoo.ca



Re: Hp Proliant 460c drivers

2013-10-22 Thread Stan Hoeppner
On 10/22/2013 10:11 AM, Erick Ocrospoma wrote:
> On Oct 22, 2013 8:36 AM, "Stan Hoeppner"  wrote:
>>
>> On 10/21/2013 2:57 PM, Erick Ocrospoma wrote:
>>
>> Is this your first rodeo with HP servers?
> 
> Blades yes
> 
>>> I have installed Debian 7.1 on a few hp proliant blade servers, after
>>> installing I've seen that network is not working properly. It recognises
>>> around 8 interfaces, mii-tool says that there is not any link present.

I'm pretty damn sure that blade doesn't have 8x 10GbE interfaces.  It
should have one, or two if you purchased the dual port mezzazine board.

>> Post your dmesg and lspci output WRT to the NIC hardware so we can
>> verify which Ethernet chip it is.
>>
> 
> lspci | grep Eth
> 
> Ethernet Controller: Emulex corporation One connect 10GB NIC (be3) (rev01)

The kernel driver is "be2net".  Is the driver loading?  dmesg output please.

Are you using static assignment or DHCP?

What is the content of /etc/network/interfaces?

-- 
Stan



-- 
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/5266b295.4030...@hardwarefreak.com



Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread Brian
On Tue 22 Oct 2013 at 14:50:57 +0200, Ralf Mardorf wrote:

> [rocketmouse@archlinux ~]$ pacman -Qi gvfs

Sorry, I have enough trouble deciphering Debian packing commands without
having to extend my understanding to those used by non-Debian systems.
Which is why I have

[Snipped]

> And I also don't use NetworkManager, my Ubuntus/Debian aren't different
> to my Arch Linux, however, a default Xfce4 usually is used with lot's
> Gnome applications.

You asked for a hint; one was provided; you may, of course, wish to
always go for default installs. 


-- 
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/22102013180437.23f85ea76...@desktop.copernicus.demon.co.uk



How to compile Kernel 2.6.32 on Debian Wheezy?

2013-10-22 Thread Benedikt Wildenhain
Hi,

I would to like to use the rtai kernel patches on Debian Wheezy
(Debian-Package rtai-source) on the i386 architecture, which are
currently only available for various releases of Linux 2.6.

As the most recent kernel patch included in rtai-source was
hal-linux-2.6.32.11-x86-2.6-03.patch.gz, I first tried to compile the
vanilla kernel 2.6.32.11 with gcc-4.7 from Wheezy and using make-kpkg
(with .config copied from linux-image-2.6.32-5-686). It failed compiling
ptrace.c (the problem has already been described in
https://lkml.org/lkml/2012/8/9/281).

Using the patch from the linux-kernel-mailinglist from above the compile
process got further, but it fails at

gcc -nostdlib -o arch/x86/vdso/vdso32-int80.so.dbg -fPIC -shared
-Wl,--hash-style=sysv -m elf_i386 -Wl,-soname=linux-gate.so.1
-Wl,-T,arch/x86/vdso/vdso32/vdso32.lds arch/x86/vdso/vdso32/note.o
arch/x86/vdso/vdso32/int80.o
gcc: error: unrecognized command line option '-m'
gcc: error: elf_i386: No such file or directory

As I am using an i386 system anyway, I simply patched -m elf_i386 away
(which probably the Makefile when crosscompiling from amd64 to i386, see
attached patch for details). I assume -march=i386 would be a proper
replacement, but I am not sure about that.

Next problem occured at compiling an Intel network driver:

  gcc -Wp,-MD,drivers/net/igbvf/.ethtool.o.d  -nostdinc -isystem 
/usr/lib/gcc/i486-linux-gnu/4.7/include -nostdinc -isystem 
/usr/lib/gcc/i486-linux-gnu/4.7/include -Iinclude  
-I/home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include -include 
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes 
-Wno-trigraphs -fno-strict-aliasing -fno-common 
-Werror-implicit-function-declaration -Wno-format-security 
-fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 
-freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic 
-Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare 
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow 
-Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statement 
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ethtool)"  
-D"KBUILD_MODNAME=KBUILD_STR(igbvf)"  -c -o drivers/net/igbvf/.tmp_ethtool.o 
drivers/net/igbvf/ethtool.c
In file included from include/linux/irq.h:29:0,
 from 
/home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/hardirq.h:5,
 from include/linux/hardirq.h:10,
 from include/linux/interrupt.h:12,
 from include/linux/netdevice.h:1070,
 from drivers/net/igbvf/ethtool.c:30:
/home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/irq_regs.h:
 In function 'set_irq_regs':
/home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/irq_regs.h:26:2:
 warning: variable 'tmp__' set but not used [-Wunused-but-set-variable]
In file included from 
/home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/hardirq.h:5:0,
 from include/linux/hardirq.h:10,
 from include/linux/interrupt.h:12,
 from include/linux/netdevice.h:1070,
 from drivers/net/igbvf/ethtool.c:30:
include/linux/irq.h: In function 'alloc_desc_masks':
include/linux/irq.h:441:8: warning: variable 'gfp' set but not used 
[-Wunused-but-set-variable]
In file included from drivers/net/igbvf/ethtool.c:36:0:
drivers/net/igbvf/igbvf.h: At top level:
drivers/net/igbvf/igbvf.h:128:15: error: duplicate member 'page'
make[5]: *** [drivers/net/igbvf/ethtool.o] Error 1
make[4]: *** [drivers/net/igbvf] Error 2
make[3]: *** [drivers/net] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2

Of course I could find some way to go around this error, but I assume I
either did something fundamentally wrong or I'll have to file a bug
against some package (gcc?). Does anybody have an idea?

Regards,
Benedikt Wildenhain

P.S.: Compiling this kernel using gcc-4.4 from oldstable works, I am
currently trying to compile it together with the rtai-patches, but that
doesn't feel like the way rtai-source is meant to be used.

-- 
Benedikt Wildenhain, M.Sc., Wiss. Mitarbeiter - Hardwarenahe IT-Systeme
Hochschule Bochum - Bochum University of Applied Sciences
Campus Velbert/Heiligenhaus - http://www.hs-bochum.de/cvh/
Höseler Platz 2, Heiligenhaus, Raum 2.28, Tel +49 (0)2056 158744
--- a/arch/x86/vdso/Makefile	2013-10-22 14:14:38.0 +0200
+++ b/arch/x86/vdso/Makefile	2013-10-22 14:14:09.0 +0200
@@ -69,7 +69,7 @@
 vdso32-images			= $(vdso32.so-y:%=vdso32-%.so)
 
 CPPFLAGS_vdso32.lds = $(CPPFLAGS_vdso.lds)
-VDSO_LDFLAGS_vdso32.lds = -m elf_i386 -Wl,-soname=linux-gate.so.1
+VDSO_LDFLAGS_vdso32.lds = -Wl,-soname=linux-gate.so.1
 
 # This makes sure the $(obj) subdire

Re: XFCE without GNOME/KDE parts (Debian Wheezy - HP Pavilion dm1)

2013-10-22 Thread recoverym4n
 Hi.

On Tue, 22 Oct 2013 14:50:57 +0200
Ralf Mardorf  wrote:

> And I also don't use NetworkManager, my Ubuntus/Debian aren't different
> to my Arch Linux, however, a default Xfce4 usually is used with lot's
> Gnome applications.

Out of curiosity, what are names of these Gnome applications?

Reco


-- 
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/20131022193411.632068fd8235b4d20e444...@gmail.com



Re: Hp Proliant 460c drivers

2013-10-22 Thread Erick Ocrospoma
On Oct 22, 2013 8:36 AM, "Stan Hoeppner"  wrote:
>
> On 10/21/2013 2:57 PM, Erick Ocrospoma wrote:
>
> Is this your first rodeo with HP servers?

Blades yes

> > I have installed Debian 7.1 on a few hp proliant blade servers, after
> > installing I've seen that network is not working properly. It recognises
> > around 8 interfaces, mii-tool says that there is not any link present.
>
> Post your dmesg and lspci output WRT to the NIC hardware so we can
> verify which Ethernet chip it is.
>

lspci | grep Eth

Ethernet Controller: Emulex corporation One connect 10GB NIC (be3) (rev01)

> > I've searched on Hp support page and they only bring a small iso for hdd
> > drivers. Does anybody has had the same trouble with this model? They are
> > new servers, firmware is not yet updated (is scheduled for tomorrow).
>
> Which BL460C?  The G8?  The BL460C been on the market since 2010 at the
> latest, 3 years ago.  There have been at least 3 hardware generations of
> this blade.  However...
>

Oops, sorry, I forgot to mention that. Its a G7.

> The NC373i has existed since at the latest 2007, 6 years ago.  It uses a
> Broadcom chipset.  It is included in just about every HP server, has
> been for over half a decade.  It is fully supported by Linux going back
> to 2.6.
>
> > Googling, i've read that there's only official support for RHEL family.
> > Anyway, we prefer using Debian rather than other distro. Hope it is
> > possible.
>
> This is probably simply a non-free firmware issue.  The Wheezy installer
> probably didn't install the firmware by default, nor ask you to do so.
>
> See:  https://wiki.debian.org/Firmware
>
> Look for:
>
> Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
>
> Broadcom NetXtreme II
>
BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF
> Driver
>
>
> --
> Stan
>


Re: linux-image-3.10-3-amd64 unbootable: /dev/disk/by-uuid not created

2013-10-22 Thread Jogi Hofmüller

Dear all,

I tried using linux-image-3.11-1 from sid today and got the same result. 
 No RAID is created.  I really don't know where to start looking now. 
Any ideas?  Wrong list?


Regards!

Am 2013-10-18 12:42, schrieb Jogi Hofmüller:

Hi jesse,

Am 2013-10-18 10:35, schrieb Jesse Molina:


As previously noted, this was a bug in mdadm and has already been fixed
in the current version.  Just update your mdadm package and then
re-build your initramfs file with the "update-initramfs" command.  Be
sure to read the manpage for that command.  Probably "update-initramfs
-u" alone will fix your problem.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726237


Thanks for the hint.  Read the bugreport before and figured it is not
relevant since we are using mdadm 3.2.5 which is supposed to be working.
  Still, did the upgrade to 3.3-2:  no change.

BTW:  all this happens on an Intel Serverbarebone (RZ1208GZ4GC) with
SATA drives on C600/X79 series chipset SATA controler.

A similar machine with Series/C200 Series Chipset SATA controler boots
just fine with the same setup (linux-image-3.10-3-amd64 and mdadm 3.2.5).

Does anyone have experience with Intel Serverbarebones?  I figure it has
something to do with the SATA controler ...

Cheers,



--
j.hofmüller

Optimism doesn't alter the laws of physics. - Subcommander T'Pol


--
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/52668c14.1030...@mur.at



Re: COBOL [was: sysadmin qualifications (Re: apt-get vs. aptitude)]

2013-10-22 Thread Miles Fidelman

Curt wrote:

On 2013-10-21, berenger.mo...@neutralite.org  
wrote:

COBOL is still used, but tend to disappear, you can like it or not. I


  COBOL programs are in use globally in governmental and military agencies and 
in
  commercial enterprises, and are running on operating systems such as IBM's 
z/OS
  and z/VSE, the POSIX families (Unix/Linux etc.), and Microsoft's Windows as
  well as ICL's VME operating system and Unisys' OS 2200. In 1997, the Gartner
  Group reported that 80% of the world's business ran on COBOL with over 200
  billion lines of code in existence and with an estimated 5 billion lines of 
new
  code annually

http://en.wikipedia.org/wiki/Cobol#Legacy


Interesting.  I really wonder what the numbers are today, and how 
precepitously they dropped from 1997-2000.  As I recall, the "year 2000 
bug" was used as an excuse to re-write a lot of legacy code. There was 
also a spike in demand for COBOL programmers just before 2000 - so at 
least some of that re-writing probably involved tweaks to legacy code.  
But a lot of stuff was completely replaced.


--
In theory, there is no difference between theory and practice.
In practice, there is.    Yogi Berra


--
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/52668557.9020...@meetinghouse.net



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

2013-10-22 Thread Curt
On 2013-10-21, berenger.mo...@neutralite.org  
wrote:
>
> COBOL is still used, but tend to disappear, you can like it or not. I 


 COBOL programs are in use globally in governmental and military agencies and in
 commercial enterprises, and are running on operating systems such as IBM's z/OS
 and z/VSE, the POSIX families (Unix/Linux etc.), and Microsoft's Windows as
 well as ICL's VME operating system and Unisys' OS 2200. In 1997, the Gartner
 Group reported that 80% of the world's business ran on COBOL with over 200
 billion lines of code in existence and with an estimated 5 billion lines of new
 code annually

http://en.wikipedia.org/wiki/Cobol#Legacy


-- 
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/slrnl6d0h0.2vt.cu...@einstein.electron.org



Re: Hp Proliant 460c drivers

2013-10-22 Thread Stan Hoeppner
On 10/21/2013 2:57 PM, Erick Ocrospoma wrote:

Is this your first rodeo with HP servers?

> I have installed Debian 7.1 on a few hp proliant blade servers, after
> installing I've seen that network is not working properly. It recognises
> around 8 interfaces, mii-tool says that there is not any link present.

Post your dmesg and lspci output WRT to the NIC hardware so we can
verify which Ethernet chip it is.

> I've searched on Hp support page and they only bring a small iso for hdd
> drivers. Does anybody has had the same trouble with this model? They are
> new servers, firmware is not yet updated (is scheduled for tomorrow).

Which BL460C?  The G8?  The BL460C been on the market since 2010 at the
latest, 3 years ago.  There have been at least 3 hardware generations of
this blade.  However...

The NC373i has existed since at the latest 2007, 6 years ago.  It uses a
Broadcom chipset.  It is included in just about every HP server, has
been for over half a decade.  It is fully supported by Linux going back
to 2.6.

> Googling, i've read that there's only official support for RHEL family.
> Anyway, we prefer using Debian rather than other distro. Hope it is
> possible.

This is probably simply a non-free firmware issue.  The Wheezy installer
probably didn't install the firmware by default, nor ask you to do so.

See:  https://wiki.debian.org/Firmware

Look for:

Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver

Broadcom NetXtreme II
BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF
Driver


-- 
Stan


-- 
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/52667f40.4090...@hardwarefreak.com



Re: errant mouse-over behaviour.

2013-10-22 Thread Joel Rees
On Tue, Oct 22, 2013 at 10:05 PM, Sharon Kimble  wrote:
> On Tue, 22 Oct 2013 14:28:29 +0200
> Ralf Mardorf  wrote:
>
>> On Tue, 2013-10-22 at 11:57 +, Curt wrote:
>> > On 2013-10-22, Sharon Kimble  wrote:
>> > >
>> > > I've got this rather weird problem atm, in that if I mouse-over
>> > > something it is picked up by the mouse! I can mouse-over text and
>> > > it is immediately highlighted! How can I [a] stop this, and/or
>> > > [b]re-calibrate the mouse to get rid of this behaviour. Its
>> > > developed overnight for some reason, and has even survived
>> > > rebooting. I'm not aware of doing anything to provoke/create this
>> > > weird behaviour, but its really winding me up! Can anyone suggest
>> > > some solutions please?
>> > >
>> > > > I'd plug in and test another mouse in order eliminate the defective
>> > hardware possibility.
>>
>> Or use this mouse in another port or better with another computer.
>> Booting another OS, e.g. a Linux from a live media is useful.
>
> I've just unplugged all usb devices, and powered down and left it for
> 10 minute’s, restarted and then plugging in the usb devices once I’d
> got a desktop again. So now I'm just evaluating whether I've got rid
> of the problem. But it doesn't seem to have cleared it, the problem
> still remains.
>
> Thanks
> Sharon.

I'll get this kind of sticking with my netbook. Trackpad and mouse
together seem to conflict. But usually unplugging the mouse and
plugging it in a different port will clear the problem.

(I suppose I should see if there is a bug on this.)

Have you tried a different mouse, or the same mouse in a different
machine? If you can, it would at least help to eliminate the possible
hardware issues.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


--
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/CAAr43iMotoP75iUB6worjreS6x8_U86A2aKQ2Yj2Lso=jrx...@mail.gmail.com



Re: Hp Proliant 460c drivers

2013-10-22 Thread Chris Bannister
On Mon, Oct 21, 2013 at 02:57:21PM -0500, Erick Ocrospoma wrote:
> Hi list,
> 
> I have installed Debian 7.1 on a few hp proliant blade servers, after
> installing I've seen that network is not working properly. It recognises
> around 8 interfaces, mii-tool says that there is not any link present.
> 
> I've searched on Hp support page and they only bring a small iso for hdd
> drivers. Does anybody has had the same trouble with this model? They are
> new servers, firmware is not yet updated (is scheduled for tomorrow).
> 
> Googling, i've read that there's only official support for RHEL family.
> Anyway, we prefer using Debian rather than other distro. Hope it is
> possible.

So?  What is your question? 

"I've seen that network is not working properly."

Is that the only clue you're going to give us? :(

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20131022131946.GC27307@tal



Re: errant mouse-over behaviour.

2013-10-22 Thread Sharon Kimble
On Tue, 22 Oct 2013 14:28:29 +0200
Ralf Mardorf  wrote:

> On Tue, 2013-10-22 at 11:57 +, Curt wrote:
> > On 2013-10-22, Sharon Kimble  wrote:
> > >
> > > I've got this rather weird problem atm, in that if I mouse-over
> > > something it is picked up by the mouse! I can mouse-over text and
> > > it is immediately highlighted! How can I [a] stop this, and/or
> > > [b]re-calibrate the mouse to get rid of this behaviour. Its
> > > developed overnight for some reason, and has even survived
> > > rebooting. I'm not aware of doing anything to provoke/create this
> > > weird behaviour, but its really winding me up! Can anyone suggest
> > > some solutions please?
> > >
> > > > I'd plug in and test another mouse in order eliminate the defective
> > hardware possibility. 
> 
> Or use this mouse in another port or better with another computer.
> Booting another OS, e.g. a Linux from a live media is useful.

I've just unplugged all usb devices, and powered down and left it for
10 minute’s, restarted and then plugging in the usb devices once I’d
got a desktop again. So now I'm just evaluating whether I've got rid
of the problem. But it doesn't seem to have cleared it, the problem
still remains. 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian 7.2, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: How to format the command output like MySQL output

2013-10-22 Thread Jonathan Dowland
On Mon, Oct 21, 2013 at 11:07:44AM -0400, Jerry Stuckle wrote:
> And how is busybox going to solve the op's problem?

The odds are he has it on the machine already, or can have it; if he
doesn't have it, it can replace some things he does (thus saving space
and memory); it can be compiled to have built in sh, awk and sed, so the
OP can make a choice between e.g. including awk and sacrificing
something else, relatively easily.


-- 
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/20131022131314.gc28...@bryant.redmars.org



Re: Blacklisting threads

2013-10-22 Thread Jonathan Dowland
I've been working on a system to make boring threads less conspicuous.
It's not finished, and when it is I'll do a proper writeup, but what
I currently do is

 • make sure I have 256 colour terminals working (correct $TERM
   variable, uxterm, correct arguments to tmux, etc.)

 • I use the default grey text colour on a black background for
   normal text. This is "color8" in the normal 16-colour terminal
   palette, which happens to coincide with "color254" in the 256
   colour palette. FWIW, colours 232 through to 255 are a greyscale
   ramp.

 • I've chosen a lower-contrast colour to mark people who I do not
   enjoy reading: color237. When I want to add someone to that
   collection, I make a note of either their email address or
   (better) a uniquely-identifying portion of their message-ids. The
   latter is less reliable since so many people use gmail or gmane,
   but if you wanted to do this to me for example, "redmars.org" will
   catch all my recent and future emails.

 • I then add a line like the following to one of my mutt config files

> folder-hook debian-user 'color index color237 default "~h redmars.org"

^ works for people you can identify using message-ids, and works for
replies to their messages too (since that gets propagated into other
people's "references:" headers). Sadly it won't catch replies to such
people if you are trying to match on their email address. For a few
limited such cases,

> folder-hook debian-user 'color index color237 default "~B Dowland"

^ Can do the trick (if you have a unique enough portion of someone's
name, as it's often included in an attribution line above quotes, or
signatures).  However matching against the body is more computationally
expensive if your list folder is quite large.

Then I can skip over the lower-contrast regions of my list view with
relative ease. I also make a habit of deleting entire threads if they
bore me.

My aim is to use 16-bit terminal colours (currently only reliably
supported in Konsole) and a larger range of greyscales, to use a
separate crm114 configuration to score mailing list mail on an
"interestingness" basis (I use crm114 for spam filtering but do not want
to re-use those buckets for two purposes) and to auto-colour based on
the corresponding "spam" score. A writeup when it's ready.


-- 
Jonathan Dowland


-- 
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/20131022131054.gb28...@bryant.redmars.org



Re: Thinkpad E320 trackpoint doesn't work every time

2013-10-22 Thread Andreas Rönnquist
On Tue, 22 Oct 2013 16:07:49 +0300,
Rares Aioanei wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On 10/21/2013 06:17 PM, Andreas Rönnquist wrote:
>> Hi
>> 
>> I have recently got my hands on a Lenovo Thinkpad Edge E320 - and
>> it works very nicely - with one small exception:
>[SNIP]
>> 
>What DE/WM are you using?
>

(No need to CC me) -

I am using Xfce.

-- Andreas Rönnquist
mailingli...@gusnan.se
gus...@gusnan.se


--
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/20131022151120.7b580...@debian.lan



Re: Thinkpad E320 trackpoint doesn't work every time

2013-10-22 Thread Rares Aioanei
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/21/2013 06:17 PM, Andreas Rönnquist wrote:
> Hi
> 
> I have recently got my hands on a Lenovo Thinkpad Edge E320 - and
> it works very nicely - with one small exception:
[SNIP]
> 
What DE/WM are you using?

- -- 
Rares Aioanei
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSZnilAAoJEM3LMAZrw4rHSkUH/ikoymgeZsOF5fl5ji5GbM+E
bAIBLnJFDrvOm0tw4KjPVn3XhrjGZkE+QzvGaLcTdF6VDAg9e3ANxd2+c43lfal3
wohQ2FG8U7glnV2vg5BrtBTcex2vMy2ACCoYMwvP5KtvSRuUPIXqVcHK00mfjEKh
mqpdU7VjSC6HjBVOiRp+x38xHUa11OM7A3NVuDaRRojsw0gFHbAyWVqfInk5atH3
JKZAyvl1iGZGxnDx/zdcrMi3wqpIeBdqjnhPGdtDVXY7Rhbo2tG+IxqOQfRTLQvp
PMPQv8k/xlJfUuOcjlync2QR2slRv/QNv8H0j/KJbn1N1X69y0HMsIohbtGY314=
=IbAg
-END PGP SIGNATURE-


-- 
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/526678a5.3060...@gmail.com



Re: Blacklisting threads

2013-10-22 Thread Jonathan Dowland
On Mon, Oct 21, 2013 at 10:07:12PM +0200, Ralf Mardorf wrote:
> What if she wants to read other threads of one of the participants of
> the particular thread or any other unwanted thread?

She'll still see messages in other threads from other participants,
including context in quotes. If it's sufficiently engaging she could
find the archive on gmane or the web archives or whatever. But I'd be
surprised if that happened.

Life is too short and this mailing list too polluted by so very few,
imho, it's not much of a sacrifice.


-- 
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/20131022125701.ga28...@bryant.redmars.org



Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 13:42 +0100, Brian wrote:
> On Tue 22 Oct 2013 at 11:21:31 +0200, Ralf Mardorf wrote:
> 
> > On Tue, 2013-10-22 at 11:06 +0200, didier gaumet wrote:
> > > 
> > > with the free radeon driver, my laptop is not particularly heating.
> > > I have enabled compositing in XFCE and no Gnome/KDE desktop parts are
> > > installed.
> > 
> > You are using Xfce without Gnome desktop parts? I doubt this! Since it
> > was mentioned in this thread, e.g. gvfs is from Gnome desktop and you
> > likely will find a "few" other things from Gnome.
> 
> On My Xfce machines
> 
>dpkg -l | grep -E 'gvfs|gnome'
> 
> has an empty output.
> 
> > I would like to have my Xfce4 free from Gnome crap, so any hints how to
> > do it are welcome.
> 
> The DM installed is XDM. Either that or startx is used.

[rocketmouse@archlinux ~]$ pacman -Qi gvfs
Name   : gvfs
Version: 2013.08.18-1
Description: Dummy package
Architecture   : any
URL: None
Licenses   : None
Groups : None
Provides   : gvfs
Depends On : None
Optional Deps  : None
Required By: mate-applets  mate-file-manager  nemo
Optional For   : evince  thunar
Conflicts With : dummy
Replaces   : None
Installed Size :   4.00 KiB
Packager   : Unknown Packager
Build Date : Sun 18 Aug 2013 06:06:40 PM CEST
Install Date   : Fri 06 Sep 2013 12:34:40 PM CEST
Install Reason : Explicitly installed
Install Script : No
Validated By   : None

[rocketmouse@archlinux ~]$ pacman -Qi lightdm
Name   : lightdm
Version: 1:1.8.1-1
Description: A lightweight display manager
Architecture   : x86_64
URL: https://launchpad.net/lightdm
Licenses   : GPL3  LGPL3
Groups : None
Provides   : None
Depends On : libxklavier  polkit  systemd
Optional Deps  : xorg-server-xephyr: LightDM test mode [installed]
 accountsservice: limit visible accounts [installed]
Required By: lightdm-gtk3-greeter
Optional For   : None
Conflicts With : None
Replaces   : None
Installed Size : 734.00 KiB
Packager   : Maxime Gauduin 
Build Date : Thu 10 Oct 2013 06:10:17 PM CEST
Install Date   : Fri 11 Oct 2013 12:18:59 PM CEST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By   : Signature

And I also don't use NetworkManager, my Ubuntus/Debian aren't different
to my Arch Linux, however, a default Xfce4 usually is used with lot's
Gnome applications.


-- 
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/1382446257.11372.295.camel@archlinux



RE: Configuring multiple IP addresses on VLAN interface using ifupdown

2013-10-22 Thread Bonno Bloksma
Hi Chris,

> Bob Proulx  wrote:
>> Tom H wrote:
>>> I'm pretty sure that the last time (six months ago?) Bob linked to a 
>>> Debian wiki page [...] that used multiple iface declarations for the 
>>> same nic (I've also used multiple declarations).
>
>>  
>> https://wiki.debian.org/NetworkConfiguration#Multiple_IP_addresses_on_One_Interface
>
>
> Thank you both
> Chris

Chris, that way is the "old and hard way" to declare them in my opinion. It is 
very inflexible.
The ip addr add ... is very flexible and can be handled independent of the 
physical status of the interface but still react with the interface when it 
comes up or goes down. See my other mail with this subject.

I routinely add or remove ip addresses from an interface without having to 
bring the physical interface up or down.

Here an example of one of my gateway machines
/etc/network/interfaces
===
[]
auto eth0
iface eth0 inet static
address 217.114.99.195
netmask 255.255.255.224
broadcast 217.114.99.223
gateway 217.114.99.193
pre-up /usr/local/bin/firewall.sh
# portal16
up ip addr add 217.114.99.206/27 broadcast 217.114.99.223 dev eth0
# www, 2, etc.
up ip addr add 217.114.99.208/27 broadcast 217.114.99.223 dev eth0
#   up ip addr add 217.114.99.209/27 broadcast 217.114.99.223 dev eth0
up ip addr add 217.114.99.212/27 broadcast 217.114.99.223 dev eth0
down ip addr del 217.114.99.206/27 broadcast 217.114.99.223 dev eth0
down ip addr del 217.114.99.208/27 broadcast 217.114.99.223 dev eth0
#   down ip addr del 217.114.99.209/27 broadcast 217.114.99.223 dev eth0
down ip addr del 217.114.99.212/27 broadcast 217.114.99.223 dev eth0


ip addr show eth0
=
2: eth0:  mtu 1500 qdisc pfifo_fast state 
UNKNOWN qlen 1000
link/ether 00:50:56:b7:00:18 brd ff:ff:ff:ff:ff:ff
inet 217.114.99.195/27 brd 217.114.99.223 scope global eth0
inet 217.114.99.206/27 brd 217.114.99.223 scope global secondary eth0
inet 217.114.99.208/27 brd 217.114.99.223 scope global secondary eth0
inet 217.114.99.212/27 brd 217.114.99.223 scope global secondary eth0
inet6 fe80::250:56ff:feb7:18/64 scope link
   valid_lft forever preferred_lft forever

If I need to take an ip address down all I have to do is enter the ip addr del 
line and it is gone. If I want it back I just need to enter the ip addr add 
line.
When one uses the way you quote above then one needs to add (sub)interfaces for 
each address which is more work and when using interface based firewalls can 
get a lot more complex.

Bonno Bloksma


--
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/89d1798a7351d040b4e74e0a043c69d75956b...@hglexch-01.tio.nl



Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread Brian
On Tue 22 Oct 2013 at 11:21:31 +0200, Ralf Mardorf wrote:

> On Tue, 2013-10-22 at 11:06 +0200, didier gaumet wrote:
> > 
> > with the free radeon driver, my laptop is not particularly heating.
> > I have enabled compositing in XFCE and no Gnome/KDE desktop parts are
> > installed.
> 
> You are using Xfce without Gnome desktop parts? I doubt this! Since it
> was mentioned in this thread, e.g. gvfs is from Gnome desktop and you
> likely will find a "few" other things from Gnome.

On My Xfce machines

   dpkg -l | grep -E 'gvfs|gnome'

has an empty output.

> I would like to have my Xfce4 free from Gnome crap, so any hints how to
> do it are welcome.

The DM installed is XDM. Either that or startx is used.


-- 
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/22102013133706.7b4cac5ba...@desktop.copernicus.demon.co.uk



RE: Configuring multiple IP addresses on VLAN interface using ifupdown

2013-10-22 Thread Bonno Bloksma
Hi,

 allow-auto eth0.9
 iface eth0.9 inet static
   address 192.168.1.119
   netmask 255.255.255.0
   gateway 192.168.1.1
   post-up ip address add 192.168.1.199/24 dev eth0.9
>>
>> What I use is:
>> -=-=-=-=-=-
>> auto eth0
>> iface eth0 inet static
>> address 172.16.17.1
>> netmask 255.255.255.0
>>
>> auto vlan100
>> iface vlan100 inet static
>> vlan-raw-device eth0
>> address 192.168.178.10
>> netmask 255.255.255.0
>> gateway 192.168.178.1
>> -=-=-=-=-=-
>
> This is just one address: Steffen was looking for a multiple-address method.

For that I use the "post-up ip address add ..." lines too.
On an external gateway I have multiple lines like that to get all the 
ip-numbers up for which that interface handles the incoming data.

However, if he wants A LOT of extra addresses that might change too, maybe some 
script that runs after the interface is up would be better. That way the script 
could use a database in whatever form to handle that.
Then he could use just a post-up /etc/network/lots-of-addresses.sh start and a 
pre-down /etc/network/lots-of-addresses.sh stop line in the interfaces file.

If each address is to have its own vlan then it is still doable but a bit more 
complex. I have never done it that way, I have had only a few different vlans 
that I was able to declare in the interfaces file.

Bonno Bloksma



Re: errant mouse-over behaviour.

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 11:57 +, Curt wrote:
> On 2013-10-22, Sharon Kimble  wrote:
> >
> > I've got this rather weird problem atm, in that if I mouse-over
> > something it is picked up by the mouse! I can mouse-over text and it is
> > immediately highlighted! How can I [a] stop this, and/or
> > [b]re-calibrate the mouse to get rid of this behaviour. Its developed
> > overnight for some reason, and has even survived rebooting. I'm not
> > aware of doing anything to provoke/create this weird behaviour, but its
> > really winding me up! Can anyone suggest some solutions please?
> >
> 
> I'd plug in and test another mouse in order eliminate the defective hardware
> possibility. 

Or use this mouse in another port or better with another computer.
Booting another OS, e.g. a Linux from a live media is useful.



-- 
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/1382444909.11372.291.camel@archlinux



Re: errant mouse-over behaviour.

2013-10-22 Thread Sharon Kimble
On Tue, 22 Oct 2013 13:42:52 +0200
Ralf Mardorf  wrote:

> On Tue, 2013-10-22 at 12:28 +0100, Sharon Kimble wrote:
> > Nothing changed overnight to cause it to break
> 
> A mouse's switch or microchip can break from one click or movement to
> the other. The PS/2 or USB port can break from one second to the other
> too. Did you run a software update overnight? If so, which packages
> were updated? IIUC there were no changes, also no updates. Regarding
> to the kind of problem it seems to be more likely that the hardware
> is broken, than anything else.
> 
I have just unplugged it for about a minute and plugged back in, and it
doesn’t seem to have made any difference. Maybe I should leave them out
for longer, although I turned the machine off for 15 minutes. 

There were 3 updates from debian-mozilla at teatime yesterday, from the
apt-get.log - 
Start-Date: 2013-10-21  18:11:11
Commandline: apt-get upgrade
Upgrade: libnss3:i386 (3.15.1-1~bpo70+1, 3.15.2-1~bpo70+1),
libnspr4:i386 (4.10-1~bpo70+1, 4.10.1-1~bpo70+1), libnss3-1d:i386
(3.15.1-1~bpo70+1, 3.15.2-1~bpo70+1)

Its a usb-mouse and keyboard, both separate items, and I don't have
anything to swap them out with.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian 7.2, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: errant mouse-over behaviour.

2013-10-22 Thread Curt
On 2013-10-22, Sharon Kimble  wrote:
>
> I've got this rather weird problem atm, in that if I mouse-over
> something it is picked up by the mouse! I can mouse-over text and it is
> immediately highlighted! How can I [a] stop this, and/or
> [b]re-calibrate the mouse to get rid of this behaviour. Its developed
> overnight for some reason, and has even survived rebooting. I'm not
> aware of doing anything to provoke/create this weird behaviour, but its
> really winding me up! Can anyone suggest some solutions please?
>

I'd plug in and test another mouse in order eliminate the defective hardware
possibility. 


-- 
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/slrnl6cq2i.2rd.cu...@einstein.electron.org



Re: Blacklisting threads

2013-10-22 Thread Eduardo M KALINOWSKI

On Ter, 22 Out 2013, Joel Rees wrote:

Sorry about that. However, ...


No, you're not sorry.


[snip]
It can be amusing, like the line about C not be created for writing
OSses and the number of participants who acknowledged the idea as
being valid before somebody spoke up. (I didn't speak up on that
because I was under the gun. Well, I still am. Lousy deadlines. Heh.)


... because now you're bringing up the same topics to *this* thread,  
opening a possibility that the pointless discussion will continue here.



--
%TAG%

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20131022115449.horde.nqxszua4jdmj84ztiyej...@mail.kalinowski.com.br



Re: Blacklisting threads

2013-10-22 Thread Joel Rees
On Sun, Oct 20, 2013 at 11:11 PM, Lisi Reisz  wrote:
> On Sunday 20 October 2013 12:33:55 Joel Rees wrote:
>> Was the sysadmin qualifications subthread that turned into a
>> warstory fest that disgusting?
>
> That tedious.  It was/is getting broken all the time, thus getting
> tangled up with everything else.

Mea culpa. I was one of the ones trying to make a better topic label.

>  It is beginning to be a real
> nuisance.

Sorry about that. However, ...

> Lisi

When you get a few warhorses together swapping war stories, you get
some arguments about terminologies and methods and such and it can be
tedious, but you also get a chance to listen to the voice of
experience.

It can be amusing, like the line about C not be created for writing
OSses and the number of participants who acknowledged the idea as
being valid before somebody spoke up. (I didn't speak up on that
because I was under the gun. Well, I still am. Lousy deadlines. Heh.)

But it can also be quite educational, especially if you read between
the lines. Jerry and Miles both have a lot of experience in the big
companies, but you can see that their experience has been nearly
mutually exclusive. And one of the lessons from that is that big
companies are really that big.

But, yeah, I did waste more time than I should have on those threads.
I guess the reason it doesn't bother me is that I've learned that I
don't want life to be optimal, and I want there to be more than two
sides to a story. Not for arguments, but for multi-dimensional
perspectives. (Almost typed multi-dementia. Was that a freudian slip?)

And now I'm plugging up your mail box. Sorry.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


-- 
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/CAAr43iPivFuAscqBz1B=pdPc87tHRt5=U1E0asxcJ9irm7=m...@mail.gmail.com



Re: no .bash_hostory file was found in user home folder

2013-10-22 Thread Muhammad Yousuf Khan
i am using package "acct" (lastcomm is part of this package).
my
question is, isn't "acct" package depends upon user's .bash_history ? or it
is maintaining its own log?

yes i can see  user can delete/edit their history file. is there anyway to
record history permanently. a good solution for accounting.

Thanks,


On Mon, Oct 21, 2013 at 8:08 PM, Chris Davies  wrote:

> Muhammad Yousuf Khan  wrote:
> > :~$ echo $HISTFILE
> > /home/ykhan/.bash_history
>
> > any idea where these history files are.
> > actually i need to do some accounting for my users , what they are doing
> > actually with time tag set to ON.
>
> These files are of limited value for accounting since the users can
> simply edit them. Perhaps you should investigate the kernel's process
> accounting subsystem (usermode tools are in package "acct):
>
>   # lastcomm --strict-match --user dmaus --tty pts/4 | head -5
>   ttydmauspts/4  0.00 secs Mon Oct 21 16:05
>   ls dmauspts/4  0.00 secs Mon Oct 21 16:04
>   bash  Fdmauspts/4  0.00 secs Mon Oct 21 16:04
>   dircolors  dmauspts/4  0.00 secs Mon Oct 21 16:04
>   bash  Fdmauspts/4  0.00 secs Mon Oct 21 16:04
>
> Chris
>
>
> --
> 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/9lsfjaxrjg@news.roaima.co.uk
>
>


Re: errant mouse-over behaviour.

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 12:28 +0100, Sharon Kimble wrote:
> Nothing changed overnight to cause it to break

A mouse's switch or microchip can break from one click or movement to
the other. The PS/2 or USB port can break from one second to the other
too. Did you run a software update overnight? If so, which packages were
updated? IIUC there were no changes, also no updates. Regarding to the
kind of problem it seems to be more likely that the hardware is broken,
than anything else.



-- 
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/1382442172.11372.287.camel@archlinux



Re: errant mouse-over behaviour.

2013-10-22 Thread Sharon Kimble
On Tue, 22 Oct 2013 13:15:34 +0200
Ralf Mardorf  wrote:

> On Tue, 2013-10-22 at 12:08 +0100, Sharon Kimble wrote:
> > I've got this rather weird problem atm, in that if I mouse-over
> > something it is picked up by the mouse! I can mouse-over text and
> > it is immediately highlighted! How can I [a] stop this, and/or
> > [b]re-calibrate the mouse to get rid of this behaviour. Its
> > developed overnight for some reason, and has even survived
> > rebooting. I'm not aware of doing anything to provoke/create this
> > weird behaviour, but its really winding me up! Can anyone suggest
> > some solutions please?
> 
> Did you ensure that the mouse isn't broken?
> 
Nothing changed overnight to cause it to break, it just sat here doing
nowt! 

I've just discovered that its moving folders about and putting them in
not-required places, which has disrupted my backups till corrected. 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian 7.2, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: errant mouse-over behaviour.

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 12:08 +0100, Sharon Kimble wrote:
> I've got this rather weird problem atm, in that if I mouse-over
> something it is picked up by the mouse! I can mouse-over text and it is
> immediately highlighted! How can I [a] stop this, and/or
> [b]re-calibrate the mouse to get rid of this behaviour. Its developed
> overnight for some reason, and has even survived rebooting. I'm not
> aware of doing anything to provoke/create this weird behaviour, but its
> really winding me up! Can anyone suggest some solutions please?

Did you ensure that the mouse isn't broken?


-- 
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/1382440534.11372.273.camel@archlinux



errant mouse-over behaviour.

2013-10-22 Thread Sharon Kimble
I've got this rather weird problem atm, in that if I mouse-over
something it is picked up by the mouse! I can mouse-over text and it is
immediately highlighted! How can I [a] stop this, and/or
[b]re-calibrate the mouse to get rid of this behaviour. Its developed
overnight for some reason, and has even survived rebooting. I'm not
aware of doing anything to provoke/create this weird behaviour, but its
really winding me up! Can anyone suggest some solutions please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian 7.2, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread didier gaumet
Le 22/10/2013 11:21, Ralf Mardorf a écrit :

> You are using Xfce without Gnome desktop parts? I doubt this! Since it
> was mentioned in this thread, e.g. gvfs is from Gnome desktop and you
> likely will find a "few" other things from Gnome.
[...]

hi Ralf,

to me gvfs (that I have installed) is more a group of gnome libraries
than a gnome desktop part and you can live without it in XFCE.
What I mean (not clearly enough) is rather that some gnome desktop parts
can probably slow down or incorrectly interact with some other DE parts
(I think of gnome-power-manager or gnome-screensaver for example, or
network-manager when wicd was installed with XFCE)


-- 
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/l45i9b$q8a$1...@ger.gmane.org



(Előzd meg Te!)

2013-10-22 Thread Medibon










































Kedves Olvasó!

Manapság nehéz úgy érvényesülni az életben,
hogy ne nyomd tövig a „gázpedált”, azaz,
hogy ne hajszold túl magad. Fogadd meg jó
tanácsunkat, és, ha már versenyre kelsz az
idővel, akkor foglalkozz kicsit többet a
betegségek megelőzésével is! Aktuális
ajánlatainkkal sok kórt magad mögött
hagyhatsz, és még káros szenvedélyedből is
kikezeltetheted magad, hogy napról napra jobban
lehess.












Ne hagyd, hogy a rák győzzön, legyél gyorsabb
nála! 5 féle laboratóriumi tumor marker
vizsgálat + Orvosi kiértékelés +
Validált lelet 35.100Ft helyett 16.500 Ft!






Kedvezmény: 53 %
Kedvezményes ár: 16 500 Ft
Bővebben az ajánlatról...















Teljes körű ORVOSI nőgyógyászati szűrés:
Emlővizsgálat + Meddőség + Nemi
betegségek + Ultrahang + Írásos lelet =
20.000Ft helyett 7.990Ft! 14 éves kortól!






Kedvezmény: 60 %
Kedvezményes ár: 7 990 Ft
Bővebben az ajánlatról...















Ezzel leteheted! Szabadulj meg az elvonási
tünetektől biorezonanciás dohányzásról
leszoktató kezeléssel 70% kedvezménnyel 2.950
Ft-ért! Közel 100%-os leszokási arány!






Kedvezmény: 70 %
Kedvezményes ár: 2 950 Ft
Bővebben az ajánlatról...















Limitált bón! Éltető csomag Parajdról! 2 kg
EGÉSZSÉGES parajdi só + 1kg színtiszta
étkezési szódabikarbóna + 1 kg bőrszépítő,
ízületnyugtató kénes-jódos parajdi fürdősó
= 2.200 Ft!






Kedvezmény: 42 %
Kedvezményes ár: 2 200 Ft
Bővebben az ajánlatról...















Kérdésed van?
Örömmel állunk rendelkezésedre, kattints ide:
Elérhetőségeink


Szeretnél  exkluzív ajánlatokat?
Kattints erre a linkre: Regisztrálok


Többet szeretnél tudni Rólunk?
Innen minden fontos információt megtudhatsz:
Rólunk


Kérjük add hozzá az email címünket a
címlistádhoz, hogy mindig megkapd a leveleinket:
bonmedi...@medibon.hu


Kérünk, erre a levélre ne válaszolj, mert ez
egy rendszer által küldött üzenet.


Leiratkozom a hírlevélről


Medibon - Napról napra jobban!




Medibon.hu © 2013, Minden jog fenntartva.


www.medibon.hu















Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread Ralf Mardorf
On Tue, 2013-10-22 at 11:06 +0200, didier gaumet wrote:
> Le 20/10/2013 14:47, Sureyya Sahin a écrit :
> 
> [...]
> > I am very surprised to hear that you are happy with the free driver.
> > What is more puzzling is the fact that you didn't see any improvements
> > with your non-free install.
> 
> with the free radeon driver, my laptop is not particularly heating.
> I have enabled compositing in XFCE and no Gnome/KDE desktop parts are
> installed.

You are using Xfce without Gnome desktop parts? I doubt this! Since it
was mentioned in this thread, e.g. gvfs is from Gnome desktop and you
likely will find a "few" other things from Gnome.

I would like to have my Xfce4 free from Gnome crap, so any hints how to
do it are welcome.


-- 
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/1382433691.11372.231.camel@archlinux



Re: Debian Wheezy - HP Pavilion dm1

2013-10-22 Thread didier gaumet
Le 20/10/2013 14:47, Sureyya Sahin a écrit :

[...]
> I am very surprised to hear that you are happy with the free driver.
> What is more puzzling is the fact that you didn't see any improvements
> with your non-free install.

with the free radeon driver, my laptop is not particularly heating.
I have enabled compositing in XFCE and no Gnome/KDE desktop parts are
installed.

[...]
> Just for the bluetooth, I suggest installing Blueman applet for XFCE,
> which is available in Debian Repositories.
[...]

lscpi shows: 02:00.1 Bluetooth: Ralink corp. Device 3298
it is recognized but not enabled
is your Ralink chipset a RT3290 or an older one (RT3090...)?
I think RT3290 bluetooth is still WIP in Linux, is n't it?
hciconfig and blueman-manager display no device and bluetooth-applet
does not show up (no device), bluetoothd being started.



-- 
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/l45f7a$lqo$1...@ger.gmane.org