~alpine/users

6 5

xen: wifi drivers in linux-virt

Marc Göldner <magol@posteo.de>
Details
Message ID
<1a132060-e2eb-e742-4314-81f5635b2768@posteo.de>
DKIM signature
missing
Download raw message
Hello,

I#m running a xen dom0 and domU on Alpine 3.11. The pci passthrough of 
the Intel wifi-device works fine. The device is assigned to the domU 
instance.

The problem is, that in the package linux-virt there are no wifi 
drivers, especially the iwlwifi module.

Is there a way or a package which provides the necessary drivers? Or did 
I miss something?

Regards
Marc
Paul Zillmann <p.zillmann@h6g.de>
Details
Message ID
<66e85fee-fab5-057e-dfc2-fbe1e67462ab@h6g.de>
In-Reply-To
<1a132060-e2eb-e742-4314-81f5635b2768@posteo.de> (view parent)
DKIM signature
missing
Download raw message
Hello Marc,

the module is not enabled in the virtual kernel's config. The linux-virt 
package is designed to run inside a virtual machine, which usually don't 
have a wireless NIC.
It is designed to be as slim as possible.

Try the linux-lts package and optional the linux-firmware-other package.

- Paul

Am 15.01.20 um 21:19 schrieb Marc Göldner:
> Hello,
>
> I#m running a xen dom0 and domU on Alpine 3.11. The pci passthrough of 
> the Intel wifi-device works fine. The device is assigned to the domU 
> instance.
>
> The problem is, that in the package linux-virt there are no wifi 
> drivers, especially the iwlwifi module.
>
> Is there a way or a package which provides the necessary drivers? Or 
> did I miss something?
>
> Regards
> Marc
Details
Message ID
<BZWOD3Q5WL6R.IY6H9V9CB46K@homura>
In-Reply-To
<66e85fee-fab5-057e-dfc2-fbe1e67462ab@h6g.de> (view parent)
DKIM signature
missing
Download raw message
Passing through all of the hardware from your host directly to the guest
negates the value of having a virt kernel in the first place, since at
that point the guest is hardly different from the host at all. You
should just use the stock lts kernel.
Marc Göldner <magol@posteo.de>
Details
Message ID
<25d43fbe-1c11-d3b5-49ff-4f91b9a596c3@posteo.de>
In-Reply-To
<66e85fee-fab5-057e-dfc2-fbe1e67462ab@h6g.de> (view parent)
DKIM signature
missing
Download raw message
Hello Paul,

I've tried installing the lts kernel. When I boot the domU from this
kernel I get a kernel panic. Do I have to add additional configuration
parameters?

In the grub "menu.lst" I just copied the entry of the virtual kernel and
adopted it for the lts.

As Drew stated

> since at
> that point the guest is hardly different from the host at all.

the purpose of this all is to put the access point with hostapd in a
confined area on the server, since it acts as a gateway, too. Same for 
dns, dhcp etc. But these service don't have special requirements.

Regards
Marc


Am 15.01.20 um 22:14 schrieb Paul Zillmann:
> Hello Marc,
> 
> the module is not enabled in the virtual kernel's config. The linux-virt 
> package is designed to run inside a virtual machine, which usually don't 
> have a wireless NIC.
> It is designed to be as slim as possible.
> 
> Try the linux-lts package and optional the linux-firmware-other package.
> 
> - Paul
> 
PICCORO McKAY Lenz <mckaygerhard@gmail.com>
Details
Message ID
<CALci+FSrNOtD40R1JhEoz1eCTKuJEDV8XTzLBge3i1W3F8W1qg@mail.gmail.com>
In-Reply-To
<25d43fbe-1c11-d3b5-49ff-4f91b9a596c3@posteo.de> (view parent)
DKIM signature
missing
Download raw message
El mié., 15 de ene. de 2020 a la(s) 17:40, Marc Göldner (magol@posteo.de)
escribió:

> I've tried installing the lts kernel. When I boot the domU from this
> kernel I get a kernel panic. Do I have to add additional configuration
> parameters?
>

I have to added that this problem are happened to me also. i solved by
modify the root disk parameter..  but i'm talkin about a real machine, in
the grub i specify the rootfs .. sda1


>
> In the grub "menu.lst" I just copied the entry of the virtual kernel and
> adopted it for the lts.
>
> As Drew stated
>
> > since at
> > that point the guest is hardly different from the host at all.
>
> the purpose of this all is to put the access point with hostapd in a
> confined area on the server, since it acts as a gateway, too. Same for
> dns, dhcp etc. But these service don't have special requirements.
>
> Regards
> Marc
>
>
> Am 15.01.20 um 22:14 schrieb Paul Zillmann:
> > Hello Marc,
> >
> > the module is not enabled in the virtual kernel's config. The linux-virt
> > package is designed to run inside a virtual machine, which usually don't
> > have a wireless NIC.
> > It is designed to be as slim as possible.
> >
> > Try the linux-lts package and optional the linux-firmware-other package.
> >
> > - Paul
> >
>
Paul Zillmann <p.zillmann@h6g.de>
Details
Message ID
<bf082c9b-148d-cbcd-40a8-668471e22b14@h6g.de>
In-Reply-To
<25d43fbe-1c11-d3b5-49ff-4f91b9a596c3@posteo.de> (view parent)
DKIM signature
missing
Download raw message
Hello Marc,

Am 15.01.20 um 22:40 schrieb Marc Göldner:
> Hello Paul,
>
> I've tried installing the lts kernel. When I boot the domU from this
> kernel I get a kernel panic. Do I have to add additional configuration
> parameters?
>

None that I am aware of. There could be multiple issues here, like the 
initramfs, /etc/mkinitfs/mkinitfs.conf or /etc/modules
Are you able to share with us the boot parameters for kernel and 
initramfs and also the context of the panic or any useful information 
from the serial console (if present)?

> In the grub "menu.lst" I just copied the entry of the virtual kernel and
> adopted it for the lts.
>
> As Drew stated
>
>> since at
>> that point the guest is hardly different from the host at all.
>
> the purpose of this all is to put the access point with hostapd in a
> confined area on the server, since it acts as a gateway, too. Same for 
> dns, dhcp etc. But these service don't have special requirements.
>
> Regards
> Marc
>
>
> Am 15.01.20 um 22:14 schrieb Paul Zillmann:
>> Hello Marc,
>>
>> the module is not enabled in the virtual kernel's config. The 
>> linux-virt package is designed to run inside a virtual machine, which 
>> usually don't have a wireless NIC.
>> It is designed to be as slim as possible.
>>
>> Try the linux-lts package and optional the linux-firmware-other package.
>>
>> - Paul
>>

- Paul
Details
Message ID
<20200116154546.335d4a2b@ncopa-desktop.copa.dup.pw>
In-Reply-To
<25d43fbe-1c11-d3b5-49ff-4f91b9a596c3@posteo.de> (view parent)
DKIM signature
missing
Download raw message
On Wed, 15 Jan 2020 22:40:01 +0100
Marc Göldner <magol@posteo.de> wrote:

> Hello Paul,
> 
> I've tried installing the lts kernel. When I boot the domU from this
> kernel I get a kernel panic. Do I have to add additional configuration
> parameters?
> 
> In the grub "menu.lst" I just copied the entry of the virtual kernel and
> adopted it for the lts.

Can you file a bug of that? With detailed steps how to reproduce. Also
mention that it works with linux-virt.

https://gitlab.alpinelinux.org/alpine/aports/issues

It is possible you need to include an initramfs if you don't already do
that. Might be the xen console driver or similar is missing.

Thanks!
Reply to thread Export thread (mbox)