You are not logged in.

#1 2018-12-16 19:59:46

el_angeliux
Member
Registered: 2018-12-16
Posts: 8

badram

Hi
I just wanted to know if the ArchLinux official kernel supports the badram characteristic that ubuntu and other distros support
Thanks in advance for your answers

Offline

#2 2018-12-16 20:12:34

loqs
Member
Registered: 2014-03-06
Posts: 18,932

Re: badram

https://git.archlinux.org/linux.git/com … 491207dae0 is the only patch the arch kernel is currently using on top of 4.19.9
have you looked at the memmap parameter from https://www.kernel.org/doc/Documentatio … meters.txt ?

Offline

#3 2018-12-16 20:32:28

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: badram

el_angeliux wrote:

Hi
I just wanted to know if the ArchLinux official kernel supports the badram characteristic that ubuntu and other distros support
Thanks in advance for your answers

We don't typically do "value-added" patches. If the patch is not submitted and accepted upstream (in which case we are cherry-picking a fix) there is ordinarily very little chance we'll add it.

In this case that definitely falls outside of what we will support. Fortunately, you don't need any patches, since memtest will emit the information in exactly the right format for the kernel's builtin methods to memmap what you want (or pass the map on from grub directly).

Last edited by eschwartz (2018-12-16 20:37:09)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2018-12-30 01:17:22

el_angeliux
Member
Registered: 2018-12-16
Posts: 8

Re: badram

loqs wrote:

https://git.archlinux.org/linux.git/com … 491207dae0 is the only patch the arch kernel is currently using on top of 4.19.9
have you looked at the memmap parameter from https://www.kernel.org/doc/Documentatio … meters.txt ?

Yes, i tried the memmap parameter. It worked with grub. After a google research i realized it is necessary add at least 3 backslashes (\\\) before the $ sign. For me it just worked putting the amounts of memory in M:

e.g.

5M\\\$75M

Thanks a lot for the hint

Offline

#5 2018-12-30 01:22:10

el_angeliux
Member
Registered: 2018-12-16
Posts: 8

Re: badram

eschwartz wrote:
el_angeliux wrote:

Hi
I just wanted to know if the ArchLinux official kernel supports the badram characteristic that ubuntu and other distros support
Thanks in advance for your answers

We don't typically do "value-added" patches. If the patch is not submitted and accepted upstream (in which case we are cherry-picking a fix) there is ordinarily very little chance we'll add it.

In this case that definitely falls outside of what we will support. Fortunately, you don't need any patches, since memtest will emit the information in exactly the right format for the kernel's builtin methods to memmap what you want (or pass the map on from grub directly).


After a google research i realized it is necessary add at least 3 backslashes (\\\) before the $ sign. For me it just worked putting the amounts of memory in M:

e.g.

5M\\\$75M

After that my system stopped freezing randomly.

Thanks a lot for the hint

Offline

Board footer

Powered by FluxBB