Re: Formating disk

2009-08-10 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jochen Schulz wrote:
> hce:
>> I am going to create ext3 file system to an external USB HDD for being
>> used as an backup storage. I am not clear if it is necessary to
>> reserve super user blocks (5% by default), could you please advise?
> 
> I do that only for filesystems which make the system (partly) unusable
> when they are full (/, /var). For simple 'data stores' you don't need
> it.

- From man ext2fs, the reserved blocks are not just for root, but are also
used in order to avoid fragmentation.

Cheers,
Johannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkp/zy0ACgkQC1NzPRl9qEWsPQCfUTXiiMkG/IYRpIqyv9krcETs
ySsAn281H5P0VHhAyTSRydPkYyuOk5Fi
=t/Q3
-END PGP SIGNATURE-


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



Re: lzma Vs lzip ?

2009-08-10 Thread Vincent Lefevre
On 2009-08-10 01:49:29 +0200, Thomas Preud'homme wrote:
> Indeed I looked in the man and found this :
> 
> LZMA (Lempel-Ziv-Markov chain-Algorithm) is an improved version of
> famous LZ77 compression algorithm. It was improved in way of maximum
> increasing of compression ratio, keeping high decompression speed
> and low memory requirements for decompressing.
> 
> But they can still claimed to be based on the original Lempel-Ziv algorithm. 
> It has just been improved.

There's another improved algorithm, called LZMA2, which is used by
xz-utils.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


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



rhythmbox won't stop coming up

2009-08-10 Thread Daniel Dalton
Hi,

On this system of mine, which I recently reinstalled, for various
reasons, this problem still persists. Everything was whiped except
/home, and if I log in as a different user the problem does not
occur. When gdm starts and logs in as "daniel", rhythmbox is always
launched, but minimized eg. the window doesn't pop up it just runs in
the background. Where can I stop this from happening, I looked in the
sessions options under preferences about start up apps, but didn't see
it listed there.
So how do I stop it from automatically launching rhythmbox?

I'm using gnome with gdm to log in.

Thanks,
Daniel.


signature.asc
Description: Digital signature


Re: rhythmbox won't stop coming up

2009-08-10 Thread Aioanei Rares

Daniel Dalton wrote:

Hi,

On this system of mine, which I recently reinstalled, for various
reasons, this problem still persists. Everything was whiped except
/home, and if I log in as a different user the problem does not
occur. When gdm starts and logs in as "daniel", rhythmbox is always
launched, but minimized eg. the window doesn't pop up it just runs in
the background. Where can I stop this from happening, I looked in the
sessions options under preferences about start up apps, but didn't see
it listed there.
So how do I stop it from automatically launching rhythmbox?

I'm using gnome with gdm to log in.

Thanks,
Daniel.
  
Go to system -> preferences -> startup applications to check if 
Rhythmbox ain't there.



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




APT source list for shutter?

2009-08-10 Thread ronggui wong
Dear all,

I use Debian 5.0, and I want to install shutter
(http://shutter-project.org/). The source.list I currently used
doesn't have this software. Can anyone recommend a source list for it?
Thank you in advance.

Ronggui


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



Can't upgrade: "Couldn't configure pre-depend libc6-i386..."

2009-08-10 Thread Nuno Magalhães
Hi,

When issuing:
# apt-get update; apt-get dist-upgrade

i get the following error:
Fetched 11.3MB in 15s (741kB/s)
E: Couldn't configure pre-depend libc6-i386 for lib32stdc++6, probably
a dependency cycle.

I found this recent bug that seems to be the problem, but it's set as
closed and for aptitude:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537505

Is it the same thing? No? Any suggestions?
I'm running unstable on amd64 with the extra stuff for i386, although
as fas as i can tell i've only used it for skype (which i itend to
replace as soon as i can figure out ekiga or some other SIP client)
and i've comented that line out of sources.list.

TIA,
Nuno Magalhães

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


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



Re: APT source list for shutter?

2009-08-10 Thread Gerard Robin

On Mon, Aug 10, 2009 at 08:49:26PM +0800, ronggui wong wrote:

Date: Mon, 10 Aug 2009 20:49:26 +0800
From: ronggui wong 
To: DebianUser 
Subject: APT source list for shutter?



