Re: [OT] SQL Syntax Error '????????????????'

2009-06-10 Thread Harry Rickards





On 10 Jun 2009, at 23:32, "s. keeling"  wrote:


Harry Rickards :


I know this is off-topic, but I don't really want to have to  
subscribe
to or constantly read the MySQL mailing lists, and the IRC  
channel's no

help.


Search the archives:

 groups.google.com "comp.databases.mysql"  # guessing.

However, I think your problem more relates to java than sql.

I'll have a look, but I'd have thought if it was in there Google would  
have come up with it.



I've written some sample code in Java that connects to localhost  
using

the MySQL JDBC. I've tried multiple variations of the code, but even
when using the proper code from MySQL's website, I get the  
following error:


SQLException: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near '' at line 1
SQLState: 42000
VendorError: 1064


Does your query run in a commandline session with the db?


All it does is connect, there's no query.





--
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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




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




Re: sudo logging

2009-06-10 Thread Frank Lin PIAT
On Wed, 2009-06-10 at 19:57 -0400, Mag Gam wrote:
> We have many users at my university engineering lab. Some professors
> need commands for root and of other users, so we decided to setup sudo
> permissions. I was wondering if there is a way to log all commands
> when they sudo into an account or root account.


You should only grant the right to execute some specific commands. One
should not be able to use sudo to run a shell as root.
Therefore each command is execute using "sudo something" and each
executed command is logged.

> I would like to even capture key strokes...

Once your users are root, you have to trust them (they can kill whatever
tool you run) but you can check the command "script".

One idea... If you want to log all what is typed, you could tell your
users to connect to another box, from where they would telnet to the
target box. You can then use a sniffer to log the connection.

BTW, make sure this is legal in your country.

Franklin


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



Re: Why no Control-Alt-Delete after kernel panic?

2009-06-10 Thread Abhishek Amberkar [अभिषेक]
On Thu, Jun 11, 2009 at 7:03 AM,  wrote:
> In 
> http://en.wikipedia.org/wiki/Talk:Kernel_panic#Control-Alt-Delete_after_a_panic
>  I said,
>
>> Why can't one http://en.wikipedia.org/wiki/Control-Alt-Delete#Linux
>> after a kernel panic? Why must we istead walk over to the box and
>> press the reset button?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>

