## networking – Wifi 6 Intel AX200 in Kernel 5.4 Not Working Properly, Intermittent

I am not highly computer literate.

I have an MSI MEG-Ace x570 Mobo with built in wifi, I also have a Ubit Wifi card. They are both AX200 Wifi 6 Intel cards and i have downloaded the firmware and updated my lib/firmware files under the direction of a plethora of suggestions.

I have read many posts here, here and here in regard to this problem as well as others that are similar, but ultimately this is working intermittently at best, and with no knowledge of what solved/caused the problem each time. By this I mean I can download and install drivers in the lib/firmware and reboot and it doesn’t work. Then do nothing and reboot again and it works, then open windows (which always sees the drivers) play games for 2 days, then reboot Linux and it doesn’t work. Then I reboot Ubuntu and it still doesnt work then two days later it works, then i reboot straight to Ubuntu and it doesnt work. Doesn’t work means I get the no wifi-adapter found. This is usually coupled with a ‘network UNCLAIMED’ message from:

``````lshw -C net
``````

So what I have done currently is plug in an ethernet cable, this seems fairly stable, however due to location of the desktop in question the ethernet connecton is from a laptop acting as a WiFi –> Ethernet router.

I would very much appreciate any troubleshooting assistance and then a clear understanding of what the steps are doing such that I can see what the problem is. It is curious to me that Windows just works, i.e. not a hardware problem. Also that the only success I have in seeing my built in MoBo Wifi is when the other WiFi card is plugged in, i.e. I either have two WiFi options or no options.

If the above doesn’t constitute a ‘proper’ question then my question is this.
‘Why is my Intel 6 AX200 WiFi adapter built in to MSI Meg-ACE x570 MoBo not working, unless I install a separate Ubit Intel 6 AX200 Wifi card, at which point both work intermittently?’

## kernel – failure reading sector sector 0x465aa00 from hd0

Currently in grub2 ( trying to solve a boot problem ) , coming from this post
https://unix.stackexchange.com/q/418401
However whenever I am tying to set the Linux kernel using this command
`linux (hd0,gpt1)/boot/vmlinuz-5.4.0.-37-generic`

I am getting

`error: failure reading sector 0x465aa00 from 'hd0'`

It cannot be a hard drive problem because i can clearly use `ls -la (hd0,gpt1)/` or any such `ls` commands and can see the contents ( i wouldn’t have known which vmlinuz to take without seeing the contents of boot )

So if anyone can help me on this it would be really appreciated .
Also there are no gdisk or fdisk commands so most of the other posts here are kind of not useful.

## amazon web services – AWS ubuntu image has no swap with kernel 5.x

Just built a new AMI recently, based on the latest 18.04. Did also an `apt upgrade` when provisioning it, in order to have the latest packages as well.

Problem is that this new AMI has no swapfile in it, checked via `swapon --show`. It uses 5.3.0-1030-aws kernel. Same image built 6 months ago with the same way (but no `apt upgrade` done on top of it) which uses 4.15.0-1052-aws, does have a swapfile as expected.

The swapfile can be created at provisioning time too, but I am just curious on why this has changed since December.

What am I missing?

## How to obtain unique Android information from the android kernel?

I want to obtian some unique informaiton, from example, the IMEI, Android ID, phone number, etc., from the android kernel programtically. So,
What kind of unique information can be obtained from the android kernel?
How to obtain the above information from the kernel prgoramtically?

Thank you very much!

## kernel – 20.04 crashes with error 000

My freshly installed Ubuntu 20.04 frequently crashes during normal activities. These are the last lines from `var/log/syslog` before the crash:

