Re: What is *.cpp.d, and why is it breaking my compilations?

2016-10-18 Thread Jarle Aase

Just a few observations:

 1) Both ninja and Unix Makefiles works if I use cmake on the command-line

 2) Kdevelop successfully compiles the project if I use Unix Makefiles 
for cmake in stead of Ninja.


So the problem seems related with Ninja. However, it would still be 
interesting to understand why it is failing.



Alll the best,

Jarle


Den 18. okt. 2016 19:44, skrev Jarle Aase:

Hi fellow developers,

After upgrading Debian Testing a few weeks ago, some of my pet 
projects could no longer build. They are all C++ projects, using 
CMake. I use Kdevelop as my IDE. I waited a while and upgraded again 
today, hoping that the problem would be gone. Unfortunately it was not.


For example (from: https://github.com/jgaa/restc-cpp):

~$ src/restc-cpp/dbuild> /usr/bin/ninja
[6/15] Building CXX object 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o

FAILED: src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o
/usr/bin/c++   -D__USE_FILE_OFFSET64=1 -D__USE_LARGEFILE64=1 
-I../include -I../externals/rapidjson/include -g -DDEBUG=1 -D_DEBUG=1 
-o0 -g-Wall -fPIC -std=c++14 -pthread -MD -MT 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o -MF 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o.d -o 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o -c 
../src/ConnectionPoolImpl.cpp
cc1plus: fatal error: 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.d: No such file or 
directory

compilation terminated.

This project used to compile fine with Debian Stable, Debian Testing, 
Ubuntu LTS, Suse and even Microsoft Windows.


If someone here has already stumbled into this problem and know how to 
fix it, please tell me how. I'm eager to move my projects forward :)


All the best,

Jarle





What is *.cpp.d, and why is it breaking my compilations?

2016-10-18 Thread Jarle Aase

Hi fellow developers,

After upgrading Debian Testing a few weeks ago, some of my pet projects 
could no longer build. They are all C++ projects, using CMake. I use 
Kdevelop as my IDE. I waited a while and upgraded again today, hoping 
that the problem would be gone. Unfortunately it was not.


For example (from: https://github.com/jgaa/restc-cpp):

~$ src/restc-cpp/dbuild> /usr/bin/ninja
[6/15] Building CXX object 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o

FAILED: src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o
/usr/bin/c++   -D__USE_FILE_OFFSET64=1 -D__USE_LARGEFILE64=1 
-I../include -I../externals/rapidjson/include -g -DDEBUG=1 -D_DEBUG=1 
-o0 -g-Wall -fPIC -std=c++14 -pthread -MD -MT 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o -MF 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o.d -o 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.o -c 
../src/ConnectionPoolImpl.cpp
cc1plus: fatal error: 
src/CMakeFiles/restc-cpp.dir/ConnectionPoolImpl.cpp.d: No such file or 
directory

compilation terminated.

This project used to compile fine with Debian Stable, Debian Testing, 
Ubuntu LTS, Suse and even Microsoft Windows.


If someone here has already stumbled into this problem and know how to 
fix it, please tell me how. I'm eager to move my projects forward :)


All the best,

Jarle



Re: Recommendation: Backup system

2016-10-04 Thread Jarle Aase

I have moved from simple scripts to simple scripts with zbackup in them :)

Then I rsync the zbackup directories from different machines to my 
central  backup disks (and distribute from there to cloud storage and 
off-site disks).


zbackup supports deduplication and encryption, and is really a nice 
piece of software.



Jarle


Den 01. okt. 2016 12:37, skrev mo:

Hi Debian users :)

Information:
Distributor ID:Debian
Description:Debian GNU/Linux 8.6 (jessie)
Release:8.6
Codename:jessie

As the title say i'm in search for a backup application/system.
Currently i manage my backups with a little script that i wrote... but 
it does not really serve my needs anymore.
I want to be able to make backups on my main PC and also on my server, 
the backups i would then store on my NAS.


Make a long story short:
Have you guys a recommendation for me?
Is there a specific application you use for your backups guys?

Btw: I dont mind configuring or playing around with new applications, 
every recommendation is welcome ;)



Here is my current backup script (Which is run by cron daily):
#!/bin/bash

TO_BACKUP="/home /etc /var/log"
BACKUP_DIR="/var/backup"
BACKUP_ARCHIVE="backup-`date +%d_%m_%Y-%H:%M`.tar"
TAR_OPTIONS='-cpf'

delete_old_backup() {
if [ -f ${BACKUP_DIR}/backup*.tar ]; then
rm -rf $BACKUP_DIR/backup*
fi
}

create_new_backup() {
tar $TAR_OPTIONS ${BACKUP_DIR}/$BACKUP_ARCHIVE $TO_BACKUP
}

main() {
delete_old_backup
create_new_backup
}

main

Greets
mo





Re: Using serial console as a poor mans IP kvm?

2016-09-09 Thread Jarle Aase

Hi,

I was just about to order some usb2serial hardware when I read this. 
Your suggestion will give fewer "moving parts" and is actually very 
simple to implement. I will loose the ability to do a cold boot, but it 
will probably not matter too much in my case, at least not for now.


I'll try it when I get the first server assembled. Thanks a lot!

Jarle

Den 09. sep. 2016 10:31, skrev to...@tuxteam.de:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Sep 08, 2016 at 10:26:59PM +0300, Jarle Aase wrote:

I want to set up a few servers at home. Unfortunately, as I live in
Bulgaria at the moment, the electric power is gone pretty often for
longer periods than my UPS'es can deal with. So my servers will have
to be started at least a few times every quarter.

[...]


That means that I need to reboot the servers relatively often, and
provide the luks passwords every time. Some times I am far away when
this happens [...]

An interesting alternative to the serial console thing is baking
in an SSH server into the initramfs. There are small SSH servers
built for that, like Dropbear.

Upside is that you don't need any additional hardware and it's
pretty well integrated into Debian. Downside is that you need
BIOS, the bootloader and initramfs working (with the serial you
at least get a chance to fix the bootloader remotely).

https://packages.debian.org/sid/dropbear-initramfs
https://wiki.debian.org/RescueInitramfs
https://projectgus.com/2013/05/encrypted-rootfs-over-ssh-with-debian-wheezy/

Might be worth a try.

Regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlfSZVMACgkQBcgs9XrR2kZGNgCfZhrMlouUceQSVJgzimE+b2YG
GokAn0PpEqnw2lgmFiGTu554OQtpt9Wa
=AKQd
-END PGP SIGNATURE-





Using serial console as a poor mans IP kvm?

2016-09-08 Thread Jarle Aase
I want to set up a few servers at home. Unfortunately, as I live in 
Bulgaria at the moment, the electric power is gone pretty often for 
longer periods than my UPS'es can deal with. So my servers will have to 
be started at least a few times every quarter.


Another challenge with living in Bulgaria is that there is no law or 
order. The Police is just a branch of the Mafia. I need to protect the 
data on the servers with full disk encryption in case they are stolen.


That means that I need to reboot the servers relatively often, and 
provide the luks passwords every time. Some times I am far away when 
this happens. I have been considering Supermicro motherboards with built 
in support for remote management - or old KVM IP switches from Ebay. The 
problem with Supermicro is that it's expensive and difficult to get the 
RAM required for their recent Skylake boards. The problem with Ebay is 
that few suppliers ships to Bulgaria, and getting anything trough the 
custom's here takes a whole day. Then there is the question if the 
device works at all...


So I'm thinking about serial consoles. My gateway router will reboot 
after an outage, and it can act as a VPN endpoint. So I can access IP 
devices. With a rasberry pi and some relays, I can probably trigger a 
cold reboot whenever I need to. If I could log on to the grub console on 
the servers over a serial link, that's all I need, really.


Does anyone here have any experience with remote control with Debian 
boxes over serial? Will it work reliable?


Thanks in advance.

Jarle



Re: Every opportunity taken (Was: Does anyone know how to configure a Brother MFC...)

2016-03-20 Thread Jarle Aase



Den 15. mars 2016 21:38, skrev deloptes:
I agree with you more or less, however languages like python or perl 
open doors to pretend-to-be-programmers. I've seen more often bad 
python/perl code than c/c++. My observations are also that there is 
always a penalty, even if you compile the script code into binary. So 
if something has to be robust and fast, one should always prefer 
c/c++. But this is really out of topic here. regards 


I have been working a lot with C++ for the latest 20 years. I have many 
friends specializing in C++ in big companies. Interestingly, they claim 
that recruiters wanting Java programmers, often try to hunt down C++ 
programmers that are willing to convert - because they believe C++ 
programmers in general are smarter than Java programmers. I can't 
comment on that. I don't really know any smart Java developers :)


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Jarle Aase



Den 11. mars 2016 19:36, skrev Lisi Reisz:

I have been reading this thread a bit at a time.  I am bemused.  Why, if you
want life simple, and Free, etc., go for an AIO, which are notoriously
troublesome?  Why not go for a simple Brother laser printer?  (If you want
Brother.)

Actually, I need scanning more frequently than I need printing. The 
scanner works perfectly without any proprietary software on my PC. I 
have still not printed anything.


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-19 Thread Jarle Aase



Den 10. mars 2016 21:01, skrev Brian:
Did you go through all this to set up scanning on the device? Of 
course you didn't. So why not do the same with printing and not make a 
song and a dance about it. 
Scanning was simple, as the device use standard protocols. Currently I 
scan to a FTP server on my PC. I trust the FTP server because I wrote it :)


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-09 Thread Jarle Aase


Den 09. mars 2016 14:27, skrev Brian:
In another mail Jarle Aase said: > I think this printer supports both 
pcl and postscript. Faint alarm bells sounded in my head - inkjet, 
inkjet, inkjet. I ignored the warning; after all he was surely in 
possession of a manual and would know the printer capabilities. The 
CUPS filter chain produces a file to be sent to the printer which is 
identified as "data", not PostScript or PCL. Installing the two 
Brother .deb files (a five minute job) seems to be the only way for 
printing to take place.


My plan is to install the Brother drivers in a virtual machine. When 
that works, I can use wireshark to see what's actually being sent to the 
printer, and decide if I want to do something to make it work on the 
"real" machine.


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase

Thanks for all the hints and suggestions.

I have still not got the printing to work, but the scanner successfully 
sends the scans to my FTP server 
(https://sourceforge.net/projects/wfde/). That's kind of cool :) The 
scan quality is fine. I actually like this device. I'll see if I get it 
to print later this week. Tomorrow my dog is having an operation, and I 
have some code to deliver.


jgaa




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase



Den 08. mars 2016 15:39, skrev Dutch Ingraham:

When networked printers "print" without errors and without actually
printing, it could be your firewall blocking.

The printer display says that it is receiving data. Then nothing 
happens. So the comm-link is OK.


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase



Den 08. mars 2016 14:02, skrev Brian:



I am very skeptical to installing 3rd party deb packages from hardware
vendors. I don't think they have quite the same focus on security that I
have. Basically, if a network printer require proprietary drivers to work -
then it is broken by design. I have used lpd + postscript for around 20

You are not bothered about the security of the closed source firmware on
the printer but are concerned about a closed source driver on the PC/

My printer does not sign code or certificates. My PC does :)

It would be unfortunate if my printer participated in a bot-net. Or 
acted as a gateway for attacks against my PC's. It would be a disaster 
if my gpg key or other certs were used to sign male-ware, or if 
back-doors was injected in my code base.


Theoretically, a Generic PCL or PostScript PPD could be used with this 
printer. You'd lose its specific printer options of course. 


That's what I am trying to do.

Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase



Den 08. mars 2016 13:26, skrev deloptes:
Of course if you require high level of security you can not trust such 
binaries, but if you are at this level of security I do not think you 
will be working at the computer that much or at least use such kind of 
hardware. In such case it is best to use analog equipment or PC in 
closed network. You still have choice(s). regards 


Many years ago, when I was CTO (function, not title) at a small company, 
the developers had two PC's, one connected to the Internet, and one 
connected only to an internal development network. Binaries was burned 
to CD and then given to customers, or copied to our web servers. 
Eventually it became too hard to keep the development on a closed 
system. More and more of the development tools expected an Internet 
connection. At that time we made most of the revenue making software 
that ran on Windows.


Today I miss the feeling of security I had back then. It would be very, 
very hard for an adversary to penetrate the closed network and 
compromise the software we delivered. I assume that a determined 
adversary can penetrate my current defenses relatively easy. There are 
so many layers of potential vulnerable firmware and software between the 
network plug and my file systems and system memory that any other 
assumptions would be rather naive. Still, I try to defend my code, my 
privacy and my intellectual property as good as I can. Not running 
java-script outside disposable virtual machines is one line of defense. 
Not running alien shell scripts or drivers from untrusted sources is 
another. It does not make my system safe - but it makes it less likely 
at least to be penetrated by the most clueless script-kiddies or 
automated bots.


