Re: System hangs due to NFS share

2012-01-23 Thread Sylvain
2012/1/23 Frank :
> On Mon, 2012-01-23 at 11:47 +0100, Sylvain wrote:
>
>> I already tried this option too, but it didn't help. Also according to
>> the manpage:
>>
>> > The intr / nointr mount option is deprecated after kernel 2.6.25.  Only 
>> > SIGKILL can interrupt a pending NFS operation on these kernels, and  if  
>> > specified, this mount option is ignored to provide backwards compatibility 
>> > with older kernels.
>
> OK, the man page is not yet available on lenny.
>
> Have you tried to kill the process using SIGKILL? What happens if you
> do? I assume this behaviour is related to the state TASK_KILLABLE which
> was introduced in kernel 2.6.25. In previous kernels a process waiting
> for I/O was in TASK_UNINTERRUPTIBLE and never get the signal you send
> it.
>
> Frank

I tried to SIGKILL the [nfsiod] process but it didn't get killed. I
also tried to kill the various rpcbind processes but it didn't change
anything.

I also tried autofs as Scott suggested, but the same problem occured
when I unplugged the network cable (most of the system hangs, can't
reboot nor halt). Here's how I configured autofs:

/etc/auto.misc:
bazinga -retry=1,rw,hard,size=8192,wsize=8192 192.168.2.77:/DataVolume/Public

/etc/auto.master:
/misc   /etc/auto.misc --timeout 20

Here's what I found in the syslog:

> Jan 23 22:59:17 cid kernel: [  510.944160] nfs: server 192.168.2.77 not 
> responding, still trying
> Jan 23 23:01:22 cid kernel: [  635.616161] nfs: server 192.168.2.77 not 
> responding, still trying
> Jan 23 23:01:46 cid sm-notify[841]: DNS resolution of Bazinga.local failed; 
> retrying later
> Jan 23 23:03:51 cid sm-notify[841]: DNS resolution of Bazinga.local failed; 
> retrying later
> Jan 23 23:05:56 cid sm-notify[841]: DNS resolution of Bazinga.local failed; 
> retrying later
> Jan 23 23:07:56 cid sm-notify[841]: Unable to notify Bazinga.local, giving up

I'm not sure why it's trying to resolve the "bazinga.local" name, and
even when it gave up with the resolution, it didn't unfreeze anything.
Also nfs seems to be still trying to reach the server (the cable was
unplugged at 22:56).

Thanks for your help,
Sylvain


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cajwbqfoiao3eee_or-ijxv5c_ryu+6bistemp1jdsvukhpw...@mail.gmail.com



XFCE and automatic monitor detection

2012-01-23 Thread Mike Castle
This is mostly a laptop question, but probably general enough that I
want to post it here instead.

So one thing that I think Gnome2 had over XFCE  is better multiple
monitor support.  I could plug in a new monitor and the right thing
would just happen.  More importantly, I could unplug the monitor, and
everything would automatically collapse down onto the laptop.
Particularly useful if your screen is now locked.

XFCE seems to have a different philosophy on this matter:  use xrandr
(or similar).

Fine...OK... so rather than having to fire up arandr every time or
a script (tough to do if your screen is locked and the password
display is on the disconnected monitor), I'd like to have it happen
automatically.

So what kind of options do I have?

Some searching seems to indicate that it's a matter of polling.
Something akin to running xrandr -q every so often, and when a state
changes, do something appropriate.  There seems to be a hint that some
sort of even could be fired and caught instead (via acpi, dbus, other
assorted buzzwords), but that maybe it doesn't really work.


Does there exist any software that I can just run at login time that I
can configure such that ``when you see these particular monitors
attached, switch into this mode.'' However it does that, I don't care
as long as it doesn't bog down the machine.  And ideally work if a
monitor is unplugged when the machine is locked.

If not, what would be my approach for writing something for myself?

Thanks,
mrc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+t9iMzvqEKXLZy1_BXcg5-VCz_9=npV=wmylymogsfpns4...@mail.gmail.com



Re: default resolution on distro boot

2012-01-23 Thread Paul E Condon
On 20120123_154710, mik...@softhome.net wrote:
> Given that several Linux distros identify (on boot) my display brand
> and type, get the size only slightly wrong, but default to a
> resolution that isn't native and doesn't work correctly, how do I
> identify just what package, module, or kernel part this "bug" hides
> in?
> I'm using a Sharp 32" LCD tv via hdmi cable, and it's identified as a 37".
> That's not as important as the default resolution, which comes up as
> 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).

When I had a similar problem a few years ago, I was given a magic
spell that worked for me. Create a file, /etc/X11/xorg.conf, a put
the following in it:

Section "Device"
Identifier  "Configured Video Device"
Option  "UseBIOS"   "off"
EndSection

This disables a section of the "BIOS" of the video display
monitor. (NOT the 'BIOS' of the computer) . Some manufactures
seem to have seem to have recorded operating parameters for
a CRT monitor into their flatscreen displays. Or some such
craziness. As I say, except for the crazy explanation, this
is purely a magic incantation that has worked for me. 

YMMV, HTH, etc..etc. 
See man xorg.conf for a more impressive explanation.

-- 
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: http://lists.debian.org/20120124040611.ga...@big.lan.gnu



Re: default resolution on distro boot

2012-01-23 Thread Ashton Fagg
On 24 January 2012 08:47,   wrote:
> Given that several Linux distros identify (on boot) my display brand and
> type, get the size only slightly wrong, but default to a resolution that
> isn't native and doesn't work correctly, how do I identify just what
> package, module, or kernel part this "bug" hides in?
> I'm using a Sharp 32" LCD tv via hdmi cable, and it's identified as a 37".
> That's not as important as the default resolution, which comes up as
> 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).

Can you please clarify which build of Debian you're using? (stable,
testing etc) Also, do you mean that the boot process shows up at the
wrong resolution and it actually works fine when X starts, or it
doesn't work correctly at all? Perhaps I'm reading you're question
wrong...

Ashton


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cafxd2aokykm+s5+qv7mchiscqaoryj_9qdct0edzh97fspk...@mail.gmail.com



Re: Install Nvidia Video Card (Nvidia Geforce GT 520)

2012-01-23 Thread Ashton Fagg
On 23 January 2012 21:15, Brad Rogers  wrote:
>
> NVidia stuff isn't in DMM, it's in non-free and contrib.  Further, why
> bother with all the grief you suggest when the *dkms package(s) will
> handle all that stuff for you?

+1 The dkms is the only good choice if you're absolutely forced to use
the proprietary (*spits*) drivers. It works quite well even on
backports kernels.

Ashton


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAFxD2apJ53adtT3WN-gU=wcmz6evv2dqhkktzwzjnlxa2nz...@mail.gmail.com



