Skip to content

Add Linux 4.9.68 #551

Closed
wants to merge 10 commits into from
Closed

Add Linux 4.9.68 #551

wants to merge 10 commits into from

Conversation

donald
Copy link
Collaborator

@donald donald commented Dec 15, 2017

No description provided.

@thomas
Copy link
Collaborator

thomas commented Dec 15, 2017

zfs-module build seems to work:

#modprobe zfs
#lsmod | grep -e zfs -e spl
zfs                  3284124  0
zunicode              320098  1 zfs
zavl                    5391  1 zfs
icp                   233425  1 zfs
zcommon                50829  1 zfs
znvpair                48703  2 zcommon,zfs
spl                    72456  4 znvpair,zcommon,zfs,icp
zlib_deflate           20220  1 spl


@donald
Copy link
Collaborator Author

donald commented Dec 15, 2017

Waiting for mariux64/mxtools/pull/17

@thomas
Copy link
Collaborator

thomas commented Dec 15, 2017

aacraid update driver successfully loaded on host madmoxxi, provided the blacklist entry in /etc/modprobe.d/adaptec-raid-controllers.conf is removed.

@donald
Copy link
Collaborator Author

donald commented Dec 15, 2017

Tested on sigchld

@donald
Copy link
Collaborator Author

donald commented Dec 15, 2017

@all: Please review. What do you think of putting the kernel config into the bee file?

@pmenzel
Copy link
Collaborator

pmenzel commented Dec 15, 2017

The script reduce-config.pl works for all Kconfig files? Maybe include that in the file name?

Including the Kconfig directory in the bee files is fine with me, as the Linux bee files itself are more or less identical making it easy to compare the configuration.

@thomas
Copy link
Collaborator

thomas commented Dec 15, 2017

I have no probs having the kernel config directly in the bee file

@donald
Copy link
Collaborator Author

donald commented Dec 15, 2017

All files? Directory? I don't understand the question. It takes a single file (e.g. the .config lying around after a "make menuconfig") and produces a single file. This output is embedded in the bee file. The problem is, that the process takes some time - even in /dev/shm and it is not that easy, for example, to add a new option at the right place.

You could do it like this:

  • run the bee file ( until it did the config - you can abort when it starts compiling the kernel)
  • go into the build directory ( like /scratch/local/bee-buczek/linux/linux-4.9.68-193/build )
  • save the minimalistic file, which is now in .config.old ('cp .config.old config.old')
  • do whatever you like with 'make menuconfig' to produce a changed .config
  • now reduce the new .config: cp .config config.in; $wherever/bee-files/scripts/reduce-config.pl
  • wait (perhaps 15 minutes!)
  • see what has changed (diff -y config.old config.reduced) and work that into the bee file.

Or you just add your wished option to the end of the embedded config in the bee file and leave the normalization to someone else ;-)

@pmenzel
Copy link
Collaborator

pmenzel commented Dec 15, 2017

Sorry, I think we misunderstood each other.

Anyway, I am sorry to tell you, that I just now remember, that coreboot does something similar, and they use the Kconfig Make target savedefconfig.

  • savedefconfig - Creates a ‘mini-config’ file, stripping out all of the symbols
    that were left as default values. This is very useful for debugging, and is
    how config files should be saved.

I’ll test it right away.

@donald
Copy link
Collaborator Author

donald commented Dec 15, 2017

Forget about the script. make savedefconfig produces the same output but instantly.

These three backported patches are already included in 4.9.68.
We want our kernel revision numbers to be unique over all linux
kernel packages. Avoid conflicts by doing a quick check against
the available bee files.

Patch by Thomas Kreitler
Include the names of the conflicting files in the error message.
@thomas
Copy link
Collaborator

thomas commented Dec 15, 2017

About the nouveau driver:

  • It 'works', and one gets a gdm-login
  • glxgears work too
  • flightgear (call with fgfs) still freezes, but less dramatic then before (I'm trying to be positive :) -- so our accellerated graphic-setup still differs from the major distros, and needs further checking.

Include kernel config in the bee file, so that we can better track
config changes.

The set of non-default config options was generated with
`make savedefconfig`.
Compile the aacraid driver supplied by Adaptec, because the in-tree
aacraid driver lacks support for async mode.

Patch by Thomas Kreitler
Add kernel modules required for the ZFS filesystem.

http://zfsonlinux.org/

Patch by Thomas Kreitler
As requested by Thomas:

* Add CONFIG_DRM_NOUVEAU=m
* Change CONFIG_DRM=y to CONFIG_DRM=m

When CONFIG_DRM_NOUVEAU ist set, CONFIG_FB_VESA is implied.

Note, that nvidia_drm.ko requires the modules drm and drm_kms_helper.
Because we select differenct nvidia modules depending on the graphics
card found at boot time, we don't have that dependency in modules.dep
and need to explicitly load the drm modules for nvidia.
# CONFIG_SCSI_AACRAID=m
#
build_aacraid_driver_update_and_do_depmod() {
local DRIVERBUILD=54013
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 55022 is documented in the comment above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed that too and asked Thomas. He wanted that version, because its tested.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then put that version in the comment to not confuse people.

Copy link
Collaborator Author

@donald donald Dec 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed that in #555

@pmenzel pmenzel changed the title Add linux 4.9.68 Add Linux 4.9.68 Dec 18, 2017
@pmenzel
Copy link
Collaborator

pmenzel commented Dec 18, 2017

Please also add on what system you tested this.

@donald
Copy link
Collaborator Author

donald commented Dec 18, 2017

4.9.70 is out :-) I try that first....

@donald
Copy link
Collaborator Author

donald commented Dec 19, 2017

superseded by #555

@donald donald closed this Dec 19, 2017
@donald donald deleted the add-linux-4.9.68 branch December 20, 2017 09:31
Sign in to join this conversation on GitHub.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants