Re: [qubes-users] Re: Duplicate MAC address error

2018-01-05 Thread cooloutac
On Tuesday, January 2, 2018 at 5:36:33 PM UTC-5, Unman wrote:
> On Tue, Jan 02, 2018 at 02:59:55PM -0500, Ralph Douglass wrote:
> > On Tue, Jan 2, 2018 at 2:06 PM, cooloutac  wrote:
> > 
> > > On Sunday, December 31, 2017 at 10:13:49 AM UTC-5,
> > > qubes-us...@ralphdouglass.com wrote:
> > > > On Tuesday, December 26, 2017 at 10:30:45 AM UTC-5, Kushal Das wrote:
> > > > > On Tue, Dec 26, 2017 at 8:18 PM, cooloutac wrote:
> > > > > >
> > > > > > wonder if your system runs low on ram?  Could also try using system
> > > without iommu and see if it still happens.
> > > > > >
> > > > > I have 32GB here on a T470. I hope that is okay :)
> > > > >
> > > > > Kushal
> > > > > --
> > > > > Staff, Freedom of the Press Foundation
> > > > > CPython Core Developer
> > > > > Director, Python Software Foundation
> > > > > https://kushaldas.in
> > > >
> > > > I can recreate this error message consistently while running the latest
> > > R4 rc3.
> > > >
> > > > Inside of sys-net, just shut down the vm from the inside (e.g. sudo
> > > reboot)
> > > >
> > > > Afterwards sys-net fails to start:
> > > >
> > > > $ qvm-start sys-net
> > > > Start failed: invalid argument: network device with mac
> > > XX:XX:XX:XX:XX:XX already exists
> > > >
> > > > To get back in a good state without rebooting the entire machine, I have
> > > to shut down (or kill) all dependent vms (AppVMs talking to my firewall-vm
> > > and my firewall vm).  Then I can start sys-net again, followed by my
> > > firewall vm, followed by my regular app vms.
> > > >
> > > > I've managed to trigger this on two Lenovo laptops and one Dell laptop
> > > so far, all of which are running R4rc3.
> > > >
> > > > I'm pretty new to QubesOS and haven't figured out how to dig through the
> > > innards well enough yet to find anything useful.
> > >
> > > afaik, You can't shut down sys-net if other vms using it are running.
> > >
> > 
> > Correct.  You need to shut down or kill all dependent vms (as mentioned in
> > my email already).  It's still better than rebooting one's entire machine,
> > but obviously not ideal.
> > 
> The point is that you shouldn't be bringing down a qube when it has other
> qubes using it as a netvm.
> Sometimes (and I stress sometimes) you can recover from this by
> changing the netvm of child qubes , restarting sys-net and then
> reattaching the children.
> 
> If you have sys-firewall, then changing netvms of children to
> something else, killing sys-firewall, restarting sys-net, restarting
> sys-firewall and then reattaching children will work.
> Somewhat better than shutting down all dependent qubes.
> 
> unman

Yes if you have some programs and data open to continue working on them.

Otherwise if rather just shutting down the vms,   There is a script someone 
made in the community to shut down all vms with one command.  Its on forums 
somewhere.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/abf37fa3-8dc2-4037-b2f6-970c4a42916c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2018-01-02 Thread Unman
On Tue, Jan 02, 2018 at 02:59:55PM -0500, Ralph Douglass wrote:
> On Tue, Jan 2, 2018 at 2:06 PM, cooloutac  wrote:
> 
> > On Sunday, December 31, 2017 at 10:13:49 AM UTC-5,
> > qubes-us...@ralphdouglass.com wrote:
> > > On Tuesday, December 26, 2017 at 10:30:45 AM UTC-5, Kushal Das wrote:
> > > > On Tue, Dec 26, 2017 at 8:18 PM, cooloutac wrote:
> > > > >
> > > > > wonder if your system runs low on ram?  Could also try using system
> > without iommu and see if it still happens.
> > > > >
> > > > I have 32GB here on a T470. I hope that is okay :)
> > > >
> > > > Kushal
> > > > --
> > > > Staff, Freedom of the Press Foundation
> > > > CPython Core Developer
> > > > Director, Python Software Foundation
> > > > https://kushaldas.in
> > >
> > > I can recreate this error message consistently while running the latest
> > R4 rc3.
> > >
> > > Inside of sys-net, just shut down the vm from the inside (e.g. sudo
> > reboot)
> > >
> > > Afterwards sys-net fails to start:
> > >
> > > $ qvm-start sys-net
> > > Start failed: invalid argument: network device with mac
> > XX:XX:XX:XX:XX:XX already exists
> > >
> > > To get back in a good state without rebooting the entire machine, I have
> > to shut down (or kill) all dependent vms (AppVMs talking to my firewall-vm
> > and my firewall vm).  Then I can start sys-net again, followed by my
> > firewall vm, followed by my regular app vms.
> > >
> > > I've managed to trigger this on two Lenovo laptops and one Dell laptop
> > so far, all of which are running R4rc3.
> > >
> > > I'm pretty new to QubesOS and haven't figured out how to dig through the
> > innards well enough yet to find anything useful.
> >
> > afaik, You can't shut down sys-net if other vms using it are running.
> >
> 
> Correct.  You need to shut down or kill all dependent vms (as mentioned in
> my email already).  It's still better than rebooting one's entire machine,
> but obviously not ideal.
> 
The point is that you shouldn't be bringing down a qube when it has other
qubes using it as a netvm.
Sometimes (and I stress sometimes) you can recover from this by
changing the netvm of child qubes , restarting sys-net and then
reattaching the children.