I use Debian 5.0, and I want to install shutter
(http://shutter-project.org/). The source.list I currently used
doesn't have this software. Can anyone recommend a source list for it?


Shutter isn't in lenny but in Squeeze and in Sid.
If you change your sources.list all your system will be changed to squeeze ...
Otherwise you can try to install shutter manualy i.e. :
download the pakage shutter
(http://packages.debian.org/unstable/graphics/shutter)
and its dependencies and install them with "sudo dpkg  -i shutter dep1 de2 ...

good luck.
--
Gérard


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



Re: APT source list for shutter?

2009-08-10 Thread Gerard Robin

On Mon, Aug 10, 2009 at 08:49:26PM +0800, ronggui wong wrote:

Date: Mon, 10 Aug 2009 20:49:26 +0800
From: ronggui wong 
To: DebianUser 
Subject: APT source list for shutter?

Sorry this is for sid: http://packages.debian.org/unstable/graphics/shutter

sqeeze is safer that sid : http://packages.debian.org/squeeze/shutter

--
Gérard


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



problem with multipath since I upgraded form etch to lenny

2009-08-10 Thread Johan
Hi

I have a problem with my multipath setup since I upgraded a server
from Etch  to Lenny.

One of my paths doesn't show up anymore.

The command multipath -v6 gives me those 2 errors :
libdevmapper: ioctl/libdm-iface.c(1623): device-mapper: reload ioctl
failed: Invalid argument
SAN_ess5Disk1: domap (0) failure for create/reload map

Any idea ?

Do I have something wrong in my config ?


Thanks a lot

Johan


Here is an extract of the command multipath -v6

SAN_ess5Disk1: pgfailback = -2 (controller setting)
SAN_ess5Disk1: pgpolicy = group_by_serial (controller setting)
SAN_ess5Disk1: selector = round-robin 0 (controller setting)
SAN_ess5Disk1: features = 1 queue_if_no_path (controller setting)
SAN_ess5Disk1: hwhandler = 0 (internal default)
SAN_ess5Disk1: rr_weight = 1 (internal default)
SAN_ess5Disk1: minio = 1000 (config file default)
SAN_ess5Disk1: no_path_retry = 300 (controller setting)
pg_timeout = NONE (internal default)
SAN_ess5Disk1: set ACT_CREATE (map does not exist)
libdevmapper: ioctl/libdm-iface.c(1606): dm info SAN_ess5Disk1  NF   [16384]
libdevmapper: ioctl/libdm-iface.c(1606): dm create SAN_ess5Disk1 mpath-1IBM_2105
_31630721 OF   [16384]
libdevmapper: libdm-common.c(607): SAN_ess5Disk1: Stacking NODE_ADD (254,7) 0:6
0660
libdevmapper: ioctl/libdm-iface.c(1606): dm reload SAN_ess5Disk1  OF   [16384]
libdevmapper: ioctl/libdm-iface.c(1623): device-mapper: reload ioctl failed: Inv
alid argument
libdevmapper: ioctl/libdm-iface.c(1606): dm remove SAN_ess5Disk1  NF   [16384]
libdevmapper: libdm-common.c(623): SAN_ess5Disk1: Stacking NODE_DEL (replaces ot
her stacked ops)
libdevmapper: ioctl/libdm-iface.c(1606): dm info SAN_ess5Disk1  NF   [16384]
SAN_ess5Disk1: domap (0) failure for create/reload map
SAN_ess5Disk1: remove multipath map
sdc: orphaned
sdg: orphaned
sdc: ownership set to SAN_ess5Disk1
sdc: not found in pathvec
sdc: mask = 0xc
sdc: path checker = tur (controller setting)
sdc: state = 2
sdc: getprio = NULL (internal default)
sdc: prio = 1
sdg: ownership set to SAN_ess5Disk1
sdg: not found in pathvec
sdg: mask = 0xc
sdg: path checker = tur (controller setting)
sdg: state = 2
sdg: getprio = NULL (internal default)
sdg: prio = 1
SAN_ess5Disk1: pgfailback = -2 (controller setting)
SAN_ess5Disk1: pgpolicy = group_by_serial (controller setting)
SAN_ess5Disk1: selector = round-robin 0 (controller setting)
SAN_ess5Disk1: features = 1 queue_if_no_path (controller setting)
SAN_ess5Disk1: hwhandler = 0 (internal default)
SAN_ess5Disk1: rr_weight = 1 (internal default)
SAN_ess5Disk1: minio = 1000 (config file default)
SAN_ess5Disk1: no_path_retry = 300 (controller setting)
pg_timeout = NONE (internal default)
SAN_ess5Disk1: set ACT_CREATE (map does not exist)
libdevmapper: ioctl/libdm-iface.c(1606): dm info SAN_ess5Disk1  NF   [16384]
libdevmapper: ioctl/libdm-iface.c(1606): dm create SAN_ess5Disk1 mpath-1IBM_2105
_31630721 OF   [16384]
libdevmapper: libdm-common.c(607): SAN_ess5Disk1: Stacking NODE_ADD (254,7) 0:6
0660
libdevmapper: ioctl/libdm-iface.c(1606): dm reload SAN_ess5Disk1  OF   [16384]
libdevmapper: ioctl/libdm-iface.c(1623): device-mapper: reload ioctl failed: Inv
alid argument
libdevmapper: ioctl/libdm-iface.c(1606): dm remove SAN_ess5Disk1  NF   [16384]
libdevmapper: libdm-common.c(623): SAN_ess5Disk1: Stacking NODE_DEL (replaces ot
her stacked ops)
libdevmapper: ioctl/libdm-iface.c(1606): dm info SAN_ess5Disk1  NF   [16384]
SAN_ess5Disk1: domap (0) failure for create/reload map
SAN_ess5Disk1: remove multipath map
sdc: orphaned
sdg: orphaned


My Config is
defaults {
   udev_dir/dev
   polling_interval2
   default_getuid_callout  "/lib/udev/scsi_id -g -u -s /dev/%n"
   user_friendly_names yes
}

devnode_blacklist {
   devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
   devnode "^hd[a-z][[0-9]*]"
   devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
   devnode "^sda[[0-9]*]"
}

multipaths {
   multipath {
   wwid1IBM_2105_31730721
   alias   SAN_ess5Disk2
   }
   multipath {
   wwid1IBM_2105_31530721
   alias   SAN_ess5Disk3
   }
   multipath {
   wwid1IBM_2105_32730721
   alias   SAN_ess5Disk4
   }
   multipath {
   wwid1IBM_2105_31630721
   alias   SAN_ess5Disk1
   }

}

devices {
   device
   {
   vendor  "IBM.*"
   product "2105800"
   path_grouping_policygroup_by_serial
   path_checkertur
   path_selector   "round-robin 0"
   #prio_callout"/sbin/mpath_prio_rdac /dev/%n"
   #prio_callout"/sbin/mpath_prio_tpc /dev/%n"
   failbackimmediate
   features

Re: kmymoney & QIF vs OFX

2009-08-10 Thread Florian Kulzer
On Sun, Aug 09, 2009 at 20:31:39 -0400, Paul Cartwright wrote:
> On Sun August 9 2009, Florian Kulzer wrote:
> > If you want to find out what went wrong, please post the output of:
> >
> > apt-cache policy kmymoney2-plugin-aqbanking
> 
> kmymoney2-plugin-aqbanking:
>   Installed: 0.9.6beta-5
>   Candidate: 0.9.6beta-5
>   Version table:
>  *** 0.9.6beta-5 0
> 500 http://ftp.us.debian.org lenny/main Packages
> 500 http://ftp.de.debian.org lenny/main Packages
> 100 /var/lib/dpkg/status

Nothing wrong with that if you are tracking Lenny. (One of your earlier
messages showed that you had kmymoney2 version 0.9.3-1 installed,
therefore I assumed that you were running Squeeze or Sid.) 
Version 0.8.9-1 of kmymoney2 together with version 0.9.6beta-5 of
kmymoney2-plugin-aqbanking is the normal combination for OFX import on
Lenny.

-- 
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: Xorg is very slow.

2009-08-10 Thread Arnt Karlsen
On Mon, 10 Aug 2009 09:07:37 +0800, Magicloud wrote in message 
<3bd412d40908091807j42059892i9d3986eb80ac7...@mail.gmail.com>:

> Sorry, by "cannot", I did not mean I had any problem, it is just
> company policy

..aha.  Then we cannot help you, you must first have your company fix
its own policy so you once more can start make use of Debian, or your 
company must hire somebody who can fix your company's OS problem.

> On Fri, Aug 7, 2009 at 11:01 PM, Andrew
> Sackville-West wrote:
> > On Fri, Aug 07, 2009 at 09:00:58PM +0800, Magicloud Magiclouds
> > wrote:
> >> Really? I am sorry, I did searched about "xorg 7.4 2.6.18", nothing
> >> useful came out
> >> Could you give me the google link? Thanks.
> >
> > A google link won't help you. you are running a kernel that is
> > several years old with the latest xorg. there are bound to be
> > problems. Upgrade your kernel and then if the problem persists, ask
> > again.
> >
> >> > On Fri, 7 Aug 2009 16:41:06 +0800, Magicloud wrote in message
> >> > <3bd412d40908070141u4c2c2f7ase647a3cca0fb8...@mail.gmail.com>:
> >> >
> >> >> For some reason, I cannot upgrade my kernel
> >> >> Reconfiguring does not work.
> >> >> And, since it has been a long time, the log is gone
> >
> > If you have problems upgrading your kernel, you should start a new
> > thread to discuss that. Be sure to include pertinent output from the
> > upgrade attempt. No one can help you if you do not provide the
> > output from the attempt to upgrade.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


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



Re: Debian Lenny install failing on Dell Latitude CPi A366ST during hardware detect phase

2009-08-10 Thread Arnt Karlsen
On Sun, 9 Aug 2009 22:06:34 -0700, Kyle wrote in message 
:

> Hello everyone,/
> 
> I'm trying to install Debian Lenny on an old Dell Latitude CPi A366ST,
> currently running Win98. KNOPPIX boots on it fine, as does Win98.

..use that to visit http://goodbye-microsoft.com/ 
and install over internet or your own lan mirror.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


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



Re: Some questions about seting up wireless network between linuxand vista ;

2009-08-10 Thread Emanoil Kotsev
>>
>> 3-first in vista ad-hoc wireless network has been created then in
>> linux after runnig above command ,linux has been connected to vista
>> but yet linux does not show vista shared folders ,what is/are the
>> reason/s ?
>>
>> regards dehqan
>>
>>   
>>
> How about this:
> 
> apt-cache search  smb browser
> komba2 - KDE Samba browser
> smb2www - SMB/CIFS network client with a web interface
> smb4k - A Samba (SMB) share advanced browser for KDE
> smbc - samba-commander - curses based samba network browser
> smbind - PHP-based tool for managing DNS zones for BIND
> swat - Samba Web Administration Tool
> xsmbrowser - X11 tool for navigating SMB Networks

or a firewall ... or you think it's connected but it's not ... can you ping
windows?


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



Re: unlocking encrypted root via ssh

2009-08-10 Thread Emanoil Kotsev
Alex Samad wrote:

> On Thu, Aug 06, 2009 at 10:18:28PM -0400, Justin wrote:
>> Or not? I managed to boot it successfully that way only once.
>> 
>> On Thu, Aug 6, 2009 at 9:46 PM, Justin  wrote:
>> 
>> > And the answer, for posterity, is that you do killall cryptroot*before*
>> > running it from busybox.
>> >
>> >
>> > On Thu, Aug 6, 2009 at 9:19 PM, Justin  wrote:
>> >
>> >> I'm trying to unlock an encrypted root partition via SSH. I finally
>> >> got to the point where I could log in via dropbear and run cryptroot
>> >> successfully. After that I do a 'killall cryptroot & exit' and the
>> >> boot process resumes. However, it hangs after populating /dev. I
>> >> wasn't able to find ANY
> 


Hi, this is what I never found time to do. Few years ago as cryptsetup came
out I had to create my own initrd. After this debian or someone else fixed
the create-ramfs scripts, so it's working.

I often have had a problem when running mkiniramfs or updatecramfs (or
whatever it's called) particularly after installing a custom kernel.
The problem is (I think) if I install the custom kernel and point to the
version it's using the running version to find out modules etc and puts
them into the new initrd. This is not working mostly, so I'm booting with
kernel option init=/bin/sh to go to the shell and doing the stuff myself.
Check also to have setup the correct root in the kernel cmd_line i.e.
root=/dev/mapper/root. This should match your crypttab fstab etc (at time
of initrd creation).

You have to have /proc and /sys mounted I think I remember

when you are in the "limitted" shell you can check the status of udev and
actually you can trigger the hole boot process:

mount -t proc none /proc
cryptsetup  root
cd /
test -d new || mkdir new
mount -t ext3 -o,ro /dev/mapper/root /new

exec /usr/sbin/chroot . /bin/sh <<- EOF >dev/console 2>&1
exec /sbin/init ${CMDLINE}
EOF

as far as I remember this is part of a trivial linux initramfs init file

Hints:
+ use a nonencrypted usb stick with copy of your binaries (you don't have to
reboot)

+ do it first onsite ;-)

regards


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



Re: /dev/usb/hiddev0 - linux-image-2.6.26-2-486

2009-08-10 Thread Emanoil Kotsev
Csanyi Pal wrote:

> Hi,
> 
> I want to use this software:
> http://openprog.altervista.org/op.tar.gz
> 
> to use this hardware:
> http://openprog.altervista.org/
> 
> I must to have
> /dev/usb/hiddev0
> 
> so the 'op' software can to do job.
> 
> I'm using linux-image-2.6.26-2-486.
> 
> I'm try to load the kernel module
> usbhid
> but that don't create automatically the hiddev0 device.
> 
> Which kernel module to load to have
> /dev/usb/hiddev0
> 
> device?


lsmod | grep hid
usbhid 39488  0
hid65664  1 usbhid
usbcore   148944  10 <...> usbhid,<.>, ehci_hcd,uhci_hcd



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



Re: No sound with Lenny on Dell Insipiron Mini 10v

2009-08-10 Thread Emanoil Kotsev
Mark wrote:

> A friend has a new Dell Inspiron Mini 10v, came with XP.  I installed
> Debian
> via dvd .iso image (dual boot), everything's okay except for audio.  lspci
> lists - Intel Corporation 82801G (ICH7 Family) High Definition Audio
> Controller - as the device. There is volume control, etc. All mutes are
> off.  Booted a live Ubuntu CD just to test, and all audio works; lspci
> lists
> the same audio device.  Sound also works in XP, although XP lists it as a
> Realtek High Definition Audio controller, not Intel.  Also installed
> gnome-alsamixer and it shows volume/recording controls but nothing impacts
> sound output.
> 
> Tried these tips so far (not a ton of links out there on this that my
> search revealed):
> 
> http://wiki.debian.org/InstallingDebianOn/Dell/InspironMini9 (Audio
> section)
>
http://krisrowland.wordpress.com/2009/07/15/fixed-sound-not-working-in-debian-lenny-on-a-dell-mini-9/
> 
> I've run out of ideas, and am totally confused why booting from the Ubuntu
> 9.04 live CD plays sounds while Debian doesn't.  Is there something I
> should
> copy from the Ubuntu CD onto the Debian installation media?  i.e. if there
> is an audio module, etc.  From what I've read support for the audio
> hardware is built into the kernel so why no sound output?
> 
> Any help or ideas are welcomed, including if I missed something obvious
> and look like a reTARD, that's fine - I just want sound so I don't have to
> use Ubuntu instead.
> 
> Thanks,
> Mark


The realtek is the packager of the chip - intel is the chip manufacturer, so
Intel HDA is ok

cat /etc/modprobe.d/sound
...
alias snd-card-0 snd-hda-intel
...
options snd-hda-intel model=ref index=0

the ref is important to let ALSA guess your audio card

you can try other settings that match your hardware though: 

options snd-hda-intel model=dell-m22 index=0
options snd-hda-intel model=gateway index=0 probe_mask=1

have a look at the ALSA Documentation for the proper settings

you can check also the mixer settings (after initial setup they are switched
OFF = NO SOUND)

regards


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



Re: make deb file

2009-08-10 Thread Emanoil Kotsev
Umarzuki Mochlis wrote:

> to make a deb file from source i have to run make checkinstall, but how
> about a deb files containing scripts to be distributed to various
> directories?
> 

read the documentation and ask again

here a short hint:

to build debian directory and files run from within the package directory 

dh_make 
cd debian

edit all the files (the once you need - you'll know which and how after
you've read the docs)

cd ..

execute 

dpkg-buildpackage -rfakeroot -d -us -uc -nc -ai386

man dpkg-buildpackage for the options

regards


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



C++ and threading howto for linux dev

2009-08-10 Thread Emanoil Kotsev
Hi, perhaps it's OT but still the debian list is the best one (my subjective
opinion), so I dear to ask here.

I'm willing to build an app that starts 3 threads, especially (soap client,
server from libcsoap and terminal), so I couldn't manage to do the job in
C++, because they it lacks native threading support. PThread lib is C.

Does any one know a good howto (working one - tested hin/herself)

I tried a bunch of junk over the weekend and could make it

I also couldn't find a user-list for libcsoap, but the question is a general
one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It shouldn't be
that hard - or is it?

Thanks in advance


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



Re: C++ and threading howto for linux dev

2009-08-10 Thread Hugo Vanwoerkom

Emanoil Kotsev wrote:

Hi, perhaps it's OT but still the debian list is the best one (my subjective
opinion), so I dear to ask here.

I'm willing to build an app that starts 3 threads, especially (soap client,
server from libcsoap and terminal), so I couldn't manage to do the job in
C++, because they it lacks native threading support. PThread lib is C.

