I'm trying to get OpenBSD to install on an x220 Thinkpad with Coreboot/SeaBIOS but I'm running into two problems: the ethernet device doesn't work and OpenBSD doesn't detect my HDD. dmesg said em0 wouldn't load because the EEPROM had an invalid signature. I have no idea why OpenBSD doesn't see my HDD though. It's strange because everything works fine under Linux. And I cannot seem to mount a usb drive under the OpenBSD installer to attach dmesg errors.
I originally posted this as a bug report to bug report mailing list but Theo said it would be better suited for Coreboot's and wasn't a bug in OpenBSD.
On Thu, Dec 20, 2018 at 05:30:36PM -0500, Robert Milton wrote:
I'm trying to get OpenBSD to install on an x220 Thinkpad with Coreboot/SeaBIOS but I'm running into two problems: the ethernet device doesn't work and OpenBSD doesn't detect my HDD. dmesg said em0 wouldn't load because the EEPROM had an invalid signature. I have no idea why OpenBSD doesn't see my HDD though. It's strange because everything works fine under Linux. And I cannot seem to mount a usb drive under the OpenBSD installer to attach dmesg errors.
I had the same issue. Interestingly, NetBSD seemed to work just fine, and Linux, so it is something specific to the handling of the ahci device under the OpenBSD kernel.
I tried with both SeaBIOS and grub payloads.
iirc I was getting something along the lines of -
ahci0 at pci0 dev x function y "Intel 6 Series AHCI" rev 0x0x: msi, unable to reset controller
It's possible NetBSD and Linux have workarounds to reset the controller, in the same way Linux can also bring up gbe even if you don't bake the firmware into your image.
I originally posted this as a bug report to bug report mailing list but Theo said it would be better suited for Coreboot's and wasn't a bug in OpenBSD.
-- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
Hi, (sorry, trying to reply old thread)
I'm runinng coreboot 4.7 without any problems on OpenBSD. I have compiled 4.9 and master and both have the same problem for the hci devices. On GNU/Linux I have experience inestability and lock ups.
I'm running with full ME.
Something must have be broken between 4.7 and 4.9 (I haven't been able to build 4.8.1, still trying).
Hope someone has any solution or knowns what is happening.
regards
I experienced problems with a non working ethernet interface on my x230. The reason was that I accidentally touched the embedded controller region. The EC participates in setting the ethernet interface up.
So if I were you I would check if I flashed the regions correctly.
The best way is to first only flash the BIOS region. If everything works than you can try the ME region and so forth. Flashrom has switches to explicitely only flash a certain region.
Am Donnerstag, den 20.12.2018, 17:30 -0500 schrieb Robert Milton:
I'm trying to get OpenBSD to install on an x220 Thinkpad with Coreboot/SeaBIOS but I'm running into two problems: the ethernet device doesn't work and OpenBSD doesn't detect my HDD. dmesg said em0 wouldn't load because the EEPROM had an invalid signature. I have no idea why OpenBSD doesn't see my HDD though. It's strange because everything works fine under Linux. And I cannot seem to mount a usb drive under the OpenBSD installer to attach dmesg errors.
I originally posted this as a bug report to bug report mailing list but Theo said it would be better suited for Coreboot's and wasn't a bug in OpenBSD.
I experienced problems with a non working ethernet interface on my x230. The reason was that I accidentally touched the embedded controller region. The EC participates in setting the ethernet interface up.
So if I were you I would check if I flashed the regions correctly.
The best way is to first only flash the BIOS region. If everything works than you can try the ME region and so forth. Flashrom has switches to explicitely only flash a certain region.
PS: I got an 'undilivered mail return to sender' for the address: Robert Milton donteatmyinbox@gmx.com Oô
Am Donnerstag, den 20.12.2018, 17:30 -0500 schrieb Robert Milton:
I'm trying to get OpenBSD to install on an x220 Thinkpad with Coreboot/SeaBIOS but I'm running into two problems: the ethernet device doesn't work and OpenBSD doesn't detect my HDD. dmesg said em0 wouldn't load because the EEPROM had an invalid signature. I have no idea why OpenBSD doesn't see my HDD though. It's strange because everything works fine under Linux. And I cannot seem to mount a usb drive under the OpenBSD installer to attach dmesg errors.
I originally posted this as a bug report to bug report mailing list but Theo said it would be better suited for Coreboot's and wasn't a bug in OpenBSD.