If you have sys-firewall, then changing netvms of children to
something else, killing sys-firewall, restarting sys-net, restarting
sys-firewall and then reattaching children will work.
Somewhat better than shutting down all dependent qubes.

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20180102223630.ogg5hpluhkmekxnb%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2018-01-02 Thread Ralph Douglass
On Tue, Jan 2, 2018 at 2:06 PM, cooloutac  wrote:

> On Sunday, December 31, 2017 at 10:13:49 AM UTC-5,
> qubes-us...@ralphdouglass.com wrote:
> > On Tuesday, December 26, 2017 at 10:30:45 AM UTC-5, Kushal Das wrote:
> > > On Tue, Dec 26, 2017 at 8:18 PM, cooloutac wrote:
> > > >
> > > > wonder if your system runs low on ram?  Could also try using system
> without iommu and see if it still happens.
> > > >
> > > I have 32GB here on a T470. I hope that is okay :)
> > >
> > > Kushal
> > > --
> > > Staff, Freedom of the Press Foundation
> > > CPython Core Developer
> > > Director, Python Software Foundation
> > > https://kushaldas.in
> >
> > I can recreate this error message consistently while running the latest
> R4 rc3.
> >
> > Inside of sys-net, just shut down the vm from the inside (e.g. sudo
> reboot)
> >
> > Afterwards sys-net fails to start:
> >
> > $ qvm-start sys-net
> > Start failed: invalid argument: network device with mac
> XX:XX:XX:XX:XX:XX already exists
> >
> > To get back in a good state without rebooting the entire machine, I have
> to shut down (or kill) all dependent vms (AppVMs talking to my firewall-vm
> and my firewall vm).  Then I can start sys-net again, followed by my
> firewall vm, followed by my regular app vms.
> >
> > I've managed to trigger this on two Lenovo laptops and one Dell laptop
> so far, all of which are running R4rc3.
> >
> > I'm pretty new to QubesOS and haven't figured out how to dig through the
> innards well enough yet to find anything useful.
>
> afaik, You can't shut down sys-net if other vms using it are running.
>

Correct.  You need to shut down or kill all dependent vms (as mentioned in
my email already).  It's still better than rebooting one's entire machine,
but obviously not ideal.


>
> --
> You received this message because you are subscribed to the Google Groups
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to qubes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to qubes-users@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/qubes-users/5a152401-9275-4f68-af7a-a7903d5b5202%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CALByh%2BekS-CCxPYw298Y6yFfBmtEVgEg%3D9AknarvbSTvaYpc5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2018-01-02 Thread cooloutac
On Sunday, December 31, 2017 at 10:13:49 AM UTC-5, 
qubes-us...@ralphdouglass.com wrote:
> On Tuesday, December 26, 2017 at 10:30:45 AM UTC-5, Kushal Das wrote:
> > On Tue, Dec 26, 2017 at 8:18 PM, cooloutac wrote:
> > >
> > > wonder if your system runs low on ram?  Could also try using system 
> > > without iommu and see if it still happens.
> > >
> > I have 32GB here on a T470. I hope that is okay :)
> > 
> > Kushal
> > -- 
> > Staff, Freedom of the Press Foundation
> > CPython Core Developer
> > Director, Python Software Foundation
> > https://kushaldas.in
> 
> I can recreate this error message consistently while running the latest R4 
> rc3.
> 
> Inside of sys-net, just shut down the vm from the inside (e.g. sudo reboot)
> 
> Afterwards sys-net fails to start:
> 
> $ qvm-start sys-net
> Start failed: invalid argument: network device with mac XX:XX:XX:XX:XX:XX 
> already exists
> 
> To get back in a good state without rebooting the entire machine, I have to 
> shut down (or kill) all dependent vms (AppVMs talking to my firewall-vm and 
> my firewall vm).  Then I can start sys-net again, followed by my firewall vm, 
> followed by my regular app vms.
> 
> I've managed to trigger this on two Lenovo laptops and one Dell laptop so 
> far, all of which are running R4rc3.
> 
> I'm pretty new to QubesOS and haven't figured out how to dig through the 
> innards well enough yet to find anything useful.

afaik, You can't shut down sys-net if other vms using it are running.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5a152401-9275-4f68-af7a-a7903d5b5202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-31 Thread qubes-users-list
On Tuesday, December 26, 2017 at 10:30:45 AM UTC-5, Kushal Das wrote:
> On Tue, Dec 26, 2017 at 8:18 PM, cooloutac wrote:
> >
> > wonder if your system runs low on ram?  Could also try using system without 
> > iommu and see if it still happens.
> >
> I have 32GB here on a T470. I hope that is okay :)
> 
> Kushal
> -- 
> Staff, Freedom of the Press Foundation
> CPython Core Developer
> Director, Python Software Foundation
> https://kushaldas.in

I can recreate this error message consistently while running the latest R4 rc3.

Inside of sys-net, just shut down the vm from the inside (e.g. sudo reboot)

Afterwards sys-net fails to start:

$ qvm-start sys-net
Start failed: invalid argument: network device with mac XX:XX:XX:XX:XX:XX 
already exists

To get back in a good state without rebooting the entire machine, I have to 
shut down (or kill) all dependent vms (AppVMs talking to my firewall-vm and my 
firewall vm).  Then I can start sys-net again, followed by my firewall vm, 
followed by my regular app vms.

I've managed to trigger this on two Lenovo laptops and one Dell laptop so far, 
all of which are running R4rc3.

I'm pretty new to QubesOS and haven't figured out how to dig through the 
innards well enough yet to find anything useful.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/32111085-5195-4ff1-b85e-dabbae3c3a43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-26 Thread Kushal Das
On Tue, Dec 26, 2017 at 8:18 PM, cooloutac  wrote:
>
> wonder if your system runs low on ram?  Could also try using system without 
> iommu and see if it still happens.
>
I have 32GB here on a T470. I hope that is okay :)

Kushal
-- 
Staff, Freedom of the Press Foundation
CPython Core Developer
Director, Python Software Foundation
https://kushaldas.in

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAAzeMbxejFzUDSswmTA4mXGtKEuMztFV%3DayYVrZ3Okg_9e601A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-26 Thread cooloutac

wonder if your system runs low on ram?  Could also try using system without 
iommu and see if it still happens.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/69bbf1b5-c559-42d4-a8f6-e4f956d70c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-24 Thread Kushal Das
On Fri, Dec 22, 2017 at 4:18 PM, Holger Levsen  wrote:
> On Fri, Dec 22, 2017 at 02:34:41AM -0800, Reynir Björnsson wrote:
>> It may be a coincidence, but when it happened to me I got sys-net running by 
>> shutting down sys-whonix first. I've since disabled sys-whonix and haven't 
>> had the issue again, although I haven't been rebooting much since.
>
> I believe it's coincidence. I've had this several times, where I couldnt
> restart sys-net (after it crashed) and then after shutting down some
> random VMs I could start sys-net again...
>
On Friday sys-firewall showed the same error when I tried to restart
the vm. After that I tried to restart the system, and now it gets
stuck in the boot screen trying to start sys-firewall :(
Any tips on how to get out of this mess?


Kushal
-- 
Staff, Freedom of the Press Foundation
CPython Core Developer
Director, Python Software Foundation
https://kushaldas.in

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAAzeMbxhaMOMiFK3ZDcxi%3D4C9q3hfL%3DO-gN5KXvpgVQiy50ETw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-22 Thread Holger Levsen
On Fri, Dec 22, 2017 at 02:34:41AM -0800, Reynir Björnsson wrote:
> It may be a coincidence, but when it happened to me I got sys-net running by 
> shutting down sys-whonix first. I've since disabled sys-whonix and haven't 
> had the issue again, although I haven't been rebooting much since.

I believe it's coincidence. I've had this several times, where I couldnt
restart sys-net (after it crashed) and then after shutting down some
random VMs I could start sys-net again...

:/


-- 
cheers,
Holger

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20171222104859.gtm7uuw7dnzavu2a%40layer-acht.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-19 Thread cooloutac


boom,  was just aobut to suggest this.   its the beauty of qubes.  do it for 
any anomaly.  when in doubt delete it and recreate it in seconds.  its the most 
suspect vm of them all.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/638deced-d729-4e78-b9e5-177c41f1026a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-19 Thread cooloutac


boom,  was just aobut to suggest this.   its the beauty of qubes.  do it for 
any anomaly.  when in doubt delete it and recreate it in seconds.  its the most 
suspect vm of them all.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/58b5205b-4b16-4757-9fcf-7661185413a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: Duplicate MAC address error

2017-12-19 Thread Kushal Das
On Tue, Dec 19, 2017 at 8:29 PM, Roy Bernat  wrote:

> Its happen to me also .
>
> you should restart the computer and try again .
>
> if not copy the appvm .
I kept rebooting from last Thursday :) I finaly solved the issue by
recreating the vm. I wrote
a post about the same at [1]. I hope this will help someone in future.

[1] https://kushaldas.in/posts/duplicate-mac-address-error-in-qubes-vms.html

Kushal
-- 
Staff, Freedom of the Press Foundation
CPython Core Developer
Director, Python Software Foundation
https://kushaldas.in

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAAzeMbyRXDorTvMDZjmLJcXV%3DQQq-Oy8fPN%3D-cQ75ZwPH8pZ8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.