Does any one know a good howto (working one - tested hin/herself)

I tried a bunch of junk over the weekend and could make it

I also couldn't find a user-list for libcsoap, but the question is a general
one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It shouldn't be
that hard - or is it?



I use QT and their examples: they are the greatest!
http://packages.debian.org/sid/qt4-doc-html

Hugo


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




Re: C++ and threading howto for linux dev

2009-08-10 Thread Eric Meijer

Emanoil Kotsev wrote:

Hi, perhaps it's OT but still the debian list is the best one (my subjective
opinion), so I dear to ask here.

I'm willing to build an app that starts 3 threads, especially (soap client,
server from libcsoap and terminal), so I couldn't manage to do the job in
C++, because they it lacks native threading support. PThread lib is C.

Does any one know a good howto (working one - tested hin/herself)

  

Boost threads is what I use (debian package libboost-thread-dev).  It
builds on pthreads, and  is part of the high quality boost library for
C++, which is a kind of testbed for libraries to be added to the C++
standard  library.  You may want to browse boost for more useful stuf.

I tried a bunch of junk over the weekend and could make it

I also couldn't find a user-list for libcsoap, but the question is a general
one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It shouldn't be
that hard - or is it?

  

Multi-threaded development is always hard and needs at least some extra
care.  See also the docs in libboost-doc.