How about passing a `panic' parameter to kernel??

check this out

http://www.cyberciti.biz/tips/10-boot-time-parameters-you-should-know-about-the-linux-kernel.html


-- 
With Regards
Abhishek Amberkar

Learn to appreciate the beauty within...


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



Re: Why no Control-Alt-Delete after kernel panic?

2009-06-10 Thread Richard Hector
On Thu, 2009-06-11 at 09:33 +0800, jida...@jidanni.org wrote:
> In 
> http://en.wikipedia.org/wiki/Talk:Kernel_panic#Control-Alt-Delete_after_a_panic
>  I said,
> 
> > Why can't one http://en.wikipedia.org/wiki/Control-Alt-Delete#Linux
> > after a kernel panic? Why must we istead walk over to the box and
> > press the reset button?

As I understand it, a kernel panic halts the processor. There's no
program running - OS, BIOS, anything - to listen to the keyboard any
more. The reset button directly resets the processor.

Richard



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



new ekiga: taking too much cpu

2009-06-10 Thread H.S.
Hello,

After a recent upgrade we got new Ekiga in Testing (Ekiga
3.2.1~git20090515.9d0263-1). Wonderful, since the last version of
segfaulting (due to ptlib I think). But now this new version is keeping
the CPU busy and the audio is broken. It used to work wonderfully in the
earlier version.

Anybody else see this problem? I am using the new KDE with pulseaudio.

Thanks.
-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: XFS frequent crashes on PE1950 with perc 5/e and 2xMD1000

2009-06-10 Thread Kelly Harding
2009/6/9 Tomek Kruszona :
> Hello!
>
> I have a problem with system in the configuration described in subject
> (Dell PE1950 III + PERC 5/E + 2xMD1000)
>
> System is running Debian Lenny AMD64 version with all available updates.
>
> I have 6 VD's 2TB each (for 32bit system compatibility). Each VD is a
> LVM2 PV
>
> I made a LVM2 volume and formatted this into XFS. Previously it was only
> one MD1000 connected to PERC controller.
>
> But two days ago i added next MD1000 added new PV's to LVM2 and extended
> XFS with xfs_growfs.
>

Might be a bit of an obvious thing, but have you tried running memtest
to rule out dodgy memory?
usually when I see anything similar to this I run a memtest to be sure
(on a few occasions it has proven to be the memory.

Could also be a driver bug related to multiple MD1000s? no experience
with Dell perc hardware sadly though to be any further help.

Kelly


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



Re: XFS frequent crashes on PE1950 with perc 5/e and 2xMD1000

2009-06-10 Thread Andrew Reid
On Tuesday 09 June 2009 08:16:35 Tomek Kruszona wrote:
> Hello!
>
> I have a problem with system in the configuration described in subject
> (Dell PE1950 III + PERC 5/E + 2xMD1000)
>
> System is running Debian Lenny AMD64 version with all available updates.
>
> I have 6 VD's 2TB each (for 32bit system compatibility). Each VD is a
> LVM2 PV
>
> I made a LVM2 volume and formatted this into XFS. Previously it was only
> one MD1000 connected to PERC controller.
>
> But two days ago i added next MD1000 added new PV's to LVM2 and extended
> XFS with xfs_growfs.
>
> After some time I got kernel panic like this:

  This strongly resembles an issue I had on a file server -- 
I don't have my notes handy, but it had to do with an issue
in which the kernel was interacting badly with a particular 
motherboard chipset.

  The workaround was to reboot with the "iommu=soft" option
passed to the kernel.

  My problem was with an "etch" kernel, and it was my understanding
that newer kernels were not expected to have this problem, so 
I may be off-base, but that's my experience.

  It sounds like this is at least an easy thing to try -- I really
wish I could find my notes...

-- A.

-- 
Andrew Reid / rei...@bellatlantic.net


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



Why no Control-Alt-Delete after kernel panic?

2009-06-10 Thread jidanni
In 
http://en.wikipedia.org/wiki/Talk:Kernel_panic#Control-Alt-Delete_after_a_panic 
I said,

> Why can't one http://en.wikipedia.org/wiki/Control-Alt-Delete#Linux
> after a kernel panic? Why must we istead walk over to the box and
> press the reset button?


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



Re: Program for quoting text like in email?

2009-06-10 Thread Todd A. Jacobs
On Mon, Jun 08, 2009 at 03:55:54PM +0200, Thomas Anderson wrote:

> Can anyone recommend a program/shell script/editor plugin etc, that
> can take arbitrary text as input and quote it like email programs
> quote emails with a preceding "> " character?

Given a file named SomeTextFile, you can do your own quick-and-dirty
like this:

   fmt --width=72 SomeTextFile | sed 's/^/\> /'

You can also use the clipboard selection with xclip:

xclip -o | fmt -w 72 | sed 's/^/\> /'

This won't handle multiple quote levels or anything really complex, but
it should suffice for what you described.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



wrong permission?

2009-06-10 Thread ronggui wong
My Debian mounts a vfat partition automatically, the setting of fstab
is as follows:
## /etc/fstab
/dev/hda6   /media/wine vfat
defaults,users,umask=000,shortname=winnt,uid=wincent,gid=wincent
 0   0

However, two folders in the partition have different permissions. It
seems that I can not change it. Any suggestions? Thanks.

winc...@debian:~$ ls -l /media/wine
total 80
dr-xr-xr-x 49 wincent wincent 16384 2008-02-10 documentation
drwxrwxrwx  2 wincent wincent 16384 2007-09-22 Recycled
winc...@debian:~$ chmod o+w /media/wine/documentation
winc...@debian:~$ ls -l /media/wine/
total 80
dr-xr-xr-x 49 wincent wincent 16384 2008-02-10 documentation
drwxrwxrwx  2 wincent wincent 16384 2007-09-22 Recycled


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



Re: error while loading shared libraries: libopenal.so.0

2009-06-10 Thread David Fox
On Wed, Jun 10, 2009 at 11:32 AM, Aniruddha wrote:
> I try to install a 32-bit program in 64-bit Debian but I get the
> following message: 'error while loading shared libraries:

Have you installed the 32-bit compatibility libraries?

Anytime you manually install a library (and really, you should let the
packaging system do this) you have to rerun ldconfig to update what
the system thinks the libraries should be. Do you have, for instance,
/usr/lib32 as one of the search paths in your /etc/ld.so.conf file?

Realistically, the 32 bit program should have installed itself + the
two shared libraries, probably pulling in the other 32-bit
compatibility libraries as a dependency if they were not already
installed for some other reason (running GoogleEarth, for instance),
and should have updated the ld.so configuration automatically as part
of the postinstall routine.

If not, it might be a packaging bug. Error when loading shared
libraries might mean that it couldn't find the library, or maybe you
have a missing symbol. In the latter case, file a bug against the
library package (is it installable separately?).





-- 
thanks for letting me change the magnetic patterns on your hard disk.


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



Re: [Solved again] Program for quoting text like in email?

2009-06-10 Thread jidanni
> "TA" == Thomas Anderson  writes:

TA> Sure:
TA> Example of the "> " characters being moved around ...

Observe instead the masterful quoting of SuperCite, (no longer broken in
emacs23) that I have graced your words with above.

Leave-not your words lying around for lessor quoters to mess with!


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



Re: sudo logging

2009-06-10 Thread Steve Reilly
Steve Reilly wrote:
> Mag Gam wrote:
>> We have many users at my university engineering lab. Some professors
>> need commands for root and of other users, so we decided to setup sudo
>> permissions. I was wondering if there is a way to log all commands
>> when they sudo into an account or root account.
>>
>> I would like to even capture key strokes...
>>
>>
>> TIA
>>
>>
> 
> i knew errors were logged in syslog but wasnt aware that you could
> actually log every sudo command, take a look at this about 1/2 way down
> the page.
> 
> 
> steve
> 
> 
http://aplawrence.com/Basics/sudo.html

oops  forgot to paste the link!!


steve


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



Re: ipv6 firewall?

2009-06-10 Thread Boyd Stephen Smith Jr.
In , Tony 
Asnicar wrote:
>I mean if I do a
>ip6tables -L
>all policies are ACCEPT
>thanks

As far as I know, this is also the default for IPv4 (iptables) on Debian.  
If Ubuntu configures configures IPv4 differently by default, then that fact 
might be an Ubuntu issue, but not a Debian one.

If that is the case, there is no need to continue sending messages to 
debian-user.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: sudo logging

2009-06-10 Thread Steve Reilly
Mag Gam wrote:
> We have many users at my university engineering lab. Some professors
> need commands for root and of other users, so we decided to setup sudo
> permissions. I was wondering if there is a way to log all commands
> when they sudo into an account or root account.
> 
> I would like to even capture key strokes...
> 
> 
> TIA
> 
> 

i knew errors were logged in syslog but wasnt aware that you could
actually log every sudo command, take a look at this about 1/2 way down
the page.


steve


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



sudo logging

2009-06-10 Thread Mag Gam
We have many users at my university engineering lab. Some professors
need commands for root and of other users, so we decided to setup sudo
permissions. I was wondering if there is a way to log all commands
when they sudo into an account or root account.

I would like to even capture key strokes...


TIA


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



Re: wget or curl?

2009-06-10 Thread Mag Gam
thankyou all


On Wed, Jun 10, 2009 at 9:55 AM, Oliver Schneider wrote:
> I tend to prepare my scripts for either of these, by saying:
>
> wget  || curl -L -O 
>
> curl supports of course more protocols, but then if you only need FTPS I 
> haven't seen that explicitly mentioned by wget docs either. But I might err 
> ...
>
> // Oliver
>
> PS: Had accidentally replied to the sender only.
>
>  Original-Nachricht 
>> Datum: Wed, 10 Jun 2009 07:58:13 -0500
>> Von: Mark Allums 
>> An: debian-user 
>> Betreff: Re: wget or curl?
>
>> Mag Gam wrote:
>> >  I would like to automatically get files from a FTPs using TLS. Is it
>> > better to use wget or curl?
>> >
>> > or is there another alternative?
>> >
>> > TIA
>>
>>
>>
>> If you have the resources (i.e., disk space, etc.) install both.  No
>> need to decide unless you must.  Some applications (scripts) expect
>> wget, others like curl.  I would say curl is more of a requirement, wget
>> is more optional.   But that is in my experience, others might have
>> other experiences.
>>
>> (This point of view is from a non-technical standpoint.  Looking forward
>> to reading what others have to say.)
>>
>>
>> Mark Allums
>
> --
> ---
> DDKWizard and DDKBUILD: 
>
> Trunk (potentially unstable) version: 
> 
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



fstab to mount as hal does it

2009-06-10 Thread Seb
Hi,

I think it's hald daemon that mounts an external USB hard drive to
/media/DISK_LABEL whenever one clicks on its icon in a file browser or
the like.  This works very nicely if you're at the desktop, plug in a
device and want to access it for a while, then unplug it and go away
with your USB drive.  Permissions are left untouched in the USB tree,
and /media/DISK_LABEL has root permisions.  It's not practical though if
the drive is always by the desktop, as backup space or normal
filesystem.  I have a few such devices and would like to do what hal
does here, and avoid having to create a directory under /media with the
label of all the drives, and worry about all the different mounting
options and any other tricks hal does here.  Is there a way to have any
of these devices that are plugged in at boot up be mounted
automatically, to avoid having to mount them manually after booting?
Thanks.


-- 
Seb


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



Re: [OT] SQL Syntax Error '????????????????'

2009-06-10 Thread s. keeling
Harry Rickards :
> 
>  I know this is off-topic, but I don't really want to have to subscribe
>  to or constantly read the MySQL mailing lists, and the IRC channel's no
>  help.

Search the archives:

  groups.google.com "comp.databases.mysql"  # guessing.

However, I think your problem more relates to java than sql.

>  I've written some sample code in Java that connects to localhost using
>  the MySQL JDBC. I've tried multiple variations of the code, but even
>  when using the proper code from MySQL's website, I get the following error:
> 
>  SQLException: You have an error in your SQL syntax; check the manual
>  that corresponds to your MySQL server version for the right syntax to
>  use near '' at line 1
>  SQLState: 42000
>  VendorError: 1064

Does your query run in a commandline session with the db?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://blinkynet.net/comp/uip5.html  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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



Playing ASX streams from Iceweasel

2009-06-10 Thread Nate Bargmann
I know this isn't rocket science, but so far all I've done is run into
walls.  I'm sure there is some way this will work this side of killing
a chicken at the dark of the moon and uttering the secret chant.  ;)

I occasionally listen to a ASX streams and for a long time I've used
the Mozilla plugin for Mplayer which does the job but leaves much to be
desired in the style department.  So I set about trying to use the
various players run from Iceweasel and came up with none that would
just decode the ASX file and play the stream.  I tried Audacious 2.0,
Amarok 1.4.11, VLC 0.9.9a, and Gmplayer 1.0.rc2svn and the related
Kmplayer, and Kaffeine all unable to play an ASX stream file.  I had
success with various ones for decoding PLS and M3U so the framework is
there.  Note that I was going through IW's GUI to select a program and
not trying to do any special configuration in "about:config".

Now I know all about calling mplayer with the -playlist option and
manually extracting the URI from the saved ASX file and playing it that
way but that kind of defeats the purpose of the modern desktop and nice
media players, no?  I also had varying levels of success manually
opening a given stream using the manually copied and pasted URI which
is a kludge.

So is everyone else happily kludging along or do I need to do that
special ceremony to get this high technology to work?

All ideas appreciated.

- Nate >>

P.S.  Was I a bit too sarcastic?

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


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



Re: ipv6 firewall?

2009-06-10 Thread Tony Asnicar
I mean if I do a
ip6tables -L
all policies are ACCEPT
thanks

On Thu, Jun 11, 2009 at 12:13 AM, Tony Asnicar  wrote:

> Could that be a security "hole" that the normal iptables is managing IPv4?
> I mean if theres normally IPv6 support on the machine, it could have a good
> firewall over IPv4, but it will not be firewalled under IPv6??
>


Re: ipv6 firewall?

2009-06-10 Thread Boyd Stephen Smith Jr.
In , Tony 
Asnicar wrote:
>Could that be a security "hole" that the normal iptables is managing IPv4?

I don't see how.

>I mean if theres normally IPv6 support on the machine, it could have a
> good firewall over IPv4, but it will not be firewalled under IPv6??

That's what ip6tables is for.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: mdadm on lenny64, why two spares?

2009-06-10 Thread martin f krafft
also sprach whollyg...@letterboxes.org  
[2009.06.10.2308 +0200]:
> So, if I understand correctly, in the Lenny version of mdadm 
> (I never experienced this building arrays with mdadm on Etch)
> in order for the creation of an array to take place, one must 
> run "mdadm -w " immediately after running "mdadm
> -C  -n y -x z etcetc" otherwise the new array will just sit 
> there not syncing the component devices until the first write?

Yes, this is a safety measure, since -C only writes the superblocks
and then assembles the array as normal. This is postponed until
a write operation takes place in case in case the admin needs to
intervene.

Note that mounting the device or creating a filesystem on it will
have the desired effects too.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"life moves pretty fast. if you don't stop and look around once in
 a while, you could miss it."
 -- ferris bueller


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


ipv6 firewall?

2009-06-10 Thread Tony Asnicar
Could that be a security "hole" that the normal iptables is managing IPv4?
I mean if theres normally IPv6 support on the machine, it could have a good
firewall over IPv4, but it will not be firewalled under IPv6??


Re: split root logical volume to var tmp home etc

2009-06-10 Thread Boyd Stephen Smith Jr.
In <20090610214449.ga11...@m364d1.ece.northwestern.edu>, Zhengquan Zhang 
wrote:
>If I use a system rescue disk and do this with out the rsync command.
>
>mount /dev/debian/var /var
>
>the device /dev/debian/var is still empty and so we need the rsync step,
>is it correct?

After running the mount command above, if you haven't put any data on your 
new file system, /var will be empty.  You will be unable to access the /var 
part of the old file system since it will be hidden my the new mount.  So, 
you'd have to unmount it before running any useful rsync.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: split root logical volume to var tmp home etc

2009-06-10 Thread Zhengquan Zhang
On Tue, Jun 09, 2009 at 05:25:33PM -0500, Boyd Stephen Smith Jr. wrote:
> In <20090609211030.ga30...@m364d1.ece.northwestern.edu>, Zhengquan Zhang 
> wrote:
> >On Mon, Jun 08, 2009 at 04:01:41PM -0500, Boyd Stephen Smith Jr. wrote:
> >> (0. [LVM specific] Create the new logical volume(s).)
> >> 1. Create new file system(s) on the block devices. [LVM: logical
> >> volumes]
> >> 2. Remount the original file system read-only.
> >> 3. Mount the new file system somewhere temporary.
> >> 4. Copy the data across.
> >> 5. Unmount the new file system.
> >> 6. Mount the new file system in it's permanent location.
> >> 7. Remount the old file system read-write.
> >> 8. Update /etc/fstab.
> >> (Here you may want to reboot to make sure the system will do so without
> >> manual intervention, to make sure your changes to the fstab are correct,
> >> and to make sure any of the files that have been moved the the new file
> >> system are no longer open on the old file system.)
> >>
> >> 9. Bind mount the old file system somewhere temporary.
> >> 10. Remove the data from the old file system via the bind mount.
> >> 11. Un- bind mount the old file system.
> 
> Note that the numbers above exactly match the numbers below.  Above is 
> goals/semantics; below is actions/commands.
> 
> >> Example: splitting / into / and /var:
> >> 2. mount -o remount,ro /
> >> (The above command probably won't work because some things are
> >> constantly writing to [e.g.] /var/log.  You might try something like:
> >> fuser -mk / && mount -o remount,ro /.  Or, you might just work from a
> >> system rescue disk.)
> >
> >I don't understand this. Why do I need to remount / read only?
> 
> Because we are going to make a copy of (part of) it.  If other programs make 
> changes during the time it we are making our copy, our copy might be 
> inconsistent or out-of-date. Therefore, we can't allow other programs to be 
> writing changes until we are done getting our copy.

Thanks Boyd for another informative reply. Now I think I somewhat
understand now. Could you please confirm me on another question?

If I use a system rescue disk and do this with out the rsync command.

mount /dev/debian/var /var 

the device /dev/debian/var is still empty and so we need the rsync step,
is it correct?

Thanks again for your time and patience,

Zhengquan

> 
> You will need to make read-only whatever file system is being split.
> 
> >> 3. mount /dev/debian/var /mnt
> >
> >Why do I need to mount the lv to mnt?
> 
> This is a temporary location so that you can populate the new file system 
> without disturbing the rest of the system.
> 
> >> 4. rsync -HaAxX --progress --stats /. /mnt/.
> >
> >So everything in / will have a copy in /mnt ?
> 
> Yes, but it won't descend into file systems mounted below /.  In particular, 
> /mnt doesn't contain a copy of /mnt!  (An impossible situation, but that 
> doesn't stop a computer from trying if you give it the right directions.)
> 
> >and because we have mounted var lv to /mnt. var lv has a copy of
> >everything in / ?
> 
> Ah, good catch.  The correct command would be:
> rsync -HaAxX --progress --stats /var/. /mnt/.
> 
> We only want the new lv to contain a copy of /var.
> 
> >> 5. umount /mnt
> >
> >I don't understand this.
> 
> Simply removes the new file system from its temporary mount point, since it 
> is now ready to be used in its permanent location.
> 
> >> 6. mount /dev/debian/var /var
> >
> >So now var lv is mounted to /var and it now has everything in /var?
> 
> Yes.
> 
> >> 7. mount -o remount,rw /
> >
> >Till here I am totally confused..
> 
> This makes '/' read-write again.  Note that '/var' was read-write as soon as 
> you finished step 6, since it is now a separate file system.  This command 
> makes whatever else in is '/' read-write.  For example, /root.
> 
> >> 8. echo '/dev/debian/var   /varext3relatime,acl0   2' >> 
> >> /etc/fstab
> >> (If you want: /sbin/shutdown -r now -t 5.)
> >> 9. mount -o bind / /mnt
> >> (Okay, so now /etc/fstab and /mnt/etc/fstab are the same file.  However,
> >> /var/log/messages is on the new filesystem and /mnt/var/log/messages is
> >> on the old file system.)
> >> 10. rm -rf /mnt/* /mnt/.[!.]*
> 
> This is definitely wrong, and would have made you very unhappy.  The correct 
> command is:
> rm -rf /mnt/var/* /mnt/var/.[!.]*
> 
> This is removing the old version of /var that is part of the old file 
> system.  The current version is already on the new file system and in active 
> use.
> 
> >> 11. umount /mnt
> >
> >Sorry Boyd I don't quite understand, but thanks for your detailed reply
> >and I would greatly appreciate it if you can still help me to understand
> >it.
> 
> HTH
> -- 
> Boyd Stephen Smith Jr. ,= ,-_-. =.
> b...@iguanasuicide.net((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-'
> http://iguanasuicide.net/  \_/
> 



-- 
Zhengquan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.

Re: AltGr broken in GTK apps (?) since yesterday's upgrade

2009-06-10 Thread Carl Fürstenberg
2009/6/8 Carl Fürstenberg :
> On Sat, Jun 6, 2009 at 20:51, MRH wrote:
>> Davide Mancusi wrote:
>>>
>>>        Running Sid. I upgraded some 400 packages yesterday and since
>>> then the AltGr key has stopped working in some applications, notably
>>> Iceweasel and Claws Mail (i.e. the applications I use 90% of the
>>> time, of course). Specifically, when I press AltGr + any key, nothing
>>> happens. Note that neither Iceweasel nor Claws were upgraded. Could it
>>> be related to GTK?
>>>
>>>        Has anyone experienced the same behaviour?
>>>
>>> Cheers,
>>> Davide
>>>
>>
>> I did a while ago, actually - if it is the same thing; ie some regional
>> characters (Polish in my case) don't work with AltGr. It works again when
>> you open keyboard preferences, go to Layouts tab, Layout Options button,
>> expand 'Key to choose 3rd level', untick and tick back the current option
>> (probably Right Alt), close.
>>
>> But. It returns to the broken state once you pressed any of multimedia keys
>> or logout or in some other circumstances I'm not really sure when. Pretty
>> annoying, so let's hope there will be a fix. Unfortunately I have no idea
>> what is the problem / what causes that so I even do not know where to report
>> a bug (against which package).
>>
>> Kind regards,
>> --
>> Michal R. Hoffmann
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
>> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>>
>>
>
> I have done some testing, but havn't been able to resolve the issue,
> but as following:
> In firefox and xchat, no AltGr combo is possible;
> In Gnome-terminal and in gvim, all but tilde works
> In xterm, everything works
> Same issue both in xfce4 and gnome, also with an pristine user.
>
> And yea, I'm using sid.
>
> /Carl
>
> --
> /Carl Fürstenberg 
>

Tested a bit more, and installedc kate, and it all works fine there,
so it seems to be really a gtk problem.

-- 
/Carl Fürstenberg 


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



Re: automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Wolodja Wentland
On Wed, Jun 10, 2009 at 19:54 +0200, Michael Biebl wrote:

> > It seems like ivman is orphaned [1], so i don't think it is a good 
> > alternative.

> Well, if it works, why not. It should probably have been titled as RFA.
Unfortunately it does not work. I see the behaviour described in bug #521325 
[1].

I agree that the package should probably have been RFAd, but am not sure who 
might dare to step forward as ivman looks unmaintained. (the latest stable 
release was made in February 2007). 

> Anyways, there is also thunar (from Xfce).
> You can run "thunar --daemon" and use "thunar-volman -c" for configuration.

Thanks a lot for the suggestions! I had a look at ivman again and found halevt 
[2] which is based on ivman and seems to be the perfect tool for what I am 
after. Unfortunately it does not support mounting of encrypted volumes out of 
the box, which did not really surprise me a lot because it would require user 
interaction.

Maybe i find some time to write some rules that solve that issue... until then 
I am happy with halevt and the occasional "crypsetup luksOpen ..." :-)

Wolodja Wentland

--
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521325
[2] http://www.nongnu.org/halevt/


signature.asc
Description: Digital signature


Re: mdadm on lenny64, why two spares?

2009-06-10 Thread whollygoat
On Wed, 10 Jun 2009 09:25 +0200, "martin f krafft" 
wrote:
> also sprach Boyd Stephen Smith Jr. 
> [2009.06.10.0030 +0200]:
> > It was in auto-read-only (not quite the same).  Auto-read-only is set 
> > automatically by mdadm for array that is started without all of it's 
> > devices.
> 
> Not true: it's set for all arrays until the first write.

So, if I understand correctly, in the Lenny version of mdadm 
(I never experienced this building arrays with mdadm on Etch)
in order for the creation of an array to take place, one must 
run "mdadm -w " immediately after running "mdadm
-C  -n y -x z etcetc" otherwise the new array will just sit 
there not syncing the component devices until the first write?

will
-- 
  
  whollyg...@letterboxes.org

-- 
http://www.fastmail.fm - The professional email service


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



Re: no sound

2009-06-10 Thread Andrei Popescu
[You wrote to me directly, so I thought you wanted an answer off-list, 
but I see now you also posted to the list, so I'm repeating my answer 
here]

On Wed,10.Jun.09, 12:49:48, Jimmy Johnson wrote:
> Andrei Popescu wrote:
>> On Wed,10.Jun.09, 10:42:23, Jimmy Johnson wrote:
>>> Make sure you also have these two files installed, "alsa-oss" and
>>
>> Why would alsa-oss be necessary?
>
> I also have intel audio device and was searching for "no sound" problem
> and found the solution to install alsa-oss and alsa-firmware-loaders and
> it worked.

It depends on what you use to play sound. Most applications should be
using alsa directly so the alsa-oss emulation is not really necessary, 
it's only an additional layer on top of alsa.

As to alsa-firmware-loaders, the OP mentioned his card is recognized
correctly, and it's also not mentioned among the ones in the package
description.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: How to change indent in vim

2009-06-10 Thread Alex Samad
On Wed, Jun 10, 2009 at 01:51:48PM -0500, Boyd Stephen Smith Jr. wrote:
> In <20090610160715.ga22...@tomgeorge.info>, Thomas H. George wrote:
> >I want indent set to 3, the default setting 8 uses up too much space.
> >
> >There is a plethora of information in /usr/share/vim/vim71 but it all
> >seems to relate to turning indent on for various situations.  Somewhere
> >there must be a simple line indent=8 that I can change but I haven't
> >found it.
> 
> Your ~/.vimrc, ~/.virc, or ~/.exrc (the first one that exists) can be used 
> to run any command each time vim is started.
> 
> Ben gives possibly correct commands.  Use ":help 'tabstop'" and ":help 
> 'shiftwidth'" from within vim to determine is those are the settings you 
> want.

also have a look at help modelines (in vim)





-- 
"Governor Bush will not stand for the subsidation of failure."

- George W. Bush
01/11/2000
Florence, SC


signature.asc
Description: Digital signature


Re: Understanding my SMART errors

2009-06-10 Thread Celejar
On Wed, 10 Jun 2009 21:26:05 +0200
Aniruddha  wrote:

> On Wed, Jun 10, 2009 at 8:50 PM, Boyd Stephen Smith
> Jr. wrote:
> > In <20090610143552.fd11cd1a.cele...@gmail.com>, Celejar wrote:
> 
> >>Is this drive going?
> >
> > Most likely, yes.  Although, it might not completely fail for quite a while.
> > It may even be fixable through manufacturer-specific means.
> >
> 
> Most probably your drive is failing, do already have a backup? If not
> now is the best time to make one ; ) For more info on those errors:

As I mentioned in my OP, I do have them, and I'll certainly be extra
vigilant about them now.

> http://www.captain.at/howto-linux-driveready-seekcomplete-error-drivestatuserror.php

Thanks; I'll have to take a look.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Understanding my SMART errors

2009-06-10 Thread Celejar
On Wed, 10 Jun 2009 13:50:29 -0500
"Boyd Stephen Smith Jr."  wrote:

...

> Could be cabling or some other component between the kernel and the HD, but 
> most likely this is the sign of a failing drive.
> 
> > Jun  9 15:12:29 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
> > increased from 12 to 17
> > Jun 10 14:09:30 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
> > increased from 28 to 34
> >
> >Is this drive going?
> 
> Most likely, yes.  Although, it might not completely fail for quite a while.  
> It may even be fixable through manufacturer-specific means.

Thanks; I guess I'll start keeping my eyes open for a replacement.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Understanding my SMART errors

2009-06-10 Thread Celejar
On Wed, 10 Jun 2009 20:45:14 +0200
Johannes Wiedersich  wrote:

> Celejar wrote:
> > Jun  9 15:12:29 lizzie smartd[3474]: Sending warning via mail to 
> > r...@localhost ... 
> > Jun  9 15:12:29 lizzie smartd[3474]: Warning via mail to r...@localhost: 
> > successful 
> 
> What does this mail say?

Nothing useful, which is why I didn't bother reproducing it
originally.  I have so far received two emails; the first:

> This email was generated by the smartd daemon running on:
> 
>host name: lizzie
>   DNS domain: localdomain
>   NIS domain: (none)
> 
> The following warning/error was logged by the smartd daemon:
> 
> Device: /dev/hda, ATA error count increased from 0 to 4
> 
> For details see host's SYSLOG (default: /var/log/syslog).
> 
> You can also use the smartctl utility for further investigation.
> No additional email messages about this problem will be sent.

I received another one mentioning an ATA error count increase from 12 to
17.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: no sound

2009-06-10 Thread Jimmy Johnson

Andrei Popescu wrote:

On Wed,10.Jun.09, 10:42:23, Jimmy Johnson wrote:

Make sure you also have these two files installed, "alsa-oss" and


Why would alsa-oss be necessary?

Regards,
Andrei



I also have intel audio device and was searching for "no sound" problem
and found the solution to install alsa-oss and alsa-firmware-loaders and
it worked.
--
Jimmy Johnson

Registered Linux User #380263



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




Re: Sid+KDE4+scrollkeeper (SOLVED)

2009-06-10 Thread Jimmy Johnson

Jimmy Johnson wrote:

Careful, Scrollkeeper is now obsolete and needed for Synaptic.



This problem has been dealt with, if you install "rarian-compat" it will 
replace "scrollkeeper".

--
Jimmy Johnson

Registered Linux User #380263


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




Re: How to make Fn+F3 (suspend) combo work in Debian?

2009-06-10 Thread Florian Kulzer
On Wed, Jun 10, 2009 at 10:24:14 +0200, emikaadeo wrote:
> Hi all!
> My laptop is HP Compaq nx7300.
> I want to make my suspend button (Fn+F3) work in debian.
> I want to do this through hal by properly editing file 
> /usr/share/hal/fdi/information/10freedesktop/30-keymap-hp.fdi
> and copy it to /etc/hal/fdi/policy.
> My question is, how to find out what keycode I must to use in this file to 
> make hal understand it?

The keycodes that are already in that file seem to have the form of
escaped scancodes (0exx), therefore I would try if running

showkey --scancodes

from a console reports anything when you press Fn+F3.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: no sound

2009-06-10 Thread Andrei Popescu
On Wed,10.Jun.09, 10:42:23, Jimmy Johnson wrote:
>
> Make sure you also have these two files installed, "alsa-oss" and

Why would alsa-oss be necessary?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Understanding my SMART errors

2009-06-10 Thread Aniruddha
On Wed, Jun 10, 2009 at 8:50 PM, Boyd Stephen Smith
Jr. wrote:
> In <20090610143552.fd11cd1a.cele...@gmail.com>, Celejar wrote:

>>Is this drive going?
>
> Most likely, yes.  Although, it might not completely fail for quite a while.
> It may even be fixable through manufacturer-specific means.
>

Most probably your drive is failing, do already have a backup? If not
now is the best time to make one ; ) For more info on those errors:
http://www.captain.at/howto-linux-driveready-seekcomplete-error-drivestatuserror.php


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



Re: How to change indent in vim

2009-06-10 Thread Boyd Stephen Smith Jr.
In <20090610160715.ga22...@tomgeorge.info>, Thomas H. George wrote:
>I want indent set to 3, the default setting 8 uses up too much space.
>
>There is a plethora of information in /usr/share/vim/vim71 but it all
>seems to relate to turning indent on for various situations.  Somewhere
>there must be a simple line indent=8 that I can change but I haven't
>found it.

Your ~/.vimrc, ~/.virc, or ~/.exrc (the first one that exists) can be used 
to run any command each time vim is started.

Ben gives possibly correct commands.  Use ":help 'tabstop'" and ":help 
'shiftwidth'" from within vim to determine is those are the settings you 
want.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: Understanding my SMART errors

2009-06-10 Thread Boyd Stephen Smith Jr.
In <20090610143552.fd11cd1a.cele...@gmail.com>, Celejar wrote:
>An excerpt of a current 'dmesg | grep hda' (these errors occurred upon
>resuming from suspend to disk):
>
>[34074.459505] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error
> } [34074.459685] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> [34074.459886] hda: possibly failed opcode: 0x25
>[34079.744751] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error
> } [34079.744931] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> [34079.745135] hda: possibly failed opcode: 0x25
>[34079.750086] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error
> } [34079.750263] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> [34079.750466] hda: possibly failed opcode: 0x25
>[34079.789002] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error
> } [34079.789192] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> [34079.789411] hda: possibly failed opcode: 0x25
>[34079.794851] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error
> } [34079.795043] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
> [34079.795261] hda: possibly failed opcode: 0x25

Could be cabling or some other component between the kernel and the HD, but 
most likely this is the sign of a failing drive.

> Jun  9 15:12:29 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
> increased from 12 to 17
> Jun 10 14:09:30 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
> increased from 28 to 34
>
>Is this drive going?

Most likely, yes.  Although, it might not completely fail for quite a while.  
It may even be fixable through manufacturer-specific means.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: Understanding my SMART errors

2009-06-10 Thread Johannes Wiedersich
Celejar wrote:
> Jun  9 15:12:29 lizzie smartd[3474]: Sending warning via mail to 
> r...@localhost ... 
> Jun  9 15:12:29 lizzie smartd[3474]: Warning via mail to r...@localhost: 
> successful 

What does this mail say?

Cheers,
Johannes


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



Re: no sound

2009-06-10 Thread Jimmy Johnson

abdelkader belahcene wrote:

HI,
on my new laptop HP,
I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,

the sound is not running on all, while the hardware is detected , the 
sound indicator is green correct, When I play a sound file, it plays 
normally, but no* sound is heard.*


here is the lspci :

00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #2 (rev 03)
*00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)*
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 2 (rev 03)


thanks for help
bela



Make sure you also have these two files installed, "alsa-oss" and
"alsa-firmware-loaders", then reboot.
--
Jimmy Johnson

Bakersfield, CA. U.S.A.
Registered Linux User #380263
K.I.S.S. (Keep it simple stupid)



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




Understanding my SMART errors

2009-06-10 Thread Celejar
Hi,

In the last couple of days, I've begun to see both kernel errors and
SMART warnings about my laptop's two and a half year old hard drive.

An excerpt of a current 'dmesg | grep hda' (these errors occurred upon
resuming from suspend to disk):

[34074.459505] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[34074.459685] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[34074.459886] hda: possibly failed opcode: 0x25
[34079.744751] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[34079.744931] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[34079.745135] hda: possibly failed opcode: 0x25
[34079.750086] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[34079.750263] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[34079.750466] hda: possibly failed opcode: 0x25
[34079.789002] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[34079.789192] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[34079.789411] hda: possibly failed opcode: 0x25
[34079.794851] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[34079.795043] hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
[34079.795261] hda: possibly failed opcode: 0x25

I ran the short and long SMART self-tests, and they seem clean:

smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offlineCompleted without error   00%  5880 -
# 2  Short offline   Completed without error   00%  5879 -
# 3  Short offline   Completed without error   00%  1435 -

[#1 and #2 are the ones I ran yesterday, IIUC.]

I've attached the output of '# smartctl -a /dev/hda' to this mail.

Here's an excerpt of syslog ('grep smartd /var/log/syslog', with a bunch
of 'Temperature_Celsius changed' lines removed, since I think they're
normal):

Jun  9 15:12:29 lizzie smartd[3474]: Device: /dev/hda, SMART Usage Attribute: 
191 G-Sense_Error_Rate changed from 100 to 99 
Jun  9 15:12:29 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
increased from 12 to 17 
Jun  9 15:12:29 lizzie smartd[3474]: Sending warning via mail to r...@localhost 
... 
Jun  9 15:12:29 lizzie smartd[3474]: Warning via mail to r...@localhost: 
successful 
Jun  9 19:09:49 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
increased from 17 to 28 
Jun  9 20:42:29 lizzie smartd[3474]: Device: /dev/hda, SMART Usage Attribute: 
191 G-Sense_Error_Rate changed from 99 to 100 
Jun 10 14:09:30 lizzie smartd[3474]: Device: /dev/hda, SMART Prefailure 
Attribute: 2 Throughput_Performance changed from 100 to 105 
Jun 10 14:09:30 lizzie smartd[3474]: Device: /dev/hda, SMART Prefailure 
Attribute: 3 Spin_Up_Time changed from 151 to 152 
Jun 10 14:09:30 lizzie smartd[3474]: Device: /dev/hda, SMART Prefailure 
Attribute: 8 Seek_Time_Performance changed from 100 to 126 
Jun 10 14:09:30 lizzie smartd[3474]: Device: /dev/hda, ATA error count 
increased from 28 to 34 

So far, the only actual problem that I've noticed is a (single) failure to
resume from disk yesterday, with some message (I neglected to save it)
about a checksum failure, which I believe was accompanied by some
kernel errors similar to the ones that I've reproduced above.

Is this drive going?  What further tests / diagnostics can I do?  [Yes,
I have backups, and I'm going to redouble my attention to keeping them
current making sure that they're comprehensive.]

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator



smart-info
Description: Binary data


error while loading shared libraries: libopenal.so.0

2009-06-10 Thread Aniruddha
I try to install a 32-bit program in 64-bit Debian but I get the
following message: 'error while loading shared libraries:
libopenal.so.0'. To fix this I downloaded
libopenal1_1.4.272-2_i386.deb and extracted 'libopenal.so.1' and
'libopenal.so.1.4.272 'to /usr/lib32. Unfortunately the error message
remained the same. Who has an idea what I can try next?


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



Re: automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Michael Biebl
Wolodja Wentland wrote:
> On Wed, Jun 10, 2009 at 17:12 +0200, Michael Biebl wrote:
>> Wolodja Wentland wrote:
>>> Hi all,
>>>
>>> I have been using gnome-volume-manager to automount USB/CD/.. media but 
>>> that 
>>> no longer works for me. I am *not* running GNOME, but some GNOME related 
>>> Does anybody have good suggestions?
> 
>> What kind of desktop environment are you running?
> I am running xmonad - so no DE at all.
> 
>> If you need a desktop agnostic automount daemon, maybe ivman is for you
>> (although I never used it myself).
> 
> It seems like ivman is orphaned [1], so i don't think it is a good 
> alternative.

Well, if it works, why not. It should probably have been titled as RFA.
Anyways, there is also thunar (from Xfce).

You can run "thunar --daemon" and use "thunar-volman -c" for configuration.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to change indent in vim

2009-06-10 Thread Ben Olive
set tabstop=3
set shiftwidth=3

--Ben


On Wed, Jun 10, 2009 at 12:07 PM, Thomas H. George wrote:

> I want indent set to 3, the default setting 8 uses up too much space.
>
> There is a plethora of information in /usr/share/vim/vim71 but it all
> seems to relate to turning indent on for various situations.  Somewhere
> there must be a simple line indent=8 that I can change but I haven't
> found it.
>
> Tom
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


Re: guest user with limited shell

2009-06-10 Thread Johannes Wiedersich
Tony Asnicar wrote:
> Hi
> Are there any good shells for a "guest user" - I mean not to give him
> "/bin/bash" :S - or does someone know good howtos for limiting a shell?

What exactly would you like to limit?

I don't see why bash is any more dangerous than running guis.

> (like "disabling it", so that he can only log in to GUI and start a browser,
> etc..)

look at [1] for an overview of how to restrict kde or other DE.

Johannes
[1] http://en.wikipedia.org/wiki/Kiosk_software


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



How to change indent in vim

2009-06-10 Thread Thomas H. George
I want indent set to 3, the default setting 8 uses up too much space.

There is a plethora of information in /usr/share/vim/vim71 but it all
seems to relate to turning indent on for various situations.  Somewhere
there must be a simple line indent=8 that I can change but I haven't
found it.

Tom


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



Re: automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Wolodja Wentland
On Wed, Jun 10, 2009 at 17:12 +0200, Michael Biebl wrote:
> Wolodja Wentland wrote:
> > Hi all,
> > 
> > I have been using gnome-volume-manager to automount USB/CD/.. media but 
> > that 
> > no longer works for me. I am *not* running GNOME, but some GNOME related 
> > Does anybody have good suggestions?

> What kind of desktop environment are you running?
I am running xmonad - so no DE at all.

> If you need a desktop agnostic automount daemon, maybe ivman is for you
> (although I never used it myself).

It seems like ivman is orphaned [1], so i don't think it is a good 
alternative.

thanks for all the fish

Wolodja

--
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499249


signature.asc
Description: Digital signature


Re: no sound

2009-06-10 Thread david
2009/6/10 Johannes Wiedersich 

> abdelkader belahcene wrote:
> > HI,
> > on my new laptop HP,
> > I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,
> >
> > the sound is not running on all, while the hardware is detected , the
> sound
> > indicator is green correct, When I play a sound file, it plays normally,
> but
> > no* sound is heard.*
>
> What is the output of 'aplay -l'?
>
> Have you unmuted your channels in 'alsamixer'?
>
> Cheers,
>
> Johannes
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>


  Hi
 May be  kernel not much , try to debian 4.0 ubuntu 8.10 update to new
version.

   Cheers

 David choi


Re: max sata connections

2009-06-10 Thread Boyd Stephen Smith Jr.
In <4a2fc38c.1080...@songshu.org>, randall wrote:
>i'm fairly unexperienced when it comes to "rackmountable hardware" but i
>was looking at the cheapest way too get as much terrabytes as possible
>in a single system.

I can get 18 drives in my desktop with the right equipment, and all of that 
is fairly old at this point.  Chenbro (among others) makes a 5-in-3 that 
turns 3 5.25" bays into 5 3.5" hot-swap HD trays.  Thermaltake (among 
others) makes a case with 11 5.25" bays plus 3 3.5" internal bays that also 
holds a EATX motherboard.

I saw one rack mount system that was 4U or 5U and had 48 hot-swap bays.

>my eye fell on the Chenbro RM23212 which is a 2u enclosure that fits 12x
>3.5 disks and i obviously want to squeeze 12x 1 or 2 terrabyte disks in
>there.

I think the "price point" for drives is actually the 1.5TB models.  Last I 
checked they were half the price of a 2TB model.

>i figured that would be the most space/gigabyte solution at an
>affordable rate, however, when looking for a matching mobo i can not any
>with more then 10x sataII connections.

Buy a PCIe or PCI-X SATA card.  I know Areca sells a 12 port model.  There 
should be many others.  You really only need to 2-port model so you can 
probably find one that is "low-rise" and will fit in your 2U case.  I think 
they also still make L-adaptors for PCI-X.

I don't suggest doing a 12-disk array.  Probably better to do 3 4-disk 
arrays or 2 5-disk arrays each with a hot spare ready.  It is easier to 
grow/upgrade the array that way.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: guest user with limited shell

2009-06-10 Thread Boyd Stephen Smith Jr.
In , Tony 
Asnicar wrote:
>Are there any good shells for a "guest user" - I mean not to give him
>"/bin/bash" :S - or does someone know good howtos for limiting a shell?

You can't.  Not really.  There are a number of "restricted shells" 
available, but most can be worked around by starting vim or emacs and using 
their command-invocation to start a shell of your choice.  Last I checked, 
once you get there you can use 'chsh -s /bin/zsh' to get a real shell next 
time you login.

The are *very* restrictive shells like sftp-only, but they are intended to 
only provide the minimum required for another front-end to process.  They 
often are difficult for a user to even interact with directly.

Finally, if your user is coming in via ssh, you can restrict their public 
key to being allowed to issue specific commands, never getting a shell.

>(like "disabling it", so that he can only log in to GUI and start a
> browser, etc..)

Assuming the user is sitting in front of the computer, and your computer 
reboots without user interaction, they effectively have root access.  
(reboot with init=/bin/sh mostly)

I'd stop worrying about what programs they can run.  Set their resource 
limits appropriately and double-check your file system permissions and let 
them have a full shell.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: [OT] Re: mdadm on lenny64, why two spares?

2009-06-10 Thread Johannes Wiedersich
Boyd Stephen Smith Jr. wrote:
> In <20090610072551.ge13...@piper.oerlikon.madduck.net>, martin f krafft 
> wrote:
>> mulutlitithtrhreeaadededd s siigngnatatuurere
> 
> You are missing an 'm'.

I guess another 'm' would be wrong, but he /could/ add another 'e'
without harm  8-)

Cheers,
Johannes

-- 
This signature is intentionally left blank.


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



Re: mdadm on lenny64, why two spares?

2009-06-10 Thread Boyd Stephen Smith Jr.
In <20090610072551.ge13...@piper.oerlikon.madduck.net>, martin f krafft 
wrote:
>also sprach Boyd Stephen Smith Jr.  [2009.06.10.0030 
+0200]:
>> It was in auto-read-only (not quite the same).  Auto-read-only is set
>> automatically by mdadm for array that is started without all of it's
>> devices.
>
>Not true: it's set for all arrays until the first write.

Thanks for the correction.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


[OT] Re: mdadm on lenny64, why two spares?

2009-06-10 Thread Boyd Stephen Smith Jr.
In <20090610072551.ge13...@piper.oerlikon.madduck.net>, martin f krafft 
wrote:
>mulutlitithtrhreeaadededd s siigngnatatuurere

You are missing an 'm'.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: no sound

2009-06-10 Thread Johannes Wiedersich
abdelkader belahcene wrote:
> HI,
> on my new laptop HP,
> I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,
> 
> the sound is not running on all, while the hardware is detected , the sound
> indicator is green correct, When I play a sound file, it plays normally, but
> no* sound is heard.*

What is the output of 'aplay -l'?

Have you unmuted your channels in 'alsamixer'?

Cheers,

Johannes


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



Re: OT Picture in Web Page Problem - Thanks

2009-06-10 Thread Thomas H. George
Many thanks for all the helpful comments.  Not only has my immediate
problem been solved but several comments and the references have
resolved other issues.  

Tom


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



Re: automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Michael Biebl
Wolodja Wentland wrote:
> Hi all,
> 
> I have been using gnome-volume-manager to automount USB/CD/.. media but that 
> no longer works for me. I am *not* running GNOME, but some GNOME related 

> Does anybody have good suggestions?

What kind of desktop environment are you running?

If you need a desktop agnostic automount daemon, maybe ivman is for you
(although I never used it myself).

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


RE: max sata connections

2009-06-10 Thread Stackpole, Chris
> From: randall [mailto:rand...@songshu.org]
> Sent: Wednesday, June 10, 2009 9:31 AM
> Subject: max sata connections
> 
> hi all,
> 
> i'm fairly unexperienced when it comes to "rackmountable hardware" but
i
> was looking at the cheapest way too get as much terrabytes as possible
> in a single system.
> 
> my eye fell on the Chenbro RM23212 which is a 2u enclosure that fits
12x
> 3.5 disks and i obviously want to squeeze 12x 1 or 2 terrabyte disks
in
> there.
> 
> i figured that would be the most space/gigabyte solution at an
> affordable rate, however, when looking for a matching mobo i can not
any
> with more then 10x sataII connections.
> 
> i think this could be solved using sata multipliers but i do not have
> any experience with these and there seem to be mixed feelings about
> there reliability as far as i can tell from a quick google.
> 
> anybody has any experience/recommendation on this?

Sorry in advance for cross linking mailing lists, but check out the
MythTV
list. They have got almost this exact topic going on right now.
http://mythtv.org/pipermail/mythtv-users/2009-June/257408.html

The first link talks about an 8 bay setup (with discount!), but later in
the
discussion they talk about larger setups and various other
ideas / implementations including rack-mountable solutions. 

Hope that helps.

Have fun!
~Stack~


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



guest user with limited shell

2009-06-10 Thread Tony Asnicar
Hi
Are there any good shells for a "guest user" - I mean not to give him
"/bin/bash" :S - or does someone know good howtos for limiting a shell?
(like "disabling it", so that he can only log in to GUI and start a browser,
etc..)
thank you!


Re: no sound

2009-06-10 Thread Rob Bochan
On Wednesday 10 June 2009 09:06:18 am abdelkader belahcene wrote:
> HI,
> on my new laptop HP,
> I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,
>...

Open up whatever mixer you're using and look for a setting for "axternal 
amplifier". Toggle it.

...Rob

-- 
John Coltrane - A  Love Supreme
We may all be a bunch of poo-flinging monkeys, but we have our moments.



max sata connections

2009-06-10 Thread randall

hi all,

i'm fairly unexperienced when it comes to "rackmountable hardware" but i 
was looking at the cheapest way too get as much terrabytes as possible 
in a single system.


my eye fell on the Chenbro RM23212 which is a 2u enclosure that fits 12x 
3.5 disks and i obviously want to squeeze 12x 1 or 2 terrabyte disks in 
there.


i figured that would be the most space/gigabyte solution at an 
affordable rate, however, when looking for a matching mobo i can not any 
with more then 10x sataII connections.


i think this could be solved using sata multipliers but i do not have 
any experience with these and there seem to be mixed feelings about 
there reliability as far as i can tell from a quick google.


anybody has any experience/recommendation on this?

much obliged,

Randall


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




Re: no sound

2009-06-10 Thread Preston Boyington
abdelkader belahcene wrote:
> HI,
> on my new laptop HP,
> I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,
> 
> the sound is not running on all, while the hardware is detected , the
> sound indicator is green correct, When I play a sound file, it plays
> normally, but no* sound is heard.*
> 
> here is the lspci :
> 
> *00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
> Controller (rev 03)*
> 

I'm curious if your headphones work even though your built-in speakers
might not.

I am having a similar issue with an Acer Aspire One D150 (D150-1577
specifically) and am running the 2.6.26-2 kernel.

which kernel are you using?

-- 

Arrant Drivel - really, it's just trash...
http://www.arrantdrivel.com/

Where the road takes me - a highwayman's perspective
http://www.prestonboyington.com/


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



Re: wget or curl?

2009-06-10 Thread Oliver Schneider
I tend to prepare my scripts for either of these, by saying:

wget  || curl -L -O 

curl supports of course more protocols, but then if you only need FTPS I 
haven't seen that explicitly mentioned by wget docs either. But I might err ...

// Oliver

PS: Had accidentally replied to the sender only.

 Original-Nachricht 
> Datum: Wed, 10 Jun 2009 07:58:13 -0500
> Von: Mark Allums 
> An: debian-user 
> Betreff: Re: wget or curl?

> Mag Gam wrote:
> >  I would like to automatically get files from a FTPs using TLS. Is it
> > better to use wget or curl?
> > 
> > or is there another alternative?
> > 
> > TIA
> 
> 
> 
> If you have the resources (i.e., disk space, etc.) install both.  No 
> need to decide unless you must.  Some applications (scripts) expect 
> wget, others like curl.  I would say curl is more of a requirement, wget 
> is more optional.   But that is in my experience, others might have 
> other experiences.
> 
> (This point of view is from a non-technical standpoint.  Looking forward 
> to reading what others have to say.)
> 
> 
> Mark Allums

-- 
---
DDKWizard and DDKBUILD: 

Trunk (potentially unstable) version: 



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



Re: Replacing a Debian package with the original source package

2009-06-10 Thread Matus UHLAR - fantomas
> Matus UHLAR - fantomas  writes:
> > don't remove it. unpack the svn version, cd to the mplayer directory, do an
> > % dch -v 1.0svn-your.version.number
> > edit debian/rules and run
> >
> > fakeroot debian/rules binary
> >
> >
> > Yes, the MPlayer contains control files for debian...

On 09.06.09 19:53, Rodolfo Medina wrote:
> Thanks, but unfortunately I already removed the old Mplayer and freshly
> installed the new one on my laptop.
> 
> But I have to replace Mplayer also on my sister's desktop machine.  So,
> can you please be more clear?  What precisely shall the `dch -v
> 1.0svn-your.version.number' command be?

