[RFC] Making mount_nfs to attempt NFSv4 before NFSv3 and NFSv2?

2022-01-03 Thread Xin Li via freebsd-current
Hi, Currently, mount_nfs will attempt to use NFSv3 and fallback to NFSv2. The manual page says: nfsv2 Use the NFS Version 2 protocol (the default is to try version 3 first then version 2). Note that NFS version 2 has a file size limit of 2 gigabytes. And the

Re: ThinkPad: reboots after successful shutdown -p

2021-03-17 Thread Xin Li via freebsd-current
On 3/16/21 9:45 PM, Warner Losh wrote: > > > On Tue, Mar 16, 2021 at 10:18 PM Xin Li > wrote: > > On 11/17/19 23:14, Xin Li wrote: > > Hi, > > > > I recently noticed that if I do a 'shutdown -p' from -CURRENT, the > > system would shut down and

Re: UEFI boot hangs after loading kernel with efi_max_resolution="4k"

2021-01-30 Thread Xin Li via freebsd-current
With Toomas's help (thanks!), I was able to partially resolve the hang and blank screen at boot issue, for the record, for now this can be solved by adding: screen.font="16x32" in /boot/loader.conf; no more efi_max_resolution setting is needed. Setting allscreen_flags to load font still panics t

UEFI boot hangs after loading kernel with efi_max_resolution="4k"

2021-01-30 Thread Xin Li via freebsd-current
Hi, It seems that some recent change after 282381aa53a would prevent my laptop (Lenovo P51, with 4k LCD) from booting. I have made some attempt to find out why, so far, it seems that setting efi_max_resolution="480p" or efi_max_resolution="720p" would allow it to boot to single user mode. Unfort

Re: zpool upgrade to draid feature: does it require updated zfs boot code ?

2021-01-29 Thread Xin Li via freebsd-current
On 1/28/21 11:00, Kurt Jaeger wrote: > Hi! > > Short question: > > Does a zpool upgrade on 14.0 (current) for the draid feature > require a boot code update ? > > Long version of the same question: [...] > With the draid update, no message was displayed. > > Does it require the bootcode update