Date: Tue, 22 Feb 2022 22:44:41 +0100 From: Michael Schuster <michaelsprivate@gmail.com> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: "linker_load_file ... unsupported file type" after upgrade attempts on -CURRENT Message-ID: <CADqw_gK-wXLzJPK9Q-iTo838qyh-YCskmNYBn82Eyi0kxyYbug@mail.gmail.com> In-Reply-To: <CADqw_gK_QFcCu2SRh_-H7Xu%2Bp2ZJggYsyhVurJfu1hKdHSwiEA@mail.gmail.com> References: <CADqw_gK_QFcCu2SRh_-H7Xu%2Bp2ZJggYsyhVurJfu1hKdHSwiEA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000054728005d8a2422e Content-Type: text/plain; charset="UTF-8" to respond to myself: I bit the bullet and installed one of the latest memstick images of -CURRENT , and am back up and running - with amdgpu and drm-current, and KDE (which had stopped working for me on the previous setup a while ago). Sorry if anyone's gone to any lengths here, though I didn't get any feedback. Thx Michael On Sun, Feb 20, 2022 at 3:12 PM Michael Schuster <michaelsprivate@gmail.com> wrote: > Hi, > > I'm currently running on -CURRENT from November, though I think the > message for amdgpu.ko ("kernel: linker_load_file: /boot/modules/amdgpu.ko - > unsupported file type") started to appear as early as last August. Since > this isn't my daily driver (yet!), I didn't notice for quite a while, and > scfb is adequate for what little I currently do on FreeBSD. > When I initially installed this machine in Aug 2020, my GPU (Vega10 > Renoir) wasn't supported by DRM, so over time I made several builds of the > graphics/drm-devel-kmod port, which worked for a while last year. > > In the last weeks, in the time I managed to set aside for this work, I > made several attempts to bring this machine up-to-date, using "pkg > upgrade", building my own from /usr/src (always up-to-date using 'git > pull'), and beinstall.sh. (both separately and in combination). I always > work with separate build environments for these attempts. > All my upgrade attempts have resulted in a system that boots, but neither > starts X nor lets me log in on a console. There are "linker_load_file ... " > message for several .ko files, all preceded by a line like this: > > "KLD hconf.ko: depends on kernel - not available or version mismatchmodule > name" > > here are the paths I get this message about: > > /boot/kernel/cuse.ko > /boot/kernel/hconf.ko > /boot/kernel/hms.ko > /boot/kernel/hmt.ko > /boot/kernel/intpm.ko > /boot/kernel/lindebugfs.ko > /boot/kernel/linux.ko > /boot/kernel/linux64.ko > /boot/modules/amdgpu.ko > /boot/modules/drm.ko > > The information I found on the Internet about this error message seem to > indicate that I need to re-build the .ko being reported by the message with > the current kernel, which is .. hard if I can't even log in ;-). I would > also not expect a version mismatch after a pkg upgrade (but no, I didn't go > through all the output that generated). > > Does anyone have an idea what I can do to get past this obstacle? I could > of course always re-install, but that feels like giving in :-) > > TIA > Michael > -- > Michael Schuster > http://recursiveramblings.wordpress.com/ > recursion, n: see 'recursion' > -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion' --00000000000054728005d8a2422e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:arial,helvetica,sans-serif;font-size:small">to respond to myself: = I bit the bullet and installed one of the latest memstick images of -CURREN= T , and am back up and running - with amdgpu and drm-current, and KDE (whic= h had stopped working for me on the previous setup a while ago).</div><div = class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;fon= t-size:small">Sorry if anyone's gone to any lengths here, though I didn= 't get any feedback.</div><div class=3D"gmail_default" style=3D"font-fa= mily:arial,helvetica,sans-serif;font-size:small"><br></div><div class=3D"gm= ail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:smal= l">Thx</div><div class=3D"gmail_default" style=3D"font-family:arial,helveti= ca,sans-serif;font-size:small">Michael<br></div></div><br><div class=3D"gma= il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Feb 20, 2022 at 3:1= 2 PM Michael Schuster <<a href=3D"mailto:michaelsprivate@gmail.com">mich= aelsprivate@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:arial,helve= tica,sans-serif;font-size:small">Hi,</div><div style=3D"font-family:arial,h= elvetica,sans-serif;font-size:small"><br></div><div style=3D"font-family:ar= ial,helvetica,sans-serif;font-size:small">I'm currently running on -CUR= RENT from November, though I think the message for amdgpu.ko ("kernel:= linker_load_file: /boot/modules/amdgpu.ko - unsupported file type") s= tarted to appear as early as last August. Since this isn't my daily dri= ver (yet!), I didn't notice for quite a while, and scfb is adequate for= what little I currently do on FreeBSD.</div><div style=3D"font-family:aria= l,helvetica,sans-serif;font-size:small">When I initially installed this mac= hine in Aug 2020, my GPU (Vega10 Renoir) wasn't supported by DRM, so ov= er time I made several builds of the graphics/drm-devel-kmod port, which wo= rked for a while last year.<br></div><div><br></div><div><div style=3D"font= -family:arial,helvetica,sans-serif;font-size:small">In the last weeks, in t= he time I managed to set aside for this work, I made several attempts to br= ing this machine up-to-date, using "pkg upgrade", building my own= from /usr/src (always up-to-date using 'git pull'), and beinstall.= sh. (both separately and in combination). I always work with separate build= environments for these attempts.</div><div style=3D"font-family:arial,helv= etica,sans-serif;font-size:small">All my upgrade attempts have resulted in = a system that boots, but neither starts X nor lets me log in on a console. = There are "linker_load_file ... " message for several .ko files, = all preceded by a line like this:</div><div style=3D"font-family:arial,helv= etica,sans-serif;font-size:small"><br></div><div style=3D"font-family:arial= ,helvetica,sans-serif;font-size:small">"KLD hconf.ko: depends on kerne= l - not available or version mismatchmodule name"<br></div><div style= =3D"font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div = style=3D"font-family:arial,helvetica,sans-serif;font-size:small">here are t= he paths I get this message about:</div><div style=3D"font-family:arial,hel= vetica,sans-serif;font-size:small"><br></div><div style=3D"font-family:aria= l,helvetica,sans-serif;font-size:small">/boot/kernel/cuse.ko<br>/boot/kerne= l/hconf.ko<br>/boot/kernel/hms.ko<br>/boot/kernel/hmt.ko<br>/boot/kernel/in= tpm.ko<br>/boot/kernel/lindebugfs.ko<br>/boot/kernel/linux.ko<br>/boot/kern= el/linux64.ko<br>/boot/modules/amdgpu.ko<br>/boot/modules/drm.ko<br></div><= /div><div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:sm= all"></div><br></div><div><div style=3D"font-family:arial,helvetica,sans-se= rif;font-size:small">The information I found on the Internet about this err= or message seem to indicate that I need to re-build the .ko being reported = by the message with the current kernel, which is .. hard if I can't eve= n log in ;-). I would also not expect a version mismatch after a pkg upgrad= e (but no, I didn't go through all the output that generated).<br></div= ></div><div><br></div><div><div style=3D"font-family:arial,helvetica,sans-s= erif;font-size:small">Does anyone have an idea what I can do to get past th= is obstacle? I could of course always re-install, but that feels like givin= g in :-) </div></div><div><div style=3D"font-family:arial,helvetica,sans-se= rif;font-size:small"><br></div><div style=3D"font-family:arial,helvetica,sa= ns-serif;font-size:small">TIA</div><div style=3D"font-family:arial,helvetic= a,sans-serif;font-size:small">Michael<br></div></div>-- <br><div dir=3D"ltr= "><div dir=3D"ltr"><div>Michael Schuster<br><a href=3D"http://recursiveramb= lings.wordpress.com/" target=3D"_blank">http://recursiveramblings.wordpress= .com/</a><br></div><div>recursion, n: see 'recursion'<br></div></di= v></div></div> </blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g= mail_signature"><div dir=3D"ltr"><div>Michael Schuster<br><a href=3D"http:/= /recursiveramblings.wordpress.com/" target=3D"_blank">http://recursiverambl= ings.wordpress.com/</a><br></div><div>recursion, n: see 'recursion'= <br></div></div></div></div> --00000000000054728005d8a2422e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_gK-wXLzJPK9Q-iTo838qyh-YCskmNYBn82Eyi0kxyYbug>