it should look like:

% cd -your.version.number
% 
% fakeroot debian/rules binary

with replacing the  and your.version.number by date of the SVN origin
and your personal revision e.g. rodolfo0, rodolfo1 etc...

> And how should debian/rules be edited?

well, you don't really need to edit it but you may have to. I put things
like --enable-gui, --disable-tremor-internal, --enable-xvmc and other
./configure options there.


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of. 


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



Re: no sound

2009-06-10 Thread Raffaele Morelli
2009/6/10 abdelkader belahcene :
> HI,
> on my new laptop HP,
> I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,
>
> the sound is not running on all, while the hardware is detected , the sound
> indicator is green correct, When I play a sound file, it plays normally, but
> no sound is heard.
>
> here is the lspci :
>
> 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #6 (rev 03)
> 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
> Controller #2 (rev 03)
> 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
> Controller (rev 03)
> 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port
> 1 (rev 03)
> 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port
> 2 (rev 03)
>
> thanks for help
> bela

Assuming alsa-* packages are installed, you should put this line

options snd-dha-intel model=your_model_here

at the end of /etc/modprobe.d/alsa-base.conf

have a look at /usr/share/doc/alsa-base/driver/HD-Audio-Models.txt.gz
and look for the model which corresponds to your sound card (chipset).

