Installing old kernel version that is not in the repo

Hello,
I’m running Opensuse leap and I need to install linux kernel version 4.15.
Also I need linux headers for that kernel.
How can I do that? I can’t find kernel older than 4.17 in repos.

I need it for amdgpu-pro driver (dkms is failing and I get system freeze on bootup).

If you happen to have an old DVD installer, then that will contain the kernel from the date of the installer.

Just checking, “openSUSE-Tumbleweed-DVD-x86_64-Snapshot20180301-Media.iso” seem to use the 4.15.6 kernel.

Eh, you’re posting this in a thread you tagged TUMBLEWEED, now here you post you’re running Leap. Which one is it? Are we allowed to know why kernel 4.15 specifically is needed?

I meant tumbleweed. idk why I wrote leap there.
I need it for AMDGPU-pro driver which was working on the linux kernel 4.15 while I was running Ubuntu, but it didn’t work on 4.17 (on Ubuntu).

Also I can’t find snapshot iso, can you please share link if you have it. :smiley:

Sorry, we’re ( due to storage ) not able to keep years of snapshots. To be honest, I think even having 4.15 on Tw might not solve the issue, we don’t know how *buntu compiles and packages their kernels.

What happens if you boot from the latest Tw live images.

PC freezes at boot if I try to boot with amdgpu-pro installed on 4.17. During installation I get DKMS error.
Something interesting that I’ve found (what didn’t happen on Ubuntu) is that when I install amdgpu-pro drivers I can’t open any program (after installing driver, but before reboot).

Hi
What card do you have?


/sbin/lspci -nnk | grep -EiA3 'vga|3d|display'

You do realize it downgrades the graphics stack? Not running wayland?

Why not the OSS amdgpu driver?

23:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X] [1002:683d]
        Subsystem: XFX Pine Group Inc. Device [1682:3233]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu


GPU: radeon hd 7770 xfx
I need it for vulkan drivers and maybe in the future for OpenCL

I’ve compiled linux kernel 4.14 and I still have the same problem.

That’s not that strange. Changing the driver could very well cause such behaviour, since it does require a reboot.

Hope this makes you happy:
https://pkgs.org/download/kernel
https://pkgs.org/download/linux-kernel-headers

Download links don’t work on that site. I get 404 error.
Also I’ve compiled kernel and it still doesn’t work. Problem must be something else.

Hi

So, your card only support’s OpenCL?;

If you want to run Tumbleweed, then I suggest switching to the amdgpu driver and giving that a whirl first (and update your system to kernel 4.18.0/20180820), if so there are a few things to do;

Add the following to the grub kernel options;


amdgpu.si_support=1

Blacklist radeon


cat /etc/modprobe.d/50-radeon.conf 

blacklist radeon

Then rebuild initrd with the mkinitrd command…

hello, I have already tried adding amdgpu.si_support=0 radeon.si_support=0 to the boot params on kernel 4.17
Also my card (hd 7770) supports full amdgpu-pro driver :), but I can’t install driver with --px parameter on opensuse ( didn’t try on ubuntu) (error message: “No provider of ‘xorg-x11-drv-modesetting-18.30-635379’ found.”)

Ohh you meant amdgpu without installing -pro.:wink:

If I try to boot with amdgpu I get following error:

“Failed to read display number from pipe
Display server failed to start. Exiting”

GUI is not working, but at least PC doesn’t freeze (I can still tty).

I’ve tried changing display manager to lightdm, it still won’t start GUI.

On Sat 25 Aug 2018 10:16:03 PM CDT, paupav wrote:

malcolmlewis;2878307 Wrote:
> Hi
>
> So, your card only support’s OpenCL?;
> https://www.amd.com/en-us/products/graphics/desktop/r7#
>
> If you want to run Tumbleweed, then I suggest switching to the amdgpu
> driver and giving that a whirl first (and update your system to kernel
> 4.18.0/20180820), if so there are a few things to do;
>
> Add the following to the grub kernel options;
> >
Code:

> >
> amdgpu.si_support=1
>

> >
>
> Blacklist radeon
> >
Code:

> >
> cat /etc/modprobe.d/50-radeon.conf
>
> blacklist radeon
>

> >
>
> Then rebuild initrd with the mkinitrd command…

hello, I have already tried adding amdgpu.si_support=0
radeon.si_support=0 to the boot params on kernel 4.17
Also my card (hd 7770) supports full amdgpu-pro driver :), but I can’t
install driver with --px parameter on opensuse ( didn’t try on ubuntu)
(error message: “No provider of ‘xorg-x11-drv-modesetting-18.30-635379’
found.”)

Hi
To use the OSS amdgpu it’s 1 not 0 and 0 for radeon… I think your
going to have to head off to the AMD forums to confirm that it will
work with the 4.18.x kernel…

I would not recommend using a non-standard kernel with all of the
recent CVE’s, but would suggest try Leap 15 4.12.x kernel?


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.13-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

xorg-x11-drv-modesetting was obsoleted around 4 Ubuntu releases back when the modesetting driver was merged into xserver-xorg-core (1.17.x). To use the modesetting driver with any 1.17.x or newer Xorg, an easy way is to simply uninstall the gfxchip-specific Xorg driver package(s). In TW those would be xf86-video-* (except for xf86-video-fbdev and xf86-video-vesa).

thats what I’ve meant. 1 for amdgpu and 0 for radeon. It doesn’t work on 4.18

On Fri 31 Aug 2018 08:16:03 PM CDT, paupav wrote:

malcolmlewis;2878334 Wrote:
> Hi
> To use the OSS amdgpu it’s 1 not 0 and 0 for radeon… I think your
> going to have to head off to the AMD forums to confirm that it will
> work with the 4.18.x kernel…
>
> I would not recommend using a non-standard kernel with all of the
> recent CVE’s, but would suggest try Leap 15 4.12.x kernel?
>
> –
> Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
> SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.13-default
> If you find this post helpful and are logged into the web interface,
> please show your appreciation and click on the star below… Thanks!

thats what I’ve meant. 1 for amdgpu and 0 for radeon. It doesn’t work on
4.18

Hi
So you have two options;

1- If you want to use the amdgpu-pro package, then you need to head off
to the AMD forums since it’s a proprietary driver

2- Switch back to the amdgpu OSS driver by removing the above and
ensuring it’s all gone, configure the grub options, then if still not
working with the current (4.18.5) released Tumbleweed version to raise
a bug report and work with the openSUSE kernel folks to get it fixed…
http://en.opensuse.org/openSUSE:Submitting_bug_reports


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.16-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!