Author: tsoome
Date: Tue Dec 15 22:37:03 2020
New Revision: 368684
URL: https://svnweb.freebsd.org/changeset/base/368684
Log:
loader: allow loader to accept zfs feature com.delphix:bookmark_written
We do not need to actually read bookmarks, just whitelist this feature.
Reported by: mj
Author: tsoome
Date: Tue Dec 15 21:48:35 2020
New Revision: 368677
URL: https://svnweb.freebsd.org/changeset/base/368677
Log:
loader: allow loader to accept zfs feature com.datto:bookmark_v2
We do not need to actually read bookmarks, just whitelist this feature
Reported by: jpaetzel
Yes, with pager or it is a bit useless.
Sent from my iPhone
> On 12. Dec 2020, at 16:10, Kyle Evans wrote:
>
> On Sat, Dec 12, 2020 at 1:35 AM Toomas Soome wrote:
>>
>> How about ’show-module-options’?
>>
>> rgds,
>> toomas
>>
>
> I m
How about ’show-module-options’?
rgds,
toomas
> On 12. Dec 2020, at 07:57, Kyle Evans wrote:
>
> Author: kevans
> Date: Sat Dec 12 05:57:42 2020
> New Revision: 368575
> URL: https://svnweb.freebsd.org/changeset/base/368575
>
> Log:
> lualoader: provide module-manipulation commands
>
> Spe
Author: tsoome
Date: Mon Dec 7 11:25:18 2020
New Revision: 368410
URL: https://svnweb.freebsd.org/changeset/base/368410
Log:
loader: xdr_array is missing count
The integer arrays are encoded in nvlist as counted array ,
loader xdr_array() is missing the count. This will affect the pool i
Author: tsoome
Date: Wed Dec 2 09:42:02 2020
New Revision: 368274
URL: https://svnweb.freebsd.org/changeset/base/368274
Log:
vt/fonts: fix typo
add missing 'is'.
Reported by: bcr
Modified:
head/share/vt/fonts/INDEX.fonts
Modified: head/share/vt/fonts/INDEX.fonts
=
Author: tsoome
Date: Tue Dec 1 23:07:05 2020
New Revision: 368266
URL: https://svnweb.freebsd.org/changeset/base/368266
Log:
ficl: make dump a bit friendlier
would be nice to have dump to output hex and ascii.
Modified:
head/stand/ficl/softwords/softcore.fr
Modified: head/stand/ficl/so
Author: tsoome
Date: Tue Dec 1 22:28:02 2020
New Revision: 368261
URL: https://svnweb.freebsd.org/changeset/base/368261
Log:
ficl: instead of pad, emit can use local variable
Pad in forth is used as "scratchpad" and internal implementations
should not use it. Ficl does not really follow
Author: tsoome
Date: Mon Nov 30 11:45:47 2020
New Revision: 368184
URL: https://svnweb.freebsd.org/changeset/base/368184
Log:
vt: if loader did pass the font via metadata, use it
The built in 8x16 font may be way too small with large framebuffer
resolutions, to improve readability, use lo
Author: tsoome
Date: Mon Nov 30 08:31:41 2020
New Revision: 368169
URL: https://svnweb.freebsd.org/changeset/base/368169
Log:
fix vmbus_fb_mmio_res after r368168
mixed efifb versus vbefb struct use did slip in by mistake.
Modified:
head/sys/dev/hyperv/vmbus/vmbus.c
Modified: head/sys/de
Author: tsoome
Date: Mon Nov 30 08:22:40 2020
New Revision: 368168
URL: https://svnweb.freebsd.org/changeset/base/368168
Log:
Add VT driver for VBE framebuffer device
Implement vt_vbefb to support Vesa Bios Extensions (VBE) framebuffer with VT.
vt_vbefb is built based on vt_efifb and is a
Author: tsoome
Date: Sun Nov 15 14:04:27 2020
New Revision: 367710
URL: https://svnweb.freebsd.org/changeset/base/367710
Log:
zfsboot: add prototype for main()
Some compilers are complaining about missing prototype.
PR: 251150
Reported by: markiyan.kush...@gmail.com
Modif
Author: tsoome
Date: Sat Nov 14 10:56:40 2020
New Revision: 367674
URL: https://svnweb.freebsd.org/changeset/base/367674
Log:
loader: cstyle cleanup of console.c
cstyle cleanup only, no functional changes intended.
Modified:
head/stand/common/console.c
Modified: head/stand/common/consol
Author: tsoome
Date: Sun Nov 8 09:49:51 2020
New Revision: 367480
URL: https://svnweb.freebsd.org/changeset/base/367480
Log:
loader: cstyle cleanup of bootstrap.h did miss a bit
correct small issues - misplaced comment and typos.
Modified:
head/stand/common/bootstrap.h
Modified: head/s
Author: tsoome
Date: Sun Nov 8 09:35:41 2020
New Revision: 367479
URL: https://svnweb.freebsd.org/changeset/base/367479
Log:
loader: cstyle cleanup of bootstrap.h
No functional changes intended.
Modified:
head/stand/common/bootstrap.h
Modified: head/stand/common/bootstrap.h
===
Author: tsoome
Date: Fri Nov 6 21:27:54 2020
New Revision: 367431
URL: https://svnweb.freebsd.org/changeset/base/367431
Log:
efifb: vt_generate_cons_palette() takes max color, not mask
vt_generate_cons_palette() does take max values of RGB component colours, not
mask. Also we need to set
Author: tsoome
Date: Thu Oct 22 20:02:02 2020
New Revision: 366951
URL: https://svnweb.freebsd.org/changeset/base/366951
Log:
loader: revert r342161 and r342151
We are using asize property from pool label and we do not depend
on partition data to find last two pool labels and to validate
Author: tsoome
Date: Mon Oct 12 09:34:50 2020
New Revision: 366631
URL: https://svnweb.freebsd.org/changeset/base/366631
Log:
loader: edd_device_path_v3 is too small
The EDD v3[1], see table 13, page 33, does define device path as double
qword, that is, 16 bytes, we have only qword.
> On 11. Oct 2020, at 16:01, Alexey Dokuchaev wrote:
>
> On Sun, Oct 11, 2020 at 03:20:16PM +0300, Toomas Soome wrote:
>> Please note, the remove is done by rc script during the boot.
>
> But not by the loader(8) as the page used to claim. It confused me how to
> av
Please note, the remove is done by rc script during the boot. Also
nextboot.conf not generic configuration file (such as loader.conf or
loader.conf.local), but the implementation specific file, part of special
feature. That is, one should not assume the presence of nextboot.conf file,
make assu
Author: tsoome
Date: Wed Sep 23 19:15:22 2020
New Revision: 366087
URL: https://svnweb.freebsd.org/changeset/base/366087
Log:
loader: fix non-zfs build
We can not include zfs headers while building without zfs.
Reported by: Oscar Holmlund
Modified:
head/stand/efi/loader/main.c
he
Author: tsoome
Date: Wed Sep 23 08:22:14 2020
New Revision: 366066
URL: https://svnweb.freebsd.org/changeset/base/366066
Log:
loader: zfs_probe_dev should pick first matching zfs pool
During devswitch probe, we pick boot pool based on boot disk, if the boot
disk happens to have multiple p
> On 23. Sep 2020, at 00:50, Warner Losh wrote:
>
> I think it's a great leap sideways, but I've done cp /dev/null foo to clear
> it out for 35 years now... It's why it feels like a workaround.
>
> Though it is a legit optimization, no matter the feelings. As for clearer,
> I'm less sure si
Author: tsoome
Date: Mon Sep 21 09:01:10 2020
New Revision: 365938
URL: https://svnweb.freebsd.org/changeset/base/365938
Log:
loader: zfs should support bootonce an nextboot
bootonce feature is temporary, one time boot, activated by
"bectl activate -t BE", "bectl activate -T BE" will rese
> On 2. Sep 2020, at 18:53, Ryan Moeller wrote:
>
>
> On 9/2/20 11:43 AM, Andriy Gapon wrote:
>> On 02/09/2020 18:23, Ryan Moeller wrote:
>>> On 9/2/20 10:28 AM, Warner Losh wrote:
Author: imp
Date: Wed Sep 2 14:28:54 2020
New Revision: 365249
URL: https://svnweb.freebsd.
Author: tsoome
Date: Wed Aug 26 17:52:32 2020
New Revision: 364827
URL: https://svnweb.freebsd.org/changeset/base/364827
Log:
libsa: only skein_block.c is using SKEIN_LOOP
Only use SKEIN_LOOP while compiling skein_block.c
Modified:
head/stand/libsa/zfs/Makefile.inc
Modified: head/stand/
Author: tsoome
Date: Wed Aug 26 14:02:38 2020
New Revision: 364818
URL: https://svnweb.freebsd.org/changeset/base/364818
Log:
efibootmgr: wrong check for opts.order
opts.order && !(opts.order) does not really make sense.
Reported by: swildner
Modified:
head/usr.sbin/efibootmgr/efib
Author: tsoome
Date: Wed Aug 26 07:29:17 2020
New Revision: 364806
URL: https://svnweb.freebsd.org/changeset/base/364806
Log:
remove pragma ident lines
The #pragma ident is historical relict and not needed any more, this
pragma is actually unknown for common compilers and is only causing
Author: tsoome
Date: Wed Aug 26 07:00:07 2020
New Revision: 364805
URL: https://svnweb.freebsd.org/changeset/base/364805
Log:
remove left over empty directory
364746 did leave empty directory around.
Deleted:
head/sys/cddl/contrib/opensolaris/uts/common/fs/
__
Author: tsoome
Date: Wed Aug 19 20:41:22 2020
New Revision: 364408
URL: https://svnweb.freebsd.org/changeset/base/364408
Log:
libsa: remove leftover whitespace
Tiny cleanup, no functional changes.
Modified:
head/stand/libsa/environment.c
Modified: head/stand/libsa/environment.c
Author: tsoome
Date: Wed Aug 19 15:27:09 2020
New Revision: 364398
URL: https://svnweb.freebsd.org/changeset/base/364398
Log:
libsa: make env_discard() public
Allow env_discard() to be used outside environment.c
Modified:
head/stand/libsa/environment.c
head/stand/libsa/stand.h
Modifie
Author: tsoome
Date: Wed Aug 19 15:20:33 2020
New Revision: 364397
URL: https://svnweb.freebsd.org/changeset/base/364397
Log:
libsa: cstyle cleanup for environment.c
No functional changes.
Modified:
head/stand/libsa/environment.c
Modified: head/stand/libsa/environment.c
Author: tsoome
Date: Wed Aug 5 14:32:20 2020
New Revision: 363911
URL: https://svnweb.freebsd.org/changeset/base/363911
Log:
MFOpenZFS: Add support for boot environment data to be stored in the label
We are building new bootonce mechanism (previously zfs bootnext) and it is
based on this
Author: tsoome
Date: Wed Aug 5 14:08:44 2020
New Revision: 363910
URL: https://svnweb.freebsd.org/changeset/base/363910
Log:
zfs_keys_nextboot array is missing ZPOOL_CONFIG_POOL_GUID and
ZPOOL_CONFIG_GUID
As we do check the incomint nvlist, we either need to list all possible
keys or us
Author: tsoome
Date: Sun Jul 19 06:59:09 2020
New Revision: 363318
URL: https://svnweb.freebsd.org/changeset/base/363318
Log:
loader: cstyle cleanup
No functional changes intended.
Sponsored by: Netflix, Klara Inc.
Modified:
head/stand/i386/loader/main.c
Modified: head/stand/i386/l
Author: tsoome
Date: Thu Jul 16 10:20:35 2020
New Revision: 363241
URL: https://svnweb.freebsd.org/changeset/base/363241
Log:
efibootmgr: typo in long option name
del-timout should be del-timeout
Reported by: mjg
MFC after:1 week
Modified:
head/usr.sbin/efibootmgr/efibootmgr.
Author: tsoome
Date: Sat Jul 11 06:51:42 2020
New Revision: 363090
URL: https://svnweb.freebsd.org/changeset/base/363090
Log:
loader: implement GELI writes
Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247482
This patch is based on initial work from allanjude.
PR:
Author: tsoome
Date: Thu Jul 9 13:19:00 2020
New Revision: 363042
URL: https://svnweb.freebsd.org/changeset/base/363042
Log:
loader: setting vdev size based on label asize is not working
Because we need to read asize from vdev_tree. We also need to consider
different vdev type difference
Author: tsoome
Date: Tue Jul 7 12:24:40 2020
New Revision: 362989
URL: https://svnweb.freebsd.org/changeset/base/362989
Log:
loader: geli_dev_ioctl does return huge mediasize
The DIOCGMEDIASIZE is calculated md->md_sectorsize * md->md_provsize, and
for boot disk, the md_sectorsize is 4k.
Author: tsoome
Date: Thu Jul 2 07:15:48 2020
New Revision: 362884
URL: https://svnweb.freebsd.org/changeset/base/362884
Log:
loader: zfs reader does not need BOOT2 bits
After switching zfsloader to use full libsa, we do not need
spa_get_primary() and spa_get_primary_vdev() any more.
Author: tsoome
Date: Thu Jul 2 07:03:15 2020
New Revision: 362883
URL: https://svnweb.freebsd.org/changeset/base/362883
Log:
loader: potential memory leak and check return values
Need to free nvlist before return from vdev_from_nvlist().
Sponsored by: Netflix, Klara Inc.
Modified:
Author: tsoome
Date: Tue Jun 30 21:48:58 2020
New Revision: 362812
URL: https://svnweb.freebsd.org/changeset/base/362812
Log:
boot1.efi: use malloc family from libsa
The zfs reader development did reach to the point where linking boot1,
we will get errors about duplicate symbols Malloc, F
Author: tsoome
Date: Fri Jun 26 21:21:35 2020
New Revision: 362663
URL: https://svnweb.freebsd.org/changeset/base/362663
Log:
loader: can not read zfs pool with slog removed
The vdev_init() does check for "known" vdev types, the [log] device removal
will create "hole"
device, but vdev_in
Author: tsoome
Date: Tue Jun 23 06:42:39 2020
New Revision: 362531
URL: https://svnweb.freebsd.org/changeset/base/362531
Log:
MFOpenZFS: Add basic zfs ioc input nvpair validation
We want newer versions of libzfs_core to run against an existing
zfs kernel module (i.e. a deferred reboot or
Author: tsoome
Date: Sat Jun 20 08:22:57 2020
New Revision: 362433
URL: https://svnweb.freebsd.org/changeset/base/362433
Log:
loader: libofw build is missing sys/list.h after r362431
Add another include path
Modified:
head/stand/libofw/Makefile
Modified: head/stand/libofw/Makefile
=
Author: tsoome
Date: Sat Jun 20 07:46:43 2020
New Revision: 362432
URL: https://svnweb.freebsd.org/changeset/base/362432
Log:
loader: fix libofw build after r362431
Modified:
head/stand/libofw/Makefile
Modified: head/stand/libofw/Makefile
=
Author: tsoome
Date: Sat Jun 20 06:23:31 2020
New Revision: 362431
URL: https://svnweb.freebsd.org/changeset/base/362431
Log:
loader: create single zfs nextboot implementation
We should have nextboot feature implemented in libsa zfs code.
To get there, I have created zfs_nextboot() implem
Author: tsoome
Date: Wed Jun 17 10:56:58 2020
New Revision: 362265
URL: https://svnweb.freebsd.org/changeset/base/362265
Log:
loader: r362262 did miss the pathlen check
While we are checking the "/dev/" prefix, we can skip the paths shorter than
this prefix.
Sponsored by: Netflix, Kl
Author: tsoome
Date: Wed Jun 17 10:41:01 2020
New Revision: 362262
URL: https://svnweb.freebsd.org/changeset/base/362262
Log:
loader: strings in nvlist are counted strings, not c-strings
We need to fetch both string size and data, then handle the data.
Reviewed by: allanjude
Sponsor
Author: tsoome
Date: Wed Jun 17 08:08:57 2020
New Revision: 362259
URL: https://svnweb.freebsd.org/changeset/base/362259
Log:
loader: vidc_init should also erase the screen
Inject \e[J to erase the initial loader screen. We have two options,
find where out cursor is and use BIOS scroll fo
Author: tsoome
Date: Tue Jun 16 20:35:00 2020
New Revision: 362239
URL: https://svnweb.freebsd.org/changeset/base/362239
Log:
boot2: need to expand tab output and mask getchar
The BIOS ouput char function does not expand tab.
Mask getchar with 0xFF.
Sponsored by: Netflix, Klara Inc.
Author: tsoome
Date: Tue Jun 16 07:30:34 2020
New Revision: 362218
URL: https://svnweb.freebsd.org/changeset/base/362218
Log:
loader: zfs_cmd.c does not really compile without libzfs.h
Having libzfs.h wrapped in LOADER_ZFS_SUPPORT check does not really make
sense,
because we do need func
Author: tsoome
Date: Tue Jun 16 07:05:03 2020
New Revision: 362217
URL: https://svnweb.freebsd.org/changeset/base/362217
Log:
loader: variable i is unused without MBR/GPT support built in
Because i is only used as index in for loop, declare it in for statement.
Sponsored by: Netflix, K
Author: tsoome
Date: Sun Jun 14 20:57:24 2020
New Revision: 362184
URL: https://svnweb.freebsd.org/changeset/base/362184
Log:
zfsboot: cstyle cleanup
No functional changes intended.
Sponsored by: Netflix, Klara Inc.
Modified:
head/stand/i386/zfsboot/zfsboot.c
Modified: head/stand/i
Author: tsoome
Date: Sun Jun 14 10:13:40 2020
New Revision: 362174
URL: https://svnweb.freebsd.org/changeset/base/362174
Log:
loader.efi: update console after gfx mode change
The gfx mode change should be coordinated with console setup.
Modified:
head/stand/efi/loader/framebuffer.c
Modi
Author: tsoome
Date: Sun Jun 14 06:58:58 2020
New Revision: 362172
URL: https://svnweb.freebsd.org/changeset/base/362172
Log:
Move font related data structured to sys/font.c and update vtfontcvt
Prepare support to be able to handle font data in loader, consolidate
data structures to sys/f
Author: tsoome
Date: Fri Jun 5 18:18:27 2020
New Revision: 361842
URL: https://svnweb.freebsd.org/changeset/base/361842
Log:
zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev
vfs.zfs.boot.primary_pool is only set on BIOS boot, use vfs.root.mountfrom
instead and update
Author: tsoome
Date: Tue May 19 19:53:12 2020
New Revision: 361266
URL: https://svnweb.freebsd.org/changeset/base/361266
Log:
lz4 hash table does not start zeroed
illumos issue: https://www.illumos.org/issues/12757
Submitted by: andyf
Modified:
head/sys/cddl/contrib/opensolaris/comm
> On 9. May 2020, at 11:23, Ronald Klop wrote:
>
> On Sat, 09 May 2020 09:25:29 +0200, Toomas Soome <mailto:tso...@me.com>> wrote:
>
>>
>>
>>> On 9. May 2020, at 09:57, Ronald Klop wrote:
>>>
>>> Hi Toomas,
>>>
t with BIOS, only with UEFI). That issue was reported 2010 agains 9.0? is it
still the case?
rgds,
toomas
>
>
> On Sat, 09 May 2020 08:25:21 +0200, Toomas Soome wrote:
>
>> Author: tsoome
>> Date: Sat May 9 06:25:20 2020
>> New Revision: 360836
>> U
Author: tsoome
Date: Sat May 9 06:25:20 2020
New Revision: 360836
URL: https://svnweb.freebsd.org/changeset/base/360836
Log:
loader: vdev_read() can corrupt memory
When reading less than sector size but from sector boundary,
the vdev_read() will read full sector into the provided buffer
Author: tsoome
Date: Mon Mar 30 20:07:25 2020
New Revision: 359458
URL: https://svnweb.freebsd.org/changeset/base/359458
Log:
gallant: pound sign (0xa3) is a bit broken. Add extra glyphs.
I did add some more glyphs to provide box drawing and set of additional
glyphs to provide better supp
> On 29. Mar 2020, at 09:40, Ruslan Garipov wrote:
>
>>>
>>
>> That definitely can be the case. If you do not set any custom values,
>> missing tem.* variables would confirm that.
>>
>> Now, there is still an question, why in your system that allocation does
>> fail?
> Is there a way I ca
Author: tsoome
Date: Sun Mar 29 06:48:59 2020
New Revision: 359421
URL: https://svnweb.freebsd.org/changeset/base/359421
Log:
loader: use #elif defined() in stand.h
Small cleanup.
Reported by: imp
Modified:
head/stand/libsa/stand.h
Modified: head/stand/libsa/stand.h
==
Author: tsoome
Date: Sat Mar 28 21:55:42 2020
New Revision: 359409
URL: https://svnweb.freebsd.org/changeset/base/359409
Log:
loader: typo did slip into 359408
somehow r was lost from 'char'.
Modified:
head/stand/libsa/zfs/zfs.c
Modified: head/stand/libsa/zfs/zfs.c
=
Author: tsoome
Date: Sat Mar 28 22:37:50 2020
New Revision: 359411
URL: https://svnweb.freebsd.org/changeset/base/359411
Log:
loader.efi: restore the init and fix the color setup
The efi console init is avoided since conin setup was moved to probe.
In case the console is re-initialized, w
> On 29. Mar 2020, at 00:04, Oliver Pinter wrote:
>
>
>
> On Saturday, March 28, 2020, Toomas Soome <mailto:tso...@freebsd.org>> wrote:
> Author: tsoome
> Date: Sat Mar 28 21:50:27 2020
> New Revision: 359408
> URL: https://svnweb.freebsd
Author: tsoome
Date: Sat Mar 28 21:50:27 2020
New Revision: 359408
URL: https://svnweb.freebsd.org/changeset/base/359408
Log:
loader: strdup name strings from dataset walker
The removal of zfs scratch buffer did miss the fact the dataset
lookup was picking up the names from zap list.
Mod
Author: tsoome
Date: Sat Mar 28 21:47:44 2020
New Revision: 359407
URL: https://svnweb.freebsd.org/changeset/base/359407
Log:
loader: add knob to build with user malloc
This option is intended to aid development, to allow building with user
malloc.
The use case would be to build userboot
> On 28. Mar 2020, at 08:07, Alexey Dokuchaev wrote:
>
> On Sat, Mar 14, 2020 at 06:36:03AM +0000, Toomas Soome wrote:
>> New Revision: 358989
>> URL: https://svnweb.freebsd.org/changeset/base/358989
>>
>> Log:
>> loader: add comconsol
Author: tsoome
Date: Fri Mar 27 18:01:01 2020
New Revision: 359372
URL: https://svnweb.freebsd.org/changeset/base/359372
Log:
loader.efi: conout->QueryMode() can fail to return screen dimensions
Some systems are reported to fail to report screen dimensions unless the
screen mode is set fi
> On 27. Mar 2020, at 16:39, Ruslan Garipov wrote:
>
> On 3/14/2020 11:36 AM, Toomas Soome wrote:
>> Author: tsoome
>> Date: Sat Mar 14 06:36:03 2020
>> New Revision: 358989
>> URL: https://svnweb.freebsd.org/changeset/base/358989
>>
>> Log:
>&g
> On 20. Mar 2020, at 13:29, Tomoaki AOKI wrote:
>
>
> Maybe I got a hint...
> COLUMNS and LINES (either `show` on loader prompt or `kenv` on running
> system) only appears when I manually set any mode by ex. `mode 0`
> on loader prompt. Just viewing current mode by `mode` doesn't affect.
>
Author: tsoome
Date: Thu Mar 19 21:05:11 2020
New Revision: 359153
URL: https://svnweb.freebsd.org/changeset/base/359153
Log:
loader: remove libsa/crc32.c and use version from zlib
we have crc32(const void *, size_t) in libsa. Unfortunately zlib has
crc32(long, const unigned char *, unsig
Author: tsoome
Date: Thu Mar 19 17:27:08 2020
New Revision: 359147
URL: https://svnweb.freebsd.org/changeset/base/359147
Log:
loader: misaligned access of dos_partition structure
armv7 crash due to misligned access of dos_partition dp_start field.
Allocate and make copy of dos_partitio
> On 19. Mar 2020, at 14:33, Tomoaki AOKI wrote:
>
> On Thu, 19 Mar 2020 00:28:59 +0200
> Toomas Soome mailto:tso...@me.com>> wrote:
>
>>
>>
>>> On 18. Mar 2020, at 20:41, Ruslan Garipov wrote:
>>>
>>> On 3/18/2020 10:29 PM,
> On 18. Mar 2020, at 20:41, Ruslan Garipov wrote:
>
> On 3/18/2020 10:29 PM, Toomas Soome via svn-src-head wrote:
>>
>>
>>> On 18. Mar 2020, at 18:40, Ruslan Garipov wrote:
>>>
>>> On 3/17/2020 5:16 PM, Tomoaki AOKI wrote:
>>>&g
Author: tsoome
Date: Wed Mar 18 22:21:42 2020
New Revision: 359099
URL: https://svnweb.freebsd.org/changeset/base/359099
Log:
loader.efi: handle efi_cons_init() failure cases better
if we fail to allocate buffer, set up the TERM_EMU and continue.
On output, use TERM_EMU in case we did fai
gt; console="vidconsole"
>> console="eficonsole"
>> console="efi_console"
>> nor
>> console="efi"
>> in /boot/loader.conf works.
>>
>> Defining / undefining TERM_EMU on build are untested.
>>
>> Is there
Hi!
This means, your system has UART serial device — you can check this from loader
prompt: efi-show -g global -v ConOut or with efivar from running system. This
would trigger efi console driver to use TERM_EMU, which can be turned off by
user and doing that would cause ESC sequences to be pass
Author: tsoome
Date: Sat Mar 14 06:36:03 2020
New Revision: 358989
URL: https://svnweb.freebsd.org/changeset/base/358989
Log:
loader: add comconsole implementation on top of SIO protocol
Provide comconsole on top of SIO for arm platforms (x86 does use bios
version).
Added:
head/stand/ef
Author: tsoome
Date: Thu Mar 12 06:45:08 2020
New Revision: 358906
URL: https://svnweb.freebsd.org/changeset/base/358906
Log:
test if port does exist via using scratch register
The SCR, scratch register was not present on the 8250 and 8250B UART, so we
can use to test if we actually do ha
Author: tsoome
Date: Mon Mar 9 19:43:28 2020
New Revision: 358815
URL: https://svnweb.freebsd.org/changeset/base/358815
Log:
gallant is 12x22, not 8x16
INDEX.fonts does list gallant with wrong size.
Modified:
head/share/vt/fonts/INDEX.fonts
Modified: head/share/vt/fonts/INDEX.fonts
===
Author: tsoome
Date: Wed Mar 4 18:38:09 2020
New Revision: 358632
URL: https://svnweb.freebsd.org/changeset/base/358632
Log:
loader: crc32 is provided by libsa
Seems like leftover from moving crc32.c to libsa.
Modified:
head/stand/i386/gptboot/Makefile
head/stand/i386/isoboot/Makefile
Author: tsoome
Date: Wed Feb 26 18:12:12 2020
New Revision: 358343
URL: https://svnweb.freebsd.org/changeset/base/358343
Log:
loader: replace zfs_alloc/zfs_free with malloc/free
Use common memory management.
Modified:
head/stand/libsa/zfs/zfs.c
head/stand/libsa/zfs/zfsimpl.c
head/sys
Author: tsoome
Date: Sun Feb 23 15:21:15 2020
New Revision: 358260
URL: https://svnweb.freebsd.org/changeset/base/358260
Log:
loader: alloc_pread() should set errno if malloc fails
We may want to find out why alloc_pread() failed.
Modified:
head/stand/common/misc.c
Modified: head/stand/
Author: tsoome
Date: Thu Feb 20 09:02:59 2020
New Revision: 358163
URL: https://svnweb.freebsd.org/changeset/base/358163
Log:
efi_register_handles() is missing NULL pointer check
Add missing check of malloc() result.
Modified:
head/stand/efi/libefi/handles.c
Modified: head/stand/efi/lib
Author: tsoome
Date: Thu Feb 20 09:00:20 2020
New Revision: 358162
URL: https://svnweb.freebsd.org/changeset/base/358162
Log:
insert_zfs() is missing NULL pointer check
Add missing check of malloc() result.
Modified:
head/stand/efi/libefi/efizfs.c
Modified: head/stand/efi/libefi/efizfs.
Author: tsoome
Date: Thu Feb 20 08:56:56 2020
New Revision: 358160
URL: https://svnweb.freebsd.org/changeset/base/358160
Log:
efipart_inithandles() is missing NULL pointer check
Add missing check of malloc() result.
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libe
Author: tsoome
Date: Thu Feb 20 08:55:18 2020
New Revision: 358159
URL: https://svnweb.freebsd.org/changeset/base/358159
Log:
connect_controllers() is missing NULL pointer check
Add missing check of malloc() result.
Modified:
head/stand/efi/libefi/efi_driver_utils.c
Modified: head/stand
Author: tsoome
Date: Thu Feb 20 08:53:04 2020
New Revision: 358158
URL: https://svnweb.freebsd.org/changeset/base/358158
Log:
efihttp_fs_seek() is missing NULL pointer check
Add missing check of malloc() result.
Modified:
head/stand/efi/libefi/efihttp.c
Modified: head/stand/efi/libefi/e
Author: tsoome
Date: Thu Feb 20 08:48:34 2020
New Revision: 358157
URL: https://svnweb.freebsd.org/changeset/base/358157
Log:
efinet_dev_init() is missing NULL pointer check
Add missing check of malloc() result.
Modified:
head/stand/efi/libefi/efinet.c
Modified: head/stand/efi/libefi/ef
Author: tsoome
Date: Wed Feb 5 13:08:24 2020
New Revision: 357571
URL: https://svnweb.freebsd.org/changeset/base/357571
Log:
followup on r357497: clean obsolete comment and use shift instead of
multiplication
Based on illumos review feedback: leftover comment, but also
have consistent b
Author: tsoome
Date: Wed Feb 5 11:02:00 2020
New Revision: 357569
URL: https://svnweb.freebsd.org/changeset/base/357569
Log:
zfsboot: vdev_read_pad2 does allocate buffer with wrong size
vdev_read_pad2() does read VDEV_PAD_SIZE of data, and will copy size bytes
of it, hence, we need buffe
Author: tsoome
Date: Wed Feb 5 05:42:42 2020
New Revision: 357567
URL: https://svnweb.freebsd.org/changeset/base/357567
Log:
vdev_read_pad2: freeing wrong pointer
Shoud free previously allocated tmp buffer instead. Issue introduced in
r357497.
Reported by: rpokala
Modified:
head
Author: tsoome
Date: Tue Feb 4 07:37:55 2020
New Revision: 357497
URL: https://svnweb.freebsd.org/changeset/base/357497
Log:
loader: rewrite zfs reader zap code to use malloc
First step on removing zfs_alloc.
Reviewed by: delphij
Differential Revision:https://reviews.freebs
Author: tsoome
Date: Mon Feb 3 11:33:33 2020
New Revision: 357442
URL: https://svnweb.freebsd.org/changeset/base/357442
Log:
loader: bc_add can not use any other probes than ah=0x4b
CD boot is broken for some systems since bioscd and biosdisk merge. The issue
is that we can not use anythi
Author: tsoome
Date: Mon Jan 13 20:02:27 2020
New Revision: 356700
URL: https://svnweb.freebsd.org/changeset/base/356700
Log:
Backout 356693. The libsa malloc does provide necessary alignment and
memalign by 4 will reduce alignment for some platforms. Thanks for Ian for
pointing this out.
M
> On 13. Jan 2020, at 20:45, Ian Lepore wrote:
>
> On Mon, 2020-01-13 at 20:43 +0200, Toomas Soome wrote:
>>> On 13. Jan 2020, at 20:31, Ian Lepore wrote:
>>>
>>> On Mon, 2020-01-13 at 18:22 +, Toomas Soome wrote:
>>>> Author: tsoome
>&
> On 13. Jan 2020, at 20:31, Ian Lepore wrote:
>
> On Mon, 2020-01-13 at 18:22 +0000, Toomas Soome wrote:
>> Author: tsoome
>> Date: Mon Jan 13 18:22:54 2020
>> New Revision: 356693
>> URL: https://svnweb.freebsd.org/changeset/base/356693
>>
>&g
1 - 100 of 447 matches
Mail list logo