cheers
-r


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



automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Wolodja Wentland
Hi all,

I have been using gnome-volume-manager to automount USB/CD/.. media but that 
no longer works for me. I am *not* running GNOME, but some GNOME related 
daemons and it seems like I have been bitten by the "solutions" for bug 
#507630 [1] and #507630 [2]. 

The situation with g-v-m and nautilus as packaged by debian is:

nautilus (2.26.2-3)

* handles automounting if not started with "--no-default-window" *and* 
  "--no-desktop"
* breaks: gnome-volume-manager (< 2.24) [...]

gnome-volume-manager (2.24.1-3)

* compiled with "--disable-automount"
* conflicts: nautilus (< 2.24) [...]

I can understand the decisions taken by the maintainers to handle the decision 
taken by the GNOME developers to implement automouting in nautilus and thereby 
obsoleting this functionality within g-v-m, but ...

The problem is that nautilus is *not* a replacement for g-v-m *as of now* 
because it is not possible to run nautilus in daemon mode. This functionality 
*might* be introduced in a future release ([3]) but is not available right 
now.

I am a bit unsure how to handle this situation and see the following 
alternatives:

1. Maintain my own gnome-volume-manager and nautilus package
   This would enable me to use g-v-m as i have before.
2. Accept that automounting will not work
3. Switch to an alternative

