Hi When calling reboot the X1 hangs on the Lenovo boot screen. Powering it off via the Power-Button and starting it up again normally works fine. mfg Tobias
Hi Tobias, this is offtopic, but can you write some info this notebook here https://wiki.freebsd.org/Laptops/Thinkpad_X1_Carbon ?
Sure. I modified the page.
I have the very same problem with a Lenovo P50
I can ad that this is not yet fixed as of r325585
Hi, i can confirm the same for T46p. Reboot hangs on Logo or even before displaying the BIOS info screen, when the logo is disabled in the BIOS. Only a text cursor is on the screen in that case. Good to know i`m not alone ;-) Some reboot related stuff does not seem to work. `reboot` in the kernel debugger for instance just hangs and does not restart the machine.
I confirm too with Lenovo X1 Carbon 5th gen with FreeBSD 11 RELEASE, STABLE and FreeBSD CURRENT
Same problem with Thinkpad X260
I had the same problem with X1 Carbon Gen4, but when I started using drm-next-kmod this problem seems disappeared. I'm not sure, because this happened just after upgrade to 12.0-CURRENT r329155. Now it can reliable reboot from X11 and from console.
I encountered the same problem with my T470s.
I also have this issue on a Dell Inspiron 7352. I have a separate bug report for this laptop: Bug 224557. For a little while it rebooted, but it suddenly stopped working with very recent CURRENTs. I do not have this issue on a HP EliteBook Folio 1040 G1 (which I am typing this message from). Both laptops are personal, however the former is limited to schoolwork/internship (which is mostly non-FreeBSD other than testing) and the latter runs FreeBSD and is used for personal stuff (and port maintenance when I'm not on my dekstop).
(In reply to Neel Chauhan from comment #10) I also tried graphics/drm-next-kmod on the Inspiron, but it still couldn't reboot. No wonder why I have the EliteBook.
On the Dell Inspiron 7352, I noticed that if I boot in single user mode, I can reboot successfully. So I am suspecting that the problem is in userspace and not in the kernel (or could be a userland program setting something in the kernel which prevents reboots on some laptops).
(In reply to Neel Chauhan from comment #12) Rebooting successfully provided I don't go to multi-user mode.
I believe this is an issue with ng_ubt. Information on how to fix it (at least on my Inspiron, maybe also for ThinkPads) is described on my website: https://www.neelc.org/dell-inspiron-7352-fixing-the-blank-screen-on-reboot-problem-on-freebsd/ In short, you need a .conf file in /etc/devd with: nomatch 50 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "vendor" "VENDOR_ID"; match "product" "PRODUCT_ID"; #action "kldload -n ng_ubt"; action "logger blocked bluetooth module"; }; Replace VENDOR_ID and PRODUCT_ID with the vendor and product IDs from ubt0. You can find this out with: grep -R ubt /var/log/messages
Preventing devd from loading the bluetooth driver allows my T470s running 12-CURRENT to reboot without problems.
Same with my T470s, just a note that Neels solution wasn't enough, I had to follow https://gist.github.com/myfreeweb/44f4f3e791a057bc4f3619a166a03b87 in order to prevent bluetooth being loaded, but after that rebooting is working !
First off, thank you so much for the positive feedback around my workaround. Regarding Comment 16, the reason why I did not disable Bluetooth completely is because if people occasionally plug in a USB Bluetooth adapter, they shouldn't lose BT even if it means a hassle to reboot once in a while. But if you had better success disabling BT completely then hey, maybe that's the way to go. Also my workaround (in terms of rebooting) doesn't work if you don't put in **your** VENDOR and PRODUCT hex values (your meaning not mine).
Disabling the BT chip in the BIOS seems to do the trick for me. Good catch. Thanks for the workaround.
*** Bug 224557 has been marked as a duplicate of this bug. ***
This issue was resolved on the Thinkpad x270 in summer 2020, if it still holds please reopen the bug.