Regards,
Eric



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




Re: C++ and threading howto for linux dev

2009-08-10 Thread Emanoil Kotsev
Hugo Vanwoerkom wrote:

> I use QT and their examples: they are the greatest!
> http://packages.debian.org/sid/qt4-doc-html
> 
> Hugo

Hi,
I'm not looking for a graphics implementation of threads but a way to run
threads from pure C++ code. What should I do with QT? I make my app
depending on something I don't really need.

I actually found a howto but without working examples (means I have to
implement and try it) and I'm refusing to believe nobody did it before.

The few other howtos were not working for me I either need to spend another
weekend or somebody could give me a good example.

I actually found this implementation http://code.google.com/p/cppthreadpool/
coming very close to the theoretical one I found.

... and tried it but it's waiting for the server to exit to fetch the next
function ... either I didn't implement it the right way or it's a pseudo
threading. I'm investigating now.

Is there an expert to have a look at the code?

and what about the clone() function I read is available in linux?

regards


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



Re: C++ and threading howto for linux dev

2009-08-10 Thread Emanoil Kotsev
Eric Meijer wrote:

>>   
> Boost threads is what I use (debian package libboost-thread-dev).  It
> builds on pthreads, and  is part of the high quality boost library for
> C++, which is a kind of testbed for libraries to be added to the C++
> standard  library.  You may want to browse boost for more useful stuf.
>> I tried a bunch of junk over the weekend and could make it
>>
>> I also couldn't find a user-list for libcsoap, but the question is a
>> general one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It
>> shouldn't be that hard - or is it?
>>
>>   
> Multi-threaded development is always hard and needs at least some extra
> care.  See also the docs in libboost-doc.
> 
> Regards,
> Eric

Thanks Eric

I was also thinking to use the boost package. I don't like it's heavy and my
app would depend on it too.

So there is no easy way around pthreads from C++ except boost?

Any alternatives?

thanks in advance


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



Re: What is the best setup to compute in the burning hot sun?

2009-08-10 Thread Dale Harris
On Fri, Jul 31, 2009 at 10:29:10PM -0700, Tyler MacDonald wrote:
> I want to set up a workstation in my back yard. I know it probably involves
> an umbrella and a laptop, and a power extension cable. I think that the
> laptop overheating may be a concern. Even with an umbrella, I'm worried that
> glare may be an issue too.

Hmm... I think you would be fine. If you could put your laptop on a Xpad
Slim.

http://www.xpad4laptop.com/

In a hammock, under an umbrella, I think you would be fine.  Most laptops
have a operational temp around 10 to 35C.  

Well, might still some water cooling... 


-- 
Dale Harris   
rod...@maybe.org
rod...@gmail.com
/.-)


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



Re: What is the best setup to compute in the burning hot sun?

2009-08-10 Thread Mike Castle
On Fri, Jul 31, 2009 at 11:39 PM, Tyler MacDonald wrote:
> My yard extends farther than I can piss - but not farther than I can run an
> extension cord.  It has a nice fir tree near that back.  Seems like a nice
> place to hang out and program, if I can see the screen clearly and not melt
> my interface to the digial universe.  I'll bring a jug of ice cold water and
> always keep another chilling in the fridge to keep my personal epidermal
> cooling system operational.

Don't forget, with the extension cord, you can put a fridge out there
by you as well.


You might look at some anti glare screens.  May make it harder to pair
program if you have someone come over.

If you haven't already, be sure to install some software to monitor
the internal temps, just so you can get a feel for what range they run
out during the day and such.  And keep the vents on the machine clear;
don't set it on towels and depending on how dusty, blowing out with
air every so often.  (Then again, with two cats, our laptops have more
problems inside.)

mrc


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



Re: Package Version Numbers

2009-08-10 Thread Boyd Stephen Smith Jr.
In , Jeff Grossman wrote:
>I am running Debian Stable on a server.  The package in
>stable right now is called "5.2.6.dfsg.1-1+lenny3".  I called my new
>packages "5.2.6.dfsg.1-1+lenny3+custom1".  I have the following
>settings in my apt.conf file in case I ever need to install anything
>from testing or unstable:

apt.conf?

I think these setting are from /etc/apt/preferences, not /etc/apt/apt.conf 
or /etc/apt/apt.conf.d/

>Package: *
>Pin: release a=lenny-backports
>Pin-Priority: 800
>
>Package: *
>Pin: release a=volatile
>Pin-Priority: 600
>
>Package: *
>Pin: release a=stable
>Pin-Priority: 500
>
>Package: *
>Pin: release a=testing
>Pin-Priority: 300
>
>Package: *
>Pin: release a=unstable
>Pin-Priority: 200
>
>But, now aptitude wants to install the PHP package from testing when I
>do a safe-upgrade.  What should I have called my custom build PHP
>package so it would not want to upgrade it to testing?

Installed packages that are not available in a repository have a priority of 
100.  You could pin (by version) your custom package version to 400 or so.  
Alternatively would could put your local packages in a local repository and 
pin that repository to 400 or so.  apt-ftparchive can be quite useful for 
small, local repositories.
-- 
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: Package Version Numbers

2009-08-10 Thread Boyd Stephen Smith Jr.
In <47pt7511s56vq779jtfp2ap0059a8m4...@4ax.com>, Jeff Grossman wrote:
>mail:~# apt-cache policy php5
>php5:
>  Installed: 5.2.6.dfsg.1-1+lenny3+custom1
>  Candidate: 5.2.9.dfsg.1-4
>  Version table:
> 5.2.10.dfsg.1-2 0
>200 http://ftp.us.debian.org unstable/main Packages
> 5.2.9.dfsg.1-4 0
>300 http://ftp.us.debian.org testing/main Packages
> *** 5.2.6.dfsg.1-1+lenny3+custom1 0
>100 /var/lib/dpkg/status
> 5.2.6.dfsg.1-1+lenny3 0
>500 http://ftp.us.debian.org lenny/main Packages
>500 http://security.debian.org lenny/updates/main Packages
>
>What I don't understand is how come the candidate is 5.2.9 when that
>has a pinning of 300, clearly lower than 5.2.6.

Because apt refuses to downgrade unless a specific version is specified (or 
the priority is > 1000).  Downgrades aren't supportable; they may work most 
of the time but if they don't they are virtually impossible to fix.

So, when apt is considering which version to install it starts with:
5.2.10.dfsg.1-2 200
5.2.9.dfsg.1-4  300
5.2.6.dfsg.1-1+lenny3+custom1   100
5.2.6.dfsg.1-1+lenny3   500

Now, it throws away anything with a priority of less than 0, but that 
doesn't change anything.  Then, it throws away anything if a version of less 
tham 5.2.6.ddfsg.1-1+lenny3+custom1 (current version) and a priority of less 
than 1000.  This leaves:
5.2.10.dfsg.1-2 200
5.2.9.dfsg.1-4  300
5.2.6.dfsg.1-1+lenny3+custom1   100

At this point, it chooses the one(s) with the highest priority:
5.2.9.dfsg.1-4  300

Since there's only one version left, it is the candidate.  If there were 
multiple versions left it would choose the one with the highest version.

>Did I use the correct naming convention when I setup my custom version
>of PHP?

Yes, but running a mixed system (or even a not-mixed system with testing and 
unstable in your sources.list) requires a but more effort than running pure 
stable.
-- 
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: What is the best setup to compute in the burning hot sun?

2009-08-10 Thread Ron Johnson

On 2009-08-10 14:20, Mike Castle wrote:
[snip]

air every so often.  (Then again, with two cats, our laptops have more
problems inside.)


An electric cord, stripped wires, duct tape and short section of 
broom handle should "do the job"...