Re: How-to blacklist a package during Debian preseed ?

2012-01-23 Thread Alexey Eromenko
thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOJ6w=gnkceukd4cwtxrezw5hkdg116r3+sdbxt7zq75b0o...@mail.gmail.com



Microsoft Natural Ergonomic 4000 keyboard

2012-01-23 Thread Ashton Fagg
Hi all,

Can anyone tell me how the Microsoft Natural Ergonomics 4000 keyboard
works with Debian (and if possible, also with XFCE) in regards to the
multimedia keys etc? I'm not afraid of having to deal with Xmodmap.

Ashton


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



Re: xfs backup system vs rsynce

2012-01-23 Thread Stan Hoeppner
Nicolas why are you just now replying to a post that is *10 months* old?

-- 
Stan


On 1/23/2012 8:27 AM, Nicolas Bercher wrote:
> Dan a écrit :
>> I use rdiff-backup it uses the rsync alorythm but it keeps the
>> increments so you can recover deleted files or the old form of file. I
>> makes weekly backups and delete files in the backup files which are
>> older than 3 months.
> 
> Take care with --remove-older-than option, as the man page says:
> 
> "Note that snapshots of deleted files are covered by this operation.
> Thus if you deleted a file two weeks ago, backed up immediately after‐
> wards, and then ran rdiff-backup with --remove-older-than 10D today, no
> trace of that file would remain."
> 
> You can loose valuable old files.  So, one thing I really miss in
> rdiff-backup is an option to remove backups older than 
> AND newer than .  Thus, I could reduce daily
> backups to weekly, etc.  But still, I can loose files.
> 
> In a near future, I think I'll switch to venti(1) and/or vbackup(8) of
> "Plan 9 port":
> 
>   http://swtch.com/plan9port/
> 
> Venti is "Write Once Read Many" archival storage server used to store
> files hierarchy for example.  On the other hand, Vbackup is used to
> store efficiently entire logical volumes from *nix to a Venti server.
> 
> But this involves to know a little about Plan 9 concepts, etc.
> 
> Nicolas
> 
> -- 
> http://swtch.com/plan9port/man/man1/venti.html
> http://swtch.com/plan9port/man/man8/venti.html
> http://swtch.com/plan9port/man/man8/vbackup.html
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f1dff0b.8080...@hardwarefreak.com



Re: default resolution on distro boot

2012-01-23 Thread Scott Ferguson
On 24/01/12 09:47, mik...@softhome.net wrote:
> Given that several Linux distros identify (on boot) my display brand and
> type, get the size only slightly wrong, but default to a resolution that
> isn't native and doesn't work correctly, how do I identify just what
> package, module, or kernel part this "bug" hides in?
> I'm using a Sharp 32" LCD tv via hdmi cable, and it's identified as a 37".
> That's not as important as the default resolution, which comes up as
> 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).
> 
What do you mean by "doesn't work correctly"?
You probably should not expect the same display quality on a "tv"
display as a PC display.

Are they all using the same driver[*1], have you cycled through all the
modes "they" support[*2], does your graphics card support all the modes
your display is capable of, etc.

[*2]Ctrl++, Ctrl--, or xrandr


The actual model of your television will allow you to find out what it's
capable of - unless the display shows errors you could presume that it
is being detected properly, just not the same RRate/Resolution/driver.

Please post the Debian information. Use pastebin.debian.net (or pastebinit).

[*1]/var/log/Xorg.0.log
$ lspci | grep VGA
and any warnings, errors, or fails from dmesg


Cheers
-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


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



Re: directory synchronisation

2012-01-23 Thread Nicolas Bercher

On 23/01/2012 19:58, Andrei POPESCU wrote:

On Lu, 23 ian 12, 14:40:40, Nicolas Bercher wrote:


An abandoned project, tra by Russ Cox, was about synchronizing several
computers (N>=2) "the way" unison does for two computers only:

   http://swtch.com/tra/

I think, the underlying idea is just great.  Sources are available
but some bugs where identified.  If someone wants to take over this
project...


Joey Hess' git-annex[1] also looks very interesting :)

[1] http://git-annex.branchable.com/


Yes, I discovered this a few months ago, there are great ideas in
git-annex!  For the moment, I use git alone to manage my files and
I plan to use Plan 9's Venti to store files 'forever'.

Nicolas


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

Archive: http://lists.debian.org/4f1dedbd.7020...@yahoo.fr



Re: gdm3 - how to put a picture on the login screen?

2012-01-23 Thread Rob Owens
On Sun, Jan 22, 2012 at 07:55:42PM -0500, Rick Thomas wrote:
> In an effort to make my life with wheezy more beautiful/serene and
> less silly-looking, I've been exploring ways to personalize the
> various screen parts.
> 
> The gdm3 login screen by default provides a list of possible users
> and their names with a place that looks like it's intended to hold a
> picture (or avatar, if you will) of the person.
> 
> How does one set that avatar to something more interesting than the
> default shadow head?
> 
Get a picture file and name it /home/$USER/.face

GDM3 will/should find that and add it to the face browser.

I recall reading that you could also add a picture in "About Me" in
System, Preferences. 

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120123232723.gc19...@aurora.owens.net



default resolution on distro boot

2012-01-23 Thread mikezb
Given that several Linux distros identify (on boot) my display brand and 
type, get the size only slightly wrong, but default to a resolution that 
isn't native and doesn't work correctly, how do I identify just what 
package, module, or kernel part this "bug" hides in?

I'm using a Sharp 32" LCD tv via hdmi cable, and it's identified as a 37".
That's not as important as the default resolution, which comes up as
1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable). 



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

Archive: http://lists.debian.org/courier.4f1de36e.1...@softhome.net



Re: icedove 8.0-2 not opening http links in browser

2012-01-23 Thread MRH

On 20/01/12 19:45, MRH wrote:
[...]



Try changing those to:-
network.protocol-handler.app.http => user set => string =>
/usr/bin/iceweasel
network.protocol-handler.app.https => user set => string =>
/usr/bin/iceweasel

I'll try it tonight, but this seems wrong - instead of using the system
default it will use a forced one.

Tried, but it didn't work.

... still trying to find a solution. Perhaps one of the next updates 
will solve my problem.


Kind regards,
Michal
--
Michal R. Hoffmann


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

Archive: http://lists.debian.org/4f1de138.4030...@o2.pl



Re: [Fwd: Re: enable i915 rc6 save 7 watt on kernel 3.2]

2012-01-23 Thread Martin Steigerwald
Am Freitag, 20. Januar 2012 schrieb kei...@strucktower.com:
> > On Thu, Jan 19, 2012 at 10:29:19AM +0100, Martin Steigerwald wrote:
> >> merkaba:~> cat /etc/modprobe.d/i915-kms.conf
> >> options i915 modeset=1 i915_enable_rc6=1 i915_enable_fbc=1
> >> semaphores=1
> 
> When I try to use this line of options I get an error message saying
> i915_enable_fcb is an unknown parameter. Is that for kernel 3.2 only?