I don't see 1. and 2. as valid alternatives which leaves me with 3. and I 
would like to ask for suggestions.

The alternative should be able to:

1. Automatically mount inserted USB drives as /media/
2. Support encrypted drives (dm-crypt)
3. Allow clean unmounting
4. Work for users in plugdev

Does anybody have good suggestions?

with kind regards

Wolodja

---
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507736
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507630
[3] http://mail.gnome.org/archives/nautilus-list/2009-April/msg00032.html


signature.asc
Description: Digital signature


no sound

2009-06-10 Thread abdelkader belahcene
HI,
on my new laptop HP,
I tryed  debian 5.0, ubuntu 9.04 , linuxMint 7,

the sound is not running on all, while the hardware is detected , the sound
indicator is green correct, When I play a sound file, it plays normally, but
no* sound is heard.*

here is the lspci :

00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #2 (rev 03)
*00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 03)*
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port
1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port
2 (rev 03)

thanks for help
bela


Re: wget or curl?

2009-06-10 Thread Mark Allums

Mag Gam wrote:

 I would like to automatically get files from a FTPs using TLS. Is it
better to use wget or curl?

or is there another alternative?

TIA




If you have the resources (i.e., disk space, etc.) install both.  No 
need to decide unless you must.  Some applications (scripts) expect 
wget, others like curl.  I would say curl is more of a requirement, wget 
is more optional.   But that is in my experience, others might have 
other experiences.