--
Scooty Puff, Sr
The Doom-Bringer


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




Re: C++ and threading howto for linux dev

2009-08-10 Thread Boyd Stephen Smith Jr.
In , Emanoil Kotsev wrote:
>I'm willing to build an app that starts 3 threads, especially (soap
> client, server from libcsoap and terminal), so I couldn't manage to do
> the job in C++, because they it lacks native threading support. PThread
> lib is C.

I've always been able to use the pthread library from C++ as well.  You do 
need to make sure that your thread functions are callable from C, but that 
it rarely a problem.

>I also couldn't find a user-list for libcsoap, but the question is a
> general one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It
> shouldn't be that hard - or is it?

1. POSIX/SUSv2 pthreads is a absolutely has to work with minimal 
dependencies on multiple UNIX-alike platforms.

2. Qt4 Threads for most things.  Qt4 Threads are arguably more portable than 
pthreads, and with modular Qt4, you don't have to pull in X11 libraries if 
you don't need them.

3. I hear boost has a threading library.  I've never used boost for 
anything, but if I couldn't use Qt4 or pthreads, I'd consider it.

4. C++1x should have native thread primitives and should be fairly close to 
complete.  Depending on how good your libstdc++/gcc support the soon-to-be 
standard interface you could write to this.
-- 
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.


60 console-kit-daemons

2009-08-10 Thread Hugo Vanwoerkom

Hi,

Since upgrading to the latest Xorg htop shows 60 console-kit-daemons.

Do I need all 60? What do they do?

Hugo


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




Re: Debian Lenny install failing on Dell Latitude CPi A366ST during hardware detect phase

2009-08-10 Thread Kyle Barbour
>> I'm trying to install Debian Lenny on an old Dell Latitude CPi A366ST,
>> currently running Win98. KNOPPIX boots on it fine, as does Win98.
>
> ..use that to visit http://goodbye-microsoft.com/
> and install over internet or your own lan mirror.

Maybe I wasn't clear - the problem isn't the lack of an internet
connection, but the fact the the installation crashes after the
hardware check.

Kyle


-- 
Kyle Barbour
k...@kylebarbour.org
(415) 238-9953
San Francisco, CA, USA


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



Re: C++ and threading howto for linux dev

2009-08-10 Thread ga
Hi Emanoil,

On Mon, Aug 10, 2009 at 07:09:05PM +0200, Emanoil Kotsev wrote:
> Hi, perhaps it's OT but still the debian list is the best one (my subjective
> opinion), so I dear to ask here.
> 
> I'm willing to build an app that starts 3 threads, especially (soap client,
> server from libcsoap and terminal), so I couldn't manage to do the job in
> C++, because they it lacks native threading support. PThread lib is C.
> 
> Does any one know a good howto (working one - tested hin/herself)

Check out these ones:
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2thread_8cc-example.html#_a11
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2dispatcher_8cc-example.html#_a0

Doc:
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Thread.html

Regards,
.

> 
> I tried a bunch of junk over the weekend and could make it
> 
> I also couldn't find a user-list for libcsoap, but the question is a general
> one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It shouldn't be
> that hard - or is it?
> 
> Thanks in advance
> 
> 
> -- 
> 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: how to silence speaker during reboot/halt

2009-08-10 Thread Hugo Vanwoerkom

Ron Johnson wrote:

On 2009-08-09 04:51, Andrei Popescu wrote:

On Sun,09.Aug.09, 05:32:55, Long Wind wrote:

I use sarge
When I reboot/halt, the speaker beeps
Is there any way to config speaker not to beep?


Does your system beep whenever you trigger a shutdown or halt? The 
only way I know is to disable the pc speaker completely (is there a 
more elegant one?).


This is why Nuno Magalhaes pulled out the Asking Smart Questions link...



..and said to himself: "pc speaker on the wall what is the best question 
of them all..."



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




Re: kmymoney & QIF vs OFX

2009-08-10 Thread Paul Cartwright
On Mon August 10 2009, Florian Kulzer wrote:
> Nothing wrong with that if you are tracking Lenny. (One of your earlier
> messages showed that you had kmymoney2 version 0.9.3-1 installed,
> therefore I assumed that you were running Squeeze or Sid.)
> Version 0.8.9-1 of kmymoney2 together with version 0.9.6beta-5 of
> kmymoney2-plugin-aqbanking is the normal combination for OFX import on
> Lenny.

I installed 0.9.3 because I thought it might give me the import capability out 
of the box. I didn't realize a plug-in would take care of it.

working fine now, thanks!

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



fetchmail socket error

2009-08-10 Thread Paul Cartwright
I have been getting this error, and I'm not sure what it means or what is 
wrong.
I have fetchmail setup to pull the email from my domain accounts to local 
users. I set this up in a fetchmailrc file.

this morning I noticed there was no new email, but when I went to webmail ( 
squirrelmail) on my hosts servers, there was email . This is the error 
message I am getting in /var/log/syslog:

Aug 10 16:31:47 paulandcilla fetchmail[16965]: timeout after 300 seconds 
waiting to connect to server email_host.com. 
Aug 10 16:31:47 paulandcilla fetchmail[16965]: socket error while fetching 
from my_user_email+my_host@email_host.com 
Aug 10 16:31:47 paulandcilla fetchmail[16965]: Query status=2 (SOCKET) 

mail.err has similar messages:
Aug 10 16:31:47 paulandcilla fetchmail[16965]: socket error while fetching 
from my_user_email+my_host@email_host.com 

 
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: C++ and threading howto for linux dev

2009-08-10 Thread Roger Leigh
On Mon, Aug 10, 2009 at 07:09:05PM +0200, Emanoil Kotsev wrote:
> I also couldn't find a user-list for libcsoap, but the question is a general
> one - HOW THE H**L ARE YOU WRITING threaded apps in C++. It shouldn't be
> that hard - or is it?

Just use pthreads directly.

Boost threads is also an option I would suggest.  Your comment about
Boost being big is true, but you only pay for the bits you use (in
this case the thread headers and linking against libboost_thread-mt).
Just install libboost-thread-dev.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


signature.asc
Description: Digital signature


Re: fetchmail socket error

2009-08-10 Thread Jochen Schulz
Paul Cartwright:
> 
> this morning I noticed there was no new email, but when I went to webmail ( 
> squirrelmail) on my hosts servers, there was email . This is the error 
> message I am getting in /var/log/syslog:
> 
> Aug 10 16:31:47 paulandcilla fetchmail[16965]: timeout after 300 seconds 
> waiting to connect to server email_host.com. 

Either your internet / network connection is down or the server doesn't
reply for some reason.

J.
-- 
I spend money without thinking on products and clothes that I believe
will enhance my social standing.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: fetchmail socket error

2009-08-10 Thread Andrew Sackville-West
On Mon, Aug 10, 2009 at 04:36:00PM -0400, Paul Cartwright wrote:
> I have been getting this error, and I'm not sure what it means or what is 
> wrong.
> I have fetchmail setup to pull the email from my domain accounts to local 
> users. I set this up in a fetchmailrc file.
> 
> this morning I noticed there was no new email, but when I went to webmail ( 
> squirrelmail) on my hosts servers, there was email . This is the error 
> message I am getting in /var/log/syslog:
> 
> Aug 10 16:31:47 paulandcilla fetchmail[16965]: timeout after 300 seconds 
> waiting to connect to server email_host.com. 

is the pop or imap server running?

A


signature.asc
Description: Digital signature


Re: C++ and threading howto for linux dev

2009-08-10 Thread Eric Meijer

Emanoil Kotsev wrote:

Thanks Eric

I was also thinking to use the boost package. I don't like it's heavy and my
app would depend on it too.

  