And frankly, it makes no sense to me that printers require special 
drivers in order to work. The transport protocols are standardized. The 
page description protocols are standardized (or at least well known). 
Using proprietary transport or page description protocols seems just 
like a waste of development resources and support resources. It's very 
hard to make good, optimal implementations of anything slightly complex 
(it's just weeks ago another dns bug was found in glibc!). Therefore it 
should be best for everyone to refine common code to do such things as 
safe and efficient as possible. Not reinventing wheels and doing the 
same stupid mistakes over and over again. I really don't understand what 
the printer industry (this is not only a problem with Brother) is doing. 
May be it boils down to something as simple as the egos at incompetent 
product managers.


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase



Den 08. mars 2016 12:15, skrev Sven Arvidsson:

On Tue, 2016-03-08 at 12:01 +0200, Jarle Aase wrote:

Yes, you are right. That might work. Thank you!


Actually, you will probably need the filter binaries too. You can
install them manually too, but you will be running non-free software.

Some Brother printers are covered by foomatic-db, but your particular
model doesn't seem to be :(

Do you know why these printers require binary drivers? I am asking both 
technically and rationally.


I mean, by requiring this, Brother is exposing themselves for a 
maintenance nightmare as the divers needs to be kept up to date with all 
the supported Linux distributions, Windows versions and OS/X versions.


(I have not kept up with the printer technology in recent years. A 
friend and I wrote a word processor for QNX and Unix back in the early 
ninetieths. At that time we supported PCL and Postscript natively. So I 
did know this technology fairly well a long time ago).


Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase



Den 08. mars 2016 11:53, skrev Sven Arvidsson:

On Tue, 2016-03-08 at 11:39 +0200, Jarle Aase wrote:

I am very skeptical to installing 3rd party deb packages from
hardware

I didn't suggest that. I suggested extracting the PPD and using that.



Yes, you are right. That might work. Thank you!

Jarle



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-08 Thread Jarle Aase



Den 08. mars 2016 10:05, skrev Sven Arvidsson:

On Tue, 2016-03-08 at 00:14 +0200, Jarle Aase wrote:

Hi all,

I read some good reviews about this network printer/scanner, and
noticed
that it can scan to email or FTP. So I made the flawed(?) assumption
that the printer would work independently without a software suite /
drivers from Brother.

I tried to install it with the kde "Print Settings" front-end to
cups.
"Print Settings" finds the printer and lists several interfaces -
however, I am unable to print anything no matter what configuration
(combination of network protocol / printer driver) I use.

I know that I can download a bash script from Brother.com and run it
as
root - and then the printer is supposed to work with Debian.
However,
I'm not comfortable doing that. Actually, I'll rather scrap the
printer
and get another one that support lpd/ps natively than risk
compromising
/ messing up my system.

So my question is really if anyone have experience with recent
Brother
network printers and know a cups configuration that works with one
of
the standard Debian/Linux drivers.

I'm using both Debian Testing and Debian Stable on different
machines
right now.

I think you can safely extract the mfcj5720dwcupswrapper-3.0.1-
1.i386.deb file and extract the PPD and install it manually.

There's also a bash script in there (looks like it just installs the
ppd and restart cups) and a binary, not sure what that does.

You might have better luck installing and configuring the printer from
the web GUI.


Thanks for the reply.

The printer is configured and receives the print jobs from my PC. 
However, it prints nothing.


I am very skeptical to installing 3rd party deb packages from hardware 
vendors. I don't think they have quite the same focus on security that I 
have. Basically, if a network printer require proprietary drivers to 
work - then it is broken by design. I have used lpd + postscript for 
around 20 years, and it just works. It's fine if Brother want to embrace 
newer technologies and provide a better UX, but not providing a 
fall-back to open standards seems weird.


Anyway - I think this printer supports both pcl and postscript. So 
unless Brother deliberately is looking for a fingerprint or something in 
the payloads, it should be possible to trick it into printing my 
documents. Hopefully it's just a matter of understanding what the 
printer expects to receive in order to print.


One alternative is to install a dedicated VM with Debian and use it as a 
print server. However, since I use both laptops and PC's, it's not 
convenient.


jgaa



Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-07 Thread Jarle Aase

Hi all,

I read some good reviews about this network printer/scanner, and noticed 
that it can scan to email or FTP. So I made the flawed(?) assumption 
that the printer would work independently without a software suite / 
drivers from Brother.


I tried to install it with the kde "Print Settings" front-end to cups. 
"Print Settings" finds the printer and lists several interfaces - 
however, I am unable to print anything no matter what configuration 
(combination of network protocol / printer driver) I use.


I know that I can download a bash script from Brother.com and run it as 
root - and then the printer is supposed to work with Debian. However, 
I'm not comfortable doing that. Actually, I'll rather scrap the printer 
and get another one that support lpd/ps natively than risk compromising 
/ messing up my system.


So my question is really if anyone have experience with recent Brother 
network printers and know a cups configuration that works with one of 
the standard Debian/Linux drivers.


I'm using both Debian Testing and Debian Stable on different machines 
right now.


Best regards,

jgaa





Re: Debian "testing" is looking really great on my new "Skylake" PC

2016-01-20 Thread Jarle Aase



Den 01/20/16 18:56, skrev Patrick Bartek:

What if anything special like disabling Secureboot did you do to
facilitate this painless install?
Nothing really. I specified "Other OS" and enabled virtualization - 
that's all that I changed in the BIOS setup.



I'm buying a new notebook as a replacement for this aging desktop (8
years old, Wheezy 64-bit) in the next few months and plan to install
Stretch on it once it's Stable or a late testing beta.  Haven't
decided which make of notebook yet, but Asus is one of the brands I've
been considering.  Lenovo, Dell, Acer are some others. So, any details
of your install you can share will be appreciated.
I installed Debian Stable on a Lenovo G50-80 (i7) and a Lenovo ThinkPad 
x250 (i5) late last year. Both machines had Broadwell architecture. Both 
installs went painless. No problems at all, except that I had to use 
non-free/binary blobs to get wi-fi working.  (Interestingly, the i5 
ThinkPad outperforms the i7 consumer model on C++ compilations). I have 
not bought any Asus laptops recently. Acer I stay as far away from as 
possible. Anything I have ever bought from them have caused regrets - 
usually because of poor quality or very poor performance. I have no 
experience with Dell laptops. I used a Dell workstation last year, and 
it worked great with Debian Stable.


Jarle



Debian "testing" is looking really great on my new "Skylake" PC

2016-01-19 Thread Jarle Aase
I built myself a new PC with an Intel i7-6700K ("Skylake" architecture) 
- and I was prepared for lots of grief and trouble. However, installing 
Debian "testing" yesterday, from the latest Amd64 snapshot, was 
absolutely painless.


I'm using kde as desktop, and it looks really great. I installed the 
system on a Samsung SSD 950 Pro with a super-fast PCIe M.2 interface. No 
problems with any drivers. Kde runs perfectly on three monitors using 
the built in graphics system on the i7 processor.


The mother-board is an a Asus Z170 "PRO GAMING" (Z170-A was out of stock).

I just wanted to share the good experience :)

Jarle



Re: Upgrading Debian

2015-09-13 Thread Jarle Aase
On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
> I just want to make sure again. How can one upgrade from one
> version of Debian to other without losing data or without
> formatiing the partition, simply as Ubuntu does. An earlier mail in
> this mailing list stated to reboot from iso image and install in
> the same old traditional way. This Facebook post states something
> else, and I couldn't make sure what to do without bricking up my
> hard configured system. 
> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/


What
> 
I usually do is to update /etc/apt/sources to the version I want
to upgrade to. Then I log out from X and log on to the console.

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

Then reboot.

This has only failed when I have tried to upgrade to broken "testing"
versions.

As always, make a backup before you start :)

Jarle



signature.asc
Description: OpenPGP digital signature


After upgrade, Debian Jessie boots into read-only root file system

2015-09-12 Thread Jarle Aase

Hi,

This morning my workstation booted into a read-only root file system. I 
assumed that it was the old SSD drive that was closing to end of life, - 
but when I booted my laptop, that also booted into read-only.


The system came up after I re-mounted root to read-write, and re-started 
kdm.


Both machines runs Debian Jessie (8.2), and both machines were upgraded 
yesterday. They also have encrypted root file systems (default cryp+lvm 
from the Jessie installer) on aging SSD disks. Both machines also mounts 
other data disk(s) during boot. The data-disk(s) were read/write after boot.


I found nothing interesting in dmesg (at least not when searching for 
read only, mount, warn or error).