``````Jul  2 01:23:16 ubuntu1 kernel: (363076.166553) RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: (363076.166555) Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: (363076.166556) RSP: 0018:ffffb5d598a4faf0 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: (363076.166558) RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: (363076.166559) RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: (363076.166560) RBP: ffffb5d598a4fb28 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: (363076.166561) R10: 0000000000000033 R11: ffffb5d598a4fa50 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: (363076.166562) R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: (363076.166564) FS:  00007f98b6dd8700(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: (363076.166565) CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: (363076.166566) CR2: 00007f98bc80e9d0 CR3: 0000000ef8bfc000 CR4: 00000000003406e0
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Jul  2 01:26:44 lucy mtp-probe: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb2/2-2"
``````

At the time of crash any writing to file results in the line of `000...`.

## testing – Kernel tests: Url toString with language option

In a Kernel test I need to test the result of an url object per language. But the test doesn’t consider the language settings.

Example:

``````public function register(ContainerBuilder \$container) {
parent::register(\$container);

\$language = Language::\$defaultValues;
\$language('id') = 'de';
\$language('name') = 'German';
\$container->setParameter('language.default_values', \$language);
}

protected function setUp() {
parent::setUp();

ConfigurableLanguage::createFromLangcode('fr')->save();
ConfigurableLanguage::createFromLangcode('it')->save();
}

public function testUrls() {
\$languageManager = \$this->container->get('language_manager');
print_r(\$languageManager->getLanguages());

\$url = Url::fromRoute('<front>');
\$url->setOption('language', \$languageManager->getLanguage('fr'));
print_r(\$url->toString());
}
``````

Output:

``````Array
(
(de)
(fr)
(it)
)

# Output of toString()
/
``````

The output of toString should be `/fr` instead of `/`

I discovered that the `DrupallanguageHttpKernelPathProcessorLanguage` outbound processor is missing, when `UrlGenerator::processPath()` is called from the Kernel test. Therefore, I registered it in the Kernel test’s register method, but that doesn’t solve the problem.

## Compiling linux kernel from source with external module

So, actually I am using raspberry pi with OS version Stretch and kernel version 4.14.98-v7+.

I need to add kernel module for wifi module I use from this repo: https://github.com/LairdCP/Sterling-60-Release-Packages/releases

While on it, I check that it is supporting 4.19 kernel. I am thinking to download the linux source for 4.19 kernel from this : https://github.com/raspberrypi/linux

I have read that I can build my own kernel: https://www.raspberrypi.org/documentation/linux/kernel/building.md

Is there a way to compile the kernel source including the external module?

## kernel – Linux Deploy Ubuntu share folder

I wasn’t sure if I had to ask this question on a Linux Exchange or on the Android one, but since folder sharing is working fine on the Linux that are running on my computer, I thought that it is an Android side issue.
I am trying to share a folder between two Linux Deploy environments. I have tried to install `nfs-kernel-server` however I am having an error showing that the kernel does not support nfs. When I am using `uname -a` the kernel that Ubuntu prints is the Android’s one so I guess that the Android kernel does not support the nfs module.
I have, also, tried using Samba. The server side was set up successfully. When I am trying to mount the shared folder using `mount -t cifs //192.168.1.5/mirror /mirror`, I am facing a mount error `cifs filesystem not supported by the system`. After some googling I found out that using `modprobe cifs` could resolve the issue however the module cifs does not exist on the Android kernel. It seems that the issue in both cases the issue seems to be the Android kernel, is there any way to add `nfs` or `cifs` support to the Android kernel? If that’s not possible how could I share a folder between two Linux Deploy environments?

## Has anyone updated 20.04 with new kernel 5.4.0-39 yesterday resulting in nvidia driver problems?

Yesterday Ubuntu upgraded driver 5.4.0-37 to 5.4.0.39. Upon reboot lost the second monitor, mouse jerky, display sluggish. Downgraded to 5.4.0-37 and all issues resolved. The nvidia driver is 440. The graphics adapter is GeForce 1050 Ti. Updated my other machine with intel graphics with no issue.

Thanks,
Gerald

## random walks – Gaussian bounds for discrete (graph) Dirichlet heat kernel

Let $$Omega$$ be a finite, connected subset of $$mathbb{Z}^n$$, $$W_t$$ a standard random walk on $$mathbb{Z}^n$$ started at $$x$$, and $$T_Omega$$ the first time at which $$W_t$$ leaves $$Omega$$; consider
$$P^D_Omega(x,y;t) := mathbb{P}(W_t=y text{ and } T_Omega>t),$$
the discrete or graph heat kernel on $$Omega$$ with Dirichlet boundary conditions.

By analogy with some known results on infinite graphs and continuous regions with boundaries one would expect a bound of the form
$$P_Omega^D(x,y;t) le C_Omega frac{phi_Omega(x,t) phi_Omega(y,t) e^{-lambda_Omega t}}{t^{n/2}} e^{- c |x-y|^2/t},$$
with $$phi:mathbb{Z}^n times mathbb{N} to (0,1)$$ vanishing outside $$Omega$$ (also with some bounds near the boundary of $$Omega$$).

Is this known?