As mentioned by Roger Leigh, you only really "pay" for what you are using.
Why are you worried by the dependence on boost?
What I like about it is that boost really is the place where new 
libraries for upcoming C++ standards are developed are tested.  As a 
result boost is really widely used, well regarded in the C++ community, 
and consequently high quality.  It is also likely that C++ threads will 
look a lot like the boost implementation when they arrive in the standard.

So there is no easy way around pthreads from C++ except boost?
  
As suggested by Roger, you could use the pthreads directly.  I prefer 
the C++ interface from boost.



Regards,
Eric


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




apt-ia32 is driving me nuts

2009-08-10 Thread Damon Chesser
I know this is the Users-list, but perhaps you can shed some light on
this for me.  This ia32-lib silliness to make systems work with both x64
and x32 systems and the way it interacts with synaptic/aptitude produces
totally wacky outcomes.  I just tried to upgrade to current Sid and Sun
JRE needs to be removed because Sun java bin needs ia32-java something
or another.  A few other needed packages also want to be removed.

Before I ever knew of apt-ia32 my x64 system worked fine.  If (IF) I
needed a 32 bit program installed I would just use dpkg
--force-architecture foo.deb.  Now I find I have to jump through a hoop
of using synaptic, aptitude or apt-get to get results that makes sense.

Why all the bother?  I mean x64 has been around for like five years.
Bite the bullet.  Who is making x32 systems anymore?  Who?

Java is x64, flash is beta x64.  Firefox works fine in x64, nonfree
codex are x64. virt-manager used to work: 
 
Error starting Virtual Machine
Manager: /usr/lib/virt-manager/sparkline.so: wrong ELF class: ELFCLASS32


What am I missing?  Why all the ia32 silliness? 

How do I get a sane system back that works with synaptic and aptitude
with out removing half my system?


I know this is Sid, been using Sid for years.  I know all about
breakage, this just seems a bit overly complicated.

-- 
Damon Chesser 


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



Re: rhythmbox won't stop coming up

2009-08-10 Thread Daniel Dalton
On Mon, Aug 10, 2009 at 01:09:27PM +0300, Aioanei Rares wrote:
> >So how do I stop it from automatically launching rhythmbox?
> >
> >I'm using gnome with gdm to log in.
> >
> >Thanks,
> >Daniel.
> Go to system -> preferences -> startup applications to check if
> Rhythmbox ain't there.

I went to system>preferences>sessions.
Looked at start up tab, rhythmbox isn't there...

Any ideas.

Thanks,
Dan.


signature.asc
Description: Digital signature


Re: fetchmail socket error

2009-08-10 Thread Paul Cartwright
On Mon August 10 2009, Jochen Schulz wrote:
> > Aug 10 16:31:47 paulandcilla fetchmail[16965]: timeout after 300 seconds
> > waiting to connect to server email_host.com.
>
> Either your internet / network connection is down or the server doesn't
> reply for some reason.

I never lose my internet connection. When I go to mail domain host, and try 
webmail, I see that there are emails there, yet my debian box gives me this 
error and doesn't get my emails.
I understand webmail and pop3 are different services, I cannot answer about 
the server.. it does reply, as I can get webmail.
do I need to try to telnet to it?

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: fetchmail socket error

2009-08-10 Thread Paul Cartwright
On Mon August 10 2009, Andrew Sackville-West wrote:
> is the pop or imap server running?

not my box, this is my domain hosting service.. I can log on via webmail and 
see that there is email there.

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: fetchmail socket error

2009-08-10 Thread Andrew Sackville-West
On Mon, Aug 10, 2009 at 06:12:58PM -0400, Paul Cartwright wrote:
> On Mon August 10 2009, Andrew Sackville-West wrote:
> > is the pop or imap server running?
> 
> not my box, this is my domain hosting service.. I can log on via webmail and 
> see that there is email there.

try telnet to imap or pop3 port. if that fails to connect, then it's a
problem on their end, likely.

A


signature.asc
Description: Digital signature


RE: Trying to boot Lenny after installation

2009-08-10 Thread Sine 39

Thanks for the advice Mark, I have tried flashing the BIOS to the latest 
version, I thought just maybe this might work alone but it didn't unfortunately 
and I still couldn't change the APIC = enabled setting. I have also tried 
resetting all BIOS and CMOS settings to 'Fail Safe Defaults' and 'Optimised 
Defaults' respectively, saving and rebooting but this doesn't work either. So 
I've reached another dead end at the moment, appreciate the help though!

I appreciate this is not a BIOS mailing list but has anyone got experience with 
Award BIOSs and/or changing the APIC setting (the BIOS won't let me change the 
setting currently)?

> From: m...@neidorff.com
> To: debian-user@lists.debian.org
> Subject: Re: Trying to boot Lenny after installation
> Date: Sat, 8 Aug 2009 16:50:40 -0400
>
> I don't claim to be a bois expert, but can you either totally reset the bios 
> into a "default" mode or update the bios to a newer version so that you can 
> change the apic setting?

_
Celebrate a decade of Messenger with free winks, emoticons, display pics, and 
more.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

Re: C++ and threading howto for linux dev

2009-08-10 Thread Emanoil Kotsev
Eric Meijer wrote:

> Emanoil Kotsev wrote:
>> Thanks Eric
>>
>> I was also thinking to use the boost package. I don't like it's heavy and
>> my app would depend on it too.
>>
>>   
> As mentioned by Roger Leigh, you only really "pay" for what you are using.
> Why are you worried by the dependence on boost?
> What I like about it is that boost really is the place where new
> libraries for upcoming C++ standards are developed are tested.  As a
> result boost is really widely used, well regarded in the C++ community,
> and consequently high quality.  It is also likely that C++ threads will
> look a lot like the boost implementation when they arrive in the standard.
>> So there is no easy way around pthreads from C++ except boost?
>>   
> As suggested by Roger, you could use the pthreads directly.  I prefer
> the C++ interface from boost.
> 
> 

Agreed. I'm just not that familiar to C++. I like objects and I'm wondering
how threads are implemented that's all.

:-)

I didn't expect it being this way honestly.

I understand one good approach would be libboost.

Thanks for that and kind regards



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



Re: Configuring polkit-gnome-authorization without a root password

2009-08-10 Thread louish
On 8/9/09, Michael  wrote:

(Sorry for the delayed reply.)

> LH wrote:
>> What changes do I need to make to my Debian setup that would allow me
>> to configure Authorizations without an explicit root password. I know
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536490

That appears to solve the problem. But how much of a security risk is it to
work under the "admin" group?


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



Re: fetchmail socket error

2009-08-10 Thread Paul Cartwright
On Mon August 10 2009, Andrew Sackville-West wrote:
> try telnet to imap or pop3 port. if that fails to connect, then it's a
> problem on their end, likely.

well, I stopped fetchmail, and created an IMAP account ( in kmail) for my user 
that I had in fetchmail. when I clicked on the inbox of the new imap account, 
I pulled in 20-30 emails from earlier today... sounds like a fetchmail config 
issue, but I didn't add/change anything except to add the users..

here is the beginning of my /etc/fetchmailrc ( everything up to the user 
lines):
set daemon300# Pool every 5 minutes
set syslog# log through syslog facility 

set no bouncemail# avoid loss on 4xx errors
# on the other hand, 5xx errors get
# more dangerous...
 

# Defaults ===
# Set antispam to -1, since it is far safer to use that together with
# no bouncemail
defaults:
timeout 300
antispam -1
batchlimit 0


-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: Etch to 5.0.2 upgrade failed - Encrypted filesystem will not boot

2009-08-10 Thread lineman
> hmmm not sure, you could try 
> turning of quiet mode remove the quiet from the kernel option on boot
> and maybe try turning on debug (add debug to the kernal options)

There is no quiet mode in my kernel line.  Adding the debug option didn't seem 
to add any additional relevant information;

> anothering to try is place a shell script in
> /etc/initramfs/scripts/local-top/ call something like 00mine and open a
> console with something like bash  or try some command here like