Jarle



Re: After upgrade, Debian Jessie boots into read-only root file system

2015-09-12 Thread Jarle Aase
After the upgrade swap was disabled, and /etc/network/interfaces was
overwritten, leaving all my vmware and kvm virtual machines netless
(they depend on the bridge defined in that file).

Nothing that cannot be resolved from the command-line, but a bit annoying.

Jarle

On 09/13/2015 08:04 AM, Jarle Aase wrote:
> Hi,
> 
> This morning my workstation booted into a read-only root file 
> system. I assumed that it was the old SSD drive that was closing
> to end of life, - but when I booted my laptop, that also booted
> into read-only.
> 
> The system came up after I re-mounted root to read-write, and 
> re-started kdm.
> 
> Both machines runs Debian Jessie (8.2), and both machines were 
> upgraded yesterday. They also have encrypted root file systems 
> (default cryp+lvm from the Jessie installer) on aging SSD disks. 
> Both machines also mounts other data disk(s) during boot. The 
> data-disk(s) were read/write after boot.
> 
> I found nothing interesting in dmesg (at least not when searching 
> for read only, mount, warn or error).
> 
> Jarle
> 






signature.asc
Description: OpenPGP digital signature


Problems getting started with QtQuick and QtCreator

2015-05-22 Thread Jarle Aase
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

I have put aside some time this weekend to see what I can do with Qt
Quick.

However, when I try to compile the skeleton hello world application
Qt Creator makes when I create a new project, I get this error:


08:01:47: Running steps for project QtQuick...
08:01:47: Starting: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
/home/jgaa/src/tests/QtQuick/QtQuick.pro -r -spec linux-clang
CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug
Project ERROR: Unknown module(s) in QT: quick qml
08:01:47: The process /usr/lib/x86_64-linux-gnu/qt5/bin/qmake exited
with code 3.
Error while building/deploying project QtQuick (kit: Desktop)
When executing step qmake
08:01:47: Elapsed time: 00:00.


/usr/lib/x86_64-linux-gnu/qt5/bin/qmake --version
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu


I don't know if this is a bug in the packaging or something that is
broken on my system.

I'm using debian testing, updated today. I tried removing and
reinstall qtcreator and the qtquick packages, but  the problem persists.

Any help would be appreciated.

Jarle
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJVYAzqAAoJECdIPpCNC8tykZEP/1wlyhNI+0Szuoi5RF7tDczw
cFR/IEvCG8mbiFv7vK+lt5O6RSpfxDCQaTy9wegApoByf690eJVVsCc0fRBvyoNU
e93/Qtq/nOOcgk4GOnPJtG2h69QnZC1Ay6N/qPdc0m+vkRtfbWRoBdXq+QGp+zFF
VorfYJUM17zI9CyzH18b644OYd2MFwAxhEbOMUlvL4uXg8CzLiNDwSjP29GWOK6C
F0Sj0LDzSl9rnu/Vg39LO0FVlJYkq0PeNv3fuwUgf9SN7JPbewy+WFXLM3G5FzrB
tLrNxgBJgGgUu+qYNBBBqqsCRo3LBqRPeSumwhrMdhruFXab8/IQRddRiD8i+SqO
Y/huGPCUJ4yJ6CX18MYxesHu9atPGWhbslOkTpCOxzab33Sm7KZUkDiXLEwrwCjM
YzqMx1mfvsySc3b9eRmxcbuRQPCH11rXhRqourEI4II6gFw3fnoEjVYZInvvlVwc
oUibxQRemZy/tAhluujJLJ76VvhJPEt+1KqATLFozLoDSP9VRuh4+qrVxoL7nbgw
Z+KHO/5BcuYX/9I7ixFaXaI6qQwCmyK5YzWiDc5pZIWxgNo8rgNXeJsVSgrtP7OJ
2TBwugfjM7fIfFRpdFNbLUgarevozF1q5h4/+G/LNoPZSsHIX5e6AnvHzOHPargv
KQQhlWwPu0vG/qaHvncZ
=ihsI
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55600cea.9070...@jgaa.com



Re: Problems getting started with QtQuick and QtCreator

2015-05-22 Thread Jarle Aase
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi all,

Sorry for the noise.

I started trying more of the suggestions in different forum threads
regarding this problem, and

   aptitude install qtdeclarative5-dev

solved it.

Jarle

On 05/23/2015 08:15 AM, Jarle Aase wrote:
 Hi,
 
 I have put aside some time this weekend to see what I can do with
 Qt Quick.
 
 However, when I try to compile the skeleton hello world
 application Qt Creator makes when I create a new project, I get
 this error:
 
 
 08:01:47: Running steps for project QtQuick... 08:01:47: Starting:
 /usr/lib/x86_64-linux-gnu/qt5/bin/qmake 
 /home/jgaa/src/tests/QtQuick/QtQuick.pro -r -spec linux-clang 
 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug Project
 ERROR: Unknown module(s) in QT: quick qml 08:01:47: The process
 /usr/lib/x86_64-linux-gnu/qt5/bin/qmake exited with code 3. Error
 while building/deploying project QtQuick (kit: Desktop) When
 executing step qmake 08:01:47: Elapsed time: 00:00.
 
 
 /usr/lib/x86_64-linux-gnu/qt5/bin/qmake --version QMake version
 3.0 Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu
 
 
 I don't know if this is a bug in the packaging or something that
 is broken on my system.
 
 I'm using debian testing, updated today. I tried removing and 
 reinstall qtcreator and the qtquick packages, but  the problem
 persists.
 
 Any help would be appreciated.
 
 Jarle
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJVYA8jAAoJECdIPpCNC8tyTloP/1ANEiASVOM1JxNoxTmu1myg
DTtemSklu+LBWUJfrk6Q98Wu79G99lFQm5EGCRC9IUC+7ol51eyQB8SUoJ+8lXj2
h0btl/QqpyYSMkjJZJjuOSbYoUpUP68W7dzBSpzqUlvVW3v94AgtgmbIl9ZWwK1W
Ddxwn5YxeIV5PQIAHbYl79ZD+5yMe9vLU7LN/yZr2La8M30gwY4bWTJtomLlWTXF
MKfh8849sHPMe/ywf5IEGTGDGD6sv+VTv3ihHWlkliJQvJIukMvJdXTORC2w84ew
Shz80lU0QgBP/52RxZzPJSLgmvJ56PxaBhWHjAg5OzdvtQ4Yvw8yEKYqpK2aH+MQ
F3qjF/NrjmMp30QY4SWK4hsT2YHKXUVzBZp88lXIcokj4VFAKZbLzYiFDjSr7/AR
TGvPRoPiz8+To9YBOaqVQOHH/yegFjxXvO9AdJt9tOfEDS9R4KJTgHCG6hRjvtXi
wniw+jUJa3Xctl8qkIgbSp7rtBxAyO0FKkICPiQ5kq25nnGrTYpfVKTC6Tf7WbSd
WA97cR7WLoWzWKRMWM008ocTKBjqDML0bKp1tMojE14L1x7BjqX5oEUrQvnxx4y7
cCUVE8UBd1vcOZwvLLq7W/U/nXwhbSBv/KzB0SkAT8DDeNjygeAWu8nuG2tHVKOi
fs0dzrfrjoc933OZzuH1
=OM+z
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55600f23.6020...@jgaa.com



