Re: Problem with STABLE-12 amd 64

2019-07-15 Thread Kevin Oberman
On Mon, Jul 15, 2019 at 12:50 PM Jonathan Chen  wrote:

> On Mon, 15 Jul 2019 at 22:28, Filippo Moretti via freebsd-stable
>  wrote:
> >
> >  I did build world but it did not solve the problem
>
> You need to rebuild the port, graphics/drm-kmod, as this port contains
> kernel modules. Whenever you upgrade the base system, it is always a
> good idea to rebuild/reinstall ports that contain kernel modules, as
> they get depend quite critically on being in sync.
>
> Cheers.
> --
> Jonathan Chen 
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>

If you can't resolve the issue, please report how you load the kernel
module and the exact version of the drm-kmod you have installed.you can get
it with "pkg info drm-\*".  You should get two lines, one for drm-kmod and
another for module installed. Also, I don't recall whether you reported the
exact GPU you have on your system. Won't help me, but others, more familiar
with AMD may find it useful. Finally, "kldstat -v | grep -A 1 -E "drm|kms""
will provide the exact ID and filename of the loaded kernel modules.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problem with STABLE-12 amd 64

2019-07-15 Thread Jonathan Chen
On Mon, 15 Jul 2019 at 22:28, Filippo Moretti via freebsd-stable
 wrote:
>
>  I did build world but it did not solve the problem

You need to rebuild the port, graphics/drm-kmod, as this port contains
kernel modules. Whenever you upgrade the base system, it is always a
good idea to rebuild/reinstall ports that contain kernel modules, as
they get depend quite critically on being in sync.

Cheers.
-- 
Jonathan Chen 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


GENERIC 12.0-RELEASE-p7 (amd64) panic when rebooting

2019-07-15 Thread pomoke
I have a reproducible panic on my VPS just before powering off or
rebooting.Suggesting umounting fs before swapoff?

Message of the crash:
   Waiting (max 60 seconds) for system process `vnlru' to stop... done
   Waiting (max 60 seconds) for system process `syncer' to stop... 
   Syncing disks, vnodes remaining... 12 12 12 3 1 1 0 0 0 0 done
   Waiting (max 60 seconds) for system thread `bufdaemon' to stop...
   done
   Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to
   stop... done
   All buffers synced.
   swap_pager: I/O error - pagein failed; blkno 3291,size 4096, error 5
   panic: swap_pager_force_pagein: read from swap failed
   cpuid = 0
   time = 1559891849
   KDB: stack backtrace:
   #0 0x80be7977 at kdb_backtrace+0x67
   #1 0x80b9b563 at vpanic+0x1a3
   #2 0x80b9b3b3 at panic+0x43
   #3 0x80ed14bd at swapoff_one+0x80d
   #4 0x80ed15e7 at swapoff_all+0x117
   #5 0x80c4905a at bufshutdown+0x2fa
   #6 0x80b9aee8 at kern_reboot+0x228
   #7 0x80b9acb1 at sys_reboot+0x411
   #8 0x81075449 at amd64_syscall+0x369
   #9 0x8104fd1d at fast_syscall_common+0x101
   Uptime: 20h4m14s
   Automatic reboot in 15 seconds - press a key on the console to abort
   Rebooting...

/etc/fstab :
   /dev/ufs/rootfs  /   ufs rw,userquota,groupquota 0 0
   md11 none swap sw,file=/var/swap,late 0 0

swapinfo (upon reboot) :
   /dev/md11  15728640  1572864 0%
   -- 
   Darui Zhuo 


signature.asc
Description: This is a digitally signed message part


Re: Problem with STABLE-12 amd 64

2019-07-15 Thread Filippo Moretti via freebsd-stable
 I did build world but it did not solve the problemsincerelyFilippo
On Sunday, July 14, 2019, 05:45:38 PM GMT+2, Filippo Moretti 
 wrote:  
 
  
Thank you for your advice:reinstalling the port from source did not fix this 
issue.I will try the other suggestion when I will rebuild world.I do not have 
/etc/src.conf file,I will create one and see if it fixes this 
issue,sincerelyFilippoOn Sunday, July 14, 2019, 04:40:17 PM GMT+2, Kevin 
Oberman  wrote:  
 
 On Sun, Jul 14, 2019 at 2:42 AM Filippo Moretti via freebsd-stable <
freebsd-stable@freebsd.org> wrote:

> I get the following error:KLD radeonkms.ko: depends on kernel -not
> available or version
> mismatch linker_load_file:/boot/modules/radeonkms.ko-unsupported file
> typeany suggestion on how to fix it appreciatedsincerelyFilipo
>
Looks like your kernel module, radeonkms.ko, is not in sync with your
kernel.

Have you upgraded you kernel? It is always a good idea to rebuild kernel
modules whenever you build a kernel. This is easily accomplished by adding
"PORTS_MODULES=graphics/drm-kmod" to /etc/src.conf.

For an immediate fix, just re-install the port from source.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"