I tried adding the 00mine script (mode 755, just one line which says bash), 
then updated the initramfs, but it didn't stop and spawn a shell at any point 
in the boot process.

> cryptsetup -T1 luksOpen /dev/sda2 sda2_crypt

After it dropped me to the (initramfs) prompt I entered that command (I had to 
change it to sda5) and I was able to unlock the drive.  I was unable to mount 
it however.

(initramfs) mount /dev/mapper/sda5_crypt /a
mount: mounting /dev/mapper/sda5_crypt on /a failed: Invalid argument

> or add to your kernel options something like break=local-top

Adding the break=local-top option did not do anything different.

> It may be related to the "driver sd needs updating" thing, but
> it seems to be contradicted by your observation that /dev/sda appears
> to be present and functional from within the busybox shell.

I think the SCSI driver is working ok - I am able to unlock the volume with 
crypptsetup luksOpen, and head /dev/sda5 gives me some garbage, indicating that 
I can read the drive.

> One thing you *can* do easily is, boot with the "break"
> option, and from within the resulting shell, run
> /scripts/init-premount/udev, which will create all the devices.
> You can then do an "ls" in /dev, and see if the relevant
> hard drive partition (/dev/sda5, in your case) is are present --
> this tests the udev step pretty directly.

(initramfs) /scripts/init-premount/udev 
udevd[2891]: init_udevd_socket: bind failed: Address already in use

error initializing the udevd socket
udevd[2891]: main: error initializing the udevd socket

> Please bear with me, I'm asking this out of curiousity.  Why did you
> encrypt the full root FS?

The root filesystem is encrypted to make it more difficult for a local attacker 
to replace system binaries with backdoored versions.



I am not sure what else to try at this point, all suggestions are appreciated!


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



Choosing Laptops/Notebooks

2009-08-10 Thread T o n g
Hi, 

I am considering buying a Laptop/Notebook for the first time. To me, what 
unique in choosing a Laptop/Notebook than a desktop are, CPU temperature 
and power consumption, battery life, hibernation support, weight, etc.

Coincidentally, there was a heat debate on CPU power consumption and
battery life at xtremesystems:
http://www.xtremesystems.org/forums/showthread.php?t=231413

My conclusion from it is that AMD did an awful job in mobile CPU branch.
I love AMD, all my desktops are AMD based, but from the above thread,
it seems that choosing AMD based Laptops might not be a good idea. 
However, despite how well Intel is doing in preserving power consumption
and battery life, I found most of Intel mobile CPUs don't support
virtualization, even in their latest Core2Duo chips. Is it true?

Next is the hibernation support, I mean, I hope the whole system can be
suspended to RAM/disk when the lid is closed. How well this feature
is supported in Linux?

I'm buying the Notebook for its mobility, not as a desktop replacement.
So weight is another concern, which is even more important than battery 
life to me. I mean, is anyone here satisfied with your 14" Notebook, or 
even smaller ones?

Any other Laptop specific issues you've bumped into? Have low-end
Notebooks like Acer given you trouble?

Thanks


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



synaptic configuration differences between two Sid boxes

2009-08-10 Thread Damon Chesser
This has me scratching my head.  Two boxes, both set to Sid, the apt
sources of one was copied from the other.  When I search for sun jre, on
one I see sun-java6-bin 6-15-1 (installed and latest version) on the
other I see sun-java6-bin 6-14-1 as installed AND latest version.

Of course, "reload" does not change this.  I have done aptitude clean,
same result.  When I go to "Settings" >"Repositories" on the 6-14-1 box
I get a window titled "Repositories" and it lists all my repos and I can
check or uncheck them or add others.

On the 6-15-1 box I get a windows titled "Software Sources" with 5 tabs
labeled Debian Software, Third-Party Software, Updates, Authnetication,
and Statistics

Both versions are 0.62.5.  I have removed and purged synaptic from the
6-14-1 box and updatedb, locate synaptic.  I removed all synaptic files
except for ones reffering to Xorg (~./local-somepath/synaptic)

Re-installed synaptic and I see the exact same thing and behavior.  Why
is it I see a different behavior from the same package on Gnome-Desktop.
In fact, I routinely run rsync -rav /home/USER to sync the two machines.


-- 
Damon Chesser 


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



Re: C++ and threading howto for linux dev

2009-08-10 Thread Emanoil Kotsev
ga wrote:

> 
> Check out these ones:
>
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2thread_8cc-example.html#_a11
>
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/thread_2dispatcher_8cc-example.html#_a0
> 
> Doc:
>
http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Thread.html
> 

Thanks a lot ga. So you mean using the Glib classes. I had a look ... I can
include it in my testing list :-)

It also links to pthread

bash$> ldd /usr/lib/libgtkmm-2.4.so.1.0.30
linux-gate.so.1 =>  (0xb8007000)
libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb7c65000)

libpthread.so.0 => /lib/i686/cmov/libpthread.so.0

I bet qt is also using pthread

So it's better to access pthread myself. The advantage of using the above
and not pthread is that everything has been packed in a class already.

The above examples are still very useful to give an idea of the
implementation logic.

Thanks and kind regards



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



Re: xserver-xorg won't start