(This point of view is from a non-technical standpoint.  Looking forward 
to reading what others have to say.)



Mark Allums


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




Re: amavisd-new does not start because of DKIM.pm absence.

2009-06-10 Thread Matus UHLAR - fantomas
> Thank You for Your time and answer, Florian:
> 
> > dpkg -l amavisd-new spamassassin libmail-dkim-perl | awk
> > '/^[^D|+]/{print$1,$2,$3}'

On 10.06.09 15:48, Sthu Deus wrote:
> I did not have libmail-dkim-perl... Interesting how it did work before at
> first. And dependency did not work for it in case he new version did require
> it at the second.

you've apparenly had DKIM installed via CPAN, with the older perl version...
I recommend installing the debian way...
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states. 


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



Re: sed/awk/fmt question hijacked from Re: Program for quoting text like in email?

2009-06-10 Thread Johannes Wiedersich
Cameron Hutchison wrote:
> You can combine these into a single sed invocation:
> 
> set -i -e "/.gconf/d" -e "/.java/d" script

s/set/sed/

;-)

Johannes


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



Re: Limit directory size

2009-06-10 Thread Francesco Mazzoli
Andrei Popescu  gmail.com> writes:

> There is probably more than one :)
> 
> I'm thinking either loop mounted files or even separate partitions.
I thought partitions aren't enough flexible, but I hadn't tought of
loop files, I'll try that.