That was misspelled as you found out meanwhile.

> What does that parameter refer to? I tried googling on
> "i915_enable_fcb" to no avail.

Look at my initial response, I added the links in the comments for this 
configuration file for a reason.

Especially:

merkaba:~> cat /etc/modprobe.d/i915-kms.conf 
[…]
# Eugeni Dodonov, Intel Linux Graphics
# Following the open source road from Kernel to UI toolkits
# http://www.scribd.com/doc/73071712/Intel-Linux-Graphics
options i915 modeset=1 i915_enable_rc6=1 i915_enable_fbc=1 semaphores=1

I do not use a power meter. I used earlier powertop versions (prior to 
version 2) with my ThinkPad T42 on battery, the newer ones do not show 
power consumption on battery anymore. I think it should be viewable by 
some acpi command.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201201232145.29372.mar...@lichtvoll.de



Re: server crashes on debian.

2012-01-23 Thread Joey L
thanks for the input -
I am suspecting hardware myself..but can see anything in the logs or elsewhere.
It seems that when i run a backup script in screen - it seems to be
putting the server in a freezing state (can not get the numlock light
to come on when pressed).
The script only does a mysqldump and tar  - that is all.

any other thoughts would be appriciated.

On Mon, Jan 23, 2012 at 4:03 AM, Joe  wrote:
> On Sun, 22 Jan 2012 14:43:11 -0500
> Joey L  wrote:
>
>> I am experience intermitten server crashes and driving me nuts!
>> Is there a way to tell what in fact is causing the crash?
>> A log perhaps or a snapshot of running processes or memory issues ?
>> thanks
>> mjh
>>
>>
>
> If you're running Debian Stable with no software from anywhere else,
> then it's very nearly certainly a hardware or environmental problem.
> Even Windows Server users now look at hardware first, and I'd back
> Stable over Server any day.
>
> Look for dust in fan guards, filters, heatsinks, ventilation slots,
> re-seat motherboard connectors, RAM, cards, etc. If it's hardware, logs
> may well show nothing.
>
> If any changes have been made recently, they are also suspect. Many
> types of motherboard will accept RAM in all slots only for specific
> models of RAM as certified by the motherboard maker, some cards work
> better on some MBs than others. Even out-of-spec cables can cause
> intermittent troubles.
>
> How about power glitches? Some computers can run for longer than others
> when the mains goes missing, if other computers have no problems it
> doesn't mean there are no problems.
>
> --
> Joe
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20120123090355.16fbd...@jretrading.com
>


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



Re(4): POP3 in Debian

2012-01-23 Thread peasthope
*   From: peasth...@shaw.ca
*   Date: Fri, 20 Jan 2012 11:31:50 -0800
> (POP3 server run by Shaw ISP) - (My Linux router) - (MUA on Oberon 
> workstation).

*   From: Camaleón 
*   Date: Fri, 20 Jan 2012 21:46:22 + (UTC)
> That's the most basic setup.

Thanks!

From:   Andrei POPESCU 
Date:   Sat, 21 Jan 2012 22:17:08 +0200
> ... due to your complicated e-mail setup, ...

Camaleón doesn't agree.  Oh well.  It's the simplest arrangement 
I've found.

Regards,  ... Peter E.


-- 
Telephone 1 360 639 0202.  bcc: peasthope ... shaw.ca
"http://carnot.yi.org/ "
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171057399.48102.41051@heaviside.invalid



Re: ext4 extends implementation question

