osstest: initial FreeBSD support
v16 cover osstest: initial FreeBSD support
Hello,
This are again the remaining non-acked patches of the FreeBSD osstest series. The two patches sent with this cover letter fix two issues found on the Mass colo.
Patch 17 fixes an issue where the FreeBSD installer bootloader receives random keystrokes on the console, thus aborting the automatic boot. The solution is to create an installer that doesn't wait for any keystrokes and just boots into the default kernel. FWIW this only happens when booting the installer image from pxelinux + memdisk, I haven't seen it happening when booting FreeBSD once installed to disk. In some spare free time I might try to figure out what's actually going on, but this bodge seems like the easiest solution ATM.
Patch 18 adds more disk controllers to the list of proved devices in order to find the hard drive. This was found while trying to install on nobling, which has some kind of RAID controller. Now all the possible disk drivers have been added to the list, so we shouldn't expect further problems for the time being.
I've pushed the whole series to:
git://xenbits.xen.org/people/royger/osstest.git freebsd_v16
I've also created and anointed a new install image with patch 17 applied. This image is using the same revision as the one already anointed, but without the loader delay. I've run an examine flight with the image, and it passed on all the hosts, it's flight 115723 (there are other issues with not being able to fetch the logs due to a mess up with my ssh keys, those can be ignored).
So I think now Ian can run another examine flight, with blessing real that will hopefully succeed on all the boxes.
After that the rest of the series should be pushed, and cr-daily-branch freebsd-master should be added to the cron job.
Note that currently due to issues on upstream the build will fail. This is expected and I've already sent a bug report upstream [0]. I expect it will get fixed at some point.
Thanks, Roger.
[0] https://lists.freebsd.org/pipermail/freebsd-current/2017-November/067488.html
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH v16 17/18 osstest: remove the loader timeout from the install image
When the FreeBSD installer is booted on the godello{0/1} boxes it receives spurious key strokes. This doesn't happen so far when booted from disk, or with any other boxes.
In order to cope with this remove the loader timeout on the install image. Note that failure to boot will still drop the loader into a manual prompt.
--- ts-freebsd-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ts-freebsd-build +2 -1
@@ -135,7 +135,7 @@ chmod 0600 etc/ssh/ssh_host_*_key chmod 0644 etc/ssh/ssh_host_*_key.pub # Setup serial console output for stage1 -printf "%s" "-h -S$bauds" >> boot.config +printf "%s" "-hn -S$bauds" >> boot.config cat << ENDBOOT >> boot/loader.conf # Serial console configuration boot_serial="YES"
@@ -143,6 +143,7 @@ comconsole_speed="$bauds" console="comconsole" boot_verbose="YES" beastie_disable="YES" +autoboot_delay="-1" # mfs boot parameters mfs_load="YES"
Signature · 7 lines
2.13.6 (Apple Git-96) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH v16 18/18 osstest: expand the list of tested disk controllers
In reply to Roger Pau MonneThe Mass osstest instance has a more diverse list of hardware disk controllers, so expand the list in order to include all the possible disk drivers.
For the record, this list can be found at:
usr.sbin/bsdconfig/share/device.subr
In the FreeBSD source tree.
--- ts-freebsd-host-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ts-freebsd-host-install +2 -1
@@ -122,7 +122,8 @@ sub install () { my $authkeys = authorized_keys(); my $knownhosts = known_hosts(); my $sshd_keys_url = create_ssh_overlay(); - my @disk_names = qw(ada0 da0 ad0); + my @disk_names = + qw(ada0 da0 ad0 aacd0 amrd0 idad0 ipsd0 mfid0 mlxd0 twed0); my $target_sets = "/root/osstest_sets"; my $disk; my $nic;
Signature · 7 lines
2.13.6 (Apple Git-96) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel