Re: Debian Linux 7 and Realtek soundcards

2014-05-12 Thread Scott Ferguson
On 13/05/14 16:16, Filip wrote:
> On Tue, 13 May 2014 13:55:04 +1000
> Scott Ferguson  wrote:
> 
> 
>>>
>>> $ lspci | grep audio
>>>
>>> Use instead:
>>>
>>> $ lspci | grep -i audio
>>
>> Why?
>>
>> Why when searching for "audio" would you need case-insensitive??
>>
>> Multimedia *audio* controller
>>
>>
>> An extra three keystrokes for no gain. Extra noise, no signal.
>>
> 
> $ lspci |grep audio
> $ lspci |grep -i audio
> 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core 
> Processor HD Audio Controller (rev 06)
> 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High 
> Definition Audio Controller (rev 04)

That would be a good reason :)
Except that I can't reproduce your results, or understand how
they're relevant to Brett's question :(

Curious...
Are you running Debian Linux?

Which release?

pciutils 1:3.1.9-6



> 
> And there are even sound cards where the string audio isn't in the
> description.


And multi-case will help how?




Don't forget the subject line - saves energy instead of pursuing
pointless tangents.


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5371c1ef.2020...@gmail.com



Re: Can't get Apache to display a directory

2014-05-12 Thread Filip
On Mon, 12 May 2014 20:16:39 -0400 (EDT)
Stephen Powell  wrote:

> 
> I recently upgraded a back-end server from wheezy to jessie, and with
> the upgrade, Apache went from 2.2 to 2.4.  There are a lot of changes
> to Apache between 2.2 and 2.4, especially in the area of
> authentications, authorizations, 

> Basically, I want a configuration that allows all users to view all
> documents and all directories under /var/www/html.  I don't want to
> have to define userids or passwords.  No authentication of users will
> be done.
> 

Query your favorite search engine for "Upgrading apache from
2.2 to 2.4"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140513084826.63ba2...@orac.fil



"Recommends" for hard dependency?

2014-05-12 Thread Shriramana Sharma
Hello people. This is about:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747716

Currently libqt5sql5-sqlite is given as a recommends and not a depends
for qttools5-dev-tools
(https://packages.debian.org/sid/qttools5-dev-tools) whereas
/usr/lib/x86_64-linux-gnu/qt5/bin/assistant, one of the programs
installed by the latter package, cannot even start up without
libqt5sql5-sqlite being installed. I hence requested to change it to
depends.

The developers say "no, recommends is right in this case since only
assistant requires it and the other tools in the package do not -- you
should have recommends installed by default in your system in most
cases -- if you don't, that's not a problem of the packaging".

I pointed out that the specification at
https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#control
says to use depends "if your program absolutely will not run ...
unless a particular package is present." That guide does not speak
anything about multiple programs installed by a package, but IMO it
stands to reason that what is logical for one program installed by a
package applies for many programs installed by a single package as
well.

IOW, if I install a package I expect to be able to run all the
programs provided by it. Without a recommends being installed
alongside, maybe some of the functionality of those programs is
missing, but it should not fail to start altogether, which is what is
happening in this case.

IMO something that a program can't even start without should be a hard
dependency and not just a recommends. A user may disable installation
of recommends for whatever reason. This should not prevent the user
from even starting up the program!

I am posting this here since the developers seem to just disagree with
my point without providing any policy-based/logical reason. I want the
community to weigh in with their opinion as well.

Thanks.

--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cah-hcwx3o1j4l3yxxwochepehie+pdomj-p5kyuatgz9hwf...@mail.gmail.com



Re: Debian Linux 7 and Realtek soundcards

2014-05-12 Thread Filip
On Tue, 13 May 2014 13:55:04 +1000
Scott Ferguson  wrote:


> > 
> > $ lspci | grep audio
> > 
> > Use instead:
> > 
> > $ lspci | grep -i audio
> 
> Why?
> 
> Why when searching for "audio" would you need case-insensitive??
> 
> Multimedia *audio* controller
> 
> 
> An extra three keystrokes for no gain. Extra noise, no signal.
> 

$ lspci |grep audio
$ lspci |grep -i audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor 
HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High 
Definition Audio Controller (rev 04)

And there are even sound cards where the string audio isn't in the
description.

example:
Bus 001 Device 002: ID 0ccd:0077 TerraTec Electronic GmbH Aureon Dual USB


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140513081619.6a951...@orac.fil



Re: >800MiB of archives - only 2 changelogs ?? - debmirror related?

2014-05-12 Thread Zenaan Harkness
On 5/6/14, Darac Marjal  wrote:
> On Sat, May 03, 2014 at 08:48:38PM +1000, Zenaan Harkness wrote:
>> Despite 800M of sid updates (since my last update), and dozens
>> (probably 100s) of package updates, and I only have TWO, 2 or
>> otherwise known as 1+1, namely (ii) or (II) (that's one less than 3)
>> changelog entries to read.
>>
>> What am I doing wrong?
>>
>> BTW: I update off of a local debmirror repo.
>
> Is this as presented to you by apt-listchanges? Maybe you're only being
> shown NEWS files. Or perhaps you're being shown the NEWS files first
> (you have to quit that pager to see CHANGELOGs).

This is shown when I do apt-get upgrade, that's all.

I am wondering why, when I do an apt-get dist-upgrade, I get one or
two 'changelog' or 'news' type entries out of nearly a gig of updates?

I would expect many many more, or none at all. I don't understand.

Thanks again,
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caosgnstjen7btxsxomfmf2-uy4npft3oejurktmw7u7n91z...@mail.gmail.com



Confusion

2014-05-12 Thread Joshua Anthony
My apologies to those who feel that I have wasted their time and thanks to 
those who have tried to help.

I don't know how I managed to start two threads but this whole business well 
illustrates the confusion that I originally wrote about.

The 'technical' question was 'Why does exactly following the process that has 
worked perfectly well for other distros, using exactly the same hardware, fail 
when I try to install Debian the same way?'

The confusion was - and is - how do I separate my rather elementary and 
unsophisticated question from the mass of expert questions from sophisticated 
users so as to get an answer I can understand without irritating them and 
wasting their time?

That, I suppose, is a 'procedural' question, and I probably ought to have asked 
it separately.

I'm happy to drop this now, as it certainly hasn't worked for me, and look 
elsewhere for answers.

Josh.

Re: Text files treated like html in apache 2.4

2014-05-12 Thread Scott Ferguson
On 13/05/14 10:28, Stephen Powell wrote:
> 
> My troubles with Apache 2.4 continue.  With Apache 2.2, if I entered in
> the address bar of my browser
> 
>http://my.server.ip.address/xyz/abc.txt
> 
> and abc.txt was a plain ASCII text file in /var/www/xyz, then the browser
> would display it as preformatted text.  That is, it would look the same
> as if I viewed it with less, or vi, or some other text editor/viewer.
> But with Apache 2.4, it treats the text file like html and reformats
> everything, concatenating lines, eliminating blank lines, etc.  How do
> I get it to treat plain text like plain text again?
> 

Are you using type-map? Is the AppHandler added?
Do you have DefaultType set in .htaccess? Is so - what is it set to?


Kind regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53719f90.8010...@gmail.com



Re: Can't get Apache to display a directory

2014-05-12 Thread Scott Ferguson
On 13/05/14 10:16, Stephen Powell wrote:
> 
> I recently upgraded a back-end server from wheezy to jessie, and with the 
> upgrade,
> Apache went from 2.2 to 2.4.  There are a lot of changes to Apache between 2.2
> and 2.4, especially in the area of authentications, authorizations, etc.
> One difference that I have not been able to figure out is how to allow access
> to a directory.  I'm not talking about allowing access to the files in the
> directory, I'm talking about access to the directory itself.  On apache2,
> for example, if I had a directory called xyz in /var/www, I could type in
> the address bar of my browser something like this:
> 
> http://my.server.ip.address/xyz
> 
> And it would show me a list of files in the xyz directory.  I could then click
> on the filename of one of the files in the directory and see that file.
> But with the new apache server, I get a "404 - not found" error.  I have
> looked at the apache documentation, but cannot figure out how to accomplish
> what I want.  How do I get this to work?
> 
> Basically, I want a configuration that allows all users to view all documents
> and all directories under /var/www/html.  I don't want to have to define
> userids or passwords.  No authentication of users will be done.
> 
You don't say it but I'm guessing you checked your Options allow
directive (Indexes, between Directory tags) in your .htaccess files
(also allow under mod_access_compat/*mod_authz_host*)


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53719d60.5010...@gmail.com



Re: loss of I/O on some websites

2014-05-12 Thread Scott Ferguson
On 13/05/14 08:07, A Debian User wrote:
> 
> On Sunday, 11 May, 2014 10:08 PM, Scott Ferguson wrote:
>> On 11/05/14 22:59, Whit Hansell wrote:
>>> Am getting frustrated.  On the internet today there are so many sites
>>> that have taken on so much advertising that it is killing my desire to
>>> go to various sites.  I mean specifically news sites.
>>>

>>
>>
> As a side note, doesn't NoScript and FlashBlock have redundant features,
> in that they both block the loading of Flash content?


No.

NoScript does not block Flash by default - you could make it, and
likewise with AdBlock Plus, and /etc/hosts. Perhaps it's your use of the
term "redundant" that's problematic?

> 
> So, shouldn't you just use NoScript, since it has more features and
> additionally does what FlashBlock does, anyway?

No.
Apples and Oranges.
It doesn't.
(so, no, again).

For empirical evidence go visit Youtube with *just* NoScript enabled and
compare the page load speed and totals with NoScript *and* FlashBlock
both installed.


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/537199b9.4050...@gmail.com



Re: Debian Linux 7 and Realtek soundcards

2014-05-12 Thread Scott Ferguson
On 13/05/14 08:03, Testosticore wrote:
> If this doesn't work:


Please don't top post. Interleaved posting is the polite protocol for
this list.

> 
> $ lspci | grep audio
> 
> Use instead:
> 
> $ lspci | grep -i audio

Why?

Why when searching for "audio" would you need case-insensitive??

Multimedia *audio* controller


An extra three keystrokes for no gain. Extra noise, no signal.

> 
> On Sunday, 11 May, 2014 03:06 PM, Scott Ferguson wrote:
>> On 11/05/14 16:53, Bret Busby wrote:
>>> Hello.
>>>
>>> I have this weekend, managed to install Debian 7.5 amd64 xfce version




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53719798.8060...@gmail.com



kernel security upgrade bollixed need help

2014-05-12 Thread Paul E Condon
I was responding to a recently received security message about the
linux kernel in Wheezy. I thought I had things configured so that the
repaired kernel would come from the security repository automagically,
but ...

It did appear to be downloading a new kernel and installing it, but
when it finished nothing appeared to have been changed. I can't retry
because my system appears to have set flags that the upgrade has been
done. but there are no new files in /boot or updated symlinks in /.

This should not be, IMHO. Please ask the questions that need to be asked.
Note: I am attempting to respond to a security alert, not merely getting
the latest kernel via wheezy-backports. Or has the system changed to
a newer way in which wheezy-backports should be used. If so I will definitely
need a link to explicit steps.

-- Paul E Condon pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140513023437.ga4...@big.lan.gnu



Re: Kernel fails to detect internal hard drives after routine apt-get upgrade

2014-05-12 Thread O
Thank you Selim, Stan.

 I will instal apt-listbugs.  I clearly need it!

Unfortunately, I instead opted to install a backported kernel (3.13.x),
which was able to see and mount my drives.  But then, flgrx (ATI
proprietary graphics driver) was not being loaded by/in the kernel.  So I
tried to remove it, and this broke the package, so that I'm now in dpkg
hell.

I'm curious: is there a way to *only * install "security updates" in order
to avoid other kinds of "fixes" that can cause problems like this?

Having said that, I hasten to add: thank you everyone and thank you
Debian.  Debian stable has been free of major issues like this for 4 years.

O





On Mon, May 12, 2014 at 8:55 PM, Stan Hoeppner wrote:

> Dunno if you saw this or not.  Selim identifies the source of the
> problem below and possible fixes.  Read on.
>
> On 5/12/2014 5:52 PM, Selim T. Erdogan wrote:
> > O, 12.05.2014:
> >> Hi Stan et al.,
> >>
> >> Booting from the working kernel, I have dumped dmesg here:
> >>
> >> http://pastebin.com/MBTDfgc4
> >>
> >> I tried to save dmesg booting under the 3.2.0-4_amd64 kernel from within
> >> initramfs, to no avail (I cannot mount usb drives to save the
> information,
> >> and it does not see the network).  However, when I added "debug" to the
> >> kernel line in the boot command, I was at least able to see the system
> >> messages while the errors were happening.  Here is the relevant block of
> >> text, and sas is involved:
> >>
> >> ata7: sas eh calling libata port error handler
> >> sas: sas_ata_hard_reset: Unable to reset I T nexus?
> >> sas: sas_ata_hard_reset: Found ATA device
> >> sas: sas_ata_hard_reset: Unable to soft reset
> >> sas: sas_ata_hard_reset: Found ATA device
> >> ata7: reset failed (errno=-11) retrying in 10 secs
> >>
> >> Searching the web for "Unable to reset I T nexus" led me to this thread:
> >>
> >> http://www.gossamer-threads.com/lists/linux/kernel/1912604
> >>
> >> ... which was posted a short time ago and appears to be the identical
> >> problem.  However, I am struggling to understand what I should do in
> >> response.  It seems to be saying that my hardware and its drivers are
> too
> >> "new" for Wheezy, even though this machine is 2 yrs old??   Does this
> mean
> >> I have to upgrade to Jessie?
> >
> > I happened to notice the following bug report while updating last week:
>
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746642
>
> > Basically, it seems like people solved this by booting from a rescue
> > disk and downgrading to an older kernel.
> >
> > After you fix your system, I recommend installing the apt-listbugs
> > package.  That's what showed me the bug report while updating.
>
> The problem is a patch/commit added in 3.2.57-3 meant to fix one problem
> but caused another more serious problem--unable to boot or register the
> drives.
>
> Since you can boot an older kernel, there is no need to use a rescue CD.
>  Simply boot the older kernel and manually install the latest 3.2.x
> available prior to 3.2.57-3, using apt or aptitude.
>
> $ aptitude search linux-image
>
> will show your the kernel versions available in your configured
> repositories.
>
> Cheers,
>
> Stan
>


Re: Kernel fails to detect internal hard drives after routine apt-get upgrade

2014-05-12 Thread Stan Hoeppner
Dunno if you saw this or not.  Selim identifies the source of the
problem below and possible fixes.  Read on.

On 5/12/2014 5:52 PM, Selim T. Erdogan wrote:
> O, 12.05.2014:
>> Hi Stan et al.,
>>
>> Booting from the working kernel, I have dumped dmesg here:
>>
>> http://pastebin.com/MBTDfgc4
>>
>> I tried to save dmesg booting under the 3.2.0-4_amd64 kernel from within
>> initramfs, to no avail (I cannot mount usb drives to save the information,
>> and it does not see the network).  However, when I added "debug" to the
>> kernel line in the boot command, I was at least able to see the system
>> messages while the errors were happening.  Here is the relevant block of
>> text, and sas is involved:
>>
>> ata7: sas eh calling libata port error handler
>> sas: sas_ata_hard_reset: Unable to reset I T nexus?
>> sas: sas_ata_hard_reset: Found ATA device
>> sas: sas_ata_hard_reset: Unable to soft reset
>> sas: sas_ata_hard_reset: Found ATA device
>> ata7: reset failed (errno=-11) retrying in 10 secs
>>
>> Searching the web for "Unable to reset I T nexus" led me to this thread:
>>
>> http://www.gossamer-threads.com/lists/linux/kernel/1912604
>>
>> ... which was posted a short time ago and appears to be the identical
>> problem.  However, I am struggling to understand what I should do in
>> response.  It seems to be saying that my hardware and its drivers are too
>> "new" for Wheezy, even though this machine is 2 yrs old??   Does this mean
>> I have to upgrade to Jessie?
> 
> I happened to notice the following bug report while updating last week:

> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746642

> Basically, it seems like people solved this by booting from a rescue
> disk and downgrading to an older kernel.
> 
> After you fix your system, I recommend installing the apt-listbugs
> package.  That's what showed me the bug report while updating.

The problem is a patch/commit added in 3.2.57-3 meant to fix one problem
but caused another more serious problem--unable to boot or register the
drives.

Since you can boot an older kernel, there is no need to use a rescue CD.
 Simply boot the older kernel and manually install the latest 3.2.x
available prior to 3.2.57-3, using apt or aptitude.

$ aptitude search linux-image

will show your the kernel versions available in your configured
repositories.

Cheers,

Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53716d8e.4050...@hardwarefreak.com



Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Martin G. McCormick
I performed lsmod on the system in question and it does show
that lsmod loads but the second column is headed as "used by"
and there is a 0 there which sounds like nothing is using it. Is
there something I need to do to get it producing sound over the
audio output jack?
As I previously described, I get perfectly good stereo
sound via alsa just no terminal beeps. I have the 'beep' utility
installed which also makes use of the PC speaker not the sound
card. If I tell beep to emit 400 for 10 seconds by
beep -f400 -l1, it comes out that piezo buzzer for 10
seconds. Absolutely nothing comes out through the sound card
that sounds like a 400 HZ square wave tone.

The amixer settings for this particular sound card show
Beep turned on and set for full volume. I am not sure if that
means the hardware input on the sound card or audio input from a
driver. Severl older Dell systems I have will relay the PC
speaker's audio if you tell amixer to open the appropriate audio
channel but they also have physical connections to the mother
board's speaker driver which comes from the BIOS post test.

Martin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140513004318.a218622...@server1.shellworld.net



Text files treated like html in apache 2.4

2014-05-12 Thread Stephen Powell

My troubles with Apache 2.4 continue.  With Apache 2.2, if I entered in
the address bar of my browser

   http://my.server.ip.address/xyz/abc.txt

and abc.txt was a plain ASCII text file in /var/www/xyz, then the browser
would display it as preformatted text.  That is, it would look the same
as if I viewed it with less, or vi, or some other text editor/viewer.
But with Apache 2.4, it treats the text file like html and reformats
everything, concatenating lines, eliminating blank lines, etc.  How do
I get it to treat plain text like plain text again?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1408469647.1226034.1399940904410.javamail.r...@md01.wow.synacor.com



Can't get Apache to display a directory

2014-05-12 Thread Stephen Powell

I recently upgraded a back-end server from wheezy to jessie, and with the 
upgrade,
Apache went from 2.2 to 2.4.  There are a lot of changes to Apache between 2.2
and 2.4, especially in the area of authentications, authorizations, etc.
One difference that I have not been able to figure out is how to allow access
to a directory.  I'm not talking about allowing access to the files in the
directory, I'm talking about access to the directory itself.  On apache2,
for example, if I had a directory called xyz in /var/www, I could type in
the address bar of my browser something like this:

http://my.server.ip.address/xyz

And it would show me a list of files in the xyz directory.  I could then click
on the filename of one of the files in the directory and see that file.
But with the new apache server, I get a "404 - not found" error.  I have
looked at the apache documentation, but cannot figure out how to accomplish
what I want.  How do I get this to work?

Basically, I want a configuration that allows all users to view all documents
and all directories under /var/www/html.  I don't want to have to define
userids or passwords.  No authentication of users will be done.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1708902509.1225868.1399940199145.javamail.r...@md01.wow.synacor.com



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread E


On 5/11/2014 4:43 PM, Hugo Vanwoerkom wrote:

Hi,

I have a 500GB Western Digital hard drive that I bought in 2012 but it 
has never been unpacked and has been sitting on the shelf all this 
time. How long can it be considered 'new'? Is it safe to use?


Hugo



 Hello,
  May be a bit off-topic reply. it now only has a shorter warranty 
from the manufacture.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53715609.1060...@gmail.com



Re: Kernel fails to detect internal hard drives after routine apt-get upgrade

2014-05-12 Thread Selim T. Erdogan
O, 12.05.2014:
> Hi Stan et al.,
> 
> Booting from the working kernel, I have dumped dmesg here:
> 
> http://pastebin.com/MBTDfgc4
> 
> I tried to save dmesg booting under the 3.2.0-4_amd64 kernel from within
> initramfs, to no avail (I cannot mount usb drives to save the information,
> and it does not see the network).  However, when I added "debug" to the
> kernel line in the boot command, I was at least able to see the system
> messages while the errors were happening.  Here is the relevant block of
> text, and sas is involved:
> 
> ata7: sas eh calling libata port error handler
> sas: sas_ata_hard_reset: Unable to reset I T nexus?
> sas: sas_ata_hard_reset: Found ATA device
> sas: sas_ata_hard_reset: Unable to soft reset
> sas: sas_ata_hard_reset: Found ATA device
> ata7: reset failed (errno=-11) retrying in 10 secs
> 
> Searching the web for "Unable to reset I T nexus" led me to this thread:
> 
> http://www.gossamer-threads.com/lists/linux/kernel/1912604
> 
> ... which was posted a short time ago and appears to be the identical
> problem.  However, I am struggling to understand what I should do in
> response.  It seems to be saying that my hardware and its drivers are too
> "new" for Wheezy, even though this machine is 2 yrs old??   Does this mean
> I have to upgrade to Jessie?

I happened to notice the following bug report while updating last week:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746642

Basically, it seems like people solved this by booting from a rescue
disk and downgrading to an older kernel.

After you fix your system, I recommend installing the apt-listbugs
package.  That's what showed me the bug report while updating.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512225240.ga4...@cs.utexas.edu



Re: Re: loss of I/O on some websites

2014-05-12 Thread A Debian User


On Sunday, 11 May, 2014 10:08 PM, Scott Ferguson wrote:

On 11/05/14 22:59, Whit Hansell wrote:

Am getting frustrated.  On the internet today there are so many sites
that have taken on so much advertising that it is killing my desire to
go to various sites.  I mean specifically news sites.

My box is a relatively new AMD quad core over 3 Gh, 16 Gb Ram and a
video card w. 1 Gb memery on it, running Wheezy always updated and
current.  I go to some news sites and they have video start up and run
while I'm still trying to get the  page loaded and then trying to scroll
the page my I/O (mouse and/or cursor keys) won't work or I have to wait
for a video ad or more get done.  Than someitmes w/o meaning to I
scrolll over another ad and it starts running it's video and it starts
all over again.

Am I missing something in some an additional program I can install to
help take over or as an addon to Eceweasel browser?  This is really
frustrating and I woiuld appreciate any help anyone can give.


Thanks in advance for any help.

Whit



AdBlock Pro

Why don't you have it? It'll reduce the amount of page you need to
download ($ netstat --iinet will show you connections).
:)

You 'should' also have these installed:-

NoScript
FlashBlock
It's All Text
RightToClick
Self-Destructing Cookies
User-Agent Switcher


Kind regards


As a side note, doesn't NoScript and FlashBlock have redundant features, 
in that they both block the loading of Flash content?


So, shouldn't you just use NoScript, since it has more features and 
additionally does what FlashBlock does, anyway?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5371461f.9050...@openmailbox.org



Re: Re: Debian Linux 7 and Realtek soundcards

2014-05-12 Thread Testosticore

If this doesn't work:

$ lspci | grep audio

Use instead:

$ lspci | grep -i audio

On Sunday, 11 May, 2014 03:06 PM, Scott Ferguson wrote:

On 11/05/14 16:53, Bret Busby wrote:

Hello.

I have this weekend, managed to install Debian 7.5 amd64 xfce version
onto a laptop computer.

However, the sound does not work.


Ouch. But easily fixed.


In searching, I have found that the laptop apparently has a Realtek
soundcard (and, an inbuilt Intel something soundcard thing).

That covers a wide range of devices. Could you be more specific please?
e.g. the output of:-
$ lspci | grep audio



With Debian having eliminated "non-free" stuff from the official release
packages, I realize that, somewhere (it is not easy to find

http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/


, from the
Debian web site), "firmware" ISO's are available, that can install
"non-free" hardware drivers.

I am therefore wondering whether, somewhere, packages exist (.deb
packages, that make installation relatively easy for those of us not
skilled "in the black arts"), for the hardware drivers that may be on
the firmware ISO's.


By "installation" do you mean "drivers available *during*
installation"??  For the purposes of making available during installation?

https://wiki.debian.org/Firmware

(I have some small scripts I use to customise netinstall images if you
want, they extract the installer image, allow you to add a preseed.cfg
and firmware, then rebuild the iso for you).


If you mean *after* installing Debian, then yes.
firmware-linux-nonfree and firmware-linux-free are the main packages.
$ apt-cache search firmware # for lots more


I do not know whether the firmware ISO's allow a user to choose which
desktop environment is installed,

Yes. They are identical to the "normal" install CDs, they just include
firmware.



and the procedure that I found, for
dealing with the .tar.bz files from the Realtek web site, seem too
complicated.

Do you have a link for that?


Thank you in anticipation, for constructive assistance.

--
Bret Busby
Armadale
West Australia
..




Kind regards



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53714532.7070...@openmailbox.org



Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Andrei POPESCU
On Du, 11 mai 14, 23:07:01, Sven Joachim wrote:
> 
> > The only way that I know
> > of to check that would be to check one filesystem at a time in single
> > user mode, or from a live CD.
> 
> Huh, why that?  A simple "mount --bind / /mnt" makes all those files
> visible under /mnt, and you can delete them at your leisure.

Nice!

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Jerry Stuckle

On 5/12/2014 2:49 PM, Martin G. McCormick wrote:

Jerry Stuckle writes:

I'm not aware of a module - but there are a lot I don't know about,
anyway.
Just one note - it's the transducer which actually generates the sound;
it's being fed with a DC voltage. Connecting headphones to this will only
give you a click in the headphones (and probably blow the board due to the
low impedance of the headphones).

There are piezo buzzer that actually work that way such
as the Sonalert modules found in smoke alarms and zillions of
other electronic devices that need to beep but the PC speaker
gets it's signal from the output of a thing called a
timer-counter chip whose part number escapes me at the moment.
The chip was used in the original IBM PC's and consisted of a
pair of timer-counters. One was set to divide the system clock
speed down to 18.2 Hertz for the real-time clock and the other
half could be programmed by the user to set various devisor
values for the counter which then produced a square wave
output that drove a speaker or piezo transducer. The old PC's
also had a transistor between the timer-counter output and the
speaker because CMOS chips don't have the wattage to directly
drive even a small speaker to any reasonable level.



Yes, but you specifically said "There is a piezo transducer on the board 
that beeps just fine..."


This is not a speaker and does not work the same way.


I used to do a lot of 8086 assembler programming and
played a lot with that speaker driver. You could actually turn
the output of the transistor on without starting the timer and
hear a single click or turn it on with a count stuffed in to the
counter and it would generate a tone depending on what frequency
you set in the counter.



Immaterial, since a piezoelectric transducer does not work the same way 
as a speaker.



IOW, don't even THINK of doing it :)


I probably won't go that route but one can do things
like that if one is careful and makes sure not to load the
output more than it was meant to be loaded or you certainly will
trash the board or cause other unintended consequences such as
sporadic glitches in it's operation.



Again, it won't work.

P.S. Please don't break the thread.  Thanks.


Again, thanks.

Martin McCormick




Jerry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53712dbd.9000...@attglobal.net



no longer sound on amd64 sid systems

2014-05-12 Thread sp113438
hello,

I did the latest update on 2 systems amd64 Sid, and now sound does not
work any longer on both systems.
The program /usr/sbin/alsa dissapeared after installing the latest
alsa-base.

No mixers are found. Failed to open audio output
Yesterday sound did work on both systems.

thanks!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512220520.438d59f6@fx4100



[Debian 6 Squeeze] ANNOUNCEMENT: Intel processor microcode security update

2014-05-12 Thread Henrique de Moraes Holschuh
THIS ANNOUNCEMENT IS ONLY MEANINGFUL FOR PEOPLE USING DEBIAN 6 (SQUEEZE)
ON COMPUTERS WITH INTEL PROCESSORS.  IT DOES NOT APPLY TO THE MORE RECENT
DEBIAN RELEASES.


A new Intel microcode update is available for Debian 6 (codename Squeeze).

This microcode update is considered a security update.  Users of the newer
versions of Debian (stable/Wheezy, testing/Jessie, unstable) have already
received it.

For technical reasons, Debian 6 (Squeeze) will receive intel-microcode
updates only through squeeze-backports, and only after the same update has
been accepted into Debian stable, and pushed out into a Debian stable point
release.

INSTRUCTIONS ON HOW TO INSTALL THE UPDATE ARE AVAILABLE AT THE LAST PART OF
THIS MESSAGE.

This microcode update release contains fixes for a number of severe issues
on a large number of Intel system processor models produced in the last
five years.  Some of the issues fixed by this update address severe
security risks.

Details about some of the issues fixed by this microcode update, about
microcode updates in general, and about microcode update packages can be
found on previous emails on this thread, at:

https://lists.debian.org/debian-user/2013/09/msg00126.html
https://lists.debian.org/debian-user/2013/09/msg01300.html

Do not expect further announcements about intel-microcode updates, this is
an exception due to the known security nature of this update, and due to
the nonstandard process required to install it for the first time.


Installing the squeeze-backports microcode update:

Manual action by the system administrator is required to enable
squeeze-backports in apt's "source.list", and install the backported
intel-microcode and iucode-tool packages for the first time.

After the manual installation of the first update, apt will remember that
it has to get further updates from squeeze-backports.

Please refer to http://backports.debian.org/Instructions/ for general
details on how to use squeeze-backports, and below for step-by-step
simplified instructions.


First install procedure:


1. Enable squeeze-backports in /etc/apt/sources.list, adding:

   deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports main 
contrib non-free

   notice that you need to enable both "contrib" (for the iucode-tool
   package) and "non-free" (for the intel-microcode package).

   This is safe.  In Debian's default configuration, squeeze-backports
   packages are only installed by direct request (-t option of apt-get,
   or by explicitly selecting the version from backports in aptitude).

   It will NOT cause your whole system to be updated to squeeze-backports.

2. apt-get update

3. apt-get --purge remove intel-microcode microcode.ctl

4. apt-get -t squeeze-backports install intel-microcode iucode-tool

   (notice that we had to explictly request that packages from
   squeeze-backports were to be used in step 4).


Update procedure:
-

Once installed, packages from squeeze-backports will be handled
automatically when you update the system.  The system remembers which
packages came from squeeze-backports, and looks there for updates.

1. apt-get update
2. apt-get upgrade (or safe-upgrade, or dist-upgrade)

A new microcode update is already available in Debian unstable, and should
make it to squeeze-backports in about four to six months.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512201833.ga21...@khazad-dum.debian.net



Re: mount inconsistencies

2014-05-12 Thread Jochen Spieker
Steve Litt:
> On Mon, 12 May 2014 17:52:44 +0200
> Jochen Spieker  wrote:
> 
>> this looks very weird to me. My wheezy system claims that a filesystem
>> is mounted, but the mount directory appears to be empty and umount
>> fails because the filesystems is not mounted, after all:
…
>> Do you have any ideas what's wrong?
>> 
>> Regards,
>> J.
> 
> No. :-(
> 
> But I do have some thoughts.
> 
> First, if you're not unmounting /srv/backup as root, try doing so.

Sure, every command shown was run as root.

> Next, before /dev/mapper/backup-decrypted can exist, something
> (cryptsetup luksOpen) must create it. Look for that, in /etc/fstab and
> elsewhere.

That already happened. The device is there, otherwise I wouldn't be able
to mount it a second time.  But thanks for your input anyway.

Unfortunately, I cannot investigate this any further because I had to
reboot the system which cleared things up. But I would still like to
know how to fix such a situation.

I only noticed it because my backup script complained about the missing
path. Prior to running the backup, it checks whether the filesystem is
already mounted and mounts it if it is not mounted yet. That failed
because mount reported that the filesystem is mounted while the mount
point was empty.

J.
-- 
I use a Playstation to block out the existence of my partner.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Martin G. McCormick
Jerry Stuckle writes:
> I'm not aware of a module - but there are a lot I don't know about, 
> anyway.
> Just one note - it's the transducer which actually generates the sound;
> it's being fed with a DC voltage. Connecting headphones to this will only
> give you a click in the headphones (and probably blow the board due to the
> low impedance of the headphones).
There are piezo buzzer that actually work that way such
as the Sonalert modules found in smoke alarms and zillions of
other electronic devices that need to beep but the PC speaker
gets it's signal from the output of a thing called a
timer-counter chip whose part number escapes me at the moment.
The chip was used in the original IBM PC's and consisted of a
pair of timer-counters. One was set to divide the system clock
speed down to 18.2 Hertz for the real-time clock and the other
half could be programmed by the user to set various devisor
values for the counter which then produced a square wave
output that drove a speaker or piezo transducer. The old PC's
also had a transistor between the timer-counter output and the
speaker because CMOS chips don't have the wattage to directly
drive even a small speaker to any reasonable level.

I used to do a lot of 8086 assembler programming and
played a lot with that speaker driver. You could actually turn
the output of the transistor on without starting the timer and
hear a single click or turn it on with a count stuffed in to the
counter and it would generate a tone depending on what frequency
you set in the counter.

> IOW, don't even THINK of doing it :)

I probably won't go that route but one can do things
like that if one is careful and makes sure not to load the
output more than it was meant to be loaded or you certainly will
trash the board or cause other unintended consequences such as
sporadic glitches in it's operation.

Again, thanks.

Martin McCormick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140512184925.00ec722...@server1.shellworld.net



Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Doug


On 05/12/2014 01:18 PM, apfle...@gmail.com wrote:

Other than what you described, I doubt it. The on board speaker is used for 
bios level error codes. That is, identifying error conditions that exist before 
higher level hardware (including your sound card) has been initialised during 
the O/S boot.


Sent from my BlackBerry 10 smartphone on the O2 network.
   Original Message
From: Martin G. McCormick
Sent: Monday, 12 May 2014 18:00
To: debian-user@lists.debian.org
Subject: I need to hear PC Speaker Beeps through the Audio Output.

Is there any kind of debian module that will reproduce
PC speaker sounds through the sound card?

The system in question has a working sound card but
there are no apparent pins on the mother board that carry the
timer-counter output to the outside world.

There is a piezo transducer on the board that beeps just
fine but there are no pins short of unsoldering the piezo
speaker and putting a couple of pins in it's place and that is
way too much work and the system does not belong to me. I need
to hear the beeps in headphones. The sound card even has a 2-pin
input marked PC Speaker but getting the signal there is the
issue which is why I am asking if there is a software-based
solution.
Thanks for any ideas.

Martin McCormick



Some mobos have a SPKR connection near the front edge.
That's for a real speaker. If yours has that, you could connect
it to the sound card. Otherwise, the other poster is correct:
there is no audio going to the piezo device, so you can't
use that signal for anything else.

--doug


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/537114ac.9090...@optonline.net



Re: Should hostname always be lower case?

2014-05-12 Thread Ron Leach

On 12/05/2014 19:00, Nemeth Gyorgy wrote:

2014-05-12 16:03 keltezéssel, Ron Leach írta:


May I ask whether the 'case' of the hostname is important, in the sense
that use of any upper-case characters may disrupt name resolvers?

We have a server running wheezy, and we named it D7Server (not
d7server).  Could this matter to any resolver attempting to look up
D7Server?  (It might matter, for example, if standards allow resolvers,
generally, to assume that names to be resolved will be lower case.)


If you consider DNS resolving only then you can use any case and upper
and lowercase will be the same.

But if you name your host with upper-case characters, you will face some
trouble on your local host. So you better not do it.





Ah.  Trouble on the local host is one of the problems we have.  The 
other is with a DNS resolver on the LAN (that resolver is not running 
Debian).  Name resolution is an issue in itself, and I was going to 
post separately with those details, but perhaps I could post here, to 
follow your remark.


Our difficulty is in stopping name resolution requests for hosts, that 
are local to our LAN, from going to a DNS resolver.  The machine I'm 
trying to setup is running wheezy.  Its name is D7Server, and the 
domain in /etc/resolv.conf is 'inet'.  The same issue seems to occur 
on some servers running earlier versions, as well.


I've read man hosts, resolv.conf, and nsswitch.conf; I've also had a 
look at

http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
(I'm assuming that's an official site).

On the Wheezy machine, /etc/nsswitch.conf contains

hosts:  files mdns4_minimal [NOTFOUND=return] dns mdns4

From my reading, since 'files' is listed first, /etc/hosts should be 
checked for name resolution first, with external requests to a dns 
resolver *only* if the host name is not found in hosts file.


But the behaviour I am seeing is that the box is asking for resolution 
(of its own hostname, actually) from an external resolver.  (That DNS 
resolution request fails, anyway, because there is no record for its 
hostname in the DNS tree.)


/etc/hosts, on D7Server, contains a record for D7Server:
192.168.3.31D7Serverd7serverD7Server.inetd7server.inet

Despite the entry in hosts file, D7Server keeps asking the DNS 
resolver to lookup D7Server (the request is logged on the DNS resolver 
machine), instead of reading it from its hosts file.


Do I need to do something more to enable names to be looked up in 
/etc/hosts?


regards, Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5371147c.9020...@tesco.net



Re: Should hostname always be lower case?

2014-05-12 Thread Martin G. McCormick
The domain name system is totally case-insensitive so
FiReFlY.HardknocKs.cOm will lookup as firefly.hardknocks.com. I
have been administering the domain name servers for the
okstate.edu domain since around 1992. We use dynamic DHCP name
registration and the names that folks register are loaded with
mixed-case names or names that are all upper case. The only time
it matters is when we are trouble-shooting a problem and someone
is looking for a certain name in a zone transfer and the name
they are looking for is stored with upper or mixed case. The
person working on the zone transfer must always remember to do
something like a grep -i so that they don't miss the right name
but in a different case than was expected.

Martin McCormick

Balint Szigeti writes:
> most of. if you will use spacewalk and your hostname will contain
> capital letters, it will cause problem
> 
> On Mon, 2014-05-12 at 15:03 +0100, Ron Leach wrote:
> 
> > List,
> >
> > May I ask whether the 'case' of the hostname is important, in the
> > sense that use of any upper-case characters may disrupt name resolvers?
> >
> > We have a server running wheezy, and we named it D7Server (not
> > d7server).  Could this matter to any resolver attempting to look up
> > D7Server?  (It might matter, for example, if standards allow
> > resolvers, generally, to assume that names to be resolved will be
> > lower case.)
> >
> > regards, Ron
> >
> >
> 
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140512181046.5d12f22...@server1.shellworld.net



Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Curt
On 2014-05-12, Martin G. McCormick  wrote:
>   Is there any kind of debian module that will reproduce
> PC speaker sounds through the sound card?
>

Well there's the pcspkr module; you must unmute the appropriate channel
in the mixer of your choice to hear the beep through your speakers (or
headphones).

The rest of your article is beyond my comprehension, so perhaps my reply
is unsound.

;-)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnln23t1.335.cu...@einstein.electron.org



Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Mark Neyhart
On 05/12/2014 09:00 AM, Martin G. McCormick wrote:
>   Is there any kind of debian module that will reproduce
> PC speaker sounds through the sound card?
> 
If you run alsamixer, the pc-speaker settings can be unmuted to
duplicate the beeps sent to the onboard speaker.  If you have more
sources than fit on the screen (multiple > in right border), you can
use the right-arrow key to see more.

Mark Neyhart


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53710edb.7070...@akleg.gov



Re: Should hostname always be lower case?

2014-05-12 Thread Nemeth Gyorgy
2014-05-12 16:03 keltezéssel, Ron Leach írta:

> May I ask whether the 'case' of the hostname is important, in the sense
> that use of any upper-case characters may disrupt name resolvers?
> 
> We have a server running wheezy, and we named it D7Server (not
> d7server).  Could this matter to any resolver attempting to look up
> D7Server?  (It might matter, for example, if standards allow resolvers,
> generally, to assume that names to be resolved will be lower case.)
> 
> regards, Ron

If you consider DNS resolving only then you can use any case and upper
and lowercase will be the same.

But if you name your host with upper-case characters, you will face some
trouble on your local host. So you better not do it.


-- 
--- Friczy ---
'Death is not a bug, it's a feature'


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53710c27.4010...@freemail.hu



Re: minimal X.org xserver installation on Debian Wheezy

2014-05-12 Thread Patrick Bartek
On Mon, 12 May 2014, Brian wrote:

> On Sun 11 May 2014 at 16:35:42 -0700, Patrick Bartek wrote:
> 
> > On Sun, 11 May 2014, Martin T wrote:
> > 
> > > Thank you for replies! As I understand, "xserver-xorg" will
> > > install /usr/bin/X binary, which is a X Window Server itself and
> > > "xinit" installs the /usr/bin/xinit utility which starts the X
> > > Window Server and window manager(dwm in my case) as a X Windows
> > > Server client. As I
> > 
> > All I installed to get a running X on my Wheezy/Openbox "minimal"
> > system was xserver-xorg-core and xinit.
> 
> You probably did this at a time when a video driver would have been
> pulled in by xserver-xorg-core because it depended on xserver-xorg.
> This dependency has gone so there might be a problem getting X
> running with these two packages alone.
> 
>  xorg-server (2:1.9.4-2) unstable; urgency=low
>  .
>* Put an end to the dependency hell! Now that we have proper
>  dependencies between drivers and the server, remove xserver-xorg
> from xserver-xorg-core's Depends (Closes: #362313). In a nutshell,
> one may want to choose between installing:
>  - xserver-xorg-core: the server itself, with no strings attached.
>  - xserver-xorg: pulls the server and drivers, contains the X
> wrapper and some documentation.
>  - xorg: pulls xserver-xorg as well as various X11 clients and
> fonts.
> 
>  -- Cyril Brulebois   Wed, 16 Feb 2011 23:17:07 +0100

When did this dependency change occur?  I installed Wheezy in Feb or
Mar 2013 when it was still Testing.  It became Stable in May of that
year.  The Installer chose the Nouveau driver for my nVidia graphic
card.  Sometime later (several months) I replaced it with the
proprietary nVidia driver.  About Oct or Nov, someone did a similar
install using my notes, and didn't have any problems.

Not doubting.  Just curious.

B


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512102812.4e6f5...@debian7.boseck208.net



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Ralf Mardorf
On Mon, 2014-05-12 at 11:50 -0500, Hugo Vanwoerkom wrote:
> It is not a green drive.

That's good.

Anyway, a fabrication defect could happen for a new drive and an old
drive. Electrostatics or aging of the materials unlikely is an issue.
Assumed the shelf was in an unheated room somewhere in Siberia, this
likely could damage the drive, but assumed it was on a shelf, in a
"normal" house, on some place on this planet, with moderate
environmental conditions, 2 years are nothing.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399915486.681.31.camel@archlinux



Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Jerry Stuckle

On 5/12/2014 1:00 PM, Martin G. McCormick wrote:

Is there any kind of debian module that will reproduce
PC speaker sounds through the sound card?

The system in question has a working sound card but
there are no apparent pins on the mother board that carry the
timer-counter output to the outside world.

There is a piezo transducer on the board that beeps just
fine but there are no pins short of unsoldering the piezo
speaker and putting a couple of pins in it's place and that is
way too much work and the system does not belong to me. I need
to hear the beeps in headphones. The sound card even has a 2-pin
input marked PC Speaker but getting the signal there is the
issue which is why I am asking if there is a software-based
solution.
Thanks for any ideas.

Martin McCormick




Martin,

I'm not aware of a module - but there are a lot I don't know about, 
anyway.  Just one note - it's the transducer which actually generates 
the sound; it's being fed with a DC voltage.  Connecting headphones to 
this will only give you a click in the headphones (and probably blow the 
board due to the low impedance of the headphones).


IOW, don't even THINK of doing it :)

Jerry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5371028b.40...@attglobal.net



Re: I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread apflewis
Other than what you described, I doubt it. The on board speaker is used for 
bios level error codes. That is, identifying error conditions that exist before 
higher level hardware (including your sound card) has been initialised during 
the O/S boot.


Sent from my BlackBerry 10 smartphone on the O2 network.
  Original Message  
From: Martin G. McCormick
Sent: Monday, 12 May 2014 18:00
To: debian-user@lists.debian.org
Subject: I need to hear PC Speaker Beeps through the Audio Output.

Is there any kind of debian module that will reproduce
PC speaker sounds through the sound card?

The system in question has a working sound card but
there are no apparent pins on the mother board that carry the
timer-counter output to the outside world.

There is a piezo transducer on the board that beeps just
fine but there are no pins short of unsoldering the piezo
speaker and putting a couple of pins in it's place and that is
way too much work and the system does not belong to me. I need
to hear the beeps in headphones. The sound card even has a 2-pin
input marked PC Speaker but getting the signal there is the
issue which is why I am asking if there is a software-based
solution.
Thanks for any ideas.

Martin McCormick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140512170029.b679722...@server1.shellworld.net


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512171848.6004886.73668.11...@gmail.com



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Ralf Mardorf
On Mon, 2014-05-12 at 16:56 +, Curt wrote:
> On 2014-05-12, Scott Ferguson  wrote:
> >> 
> >> This is actually pretty important because all my backup data is stored
> >> there.
> >
> > I fed a mouse to an intertube seer... could this be what Curt refers too?
> >
> > http://www.ngohq.com/news/19805-critical-design-flaw-found-in-wd-caviar-green-hdds.html
> >
> 
> Yeps.  I wasn't aware of the problem

Because the drives are very silent, we don't hear them. I don't
remember, but I guess I noticed it, because the external drive was on
the table and the drive's LED stressed me.

>  until Ralf spoke of it here (and my
> drive had over 500,000  Load_Cycle_Count thingamajiggers--"smartctl
> /dev/sda -a | grep Load_Cycle").
> 
> I used the idle3ctl tool and turned the "feature" off completely (but this
> ain't no production server, or whatever you people call them).

Now that I read it, I remember the name too :D.

Assumed the drive is behind an USB controller and there should be no way
to open the case, then, when using GNOME, MATE, XFCE, replacing GVFS by
a dummy package could help. But it doesn't help always, from time to
time some other software wakes up the sleeping drive.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399914577.681.25.camel@archlinux



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Ralf Mardorf wrote:

On Mon, 2014-05-12 at 15:10 +, Curt wrote:

On 2014-05-12, Ralf Mardorf  wrote:
On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom 
  wrote:
I have a 500GB Western Digital hard drive that I bought in 2012 but 
it  has never been unpacked and has been sitting on the shelf all 
this time.  How long can it be considered 'new'? Is it safe to use?
2 Years in the original packaging on a shelf, in averaged normal  
conditions = as new and reliable, as a brand spanking new HDD

A brand spanking new HDD could fail like an used, very old HDD.

Maybe he's got one of the "greens" that gets old fast (once very 8
seconds) if steps aren't taken.


Good point! I own a "green" WD drive. The OP should monitor the drive,
assumed it's a green drive, we can help him to take action.




It is not a green drive.



It is a WD5000AAKX Caviar Blue

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/lkqutd$b6f$1...@ger.gmane.org



I need to hear PC Speaker Beeps through the Audio Output.

2014-05-12 Thread Martin G. McCormick
Is there any kind of debian module that will reproduce
PC speaker sounds through the sound card?

The system in question has a working sound card but
there are no apparent pins on the mother board that carry the
timer-counter output to the outside world.

There is a piezo transducer on the board that beeps just
fine but there are no pins short of unsoldering the piezo
speaker and putting a couple of pins in it's place and that is
way too much work and the system does not belong to me. I need
to hear the beeps in headphones. The sound card even has a 2-pin
input marked PC Speaker but getting the signal there is the
issue which is why I am asking if there is a software-based
solution.
Thanks for any ideas.

Martin McCormick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140512170029.b679722...@server1.shellworld.net



Re: Should hostname always be lower case?

2014-05-12 Thread Balint Szigeti
most of. if you will use spacewalk and your hostname will contain
capital letters, it will cause problem

On Mon, 2014-05-12 at 15:03 +0100, Ron Leach wrote:

> List,
> 
> May I ask whether the 'case' of the hostname is important, in the 
> sense that use of any upper-case characters may disrupt name resolvers?
> 
> We have a server running wheezy, and we named it D7Server (not 
> d7server).  Could this matter to any resolver attempting to look up 
> D7Server?  (It might matter, for example, if standards allow 
> resolvers, generally, to assume that names to be resolved will be 
> lower case.)
> 
> regards, Ron
> 
> 




Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Curt
On 2014-05-12, Scott Ferguson  wrote:
>> 
>> This is actually pretty important because all my backup data is stored
>> there.
>
> I fed a mouse to an intertube seer... could this be what Curt refers too?
>
> http://www.ngohq.com/news/19805-critical-design-flaw-found-in-wd-caviar-green-hdds.html
>

Yeps.  I wasn't aware of the problem until Ralf spoke of it here (and my
drive had over 500,000  Load_Cycle_Count thingamajiggers--"smartctl
/dev/sda -a | grep Load_Cycle").

I used the idle3ctl tool and turned the "feature" off completely (but this
ain't no production server, or whatever you people call them).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnln1v74.335.cu...@einstein.electron.org



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Ralf Mardorf
On Mon, 2014-05-12 at 18:53 +0200, Ralf Mardorf wrote:
> On Mon, 2014-05-12 at 12:30 -0400, Steve Litt wrote:
> > On Mon, 12 May 2014 15:10:56 + (UTC)
> > Curt  wrote:
> > 
> > > On 2014-05-12, Ralf Mardorf  wrote:
> > > > On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom
> > > >  wrote:
> > > >> I have a 500GB Western Digital hard drive that I bought in 2012
> > > >> but it has never been unpacked and has been sitting on the shelf
> > > >> all this time. How long can it be considered 'new'? Is it safe to
> > > >> use?
> > > >
> > > > 2 Years in the original packaging on a shelf, in averaged normal  
> > > > conditions = as new and reliable, as a brand spanking new HDD
> > > > A brand spanking new HDD could fail like an used, very old HDD.
> > > 
> > > Maybe he's got one of the "greens" that gets old fast (once very 8
> > > seconds) if steps aren't taken.
> > 
> > I have a WD green disk (3GB, IIRC) in my backup server. Could you please
> > elaborate on the steps, and in what ways it gets old quickly?
> > 
> > This is actually pretty important because all my backup data is stored
> > there.
> 
> I can't turn it off (USB controller + case that can't be opened), so
> every 30 minutes when the drive want's to sleep, the drive gets touches
> by gvfs and similar software and get a wake up call, so its spinning
> down and up every 30 minutes. I installed a dummy package for gvfs, but
> sometimes, e.g. after using K3b, something else behaves as gvfs would
> do.
> 
> Some drives spin down and up every 8 seconds, but assumed you have
> "direct" access e.g. by SATA, instead of an USB controller to SATA, you
> likely can change the settings.
> 
> There is proprietary software to change the settings and Linux software
> that can do it. I didn't find it, but it is (at least was) mentioned by
> an Arch Wiki.

If I've got more time, perhaps next week, I can search again. I can't
help you right now.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399913746.681.18.camel@archlinux



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Ralf Mardorf
On Mon, 2014-05-12 at 12:30 -0400, Steve Litt wrote:
> On Mon, 12 May 2014 15:10:56 + (UTC)
> Curt  wrote:
> 
> > On 2014-05-12, Ralf Mardorf  wrote:
> > > On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom
> > >  wrote:
> > >> I have a 500GB Western Digital hard drive that I bought in 2012
> > >> but it has never been unpacked and has been sitting on the shelf
> > >> all this time. How long can it be considered 'new'? Is it safe to
> > >> use?
> > >
> > > 2 Years in the original packaging on a shelf, in averaged normal  
> > > conditions = as new and reliable, as a brand spanking new HDD
> > > A brand spanking new HDD could fail like an used, very old HDD.
> > 
> > Maybe he's got one of the "greens" that gets old fast (once very 8
> > seconds) if steps aren't taken.
> 
> I have a WD green disk (3GB, IIRC) in my backup server. Could you please
> elaborate on the steps, and in what ways it gets old quickly?
> 
> This is actually pretty important because all my backup data is stored
> there.

I can't turn it off (USB controller + case that can't be opened), so
every 30 minutes when the drive want's to sleep, the drive gets touches
by gvfs and similar software and get a wake up call, so its spinning
down and up every 30 minutes. I installed a dummy package for gvfs, but
sometimes, e.g. after using K3b, something else behaves as gvfs would
do.

Some drives spin down and up every 8 seconds, but assumed you have
"direct" access e.g. by SATA, instead of an USB controller to SATA, you
likely can change the settings.

There is proprietary software to change the settings and Linux software
that can do it. I didn't find it, but it is (at least was) mentioned by
an Arch Wiki.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399913598.681.16.camel@archlinux



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Hugo Vanwoerkom

Ralf Mardorf wrote:

On Mon, 2014-05-12 at 15:10 +, Curt wrote:

On 2014-05-12, Ralf Mardorf  wrote:
On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom   
wrote:
I have a 500GB Western Digital hard drive that I bought in 2012 but it  
has never been unpacked and has been sitting on the shelf all this time.  
How long can it be considered 'new'? Is it safe to use?
2 Years in the original packaging on a shelf, in averaged normal  
conditions = as new and reliable, as a brand spanking new HDD

A brand spanking new HDD could fail like an used, very old HDD.

Maybe he's got one of the "greens" that gets old fast (once very 8
seconds) if steps aren't taken.


Good point! I own a "green" WD drive. The OP should monitor the drive,
assumed it's a green drive, we can help him to take action.




It is not a green drive.

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/lkqu4r$m2b$1...@ger.gmane.org



Re: mount inconsistencies

2014-05-12 Thread Steve Litt
On Mon, 12 May 2014 17:52:44 +0200
Jochen Spieker  wrote:

> Hi folks,
> 
> this looks very weird to me. My wheezy system claims that a filesystem
> is mounted, but the mount directory appears to be empty and umount
> fails because the filesystems is not mounted, after all:
> 
> | # grep backup /etc/fstab
> | /dev/mapper/backup-decrypted  /srv/backup  ext4
> noatime,nodiratime,barrier=1,noauto,nodelalloc  0 0 | 
> | # mount | grep backup
> | /dev/mapper/backup-decrypted on /srv/backup type ext4
> (rw,noatime,nodiratime,nodelalloc,data=ordered) | 
> | # df -h /srv/backup/
> | FilesystemSize  Used Avail Use% Mounted on
> | /dev/mapper/backup-decrypted  2.5T  1.8T  699G  72% /srv/backup
> | 
> | # ls -la /srv/backup/
> | total 8
> | drwxr-xr-x  2 root root 4096 Oct 21  2011 ./
> | drwxr-xr-x 11 root root 4096 Oct 22  2013 ../
> | 
> | # umount /srv/backup
> | umount: /srv/backup: not mounted
> 
> I don't think it's important, but the filesystem is encrypted using
> LUKS on top of an LVM volume:
> 
> | # grep backup /etc/crypttab
> | backup-decrypted/dev/mapper/backup2-lvol0
> nonenoauto,luks,cipher=aes-cbc-plain:sha256
> 
> Interestingly, when I mount /srv/backup again, I can see its contents
> and umount it afterwards. But only once. Complete transcript:
> 
> | # mount /srv/backup/
> | 
> | # ls /srv/backup/
> | abattoir/  abattoir-winxp/  cupcake/  jigsaw/  lost+found/  mail/
> manowar/  _manual/  xenhost/ | 
> | # mount | grep backup
> | /dev/mapper/backup-decrypted on /srv/backup type ext4
> (rw,noatime,nodiratime,nodelalloc,data=ordered)
> | /dev/mapper/backup-decrypted on /srv/backup type ext4
> (rw,noatime,nodiratime,nodelalloc,data=ordered) | | #
> umount /srv/backup | 
> | # umount /srv/backup
> | umount: /srv/backup: not mounted
> 
> Do you have any ideas what's wrong?
> 
> Regards,
> J.

No. :-(

But I do have some thoughts.

First, if you're not unmounting /srv/backup as root, try doing so.

Next, before /dev/mapper/backup-decrypted can exist, something
(cryptsetup luksOpen) must create it. Look for that, in /etc/fstab and
elsewhere.

Also, something somewhere must input the LUKS filesystem's password.

As a reference, here's my shellscript for mounting an encrypted Blu-Ray:

==
#!/bin/bash

discdev=/dev/sr0   #change as needed for system
udfmountpoint=/mnt/test
mapperdev=udf

udfloop=`sudo losetup -f`

sudo losetup $udfloop $discdev
sudo cryptsetup luksOpen $udfloop $mapperdev
sudo mount /dev/mapper/$mapperdev $udfmountpoint
echo Encrypted loop device is at /dev/mapper/$mapperdev or $udfloop.
echo Read files from $udfmountpoint
==

When ready to unmount the disc, I work backwards, all as root or using
sudo:

* Unmount the disc from the mapper device.
* Eject the disc.
* use cryptsetup luksClose to close the encrypted device.
* Use losetup -d to delete the loopback device.

HTH,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512125029.08dd185a@mydesk



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Chris Angelico
On Tue, May 13, 2014 at 2:42 AM, Scott Ferguson
 wrote:
> I fed a mouse to an intertube seer... could this be what Curt refers too?
>
> http://www.ngohq.com/news/19805-critical-design-flaw-found-in-wd-caviar-green-hdds.html

I don't know about eight seconds as a specific value, but the last
time I put a WD Green drive into a server (and, btw, it is the last
time I ever will), it wasn't the drive that got old, so much as
listening to the complaints of my users: the first time they hit that
particular server after a period of idleness, stuff would take
*forever* to load up. Of the order of ten seconds just waiting for the
disk to spin up, worse in some cases. (Possibly exacerbated by human
beings with low timeouts, who would cancel the request and start a new
one - resulting in a backlog of requests once the drive finally got
going. But still, it was quite a delay.)

ChrisA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAPTjJmqb=9s-nvjfuxgapmcx5glcgb+0tib4bxs2e8zq4d7...@mail.gmail.com



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Curt
On 2014-05-12, Steve Litt  wrote:
>> 
>> Maybe he's got one of the "greens" that gets old fast (once very 8
>> seconds) if steps aren't taken.
>
> I have a WD green disk (3GB, IIRC) in my backup server. Could you please
> elaborate on the steps, and in what ways it gets old quickly?
>
> This is actually pretty important because all my backup data is stored
> there.

https://wiki.archlinux.org/index.php/Advanced_Format#Special_Consideration_for_WD_Green_HDDs



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnln1uoi.335.cu...@einstein.electron.org



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Scott Ferguson
On 13/05/14 02:30, Steve Litt wrote:
> On Mon, 12 May 2014 15:10:56 + (UTC)
> Curt  wrote:
> 
>> On 2014-05-12, Ralf Mardorf  wrote:
>>> On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom
>>>  wrote:
 I have a 500GB Western Digital hard drive that I bought in 2012
 but it has never been unpacked and has been sitting on the shelf
 all this time. How long can it be considered 'new'? Is it safe to
 use?
>>>
>>> 2 Years in the original packaging on a shelf, in averaged normal  
>>> conditions = as new and reliable, as a brand spanking new HDD
>>> A brand spanking new HDD could fail like an used, very old HDD.
>>
>> Maybe he's got one of the "greens" that gets old fast (once very 8
>> seconds) if steps aren't taken.
> 
> I have a WD green disk (3GB, IIRC) in my backup server. Could you please
> elaborate on the steps, and in what ways it gets old quickly?
> 
> This is actually pretty important because all my backup data is stored
> there.

I fed a mouse to an intertube seer... could this be what Curt refers too?

http://www.ngohq.com/news/19805-critical-design-flaw-found-in-wd-caviar-green-hdds.html


> 
> Thanks,
> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance
> 
> 


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370fa13.6030...@gmail.com



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Ralf Mardorf
On Mon, 2014-05-12 at 15:10 +, Curt wrote:
> On 2014-05-12, Ralf Mardorf  wrote:
> > On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom   
> > wrote:
> >> I have a 500GB Western Digital hard drive that I bought in 2012 but it  
> >> has never been unpacked and has been sitting on the shelf all this time.  
> >> How long can it be considered 'new'? Is it safe to use?
> >
> > 2 Years in the original packaging on a shelf, in averaged normal  
> > conditions = as new and reliable, as a brand spanking new HDD
> > A brand spanking new HDD could fail like an used, very old HDD.
> 
> Maybe he's got one of the "greens" that gets old fast (once very 8
> seconds) if steps aren't taken.

Good point! I own a "green" WD drive. The OP should monitor the drive,
assumed it's a green drive, we can help him to take action.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399912697.681.8.camel@archlinux



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Steve Litt
On Mon, 12 May 2014 15:10:56 + (UTC)
Curt  wrote:

> On 2014-05-12, Ralf Mardorf  wrote:
> > On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom
> >  wrote:
> >> I have a 500GB Western Digital hard drive that I bought in 2012
> >> but it has never been unpacked and has been sitting on the shelf
> >> all this time. How long can it be considered 'new'? Is it safe to
> >> use?
> >
> > 2 Years in the original packaging on a shelf, in averaged normal  
> > conditions = as new and reliable, as a brand spanking new HDD
> > A brand spanking new HDD could fail like an used, very old HDD.
> 
> Maybe he's got one of the "greens" that gets old fast (once very 8
> seconds) if steps aren't taken.

I have a WD green disk (3GB, IIRC) in my backup server. Could you please
elaborate on the steps, and in what ways it gets old quickly?

This is actually pretty important because all my backup data is stored
there.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512123017.6152ffc7@mydesk



Re: Sony Xperia Z1 USB

2014-05-12 Thread Jochen Spieker
Edvin Hultberg:
> 
> I recently tried connecting my Sony Xperia Z1 to my computer by 
> USB3/USB2. And it didn't quite work as expected. I recently ditched 
> windows in favour of debian 7 with KDE. Is there some sort of debuging 
> to see if debian detects the phone or anyone having experienced the 
> same problem?

What exactly do you want to do after connecting the phone to your
computer? Access files on the phone from your computer? USB mass storage
is a little out of fashion, unfortunately. You need some sort of MTP
(Media Transfer Protocol) in your file manager. Gnome supports MTP using
GVFS. KDE apparently needs kio-mtp:

https://wiki.archlinux.org/index.php/MTP#KDE_MTP_KIO_Slave
https://packages.debian.org/search?keywords=kio%20mtp&searchon=names&suite=all§ion=all

Looks like it is only available in testing. People who use KDE might
know a better answer than using nautilus (or thunar).

J.
-- 
I use a Playstation to block out the existence of my partner.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: SOLVED: Filespace exhaustion on '/' partition

2014-05-12 Thread Ron Leach

On 12/05/2014 14:45, Ron Leach wrote:


and I think I can delete everything within, and beneath,
/mnt/test/mnt/backupserver



So I did that.

server4:/home/ron# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/md1  2.8G  170M  2.7G   6% /
tmpfs 501M 0  501M   0% /lib/init/rw
udev   10M  808K  9.3M   8% /dev
tmpfs 501M 0  501M   0% /dev/shm
/dev/md6  1.8T  1.4T  406G  78% /nfs
/dev/sda1 313M   16M  281M   6% /boot
/dev/sdb1 313M   16M  281M   6% /boot2
/dev/md5   38G  2.4G   35G   7% /home
/dev/md4  949M  4.3M  945M   1% /tmp
/dev/md2  9.4G  1.2G  8.2G  13% /usr
/dev/md3  4.7G  773M  3.9G  17% /var
server4:/home/ron#

/dev/md1 looks normal, now.

Thanks to everyone with all their insights and subsequent advice for 
avoiding the problem, especially Sven whose mount command I used to be 
able to check the partition and remove the files, while the server was 
still running.


Very grateful,
Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5370f0ac.5080...@tesco.net



Re: Sony Xperia Z1 USB

2014-05-12 Thread Scott Ferguson
On 13/05/14 01:28, Edvin Hultberg wrote:
> Hello there! First time interacting with this mailing list.
> 
> I recently tried connecting my Sony Xperia Z1 to my computer by 
> USB3/USB2. And it didn't quite work as expected. I recently ditched 
> windows in favour of debian 7 with KDE. Is there some sort of debuging 
> to see if debian detects the phone or anyone having experienced the 
> same problem?

As others have pointed out, dmesg (though udevadm is very good too)

> 
> More tech details: debian 7 "wheezy", linux 3.2.0-4-amd64, KDE SC 
> Version 4.8.3.
> 
> Mvh
> Edvin Hultberg
> 
> 


I've had that model connect fine to a Wheezy with backports KDE.
dpkg --get-selections | grep mtp
kio-mtp install
libmtp-common   install
libmtp-runtime  install
libmtp9:i386install
mtp-tools   install


I might have to dig through my notes as I have a vague feeling kio-mtp
wasn't straight-forward. I also upgraded my udev rules for android - not
sure if it's necessary for that model.


Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370efd9.7020...@gmail.com



Re: Sony Xperia Z1 USB

2014-05-12 Thread staticsafe
On 5/12/2014 11:56, staticsafe wrote:
> Google tells me this is an Android device. Are you trying to mount the
> phone's FS? If so, I believe an option on the phone will trigger
> mounting as a "mass-storage device".
> 

That said, some newer Android versions/devices do not use USB Mass
Storage for mounting but instead use MTP. That will probably require
extra libraries/programs to be installed.
-- 
staticsafe
https://asininetech.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370efaa.8040...@staticsafe.ca



Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Jochen Spieker
Ron Leach:
> 
> There are some very clever people on this list; how on earth did
> anyone know that.

Most of us probably learned it the hard way, just like you did. :-)

J.
-- 
If I could travel through time I would go back to yesterday and
apologise.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Sony Xperia Z1 USB

2014-05-12 Thread staticsafe
On 5/12/2014 11:39, Edvin Hultberg wrote:
> Tried 'dmesg' and this is what I got that is relevant to the phone:
> [ 5140.841235] usb 4-1.3: new high-speed USB device number 11 using 
> ehci_hcd
> [ 5140.934177] usb 4-1.3: New USB device found, idVendor=0fce, 
> idProduct=019e
> [ 5140.934182] usb 4-1.3: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=3
> [ 5140.934185] usb 4-1.3: Product: C6903
> [ 5140.934187] usb 4-1.3: Manufacturer: Sony
> [ 5140.934189] usb 4-1.3: SerialNumber: BH90G5YV0D
> 
> So the kernel detects it at least.
> 
> Mvh
> Edvin Hultberg

Google tells me this is an Android device. Are you trying to mount the
phone's FS? If so, I believe an option on the phone will trigger
mounting as a "mass-storage device".

-- 
staticsafe
https://asininetech.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370ef3d.5050...@staticsafe.ca



mount inconsistencies

2014-05-12 Thread Jochen Spieker
Hi folks,

this looks very weird to me. My wheezy system claims that a filesystem
is mounted, but the mount directory appears to be empty and umount fails
because the filesystems is not mounted, after all:

| # grep backup /etc/fstab
| /dev/mapper/backup-decrypted  /srv/backup  ext4  
noatime,nodiratime,barrier=1,noauto,nodelalloc  0 0
| 
| # mount | grep backup
| /dev/mapper/backup-decrypted on /srv/backup type ext4 
(rw,noatime,nodiratime,nodelalloc,data=ordered)
| 
| # df -h /srv/backup/
| FilesystemSize  Used Avail Use% Mounted on
| /dev/mapper/backup-decrypted  2.5T  1.8T  699G  72% /srv/backup
| 
| # ls -la /srv/backup/
| total 8
| drwxr-xr-x  2 root root 4096 Oct 21  2011 ./
| drwxr-xr-x 11 root root 4096 Oct 22  2013 ../
| 
| # umount /srv/backup
| umount: /srv/backup: not mounted

I don't think it's important, but the filesystem is encrypted using LUKS
on top of an LVM volume:

| # grep backup /etc/crypttab
| backup-decrypted/dev/mapper/backup2-lvol0   none  
  noauto,luks,cipher=aes-cbc-plain:sha256

Interestingly, when I mount /srv/backup again, I can see its contents
and umount it afterwards. But only once. Complete transcript:

| # mount /srv/backup/
| 
| # ls /srv/backup/
| abattoir/  abattoir-winxp/  cupcake/  jigsaw/  lost+found/  mail/  manowar/  
_manual/  xenhost/
| 
| # mount | grep backup
| /dev/mapper/backup-decrypted on /srv/backup type ext4 
(rw,noatime,nodiratime,nodelalloc,data=ordered)
| /dev/mapper/backup-decrypted on /srv/backup type ext4 
(rw,noatime,nodiratime,nodelalloc,data=ordered)
| 
| # umount /srv/backup
| 
| # umount /srv/backup
| umount: /srv/backup: not mounted

Do you have any ideas what's wrong?

Regards,
J.
-- 
I will not admit to failure even when I know I am terribly mistaken and
have offended others.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Paul E Condon
On 20140513_0014+1000, David wrote:
> On 12 May 2014 23:45, Ron Leach  wrote:
> > On 11/05/2014 22:07, Sven Joachim wrote:
> >>
> >> A simple "mount --bind / /mnt" makes all those files
> >> visible under /mnt, and you can delete them at your leisure.
> >>
> >
> > I mounted the root partition at /mnt/test and used du.
> >
> > server4:/home/ron# du /mnt/test/mnt -hx --max-depth=1
> > 2.7G/mnt/test/mnt/backupserver
> > 0   /mnt/test/mnt/test
> > 2.7G/mnt/test/mnt
> > server4:/home/ron#
> >
> > The 2.7GB is the remnant of a first backup attempt to a new backup server.
> > We backup over NFS, to a server mounted at /mnt/backupserver.
> >
> > During that backup trial, the new backup server was not configured
> > correctly, and this machine had not - actually - seen it, though it had
> > appeared to do so.  As a result, this machine tried to do a backup to that
> > destination, /mnt/backupserver, and had - evidently - filled the root
> > partition before complaining about space.
> >
> > I hadn't understood - then - what had happened, and I corrected (only) the
> > missing NFS export and connectivity.  That fix meant that the mountpoint no
> > longer 'pointed' to a set of directories on the root partition but - instead
> > - to the NFS export (correctly).  A 'proper' backup then succeeded; what I
> > hadn't realised, until now, was that the original set of failed-test
> > directories was still there, filling the partition and, moreover, now
> > invisible.
> 
> Whenever I create a directory that is going to be a mountpoint, I immediately
> set its immutable attribute to prevent exactly this. Nothing can be
> written in an
> immutable directory. chattr must be run by root user.
> 
> # mkdir mountpoint
> # chattr -V +i mountpoint

The fact that a mountpoint can be mis-interpreted by the system for
the root of a directory sub-tree on the parent disk has been around,
as a gotcha, pretty much from the beginning of Unix. 'mountpoint' is
also the name of a test program that allows a sysadmin to test for
this situation. Too much name space overloading here, IMHO, but I
can't make a good suggestion as to what to do about it ;-) 

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512155214.ga32...@big.lan.gnu



Re: Sony Xperia Z1 USB

2014-05-12 Thread Edvin Hultberg
Tried 'dmesg' and this is what I got that is relevant to the phone:
[ 5140.841235] usb 4-1.3: new high-speed USB device number 11 using 
ehci_hcd
[ 5140.934177] usb 4-1.3: New USB device found, idVendor=0fce, 
idProduct=019e
[ 5140.934182] usb 4-1.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 5140.934185] usb 4-1.3: Product: C6903
[ 5140.934187] usb 4-1.3: Manufacturer: Sony
[ 5140.934189] usb 4-1.3: SerialNumber: BH90G5YV0D

So the kernel detects it at least.

Mvh
Edvin Hultberg

On Monday 12 May 2014 17:31:51 staticsafe wrote:
> On 5/12/2014 11:28, Edvin Hultberg wrote:
> > Hello there! First time interacting with this mailing list.
> > 
> > I recently tried connecting my Sony Xperia Z1 to my computer by
> > USB3/USB2. And it didn't quite work as expected. I recently
> > ditched windows in favour of debian 7 with KDE. Is there some
> > sort of debuging to see if debian detects the phone or anyone
> > having experienced the same problem?
> > 
> > More tech details: debian 7 "wheezy", linux 3.2.0-4-amd64, KDE SC
> > Version 4.8.3.
> > 
> > Mvh
> > Edvin Hultberg
> 
> `dmesg` in a terminal will show if the device is being detected at
> the kernel level.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201405121739.55465.hultb...@mittnett.net



Re: Sony Xperia Z1 USB

2014-05-12 Thread staticsafe
On 5/12/2014 11:28, Edvin Hultberg wrote:
> Hello there! First time interacting with this mailing list.
> 
> I recently tried connecting my Sony Xperia Z1 to my computer by 
> USB3/USB2. And it didn't quite work as expected. I recently ditched 
> windows in favour of debian 7 with KDE. Is there some sort of debuging 
> to see if debian detects the phone or anyone having experienced the 
> same problem?
> 
> More tech details: debian 7 "wheezy", linux 3.2.0-4-amd64, KDE SC 
> Version 4.8.3.
> 
> Mvh
> Edvin Hultberg
> 
> 

`dmesg` in a terminal will show if the device is being detected at the
kernel level.

-- 
staticsafe
https://asininetech.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370e967.20...@staticsafe.ca



Sony Xperia Z1 USB

2014-05-12 Thread Edvin Hultberg
Hello there! First time interacting with this mailing list.

I recently tried connecting my Sony Xperia Z1 to my computer by 
USB3/USB2. And it didn't quite work as expected. I recently ditched 
windows in favour of debian 7 with KDE. Is there some sort of debuging 
to see if debian detects the phone or anyone having experienced the 
same problem?

More tech details: debian 7 "wheezy", linux 3.2.0-4-amd64, KDE SC 
Version 4.8.3.

Mvh
Edvin Hultberg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201405121728.30803.hultb...@mittnett.net



Re: One of those threads, old stuff: was Confusion

2014-05-12 Thread Ric Moore

On 05/11/2014 10:41 AM, Steve Litt wrote:

On Sun, 11 May 2014 15:13:21 +0900
Joel Rees  wrote:


On Sun, May 11, 2014 at 10:03 AM, Joshua Anthony
 wrote:

[clip]

I confess to much ignorance of technical detail - despite 45 years
as a computer support engineer, programmer and technical writer, I
still find a lot of stuff hard to grasp. ie. I am old and lazy and
think GUI is a gift from heaven. So would you, if you'd started out
punching ten words of machine code onto paper tape in order to
start up a mainframe system - long before there was any form of
visual display.


Hey can we start one of those those threads? I think the
teletype/paper tape terminal we used in high school to interface with
the IMSAI box we built. (Much gratitude to a teacher who used a lot of
his own money to make that possible for us.) So you've got me beat by
about ten years. But, yeah, Univac 1100 with punched card readers and
less main memory than my M6800 prototyping board, my first year in the
community college's EDP courses. IBM System 34 at my summer job.


Oh, there we go! I was late to the party, so my first computer was a
Heathkit ET6800 Microprocessor Trainer:

http://www.troubleshooters.com/lpm/200610/200610.htm#_Computers_Ive_Known_and_Loved


I had my own personal Unisys 5000/90. Great to see tar actually used on 
real streaming tape drives. Since I leased a commercial building, I 
could supply it with 220V at 60 amps, it required to run it.

http://www.porterdavis.org/computing/sperry.html



--
My father, Victor Moore (Vic) used to say:

"There are two Great Sins in the world...

..the Sin of Ignorance, and the Sin of Stupidity.

Only the former may be overcome." R.I.P. Dad.

https://linuxcounter.net/cert/44256.png

X-oldie-warning: Toothless but still vicious



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5370e871.5030...@gmail.com



Re: Confusion

2014-05-12 Thread Ric Moore

On 05/10/2014 10:14 PM, Chris Bannister wrote:

On Sat, May 10, 2014 at 06:03:35PM -0700, Joshua Anthony wrote:

I have used GNU Linux for years - trying out several distros, all by
downloading the Iso file and writing to CD. Ubuntu, Slackware, Puppy,
and Gnewsense all install just fine after simply right-clicking on the
file and selecting write to CD. No clever stuff with the terminal -
just point and click. But this time it just doesn't work.

For those who didn't notice, I downloaded the file twice, making two
CD's from the first download and one from the second - just in case
anything was corrupted. All the CD's can be opened and their contents
displayed - and all files in readable form can be read.

I would happily stay with Gnewsense but since I recently installed the
latest version, I can't get a couple of much used applications that
worked perfectly with the previous version to run. So I thought I'd
try Debian instead, using exactly the same process, on the same
machine, that I used to successfully install Gnewsense.

This is not rocket science. It's not an abstruse technical problem -
it must be plain old dumbass misunderstanding by me.

Doesn't anyone have a simple answer?


What is the question?



You won't find it in the subject-line, that's for sure. Ric



--
My father, Victor Moore (Vic) used to say:

"There are two Great Sins in the world...

..the Sin of Ignorance, and the Sin of Stupidity.

Only the former may be overcome." R.I.P. Dad.

https://linuxcounter.net/cert/44256.png

X-oldie-warning: Toothless but still vicious



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5370e6de.8070...@gmail.com



Re: Kernel fails to detect internal hard drives after routine apt-get upgrade

2014-05-12 Thread O
Hi Stan et al.,

Booting from the working kernel, I have dumped dmesg here:

http://pastebin.com/MBTDfgc4

I tried to save dmesg booting under the 3.2.0-4_amd64 kernel from within
initramfs, to no avail (I cannot mount usb drives to save the information,
and it does not see the network).  However, when I added "debug" to the
kernel line in the boot command, I was at least able to see the system
messages while the errors were happening.  Here is the relevant block of
text, and sas is involved:

ata7: sas eh calling libata port error handler
sas: sas_ata_hard_reset: Unable to reset I T nexus?
sas: sas_ata_hard_reset: Found ATA device
sas: sas_ata_hard_reset: Unable to soft reset
sas: sas_ata_hard_reset: Found ATA device
ata7: reset failed (errno=-11) retrying in 10 secs

Searching the web for "Unable to reset I T nexus" led me to this thread:

http://www.gossamer-threads.com/lists/linux/kernel/1912604

... which was posted a short time ago and appears to be the identical
problem.  However, I am struggling to understand what I should do in
response.  It seems to be saying that my hardware and its drivers are too
"new" for Wheezy, even though this machine is 2 yrs old??   Does this mean
I have to upgrade to Jessie?

Thanks,

O


Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Curt
On 2014-05-12, Ralf Mardorf  wrote:
> On Mon, 12 May 2014 01:43:16 +0200, Hugo Vanwoerkom   
> wrote:
>> I have a 500GB Western Digital hard drive that I bought in 2012 but it  
>> has never been unpacked and has been sitting on the shelf all this time.  
>> How long can it be considered 'new'? Is it safe to use?
>
> 2 Years in the original packaging on a shelf, in averaged normal  
> conditions = as new and reliable, as a brand spanking new HDD
> A brand spanking new HDD could fail like an used, very old HDD.

Maybe he's got one of the "greens" that gets old fast (once very 8
seconds) if steps aren't taken.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnln1p1v.335.cu...@einstein.electron.org



Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Dan Ritter
On Mon, May 12, 2014 at 02:45:21PM +0100, Ron Leach wrote:
> I mounted the root partition at /mnt/test and used du.
> 
> server4:/home/ron# du /mnt/test/mnt -hx --max-depth=1
> 2.7G/mnt/test/mnt/backupserver
> 0   /mnt/test/mnt/test
> 2.7G/mnt/test/mnt
> server4:/home/ron#
> 
> The 2.7GB is the remnant of a first backup attempt to a new backup
> server.  We backup over NFS, to a server mounted at
> /mnt/backupserver.
> 
> During that backup trial, the new backup server was not configured
> correctly, and this machine had not - actually - seen it, though it
> had appeared to do so.  As a result, this machine tried to do a
> backup to that destination, /mnt/backupserver, and had - evidently -
> filled the root partition before complaining about space.

Here's how to avoid that:

Mount /mnt/backupserver

Make sure your backup system is writing to
/mnt/backupserver/specialcodename/hostname/...

If your backup system can't see the specialcodename directory,
it should not create it, but give an error message instead.
(Test this, and write a wrapper if your backup system
obstinately decides to create intermediate directories for you.)

-dsr-



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512142646.gs26...@randomstring.org



Re: Should hostname always be lower case?

2014-05-12 Thread Darac Marjal
On Mon, May 12, 2014 at 03:03:01PM +0100, Ron Leach wrote:
> List,
> 
> May I ask whether the 'case' of the hostname is important, in the sense that
> use of any upper-case characters may disrupt name resolvers?
> 
> We have a server running wheezy, and we named it D7Server (not d7server).
> Could this matter to any resolver attempting to look up D7Server?  (It might
> matter, for example, if standards allow resolvers, generally, to assume that
> names to be resolved will be lower case.)

RFC 1035 ("DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION"), Section
2.3.3 ("Character Case") states "For all parts of the DNS that are part
of the official protocol, all comparisons between character strings 
(e.g., labels, domain names, etc.) are done in a case-insensitive manner".

In other words, D7Server, d7sevrer and d7SeRvEr are all the same host.
If you have software that confirms this (for example, a mail server
might check that the IP reverse-resolves to that name), then it should
cope with D7Server being transformed to d7server.



signature.asc
Description: Digital signature


Re: Filespace exhaustion on '/' partition

2014-05-12 Thread David
On 12 May 2014 23:45, Ron Leach  wrote:
> On 11/05/2014 22:07, Sven Joachim wrote:
>>
>> A simple "mount --bind / /mnt" makes all those files
>> visible under /mnt, and you can delete them at your leisure.
>>
>
> I mounted the root partition at /mnt/test and used du.
>
> server4:/home/ron# du /mnt/test/mnt -hx --max-depth=1
> 2.7G/mnt/test/mnt/backupserver
> 0   /mnt/test/mnt/test
> 2.7G/mnt/test/mnt
> server4:/home/ron#
>
> The 2.7GB is the remnant of a first backup attempt to a new backup server.
> We backup over NFS, to a server mounted at /mnt/backupserver.
>
> During that backup trial, the new backup server was not configured
> correctly, and this machine had not - actually - seen it, though it had
> appeared to do so.  As a result, this machine tried to do a backup to that
> destination, /mnt/backupserver, and had - evidently - filled the root
> partition before complaining about space.
>
> I hadn't understood - then - what had happened, and I corrected (only) the
> missing NFS export and connectivity.  That fix meant that the mountpoint no
> longer 'pointed' to a set of directories on the root partition but - instead
> - to the NFS export (correctly).  A 'proper' backup then succeeded; what I
> hadn't realised, until now, was that the original set of failed-test
> directories was still there, filling the partition and, moreover, now
> invisible.

Whenever I create a directory that is going to be a mountpoint, I immediately
set its immutable attribute to prevent exactly this. Nothing can be
written in an
immutable directory. chattr must be run by root user.

# mkdir mountpoint
# chattr -V +i mountpoint


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAMPXz=rhsxkrdyn9zaw9jyvn7x1-vl7t061bnfxe5afyyqc...@mail.gmail.com



Re: Should hostname always be lower case?

2014-05-12 Thread Reco
 Hi.

On Mon, May 12, 2014 at 03:03:01PM +0100, Ron Leach wrote:
> List,
> 
> May I ask whether the 'case' of the hostname is important, in the
> sense that use of any upper-case characters may disrupt name
> resolvers?
> 
> We have a server running wheezy, and we named it D7Server (not
> d7server).  Could this matter to any resolver attempting to look up
> D7Server?  (It might matter, for example, if standards allow
> resolvers, generally, to assume that names to be resolved will be
> lower case.)

RFC 952 specifies that:

A "name" (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of "domain style names". (See
   RFC-921, "Domain Name System Implementation Schedule", for
   background).  No blank or space characters are permitted as part of a
   name. ** No distinction is made between upper and lower case. **


Therefore any conventional DNS should thread D7Server and d7server
the same.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512141400.GA17502@x101h



Should hostname always be lower case?

2014-05-12 Thread Ron Leach

List,

May I ask whether the 'case' of the hostname is important, in the 
sense that use of any upper-case characters may disrupt name resolvers?


We have a server running wheezy, and we named it D7Server (not 
d7server).  Could this matter to any resolver attempting to look up 
D7Server?  (It might matter, for example, if standards allow 
resolvers, generally, to assume that names to be resolved will be 
lower case.)


regards, Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5370d495.9070...@tesco.net



Re: FileLink server

2014-05-12 Thread Scott Ferguson
On 12/05/14 23:14, Jerome BENOIT wrote:
> Hello List,
> 
> how to set up its own Filelink ( 
> https://support.mozilla.org/en-US/kb/filelink-large-attachments ) server ?

https://support.mozilla.org/en-US/kb/filelink-large-attachments#w_q-what-storage-services-are-currently-supported

"Q: What storage services are currently supported?

A: As of Thunderbird 16, we have


DL for Thunderbird may be the best if you prefer using your own
server instead of relying on 3rd-party providers."


Is this what you server you want - one that's compatible with "DL for
Thunderbird"?

http://www.thregr.org/~wavexx/software/dl/index.html

dl: download ticket service

dl is a file exchange service that allows you to upload any file to a
web server and generate a unique ticket for others to download. The
ticket is automatically expired according to the specified rules, so
that you don't need to keep track or cleanup afterward. dl also allows
you to grant an anonymous, one-time upload for others to send you a
file, without the requirement of account management.

dl is usually installed as a "email attachments replacement" due to its
simplicity (though can be used in other ways).

Requirements

PHP 5.3 or higher.
PHP SQLite module (or another PDO database module).
PHP mbstring module.
PHP OpenSSL module.
Web server access for installation and setup.

Optionals:

PHP 5.4+ or PHP APC/APCu module, for the upload progress-bar.

Good looking instructions on the site for apache/lightpd/nginx (I
haven't set up one of these servers but it looks simple to implement in
Debian).



> 
> Best wishes,
> Jerome
> 
> 

Kind regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370d13f.1010...@gmail.com



Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Ron Leach

On 11/05/2014 22:07, Sven Joachim wrote:

A simple "mount --bind / /mnt" makes all those files
visible under /mnt, and you can delete them at your leisure.



I mounted the root partition at /mnt/test and used du.

server4:/home/ron# du /mnt/test/mnt -hx --max-depth=1
2.7G/mnt/test/mnt/backupserver
0   /mnt/test/mnt/test
2.7G/mnt/test/mnt
server4:/home/ron#

The 2.7GB is the remnant of a first backup attempt to a new backup 
server.  We backup over NFS, to a server mounted at /mnt/backupserver.


During that backup trial, the new backup server was not configured 
correctly, and this machine had not - actually - seen it, though it 
had appeared to do so.  As a result, this machine tried to do a backup 
to that destination, /mnt/backupserver, and had - evidently - filled 
the root partition before complaining about space.


I hadn't understood - then - what had happened, and I corrected (only) 
the missing NFS export and connectivity.  That fix meant that the 
mountpoint no longer 'pointed' to a set of directories on the root 
partition but - instead - to the NFS export (correctly).  A 'proper' 
backup then succeeded; what I hadn't realised, until now, was that the 
original set of failed-test directories was still there, filling the 
partition and, moreover, now invisible.


There are some very clever people on this list; how on earth did 
anyone know that.


I need one more piece of advice.  I will delete those files but 'I 
think' I need to keep


/mnt/test/mnt - because that's the main server fs /mnt directory

/mnt/test/mnt/backupserver - because that's the normal NFS mountpoint 
for the backups


and I think I can delete everything within, and beneath,
/mnt/test/mnt/backupserver

Does anyone see a problem with what I intend to do?

regards, Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5370d071.9070...@tesco.net



Re: Multifonction réseau fonctionnant avec linux.

2014-05-12 Thread Gilles Mocellin

Le 12/05/2014 11:50, Pascal Legrand a écrit :

Actuellement, j'ai une HP OfficeJEt 8600 Plus. Réseau filaire et Wifi,
mais j'utilise le filaire.
Le scanner fonctionne avec sane, mais j'utilise la fonction scan vers un
répertoire réseau (SMB), que j'ai créé sur mon NAS.
On peut aussi le faire via mail ou FTP.


A vrai dire je lorgne un peu sur celle-ci. En êtes vous satisfait ?
consommation encre, installation, fonctionnement scanner ?
Fonctionne t'elle "out of the box" avec les drivers des dépots debian ?

Merci


Pour la consommation, je ne peu pas encore trop dire. Je suis toujours 
sur les cartouche originales. J'imprime moins que je scan.

En tout cas tout a fonctionner "out of the box".
Je suis en Debian SID, ais je ne pense pas qu'à ce niveau il y ait tant 
de nouveautés.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5370cba6.3030...@nuagelibre.org



Re: FileLink server

2014-05-12 Thread Reco
 Hi.

On Mon, May 12, 2014 at 03:14:49PM +0200, Jerome BENOIT wrote:
> Hello List,
> 
> how to set up its own Filelink ( 
> https://support.mozilla.org/en-US/kb/filelink-large-attachments ) server ?

Your link says:

Last but not least, you can use Filelink with a WebDAV server with the
WebDAV for Filelink add-on.

Therefore, you setup your own WebDAV (stock debian apache2 will do),
install this 'WebDAV for Filelink' gizmo for the Thunderbird, and …
that's all that is needed.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512132737.GA13542@x101h



FileLink server

2014-05-12 Thread Jerome BENOIT
Hello List,

how to set up its own Filelink ( 
https://support.mozilla.org/en-US/kb/filelink-large-attachments ) server ?

Best wishes,
Jerome


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5370c949.70...@rezozer.net



Re: [OT] How long is an unused HD 'new'?

2014-05-12 Thread Darac Marjal
On Sun, May 11, 2014 at 06:43:16PM -0500, Hugo Vanwoerkom wrote:
> Hi,
> 
> I have a 500GB Western Digital hard drive that I bought in 2012 but it has
> never been unpacked and has been sitting on the shelf all this time. How
> long can it be considered 'new'? Is it safe to use?

So, what could go wrong with a hard drive in storage? Thermal noise
could flip some bits on the plater, but that's going to be rare and,
with no data on the disk, shouldn't matter a great deal. 

People talk about lubricants evaporating and causing the motor and/or
head to seize, but remember that the drive is designed to run hotter and
harder than it will be in storage.

Magnetic fields or ESD could damage the control circuitry, but if the
drive is still in it's original packaging, then that will protect it
from most of what could happen in transit.

So, in my estimation, a hard drive should be good to go after 10-20
years on the shelf. Beyond that, it may be more hassle finding a
suitable computer to run the drive on than it's worth.

At 2 years old, the drive should still be fresh as it was when bought.



signature.asc
Description: Digital signature


Re: iodined: open_tun: /dev/net/tun: Operation not permitted

2014-05-12 Thread Darac Marjal
On Sat, May 10, 2014 at 12:03:24PM +, Morning Star wrote:
> Hi guys,
> I got error when executing iodined at my vps:
> 
> $ sudo iodined -f -P test1 192.168.0.1 localhost
> iodined: open_tun: /dev/net/tun: Operation not permitted: Operation
> not permitted
> 
> 
> so i check
> -. iodine version:
> iodine IP over DNS tunneling server
> version: 0.5.1 from 2009-03-21
> 
> -. uname
> 2.6.32-042stab068.8 #1 SMP Fri Dec 7 17:06:14 MSK 2012 i686 i686 i386 
> GNU/Linux
> 
> -. ls -l /dev/net/tun
> 
> rw-rw-rw- 1 root root 10, 200 May  5 00:24 /dev/net/tun
> 
> how can i resolve this problem? thanks in advance.

Check that the "tun" module is loaded (lsmod will tell you, modprobe tun
will insert it if not). 



signature.asc
Description: Digital signature


Re: minimal X.org xserver installation on Debian Wheezy

2014-05-12 Thread Brian
On Sun 11 May 2014 at 16:35:42 -0700, Patrick Bartek wrote:

> On Sun, 11 May 2014, Martin T wrote:
> 
> > Thank you for replies! As I understand, "xserver-xorg" will install
> > /usr/bin/X binary, which is a X Window Server itself and "xinit"
> > installs the /usr/bin/xinit utility which starts the X Window Server
> > and window manager(dwm in my case) as a X Windows Server client. As I
> 
> All I installed to get a running X on my Wheezy/Openbox "minimal" system
> was xserver-xorg-core and xinit.

You probably did this at a time when a video driver would have been
pulled in by xserver-xorg-core because it depended on xserver-xorg. This
dependency has gone so there might be a problem getting X running with
these two packages alone.

 xorg-server (2:1.9.4-2) unstable; urgency=low
 .
   * Put an end to the dependency hell! Now that we have proper
 dependencies between drivers and the server, remove xserver-xorg from
 xserver-xorg-core's Depends (Closes: #362313). In a nutshell, one may
 want to choose between installing:
 - xserver-xorg-core: the server itself, with no strings attached.
 - xserver-xorg: pulls the server and drivers, contains the X wrapper
   and some documentation.
 - xorg: pulls xserver-xorg as well as various X11 clients and fonts.

 -- Cyril Brulebois   Wed, 16 Feb 2011 23:17:07 +0100


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512121441.gx17...@copernicus.demon.co.uk



Re: need a flac utility

2014-05-12 Thread Rob Owens
On Sat, May 03, 2014 at 01:18:38PM -0400, Frank McCormick wrote:
> On 03/05/14 11:51 AM, Jochen Spieker wrote:
> >Frank McCormick:
> >>
> >>I need a utility to allow me to breakup a FLAC sound file. It's
> >>apparently a collection of flac files merged together.
> >>I also have a file which ends in the extension ".cue"
> >>It's a formatted listing of the individual files in
> >>the larger flac file.
> >>
> >>Is a utility available for Debian (Sid) ?
> >
> >My web search suggests that shntool can do this:
> >
> >shntool split -f $cuefile -o flac *.flac
> >
> >I didn't try it myself.
> >
> 
>Installed it...and after some fiddlingit worked.
> I will have to rename the files..it didn't keep the original file
> names in the cue sheet for some reason...but I am 95% there.
> 
> Thanks very much.
> 
You can tag the files based on the *.cue file like this:

cuetag *.cue split-track*.flac

I think the package you need to install for this is cuetools.

-Rob


signature.asc
Description: Digital signature


Re: minimal X.org xserver installation on Debian Wheezy

2014-05-12 Thread Marko Randjelovic
On Sun, 11 May 2014 13:14:28 +0300
Andrei POPESCU  wrote:

> These two have been replaced by xserver-xorg-input-evdev
>  
> > xserver-xorg-video-radeon
> > xserver-xorg-video-ati
> > 
> > I'm fairly sure I installed the Recommends:. You may need to have
> > different video packages. 
> 
> Last time I did this I also needed an xfonts- package, like xfonts-base, 
> but since it is a Recommends: of xserver-common I will probably be 
> pulled in if one doesn't disable them.
> 
> Kind regards,
> Andrei

You will need xbase-clients as well.

-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512124345.19435...@eunet.rs



Re: Kernel fails to detect internal hard drives after routine apt-get upgrade

2014-05-12 Thread Pertti Kosunen

On 12.5.2014 7:17, O wrote:

The output from dmesg is long.


You can dump it to http://pastebin.com/ .


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/537094f0.2080...@pp.nic.fi



Journalism Data Analysis

2014-05-12 Thread Weaver
Greetings all,

I don't actually see this as being so much of a problem. Does anybody know
of anything specifically customised to purpose as yet?

"academic computer scientists have upped the ante yet again, calling for
the creation of a new field: "computational journalism." They foresee the
development of algorithms that can automatically do much of the data
analysis and pattern recognition now being done manually."

I can't find anything in a packet search.
Thanks for any time and trouble.

Weaver.


-- 
"It is the duty of the patriot to protect his country from its  government."
 -- Thomas Paine

Registered Linux User: 554515



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/3a402e644efb173fdb48b0b0a7f76038.squir...@fruiteater.riseup.net



Re: Can't boot after harddrive replacement

2014-05-12 Thread Klaus
On 11/05/14 09:46, Itay wrote:> Hi
>  
>  
> Summary of steps
>  
> 1. Using rsync -aHq I backed up most of the file system (excluding
> /proc, /sys, /run, /srv, and /tmp)



On 11/05/14 20:38, Itay Furman wrote:
>  
>  
> Well, right.  Here is some of the output (manually typed)
>  
> mount point /proc does not exist [Note: similar errors for few more
> missing mount points such as /usr/local, /cache]
> special device /dev/sda1 does not exist  [Note: that's the would be
> /boot partition]
> special device /dev/mapper/vg-home does not exist [Note: would-be /home
> reside on a Logical Volume vg/home]
> [Same error for the other file trees that reside on Logical Volumes]

Itay

after you had rsync-ed most of the filesystem over to the new disk, did
you then manually create the special mount points you'd left out, like
/proc, /sys ...  ?

-- 
Klaus


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/537082ba.3090...@gmail.com



Re: Can't boot after harddrive replacement

2014-05-12 Thread Steve Litt
On Mon, 12 May 2014 03:26:08 -0400
Steve Litt  wrote:

> On Sun, 11 May 2014 22:38:20 +0300
> Itay Furman  wrote:
> 
> > mount point /proc does not exist [Note: similar errors for few more
> > missing mount points such as /usr/local, /cache]
> > 
> > special device /dev/sda1 does not exist  [Note: that's the would be
> > /boot partition]
> > 
> > special device /dev/mapper/vg-home does not exist [Note:
> > would-be /home reside on a Logical Volume vg/home]
> > 
> > [Same error for the other file trees that reside on Logical Volumes]
> > 
> 
> OK, next test: Let's find out why the /dev/sd?? mounts didn't work.
> What's the output of:
> 
> lsblk
> sudo blkid
> 
> Note: If sudoers won't let you do blkid, just do it as root.
> 
> SteveT

IMPORTANT: I forgot to say that the preceding two commands should be
done after booting the live CD and chrooting to the supposed root
partition on the new drive.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512034638.05d48812@mydesk



Re: Can't boot after harddrive replacement

2014-05-12 Thread Steve Litt
On Sun, 11 May 2014 22:38:20 +0300
Itay Furman  wrote:

> mount point /proc does not exist [Note: similar errors for few more
> missing mount points such as /usr/local, /cache]
> 
> special device /dev/sda1 does not exist  [Note: that's the would be
> /boot partition]
> 
> special device /dev/mapper/vg-home does not exist [Note:
> would-be /home reside on a Logical Volume vg/home]
> 
> [Same error for the other file trees that reside on Logical Volumes]
> 

OK, next test: Let's find out why the /dev/sd?? mounts didn't work.
What's the output of:

lsblk
sudo blkid

Note: If sudoers won't let you do blkid, just do it as root.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140512032608.4d06ac71@mydesk