Netiquette Guidelines (was: Re: Access ZFS pool in debian 10 single user mode)

2020-09-03 Thread Charles Curley
On Thu, 3 Sep 2020 15:46:07 -0700
David Christensen  wrote:

> https://en.wikipedia.org/wiki/Posting_style
> 
> 
> This is a popular essay on the subject:
> 
> http://www.catb.org/~esr/faqs/smart-questions.html

You may also want to look at RFC 1855 "Netiquette Guidelines". ESR
recommends it. https://www.ietf.org/rfc/rfc1855.txt It's not just a good
idea, it's an RFC. :-)

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Can't log in after Stretch to Buster upgrade

2020-09-03 Thread Mike Kupfer
cgi...@surfnaked.ca wrote:

> I'll continue puttering for a few more days - maybe others will have
> some ideas.

So were there any errors or warnings in /var/log/Xorg.0.log?

I'd also check for error messages in $HOME/.xsession-errors.

regards,
mike



Re: Access ZFS pool in debian 10 single user mode

2020-09-03 Thread David Christensen

On Wed, 2 Sep 2020 at 22:06, Dan Ritter  wrote:


James Allsopp wrote:

Hi,
Just trying to move var to a zfs partition. Rebooted into recovery mode,
but could access the zfs pool. I tried to modprobe zfs, but still

nothing.

Is there something else I should be doing?



Does your recovery mode have the zfs kernel modules and zfsutil?

Without it, you'll never mount things.


On 2020-09-03 01:34, James Allsopp wrote:
> This is just debian grub recovery mode so on the same machine, so 
hopefully

> zfsutil will be there. Looked at this;
> zfs  4214784  9
> zunicode  335872  1 zfs
> zlua  172032  1 zfs
> zavl   16384  1 zfs
> icp   331776  1 zfs
> zcommon98304  2 zfs,icp
> znvpair90112  2 zfs,zcommon
> spl   122880  5 zfs,icp,znvpair,zcommon,zavl
>
> So if I just modprobe those from the column on the left, it should work?


[Top posted reply moved to bottom.]


I am unable to find a canonical Debian policy on the subject of posting 
style for Debian mailing lists:


https://www.debian.org/MailingLists/#codeofconduct

https://www.debian.org/code_of_conduct


Most readers of this list seem to prefer attributed, indented, trimmed, 
interleaved posting style, but this response is bottom posted:


https://en.wikipedia.org/wiki/Posting_style


This is a popular essay on the subject:

http://www.catb.org/~esr/faqs/smart-questions.html


[Back to the technical discussion.]


I appears that Debian single-user mode does not load the kernel modules 
you need.  I assume this is by design, so that you can boot the system 
when you have a bad module.



Loading modules by hand in single user mode might work, but there is the 
chicken-and-egg question starting with "can you boot into single user 
mode without a /var filesystem?".



I find it is very useful to have a complete Debian installation on a USB 
flash drive with all the software I need to do system administration on 
Debian machines.  Using such, I could easily move /var to ZFS.  But, I 
don't know if the target system would work correctly.



If I wanted /var on ZFS on a Debian system, I would "go the whole way" 
and STFW for a guide on building a Debian system with ZFS-on-root.  Or, 
I would look for a Linux distribution (Ubuntu?) that can do ZFS-on-root 
OOTB.  But, the best answer I have found for ZFS is FreeBSD.



David



Re: Journal

2020-09-03 Thread David Christensen

On 2020-09-03 03:50, Joe wrote:

I've finally decided I have to keep a diary.

In Debian are RoboJournal and Lifeograph.

Neither of them actually function, at least in sid. Does anyone have any
other ideas, apart from phpMyAdmin or Mysql Workbench?


Understand that, depending upon jurisdiction, you can be required to 
disclose diaries, journals, calendars, etc., if you are ever involved in 
litigation.



David



Re: Slow SSH over WLAN? How to check?

2020-09-03 Thread David Christensen

On 2020-09-03 06:48, riveravaldez wrote:

Hi,

I'm under the impression that one of my LAN-SSH connections is working
poorly. When I SSH from a wired desktop machine (generic) to a
Wi-Fi-ed notebook (ThinkPadX220) things take irregular and seemingly
excessive amounts of time to happen (you type and the text appears a
moment later, etc.). This is just a
desktop→cable→router→Wi-Fi→notebook (W)LAN scheme.
Issue appears also logging from notebook to desktop.

Also I've been having some apparent poor performance in simple
web-navigation with that notebook (always through Wi-Fi), so, I'm
suspecting: maybe some issue with the firmware-iwlwifi?

$ lspci | grep "Network controller"
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205
[Taylor Peak] (rev 34)

Both machines run Debian testing (updated).

What could I do to check/test the health/performance of the connection
in order to diagnose if there's effectively a problem?

Thanks a lot!



I assume your access point has utilities to determine what channel(s) 
are in use and to survey the radio environment to see how much traffic 
is on each channel.  Run it.  If your access point has the ability to 
dynamically choose a channel with less traffic, enable that feature.  If 
your access point does not, set the channel(s) to those with less 
traffic.  Also, check if the radio(s) have power settings -- it may be 
possible to increase the transmitter power.



How far is your laptop from the access point?  Is there a clear line of 
sight, or are there walls, ceilings, floors, or other objects in 
between; especially objects made of conductive materials and/or 
containing electric circuits?  The ideal situation is to have clear 
line-of-sight between your device and the access point.  In an indoor 
home environment, this is most readily accomplished by mounting an 
access point on the ceiling near the center of every room where Wi-Fi is 
used.  If you use Wi-Fi outdoors, mount an access point to the house 
wall facing the area.  You will want access points that are designed to 
work together.



David



Re: Journal

2020-09-03 Thread rhkramer
Oh, I should have mentioned that the general design goal was / is to build a 
combination of askSam and ZyIndex (old dos / Window programs) for LInux.

