Re: KDE startup instabiel in debian 9.2

2017-11-16 Thread Eric Meijer

On 11/16/2017 09:08 AM, Jeroen Mathon wrote:

Heb je KDE geïnstalleerd via de Live DVD(KDE) of heb je dit vanuit een
minimal installatie gedaan?

Een update van Jessie.
Eric



Re: random_r functies

2011-11-24 Thread Eric Meijer

On 11/24/2011 10:03 PM, Eric wrote:

On 11/22/2011 10:47 PM, Eric Meijer wrote:

Hoi allemaal,


OK, nog één mail en dan houd ik er over op.  Hier staat beschreven wat 
er allemaal mis is


http://www.sourceware.org/bugzilla/show_bug.cgi?id=3662

Het dateert uit 2006, en is een tamelijk treurig verhaal dat niet veel 
vertrouwen in de implementatie geeft.

Ik ga me denk ik maar eens verdiepen in boost::random...
Groeten,
Eric

--
Eric L. Meijer, email: e...@elmweb.nl
fractals: http://www.elmweb.nl/
gitaar: http://www.elmweb.nl/guitar/


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



random_r functies

2011-11-22 Thread Eric Meijer

Hoi allemaal,

Ik heb een progammeer-probleem en ik weet niet of het een bug is of ik 
iets over het over het hoofd zie.
Voor een multi-threaded programma (in C++) wil ik een random number 
generator gebruiken.  Hiervoor zijn de re-entrant versies van de random 
en initstate nodig.  Deze probeer ik nu uit met een simpel C programmaatje:


 testrand.c 
#include stdio.h
#include stdlib.h

int main(int argc, char* argv[])
{
  struct random_data state1;
  const size_t bufsz = 256;
  char buf1[bufsz];
  int32_t r1;

  fprintf(stderr, %d\n, initstate_r(1u, buf1, bufsz, state1));
  random_r(state1, r1);
  fprintf(stderr, %d\n, r1);

  return 0;
}


Als ik dit bouw met gcc 4.4.5 op een up-to-date squeeze systeem met
gcc -o testrand testrand.c
dan krijg ik een executable die een segmentation fault geeft in de file 
random_r.c die niet op het systeem staat

(volgens gdb).

Heeft iemand enig idee of ik hier nog iets fout doe?  Zijn er debian 
mailing lists die voor dit soort vragen geschikter zijn?

Ik draai kernel 2.6.32-5-686-bigmen, libc6-dev 2.11.2-10.

Groeten,
Eric


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



Re: kan debian geen minix partities lezen

2011-05-28 Thread Eric Meijer

On 05/28/2011 01:56 PM, Paul van der Vlis wrote:

Op 28-05-11 11:54, Eric schreef:

   

Hoe heb je de partities aangemaakt?  Partitie sb4 zou een extended
partitie moeten zijn, niet van type minix.
 

Waarom?  Je kunt best vier primaire partities hebben.

Nadeel is alleen, dat je dan geen extended partitie meer kunt maken en
dus ook geen logische partities.

Je kunt maximaal vier primaire partities hebben voor zover ik weet.
   
Uit de foutmeldingen blijkt dat er drie logische (minix) partities 
zijn.  Dat kan alleen als er een extended partitie is waar ze in 
passen.  Verder is er een /, een swap en een /home partitie, wat samen 
met drie minix partities optelt tot zes, hetgeen weer ruimschoots meer 
is dan vier.


Eric


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



Re: Pas op met upgraden kernel

2011-03-25 Thread Eric Meijer

On 03/24/2011 11:03 PM, Paul van der Vlis wrote:

Hallo,

Upgraden naar het nieuwe stable kernel van Debian 6.0.1 levert soms een
onzichtbare muis op:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619019
   

Hoi,

Van een onzichtbare muis heb ik niets gemerkt, maar wel van een 
update-manager proces dat vorige week bleef hangen (onderdeel van 
synaptic geloof ik).  Uiteindelijk kon ik wel upgraden met aptitude na 
update-manager afgeschoten te hebben, en inmiddels werkt update-manager 
weer.  Heeft iemand hier iets van gemerkt?


bugs.debian.org lijkt verdwenen, ik krijg een unknown host error van ping.

Groeten,
Eric Meijer


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



Re: Pas op met upgraden kernel

2011-03-25 Thread Eric Meijer

On 03/25/2011 10:05 PM, Paul Gevers wrote:

bugs.debian.org lijkt verdwenen, ik krijg een unknown host error van ping.
 

Ik niet:

paul@stromboli ~ $ ping -c 1 bugs.debian.org
PING bugs.debian.org (206.12.19.114) 56(84) bytes of data.
64 bytes from duarte.debian.org (206.12.19.114): icmp_req=1 ttl=45
time=156 ms

--- bugs.debian.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 156.177/156.177/156.177/0.000 ms

   

Yup, hij is weer terug, ik zie hem nu ook weer.  Blijkbaar iets tijdelijks.
Eric

--
Eric L. Meijer, email: e...@elmweb.nl
fractals: http://www.elmweb.nl/
gitaar: http://www.elmweb.nl/guitar/


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



Re: read command not reading from pipe. why?

2010-01-09 Thread Eric Meijer

Mark Allums wrote:

On 1/4/2010 1:10 PM, Foss User wrote:

I see that the read command stores input entered only on the console
into the variables. Example:

$ read a
foo
$ echo $a
foo

But when I don't enter input on the console by keyboard, but pipe it
into the standard input of read, I am unable to store the input into
the variable.

$ echo bar | read a
$ echo $a
foo
As others pointed out, the variable a that is read is in another shell.  
If you want to do something like this, you need to turn it around:


a=$(echo bar)

Eric


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




Re: offtopic: /lib/libc.so.6

2009-12-28 Thread Eric Meijer

Jerome BENOIT wrote:

[ ... /lib/libc.so.6 appears executable and prints version info ... ]


It is good to know. Nevertheless I am curious to know how we can make 
a libXXX.so file prints something.

Does anyone have any hint ?


Interesting.  I found this reference: 
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00196.html

Did not try it out.

Regards,
Eric Meijer


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




Gnome settings niet geactiveerd met automatic login

2009-11-07 Thread Eric Meijer

Hoi,

Voor een familielid heb ik een debian-lenny systeem geïnstalleerd.  
Wanneer gdm geconfigureerd is voor automatic login, dan worden de 
keyboard preferences in de gnome desktopomgeving niet actief.  Zo werkt 
de compose key niet, en werkt het switchen naar een Russisch toetsenbord 
niet, hoewel de gnome pannel applet wel van USA naar Rus verandert als 
je erop klikt.  De Keyboard preferences dialog toont wel de juiste 
instellingen.  Als je uitlogt en weer inlogt, dan werkt het wel, en ook 
als je automatic login uitzet.


Heeft iemand enig idee hoe het kan komen dat bepaalde instellingen niet 
gelezen worden met automatic login?


Eric


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



console in de war na X

2009-09-13 Thread Eric Meijer

Hoi,
Als ik mijn lenny systeem opstart zie ik een keurig tekstscherm met 
mededelingen van het opstartende systeem.  Dan start X op (ik gebruik 
gdm/gnome).  Als ik daarna weer naar een VT-console switch dan zijn alle 
spaties vervangen door een soort blok-character.  Het helpt niet om in 
te loggen en reset in te typen.  Iemand een idee hoe dit te fixen?

Groeten,
Eric


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




Re: console in de war na X

2009-09-13 Thread Eric Meijer

Eric Meijer wrote:

Hoi,
Als ik mijn lenny systeem opstart zie ik een keurig tekstscherm met 
mededelingen van het opstartende systeem.  Dan start X op (ik gebruik 
gdm/gnome).  Als ik daarna weer naar een VT-console switch dan zijn 
alle spaties vervangen door een soort blok-character.  Het helpt niet 
om in te loggen en reset in te typen.  Iemand een idee hoe dit te 
fixen?

Groeten,
Eric



Sorry, I meant to send this to debian-user-dutch.

Eric Meijer


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




console in de war na X

2009-09-13 Thread Eric Meijer

Hoi,
Als ik mijn lenny systeem opstart zie ik een keurig tekstscherm met 
mededelingen van het opstartende systeem.  Dan start X op (ik gebruik 
gdm/gnome).  Als ik daarna weer naar een VT-console switch dan zijn alle 
spaties vervangen door een soort blok-character.  Het helpt niet om in 
te loggen en reset in te typen.  Iemand een idee hoe dit te fixen?

Groeten,
Eric


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



Re: Problems with HP PSC 1210 all-in-one printer on lenny - solved

2009-08-15 Thread Eric Meijer

Andrew Sackville-West wrote:

On Tue, Aug 04, 2009 at 01:24:11PM +0200, Eric Meijer wrote:
  

Hello,



  

Questions:
Does anyone use the HP PSC 1210 all-in-one printer with a lenny system and
1) also has a kernel hang, or not

The kernel hang disappeared after installing the 2.6.30 kernel from 
backports.org.

2) can scan with it, or not ?



2) yes.

I'm running a somewhat out of data sid which is probably pretty close
to lenny at this point. It has worked just find with xsane in sid
since at least the sarge days

Can you provide more details about how sane *doesn't* find the
scanner?

what output do you get from :

sane-find-scanner -v

scanimage -L

you may want to run sane-find-scanner as root...
  
Finally could sit behind the computer again.  Indeed root could see the 
scanner, and the user had to be added to the group scanner, restart 
X/gnome, and it worked.


Thanks,
Eric


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




Using older kernels with lenny?

2009-08-13 Thread Eric Meijer

Hi all

I have installed a system with lenny and when the system boots with an 
usb printer connected (HP PSC 1210 all-in one) it hangs.  Also, the 
internet connection does not (seem to) come up.
(I have no direct access to the system now, need to travel physically to 
look at it again).
I want to try another kernel version on this system.  I see that there 
are different  versions of linux-image-2.6.26, numbered 
linux-image-2.6.26-1-etc and linux-image-2.6.26-2-etc.

What is the difference between the two?
Is it possible to run lenny with a 2.6.18 or 2.6.24 kernel from etch?

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




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 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




Problems with HP PSC 1210 all-in-one printer on lenny

2009-08-04 Thread Eric Meijer

Hello,

I recently did a fresh install of a lenny distribution on a P4 system 
for a family member (I don't have direct access right now).  During the 
installation I connected a HP PSC 1210 all-in-one printer through USB 
and I was able to print with it (CUPS printer installed via Gnome 
desktop system-administration-printing).


I could not get the scanner part to work with sane / xsane, which 
consistently could not detect the printer.  Looking in the debian-user 
archives I saw various hints that this printer has been working with 
debian for various people in the past, though I am not entirely sure.


Next problem is that when the system is booted with the printer 
connected (not switched on, but I suspect it is in a kind of stand-by 
mode), the kernel appears to hang, just after the statement that there 
are no IPv6 routers (which in itself is correct).  Disconnecting the 
printer then causes a spontaneous reboot, where there is a question if a 
bug-report should be sent to the kernel-developers.  The standard lenny 
kernel is installed, linux-image-2.6.26-2-686 package, version of July 
30 (whatever that was, I can check).


Questions:
Does anyone use the HP PSC 1210 all-in-one printer with a lenny system and
1) also has a kernel hang, or not
2) can scan with it, or not ?

In the bug system I could find a bug about a kernel hang that may be 
related (also seems to be a USB issue with the kernel) 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525896.


Any suggestions appreciated,

Eric Meijer


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




Hangup in atan2() / __signbitl()

2007-02-19 Thread Eric Meijer

Hello,

I am running debian sarge, x86_amd64, on a brand new Core 2 system, 
kernel 2.6.18-2-amd64 from http://kmuto.jp/debian/d-i/.  I have this 
machine to run my C++ fractal program, that I have been making 
multi-threaded.  Recently I got some hangups that I initially attributed 
to my multi-threading programming capacities.


However,  it appears that a very simple C-program with a call to the 
atan2() function can do the trick using the right arguments:


file oef.c:

#include math.h

int main()
{
 atan2(0.87600557019648551,  0.012279899574599516);

 return 0;
}


build:
gcc -o oef oef.c -lm

run:
./oef 
runs indefinitely with a full cpu.
Attaching to it with gdb gives the following session:
$ gdb
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as x86_64-linux.
(gdb) attach 4492
Attaching to process 4492
Using host libthread_db library /lib/libthread_db.so.1.
Reading symbols from /home/eric/pruts/oef...done.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x2b0a15e124ec in __signbitl () from /lib/libm.so.6
(gdb) where
#0  0x2b0a15e124ec in __signbitl () from /lib/libm.so.6
#1  0x2b0a15e13e46 in __signbitl () from /lib/libm.so.6
#2  0x2b0a15e13681 in __signbitl () from /lib/libm.so.6
#3  0x2b0a15e13522 in __signbitl () from /lib/libm.so.6
#4  0x2b0a15ddd4e0 in fegetexcept () from /lib/libm.so.6
#5  0x2b0a15df5b95 in atan2 () from /lib/libm.so.6
#6  0x00400559 in main ()

The top of the stack is exactly the same as in my actual C++ program, 
and the behaviour depends on the arguments.  In my actual program there 
are millions of calls to atan2() that run just fine before this 
happens.  The behaviour does not seem to depend on optimization flags, 
also happens with mfpmath=387, and is the same for C and C++.  I got 
almost the same problem when I made my own atan2() implementation, but 
then the __signbitl() in the stack was called from an atan() function.  
The problem does not occur on my other sarge system, which is 32bit 
Pentium 4.


Two questions:
Has anyone stumbled on this before, and do you have a fix?
I am not sure on what package to submit a bug.  It seems the problem 
would be in libm, so that would be the libc6 package?  What kind of info 
should I add?


Kind regards,
Eric Meijer

--
Eric L. Meijer
  email: [EMAIL PROTECTED]
fractals: http://www.xs4all.nl/~elmeijer/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]