Thanks,
Francesco


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



[Solved again] Program for quoting text like in email?

2009-06-10 Thread Thomas Anderson
>>> OK, so I guess it should be sed 's/^/> /'.
>
>>However I noticed another problem. When I quote a text that is already
>>quoted, the result gets the "> " characters moved around. I would like
>>to get ">> " or "> > " for text that is quoted twice.
>
> What do you mean by "moved around"? Can you post an example?

Sure:

Example of the "> " characters being moved around after quoting three times:

> > > Lorem Ipsum is simply dummy text of the printing and typesetting industry.
> > > Lorem Ipsum has been the industry's standard dummy text ever since the
> 1500s, > > when an unknown printer took a galley of type and scrambled it
> to make a > > type specimen book. It has survived not only five centuries,
> but also the > > leap into electronic typesetting, remaining essentially
> unchanged. It was > > popularised in the 1960s with the release of Letraset
> sheets containing > > Lorem Ipsum passages, and more recently with desktop
> publishing software > > like Aldus PageMaker including versions of Lorem 
> Ipsum.
> > > Lorem Ipsum is simply dummy text of the printing and typesetting industry.
> > Lorem Ipsum has been the industry's standard dummy text ever since the
> 1500s, > when an unknown printer took a galley of type and scrambled it
> to make a > type specimen book. It has survived not only five centuries,
> but also the > leap into electronic typesetting, remaining essentially
> unchanged. It was > popularised in the 1960s with the release of Letraset
> sheets containing > Lorem Ipsum passages, and more recently with desktop
> publishing software > like Aldus PageMaker including versions of Lorem Ipsum.
> > Lorem Ipsum is simply dummy text of the printing and typesetting industry.
> Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
> when an unknown printer took a galley of type and scrambled it to make a
> type specimen book. It has survived not only five centuries, but also the
> leap into electronic typesetting, remaining essentially unchanged. It was
> popularised in the 1960s with the release of Letraset sheets containing
> Lorem Ipsum passages, and more recently with desktop publishing software
> like Aldus PageMaker including versions of Lorem Ipsum.

> The sed script quoted above is very simple. It just puts "> " at the
> start of each line and should not move anything around.
>
> If you are piping the result to fmt(1), then I guess you'd see the
> "moving around" you might be talking about. If this is the problem, you
> may want to use par(1) instead (from the "par" package). par knows about
> quoting and preserves it properly when reformatting. It's got quite a
> few options, but I typically use it as "par 72q" - that uses 72 chars as
> the max line width and handles quoting.
>
> $ sed 's/^/> /' | par 72q

I used your example with "par" and it worked just as intended. Thanks again!

> A slightly more complicated sed script to use not put an extra space
> after the quote on already quoted text would be:
>
> $ sed -e 's/^>/>>/' -e '/^\([^>]\|$\)/s/^/> /' | par 72q

