You are not logged in.

#2876 2016-11-19 17:36:16

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 380

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

yikes...
:: nvidia-ck-sandybridge: installing nvidia-utils (375.20-1) breaks dependency 'nvidia-utils=375.10'


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

#2877 2016-11-19 18:40:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Ah.... I see now.

The naming change upstream has introduced an error with some internal variables I need to sort out.  As well, the /boot/initramfs images will now carry the cpu arch suffix.  For example, if using linux-ck-core2 the images are:

vmlinuz-linux-ck-core2
initramfs-linux-ck-core2.img
initramfs-linux-ck-core2-fallback.img

In the past, they were all simply 'linux-ck' so as a result, users will need to update their bootloaders.  I am working on the nvidia, broadcom, and vbox packages now and will post back when finished.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2878 2016-11-19 19:58:54

TheAifam5
Member
Registered: 2014-11-16
Posts: 7

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@graysky what you mean with "users will need to update their bootloaders" ?

Offline

#2879 2016-11-19 20:01:57

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@Theaifam5 - The upstream pacman hook and PKGBUILD changes renamed our initramfs images if not running from the AUR or the generic packages.  You will just need to update the boot loader so it seems the new images.  For grub:

grub-mkconfig -o /boot/grub/grub.cfg

Dunno about other boot loaders.

For example:
Kernel = linux-ck-haswell
Old initramfs name = /boot/vmlinuz-linux-ck
New initramfs name = /boot/vmlinuz-linux-ck-haswell

This is true for all of the CPU types except for generic (still the old name) and of course, AUR packages unless the user changes the pkgbase (ill-advised).

Last edited by graysky (2016-11-19 20:11:01)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2880 2016-11-19 20:05:57

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

@Theaifam5 - The upstream pacman hook and PKGBUILD changes renamed our initramfs images if not running from the AUR or the generic packages.  You will just need to update the boot loader so it seems the new images.  For grub:

grub-mkconfig -o /boot/grub/grub.cfg

Dunno about other boot loaders.

Make sense?

So the change users need to make to their bootloader, is to include the architecture type, because that is now default behaviour?

In that case, for systemd-boot, you should just need to change

linux   /vmlinuz-linux-ck
initrd  /initramfs-linux-ck.img

and include the architecture, like so

linux   /vmlinuz-linux-ck-core2
initrd  /initramfs-linux-ck-core2.img

Last edited by raggerv8 (2016-11-19 20:06:09)


Brottweiler@#archlinux

Offline

#2881 2016-11-19 20:08:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@raggerv8 - Yes, this is the new naming scheme post 4.8.8-1.
@all - OK.  I think I fixed the pesky EXTERAMODULE problem affecting the extra packages (nvidia, broadcom, etc.).  The repo has been refresh now with these.  Please report feedback to this thread.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2882 2016-11-19 20:35:56

TheAifam5
Member
Registered: 2014-11-16
Posts: 7

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@graysky
cmd: pacman -Syuu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
repo-ck                   53.3 KiB   296K/s 00:00 [######################] 100%
infinality-bundle is up to date
infinality-bundle-fonts is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: linux-ck-haswell and linux-ck-kx are in conflict

Still the same problem hmm

My package list again: http://pastebin.com/dhAjg3x7

Last edited by TheAifam5 (2016-11-19 20:36:46)

Offline

#2883 2016-11-19 21:10:27

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@TheAifam5 - Rebuilding the kernel packages now due to a typo in the group/deps.  You'll need to wait for them.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2884 2016-11-20 01:39:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

OK... everything should be good now.  Please report any problems.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2885 2016-11-20 02:55:54

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

No nvidia/X with linux-ck-kx 4.8.9-1

Last edited by nomorewindows (2016-11-20 02:57:00)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2886 2016-11-20 10:42:31

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

The nvidia modules need a rebuild against the new kernel. See https://bbs.archlinux.org/viewtopic.php … 2#p1670832


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#2887 2016-11-20 11:49:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@Harey - nvidia-ck-xxx-1:375.20-3 was built against linux-ck-xxx-4.8.9-1 and there is functionally no difference between -1 and -2.  Are you getting an error when you boot into 4.8.9-2 with 1:375-20-3?

I am running the 'ck-core2' packages including nvidia without issue.

Last edited by graysky (2016-11-20 12:10:53)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2888 2016-11-20 12:27:52

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

No, this should only fix the problem for 'nomorewindows', given that he doesn't use the ck-repos but builds his kernel by himself. I don't use the nvidia module on my 'ck' machines, they are headless servers. But I ran into the same problem with the nvidia module from the arch repos. Thought it might be helpful to know this. If not - never mind wink

Greetings and a big thank you for your great work, graysky

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#2889 2016-11-20 19:24:27

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

No need to rebuild, just `pacman -Syyu`


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2890 2016-11-21 13:18:55

tpfkanep
Member
From: South Africa
Registered: 2009-12-15
Posts: 121

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I have also noted that ejecting FAT usb-drives [eject /dev/sdx] takes longer in linux-ck when compared to the vanilla kernel. Any reason for this or is it something peculiar to my system?

Thankfully this is does not happen anymore with the latest updates.

Offline

#2891 2016-11-21 19:08:11

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

with the new name thing look like now ck kernels are able to be installes with conflict one each other

/usr/lib/modules/4.8.9-3-ck-bulldozer
/usr/lib/modules/extramodules-4.8-ck-bulldozer
/boot/initramfs-linux-ck-bulldozer-fallback.img
/boot/initramfs-linux-ck-bulldozer.img
/boot/vmlinuz-linux-ck-bulldozer

as now all have the prefix but the kernels still conflict one each other, why they keep conflict if they install thinks in (now) different directories?


Well, I suppose that this is somekind of signature, no?

Offline

#2892 2016-11-21 20:07:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@Jristz - Good question!  I believe you're correct in that they can now all co-exist.  Under the old naming scheme this was not possible.  I will modify the packages to allow for this now.  Thank you for pointing it out.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2893 2016-11-23 08:36:39

silent
Member
Registered: 2008-08-05
Posts: 57

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

For me "/boot/initramfs-linux-ck" is still there, I think that it would be cleaner to remove it with the official package as a file. The second point is, that "vmlinuz-linux-ck" and "/boot/initramfs-linux-ck" could be symlinks in the packages and then the bootloaders would work without any modification, But that would also cause a conflict immediately if somebody wants to install several ck kernels.

Offline

#2894 2016-11-23 08:46:31

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

silent wrote:

For me "/boot/initramfs-linux-ck" is still there, I think that it would be cleaner to remove it with the official package as a file. The second point is, that "vmlinuz-linux-ck" and "/boot/initramfs-linux-ck" could be symlinks in the packages and then the bootloaders would work without any modification, But that would also cause a conflict immediately if somebody wants to install several ck kernels.

I think your first point makes sense, but then again, this is arch and manual intervention is not uncommon. Is it safe to delete the "old" kernel files that aren't used any longer? Referring to the ck kernel files that don't have architecture in the filename.


Brottweiler@#archlinux

Offline

#2895 2016-11-23 12:04:55

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

If a file has no package that owns it, it is probably safe to delete.  Check with:

pacman -Qo /boot/initramfs-linux-ck

The exception is the initiramfs image obviously!  I don't see why an orphaned file should be left behind though.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2896 2016-11-23 12:11:11

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

If a file has no package that owns it, it is probably safe to delete.  Check with:

pacman -Qo /boot/initramfs-linux-ck

The exception is the initiramfs image obviously!  I don't see why an orphaned file should be left behind though.

You say the initiramfs image is the exception, which would mean it will say no package owns it, correct? So the command doesn't help in this situation?

% pacman -Qo /boot/initramfs-linux*
error: No package owns /boot/initramfs-linux-ck-fallback.img
error: No package owns /boot/initramfs-linux-ck-haswell-fallback.img
error: No package owns /boot/initramfs-linux-ck-haswell.img
error: No package owns /boot/initramfs-linux-ck.img
error: No package owns /boot/initramfs-linux-fallback.img
error: No package owns /boot/initramfs-linux.img

Will you modify the package to delete the orphan files?

Last edited by raggerv8 (2016-11-23 12:11:36)


Brottweiler@#archlinux

Offline

#2897 2016-11-23 12:17:49

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

When you remove the kernel package, it should remove the generated initramfs image for you.  From your output, it looks like you have the following kernels installed:
* linux-ck
* linux-ck-haswell
* linux

What is the output of:

pacman -Qs | grep linux

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2898 2016-11-23 12:20:18

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 110
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:

When you remove the kernel package, it should remove the generated initramfs image for you.  From your output, it looks like you have the following kernels installed:
* linux-ck
* linux-ck-haswell
* linux

What is the output of:

pacman -Qs | grep linux
local/archlinux-artwork 1.6-3
local/archlinux-keyring 20161101-1
    Discord Canary linux release
local/lib32-util-linux 2.28.2-1
local/libutil-linux 2.28.2-2
    util-linux runtime libraries
local/linux 4.8.10-1 (base)
local/linux-api-headers 4.7-1
local/linux-ck-haswell 4.8.10-2 (ck-haswell)
local/linux-ck-haswell-headers 4.8.10-2 (ck-haswell)
local/linux-firmware 20161005.9c71af9-1
    NVIDIA drivers for linux
    NVIDIA drivers for linux-ck. Fourth Gen Intel Core i3/i5/i7 optimized.
local/util-linux 2.28.2-2 (base base-devel)

When I updated to a later version than linux-ck 4.8.8-1, the old ck kernel got left behind I think.


Brottweiler@#archlinux

Offline

#2899 2016-11-23 12:38:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

That is interesting... I would have thought that even though there was a basepkg rename (4.8.8-2) that pacman would have pulled the old image upon update.  I don't see this on my machines though hmm


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2900 2016-11-23 12:43:24

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Why would an upgrade run the post_remove() install script which is meant to clean up the no-longer-needed initramfs from the no-longer-existing package???


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

Offline

Board footer

Powered by FluxBB