Project

General

Profile

Actions

Regression #13522

closed

Minnowboard Turbot additions are no longer present

Added by Steve Wheeler over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
amd64

Description

The installer no longer detects an MBT device and adds the expected loader.conf.local file and values.

The required kernel modules to drive the hotplug HDMI port are not present to be loaded anyway. i915kms drm2

It looks like a patch has been lost in the rebase.

Tested:

2.7.0-DEVELOPMENT (amd64)
built on Tue Sep 27 06:03:57 UTC 2022
FreeBSD 14.0-CURRENT

Actions #1

Updated by Kristof Provost over 1 year ago

It looks like the i915kms driver has been removed from the kernel in main (14) so that's why we don't have the module any more.
We can instead install the drm-510-kmod port, which now contains this driver. I'll post patches to add this to amd64 images soon.

The lack of the expected loader variables is probably due to the missing factory script. (See https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/103)
Brad merged improvement to the installer to make this all easier to maintain, but hasn't yet migrated all of the factory script customisation.

Actions #2

Updated by Kristof Provost over 1 year ago

https://gitlab.netgate.com/pfSense/Crossbuild/-/merge_requests/102
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/904

Those should ensure the driver is installed, but won't fix the missing loader variables. I'll coordinate with Brad about that.

Actions #3

Updated by Brad Davis over 1 year ago

  • Assignee set to Brad Davis

I have started the work to add the customizations back

Actions #4

Updated by Kristof Provost over 1 year ago

This should be fixed as of 5667935a3058064442fc16363f825dfc4bce0c90.

I don't have the hardware to test this myself though, so it'd be appreciated if someone could test tomorrow's snapshot.

Actions #5

Updated by Lev Prokofev over 1 year ago

Tested on MBT-2220

2.7.0-DEVELOPMENT (amd64)
built on Tue Dec 15 06:07:19 UTC 2022
FreeBSD 14.0-CURRENT

No video output after hotplug HDMI

Actions #6

Updated by Ronald Antony 10 months ago

I assume the either zfs or hotplug driver issue remains?
I remember there was a boot issue, which is why I decided to keep this disabled, and opt for zfs instead; a permanently attached screen (or an extra reboot) is a small price to pay to have zfs...

Actions #7

Updated by Kristof Provost 10 months ago

  • Status changed from New to Feedback

Loading of i915kms.ko is fixed with https://gitlab.netgate.com/pfSense/Crossbuild/-/commit/7193baf3aced99352e315801cbd9e0d35c9074d2 and will be available in tomorrow's snapshot.

Actions #8

Updated by Steve Wheeler 10 months ago

You should be able to load both the i915/drm and zfs drivers now. The available module space was increased a while back.

Actions #9

Updated by Steve Wheeler 10 months ago

  • Status changed from Feedback to Resolved

Works as expected in todays beta build: 2.7.0.b.20230620.0600

[2.7.0-BETA][admin@4220.stevew.lan]/root: kldstat
Id Refs Address                Size Name
 1   58 0xffffffff80200000  33a4468 kernel
 2    1 0xffffffff835a6000     aab0 opensolaris.ko
 3    1 0xffffffff835b1000   6d2e48 zfs.ko
 4    1 0xffffffff83c84000     7980 cryptodev.ko
 5    1 0xffffffff842e5000     2220 cpuctl.ko
 6    1 0xffffffff842e8000   182c18 i915kms.ko
 7    1 0xffffffff8446b000    73da0 drm.ko
 8    1 0xffffffff844df000     22a8 iic.ko
 9    2 0xffffffff844e2000     1100 linuxkpi_gplv2.ko
10    3 0xffffffff844e4000     6320 dmabuf.ko
11    3 0xffffffff844eb000     30b0 linuxkpi_hdmi.ko
12    1 0xffffffff844ef000     4248 ichsmb.ko
13    1 0xffffffff844f4000     2178 smbus.ko
14    1 0xffffffff844f7000     5ee0 ig4.ko

HDMI Hotplug works as expected.

Actions

Also available in: Atom PDF