Giter VIP home page Giter VIP logo

linux's Introduction

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.

linux's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linux's Issues

In linux 5.10.83 , creating a macvlan causes the NI device to reboot.

In linux 5.10.83 , creating a macvlan causes the NI device to reboot.
Hardware: NI device x86 (run mode NI-PXIe-8861-03219D90)
Software: linux 5.10.83-rt58

The "macvlan" kernel module is loaded normally, but when the "ip link add link ens06 name ens06.01 type macvlan" command is executed, the device does not respond, does not output any commands, and the device reboots after 3 seconds.
The NI device can normally load the "macvlan" kernel module in linux 4.14.146-rt67 , and can use the "ip link add link ens06 name ens06.01 type macvlan" command to create a macvlan normally.

Can I be pointed in the right direction for getting Docker running on nilrt?

I have gone through all the steps to rebuild the kernel, make sure all the correct options that Docker requires are enabled, mounted the cgroups but when I try to start up Docker I get the following error:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: openat2 /sys/fs/cgroup/cpuset/docker/cpuset.cpus: no such file or directory: unknown. ERRO[0001] error waiting for container:

This is eerily similar to issues I've seen with running docker on Fedora when searching around. But all the solutions for this require setting systemd options such as systemd.unified_cgroup_hierarchy which doesn't exist on the Rio and can't be installed using opkg as far as I can tell (and may not even be supported on the rio anyways).

It looks like prefixes are missing on the files that docker expects and I haven't been able to figure out how to get those back. I don't know at what level this is handled when mounting, so I can't even begin to guess what I'd need to do to change it.
image

I know this is probably a bit out of scope of this repo, but I also assume others may want to go this direction for simulating rios. So anything that can be done to point me in the right direction would be helpful.

I am on branch 23.5/5.15

Update linux/scripts/package/buildnipkg script for 7AAE/Artemis/RoboRIO 2.0

This might just be me not knowing which branch to use but I couldn't find it anywhere with searching. There is definitely a different boot script (via buildnipkg) for the RoboRIO 2.0 compared to the RoboRIO 1.0 that includes a few lines for booting from the SD Card correctly:

if test \${DeviceCode} -eq 0x7AAE; then
  setenv set_args 'setenv bootargs \${consoleparam} root=/dev/mmcblk0p3 rw \${usb_gadget_args} rcu_nocbs=all rootdelay=1 \$othbootargs'
else
  setenv set_args 'setenv bootargs \${consoleparam} \$mtdparts ubi.mtd=boot-config ubi.mtd=root root=ubi1:rootfs rw rootfstype=ubifs \${usb_gadget_args} rcu_nocbs=all \$othbootargs'
fi

Using the existing script with 'make ni-pkg' results in a build that won't boot on the RoboRIO 2.0 because it can't find the root. At a minimum, the lines above seem to be missing from the file (along with some other bits). At the very least it differs from the file in the current image being provided.

I was able to extract the missing file and content from the image and inject the it into the buildnipkg script. This enabled a custom kernel to boot correctly using branch nilrt/master/4.14. I can submit a PR with all of those changes if that's desired but I didn't want to commit things that aren't meant to be public. It would be awesome to have a kernel build process that works for the RoboRIO 2.0.

ath driver crashes

Hi Austin,

I am running the Kernel from the nilrt/19.1/4.14 branch.
Configuration nati_zynq_defconfig, but with wifi drivers configured. The ath9k_htc to be specific.

The Device works, but crashes after a few hours (dmesg log with full ath9k_htc info)

Is that issue already addressed somewhere? Branch dev/ath/upstream or nilrt/20.x/4.14?

Thanks for any Hints

No rule to make 'ni-pkg'

Hi,
I want to build NI-Linux RT Kernel from source on NI-Linux RT 21.3
I did this steps :
git clone https://github.com/ni/linux.git
cd linux
git checkout nilrt/21.3/5.10
export ARCH=x86_64
sudo make nati_x86_64_defconfig
sudo make ni-pkg

every step in OK, but when I run "sudo make ni-pkg", I get this error:
UPD include/config/kernel.release
make[1]: *** No rule to make 'ni-pkg'. Stop.
make: *** [Makefile:1550: ni-pkg] Error 2

Thanks for any Hints

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.