Re: debian 7.0 unsuccessful VMware 10 and 11 installation

2015-02-18 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/18/2015 09:42 PM, Mehmet Recep Turkoglu wrote:
 Hello I solved the problem by deleting vmware files under /etc.
 Installation is successfull but now I am dealing with this problem
 http://www.turkoglu.me/snapshot1.jpeg as seen

You need to install the kernel header package  that match your kernel.
This command may work:

 |# apt-get install linux-headers-$( uname -r )

You also need the compiler and build tools to build kernel modules.

 # apt-get install kbuild

(I assume that kbuild will pull whatever else you may be missing when it
is installed)

There is a wiki, but it's not updated for workstation 11. (Use the
latest you have, always).
|  https://wiki.debian.org/VMware


Jarle
- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJU5O4vAAoJECdIPpCNC8tyquYP/3qhyAoqXAs61s0UjOXSp+c+
5g/xvGCWdMHYil900eDGTW+SEOnobYwC0pZsz3rU7k5rmG4r4M1kCBUto4okQKGQ
N38i7TFlZb6JQgq8oCuOcQmMjn0z153FQCeINiCg38ANHRKshFZA/gHRHaFei/PY
aPVkoFSLqfKOT6FtSgvJwRNw/moNeAyWU5PMo5lqnKA4NgumwKqiDVqdPYHveKmd
g94aGtOR+hw0YGckMV2eH0ZoVSp2nvUjLOTWnYGW/5SweLodjx4zs0c8J44sxdRy
OcEgRQ1l/N0dK9CJSqUAJI/sxPbfZsjwGfNRpRGWGZmwp40ASsM2ms89dsaAdYmG
4+zR+e1uiWMR1LJZfovveVyfzwg3Sf1ALmNVxcP7pZDm8lOuEc4XWraXUEXk8ttx
W9BKBJJuWau2CT/MSGwbuFiqJiUxTbN1OxP6V99IpTVt/SKcximifuWVfAyH2eME
2j3pnz4wHH51ZEyGAHUYPkmwKDXLKysuMN0v5Ue9fkoo3p1mEQlECA+7gzu6XZ0P
4iPK1GAnjBi8nHrtfF0sPGHBbREI7GY+lZJkx2nZV9iTFjl0ct+XTX6/jodNFrcI
uAlxa1iJCXQ+zk5uczBpGmrUnFNXiyy8ayg/cSq5QZ/IQjEUB/SWIk4UY5BDKt/L
1w2CQ6IjFFFu8oykeMJJ
=qXir
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54e4ee2f.1000...@jgaa.com



Re: debian 7.0 unsuccessful VMware 10 and 11 installation

