* [PATCH v16 00/18] osstest: initial FreeBSD support
@ 2017-11-10 18:10 Roger Pau Monne
2017-11-10 18:10 ` [PATCH v16 17/18] osstest: remove the loader timeout from the install image Roger Pau Monne
2017-11-10 18:10 ` [PATCH v16 18/18] osstest: expand the list of tested disk controllers Roger Pau Monne
0 siblings, 2 replies; 3+ messages in thread
From: Roger Pau Monne @ 2017-11-10 18:10 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson
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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v16 17/18] osstest: remove the loader timeout from the install image
2017-11-10 18:10 [PATCH v16 00/18] osstest: initial FreeBSD support Roger Pau Monne
@ 2017-11-10 18:10 ` Roger Pau Monne
2017-11-10 18:10 ` [PATCH v16 18/18] osstest: expand the list of tested disk controllers Roger Pau Monne
1 sibling, 0 replies; 3+ messages in thread
From: Roger Pau Monne @ 2017-11-10 18:10 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, Roger Pau Monne
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.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
ts-freebsd-build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ts-freebsd-build b/ts-freebsd-build
index 54cb5902..5e7e1078 100755
--- a/ts-freebsd-build
+++ b/ts-freebsd-build
@@ -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"
--
2.13.6 (Apple Git-96)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v16 18/18] osstest: expand the list of tested disk controllers
2017-11-10 18:10 [PATCH v16 00/18] osstest: initial FreeBSD support Roger Pau Monne
2017-11-10 18:10 ` [PATCH v16 17/18] osstest: remove the loader timeout from the install image Roger Pau Monne
@ 2017-11-10 18:10 ` Roger Pau Monne
1 sibling, 0 replies; 3+ messages in thread
From: Roger Pau Monne @ 2017-11-10 18:10 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, Roger Pau Monne
The 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.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
ts-freebsd-host-install | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ts-freebsd-host-install b/ts-freebsd-host-install
index 573245ad..a12591cb 100755
--- a/ts-freebsd-host-install
+++ b/ts-freebsd-host-install
@@ -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;
--
2.13.6 (Apple Git-96)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-10 18:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-10 18:10 [PATCH v16 00/18] osstest: initial FreeBSD support Roger Pau Monne
2017-11-10 18:10 ` [PATCH v16 17/18] osstest: remove the loader timeout from the install image Roger Pau Monne
2017-11-10 18:10 ` [PATCH v16 18/18] osstest: expand the list of tested disk controllers Roger Pau Monne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).