On Thursday, September 03, 2020 04:44:14 PM rhkra...@gmail.com wrote:
> On Thursday, September 03, 2020 06:50:36 AM Joe wrote:
> > I've finally decided I have to keep a diary.
> > 
> > In Debian are RoboJournal and Lifeograph.
> > 
> > Neither of them actually function, at least in sid. Does anyone have any
> > other ideas, apart from phpMyAdmin or Mysql Workbench?
> 
> I've seen the other responses, I just want to throw in my 20 mils:
> 
> I use (to oversimplify) almost plain text files with multiple records in
> each file.  Thus I can have a file named diary (or named something else)
> and just go to that file and start typing.  I can add the record separator
> (and a title / subject, date stamp, and any other meta data I want after
> (or before) I enter the text of the data.
> 
> In its current iteration (the 4th by one method of counting) it uses mbox
> files with mbox multiline mail headers as the record separator (and to
> store the meta data).
> 
> I can search and modify records in the plain text file, I can also read the
> files in an email client, and my intent is to index them (and and an
> indexed search (using recoll).  (ATM, I'm not actually using recoll, I set
> it up some time ago as a "proof of concept" but when I migrated to the
> next computer I didn't bring it along.
> 
> I currently mainly use kate as an editor, with syntax highlighting and
> folding to make it easier to read / access.
> 
> Although I'd like to release it some day, it is not yet in the state I'd
> like to have it in if / when released.
> 
> If anybody wants more details to try it out for themselves, or to work on
> it, let me know.
> 
> The current desire of my work is to migrate to a Scintilla based editor as
> that will give me a wider choice of possible editors, and deal with some
> bugs in the kate implementation (I'd call them kate bugs, but,
> conceivably, they'd say they fixed the bug (after something like 10 years)
> -- I made a half-hearted attempt to adjust my syntax highlighter after
> they claimed the bug was fixed, but it didn't seem to work -- I suspect
> they did something to undo the fix ;-)
> 
> I'd like to get the syntax highligher / folder for Scintilla written in
> C++, but C++ is a major stumbling block for me.  ;-)



Re: Journal

2020-09-03 Thread rhkramer
On Thursday, September 03, 2020 06:50:36 AM Joe wrote:
> I've finally decided I have to keep a diary.
> 
> In Debian are RoboJournal and Lifeograph.
> 
> Neither of them actually function, at least in sid. Does anyone have any
> other ideas, apart from phpMyAdmin or Mysql Workbench?

I've seen the other responses, I just want to throw in my 20 mils: 

I use (to oversimplify) almost plain text files with multiple records in each 
file.  Thus I can have a file named diary (or named something else) and just go 
to that file and start typing.  I can add the record separator (and a title / 
subject, date stamp, and any other meta data I want after (or before) I enter 
the text of the data.

In its current iteration (the 4th by one method of counting) it uses mbox files 
with mbox multiline mail headers as the record separator (and to store the 
meta data).

I can search and modify records in the plain text file, I can also read the 
files in an email client, and my intent is to index them (and and an indexed 
search (using recoll).  (ATM, I'm not actually using recoll, I set it up some 
time ago as a "proof of concept" but when I migrated to the next computer I 
didn't bring it along.

I currently mainly use kate as an editor, with syntax highlighting and folding 
to make it easier to read / access.

Although I'd like to release it some day, it is not yet in the state I'd like 
to have it in if / when released.

If anybody wants more details to try it out for themselves, or to work on it, 
let me know.

The current desire of my work is to migrate to a Scintilla based editor as 
that will give me a wider choice of possible editors, and deal with some bugs 
in the kate implementation (I'd call them kate bugs, but, conceivably, they'd 
say they fixed the bug (after something like 10 years) -- I made a half-hearted 
attempt to adjust my syntax highlighter after they claimed the bug was fixed, 
but it didn't seem to work -- I suspect they did something to undo the fix ;-)

I'd like to get the syntax highligher / folder for Scintilla written in C++, 
but C++ is a major stumbling block for me.  ;-)



Re: Journal

2020-09-03 Thread Bob McGowan

On 9/3/20 11:20 AM, Joe wrote:

On Thu, 3 Sep 2020 11:11:56 -0400
Dan Ritter  wrote:



Pelican is a static site generator. You write your content in
MarkDown or RST, and then Pelican compiles it into a website by
applying a theme and CSS styles.

Performance is high, because your webserver is only handing out
existing files. Security is high, because your webserver isn't
allowing any writes to anything.

My personal blog is at https://blog.randomstring.org

You can see many examples at http://pelicanthemes.com

Pelican is packaged for Debian. Although we are a few releases
behind mainline, the difference is all in new features, not
security.



Thanks for all the suggestions. I'm not looking for a CMS system, just
a diary. Either Robojournal (if it was maintained) or Lifeograph (if it
worked at all) would be fine.


I just installed Lifeograph, out of curiosity mostly.  It installed and 
runs, but does not have a modifiable window, is that what you mean by 
"not working"?


I maximized the window and there was then enough territory to actually 
see and read the stock "diaries".  Perhaps this is enough to help you? 
I have not yet tried to create my own diary, so there may be other 
issues I haven't hit yet.


If not, a clearer description of "if it worked at all" would be helpful.



For now, I'll go with phpMyAdmin, and throw together a frontend in PHP
when I have time and enthusiasm.



Bob



Re: Journal

2020-09-03 Thread Joe
On Thu, 3 Sep 2020 11:11:56 -0400
Dan Ritter  wrote:


> Pelican is a static site generator. You write your content in
> MarkDown or RST, and then Pelican compiles it into a website by
> applying a theme and CSS styles.
> 
> Performance is high, because your webserver is only handing out
> existing files. Security is high, because your webserver isn't
> allowing any writes to anything.
> 
> My personal blog is at https://blog.randomstring.org 
> 
> You can see many examples at http://pelicanthemes.com
> 
> Pelican is packaged for Debian. Although we are a few releases
> behind mainline, the difference is all in new features, not 
> security.
> 

Thanks for all the suggestions. I'm not looking for a CMS system, just
a diary. Either Robojournal (if it was maintained) or Lifeograph (if it
worked at all) would be fine.

For now, I'll go with phpMyAdmin, and throw together a frontend in PHP
when I have time and enthusiasm.

-- 
Joe



Re: Journal

2020-09-03 Thread deloptes
Dan Ritter wrote:

> If you want to publish a blog, I recommend Pelican. If you don't
> want to publish anything, I recommend using your text editor of
> choice in a directory structure, with one file per day or week
> or month depending on your desire.

Most people did not know that there is a feature in the ical that was
implemented in KDE3 already. So when I open Kontact and go to Journal, I
can write my memories down. I don't know how it looks like in KDE >= 4 or
in Evolution





Re: Slow SSH over WLAN? How to check?

2020-09-03 Thread John Conover


Might try variants of:

ssh -v -v -v theu...@thedomain.tld

to see what ssh/sshd are doing.

John

Bob Weber writes:
> On 9/3/20 9:48 AM, riveravaldez wrote:
> > Hi,
> >
> > I'm under the impression that one of my LAN-SSH connections is working
> > poorly. When I SSH from a wired desktop machine (generic) to a
> > Wi-Fi-ed notebook (ThinkPadX220) things take irregular and seemingly
> > excessive amounts of time to happen (you type and the text appears a
> > moment later, etc.). This is just a
> > desktop→cable→router→Wi-Fi→notebook (W)LAN scheme.
> > Issue appears also logging from notebook to desktop.
> >
> > Also I've been having some apparent poor performance in simple
> > web-navigation with that notebook (always through Wi-Fi), so, I'm
> > suspecting: maybe some issue with the firmware-iwlwifi?
> >
> > $ lspci | grep "Network controller"
> > 03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205
> > [Taylor Peak] (rev 34)
> >
> > Both machines run Debian testing (updated).
> >
> > What could I do to check/test the health/performance of the connection
> > in order to diagnose if there's effectively a problem?
> >
> > Thanks a lot!
> >
> Try iperf3.  Install on both machines and start one as a server and one as a 
> client to see the network speed. Run with the -R option to see the reverse 
> speed.  Make sure there is no firewall on the server machine or open the 
> port 5201.
> 
> 
> -- 
> 
> 
> *...Bob*
> 
>   
> 
>   
>   
> On 9/3/20 9:48 AM, riveravaldez wrote:
> 
>  cite="mid:cad8u+g_gzwdw7tufmaxkpeybsv9cw1gp5vjmcx6n_bnfpm+...@mail.gmail.com">
>   Hi,
> 
> I'm under the impression that one of my LAN-SSH connections is working
> poorly. When I SSH from a wired desktop machine (generic) to a
> Wi-Fi-ed notebook (ThinkPadX220) things take irregular and seemingly
> excessive amounts of time to happen (you type and the text appears a
> moment later, etc.). This is just a
> desktop→cable→router→Wi-Fi→notebook (W)LAN scheme.
> Issue appears also logging from notebook to desktop.
> 
> Also I've been having some apparent poor performance in simple
> web-navigation with that notebook (always through Wi-Fi), so, I'm
> suspecting: maybe some issue with the firmware-iwlwifi?
> 
> $ lspci | grep "Network controller"
> 03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205
> [Taylor Peak] (rev 34)
> 
> Both machines run Debian testing (updated).
> 
> What could I do to check/test the health/performance of the connection
> in order to diagnose if there's effectively a problem?
> 
> Thanks a lot!
> 
> 
> 
> Try iperf3.  Install on both machines and start
> one as a server and one as a client to see the network speed. 
> Run with the -R option to see the reverse speed.  Make sure
> there is no firewall on the server machine or open the port
> 5201.
> 
> 
> -- 
>   
>   
>   ...Bob
> 
>   
> 

-- 

John Conover, cono...@rahul.net, http://www.johncon.com/



Re: Slow SSH over WLAN? How to check?

2020-09-03 Thread Bob Weber

On 9/3/20 9:48 AM, riveravaldez wrote:

Hi,

I'm under the impression that one of my LAN-SSH connections is working
poorly. When I SSH from a wired desktop machine (generic) to a
Wi-Fi-ed notebook (ThinkPadX220) things take irregular and seemingly
excessive amounts of time to happen (you type and the text appears a
moment later, etc.). This is just a
desktop→cable→router→Wi-Fi→notebook (W)LAN scheme.
Issue appears also logging from notebook to desktop.

Also I've been having some apparent poor performance in simple
web-navigation with that notebook (always through Wi-Fi), so, I'm
suspecting: maybe some issue with the firmware-iwlwifi?

$ lspci | grep "Network controller"
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205
[Taylor Peak] (rev 34)

Both machines run Debian testing (updated).

What could I do to check/test the health/performance of the connection
in order to diagnose if there's effectively a problem?

Thanks a lot!

Try iperf3.  Install on both machines and start one as a server and one as a 
client to see the network speed. Run with the -R option to see the reverse 
speed.  Make sure there is no firewall on the server machine or open the port 5201.



--


*...Bob*


Re: Quel serveur DNS choisir pour recevoir des mises à jour DynDNS locales ?

2020-09-03 Thread Stephane Bortzmeyer
On Mon, Aug 31, 2020 at 10:01:58AM +0200,
 Olivier  wrote 
 a message of 40 lines which said:

> Est-il possible d'utiliser cela avec un autre serveur DNS que Bind9 ? Si
> oui, lesquels ?

Il faut un serveur faisant autorité qui accepte les mises à jour
dynamiques (dynamic updates). Je n'ai jamais essayé mais je crois que
ça marche avec Knot ou avec PowerDNS.



Re: virt-install returns error

2020-09-03 Thread Kenneth Parker
On Thu, Sep 3, 2020, 11:35 AM Charles Zeitler  wrote:

> On Thu, Sep 3, 2020 at 1:47 AM john doe  wrote:
> >
> > On 9/3/2020 4:53 AM, Charles Zeitler wrote:
> > > On Tue, Sep 1, 2020 at 11:16 PM Kenneth Parker 
> wrote:
> > >>
> > >>
> > >>
> > >> On Tue, Sep 1, 2020 at 10:58 PM Charles Zeitler 
> wrote:
> > >>>
> > >>> i get:
> > >>>
> > >>> debian@debian:~$ su -c 'virt-install --name test --cdrom
> > >>> /home/debian/mnt/sdi/Downloads/0_distros/windows/Win10* --memory 4000
> > >>> --disk size=5 --cpu=host'
> > >>> Password:
> > >>>
> > >>> Starting install...
> > >>> Allocating 'test.qcow2'
> > >>>   | 5.0 GB  00:00:00
> > >>> ERRORinternal error: process exited while connecting to monitor:
> > >>> nput0,bus=usb.0,port=1 -spice
> > >>>
> port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
> > >>> -device
> qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
> > >>> -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
> > >>> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
> > >>> spicevmc,id=charredir0,name=usbredir -device
> > >>> usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev
> > >>> spicevmc,id=charredir1,name=usbredir -device
> > >>> usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device
> > >>> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
> > >>> ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
> > >>> failed to initialize KVM: Device or resource busy
> > >>> Removing disk 'test.qcow2'
> > >>>
> > >>> also from dmesg:
> > >>>
> > >>>
> > >>>
> > >>> [27901.188584] kvm: enabling virtualization on CPU1 failed
> > >>> [27901.188589] kvm: enabling virtualization on CPU2 failed
> > >>> [27901.188601] kvm: enabling virtualization on CPU0 failed
> > >>> [27901.501308] audit: type=1400 audit(1599004754.100:55):
> > >>> apparmor="STATUS" operation="profile_load" profile="unconfined"
> > >>> name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11035
> > >>> comm="apparmor_parser"
> > >>> [27901.570108] virbr0: port 2(vnet0) entered blocking state
> > >>> [27901.570114] virbr0: port 2(vnet0) entered disabled state
> > >>> [27901.570271] device vnet0 entered promiscuous mode
> > >>> [27901.590262] virbr0: port 2(vnet0) entered blocking state
> > >>> [27901.590268] virbr0: port 2(vnet0) entered listening state
> > >>> [27901.844514] audit: type=1400 audit(1599004754.448:56):
> > >>> apparmor="STATUS" operation="profile_replace" info="same as current
> > >>> profile, skipping" profile="unconfined"
> > >>> name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11059
> > >>> comm="apparmor_parser"
> > >>> [27901.892175] audit: type=1400 audit(1599004754.496:57):
> > >>> apparmor="DENIED" operation="open"
> > >>> profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
> > >>> name="/sys/devices/system/node/" pid=9 comm="qemu-system-x86"
> > >>> requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
> > >>> [27901.892187] audit: type=1400 audit(1599004754.496:58):
> > >>> apparmor="DENIED" operation="open"
> > >>> profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
> > >>> name="/sys/devices/system/cpu/" pid=9 comm="qemu-system-x86"
> > >>> requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
> > >>> [27901.895201] kvm: enabling virtualization on CPU0 failed
> > >>> [27901.895205] kvm: enabling virtualization on CPU2 failed
> > >>> [27901.895212] kvm: enabling virtualization on CPU1 failed
> > >>> [27901.899325] virbr0: port 2(vnet0) entered disabled state
> > >>> [27901.904663] device vnet0 left promiscuous mode
> > >>> [27901.904666] virbr0: port 2(vnet0) entered disabled state
> > >>> [27902.165074] audit: type=1400 audit(1599004754.768:59):
> > >>> apparmor="STATUS" operation="profile_remove" profile="unconfined"
> > >>> name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11145
> > >>> comm="apparmor_parser"
> > >>
> > >>
> > >> Looks like your BIOS doesn't support Virtualization.
> > >>
> > >>> any hints/tips?
> > >>
> > >>
> > >> I had to enter my computer's BIOS and tell it that Virtualization is
> allowed.  (KVM requires Hardware Virtualization.  Qemu by itself doesn't,
> just in case you have a CPU that doesn't support this).
> > >>
> > >
> > > bios claims it's enabled
> > > cpu=amd phenom ii
> > >
> >
> > What does 'kvm-ok' (1) say?
>
> comand not found

"apt install cpu-checker".

Kenneth Parker


Re: virt-install returns error

2020-09-03 Thread john doe

On 9/3/2020 5:34 PM, Charles Zeitler wrote:

On Thu, Sep 3, 2020 at 1:47 AM john doe  wrote:


On 9/3/2020 4:53 AM, Charles Zeitler wrote:

On Tue, Sep 1, 2020 at 11:16 PM Kenneth Parker  wrote:




On Tue, Sep 1, 2020 at 10:58 PM Charles Zeitler  wrote:


i get:

debian@debian:~$ su -c 'virt-install --name test --cdrom
/home/debian/mnt/sdi/Downloads/0_distros/windows/Win10* --memory 4000
--disk size=5 --cpu=host'
Password:

Starting install...
Allocating 'test.qcow2'
   | 5.0 GB  00:00:00
ERRORinternal error: process exited while connecting to monitor:
nput0,bus=usb.0,port=1 -spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device 
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
failed to initialize KVM: Device or resource busy
Removing disk 'test.qcow2'

also from dmesg:



[27901.188584] kvm: enabling virtualization on CPU1 failed
[27901.188589] kvm: enabling virtualization on CPU2 failed
[27901.188601] kvm: enabling virtualization on CPU0 failed
[27901.501308] audit: type=1400 audit(1599004754.100:55):
apparmor="STATUS" operation="profile_load" profile="unconfined"
name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11035
comm="apparmor_parser"
[27901.570108] virbr0: port 2(vnet0) entered blocking state
[27901.570114] virbr0: port 2(vnet0) entered disabled state
[27901.570271] device vnet0 entered promiscuous mode
[27901.590262] virbr0: port 2(vnet0) entered blocking state
[27901.590268] virbr0: port 2(vnet0) entered listening state
[27901.844514] audit: type=1400 audit(1599004754.448:56):
apparmor="STATUS" operation="profile_replace" info="same as current
profile, skipping" profile="unconfined"
name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11059
comm="apparmor_parser"
[27901.892175] audit: type=1400 audit(1599004754.496:57):
apparmor="DENIED" operation="open"
profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
name="/sys/devices/system/node/" pid=9 comm="qemu-system-x86"
requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
[27901.892187] audit: type=1400 audit(1599004754.496:58):
apparmor="DENIED" operation="open"
profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
name="/sys/devices/system/cpu/" pid=9 comm="qemu-system-x86"
requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
[27901.895201] kvm: enabling virtualization on CPU0 failed
[27901.895205] kvm: enabling virtualization on CPU2 failed
[27901.895212] kvm: enabling virtualization on CPU1 failed
[27901.899325] virbr0: port 2(vnet0) entered disabled state
[27901.904663] device vnet0 left promiscuous mode
[27901.904666] virbr0: port 2(vnet0) entered disabled state
[27902.165074] audit: type=1400 audit(1599004754.768:59):
apparmor="STATUS" operation="profile_remove" profile="unconfined"
name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11145
comm="apparmor_parser"



Looks like your BIOS doesn't support Virtualization.


any hints/tips?



I had to enter my computer's BIOS and tell it that Virtualization is allowed.  
(KVM requires Hardware Virtualization.  Qemu by itself doesn't, just in case 
you have a CPU that doesn't support this).



bios claims it's enabled
cpu=amd phenom ii



What does 'kvm-ok' (1) say?


comand not found



The below cmd should do it:

$ apt-get install cpu-checker


Relooking at above, some hints:

Is the command working if you do it as root?

Is your regular user able to interact with Libvirt?

Any firewall filtering 127.0.0.0/8?

--
John Doe



Re: virt-install returns error

2020-09-03 Thread Charles Zeitler
On Thu, Sep 3, 2020 at 1:47 AM john doe  wrote:
>
> On 9/3/2020 4:53 AM, Charles Zeitler wrote:
> > On Tue, Sep 1, 2020 at 11:16 PM Kenneth Parker  wrote:
> >>
> >>
> >>
> >> On Tue, Sep 1, 2020 at 10:58 PM Charles Zeitler  
> >> wrote:
> >>>
> >>> i get:
> >>>
> >>> debian@debian:~$ su -c 'virt-install --name test --cdrom
> >>> /home/debian/mnt/sdi/Downloads/0_distros/windows/Win10* --memory 4000
> >>> --disk size=5 --cpu=host'
> >>> Password:
> >>>
> >>> Starting install...
> >>> Allocating 'test.qcow2'
> >>>   | 5.0 GB  00:00:00
> >>> ERRORinternal error: process exited while connecting to monitor:
> >>> nput0,bus=usb.0,port=1 -spice
> >>> port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
> >>> -device 
> >>> qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
> >>> -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
> >>> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
> >>> spicevmc,id=charredir0,name=usbredir -device
> >>> usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev
> >>> spicevmc,id=charredir1,name=usbredir -device
> >>> usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device
> >>> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
> >>> ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
> >>> failed to initialize KVM: Device or resource busy
> >>> Removing disk 'test.qcow2'
> >>>
> >>> also from dmesg:
> >>>
> >>>
> >>>
> >>> [27901.188584] kvm: enabling virtualization on CPU1 failed
> >>> [27901.188589] kvm: enabling virtualization on CPU2 failed
> >>> [27901.188601] kvm: enabling virtualization on CPU0 failed
> >>> [27901.501308] audit: type=1400 audit(1599004754.100:55):
> >>> apparmor="STATUS" operation="profile_load" profile="unconfined"
> >>> name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11035
> >>> comm="apparmor_parser"
> >>> [27901.570108] virbr0: port 2(vnet0) entered blocking state
> >>> [27901.570114] virbr0: port 2(vnet0) entered disabled state
> >>> [27901.570271] device vnet0 entered promiscuous mode
> >>> [27901.590262] virbr0: port 2(vnet0) entered blocking state
> >>> [27901.590268] virbr0: port 2(vnet0) entered listening state
> >>> [27901.844514] audit: type=1400 audit(1599004754.448:56):
> >>> apparmor="STATUS" operation="profile_replace" info="same as current
> >>> profile, skipping" profile="unconfined"
> >>> name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11059
> >>> comm="apparmor_parser"
> >>> [27901.892175] audit: type=1400 audit(1599004754.496:57):
> >>> apparmor="DENIED" operation="open"
> >>> profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
> >>> name="/sys/devices/system/node/" pid=9 comm="qemu-system-x86"
> >>> requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
> >>> [27901.892187] audit: type=1400 audit(1599004754.496:58):
> >>> apparmor="DENIED" operation="open"
> >>> profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
> >>> name="/sys/devices/system/cpu/" pid=9 comm="qemu-system-x86"
> >>> requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
> >>> [27901.895201] kvm: enabling virtualization on CPU0 failed
> >>> [27901.895205] kvm: enabling virtualization on CPU2 failed
> >>> [27901.895212] kvm: enabling virtualization on CPU1 failed
> >>> [27901.899325] virbr0: port 2(vnet0) entered disabled state
> >>> [27901.904663] device vnet0 left promiscuous mode
> >>> [27901.904666] virbr0: port 2(vnet0) entered disabled state
> >>> [27902.165074] audit: type=1400 audit(1599004754.768:59):
> >>> apparmor="STATUS" operation="profile_remove" profile="unconfined"
> >>> name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11145
> >>> comm="apparmor_parser"
> >>
> >>
> >> Looks like your BIOS doesn't support Virtualization.
> >>
> >>> any hints/tips?
> >>
> >>
> >> I had to enter my computer's BIOS and tell it that Virtualization is 
> >> allowed.  (KVM requires Hardware Virtualization.  Qemu by itself doesn't, 
> >> just in case you have a CPU that doesn't support this).
> >>
> >
> > bios claims it's enabled
> > cpu=amd phenom ii
> >
>
> What does 'kvm-ok' (1) say?

comand not found

>
>
> The Libvirt mailing list is also friendly.
>
> 1)
> https://help.ubuntu.com/community/KVM/Installation#Check_that_your_CPU_supports_hardware_virtualization
>
> --
> John Doe
>


-- 
 The Perfect Is The Enemy Of
 The Good Enough



Re: Journal

2020-09-03 Thread Dan Ritter
Francisco M Neto wrote: 
> On Thu, 2020-09-03 at 08:15 -0400, Dan Ritter wrote:
> > Joe wrote: 
> > > Neither of them actually function, at least in sid. Does anyone have any
> > > other ideas, apart from phpMyAdmin or Mysql Workbench?
> > 
> > If you want to publish a blog, I recommend Pelican. If you don't
> > want to publish anything, I recommend using your text editor of 
> > choice in a directory structure, with one file per day or week
> > or month depending on your desire.
> 
>   I never heard of Pelican. What's the difference between it and other
> solutions like Wordpress or Joomla?

Pelican is a static site generator. You write your content in
MarkDown or RST, and then Pelican compiles it into a website by
applying a theme and CSS styles.

Performance is high, because your webserver is only handing out
existing files. Security is high, because your webserver isn't
allowing any writes to anything.

My personal blog is at https://blog.randomstring.org 

You can see many examples at http://pelicanthemes.com

Pelican is packaged for Debian. Although we are a few releases
behind mainline, the difference is all in new features, not 
security.

-dsr-



Re: Best way to install not-last-version package (on Testing)?

2020-09-03 Thread riveravaldez
On 4/19/20, Andrei POPESCU  wrote:
> On Sb, 18 apr 20, 20:19:43, riveravaldez wrote:
>> Hi,
>>
>> I'm in the situation of trying to install 'reportbug' and
>> 'virt-manager' (but the question is in general, for any
>> package/situation) in Debian Testing and both have dependencies with
>> serious bugs which make the installation potentially problematic...
>>
>> In a case like this, which would be the best solution?
>
> It depends :)
>
> Is the bug relevant for you? Are there known (suitable) workarounds?
> What benefits does the newer package bring? Is the older package even
> compatible with your other packages (keyword: versioned depends)?
>
>> I thought on installing some near-previous version of both packages,
>> but, where can I find those? Is there a Debian Archive of some kind
>> for cases like this?
>
> As already mentioned, there is snapshot.debian.org, though the older
> package is not necessarily better, e.g. the bugs might be present in the
> older version as well (the version information in the BTS is not
> necessarily accurate), or the newer package might have fixed other, more
> important (for you) bugs.
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser

Thanks A LOT for this really instructive answers, Andrei.

In fact, at last, "Is the bug relevant for you?" was the pertinent
case. (The bugs resulted, after some research, no relevant for my
actual use.)

In the line of the mail-subject:

$ sudo gdebi package_name.deb

$ sudo apt install package_name.deb

Which would be the more appropriate/recommended way/method to install
a .deb file already downloaded?

Thanks again.



Re: Journal

2020-09-03 Thread Francisco M Neto
On Thu, 2020-09-03 at 08:15 -0400, Dan Ritter wrote:
> Joe wrote: 
> > Neither of them actually function, at least in sid. Does anyone have any
> > other ideas, apart from phpMyAdmin or Mysql Workbench?
> 
> If you want to publish a blog, I recommend Pelican. If you don't
> want to publish anything, I recommend using your text editor of 
> choice in a directory structure, with one file per day or week
> or month depending on your desire.

I never heard of Pelican. What's the difference between it and other
solutions like Wordpress or Joomla?

-- 
[]'s,

Francisco M Neto 
www.fmneto.com

3E58 1655 9A3D 5D78 9F90
CFF1 D30B 1694 D692 FBF0



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


Re: unable to login

2020-09-03 Thread Sven Joachim
On 2020-09-03 15:20 +0100, anthony gennard wrote:

> Greg Wooledge on 1st September very kindly gave me a detailed reply to my
> cry for help.
>
> I tried to follow his reply but I have lost all my memory following a
> stroke.
> So it took me some time to do so as I had to relearn the basic file
> commands. I got as far as the following:-
>
> " - bash: home/john: Is a directory
>   john@john-PC:/$ ls -ld home/john /home/john/.ICEauthority
>   dr-xr-xr-x 26 john john 4096 Aug 31 11:46 home/john
>   -rw---1 john john 9016 Aug 31 11:21 home/john/.ICEauthority "
>
> This takes me no further forward.
>
> What puzzles me is that the login worked at least 30 times without the
> error message and I cannot understand why it stopped.

Your home directory is not writable by you, so no new files can be created
there.  Run "chmod 755 /home/john" to fix that.

Cheers,
   Sven



unable to login

2020-09-03 Thread anthony gennard
Greg Wooledge on 1st September very kindly gave me a detailed reply to my
cry for help.

I tried to follow his reply but I have lost all my memory following a
stroke.
So it took me some time to do so as I had to relearn the basic file
commands. I got as far as the following:-

" - bash: home/john: Is a directory
  john@john-PC:/$ ls -ld home/john /home/john/.ICEauthority
  dr-xr-xr-x 26 john john 4096 Aug 31 11:46 home/john
  -rw---1 john john 9016 Aug 31 11:21 home/john/.ICEauthority "

This takes me no further forward.

What puzzles me is that the login worked at least 30 times without the
error message and I cannot understand why it stopped.





This takes me no further.


Re: Journal

2020-09-03 Thread Henning Follmann
On Thu, Sep 03, 2020 at 11:50:36AM +0100, Joe wrote:
> I've finally decided I have to keep a diary. 
> 
> In Debian are RoboJournal and Lifeograph.
> 
> Neither of them actually function, at least in sid. Does anyone have any
> other ideas, apart from phpMyAdmin or Mysql Workbench?
> 

I guess you want a blog.
Most simplistic: blosxom


-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Slow SSH over WLAN? How to check?

2020-09-03 Thread riveravaldez
Hi,

I'm under the impression that one of my LAN-SSH connections is working
poorly. When I SSH from a wired desktop machine (generic) to a
Wi-Fi-ed notebook (ThinkPadX220) things take irregular and seemingly
excessive amounts of time to happen (you type and the text appears a
moment later, etc.). This is just a
desktop→cable→router→Wi-Fi→notebook (W)LAN scheme.
Issue appears also logging from notebook to desktop.

Also I've been having some apparent poor performance in simple
web-navigation with that notebook (always through Wi-Fi), so, I'm
suspecting: maybe some issue with the firmware-iwlwifi?

$ lspci | grep "Network controller"
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205
[Taylor Peak] (rev 34)

Both machines run Debian testing (updated).

What could I do to check/test the health/performance of the connection
in order to diagnose if there's effectively a problem?

Thanks a lot!



Re: Journal

2020-09-03 Thread Matthew Graybosch
On Thu, 3 Sep 2020 11:50:36 +0100
Joe  wrote:

> I've finally decided I have to keep a diary. 
> 
> In Debian are RoboJournal and Lifeograph.
> 
> Neither of them actually function, at least in sid. Does anyone have
> any other ideas, apart from phpMyAdmin or Mysql Workbench?
> 

Crack open your favorite terminal and punch in the following commands.

mkdir -p ~/diary/`date +"%Y"` (once)
nano ~/diary/`date +"%Y"`/`date -I`.txt (daily)

The first command will create a "diary" directory in your home directory
and then create a subdirectory for the current year. The second command
will create a text file named for the current date in the current
year's directory and open it in a command-line text editor.

There's no need to install anything, it'll be compatible with any
software that can read plain text and when you want to search for
particular entries you can use grep.

-- 
Matthew Graybosch   https://matthewgraybosch.com
#include  gemini://starbreaker.org
gemini://tanelorn.city
"Out of order?! Even in the future nothing works."



Re: Journal

2020-09-03 Thread Humberto Freitas
Hey Joe,

Just take a look at Emacs . It can take 
care of everything you need. No kidding, everything or most of the things lol 
;).

With ORG mode , it’s just the perfect tool to keep a 
diary.

Sometimes it’s the only tool I need to get lots of stuff done, like my journal 
(with ORG mode), system administration, any SQL database (I usually use 
postgresql), email management, etc. All of it with just one tool. So good and 
it’s very old, it’s got already a lot of tests and until now it’s as solid as a 
software can be. Give it a try, you will not regret. I love it.

Sincerely, 

Humberto Freitas

Cell phone: +244 944 775 334
email: humberto.freitas...@gmail.com
Angola

> On Sep 3, 2020, at 11:50, Joe  wrote:
> 
> I've finally decided I have to keep a diary. 
> 
> In Debian are RoboJournal and Lifeograph.
> 
> Neither of them actually function, at least in sid. Does anyone have any
> other ideas, apart from phpMyAdmin or Mysql Workbench?
> 
> -- 
> Joe
> 



Re: Journal

2020-09-03 Thread Dan Ritter
Joe wrote: 
> I've finally decided I have to keep a diary. 
> 
> In Debian are RoboJournal and Lifeograph.
> 
> Neither of them actually function, at least in sid. Does anyone have any
> other ideas, apart from phpMyAdmin or Mysql Workbench?

If you want to publish a blog, I recommend Pelican. If you don't
want to publish anything, I recommend using your text editor of 
choice in a directory structure, with one file per day or week
or month depending on your desire.

-dsr-



Re: Systemd y el orden de apgado de servicios.

2020-09-03 Thread Camaleón
El 2020-09-03 a las 13:08 +0200, Ala de Dragón escribió:

> Hola amigos, tengo un servidor sin discos que arranca de una SAN por
> ISCSI un Debian 10.
> El otro dia lo necesite apagar y me encontre con un problema. el
> sistema intenta apagar la interfaz de red antes de desmontar las
> unidades de disco.
> Claro, esto hace que el systema se quede mas frito que una tortilla y
> el WacthDog se ponga a chillar pidiendo auxilio ;) reinicio y chekeo
> de disco al canto.
> 
> Alguien sabe si en systemd existe una forma de organizar el apagado
> para que lo ultimo que haga sea tumbar la interfaz de red?

No he tenido que pegarme con systemd... aún, pero yo empezaría por 
aquí para obtener lo que buscas (p. ej., especificar «Requires=network.target» 
en el servicio que se encargue del montaje/desmontaje de las unidades 
de disco remotas):

systemd: Unit dependencies and order
https://fedoramagazine.org/systemd-unit-dependencies-and-order/

Saludos,

-- 
Camaleón 



Systemd y el orden de apgado de servicios.

2020-09-03 Thread Ala de Dragón
Hola amigos, tengo un servidor sin discos que arranca de una SAN por
ISCSI un Debian 10.
El otro dia lo necesite apagar y me encontre con un problema. el
sistema intenta apagar la interfaz de red antes de desmontar las
unidades de disco.
Claro, esto hace que el systema se quede mas frito que una tortilla y
el WacthDog se ponga a chillar pidiendo auxilio ;) reinicio y chekeo
de disco al canto.

Alguien sabe si en systemd existe una forma de organizar el apagado
para que lo ultimo que haga sea tumbar la interfaz de red?

Saludos!
-- 
"El cielo es para los dragones
 lo que el agua es  para las ninfas"



Journal

2020-09-03 Thread Joe
I've finally decided I have to keep a diary. 

In Debian are RoboJournal and Lifeograph.

Neither of them actually function, at least in sid. Does anyone have any
other ideas, apart from phpMyAdmin or Mysql Workbench?

-- 
Joe



Re: passwords + bad memory - Was (Re: how to test disk for bad sector)

2020-09-03 Thread Brian
On Wed 02 Sep 2020 at 18:31:43 -0500, John Hasler wrote:

> While storage in a file fine for trivial passwords such as those for
> social sites storing important ones on the computer is a bad idea,
> encrypted or not.  So is copying and pasting them.

Storing passords on paper in the clear ok, but encrypted in a file
is not? I do not have any trivial passwords; all are important. Copy
and paste may be dispensed with.

-- 
Brian.



Re: Access ZFS pool in debian 10 single user mode

2020-09-03 Thread Alex Mestiashvili

may be you need to import zpool before?

try zpool import

Best,
Alex

On 9/3/20 10:34 AM, James Allsopp wrote:
This is just debian grub recovery mode so on the same machine, so 
hopefully zfsutil will be there. Looked at this;

zfs                  4214784  9
zunicode              335872  1 zfs
zlua                  172032  1 zfs
zavl                   16384  1 zfs
icp                   331776  1 zfs
zcommon                98304  2 zfs,icp
znvpair                90112  2 zfs,zcommon
spl                   122880  5 zfs,icp,znvpair,zcommon,zavl

So if I just modprobe those from the column on the left, it should work?

Thanks,
James

On Wed, 2 Sep 2020 at 22:06, Dan Ritter > wrote:


James Allsopp wrote:
 > Hi,
 > Just trying to move var to a zfs partition. Rebooted into
recovery mode,
 > but could access the zfs pool. I tried to modprobe zfs, but still
nothing.
 > Is there something else I should be doing?
 >

Does your recovery mode have the zfs kernel modules and zfsutil?

Without it, you'll never mount things.

-dsr-





Re: Access ZFS pool in debian 10 single user mode

2020-09-03 Thread James Allsopp
This is just debian grub recovery mode so on the same machine, so hopefully
zfsutil will be there. Looked at this;
zfs  4214784  9
zunicode  335872  1 zfs
zlua  172032  1 zfs
zavl   16384  1 zfs
icp   331776  1 zfs
zcommon98304  2 zfs,icp
znvpair90112  2 zfs,zcommon
spl   122880  5 zfs,icp,znvpair,zcommon,zavl

So if I just modprobe those from the column on the left, it should work?

Thanks,
James

On Wed, 2 Sep 2020 at 22:06, Dan Ritter  wrote:

> James Allsopp wrote:
> > Hi,
> > Just trying to move var to a zfs partition. Rebooted into recovery mode,
> > but could access the zfs pool. I tried to modprobe zfs, but still
> nothing.
> > Is there something else I should be doing?
> >
>
> Does your recovery mode have the zfs kernel modules and zfsutil?
>
> Without it, you'll never mount things.
>
> -dsr-
>


Re: Can't log in after Stretch to Buster upgrade

2020-09-03 Thread Andrei POPESCU
On Mi, 02 sep 20, 11:13:30, cgi...@surfnaked.ca wrote:
> 
> I found instructions on the web for upgrading Stretch to Buster,

Do you mean these?
https://www.debian.org/releases/buster/releasenotes

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: virt-install returns error

2020-09-03 Thread john doe

On 9/3/2020 4:53 AM, Charles Zeitler wrote:

On Tue, Sep 1, 2020 at 11:16 PM Kenneth Parker  wrote:




On Tue, Sep 1, 2020 at 10:58 PM Charles Zeitler  wrote:


i get:

debian@debian:~$ su -c 'virt-install --name test --cdrom
/home/debian/mnt/sdi/Downloads/0_distros/windows/Win10* --memory 4000
--disk size=5 --cpu=host'
Password:

Starting install...
Allocating 'test.qcow2'
  | 5.0 GB  00:00:00
ERRORinternal error: process exited while connecting to monitor:
nput0,bus=usb.0,port=1 -spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device 
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
failed to initialize KVM: Device or resource busy
Removing disk 'test.qcow2'

also from dmesg:



[27901.188584] kvm: enabling virtualization on CPU1 failed
[27901.188589] kvm: enabling virtualization on CPU2 failed
[27901.188601] kvm: enabling virtualization on CPU0 failed
[27901.501308] audit: type=1400 audit(1599004754.100:55):
apparmor="STATUS" operation="profile_load" profile="unconfined"
name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11035
comm="apparmor_parser"
[27901.570108] virbr0: port 2(vnet0) entered blocking state
[27901.570114] virbr0: port 2(vnet0) entered disabled state
[27901.570271] device vnet0 entered promiscuous mode
[27901.590262] virbr0: port 2(vnet0) entered blocking state
[27901.590268] virbr0: port 2(vnet0) entered listening state
[27901.844514] audit: type=1400 audit(1599004754.448:56):
apparmor="STATUS" operation="profile_replace" info="same as current
profile, skipping" profile="unconfined"
name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11059
comm="apparmor_parser"
[27901.892175] audit: type=1400 audit(1599004754.496:57):
apparmor="DENIED" operation="open"
profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
name="/sys/devices/system/node/" pid=9 comm="qemu-system-x86"
requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
[27901.892187] audit: type=1400 audit(1599004754.496:58):
apparmor="DENIED" operation="open"
profile="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae"
name="/sys/devices/system/cpu/" pid=9 comm="qemu-system-x86"
requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
[27901.895201] kvm: enabling virtualization on CPU0 failed
[27901.895205] kvm: enabling virtualization on CPU2 failed
[27901.895212] kvm: enabling virtualization on CPU1 failed
[27901.899325] virbr0: port 2(vnet0) entered disabled state
[27901.904663] device vnet0 left promiscuous mode
[27901.904666] virbr0: port 2(vnet0) entered disabled state
[27902.165074] audit: type=1400 audit(1599004754.768:59):
apparmor="STATUS" operation="profile_remove" profile="unconfined"
name="libvirt-845413b9-8775-499f-bfaa-bf583e4040ae" pid=11145
comm="apparmor_parser"



Looks like your BIOS doesn't support Virtualization.


any hints/tips?



I had to enter my computer's BIOS and tell it that Virtualization is allowed.  
(KVM requires Hardware Virtualization.  Qemu by itself doesn't, just in case 
you have a CPU that doesn't support this).



bios claims it's enabled
cpu=amd phenom ii



What does 'kvm-ok' (1) say?


The Libvirt mailing list is also friendly.

1)
https://help.ubuntu.com/community/KVM/Installation#Check_that_your_CPU_supports_hardware_virtualization

--
John Doe