2015-02-18 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/18/2015 07:58 PM, Mehmet Recep Turkoglu wrote:
 Hello

 I tried to install both vmware 10 and 11 with sh but I cant succeed. There
 are no errors. İt just print the screen:

 The product is ready to be installed.  Press Enter to begin
 installation or Ctrl-C to cancel.

 Installing VMware Installer 2.1.0
 Uninstalling VMware Installer 2.1.0
 Deconfiguring...
 [##]
 100%
 Installation was unsuccessful.
I think the vmware installer is supposed to write more verbose
information to a log-file somewhere. I don't remember where, but it
might be in /tmp. You could issue a lsof command while the installer is
running and search for it.

Anyway, are you installing as root? Do you have gcc and the linux
headers package installed?

Jarle

- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJU5OZKAAoJECdIPpCNC8tyBYMP/2qKzgtorNXpIBmOkt6fBe/g
QauXBrYJYsJkDGxgBO8K/aEJZlClKJx+Db6N46Xzlz1knaF41beJplp+kn6Ul+bR
26zdc7SjniT2jmCCGTcklOmK5DYzid4T3V/OV4c8szLyv1TO5orLItXIeu2A3627
KFqtslexLLVIc8PSdb4UOAVAFoynAWaWuTX8OFYwM8wz/3xDHG8G3mxhCmgs2/jI
oJY3QvTMiOPkNSYWJjocqAYt5NC/8c4m4B3p6VG7d0G+ogj1Kf+m78jKIgX5+ph7
rX4FWOiL/+UTKZfhiUEUFTQFjBUE45iLztaU6Ffen0SWTVV7alDvGE9cjP01i5L+
GuXB67LiqH2N8++y8SxGGaRyxmhwbPQ8SYHJVwofiNZTq0z5T+mka6dq2b0be3aV
gIU35fmKxZA/UQw+4NtK3un0NJLcwgYHh9uOJqKnsR8bSXgoJ+2/SSDeNxjuCHF4
XyWV5sxQGMwAXUnUCUn1PBeI0Ca6uiVai6Q2+vE0Uxu2BxGf+m3EngjemeFyZpXG
VUUpLXqwz3YLMLBsVNe6/kfwp0sCpoqGM2d46PHL8WX2ck6stz62xalwT8hZP3zd
uXyrZsMmV2uob2JxZi8eVaSGN+R4IO1jRwm2QYU7tIDhFOgSJdOBdCqln+R5Rsde
s62eGA/2toOyQXC6aokE
=rxjQ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54e4e64a.6040...@jgaa.com



Tried to boot my laptop from a cafe...

2015-02-01 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Normally I use my laptop as a workstation, with wired Internet and a 1 T
extra disk in the cd-tray.

Today I tried to boot it in a cafe, off-line and without the extra disk.
It was not possible. Systemd would just wait indefinitely for some
start-up jobs (it was waiting for the missing disk to come on-line among
some other things). Fortunately, I had the extra disk with me, so I
attached it and tried again. Still for no use. Systemd now waited for
the network interfaces. So I had to actually connect an ethernet cable
to a router just to get the crap to boot, and then unplug it and walk
back to my table.

How did this happen? How come Debian is now  /more/ useless than
Windows? It can't even boot if the hardware configuration is not exactly
the way it assumes. WTF!

Jarle

- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com


War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUzgzYAAoJECdIPpCNC8tyX7kP/RHtmRM4v14QoSt7zIoGySgF
Rk6SjEb12dsYuMNTiceAgeViTfbSU8AmjLrN9R8Sy1PGmy9HHd1uRslXLWbmjvtj
mIvi0bHKIJlakdABSKo9NDzobzjHHpllOkJqHTpfwr/vFF07ddo5NXTC+m32cgRs
BjDDrUJkSP0A0hdg0aZ6vu3kzqfGO6dDeKWxNMh8iqhzrCl/8GDO36enq33fOgwh
QNIMBVLvIDncdIn1N6l+lDN6wLzwr0ZDVvLnOkngYLr+Q2Ya5UIS+el6jDsExu9z
bj1qbUAYdWvmzRxhcyz8SyVPucLxPP5545OlHgx4/aIh7G7IO7xXxTonAy+vopw7
IcBcbLuB6UM/eBL5Ejn7d4GjoPHAbI9/wwC95AahfiMyDGeELos+oxa2pWdY3LIZ
bKa2HamjNv9jlM2vjGTetmSrdv4uSPtGp9wTZjmTOc3xWMq4iNPmyjA+8+f1n1fb
tH8PvMNWrZvzxWFxX1QSZSVrgolbr0Znmlt2KZPd4ktkyNJvxUZZVH5N8nX5348o
SN6dUwOHX2qml63hdsng4IJ4TscTmc3Uc0AbKeIjMjS671oAaupuuc24fnDB4NzF
1pHS1wE0OBtTpIN9eCqES0S964s9+fR4ev9MhJDuDEwIz6W8/KjeCC9Xu4xIZU1V
9a5K/c1TwiIMzRwDKi2f
=7bLN
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54ce0cd8.5030...@jgaa.com



Re: Minimal configuration for a laptop

2015-01-22 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Alex,

If you look for an older laptop, Lenovo ThinkPad may be a good choise.
The 12 models are relatively portable, and the build quality is
fabulous. I've had my old X60T for about 9 years now, and it's still in
daily use. I have changed the disk a few times, the fan once and the
battery twice.

Unfortunately, Lenovo does not support Linux as an option for the
ThinkPad series. But all models I have came across works well with
Debian and other distributions.  (Watch out for the cheaper ThinkPade
Edge series - I have some really bad experiences with some of those).

Jarle

On 01/22/2015 08:22 PM, Alex PADOLY wrote:
  

 Good evening to all,

 Which is according to you the configuration
 minimal to run the current distribution Debian ( stable version) on a
 laptop computer intended mainly for the following activities:

 -
 OpenOffice

 - Navigation(browsing) intenet, files transfert ftp,

 - Use
 of vlc for listen mp3 files and to watch occasionally a movies

 -
 Electronic use of simulation softwares (geda, kicad, Xcircuit)

 - Use
 freemind

 Finally Do you know models of professionnal laptop computer of
 2007, 2008,2009 and 2010 year. I kook for a laptop computer of which the
 sale price began from 2000 Euros.

 Thank you very much!
 


- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUwUXvAAoJECdIPpCNC8tyW/QQAJtS1ftg+JgmGTnkEeSOXuaK
PdSk9T5u4Xx8XHUWfrzaAQkNyPTUxgTg2AxVkctPVsKMRVLiTxnij2MW2ITFtZ48
l+cHXXM9o7aQqS4rkX0OJt5W3Xhp1catOj1eR/sJGoj3qMHckNnSkwucv4RASxcw
CwGuUifzIWaf6jDCK7ier8LzvEU6ei2V3Sx+Lk46KQVHGJXKz7UsRkdZCAR6dQlx
J65jgV8fP2hRgbmTCQJYZ/Jy5cZJKdjz90KQ/j65rMBRRpvjrGsgoKEm9Lf7gXSM
l0xnRimkMPvfbLiGcplC/nWwHcnCsSQvi2Vu7HUNS0zrwOn8h7v+LXdVE0+2sXV/
z39Rp0ReqehHqamjAHL9/gtBpFhxstgoHoAtlxXud35yYFSIzx/bwz57x/tPCeTq
MD0lw3/yYsDSv+jkHa+Vh1ySB5GF1bYuJcdxSxMmQzNRYEpu7DObFEeGH8sNTk2d
MG9CD/eeoIkr1DBWCuVy5NJd6vJZD2Z00phICCezj9HC+U+nbOftWLiBpmTX1Kss
QBo4k28Nx5qnnRq+awvgofxqOkMql5BT5bYKKjtK7JL4USlJoNvxo81QNv8EbFlO
E4NSpD0LZcZlvY0MHYlYVL+Xlo/k0JRihl5CDBD2Za/qr7PcWK5E0hQuNtZAJsrN
gmmfcalYJ3WmA+RMAXez
=hfFf
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54c145ef.5070...@jgaa.com



Re: test VMs

2015-01-08 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/08/2015 04:18 PM, Bonno Bloksma wrote:
 Hi,

 I want to setup a few test VMs on my VMware servers.
 Can I simply clone a basic machine? A machine with no desktop, just an
empty server.
Yes.


 Is there a script which I can use to simply reset machine specific
stuff like the hostname, ssh keys, etc?
One way could be to configure a template machine that you clone from.
This machine will probably use with dhcp, and a firstboot script that is
run only on the first boot for each cloned machine. This script could
regenerate the ssh key for the ssh server, and poll additional scripts
from another server that sets the hostname and a static IP address. (I
wrote an instance manager for AWS a few years ago that could spin up any
number of instances based on some rules, and with a combination of
first-boot scripts and scripts generated for each instance, everything
was 100% automated).

Jarle

- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUrsYOAAoJECdIPpCNC8ty4SkQALNzLpWmSbIT/qCRtirfyY/Y
enP73Zb5KGIyYJeQHUO1LblK50O83/CW01n0JZo/Wd7CuHIOj7PdLB/wHXAEXEIq
g7Z2f0cfNsAybAzvhCUCSaJa8gR1CLp4Jj7rk/3nbnUs/3W8S2SdXsLXJlS3hDMx
zrGwW5m1LHs4+eVvf90GNPhZydVY4OOoVYY3dRrGlBxC63gYLU1BbQV5mSdH/ELX
LEy3aPiGhf9c19V7t7X8cVwHcoTLB5ghVJl35TFrwdTJ1FjfHoXlUrEkyhlR03VX
UvrykoqTJ4EB4DTMGVOKUDKWmxI9+SE10JeWuhuo5v2cv4VVHX89LZM7GzCW+lGB
qMx/L0IUf8sQ8yYk/moEqBcNGOvDEwrC8k/6XR3J7OEXwbk6BLSg/+eaiv+9Z7Bf
LP2Dn56CCAJsPHxs/yrvU6j4nuBjtWA4KVPb4YRQONIPmzrvD2K6t7yUxV9uptd1
8J0/uy5Opy6vVo5IcvCxfGg5aym8UbEwOCk5maXAV5XFqCR1pOViDJ3Ap0WS6kcD
kDIyhbIRH79vvVtWdR1jARsLTfQ8q07BYwGPgooWNJ7u31QlL8mO4wXxI7j4DMhk
k6JGG3le64Z1bAq5xDfsLmdvDRsqrDvHMVPFCFg68HpKroBGZYzD3I3xhrYZntW3
TxvPDT0Boa1tUIKR8yty
=ehxS
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54aec60e.9000...@jgaa.com



Re: Skipping fsck during boot with systemd?

2014-12-05 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/06/2014 01:16 AM, Brian wrote:
 On Fri 05 Dec 2014 at 19:06:50 -0300, Renaud OLGIATI wrote:

 On Fri, 5 Dec 2014 20:59:25 +
 Brian a...@cityscape.co.uk wrote:

 But remember our current slogan Linux is all about choice. One can
 choose to boot with or without fsck.mode=skip.

 What about the choice to stop fsck it if it has started at an
inconvenient moment ?

 Remedial action is not needed because the right choice was made from the
 grub menu. If it wasn't, you get to live with the consequences and don't
 do it again.



This is exactly the kind of arrogance that have made Windows 8 a total
disaster for Microsoft. I once convinced Windows 8 to stop a forced,
non-interruptible upgrade, by slamming the laptop in the table until the
hard-disk died.

Such arrogance will probably work just fine for systemd as well.

Jarle

- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUgq7sAAoJECdIPpCNC8tyJEMQAI3s7D1CuDBvoTZkHeGL6C1Y
O6OTo2u2o3gJd5mByTfE1O/1GTkxRQYV+NMhmlp52E9mVTMokVjJ9r+3835GHD3l
LjGEauQZs3zAQp3/Y2Go8OfL/xCYwSBVLcZou+zudBbeyJcVQp13Zqyp30D2zehw
HPFO0TVCrf/n+1nHCER6T+yI9EpbfUiN72ImpWi374yrYrHyK2zsA3YC1y6lntLn
2JjGT2Cc+AGhKydUVr6Y+W+YQ4OdyHtvZM56f41GscF2OXZeXM23oECDA6GwqyU/
KQFTN5OumRjnBEGsMmmh3axCCIQvuC3GNuAw0w3+Y69+ILSKwJVccoUhw8fpUDiO
wQvRiVS3NGKVzc5vp9ks1XYHmylWxESBnFjwGOBc3KCAK9bJht0Mo5p3E//fB8sD
MlWGsnyg9qssNMcGiS4qiyVG1x/CCJieJUxAp4kqezNZJicQP2ko0bTtlZzFWHiO
Id26ac3eZqoxZCrMtl6lyHroHuOE+hcx2IyC5SJ5i0Bpzxbyetu+p0qTUJKqQsTh
9o6lqbWPwdfNB394NG4YO/RnvYdALBemPNqqgPWEdkp5MndZsZlFalZ0KLRbc2ZM
AxHOZE9noKB4SyDVISMZxLaSnh7iegpN1kadqesEfUnqXGS7YNyhiVPvB4masIdQ
Ccz1OwFA9Oym3csWxR9P
=84Mp
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5482aeec.3050...@jgaa.com



Re: Unable too boot after fresh install of latest testing

2014-11-11 Thread Jarle Aase
I tried to install from
/cdimage/weekly-builds/amd64/iso-cddebian-testing-amd64-kde-CD-1.iso
(dd'd to a USB disk) when I ran into all these problems. Today I tried
again with the latest debian-testing-amd64-CD-1.iso, using full disk
encryption and btrfs on /. No problems at all. The machine boots and I'm
happy :)

There is obviously a bug in the installer in
iso-cddebian-testing-amd64-kde-CD-1.iso. How/where is the the
appropriate place to report that?

Jarle

On 11/10/2014 10:16 AM, Jarle Aase wrote:
 I have been using testing for quite some time. Saturday, I upgraded
 to the latest version. That was a disaster. Eventually I gave up
 fixing the upgrade and performed a fresh install (with encrypted root
 file system). No matter what I did (I tried 5 - 6 fresh installs on
 two disks, and a few boots into rescue mode to try to execute
 grub-install or update-grub manually), I was unable to boot after the
 upgrade.

 After the upgrade, I have a black screen with a little cursor blinking
 in the upper, left corner. No messages from grub. No response when I
 press keys on the keyboard. No time-out. It just stays there.

 I installed Linux Mint (kde edition) without any issues late yesterday
 night - so the hardware seems to be OK. However, I'm doing some C++14
 programming, and the compilers in Mint are too old for my code. I
 can't compile. That's the reason I was using testing on my main machine.

 I still have a free SSD disk where I can install and trouble-shoot the
 problem. Please advice.

 Hardware:
 - Lenovo w520 laptop with 2 SSD´s and one HDD
 - 24 HP LA240wg monitor on the Display Port connector
 - 24 Philips 240BW monitor on the VGA connector

 Jarle




-- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com 

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks. 
 no need to argue - just kill'em all!  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5461d23d.5030...@jgaa.com



Unable to start kvm virtual machines after re-install of testing

2014-11-11 Thread Jarle Aase
Hi,

After a fresh reinstall of Debian testing today, I am unable to start
my virtual machines. I lost the configuration during the reinstall, but
have the disk images. I'm not sure if it is a bug or something wrong on
my machine. The images worked on Debian testing after an upgrade two
days ago).