2012-01-23 Thread Arno Schuring
Alberto Fuentes (alberto.fuen...@qindel.com on 2012-01-23 09:24 +0100):
> On 01/10/2012 11:31 PM, Arno Schuring wrote:
> > afuentes (alberto.fuen...@qindel.com on 2012-01-10 10:33 +0100):
> >> What happens when you run out of space to allocate new extends in
> >> ext4? is not allowed to write anymore even tho there are tons of
> >> blocks available?
> >
> > I'm unsure what you mean. Extents is only an optimization strategy
> > for allocating contiguous blocks. If there are no contiguous
> > blocks, ext4 falls back to allocating singular blocks, but with
> > normal usage patterns you should never get "tons of blocks
> > available" with none of them contiguous.
> >
> > At least, that's how I understand it. Are you getting allocation
> > failures with still plenty of space available?
> >
> >
> > Regards,
> > Arno
> >
> >
> 
> This is how i see it
> 
> [X][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
> [X][X][X][X][ ][ ][ ][ ][ ][ ][ ][ ]
> [X][X][X][X][X][X][X][X][ ][ ][ ][ ]
> [X][X][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
> [X][X][X][ ][ ][ ][ ][ ][ ][ ][ ][ ]
> [-][-][-][-][-][-][-][-][-][-][-][-]
> [-][-][-][-][-][-][-][-][-][-][-][-]
> 
> row= extends
> [x]= used
> [ ]= allocated
> [-]= free

That's not how extents work. What you are describing is a large block
granularity, not extents-based allocation. There is no reason why the
next allocation can't happen like this:

[X][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
[X][X][X][X][ ][ ][ ][ ][ ][ ][ ][ ]
[X][X][X][X][X][X][X][X][A][A][A][A]
[X][X][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
[X][X][X][ ][ ][ ][ ][ ][ ][ ][ ][ ]
[-][-][-][-][-][-][-][-][-][-][-][-]
[-][-][-][-][-][-][-][-][-][-][-][-]


Regards,
Arno


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120123202148.3be5a...@viper.intra.loos.site



Re: directory synchronisation

2012-01-23 Thread Andrei POPESCU
On Lu, 23 ian 12, 14:40:40, Nicolas Bercher wrote:
> 
> An abandoned project, tra by Russ Cox, was about synchronizing several
> computers (N>=2) "the way" unison does for two computers only:
> 
>   http://swtch.com/tra/
> 
> I think, the underlying idea is just great.  Sources are available
> but some bugs where identified.  If someone wants to take over this
> project...

Joey Hess' git-annex[1] also looks very interesting :)

[1] http://git-annex.branchable.com/

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: how to download the packages in Debian testing non-free before installing?

2012-01-23 Thread Andrei POPESCU
On Lu, 23 ian 12, 15:55:04, lee wrote:
> Andrei Popescu  writes:
> 
> > On Jo, 19 ian 12, 01:20:18, lee wrote:
> >> 
> >> Well, this laptop has two harddrives out of which I´ll make a
> >> software RAID-1. Last time I checked, installing and booting from a
> >> RAID was only possible by using LVM (and md), and the d/i of Testing
> >> was able to do that pretty easily for me. 
> >
> > No, you don't need LVM and even the grub in squeeze can boot from md 
> > devices.
> 
> Apparently it can´t boot from RAID on this laptop.  I have tried a lot
> of different configurations, i. e. with LVM and without and with
> different partition layouts.  Either grub couldn´t be installed or when
> booting the system from the harddisk after the installation finished,
> grub got stuck at the "Welcome to grub" message before showing the boot
> menu.

Other than "make sure you are using grub2" (package grub-pc) I can give 
you no advise. The only system with RAID I do maintain was installed via 
debootstrap, not D-I.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Getting java applications to look like GTK

2012-01-23 Thread Steve Mayer
On Jan 23, 2012, at 9:01 AM, Christian Dysthe wrote:
> Hi,
> 
> When I run Gnome Java applications looks like the rest of my GTK based 
> applications. However, when I'm running another DE (Pekwm/tint2) Java 
> applications do not look like my other GTK applications. How can I get 
> Java applications too look like my other applications when not using 
> Gnome? I use Gtk-ChTheme to see the GTK theme when not in Gnome, but it
> doesn't affect  the look of Java applications.


Christian,

 Do you get the proper LAF if you pass this argument on the Java command line?:

-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

Thanks,

Steve Mayer
smaye...@me.com

"I almost had a psychic girlfriend but she left me before we met." -- Steven 
Wright




signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Getting java applications to look like GTK

2012-01-23 Thread Christian Dysthe
On 01/23/12 at 09:04am, Steve Mayer wrote:
> On Jan 23, 2012, at 9:01 AM, Christian Dysthe wrote:
> > Hi,
> > 
> > When I run Gnome Java applications looks like the rest of my GTK based 
> > applications. However, when I'm running another DE (Pekwm/tint2) Java 
> > applications do not look like my other GTK applications. How can I get 
> > Java applications too look like my other applications when not using 
> > Gnome? I use Gtk-ChTheme to see the GTK theme when not in Gnome, but it
> > doesn't affect  the look of Java applications.
> 
> 
> Christian,
> 
>  Do you get the proper LAF if you pass this argument on the Java command 
> line?:
> 
>   -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

That did the trick, thanks! Do you know why I do not have to add this 
when running Gnome? Is there a way to set it at login so I do not have 
to for every Java application I launch?
> 
> Thanks,
> 
> Steve Mayer
> smaye...@me.com
> 
> "I almost had a psychic girlfriend but she left me before we met." -- Steven 
> Wright
> 
> 



-- 
//Christian Dysthe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120123173342.GA19792@mint



Getting java applications to look like GTK

2012-01-23 Thread Christian Dysthe
Hi,

When I run Gnome Java applications looks like the rest of my GTK based 
applications. However, when I'm running another DE (Pekwm/tint2) Java 
applications do not look like my other GTK applications. How can I get 
Java applications too look like my other applications when not using 
Gnome? I use Gtk-ChTheme to see the GTK theme when not in Gnome, but it
doesn't affect  the look of Java applications.

-- 
//Christian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120123170130.GA5536@mint



Re: how to download the packages in Debian testing non-free before installing?

2012-01-23 Thread lee
Andrei Popescu  writes:

> On Jo, 19 ian 12, 01:20:18, lee wrote:
>> 
>> Well, this laptop has two harddrives out of which I´ll make a
>> software RAID-1. Last time I checked, installing and booting from a
>> RAID was only possible by using LVM (and md), and the d/i of Testing
>> was able to do that pretty easily for me. 
>
> No, you don't need LVM and even the grub in squeeze can boot from md 
> devices.

Apparently it can´t boot from RAID on this laptop.  I have tried a lot
of different configurations, i. e. with LVM and without and with
different partition layouts.  Either grub couldn´t be installed or when
booting the system from the harddisk after the installation finished,
grub got stuck at the "Welcome to grub" message before showing the boot
menu.

Without RAID, it works, so I resorted to installing without RAID and
setting up a RAID-1 later.  So far, only /home is on RAID.

BTW, I couldn´t figure out how to create an encrypted partition with
the installer.  Every time when the installer tried to make one, it got
stuck in the process of creating it.  Is this feature buggy?

The wireless card turned out to be the smallest problem. It worked just
fine with the firmware on an USB stick.

Thanks for your help!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/874nvmgyi4@songoku.yagibdah.de



Re: XFWM4 window manager failure? Sid/Wheezy

2012-01-23 Thread Joseph Lenox

On 01/19/2012 04:34 PM, Kjetil brinchmann Halvorsen wrote:

This is debian wheezy withn all recent updates, XFCE4.

Any updates on this problem? Now for me, the xfwm4 do not seem to
(re)start, at least the task manager do
not show up any xfwm4 process!

Kjetil


There's a bug report out on this on xfwm4.  The dev and I were trying to 
pin it down, but I still don't have a 100% reproducible sequence of 
steps, nor do I know how to get a backtrace for this specific issue, 
given that it only seems to happen on shutdown.


https://bugzilla.xfce.org/show_bug.cgi?id=8070

In the meantime, I've added xfwm4 to the list of programs to start and 
been too busy getting other work done to look at it.


--Joseph Lenox


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

Archive: http://lists.debian.org/4f1d8b2d.5050...@gmail.com



Re: Dell Inspiron N5010 laptop overheating on Debian 6.0.1, Linux 3.2.3, low CPU usage, radeon GPU driver

2012-01-23 Thread Sthu Deus
Good time of the day, Stefan.


You worte:

>and I have all the kernel modules that should be needed for the
>fans to work properly:
>-> acpi-cpufreq (ondemand), which claims that most of the time
>my CPU runs at low frequency:
>   cpufreq stats: 2.40 GHz:4.11%, 2.39 GHz:0.02%, 2.26 GHz:0.08%,
>  2.13 GHz:0.05%, 2.00 GHz:0.08%, 1.86 GHz:0.05%, 1.73 GHz:0.05%,
>1.60 GHz:0.13%, 1.46 GHz:0.42%, 1.20 GHz:95.01%  (5730)
>-> i8k (I've installed i8kutils, a tool for Dell Inspiron which allows 
>me to
>manually configure the fans)
>-> thermal, dell_laptop
>-> intel_ips (apparently needed by my laptop's "5 Series/3400 Series 
>Chipset Thermal Subsystem")
>-> radeon (the free GPU driver; my video card is a HD 5470)

I did not understand exactly for the things You are fighting w/ but if
You are concerned on CPU too hot - I suggest to check if the modules
are loaded (not only installed on Your system) - so it was w/ mine
inspiron until I set it manually to be loaded.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f1d8cd7.89c5cc0a.7670.1...@mx.google.com



Re: how to download the packages in Debian testing non-free before installing?

2012-01-23 Thread lee
Andrei Popescu  writes:

> On Jo, 19 ian 12, 01:20:18, lee wrote:
>> 
>> Well, this laptop has two harddrives out of which I´ll make a
>> software RAID-1. Last time I checked, installing and booting from a
>> RAID was only possible by using LVM (and md), and the d/i of Testing
>> was able to do that pretty easily for me. 
>
> No, you don't need LVM and even the grub in squeeze can boot from md 
> devices.

Apparently it can´t boot from RAID on this laptop.  I have tried a lot
of different configurations, i. e. with LVM and without and with
different partition layouts.  Either grub couldn´t be installed or when
booting the system from the harddisk after the installation finished,
grub got stuck at the "Welcome to grub" message before showing the boot
menu.

Without RAID, it works, so I resorted to installing without RAID and
setting up a RAID-1 later.  So far, only /home is on RAID.

BTW, I couldn´t figure out how to create an encrypted partition with
the installer.  Every time when the installer tried to make one, it got
stuck in the process of creating it.  Is this feature buggy?

The wireless card turned out to be the smallest problem. It worked just
fine with the firmware on an USB stick.

Thanks for your help!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r4yq8ld3@songoku.yagibdah.de



Re: Cusp finally working BUT something missing PARTLY SOLVED

2012-01-23 Thread Wayne Topa

On 01/22/2012 04:11 PM, Wayne Topa wrote:

On 01/22/2012 12:14 PM, Camaleón wrote:

On Sat, 21 Jan 2012 13:24:17 -0500, Wayne Topa wrote:


I have not been able to use cups on any of my Debian boxes since
upgrading to MB's without parallel port connectors for over a year,
until now. I was finally able to use my USB-> parallel adapter to
connect to the HP Printer.

I can now print but am missing features that used to be there before, or
I have missed something.

When printing with iceweasel the printer options no longer have a 'Print
Selected' box. The File/Page Setup no longer has the setting for
headers or footers. Am I missing package or has printing gone
backwards? I am used to upgrading to 'better' features so maybe I am
spoiled.




The Headers/footers are again working but I have not found what may have 
been upgraded to fix this.



my Print/)Options Tab is missing the print selections here on wheezy and
ISTR it is missing on Stable & Sid here as well. I will have to check
that again though.




Print/Options Print Selections is still missing


But I'm using GNOME and this can be make a difference. What DE/WM are you
using?


Fluxbox



One more "feature' I notice is that I have to unplug, then re-plugn the
USB-> parallel nearly every time I print a document or cups can't find
the printer. That is a real PITA!


An upgrade of uuid-runtime "MAY" have solved this.  I was able to print 
3 different files without haveing to un-plug/re-plug the USB cable.


Fingers crossed that these problems were/are on someone's radar.

Thanks for the help  Camaleon

Best Regards
Wayne


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

Archive: http://lists.debian.org/4f1d7678.9090...@gmail.com



Re: rsyncd.conf - Specifying /home/user for Daemon?

2012-01-23 Thread Nicolas Bercher

Hal Vaughan a écrit :

Anything I search for to find this keeps giving me links to backing up your 
home directory, and I know how to do that.

What I'm concerned with is setting the home directory in /etc/rsyncd.conf.  In 
other words, if I type:

rsync thisdir me@backupsys::Backup

How can I specify in rsyncd.conf that it's using /home/me/Backup?

I've tried something like this:

[Backup]
path = $HOME/Backup/
Comment = Backup service for each individual user
read only = no

and I can't get that to work.  I tried using "~/Backup" for the path and using 
RSYNC_USER_NAME and %u, but that won't work.  So how can I specify, in rsyncd.conf that 
the path leads to a directory in the home directory of the logged in rsync user?


Thanks for any help on this!


Can't you write a rule per homedir (user) to backup?  If you have
too many users to do it by hand, you may write a script that
automatically updates /etc/rsyncd.conf.

For example, I do this to maintain /etc/fstab and /etc/hosts on a few
computers, by concatenating /etc/.d/* to /etc/ see this
script:

  https://github.com/Atha/update-conf.d/

Nicolas


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

Archive: http://lists.debian.org/4f1d6e67.7040...@yahoo.fr



Re: xfs backup system vs rsynce

2012-01-23 Thread Nicolas Bercher

Dan a écrit :

I use rdiff-backup it uses the rsync alorythm but it keeps the
increments so you can recover deleted files or the old form of file. I
makes weekly backups and delete files in the backup files which are
older than 3 months.


Take care with --remove-older-than option, as the man page says:

"Note that snapshots of deleted files are covered by this operation.
Thus if you deleted a file two weeks ago, backed up immediately after‐
wards, and then ran rdiff-backup with --remove-older-than 10D today, no
trace of that file would remain."

You can loose valuable old files.  So, one thing I really miss in
rdiff-backup is an option to remove backups older than 
AND newer than .  Thus, I could reduce daily
backups to weekly, etc.  But still, I can loose files.

In a near future, I think I'll switch to venti(1) and/or vbackup(8) of 
"Plan 9 port":


  http://swtch.com/plan9port/

Venti is "Write Once Read Many" archival storage server used to store
files hierarchy for example.  On the other hand, Vbackup is used to
store efficiently entire logical volumes from *nix to a Venti server.

But this involves to know a little about Plan 9 concepts, etc.

Nicolas

--
http://swtch.com/plan9port/man/man1/venti.html
http://swtch.com/plan9port/man/man8/venti.html
http://swtch.com/plan9port/man/man8/vbackup.html


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

Archive: http://lists.debian.org/4f1d6e5d.6020...@yahoo.fr



Re: Install Nvidia Video Card (Nvidia Geforce GT 520)

2012-01-23 Thread Brad Rogers
On Sun, 22 Jan 2012 23:11:09 +
richard  wrote:

Hello richard,

> 290 is the correct driver for that card. 
> If you use this please be aware that each time you upgrade the kernel
> you will need to re-install that package.
> Install the repo debian-multimedia, and you will find the driver there.
> If you use yumex the install process is easier once that repo is added
> to the source list.

NVidia stuff isn't in DMM, it's in non-free and contrib.  Further, why
bother with all the grief you suggest when the *dkms package(s) will
handle all that stuff for you?

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
It's only the children of the --- wealthy tend to be good looking
Ugly - The Stranglers


signature.asc
Description: PGP signature


Re: directory synchronisation

2012-01-23 Thread Nicolas Bercher

Tony van der Hoff a écrit :

On 21/01/12 16:23, Camaleón wrote:

On Sat, 21 Jan 2012 15:55:07 +, Tony van der Hoff wrote:

(...)


Whilst this is usable, I can't help but think it's a bit clumsy. Does
anyone know of a replacement for (or addition to) rsync that will
synchronise both ways?


Something like Unison?


That works extremely well; Thanks, Camaléon.

Cheers, Tony


An abandoned project, tra by Russ Cox, was about synchronizing several
computers (N>=2) "the way" unison does for two computers only:

  http://swtch.com/tra/

I think, the underlying idea is just great.  Sources are available but 
some bugs where identified.  If someone wants to take over this

project...

Nicolas


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

Archive: http://lists.debian.org/4f1d6358.4040...@yahoo.fr



Re: directory synchronisation

2012-01-23 Thread Tony van der Hoff

On 21/01/12 16:23, Camaleón wrote:

On Sat, 21 Jan 2012 15:55:07 +, Tony van der Hoff wrote:

(...)


Whilst this is usable, I can't help but think it's a bit clumsy. Does
anyone know of a replacement for (or addition to) rsync that will
synchronise both ways?


Something like Unison?


That works extremely well; Thanks, Camaléon.

Cheers, Tony
--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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

Archive: http://lists.debian.org/4f1d5b04.3060...@vanderhoff.org



Re: how to check 400 files exist

2012-01-23 Thread Wawrzek Niewodniczanski

On 01/19/12 15:07, Jon Dowland wrote:

On 19/01/12 12:25, Wawrzek Niewodniczanski wrote:

So theoretical your comment is right, but I doubt that max argument
limit is the reason of problem in this case.


Well, read the error message again:

  >  ./check_file.sh: line 8: [: too many arguments

The test binary, aka '[', has received too many arguments.

See also.

Good point, however, I remember seeing the same error message when I 
screw up the command. Moreover, I don't understand why it works for me, 
not for some else with Linux.


Thanks,
Wawrzek

--
Wawrzyniec (Wawrzek) Niewodniczański - (niewod @ LinkedIn 
)

System Administrator - Engineering Services Team (XenServer)
Citrix Systems, Building 101, Cambridge Science Park, CB4 0FY, Cambridge
PhD in Quantum Chemistry, MSc in Molecular EngineeringM


Can't get NIC Bonding with active-backup working

2012-01-23 Thread Shaun
Hi all,

Have tried to get NIC Bonding working as per wiki.debian.org/Bonding.

Each NIC is connected to a different switch for redundancy rather than
bandwidth purposes (insulate against a switch failure).  I'm using the
active-backup mode for HA failover.

output from cat /etc/network/interfaces

auto bond0
iface bond0 inet static
address 192.168.166.164
netmask 255.255.255.240
network 192.168.166.160
gateway 192.168.166.161
slaves eth0 eth1
bond_mode active-backup
bond_miimon 100
bond_downdelay 200
bond_updelay 200

output from cat /proc/net/bonding/bond0 as follows:

Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: b8:ab:6f:92:eb:c3

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: b8:ab:6f:92:eb:c4

If I then pull a cable (or use ifconfig eth0 down) I get the following
in the syslog:

Jan 23 11:21:50 host-1 kernel: [55852.565975] bonding: bond0: link
status down for active interface eth0, disabling it in 200 ms.
Jan 23 11:21:51 host-1 kernel: [55852.761549] bonding: bond0: link
status definitely down for interface eth0, disabling it
Jan 23 11:21:51 host-1 kernel: [55852.761555] bonding: bond0: making
interface eth1 the new active one.

All looks good... but... ping from host-1 produces Destination host
unreachable (with the icmp errors coming from the IP of the bond0 device
itself).  And my remote ssh session dies.  Good job I have KVM access :)

So it's not working.  This setup seems so simple I can't see where
anything could be wrong, so I'm starting to suspect a problem with the
switch. Maybe the switch(es) are being too clever? But then again maybe
I've done something wrong.

What can I do to find out what's going on?  I'm using Squeeze (current
point release) and Kernel  2.6.32-5-amd64.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f1d4483.5060...@gmsl.co.uk



Bitte um einen kleinen Gefallen ;-)

2012-01-23 Thread juergen...@gmx.de
Hey,

wie gehts Dir?

Lang nichts mehr von Dir gehört ;-)

Aehmm, ich habe bei McDonalds einen coolen Burger erstellt -
ähnlich wie der Double Quarter Pounder.

Könntest Du für den bitte voten?

Einfach den Link

http://www.mcdonalds.de/mein_burger/vcard/postDetail.cfm?campaign_id=dyob12&post_id=136939

aufrufen und auf "wähle mich" klicken. (es ist der Armi Doubler-Beefer)

Daaanke!

Gruß,

Jürgen


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/9F8442B0.1CCD9CD@Armbruster-PC



Re: [solved] Re: Unable to boot into CompactFlash card - card not found by initrd (BIOS does not support CF booting)

2012-01-23 Thread Scott Ferguson
On 23/01/12 22:37, Michael Lange wrote:
> Hi again,
> 
> I could hardly believe it myself, but I actually got it working now,


Glad to hear it, and congratulations!
(CF boot space, the final frontier?)


If you wanted to boot different CF cards you could possible compile
those modules as GRUB modules, add them to GRUB, then insmod them as
part of the CF card menu entry. Only worth it if you had a few different
CF cards and didn't want to modify the initrd for them (if you also used
them on other machines which BIOS supported CF booting)




> Michael
> 

Thanks for posting the method you used, I'm sure it will prove useful to
others.


Cheers.

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


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



[solved] Re: Unable to boot into CompactFlash card - card not found by initrd

2012-01-23 Thread Michael Lange
Hi again,

I could hardly believe it myself, but I actually got it working now,
finally the patch from the Puppy linux forum did it!

It took me a while to figure out how to use it; because of my
limited shell scripting capabilities I had to remove the smart automagic
that checks for all available pcmcia sockets (I only have socket 0
anyway), and there seems to be a syntax incompatibility that prevents it
from working with /bin/sh here on my squeeze system, but it works
with /bin/bash (and I had always thought these were the same, but now
I've learned that /bin/sh actually points to /bin/dash ;) and it works
with the /bin/sh in the initrd, too. I then did some experimenting and
found that a more elegant solution than putting the code into the
initrd's init is to put it in a separate file
/etc/initramfs-tools/scripts/init-premount/pcmcia-socket-startup.sh
which now looks like:


#!/bin/sh

print_irq_mask() {
  local digits="0123456789abcdef" i=$1 s=""
  while [ ${#s} -lt 4 ]; do
s=`expr substr $digits $(($i%16+1)) 1`$s
let i=$i/16
  done
  echo -n 0x$s
}

pcmcia_socket_startup() {
  local i j path mask
  i=`expr "$1" : '\([0-9]*\)'`
  if [ "$i" ]; then
let j=i
  else
let i=0 j=9
  fi
  while [ $i -le $j ]; do
path=/sys/class/pcmcia_socket/pcmcia_socket$i
if [ -f $path/available_resources_setup_done ]; then
  echo -n "0x0100 - 0x03af" >$path/available_resources_io
  echo -n "0x03e0 - 0x04ff" >$path/available_resources_io
  echo -n "0x0820 - 0x08ff" >$path/available_resources_io
  echo -n "0x0a00 - 0x0aff" >$path/available_resources_io
  echo -n "0x0c00 - 0x0cff" >$path/available_resources_io
  echo -n "0x000c - 0x000f" >$path/available_resources_mem
  echo -n "0x6000 - 0x60ff" >$path/available_resources_mem
  echo -n "0xa000 - 0xa0ff" >$path/available_resources_mem
  mask=`cat $path/card_irq_mask` # read old irq mask
  mask=$(( mask & ~( (1<<4) | (1<<7) ) )) # exclude irq 4,7
  print_irq_mask $mask >$path/card_irq_mask  # write new irq mask
  echo -n 42 >$path/available_resources_setup_done
fi
let i++
  done
}

pcmcia_socket_startup 0

###

This and the necessary modules added to /etc/initramfs-tools/modules (I
added ide_cs, ide_gd_mod, pcmcia, pcmcia_core and yenta_socket, maybe not
all were actually necessary, but they don't cost much ;) was all I had to
do in the end, then run update-initramfs and the resulting initrd is able
to recognize and mount the CF card partition as root file system
(update-initramfs again outputs an error message because of the file's
syntax, but it seems that this can be safely ignored).

Debian apparently does more or less the same as the above script with a
utility "pcmcia_socket_startup" that comes with udev and is run by udev
after / has been mounted; I had already tried before to run this utility
from within the initrd, but it just failed silently without telling me
why, and I could not find any usage information on it, so maybe it
requires something it does not find in the initrd or it needs a special
cli syntax that only udev knows ;)

> 
> I suspect you are correct - I'm beginning to suspect you have a 16-bit
> PCMCIA bus which would complicate things (and I don't know much about
> them, or self-mutilation)

I think you are right pccardctl status says

3.3V 16-bit PC Card

Maybe this explains why, as I now found, the CF card is slow as hell, it
actually seems to be much slower now than running the system from an USB
flash drive, and I/O operations seem to cause a considerable CPU load :(
Anyway, in cases when I want to use it, speed is not much of an issue, so
I will give it a try anyway, and if I later find that the USB drive wins,
then at least I have learned something ;)

> 
> > I still believe that it might have to do with the CF card being
> > marked as "removable" and the way udev handles these devices, however
> > I don't have a "fixed" card at hand to verify this. In fact I am not
> > even sure that it is "removable"; thunar shows it as removable
> > device, however udevadm info says ATTR{removable}=="0" . Hmmm...
> 
> Perhaps, I wouldn't put too much stock in udev (it's like Wikipedia).

Anyway, now it seems that apparently the problem had nothing to do with
the card being "removable" or not.

Thanks for all your help, and best regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Madness has no purpose.  Or reason.  But it may have a goal.
-- Spock, "The Alternative Factor", stardate 3088.7


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120123123713.e646fef5.klappn...@freenet.de



Re: System hangs due to NFS share

2012-01-23 Thread Frank
On Mon, 2012-01-23 at 11:47 +0100, Sylvain wrote:

> I already tried this option too, but it didn't help. Also according to
> the manpage:
> 
> > The intr / nointr mount option is deprecated after kernel 2.6.25.  Only 
> > SIGKILL can interrupt a pending NFS operation on these kernels, and  if  
> > specified, this mount option is ignored to provide backwards compatibility 
> > with older kernels.

OK, the man page is not yet available on lenny. 

Have you tried to kill the process using SIGKILL? What happens if you
do? I assume this behaviour is related to the state TASK_KILLABLE which
was introduced in kernel 2.6.25. In previous kernels a process waiting
for I/O was in TASK_UNINTERRUPTIBLE and never get the signal you send
it.

Frank





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1327318011.2840.12.ca...@nero.internal.friendscout24.de



Re: System hangs due to NFS share

2012-01-23 Thread Scott Ferguson
On 23/01/12 21:15, Sylvain wrote:
> Hi,
> 
> I have an NFS share mounted on my Debian testing computer with default
> mount options. It works fine but as soon as my computer loses network
> access or the NAS�is disconnected or shut down, the system becomes
> unstable:
> 
> - In KDE, everything is frozen (because of the file manager I think)
> - If I try to cd to the mountpoint, it makes the console hang forever
> - I can't umount the mountpoint, as the umount command hangs. Also the
> -f flag doesn't change anything
> - I can't even shutdown my computer anymore and I'm forced to use the
> magic keys to be able to reboot it
> 
> I tried different network managers (wicd, network-manager), different
> ways to connect (wifi, wired), and different mount options (using a
> hard nfs mount, specifying the retry option) but that didn't help. I
> really don't know what to try next and this is really driving me mad.
> 
> Thanks,
> Sylvain
> 
> 
Have you tried autofs5?


Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


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



Re: System hangs due to NFS share

2012-01-23 Thread Sylvain
2012/1/23 Frank :
> On Mon, 2012-01-23 at 11:15 +0100, Sylvain wrote:
>> Hi,
>>
>> I have an NFS share mounted on my Debian testing computer with default
>> mount options. It works fine but as soon as my computer loses network
>> access or the NAS is disconnected or shut down, the system becomes
>> unstable:
>>
>> - In KDE, everything is frozen (because of the file manager I think)
>> - If I try to cd to the mountpoint, it makes the console hang forever
>> - I can't umount the mountpoint, as the umount command hangs. Also the
>> -f flag doesn't change anything
>> - I can't even shutdown my computer anymore and I'm forced to use the
>> magic keys to be able to reboot it
>>
>> I tried different network managers (wicd, network-manager), different
>> ways to connect (wifi, wired), and different mount options (using a
>> hard nfs mount, specifying the retry option) but that didn't help. I
>> really don't know what to try next and this is really driving me mad.
>
> Mount option intr should help.
>
> man nfs
>
> Frank

I already tried this option too, but it didn't help. Also according to
the manpage:

> The intr / nointr mount option is deprecated after kernel 2.6.25.  Only 
> SIGKILL can interrupt a pending NFS operation on these kernels, and  if  
> specified, this mount option is ignored to provide backwards compatibility 
> with older kernels.

Sylvain


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAJwBQFNiDLHpk60k2-cCXaa=g3phga24v8g4sogmxir2s8f...@mail.gmail.com



Re: System hangs due to NFS share

2012-01-23 Thread Frank
On Mon, 2012-01-23 at 11:15 +0100, Sylvain wrote:
> Hi,
> 
> I have an NFS share mounted on my Debian testing computer with default
> mount options. It works fine but as soon as my computer loses network
> access or the NAS is disconnected or shut down, the system becomes
> unstable:
> 
> - In KDE, everything is frozen (because of the file manager I think)
> - If I try to cd to the mountpoint, it makes the console hang forever
> - I can't umount the mountpoint, as the umount command hangs. Also the
> -f flag doesn't change anything
> - I can't even shutdown my computer anymore and I'm forced to use the
> magic keys to be able to reboot it
> 
> I tried different network managers (wicd, network-manager), different
> ways to connect (wifi, wired), and different mount options (using a
> hard nfs mount, specifying the retry option) but that didn't help. I
> really don't know what to try next and this is really driving me mad.

Mount option intr should help.

man nfs

Frank



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1327313995.2840.5.ca...@nero.internal.friendscout24.de



System hangs due to NFS share

2012-01-23 Thread Sylvain
Hi,

I have an NFS share mounted on my Debian testing computer with default
mount options. It works fine but as soon as my computer loses network
access or the NAS is disconnected or shut down, the system becomes
unstable:

- In KDE, everything is frozen (because of the file manager I think)
- If I try to cd to the mountpoint, it makes the console hang forever
- I can't umount the mountpoint, as the umount command hangs. Also the
-f flag doesn't change anything
- I can't even shutdown my computer anymore and I'm forced to use the
magic keys to be able to reboot it

I tried different network managers (wicd, network-manager), different
ways to connect (wifi, wired), and different mount options (using a
hard nfs mount, specifying the retry option) but that didn't help. I
really don't know what to try next and this is really driving me mad.

Thanks,
Sylvain


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



Re: icedove 8.0-2 not opening http links in browser

2012-01-23 Thread Alberto Fuentes

On 01/20/2012 08:46 PM, MRH wrote:

On 20/01/12 10:19, Alberto Fuentes wrote:

On 01/20/2012 10:10 AM, Jörg-Volker Peetz wrote:

Did you check "Preferences -> Attachments" for "ftp", "http", and
"https"?


i am having the same issue, and the attachment tab is empty

greets!
aL


The same. The worst thing I don't remember how was it before.

Kind regards,
Michal



ive got icedove 8.0-2 and its empty. I tried in a testing with 3.1.16-1 
and its empty as well :S


greets!
aL


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

Archive: http://lists.debian.org/4f1d24d9.6050...@qindel.com



Re: server crashes on debian.

2012-01-23 Thread Joe
On Sun, 22 Jan 2012 14:43:11 -0500
Joey L  wrote:

> I am experience intermitten server crashes and driving me nuts!
> Is there a way to tell what in fact is causing the crash?
> A log perhaps or a snapshot of running processes or memory issues ?
> thanks
> mjh
> 
> 

If you're running Debian Stable with no software from anywhere else,
then it's very nearly certainly a hardware or environmental problem.
Even Windows Server users now look at hardware first, and I'd back
Stable over Server any day.

Look for dust in fan guards, filters, heatsinks, ventilation slots,
re-seat motherboard connectors, RAM, cards, etc. If it's hardware, logs
may well show nothing.

If any changes have been made recently, they are also suspect. Many
types of motherboard will accept RAM in all slots only for specific
models of RAM as certified by the motherboard maker, some cards work
better on some MBs than others. Even out-of-spec cables can cause
intermittent troubles.

How about power glitches? Some computers can run for longer than others
when the mains goes missing, if other computers have no problems it
doesn't mean there are no problems.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120123090355.16fbd...@jretrading.com



Re: gdm3 - how to put a picture on the login screen?

2012-01-23 Thread Scott Ferguson
On 23/01/12 18:17, Rick Thomas wrote:
> On 01/22/12 20:52, Tony Baldwin wrote:
>> On Sun, Jan 22, 2012 at 07:55:42PM -0500, Rick Thomas wrote:
>>> In an effort to make my life with wheezy more beautiful/serene and
>>> less silly-looking, I've been exploring ways to personalize the
>>> various screen parts.
>>>
>>> The gdm3 login screen by default provides a list of possible users
>>> and their names with a place that looks like it's intended to hold a
>>> picture (or avatar, if you will) of the person.
>>>
>> Here's my gdm login screen:
>> http://tonybaldwin.me/imgs/myGDMloginscreen.jpg
>> Definitely possible to customize it.
>> But, this is on Squeeze, and was done with the GDM Setup
>> in the Debian menu.
>> (I don't know for sure where that is in Gnome, since I'm using openbox,
>> but I would guess
>> Applications>  System>  Administration>  GDM Setup
>>
>>> How does one set that avatar to something more interesting than the
>>> default shadow head?

Locate the default shadow head?
Locate the file mentioning the shadow head?

>> same GDM Setup program offers this, as well.
>>
>> ./tony
> Well, wheezy uses the gnome3 train-wreck.  It doesn't seem to have
> anything resembling
> 
> Applications>  System>  Administration>  GDM Setup
> 
> I've googled til I'm blue in the face, I've guessed based on my googling
> that I need to manually edit something in the [greeter] section of
> /etc/gdm3/daemon.conf but there doesn't seem to be a human readable
> explanation of the available options I could put there and what they do.
> 
> Any clues are welcome!
> 
> Rick
> 
> 
> 
/usr/share/pixmaps ?


Sorry, don't have a GNOME to check, but gdm shares a some settings with kdm.


Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


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



Re: ext4 extends implementation question

2012-01-23 Thread Alberto Fuentes

On 01/10/2012 11:31 PM, Arno Schuring wrote:

afuentes (alberto.fuen...@qindel.com on 2012-01-10 10:33 +0100):

What happens when you run out of space to allocate new extends in
ext4? is not allowed to write anymore even tho there are tons of
blocks available?


I'm unsure what you mean. Extents is only an optimization strategy for
allocating contiguous blocks. If there are no contiguous blocks, ext4
falls back to allocating singular blocks, but with normal usage
patterns you should never get "tons of blocks available" with none of
them contiguous.

At least, that's how I understand it. Are you getting allocation
failures with still plenty of space available?


Regards,
Arno




This is how i see it

[X][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
[X][X][X][X][ ][ ][ ][ ][ ][ ][ ][ ]
[X][X][X][X][X][X][X][X][ ][ ][ ][ ]
[X][X][ ][ ][ ][ ][ ][ ][ ][ ][ ][ ]
[X][X][X][ ][ ][ ][ ][ ][ ][ ][ ][ ]
[-][-][-][-][-][-][-][-][-][-][-][-]
[-][-][-][-][-][-][-][-][-][-][-][-]

row= extends
[x]= used
[ ]= allocated
[-]= free

after allocating two more extends in this scenario, what happens when it 
wants to write again?


thanks!
aL


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

Archive: http://lists.debian.org/4f1d194b.90...@qindel.com