Thanks for this one too. It worked as well as you can see in this example:

 Lorem Ipsum is simply dummy text of the printing and typesetting
 industry. Lorem Ipsum has been the industry's standard dummy
 text ever since the 1500s, when an unknown printer took a galley
 of type and scrambled it to make a type specimen book. It has
 survived not only five centuries, but also the leap into electronic
 typesetting, remaining essentially unchanged. It was popularised
 in the 1960s with the release of Letraset sheets containing Lorem
 Ipsum passages, and more recently with desktop publishing software
 like Aldus PageMaker including versions of Lorem Ipsum.
>>>
>>> Lorem Ipsum is simply dummy text of the printing and typesetting
>>> industry. Lorem Ipsum has been the industry's standard dummy text
>>> ever since the 1500s, when an unknown printer took a galley of type
>>> and scrambled it to make a type specimen book. It has survived not
>>> only five centuries, but also the leap into electronic typesetting,
>>> remaining essentially unchanged. It was popularised in the 1960s
>>> with the release of Letraset sheets containing Lorem Ipsum passages,
>>> and more recently with desktop publishing software
>>
>> Lorem Ipsum is simply dummy text of the printing and typesetting
>> industry. Lorem Ipsum has been the industry's standard dummy text
>> ever since the 1500s, when an unknown printer took a galley of type
>> and scrambled it to make a type specimen book. It has survived not
>> only five centuries, but also the leap into electronic typesetting,
>> remaining essentially unchanged. It was popularised in the 1960s with
>> the release of Letraset sheets containing Lorem Ipsum passages, and
>> more recently with desktop publishing software
>
> Lorem Ipsum is simply dummy text of the printing and typesetting
> industry. Lorem Ipsum has been the industry's standard dummy text
> e

Re: Ctrl-Alt-Backspace disabled?

2009-06-10 Thread Jan Willem Stumpel
emikaadeo wrote:

> I just enabled keyboard layout in 
> K>Systemsettings>Regional&Language>Keyboard Layout, and there,
> in advanced tab I check: Key sequence to kill X server
> (Control+Alt+Backspace).

I filed a bug against xserver-xorg about the disappearance of
control-alt-backspace, and the maintainer (Julien Cristau) wrote
back saying

  DontZap will be changed back to off by default soon.

He also gave the tip to re-enable control-alt-backspace by
including in the XKBOPTIONS line in /etc/default/console-setup:

  terminate:ctrl_alt_bksp

After which (to be on the safe side) you have to reboot.

I suppose this will be necessary (for those without KDE/Gnome)
until "DontZap = off" becomes the default again.

Regards, Jan


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



Re: OT Picture in Web Page Problem

2009-06-10 Thread Matus UHLAR - fantomas
> Am 2009-06-07 11:19:08, schrieb Girish Kulkarni:
> > A better one of which, of course, is GNU Emacs.

On 09.06.09 20:04, Michelle Konzack wrote:
> Geek!  --  EMacs is not an editor, it is an Operating System!  :-D

... that lacks a good text editor ...

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
If Barbie is so popular, why do you have to buy her friends? 


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



Synaptics touchpad two-finger scrolling

2009-06-10 Thread Sjoerd Hardeman
Hi list,

I had two-finger scrolling working with explicit lines in the xorg.conf.
Yet, trying to keep up and using hal instead I edited
/usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi and added
> On
>  type="string">1
>  type="string">1
to the synaptics section. When checking lshal, it all seems to work
> udi = 
> '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'
>   info.capabilities = {'input', 'input.touchpad'} (string list)
>   info.category = 'input'  (string)
>   info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  
> (string)
>   info.product = 'SynPS/2 Synaptics TouchPad'  (string)
>   info.subsystem = 'input'  (string)
>   info.udi = 
> '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input' 
>  (string)
>   input.device = '/dev/input/event13'  (string)
>   input.originating_device = 
> '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
>   input.product = 'SynPS/2 Synaptics TouchPad'  (string)
>   input.x11_driver = 'synaptics'  (string)
>   input.x11_options.HorizTwoFingerScroll = '1'  (string)
>   input.x11_options.SHMConfig = 'On'  (string)
>   input.x11_options.VertTwoFingerScroll = '1'  (string)
>   linux.device_file = '/dev/input/event13'  (string)
>   linux.hotplug_type = 2  (0x2)  (int)
>   linux.subsystem = 'input'  (string)
>   linux.sysfs_path = '/sys/class/input/input13/event13'  (string)
yet in X it doesn't. Two-finger scrolling does not work, and trying
synclient of gsynaptics gives a message like
> Can't access shared memory area. SHMConfig disabled?

Does anybody know what's going on?

Sjoerd



signature.asc
Description: OpenPGP digital signature


Re: mailining list deactivate

2009-06-10 Thread Matus UHLAR - fantomas
> On Thu, Jun 04, 2009 at 02:36:39PM -0700, Paul Johnson wrote:
> > Though there's no reason that the list couldn't tag on another text part
> > with the unsubscribe footer (though the bigger issue is why doesn't the
> > guy's mail reader support List-Unsubscribe and List-Subscribe headers in
> > the first place... it's 2009, they've been around for ~20 years now...).

I think 11 isn't 20 :)

On 07.06.09 20:47, Chris Bannister wrote:
> Mutt doesn't support them, it only has:
> display-toggle-weed   ---  display message and toggle header weeding

mostly because mutt is a mail client, while those headers use HTTP notation
which is imho a big flaw in the RFC 2369...

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol. 


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



wget or curl?

2009-06-10 Thread Mag Gam
 I would like to automatically get files from a FTPs using TLS. Is it
better to use wget or curl?

or is there another alternative?

TIA


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



Re: aptitude logging question

2009-06-10 Thread Chris Bannister
On Sat, Jun 06, 2009 at 09:26:24AM -0400, Jude DaShiell wrote:
> Is it possible just using aptitude to log what happens as a result of  
> system upgrades and package installations?

dpkg already keeps a log in /var/log/

> x11-common and xserver-xorg where --print-installation-architecture had  
> been used.  I'm wondering if I had configured aptitude correctly aptitude 
> could have left me a file with the package names along with warnings and  
> errors in it so that if there were more than just those two packages this 
> had happened to I could fix all of them just using that log.  Of course a 
> log like that would be dangerous if dpkg ever went into one of its fatal  
> error loops and filled up the disk space.  In the event debian got say  

What fatal error loop would this be then?

> /tmp filled to maximum and the computer was rebooted to bring debian up  
> again, would debian be able to come up running?

If /tmp was on its own partition then yes.

-- 
Chris.
==
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
   -- Stephen F Roberts


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



Re: amavisd-new does not start because of DKIM.pm absence.

2009-06-10 Thread Sthu Deus
Thank You for Your time and answer, Florian:

> dpkg -l amavisd-new spamassassin libmail-dkim-perl | awk
> '/^[^D|+]/{print$1,$2,$3}'

I did not have libmail-dkim-perl... Interesting how it did work before at
first. And dependency did not work for it in case he new version did require
it at the second.

Again, thank You, Florian.


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



How to make Fn+F3 (suspend) combo work in Debian?

2009-06-10 Thread emikaadeo
Hi all!
My laptop is HP Compaq nx7300.
I want to make my suspend button (Fn+F3) work in debian.
I want to do this through hal by properly editing file 
/usr/share/hal/fdi/information/10freedesktop/30-keymap-hp.fdi
and copy it to /etc/hal/fdi/policy.
My question is, how to find out what keycode I must to use in this file to 
make hal understand it?
Regards




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



Re: Re: Ctrl-Alt-Backspace disabled?

2009-06-10 Thread emikaadeo
Jan Willem Stumpel wrote:

> Andrei Popescu wrote: (about getting ctl-alt-backspace back):
>> You need
>> 
>> Option   "DontZap" "false"
>> 
>> in the ServerFlags section of your xorg.conf (check the manpage for
>> xorg.conf, I'm writing from memory).
> 
> This worked for about a week -- but nannyism has crept further. In
> the latest Sid, even this trick doesn't work anymore. How to get
> it back, I wonder.
 
I just enabled keyboard layout in 
K>Systemsettings>Regional&Language>Keyboard Layout, and there, in advanced 
tab I check: Key sequence to kill X server (Control+Alt+Backspace).
Regards




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



Re: mdadm on lenny64, why two spares?

2009-06-10 Thread martin f krafft
also sprach Boyd Stephen Smith Jr.  [2009.06.10.0030 
+0200]:
> It was in auto-read-only (not quite the same).  Auto-read-only is set 
> automatically by mdadm for array that is started without all of it's 
> devices.

Not true: it's set for all arrays until the first write.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
mulutlitithtrhreeaadededd s siigngnatatuurere


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Re: Double click speed file configuration

2009-06-10 Thread User Debian

Wayne Topa wrote:

User Debian wrote:

Hi All,

I would like to know where is the file where I can set manually the 
double-clicking speed in Debian ETCH.


man gpm

Wayne


I tried it, but it says that there is no manual entry. Any idea ?

Many thanks in advance,

Eric


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