2009-08-10 Thread S. Fishpaste
On Mon, 10 Aug 2009 01:46:58 +0200, Thomas Preud'homme in 
gmane.linux.debian.user wrote:
> Le dimanche 09 août 2009 19:38:53, S. Fishpaste a écrit :
>> On Sun, 9 Aug 2009 16:33:27 +0200, Thomas Preud'homme in 
> gmane.linux.debian.user wrote:
>> > Le dimanche 09 août 2009 15:34:48, S. Fishpaste a écrit :
>> >> I can't figure out what's wrong but from searching for a solution it's
>> >> seems to have happened to others
>> >>
>> >> On a P3 Toshiba Laptop fresh install of Lenny -- I can't  get the
>> >> Xserver to start. It just says  no screens found yadda,  yadda.
>> >>
>> >> I don't have any xorg.conf file to dpkg-reconfigure either.  Suggestions
>> >> ?
>> >
>> > Copy here lines starting with (WW) and (EE) in /var/log/Xorg.0.log
>> >
>> > egrep "^(\(WW\)|\(EE\))" /var/log/Xorg.0.log
>>
>> OK I managed to find the correct path for pcidata.so and now the Xorg.0.log
>> looks like this;
>> (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
>> (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does
>> not exist.
>>
>>
>> I did a search for Cyrillic and it's not on my system. I've found one in my
>> sources list, so am installing that  now, and will create the TrueType
>> directory listed as well. Progress !a
>
> These are only warning. Your X installation seems ok. Don't you have any 
> display when you start x server ?

Nope it locks up after attempting to load X. It won't allow me a console
prompt and I have to hit the power switch to escape.


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



Re: color management?

2009-08-10 Thread S. Fishpaste
On Sun, 9 Aug 2009 21:23:57 -0700, jeremy jozwik in gmane.linux.debian.user 
wrote:
> heya list. ive been working with linux on adjusting my photos for the
> last 3 weeks or so. since ive started ive noticed that the way the
> photos look on my linux laptop are CONSIDERABLY different then the
> color that is shown on a windows machine.
>
> now i would not worry too much about this if it were not for the fact
> that every windows machine i see my uploaded photos with shifts the
> colors.
>
> which leads me to believe there is something amiss on my laptop, the
> source of all the color adjustments.
>
> help!
>
> also, i have gimp set to "no color management" which i found to be the
> setting of the most use on windows when i was using it there.

Well then might want to try using sRGB profile.


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



Is it safe to install xz-utils?

2009-08-10 Thread Vincent Lefevre
When I want to install xz-utils (from experimental) on a Debian/unstable
machine, apt-get wants to remove lzma because xz-utils conflicts with it.
I get the following warning:

WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  lzma (due to dpkg)

However xz-utils provides lzma, so I don't see what could be wrong.
So, is it OK?

Since lzma has been replaced by xz-utils upstream, shouldn't xz-utils
be essential instead of lzma?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


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



How to get ARCH...............

2009-08-10 Thread Charlie

Hello Everyone,

This morning after an update and safe-upgrade on my Squeeze system -
which is mentioned just in case, though I don't think it had anything
to do with my problem. My /var partition went belly up. On closing I was
presented with heaps of errors so fsck'd the system manually and when
completed, booted it up. I'm not certain that the hard drive didn't
develop some bad sectors. So attempted to install *smartmontools* to
check the drive

Had to create some directories and files in /var manually but still have
problems.

Trying to install packages get errors like this:-

E: I wasn't able to locate a file for the libgcc1 package. This might
mean you need to manually fix this package. (due to missing arch)
Writing extended state information... Done E: I wasn't able to locate a
file for the libgcc1 package. This might mean you need to manually fix
this package. (due to missing arch)

So I can't unpack and install smartmontools anyway.

Have googled and read and attempted all kinds of things to reconfigure,
reinstall, purge - aptitude - apt - dkpg so that it may pick up the
"missing arch" but none of these will do any of that.

I think this is a reinstall for me, but just thought someone might be
able to point me to some documentation so this isn't required. The
system is fully backed up, so I can try some things, and if it breaks
then will just reinstall.

But if someone has some ideas that might just work...

TIA
Charlie
-- 
Registered Linux User:- 329524
.

I have always known that at last I would take this road But yesterday I
did not know it would be today. - NARIHARA

.

Debian GNU/Linux - just the best way to create magic


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



Re: Package Version Numbers

2009-08-10 Thread Jeff Grossman
"Boyd Stephen Smith Jr."  wrote:


>Installed packages that are not available in a repository have a priority of 
>100.  You could pin (by version) your custom package version to 400 or so.  
>Alternatively would could put your local packages in a local repository and 
>pin that repository to 400 or so.  apt-ftparchive can be quite useful for 
>small, local repositories.

Thank you for that information.  I might just try setting up
apt-ftparchive.  I guess it is reading time.

Jeff


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



Re: Package Version Numbers

2009-08-10 Thread Jeff Grossman
"Boyd Stephen Smith Jr."  wrote:

>In <47pt7511s56vq779jtfp2ap0059a8m4...@4ax.com>, Jeff Grossman wrote:
>>mail:~# apt-cache policy php5
>>php5:
>>  Installed: 5.2.6.dfsg.1-1+lenny3+custom1
>>  Candidate: 5.2.9.dfsg.1-4
>>  Version table:
>> 5.2.10.dfsg.1-2 0
>>200 http://ftp.us.debian.org unstable/main Packages
>> 5.2.9.dfsg.1-4 0
>>300 http://ftp.us.debian.org testing/main Packages
>> *** 5.2.6.dfsg.1-1+lenny3+custom1 0
>>100 /var/lib/dpkg/status
>> 5.2.6.dfsg.1-1+lenny3 0
>>500 http://ftp.us.debian.org lenny/main Packages
>>500 http://security.debian.org lenny/updates/main Packages
>>
>>What I don't understand is how come the candidate is 5.2.9 when that
>>has a pinning of 300, clearly lower than 5.2.6.
>
>Because apt refuses to downgrade unless a specific version is specified (or 
>the priority is > 1000).  Downgrades aren't supportable; they may work most 
>of the time but if they don't they are virtually impossible to fix.
>
>So, when apt is considering which version to install it starts with:
>   5.2.10.dfsg.1-2 200
>   5.2.9.dfsg.1-4  300
>   5.2.6.dfsg.1-1+lenny3+custom1   100
>   5.2.6.dfsg.1-1+lenny3   500
>
>Now, it throws away anything with a priority of less than 0, but that 
>doesn't change anything.  Then, it throws away anything if a version of less 
>tham 5.2.6.ddfsg.1-1+lenny3+custom1 (current version) and a priority of less 
>than 1000.  This leaves:
>   5.2.10.dfsg.1-2 200
>   5.2.9.dfsg.1-4  300
>   5.2.6.dfsg.1-1+lenny3+custom1   100
>
>At this point, it chooses the one(s) with the highest priority:
>   5.2.9.dfsg.1-4  300
>
>Since there's only one version left, it is the candidate.  If there were 
>multiple versions left it would choose the one with the highest version.
>
>>Did I use the correct naming convention when I setup my custom version
>>of PHP?
>
>Yes, but running a mixed system (or even a not-mixed system with testing and 
>unstable in your sources.list) requires a but more effort than running pure 
>stable.

Thank you for this valuable information.  I was not aware of how apt
or aptitude figured out what to upgrade.  I guess I will pin my custom
version of php5 to a priority of 1000 so it does not bother me with
trying to upgrade anymore.

Jeff


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



Re: color management?

2009-08-10 Thread jeremy jozwik
On Mon, Aug 10, 2009 at 6:04 AM, S.
Fishpaste wrote:
> Well then might want to try using sRGB profile.

nope, dont work any better. i have both gimp and rawstudio set to
srgb, re-uploaded and there is still a significant difference in
color.

are there color profiles for the monitor itself in debian?


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



Re: [Linuxwacom-discuss] Wacom + Maya

2009-08-10 Thread jeremy jozwik
On Mon, Aug 10, 2009 at 7:05 PM, Bezierk wrote:
> nice... i guess if that's a part of the reason linux has better 3d apps
> than vector apps (i'm looking at you both inkscape and scribus)

but inkscape has predictive inking! which even the newest version of
mudbox just added.
thats pritty awesome


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



Re: How to get ARCH...............

2009-08-10 Thread Ron Johnson

On 2009-08-10 22:03, Charlie wrote:

Hello Everyone,

This morning after an update and safe-upgrade on my Squeeze system -
which is mentioned just in case, though I don't think it had anything
to do with my problem. My /var partition went belly up. On closing I was
presented with heaps of errors so fsck'd the system manually and when
completed, booted it up. I'm not certain that the hard drive didn't
develop some bad sectors. So attempted to install *smartmontools* to
check the drive

Had to create some directories and files in /var manually but still have
problems.

Trying to install packages get errors like this:-

E: I wasn't able to locate a file for the libgcc1 package. This might
mean you need to manually fix this package. (due to missing arch)
Writing extended state information... Done E: I wasn't able to locate a
file for the libgcc1 package. This might mean you need to manually fix
this package. (due to missing arch)


This makes it seem like more than just /var got hosed.  I'd 
reinstall and immediately install smartmontools and a syslog monitor.


--
Scooty Puff, Sr
The Doom-Bringer


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




Suspicious Hidden Files

2009-08-10 Thread David Baron
RKhunter cistes the following: directories /etc/.java and /dev/.udev

The .java is emtpy.
The .udev has db  names  rules.d  uevent_seqnum  watch

Do these belong there or are they a problem?
Delete them?


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



Re: fetchmail socket error

2009-08-10 Thread Thomas Hochstein
Paul Cartwright schrieb:

> Aug 10 16:31:47 paulandcilla fetchmail[16965]: timeout after 300 seconds 
> waiting to connect to server email_host.com. 

fetchmail cannot connect to the server it should poll (your "mail
domain host"). As you can reach that host via webmail (HTTP, Port 80)
and IMAP, it does not seem to be a network problem. Maybe the POP3
daemon on that host is not running / running very slowly?

How do you poll your mail with fetchmail? Using POP3 or IMAP? If you
have configured fetchmail to fetch your mail via POP3, you should try
if _that_ works (not only webmail and IMAP). The easiest way would be
telnetting to port 110 on your mail domain host and see if you can get
a connection.

-thh


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