Trying to import any of the VM's with virt-manager, I get the the
error below.

Please advice it I should file a bug-report or steps to resolve the problem.


From Virtual Machine Manager:
Unable to complete install: 'internal error: Cannot find suitable CPU
model for given data'

Traceback (most recent call last):
  File /usr/share/virt-manager/virtManager/asyncjob.py, line 91, in
cb_wrapper
callback(asyncjob, *args, **kwargs)
  File /usr/share/virt-manager/virtManager/create.py, line 1787, in
do_install
guest.start_install(meter=meter)
  File /usr/share/virt-manager/virtinst/guest.py, line 403, in
start_install
noboot)
  File /usr/share/virt-manager/virtinst/guest.py, line 467, in
_create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
  File /usr/lib/python2.7/dist-packages/libvirt.py, line 3440, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: internal error: Cannot find suitable CPU model for given data


In /var/log/kern.log I observe:
Nov 11 11:28:13 revenger libvirtd[1081]: libvirt version: 1.2.9,
package: 3 (root 2014-10-14-16:53:26 bogon)
Nov 11 11:28:13 revenger libvirtd[1081]: Preferred CPU model SandyBridge
not allowed by hypervisor; closest supported model will be used
Nov 11 11:28:13 revenger libvirtd[1081]: internal error: Cannot find
suitable CPU model for given data


# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 42
model name  : Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping: 7
microcode   : 0x28
cpu MHz : 809.789
cache size  : 6144 KB
physical id : 0
siblings: 8
core id : 0
cpu cores   : 4
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt
tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts
dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips: 4385.36
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:



-- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com

War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5461d772.9020...@jgaa.com



Unable too boot after fresh install of latest testing

2014-11-10 Thread Jarle Aase
I have been using testing for quite some time. Saturday, I upgraded to 
the latest version. That was a disaster. Eventually I gave up fixing the 
upgrade and performed a fresh install (with encrypted root file system). 
No matter what I did (I tried 5 - 6 fresh installs on two disks, and a 
few boots into rescue mode to try to execute grub-install or update-grub 
manually), I was unable to boot after the upgrade.


After the upgrade, I have a black screen with a little cursor blinking 
in the upper, left corner. No messages from grub. No response when I 
press keys on the keyboard. No time-out. It just stays there.


I installed Linux Mint (kde edition) without any issues late yesterday 
night - so the hardware seems to be OK. However, I'm doing some C++14 
programming, and the compilers in Mint are too old for my code. I can't 
compile. That's the reason I was using testing on my main machine.


I still have a free SSD disk where I can install and trouble-shoot the 
problem. Please advice.


Hardware:
- Lenovo w520 laptop with 2 SSD´s and one HDD
- 24 HP LA240wg monitor on the Display Port connector
- 24 Philips 240BW monitor on the VGA connector

Jarle


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

Archive: https://lists.debian.org/5460747b.8030...@jgaa.com



Re: Unable too boot after fresh install of latest testing

2014-11-10 Thread Jarle Aase

On 10.11.2014 16:01, Marko Randjelovic wrote:
 Boot from Install CD/DVD and choose rescue mode. Than you can review
 grub options and reinstall. Alternatively, you can try lilo.

