How Can I Update Kernel Offline?

90 views
Skip to first unread message

01101

unread,
May 27, 2016, 11:01:18 PM5/27/16
to qubes-users
Please someone help this has been killing me....

I need to update kernel and have no internet for the following reasons: 

1. I have intel wireless 8260 and based on findings (here), this is not supported until kernel 4.1.14, therefore I must update kernel to use wifi.

2. my laptop does not have ethernet port so I use a usb ethernet and assigning the usb controller to sys-net (netvm), although in doing so yields the following error:
"libxl: error: libxl_pci.c:1041:libxl__device_pci_reset: The kernel doesn't support reset from sysfs foor PCI device"


so must I update the kernel offline? If so, please tell me how as I have no clue how to do this in qubes netvm.

Thank you.

Andrew David Wong

unread,
May 28, 2016, 4:24:32 AM5/28/16
to 01101, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-05-27 20:01, 01101 wrote:
> Please someone help this has been killing me....
>
> I need to update kernel and have no internet for the following
> reasons:
>
> 1. I have intel wireless 8260 and based on findings (here
> <http://forums.fedoraforum.org/showpost.php?p=1757402&
> postcount=6>), this is not supported until kernel 4.1.14, therefore
> I must update kernel to use wifi.
>
> 2. my laptop does not have ethernet port so I use a usb ethernet
> and assigning the usb controller to sys-net (netvm), although in
> doing so yields the following error: "libxl: error:
> libxl_pci.c:1041:libxl__device_pci_reset: The kernel doesn't
> support reset from sysfs foor PCI device"
>

To work around this, you can use this command in dom0:

qvm-prefs -s sys-net pci_strictreset false

However, you should be aware of the security implications of doing this:

https://www.qubes-os.org/doc/user-faq/#i-assigned-a-pci-device-to-an-
appvm-then-unassigned-itshut-down-the-appvm-why-isnt-the-device-
available-in-dom0

https://www.qubes-os.org/doc/dom0-tools/qvm-prefs/

>
> so must I update the kernel offline? If so, please tell me how as I
> have no clue how to do this in qubes netvm.
>
> Thank you.
>


- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXSVWiAAoJENtN07w5UDAwn+EP/1diYhJRK4TSzCrG7n4xsVuW
TUw+vkdMtyKW65B/RXLtwR5TsIWsSJp8/R3ZJAZvimfh3k3QBctl8leMopg+VuH3
eSHOB39SV+7rkYyQVE9He3ca3EIHF4XKuyzoWQIZ8pMuF/iezBgAf+hMJZcQoNvu
k8Xs2VzPCPbuoaFB7wFxjnyjLSDs2fBHBIn/9Vnpa7D37joTG9jfEDzIcvJop/0+
yzY3W71UceBXm0A/c12l86FZ1p7ZVxBijpYTnfFnb278nf0Wu3H1OTDiX5T6cyEF
A8Yhpc9B3O6avbss2vQMMBjfTPg4Ta02aDWYRkmuC9ZuqnX5vZqUvhGHM7Xd8JqW
h5CTYGuEtE0y2hLCsZc//RP+qlVrl5EBQdF9mrJwjvpG4gB+5Cr0R+25AwLLp5e+
I2DrtjD5nAFNxjU/mcS24aZSwOjcsxdyTnq0ZHQCeA1KgACJeRlCyWtBmNokuX9E
Fl7RMPcXfEkKd7qiILpq1us0QCDJr/CrQEuDnNb1hNs/DC6tHc/ZNsDcFXMqO5Il
rGGP2AKKPc6fQzBgKXboGK4zyPY/89gT3bLVpxJsH9DPZs8FeFNmuv6YL6kQuSoX
HCWcPLUn0F5FIAhUVAqsFlHcDx8lUaI/I+3B3ORDKLM4eaBvoVOT5/1H/imDhS/p
8bOCRTeWRPdmxJmbQpVn
=S4sA
-----END PGP SIGNATURE-----

01101

unread,
May 28, 2016, 1:29:37 PM5/28/16
to qubes-users, entrepre...@gmail.com
Thanks Andrew. I tried the command before assigning usb controller but receive the same error. Checking dmesg, I receive the following: "Driver tried to write to a read-only config space...see permissive attribute in sysfs..etc"

01101

unread,
May 28, 2016, 2:09:10 PM5/28/16
to qubes-users, entrepre...@gmail.com
I added the USB controller to the permissive file, was able to assign the controller afterward, restarted sys-net and it is attached but there is still no connection


On Saturday, May 28, 2016 at 1:24:32 AM UTC-7, Andrew David Wong wrote:

01101

unread,
May 28, 2016, 2:21:13 PM5/28/16
to qubes-users, entrepre...@gmail.com
my dam ethernet usb is shit, apparently this is also not working in and of itsef (tested on other comp). Will look into potentially buying a new one and report back


On Saturday, May 28, 2016 at 1:24:32 AM UTC-7, Andrew David Wong wrote:

01101

unread,
May 28, 2016, 6:09:54 PM5/28/16
to qubes-users, entrepre...@gmail.com
fixed, used tethered connection via phone
Reply all
Reply to author
Forward
0 new messages