Author: tsoome
Date: Thu Sep 12 06:26:22 2019
New Revision: 352241
URL: https://svnweb.freebsd.org/changeset/base/352241
Log:
MFC r351865, r351837:
ficl: add xemit word
ficl: add uIsGreater word (needed for xemit)
We need xemit to support userboot.so loading images from CURRENT.
Author: tsoome
Date: Thu Sep 12 06:20:20 2019
New Revision: 352240
URL: https://svnweb.freebsd.org/changeset/base/352240
Log:
MFC r351865, r351837:
ficl: add xemit word
ficl: add uIsGreater word (needed for xemit)
We need xemit to support userboot.so loading images from CURRENT.
Author: tsoome
Date: Tue Sep 10 21:53:42 2019
New Revision: 352195
URL: https://svnweb.freebsd.org/changeset/base/352195
Log:
loader: vidconsole should set LINES and COLUMNS
Set LINES and COLUMNS based on terminal dimensions.
Modified:
head/stand/i386/libi386/vidconsole.c
Author: tsoome
Date: Sun Sep 8 19:54:28 2019
New Revision: 352037
URL: https://svnweb.freebsd.org/changeset/base/352037
Log:
remove leftover zfsloader directory
It really is empty.
Deleted:
head/stand/i386/zfsloader/
___
Author: tsoome
Date: Sun Sep 8 19:39:45 2019
New Revision: 352032
URL: https://svnweb.freebsd.org/changeset/base/352032
Log:
loader: --gc-sections needs sections to work with
--gc-sections is not really useful unless we generate sections with
-ffunction-sections -fdata-sections
Author: tsoome
Date: Fri Sep 6 19:30:23 2019
New Revision: 351959
URL: https://svnweb.freebsd.org/changeset/base/351959
Log:
loader.efi: UEFI text mode background colors are only using 3 bits
Need to mask background colors to pass allowed value.
Modified:
Author: tsoome
Date: Thu Sep 5 22:15:50 2019
New Revision: 351900
URL: https://svnweb.freebsd.org/changeset/base/351900
Log:
loader: use teken teminal emulator for x86 and uefi
Replace mini cons25 emulator with teken, this does enable us proper console
terminal for loader and will make
Author: tsoome
Date: Thu Sep 5 18:07:40 2019
New Revision: 351881
URL: https://svnweb.freebsd.org/changeset/base/351881
Log:
Adjust teken to allow build as part of loader
Building for loader needs specific headers.
Modified:
head/sys/teken/teken.c
Modified: head/sys/teken/teken.c
Author: tsoome
Date: Thu Sep 5 15:06:30 2019
New Revision: 351865
URL: https://svnweb.freebsd.org/changeset/base/351865
Log:
ficl: add xemit word
While emit will output one byte on screen, the xemit will output xchar.
See: http://forth-standard.org/standard/xchar/XEMIT
Modified:
Author: tsoome
Date: Thu Sep 5 09:04:48 2019
New Revision: 351837
URL: https://svnweb.freebsd.org/changeset/base/351837
Log:
ficl: add uIsGreater word
For some reason we have u< but not u>, fix it.
Modified:
head/stand/ficl/words.c
Modified: head/stand/ficl/words.c
Author: tsoome
Date: Sun Apr 7 13:36:17 2019
New Revision: 346007
URL: https://svnweb.freebsd.org/changeset/base/346007
Log:
loader: add file_remove() function to undo file_insert_tail().
346002 did miss the fact that we do not only undo the loadaddr, but also
we need to remove the
Author: tsoome
Date: Sun Apr 7 12:10:19 2019
New Revision: 346001
URL: https://svnweb.freebsd.org/changeset/base/346001
Log:
loader: file_addmetadata() should check for memory allocation
malloc() can return NULL.
MFC after:1w
Modified:
head/stand/common/module.c
Modified:
Author: tsoome
Date: Sun Apr 7 11:50:41 2019
New Revision: 345999
URL: https://svnweb.freebsd.org/changeset/base/345999
Log:
loader: file_addmodule should check for memory allocation
strdup() can return NULL.
MFC after:1w
Modified:
head/stand/common/module.c
Modified:
Author: tsoome
Date: Sun Apr 7 12:20:17 2019
New Revision: 346002
URL: https://svnweb.freebsd.org/changeset/base/346002
Log:
loader: mod_loadkld() error: we previously assumed 'last_file' could be null
The last_file variable is used to reset the loadaddr variable back to original
value;
Author: tsoome
Date: Sun Apr 7 14:07:28 2019
New Revision: 346008
URL: https://svnweb.freebsd.org/changeset/base/346008
Log:
loader: command_lsefi: ret can be used uninitialized
MFC after:1w
Modified:
head/stand/efi/loader/main.c
Modified: head/stand/efi/loader/main.c
Author: tsoome
Date: Sun Apr 7 11:55:11 2019
New Revision: 346000
URL: https://svnweb.freebsd.org/changeset/base/346000
Log:
loader: remove pointer checks before free() in module.c
free() does check for NULL argument, remove duplicate checks.
MFC after:1w
Modified:
Author: tsoome
Date: Sun Apr 7 11:48:41 2019
New Revision: 345998
URL: https://svnweb.freebsd.org/changeset/base/345998
Log:
loader: malloc+bzero is calloc
Replace malloc+bzero in module.c with calloc.
MFC after:1w
Modified:
head/stand/common/module.c
Modified:
Author: tsoome
Date: Thu Mar 28 08:38:31 2019
New Revision: 345631
URL: https://svnweb.freebsd.org/changeset/base/345631
Log:
MFC: r344248,r344387
cd9660: dirmatch fails to unmatch when name is prefix for directory record
Loader does fail to properly match the file name in directory
Author: tsoome
Date: Mon Sep 2 11:04:17 2019
New Revision: 351696
URL: https://svnweb.freebsd.org/changeset/base/351696
Log:
loader.efi: use and prefer coninex interface
Add support for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.
Modified:
head/stand/efi/libefi/efi_console.c
Modified:
Author: tsoome
Date: Mon Sep 2 10:45:10 2019
New Revision: 351695
URL: https://svnweb.freebsd.org/changeset/base/351695
Log:
loader.efi: some systems do not translate scan code 0x8 to backspace
Add scancode translation for backspace.
Modified:
head/stand/efi/libefi/efi_console.c
Author: tsoome
Date: Sat Aug 31 06:24:09 2019
New Revision: 351637
URL: https://svnweb.freebsd.org/changeset/base/351637
Log:
loader.efi: use shift 16 in efipart as it is max ashift supported by zfs
Modified:
head/stand/efi/libefi/efipart.c
Modified: head/stand/efi/libefi/efipart.c
Author: tsoome
Date: Fri Aug 30 20:54:30 2019
New Revision: 351630
URL: https://svnweb.freebsd.org/changeset/base/351630
Log:
qemu-system-aarch64 does list block device with very large block size
Also insert Vendor device as "parent" disk (found in
qemu-system-aarch64 -cpu cortex-a57).
Author: tsoome
Date: Thu Aug 22 07:37:34 2019
New Revision: 351384
URL: https://svnweb.freebsd.org/changeset/base/351384
Log:
loader: support com.delphix:removing
MFC r348353: boot1.efi should also provide Calloc
MFC r350772: loader: support com.delphix:removing
MFC r350825: loader:
Author: tsoome
Date: Tue Aug 20 19:31:11 2019
New Revision: 351274
URL: https://svnweb.freebsd.org/changeset/base/351274
Log:
loader.efi: efipart should be more careful about constructing block device
lists
The cd handles should be collected as list of partitions. Some systems also
Author: tsoome
Date: Fri Aug 9 19:09:05 2019
New Revision: 350825
URL: https://svnweb.freebsd.org/changeset/base/350825
Log:
loader: add error check for vdev_indirect calls
We can error out due to memory allocation errors, we can not recover from
those and need to get out.
Modified:
Author: tsoome
Date: Thu Aug 8 18:08:13 2019
New Revision: 350772
URL: https://svnweb.freebsd.org/changeset/base/350772
Log:
loader: support com.delphix:removing
We should support removing vdev from boot pool. Update loader zfs reader
to support com.delphix:removing.
Reviewed by:
Author: tsoome
Date: Tue Aug 6 20:08:01 2019
New Revision: 350655
URL: https://svnweb.freebsd.org/changeset/base/350655
Log:
loader.efi: boot1.c was left out of 350654
Followup for 350654.
Modified:
head/stand/efi/boot1/boot1.c
Modified: head/stand/efi/boot1/boot1.c
Author: tsoome
Date: Tue Aug 6 19:27:27 2019
New Revision: 350654
URL: https://svnweb.freebsd.org/changeset/base/350654
Log:
loader.efi: replace HandleProtocol() with OpenProtocol()
The HandleProtocol() is deprecated interface and we should use OpenProtocol()
instead. Moreover, in some
Author: tsoome
Date: Tue Aug 6 20:13:28 2019
New Revision: 350656
URL: https://svnweb.freebsd.org/changeset/base/350656
Log:
loader.efi: efilib.h and libefi.c were left out of 350654
And this is second followup for 350654
Modified:
head/stand/efi/include/efilib.h
hi!
efihttp is also using network, is it intentionally left untouched?
rgds,
toomas
> On 30 Jul 2019, at 17:54, Ruslan Bukin wrote:
>
> Author: br
> Date: Tue Jul 30 14:54:18 2019
> New Revision: 350444
> URL: https://svnweb.freebsd.org/changeset/base/350444
>
> Log:
> Fix EFI loader build
Author: tsoome
Date: Tue Jul 2 20:32:35 2019
New Revision: 349613
URL: https://svnweb.freebsd.org/changeset/base/349613
Log:
efihttp: mac and err can be used uninitialized
While there, also check if mac != NULL, and use pointer compare for ipv4
and dns.
Modified:
Author: tsoome
Date: Sun Jun 30 20:21:27 2019
New Revision: 349566
URL: https://svnweb.freebsd.org/changeset/base/349566
Log:
efihttp: mark unused arguments with __unused
we do have __unused, lets use it.
Modified:
head/stand/efi/libefi/efihttp.c
Modified:
Author: tsoome
Date: Sun Jun 30 20:18:31 2019
New Revision: 349565
URL: https://svnweb.freebsd.org/changeset/base/349565
Log:
efihttp: comparison of integers of different signs
message.HeaderCount is UINTN (unsigned int), so should be i.
Modified:
head/stand/efi/libefi/efihttp.c
Author: tsoome
Date: Sun Jun 30 20:15:02 2019
New Revision: 349564
URL: https://svnweb.freebsd.org/changeset/base/349564
Log:
Clean efihttp pointer-sign warnings
The Http protocol structure is using unsigned char strings, Use type casts
where needed.
Modified:
Author: tsoome
Date: Thu Jun 6 16:27:05 2019
New Revision: 348748
URL: https://svnweb.freebsd.org/changeset/base/348748
Log:
loader: disk_open() should honor D_PARTNONE
The D_PARTNONE is documented to make it possible to open raw MBR
partition, but the current disk_open() does not
Author: tsoome
Date: Wed May 29 07:33:51 2019
New Revision: 348354
URL: https://svnweb.freebsd.org/changeset/base/348354
Log:
loader: malloc+memset is calloc in spa_create
Replace malloc + memset pair with calloc.
Modified:
head/stand/libsa/zfs/zfsimpl.c
Modified:
Author: tsoome
Date: Wed May 29 07:32:43 2019
New Revision: 348353
URL: https://svnweb.freebsd.org/changeset/base/348353
Log:
boot1.efi should also provide Calloc
boot1.efi does provide Malloc and Free, we also need Calloc.
Modified:
head/stand/efi/boot1/boot1.c
Modified:
Author: tsoome
Date: Wed May 29 07:24:10 2019
New Revision: 348352
URL: https://svnweb.freebsd.org/changeset/base/348352
Log:
loader: zfs_alloc and zfs_free should use panic
The zfs alloc and free code print out the error and get stuck in infinite
loop; use panic() instead.
Modified:
> On 18 May 2019, at 15:37, Alexey Dokuchaev wrote:
>
> On Sat, May 18, 2019 at 12:27:22PM +, Allan Jude wrote:
>> New Revision: 347953
>> URL: https://svnweb.freebsd.org/changeset/base/347953
>>
>> Log:
>> MFV/ZoL: `zfs userspace` ignored all unresolved UIDs after the first
>>
>>
Author: tsoome
Date: Mon May 13 22:17:11 2019
New Revision: 347553
URL: https://svnweb.freebsd.org/changeset/base/347553
Log:
loader: fix memory handling errors in module.c
file_loadraw():
check for file_alloc() and strdup() results.
we leak 'name'.
mod_load() does leak
Author: tsoome
Date: Thu May 9 13:12:43 2019
New Revision: 347393
URL: https://svnweb.freebsd.org/changeset/base/347393
Log:
loader: use DPRINTF in biosdisk.c and define safe DPRINTF
r345066 did miss biosdisk.c.
Also define DPRINTF as ((void)0) for case we do not want debug
Author: tsoome
Date: Thu May 9 12:14:52 2019
New Revision: 347391
URL: https://svnweb.freebsd.org/changeset/base/347391
Log:
loader: no-TERM_EMU is broken now
If TERM_EMU is not defined, we do not have curx variable. Use conout mode
for efi and expose get_pos() for i386.
Modified:
Author: tsoome
Date: Thu May 9 11:04:10 2019
New Revision: 347389
URL: https://svnweb.freebsd.org/changeset/base/347389
Log:
loader: ptable_print() needs two tabs sometimes
Since the partition/slice names do vary in length, check the length
of the fixed part of the line against 3 * 8,
Author: tsoome
Date: Thu May 9 10:37:57 2019
New Revision: 347388
URL: https://svnweb.freebsd.org/changeset/base/347388
Log:
loader: implement proper 8 char tab stops
The current console code is printing out 8 spaces for tab, calculate
the amount of spaces based on tab stops.
Modified:
Author: tsoome
Date: Tue May 7 10:01:45 2019
New Revision: 347223
URL: https://svnweb.freebsd.org/changeset/base/347223
Log:
command_bcache() does not use argv
Therefore mark argv __unused.
Modified:
head/stand/common/bcache.c
Modified: head/stand/common/bcache.c
Author: tsoome
Date: Tue May 7 08:14:30 2019
New Revision: 347220
URL: https://svnweb.freebsd.org/changeset/base/347220
Log:
loader: bcache code does not need to check argument for free()
Modified:
head/stand/common/bcache.c
Modified: head/stand/common/bcache.c
Author: tsoome
Date: Tue May 7 07:46:40 2019
New Revision: 347219
URL: https://svnweb.freebsd.org/changeset/base/347219
Log:
loader: use safer DPRINTF body for non-debug case
Modified:
head/stand/common/bcache.c
Modified: head/stand/common/bcache.c
Author: tsoome
Date: Mon May 6 08:55:23 2019
New Revision: 347182
URL: https://svnweb.freebsd.org/changeset/base/347182
Log:
MFC r347142:
loader: validate sectorsize argument in disk_open()
The bug and patch is reported against 11.2, but it is good idea to have
the check in place
Author: tsoome
Date: Mon May 6 08:32:49 2019
New Revision: 347179
URL: https://svnweb.freebsd.org/changeset/base/347179
Log:
MFC r347142:
loader: validate sectorsize argument in disk_open()
The bug and patch is reported against 11.2, but it is good idea to have
the check in place
Author: tsoome
Date: Sun May 5 06:38:47 2019
New Revision: 347142
URL: https://svnweb.freebsd.org/changeset/base/347142
Log:
loader: validate sectorsize argument in disk_open()
The bug and patch is reported against 11.2, but it is good idea to have
the check in place for all versions.
Author: tsoome
Date: Tue Apr 30 17:45:22 2019
New Revision: 346969
URL: https://svnweb.freebsd.org/changeset/base/346969
Log:
zfsboot: to detect disk size, use GPT information first
If we do have GPT on disk, read the disk size from it and do not
call int13.
Since int13 does report
and/common/vdisk.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/stand/common/vdisk.c Fri Apr 26 17:58:44 2019(r346759)
@@ -0,0 +1,417 @@
+/*-
+ * Copyright 2019 To
Author: tsoome
Date: Sun Apr 7 14:07:28 2019
New Revision: 346008
URL: https://svnweb.freebsd.org/changeset/base/346008
Log:
loader: command_lsefi: ret can be used uninitialized
MFC after:1w
Modified:
head/stand/efi/loader/main.c
Modified: head/stand/efi/loader/main.c
Author: tsoome
Date: Sun Apr 7 13:36:17 2019
New Revision: 346007
URL: https://svnweb.freebsd.org/changeset/base/346007
Log:
loader: add file_remove() function to undo file_insert_tail().
346002 did miss the fact that we do not only undo the loadaddr, but also
we need to remove the
Author: tsoome
Date: Sun Apr 7 12:20:17 2019
New Revision: 346002
URL: https://svnweb.freebsd.org/changeset/base/346002
Log:
loader: mod_loadkld() error: we previously assumed 'last_file' could be null
The last_file variable is used to reset the loadaddr variable back to original
value;
Author: tsoome
Date: Sun Apr 7 12:10:19 2019
New Revision: 346001
URL: https://svnweb.freebsd.org/changeset/base/346001
Log:
loader: file_addmetadata() should check for memory allocation
malloc() can return NULL.
MFC after:1w
Modified:
head/stand/common/module.c
Modified:
Author: tsoome
Date: Sun Apr 7 11:55:11 2019
New Revision: 346000
URL: https://svnweb.freebsd.org/changeset/base/346000
Log:
loader: remove pointer checks before free() in module.c
free() does check for NULL argument, remove duplicate checks.
MFC after:1w
Modified:
Author: tsoome
Date: Sun Apr 7 11:50:41 2019
New Revision: 345999
URL: https://svnweb.freebsd.org/changeset/base/345999
Log:
loader: file_addmodule should check for memory allocation
strdup() can return NULL.
MFC after:1w
Modified:
head/stand/common/module.c
Modified:
Author: tsoome
Date: Sun Apr 7 11:48:41 2019
New Revision: 345998
URL: https://svnweb.freebsd.org/changeset/base/345998
Log:
loader: malloc+bzero is calloc
Replace malloc+bzero in module.c with calloc.
MFC after:1w
Modified:
head/stand/common/module.c
Modified:
Author: tsoome
Date: Thu Mar 28 08:38:31 2019
New Revision: 345631
URL: https://svnweb.freebsd.org/changeset/base/345631
Log:
MFC: r344248,r344387
cd9660: dirmatch fails to unmatch when name is prefix for directory record
Loader does fail to properly match the file name in directory
> On 26 Feb 2019, at 23:02, Cy Schubert wrote:
>
> In message , Fatih Acar
> writes:
>> This is a multi-part message in MIME format.
>> --6A54CE5B28D823DCB8C41577
>> Content-Type: text/plain; charset=utf-8
>> Content-Transfer-Encoding: 8bit
>>
>> On 2/26/19 5:36 PM, Cy Schubert
Author: tsoome
Date: Wed Feb 20 21:07:09 2019
New Revision: 344387
URL: https://svnweb.freebsd.org/changeset/base/344387
Log:
loader: really fix cd9660 dirmatch
The cd9660_open() does pass whole path to dirmatch() and we need to
compare only the current path component, not full path.
> On 20 Feb 2019, at 09:56, Alexey Dokuchaev wrote:
>
> On Tue, Feb 19, 2019 at 06:43:28PM -0500, Shawn Webb wrote:
>> At the risk of painting a bikeshed a lovely color of neon purple, I'm
>> curious about if/how these types of commits get merged upstream to
>> (OpenZFS|Illumos|ZFS On
Author: tsoome
Date: Mon Feb 18 20:29:19 2019
New Revision: 344268
URL: https://svnweb.freebsd.org/changeset/base/344268
Log:
loader: ptable_close() should check its argument
If the passed in table is NULL, just return.
Modified:
head/stand/common/part.c
Modified:
> On 18 Feb 2019, at 18:25, Warner Losh wrote:
>
>
>
> On Mon, Feb 18, 2019 at 7:31 AM Ian Lepore <mailto:i...@freebsd.org>> wrote:
> On Mon, 2019-02-18 at 15:09 +0200, Toomas Soome wrote:
> > > On 18 Feb 2019, at 01:32, Ian Lepore wrote:
> > >
> On 18 Feb 2019, at 01:32, Ian Lepore wrote:
>
> Author: ian
> Date: Sun Feb 17 23:32:09 2019
> New Revision: 344238
> URL: https://svnweb.freebsd.org/changeset/base/344238
>
> Log:
> Restore loader(8)'s ability for lsdev to show partitions within a bsd slice.
>
> I'm pretty sure this
Author: tsoome
Date: Mon Feb 18 08:26:18 2019
New Revision: 344248
URL: https://svnweb.freebsd.org/changeset/base/344248
Log:
cd9660: dirmatch fails to unmatch when name is prefix for directory record
Loader does fail to properly match the file name in directory record and
does open file
Author: tsoome
Date: Fri Feb 1 06:19:12 2019
New Revision: 343644
URL: https://svnweb.freebsd.org/changeset/base/343644
Log:
MFC r343225:
Unbreak mip64 build after r328437
Add exit and getchar functions to beri/boot2 code. They are required by
panic_action functin introduced in
Author: tsoome
Date: Thu Jan 31 17:06:59 2019
New Revision: 343615
URL: https://svnweb.freebsd.org/changeset/base/343615
Log:
MFC r343124:
libsa: add asprintf()
asprintf() is a nice tool for string processing.
Modified:
stable/12/stand/libsa/printf.c
stable/12/stand/libsa/stand.h
Author: tsoome
Date: Thu Jan 31 16:43:35 2019
New Revision: 343612
URL: https://svnweb.freebsd.org/changeset/base/343612
Log:
MFC r343123:
loader should ignore active multi_vdev_crash_dump feature on zpool
Since the loader zfs reader does not need to read the dump zvol, we can
just
Author: tsoome
Date: Sat Jan 19 20:45:41 2019
New Revision: 343203
URL: https://svnweb.freebsd.org/changeset/base/343203
Log:
ixgbe: this statement may fall through warnings with gcc
The recent gcc versions (7 and 8 at least) can check for switch case
statements for fall through
Author: tsoome
Date: Thu Jan 17 22:00:02 2019
New Revision: 343124
URL: https://svnweb.freebsd.org/changeset/base/343124
Log:
libsa: add asprintf()
asprintf() is a nice tool for string processing.
MFC after:2 weeks
Modified:
head/stand/libsa/printf.c
head/stand/libsa/stand.h
Author: tsoome
Date: Thu Jan 17 21:52:41 2019
New Revision: 343123
URL: https://svnweb.freebsd.org/changeset/base/343123
Log:
loader should ignore active multi_vdev_crash_dump feature on zpool
Since the loader zfs reader does not need to read the dump zvol, we can
just enable the
Author: tsoome
Date: Sun Jan 13 07:19:20 2019
New Revision: 342993
URL: https://svnweb.freebsd.org/changeset/base/342993
Log:
loader.efi: update memmap command to recognize new attributes
Also move memory type to string translation to libefi for later use.
Modified:
Author: tsoome
Date: Sun Jan 13 07:12:50 2019
New Revision: 342992
URL: https://svnweb.freebsd.org/changeset/base/342992
Log:
With buggy int13 ah=15, we can mis-identify the floppy devices.
We have no option than trust INT13 ah=08 return code during the init phase.
PR:
@@
/*-
+ * Copyright 2018 Toomas Soome
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
Modified: stable/12/stand/i386/libi386/biosdisk.c
Author: tsoome
Date: Sun Jan 13 07:22:16 2019
New Revision: 342994
URL: https://svnweb.freebsd.org/changeset/base/342994
Log:
i386_parsedev() needs to support fd devices
After introduction of fd device list to BIOS loader, the i386_parsedev()
needs to recognize fd devices.
Modified:
Author: tsoome
Date: Sat Jan 5 07:20:00 2019
New Revision: 342785
URL: https://svnweb.freebsd.org/changeset/base/342785
Log:
With buggy int13 ah=15, we can mis-identify the floppy devices.
We have no option than trust INT13 ah=08 return code during the init phase.
PR:
Author: tsoome
Date: Thu Jan 3 20:27:50 2019
New Revision: 342742
URL: https://svnweb.freebsd.org/changeset/base/342742
Log:
loader.efi: efi variable rework and lsefi command added
This update does add diag and debug capabilities to interpret the efi
variables, configuration and
Author: tsoome
Date: Thu Jan 3 09:03:58 2019
New Revision: 342721
URL: https://svnweb.freebsd.org/changeset/base/342721
Log:
loader.efi: update memmap command to recognize new attributes
Also move memory type to string translation to libefi for later use.
MFC after:2 weeks
Author: tsoome
Date: Wed Jan 2 20:31:15 2019
New Revision: 342707
URL: https://svnweb.freebsd.org/changeset/base/342707
Log:
i386_parsedev() needs to support fd devices
MFC after:2 weeks
Modified:
head/stand/i386/libi386/devicename.c
Modified: head/stand/i386/libi386/devicename.c
Author: tsoome
Date: Wed Jan 2 07:30:27 2019
New Revision: 342683
URL: https://svnweb.freebsd.org/changeset/base/342683
Log:
MFC r341438:
zfs: we can boot from dataset with large_dnode enabled
loader has been supporting large_dnode for some time, no need to block the
feature for boot
==
--- head/stand/i386/libi386/bio.c Sun Dec 30 15:28:31 2018
(r342625)
+++ head/stand/i386/libi386/bio.c Sun Dec 30 15:34:12 2018
(r342626)
@@ -1,4 +1,6 @@
/*-
+ * Copyright 2018 Toomas Soome
+ *
* Redistribution and use
Author: tsoome
Date: Sun Dec 30 09:13:38 2018
New Revision: 342618
URL: https://svnweb.freebsd.org/changeset/base/342618
Log:
MFC r342151, r342161:
loader: zfs reader should not probe partitionless disks
First of all, normal setups can not boot such pools as the tools
do not support
Author: tsoome
Date: Sun Dec 30 08:58:31 2018
New Revision: 342616
URL: https://svnweb.freebsd.org/changeset/base/342616
Log:
MFC r341328:
loader: create separate lists for fd, cd and hd, merge bioscd with biosdisk
Create unified block IO implementation in BIOS version, like it is done
Author: tsoome
Date: Sun Dec 30 09:35:47 2018
New Revision: 342619
URL: https://svnweb.freebsd.org/changeset/base/342619
Log:
loader: create bio_alloc and bio_free for bios bounce buffer
We do have 16KB buffer space defined in pxe.c, move it to bio.c and implement
bio_alloc()/bio_free()
Author: tsoome
Date: Sun Dec 30 08:50:34 2018
New Revision: 342615
URL: https://svnweb.freebsd.org/changeset/base/342615
Log:
MFC: r341231
loader: command_bcache() should print unsigned values
All bcache counters are unsigned.
Modified:
stable/12/stand/common/bcache.c
Directory
Author: tsoome
Date: Sun Dec 30 09:05:02 2018
New Revision: 342617
URL: https://svnweb.freebsd.org/changeset/base/342617
Log:
MFC r341329:
loader.efi: fix EFI getchar() for multiple consoles
This fix is ported from illumos (issue #9970), the analysis and initial
implementation was done
Author: tsoome
Date: Mon Dec 17 07:43:29 2018
New Revision: 342161
URL: https://svnweb.freebsd.org/changeset/base/342161
Log:
loader: zfs reader should not probe partitionless disks (UEFI case)
With r342151 I did fix the BIOS version of zfs_probe_dev() from accessing
the whole disk, but
Author: tsoome
Date: Sun Dec 16 08:58:14 2018
New Revision: 342151
URL: https://svnweb.freebsd.org/changeset/base/342151
Log:
loader: zfs reader should not probe partitionless disks
First of all, normal setups can not boot such pools as the tools
do not support installing boot programs.
Author: tsoome
Date: Mon Dec 3 19:35:21 2018
New Revision: 341438
URL: https://svnweb.freebsd.org/changeset/base/341438
Log:
zfs: we can boot from dataset with large_dnode enabled
loader has been supporting large_dnode for some time, no need to block the
feature for boot dataset.
Author: tsoome
Date: Fri Nov 30 08:42:14 2018
New Revision: 341329
URL: https://svnweb.freebsd.org/changeset/base/341329
Log:
loader.efi: fix EFI getchar() for multiple consoles
This fix is ported from illumos (issue #9970), the analysis and initial
implementation was done by John Levon.
Author: tsoome
Date: Fri Nov 30 08:01:11 2018
New Revision: 341328
URL: https://svnweb.freebsd.org/changeset/base/341328
Log:
loader: create separate lists for fd, cd and hd, merge bioscd with biosdisk
Create unified block IO implementation in BIOS version, like it is done in
UEFI
side.
Author: tsoome
Date: Thu Nov 29 14:21:01 2018
New Revision: 341231
URL: https://svnweb.freebsd.org/changeset/base/341231
Log:
loader: command_bcache() should print unsigned values
All bcache counters are unsigned.
Modified:
head/stand/common/bcache.c
Modified:
Author: tsoome
Date: Thu Nov 29 13:58:41 2018
New Revision: 341230
URL: https://svnweb.freebsd.org/changeset/base/341230
Log:
MFC r340047:
loader: do not probe floppy devices for zfs
Floppy devices do not have enough space for ZFS pool.
Modified:
stable/12/stand/i386/loader/main.c
Author: tsoome
Date: Thu Nov 29 13:55:57 2018
New Revision: 341229
URL: https://svnweb.freebsd.org/changeset/base/341229
Log:
MFC r340049:
loader: biosdisk should check if the media is present
The bd_print/bd_open/bd_strategy need to make sure the device does have
media, before getting
Author: tsoome
Date: Thu Nov 29 13:54:07 2018
New Revision: 341228
URL: https://svnweb.freebsd.org/changeset/base/341228
Log:
MFC r339959:
loader: issue edd probe before legacy ah=08 and detect no media
while probing for drives, use int13 extended info before standard one and
provide
Author: tsoome
Date: Thu Nov 29 13:44:37 2018
New Revision: 341227
URL: https://svnweb.freebsd.org/changeset/base/341227
Log:
MFC r339658:
loader: biosdisk interface should be able to cope with 4k sectors
The 4kn support in current bios specific biosdisk.c is broken, as the code
is
Author: tsoome
Date: Thu Nov 29 13:37:44 2018
New Revision: 341226
URL: https://svnweb.freebsd.org/changeset/base/341226
Log:
MFC r340215:
oader: always set media size from partition.
The disk access is validated by using partition table definitions, therefore
we have no need for if
Author: tsoome
Date: Thu Nov 29 13:01:21 2018
New Revision: 341225
URL: https://svnweb.freebsd.org/changeset/base/341225
Log:
MFC: r340240:
loader: ptable_open() check for ptable_cd9660read result is wrong
The ptable_*read() functions return NULL on read errors (and partition table
201 - 300 of 508 matches
Mail list logo