I have tried rescue mode and various grub-install and update-grub 
commands


update-grup makes no difference.

With EFI enabled in bios (dual mode legacy/efi), grub gave me this 
message (after I ran install-grub /dev/sdc from rescue mode):


   error: /grub/i386-pc/normal.mod not found

I disabled EFI in bios, and reinstalled. Got blinking cursor. Entered 
rescue mode and issued install-grub /dev/sdc. After reboot, I finally 
got the grub boot prompt (with a frame of alpha-signs). However, when I 
tried to boot Debian, I got this error:


  error: can't find command `['.
  error: can't find command `['.
  error: can't find command `search'.
  error: can't find command `echo'.
  error: can't find command `linux'.
  error: can't find command `echo'.
  error: can't find command `initrd'.

  Press any key to continue...

Then I gave up installing on /dev/sdc and installed on /dev/sda, with 
defaults (encrypted disk on top of LVM, /boot in separate ext4 
partition). After reboot, all I got was the blinking cursor...


I installed Mint on /dev/hda (to get a working desktop, and to check if 
the hardware was still working) and left /dev/hdc for further research 
on the problem.


Since it worked before, and works with an older installer (Linux Mint), 
it looks, walks and quacks like a bug. It seems to me like the installer 
don't install the grub boot-loader on this machine. When I ran 
grub-install from the rescue mode (with / mounted as / and /boot mounted 
on it's partition), grub was installed indeed, but not correctly.


I am eager to get my machine running again with testing, so I'm 
available to trouble-shoot further. However, I'm no expert on grub. I 
need some suggestions on how to proceed. (I spend a whole day googling 
and trying different suggestions that came up in the results).


 Is your boot partition not encrypted?

/boot is not encrypted.

Jarle


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

Archive: https://lists.debian.org/546103c8.6060...@jgaa.com



Re: Installing an Alternative Init?

2014-11-10 Thread Jarle Aase



On 10.11.2014 20:28, Michael Biebl wrote:

Am 10.11.2014 um 19:26 schrieb Patrick Bartek:

Maybe, the release after Jessie will include an init choice.


Ironically, jessie is the first release where you can actually install
an alternative init.
Up until now you were forced to use sysvinit.

People seem to forget that.


sysvinit was not that controversial :)

Personally I never liked sysvinit. The /etc/init.d scripts to start even 
simple services was overly complex, and they grew worse over time. When 
I first read about systemd, I actually liked it. I still do. - That is, 
I like the simpler service-configuration, and the starting of services 
in parallel. I used to be a DevOp 10 - 15 years ago (that is, mostly 
developer, but also operator on may be 30 Debian servers spread around) 
- and I hated all the waiting while databases and mail servers spun up, 
one after another. (This was before virtualization become common - and 
single servers often served many purposes. Today, we are more concerned 
about how much time it takes to start a 100.000 VM's than the boot-time 
for each instance).


What I don't like about systemd, is that it insists on doing things I 
don't want it to do. I don't want /it/ to control the network or udev, 
or anything but the initialization of the system. I like the simplicity 
of UNIX. In the long run, I don't think that I want systemd on my 
personal machines, or machines I am responsible for.


So allowing alternatives now, makes sense. It's a good thing.

Jarle


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

Archive: https://lists.debian.org/54610d2e.60...@jgaa.com



Re: Error setting raw device

2005-06-05 Thread Jarle Aase
ons, 27,.04.2005 kl. 11.51 +0200, skrev Eric Taverny:
 Hi Jarle,
 
 I have got the similar problem Error setting raw device on a Linux Redhat 
 AS 3.0 SMP x86_64 with kernel 2.4.21-27.0.4 EL
 with some Xeon cpus on HP Proliant DL 360 servers in a cluster envrinment 
 with HP MC Service Guard.
 
 Did you solve your problme ? If yes, how did you fix it ?

Hi, sorry for the late reply. I've been working on some projects and had
to leave the mailing-lists for a while.

The problem was solved when I upgraded to the amd64 port. It seems like
a 64-bit kernel and 32-bit userland simply do not work with raw devices.

Jarle

 Thanks,
 
 Ricky.
 
 * To: debian-user@lists.debian.org
 * Subject: Error setting raw device
 * From: Jarle Aase [EMAIL PROTECTED]
 * Date: Mon, 11 Apr 2005 09:45:49 +0200
 * Message-id: [EMAIL PROTECTED]
 * Old-return-path: [EMAIL PROTECTED]
 * Organization: Jgaa's Internet
 
 Hi list,
 
 I'm having a problem initializing raw devives with the latest Testing
 release of debian. After creating the raw devices in /dev/raw/, the
 raw command fails with an Error setting raw device (Invalid
 argument) error when I try to assign it to a physical disk partition.
 
 The machine is a dual Opteron 2 Ghz machine with the Debian
 2.6.8-10-amd64-k8-smp kernel. The scsi-disk is a 200G SATA disk.
 
 opteron:~# cd /dev/
 opteron:/dev# mkdir raw
 opteron:/dev# cd raw
 opteron:/dev/raw# mknod /dev/raw/raw1 c 162 1
 opteron:/dev/raw# raw raw1 /dev/sda1
 Error setting raw device (Invalid argument)
 
 opteron:/dev/raw# ls -l /dev/rawctl /dev/raw/raw1 /dev/sda1
 crw-rw  1 root root 162, 0 2005-04-11 17:06 /dev/rawctl
 crw-r--r--  1 root root 162, 1 2005-04-11 17:09 /dev/raw/raw1
 brw-rw  1 root disk   8, 1 2005-04-11 17:07 /dev/sda1
 
 opteron:/dev/raw# lspci
 :00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev
 07)
 :00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev
 05)
 :00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE
 (rev 03)
 :00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev
 02)
 :00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
 :00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X
 Bridge (rev 12)
 :00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X APIC (rev
 01)
 :00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X
 Bridge (rev 12)
 :00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X APIC (rev
 01)
 :00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 :01:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB
 (rev 0b)
 :01:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB
 (rev 0b)
 :01:05.0 Unknown mass storage controller: Silicon Image, Inc.
 (formerly CMD Technology Inc) SiI 3114 [SATALink/SATARaid] Serial ATA
 Controller (rev 02)
 :01:07.0 VGA compatible controller: ATI Technologies Inc Rage XL
 (rev 27)
 :02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
 Gigabit Ethernet (rev 03)
 :02:02.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
 Gigabit Ethernet (rev 03)
 
 opteron:/dev/raw# cat /proc/version
 Linux version 2.6.8-10-amd64-k8-smp ([EMAIL PROTECTED]) (gcc versión 3.4.4
 20041218 (prerelease) (Debian 3.4.3-6)) #1 SMP Sun Jan 30 04:17:34 CET
 2005
 
 Jarle
-- 
Jarle Aase  email: [EMAIL PROTECTED]
Author of freeware. http://www.jgaa.com
news:alt.comp.jgaa

War FTP Daemon: http://www.warftp.org
War FTP Daemon FAQ: http://www.warftp.org/faq/warfaq.htm
Jgaa's PGP key: http://war.jgaa.com/pgp
NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
 no need to argue - just kill'em all! 


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