You are not logged in.
Nvidia-304xx-ck-kx won't load module due to exec format error, and no such package in the repository to upgrade to or downgrade to.
Last edited by nomorewindows (2018-02-18 14:32:23)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
@nomorewindows - Thanks for reporting. Building 4.15.4 now and will refresh with that... should be an hour or two.
EDIT: Done. Please `pacman -Syyu`
Last edited by graysky (2018-02-18 17:18:00)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Nvidia-304xx-ck-kx won't load module due to exec format error, and no such package in the repository to upgrade to or downgrade to.
304xx was dropped and would need patching for 4.15.
Edit:
@graysky seems ck has dropped bfq-mq and associated patches also he still has not responded to the pull for 4.14.15 as I never seem to get any response from him
not sure if I should send him updated versions or not. As there is no bfq-sq anymore linux-ck users wanting bfq should beware of https://bugs.archlinux.org/task/57496
Last edited by loqs (2018-02-18 17:54:27)
Offline
thanks updates piledriver 4.15.4-1 all o/k
Offline
nomorewindows wrote:Nvidia-304xx-ck-kx won't load module due to exec format error, and no such package in the repository to upgrade to or downgrade to.
304xx was dropped and would need patching for 4.15.
What's the replacement? Just nvidia?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
If your card is not compatible with the nvidia or nvidia-340xx drivers then nouveau or I could try and make you a patch for 304xx
which should last until the next major update to X or 4.16 which currently is incompatible with all nvidia drivers.
Offline
nomorewindows wrote:Nvidia-304xx-ck-kx won't load module due to exec format error, and no such package in the repository to upgrade to or downgrade to.
304xx was dropped and would need patching for 4.15.
nvidia-304xx-ck-kx: installation of linux-4.15-4-1 breaks dependency <4.15
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
nvidia-304xx-ck-kx: installation of linux-4.15-4-1 breaks dependency <4.15
Please post the whole of the pacman output. As 304xx-ck-kxx has been dropped the package on your system will not be updated but will not be removed either.
Offline
Guys - Please take this (the related to repo-ck package discussion) to its own thread. Thanks.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky please see the edit from #3278 incase it gets split off.
Edit:
Guys - Please take this (the related to repo-ck package discussion) to its own thread. Thanks.
You will not be providing support in the new thread?
Last edited by loqs (2018-02-18 23:57:40)
Offline
You will not be providing support in the new thread?
Confused... 304xx has been discontinued upstream weeks ago. Is that a scarcastic jab?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
No I was serious I meant support as in help nomorewindows resolve the issue.
Offline
I have a Linux Mint installation over some dependency hell that I was chrooting into from Arch. It still has a nvidia-304 in the repos. So if 304 is being dropped on Arch this maybe all I can do for now. I'll probably just use Mint for it.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Patch for nvidia-304xx for 4.15
diff --git a/NVIDIA-Linux-x86_64-304.137-no-compat32/kernel/nv.c b/NVIDIA-Linux-x86_64-304.137-no-compat32/kernel/nv.c
index 7c9bb1f..8dc8fea 100644
--- a/NVIDIA-Linux-x86_64-304.137-no-compat32/kernel/nv.c
+++ b/NVIDIA-Linux-x86_64-304.137-no-compat32/kernel/nv.c
@@ -16,6 +16,7 @@
#include "nv-reg.h"
#include "rmil.h"
#include "nv-pat.h"
+#include <linux/version.h>
#if defined(MODULE_LICENSE)
MODULE_LICENSE("NVIDIA");
@@ -301,7 +302,11 @@ irqreturn_t nv_kern_isr(int, void *, struct pt_regs *);
#else
irqreturn_t nv_kern_isr(int, void *);
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
void nv_kern_rc_timer(unsigned long);
+#else
+static void nv_kern_rc_timer(struct timer_list *);
+#endif
#if defined(NV_PM_SUPPORT_OLD_STYLE_APM)
static int nv_kern_apm_event(struct pm_dev *, pm_request_t, void *);
#endif
@@ -2075,10 +2080,18 @@ void nv_kern_isr_bh(
}
void nv_kern_rc_timer(
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
unsigned long data
+#else
+ struct timer_list * t
+#endif
)
{
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
nv_linux_state_t *nvl = (nv_linux_state_t *) data;
+#else
+ nv_linux_state_t *nvl = from_timer(nvl, t, rc_timer);
+#endif
nv_state_t *nv = NV_STATE_PTR(nvl);
NV_CHECK_PCI_CONFIG_SPACE(nvl->timer_sp, nv, TRUE, TRUE, FALSE);
@@ -3029,9 +3042,15 @@ int NV_API_CALL nv_start_rc_timer(
return -1;
nv_printf(NV_DBG_INFO, "NVRM: initializing rc timer\n");
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
init_timer(&nvl->rc_timer);
+#else
+ timer_setup(&nvl->rc_timer,nv_kern_rc_timer,0);
+#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
nvl->rc_timer.function = nv_kern_rc_timer;
nvl->rc_timer.data = (unsigned long) nv;
+#endif
nv->rc_timer_enabled = 1;
mod_timer(&nvl->rc_timer, jiffies + HZ); /* set our timeout for 1 second */
nv_printf(NV_DBG_INFO, "NVRM: rc timer initialized\n");
First though please post the output from pacman when you try and upgrade so I can verify the dependency issue.
Offline
It was just pacman -Syu and the above message stating that it is nvidia-304xx-ck-kx and linux-4.15.1-1. There's nothing in pacman.log other than that.
It would be upgrading linux-ck-kx from 4.14.18-1, maybe there is another package in between the two?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Looking through Xorg.0.log, it wasn't even using nouveau, it was using vesa.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Remove nvidia-304xx-ck-kx and nvidia-304xx-utils then try the upgrade again.
Edit:
If it still fails check for any other nvidia packages still installed and post the new output of pacman.
Last edited by loqs (2018-02-19 08:44:47)
Offline
Remove nvidia-304xx-ck-kx and nvidia-304xx-utils then try the upgrade again.
Edit:
If it still fails check for any other nvidia packages still installed and post the new output of pacman.
It's the nvidia-304xx-ck-kx package that requires the linux kernel to be below 4.15, so as long as I stay with the 4.14 I'm not sure this will help any.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Ah I thought you wanted to update to 4.15. Also not sure why the nvidia-304xx-ck-kx package would have a dependency on linux rather than linux-ck-kxx.
https://aur.archlinux.org/cgit/aur.git/ … a-304xx-ck shows only dependencies on linux-ck not linux.
Offline
Ah I thought you wanted to update to 4.15. Also not sure why the nvidia-304xx-ck-kx package would have a dependency on linux rather than linux-ck-kxx.
https://aur.archlinux.org/cgit/aur.git/ … a-304xx-ck shows only dependencies on linux-ck not linux.
I think graysky updated the linux-ck-kx instead of nvidia-304xx-ck-kx package...
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I've been wondering why my nvidia was broken for possibly two weeks...the last update to nvidiaxxxxx was back in January it appears. One installation goes on vesa, and the onther one won't bring up X. I had a Linux Mint installation for another different dependency hell that apparently only works on Mint 17.
Last edited by nomorewindows (2018-02-19 18:28:10)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
loqs wrote:Ah I thought you wanted to update to 4.15. Also not sure why the nvidia-304xx-ck-kx package would have a dependency on linux rather than linux-ck-kxx.
https://aur.archlinux.org/cgit/aur.git/ … a-304xx-ck shows only dependencies on linux-ck not linux.I think graysky updated the linux-ck-kx instead of nvidia-304xx-ck-kx package...
So what is the output of
pacman -Qi linux-ck-kxx #to see what it lists as dependencies
pacman -Qi nvidia-304xx-ck-kx #to see what it lists as dependencies
Can you do a full update now without pacman refusing due to dependencies?
Which kernel do you want to use if there were no dependency issues linux-ck which is now on 4.15 or linux-lts for 4.14 etc.
Offline
linux-ck-kx 4.14.18-1 depends on coreutils linux-firmware kmod mkinitcpio required by: linux-ck-kx-headers nvidia-304xx-ck-kx
nvidia-304xx-ck-kx 304.137-11 depends on linux-ck-kx>=4.14 <4.15 nvidia-304xx-utils=304.137 libgl required by: nothing
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
linux-ck-kx 4.14.18-1 depends on coreutils linux-firmware kmod mkinitcpio required by: linux-ck-kx-headers nvidia-304xx-ck-kx
nvidia-304xx-ck-kx 304.137-11 depends on linux-ck-kx>=4.14 <4.15 nvidia-304xx-utils=304.137 libgl required by: nothing
The nvidia-304xx-ck-kxx package is not built for linux-ck-kxx 4.14.18 so in dmesg you should see warnings about the mismatch for module nvidia and the module will not be used.
Also matches with your system switching to vesa or not starting X. So nvidia-304xx-ck-kx 304.137-11 is of no use to you but prevents the update to linux-ck-kx 4.15.
nvidia-304xx-utils is also of no use unless you have some other nvidia-304xx driver and matching kernel that work.
Can you do a full update now without pacman refusing due to dependencies?
Which kernel do you want to use if there were no dependency issues linux-ck which is now on 4.15 or linux-lts for 4.14 etc.
With the answers to those questions plus probably the output of the following I can suggest some possible ways to resolve the issue.
$ lspci | grep -e VGA -e 3D
Offline
It's a Nvidia 6150SE GeForce 450, which I checked again on Nvidia's site falls under the 304xx which I have been using.
And there's not even a driver for linux-lts either.
Don't want to use the direct download from Nvidia as I remember.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline