NetBSD Problem Report #52493

From www@NetBSD.org  Sun Aug 20 18:31:34 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A65417A266
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 20 Aug 2017 18:31:34 +0000 (UTC)
Message-Id: <20170820183133.B77F87A27C@mollari.NetBSD.org>
Date: Sun, 20 Aug 2017 18:31:33 +0000 (UTC)
From: vezhlys@gmail.com
Reply-To: vezhlys@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
X-Send-Pr-Version: www-1.0

>Number:         52493
>Category:       port-amd64
>Synopsis:       NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 20 18:35:00 +0000 2017
>Closed-Date:    Wed Sep 01 20:52:37 +0000 2021
>Last-Modified:  Wed Sep 01 21:00:02 +0000 2021
>Originator:     Andrius V
>Release:        NetBSD 8.0_BETA
>Organization:
>Environment:
>Description:
Recently I performed some NetBSD 8 testing on various hardware including Mac Mini (MGEN2AE/A). The problem I encountered in booting it on this system was that it just freezes without any error message. After some trial and error I found that the freeze occurs on xhci_init, specifically on this line (xhci.c line 1180):

xhci_op_write_4(sc, XHCI_USBCMD, XHCI_CMD_INTE|XHCI_CMD_RS); /* Go! */

Commenting out the line and rebuilding the kernel actually allows system to boot (of course, USB3 fails to work but at least system boot doesn't freeze). Unfortunately my knowledge stops here though I can try to get more info if needed.

Ideally it would be nice to make USB3 work (as mac mini is quite useless without USB) but I believe at least the freeze shouldn't occur on the boot. 

Debug messages from boot for xhci (with commented out line above):

...
xhci0 at pci0 dev 20 function 0: vendor 8086 product 9c31 (rev. 0x04)
xhci0: interrupting at msi2 vec 0
xhci0: xHCI version 1.0
xhci0: hcs1=d000820 hcs2=84000054 hcs3=200000a
xhci0: hcc=0x200077c1<XECP=0x2000,MAXPSA=0x7,SEC,SPC,PAE,NSS,LTC,AC64>
xhci0: xECP 8000
xhci0: ECR: 0x02000802
xhci0:  SP: 02000802 20425355 30180901 00000000
xhci0:  hs ports 1 - 9
xhci0: ECR: 0x03000802
xhci0:  SP: 03000802 20425355 1000040a 00000000
xhci0:  ss ports 10 - 13
xhci0: ECR: 0x00010cc1
xhci0: ECR: 0x0000fcc0
xhci0: ECR: 0x00000801
xhci0: ECR: 0x0005000a
xhci0: PAGESIZE 0x00000001
xhci0: sc_pgsz 0x00001000
xhci0: sc_maxslots 0x00000020
xhci0: sc_maxports 13
xhci0: sc_maxspbuf 16
xhci0: eventst: 000000010f414fc0 0xffff80008e5c7fc0 1000
xhci0: dcbaa: 000000010f415000 0xffff80008e5c8000 1000
xhci0: current IMOD 1000
xhci0: USBCMD 00000000
xhci0: USB3PRM / USB3.0 configurable ports: 0x0000000f
xhci0: USB3_PSSEN / Enabled USB3.0 ports under xHCI: 0x0000000f
xhci0: XUSB2PRM / USB2.0 ports can switch from EHCI to xHCI:0x000001ff
xhci0: XUSB2PR / USB2.0 ports under xHCI: 0x000001ff
usb0 at xhci0: USB revision 3.0
usb0: WARNING: power management not supported
usb1 at xhci0: USB revision 2.0
usb1: WARNING: power management not supported
...
uhub0 at usb0: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 1.00/1.00, addr 0
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 9 ports with 9 removable, self powered
...
uhub1: device problem, disabling port 1
uhub1: device problem, disabling port 2
uhub1: device problem, disabling port 3
uhub1: device problem, disabling port 4
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-amd64-maintainer->skrll
Responsible-Changed-By: skrll@NetBSD.org
Responsible-Changed-When: Fri, 25 Aug 2017 12:40:43 +0000
Responsible-Changed-Why:
Take


From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: port-amd64/52493: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
Date: Fri, 1 Sep 2017 15:52:22 +0300

 Hello NetBSD team,

 I performed additional testing the get more information regarding this
 issue. I tried to boot different BSDs and compare drivers
 (unfortunately all BSDs seem to have their own take on xhci driver).
 OpenBSD shares exactly the same issue with the freezing system on
 their counterpart of xhci_op_write_4(sc, XHCI_USBCMD,
 XHCI_CMD_INTE|XHCI_CMD_RS); call (XOWRITE4(sc, XHCI_USBCMD,
 XHCI_CMD_INTE|XHCI_CMD_RS);). FreeBSD boots and identifies USB devices
 properly on the other hand. So it can be some kind of reference to
 investigate the cause (but I am not sure yet where to look). They
 execute it a bit differently (XWRITE4(sc, oper, XHCI_USBCMD,
 XHCI_CMD_RS | XHCI_CMD_INTE | XHCI_CMD_HSEE);) but it's not the cause
 of the problem. Coincidentally I have same usb3 controller on one
 lenovo laptop (or at least identification message is the same up to
 revision) but it boots NetBSD and identifies USB devices properly. So
 in the end it seems the problem is caused by something before
 initialization of the controller (device information/memory?). Any
 clues where can I look or what information can I provide? Thank you.

 Regards,
 Andrius V

 On Sun, Aug 20, 2017 at 9:35 PM,  <vezhlys@gmail.com> wrote:
 >>Number:         52493
 >>Category:       port-amd64
 >>Synopsis:       NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       medium
 >>Responsible:    port-amd64-maintainer
 >>State:          open
 >>Class:          sw-bug
 >>Submitter-Id:   net
 >>Arrival-Date:   Sun Aug 20 18:35:00 +0000 2017
 >>Originator:     Andrius V
 >>Release:        NetBSD 8.0_BETA
 >>Organization:
 >>Environment:
 >>Description:
 > Recently I performed some NetBSD 8 testing on various hardware including =
 Mac Mini (MGEN2AE/A). The problem I encountered in booting it on this syste=
 m was that it just freezes without any error message. After some trial and =
 error I found that the freeze occurs on xhci_init, specifically on this lin=
 e (xhci.c line 1180):
 >
 > xhci_op_write_4(sc, XHCI_USBCMD, XHCI_CMD_INTE|XHCI_CMD_RS); /* Go! */
 >
 > Commenting out the line and rebuilding the kernel actually allows system =
 to boot (of course, USB3 fails to work but at least system boot doesn't fre=
 eze). Unfortunately my knowledge stops here though I can try to get more in=
 fo if needed.
 >
 > Ideally it would be nice to make USB3 work (as mac mini is quite useless =
 without USB) but I believe at least the freeze shouldn't occur on the boot.
 >
 > Debug messages from boot for xhci (with commented out line above):
 >
 > ...
 > xhci0 at pci0 dev 20 function 0: vendor 8086 product 9c31 (rev. 0x04)
 > xhci0: interrupting at msi2 vec 0
 > xhci0: xHCI version 1.0
 > xhci0: hcs1=3Dd000820 hcs2=3D84000054 hcs3=3D200000a
 > xhci0: hcc=3D0x200077c1<XECP=3D0x2000,MAXPSA=3D0x7,SEC,SPC,PAE,NSS,LTC,AC=
 64>
 > xhci0: xECP 8000
 > xhci0: ECR: 0x02000802
 > xhci0:  SP: 02000802 20425355 30180901 00000000
 > xhci0:  hs ports 1 - 9
 > xhci0: ECR: 0x03000802
 > xhci0:  SP: 03000802 20425355 1000040a 00000000
 > xhci0:  ss ports 10 - 13
 > xhci0: ECR: 0x00010cc1
 > xhci0: ECR: 0x0000fcc0
 > xhci0: ECR: 0x00000801
 > xhci0: ECR: 0x0005000a
 > xhci0: PAGESIZE 0x00000001
 > xhci0: sc_pgsz 0x00001000
 > xhci0: sc_maxslots 0x00000020
 > xhci0: sc_maxports 13
 > xhci0: sc_maxspbuf 16
 > xhci0: eventst: 000000010f414fc0 0xffff80008e5c7fc0 1000
 > xhci0: dcbaa: 000000010f415000 0xffff80008e5c8000 1000
 > xhci0: current IMOD 1000
 > xhci0: USBCMD 00000000
 > xhci0: USB3PRM / USB3.0 configurable ports: 0x0000000f
 > xhci0: USB3_PSSEN / Enabled USB3.0 ports under xHCI: 0x0000000f
 > xhci0: XUSB2PRM / USB2.0 ports can switch from EHCI to xHCI:0x000001ff
 > xhci0: XUSB2PR / USB2.0 ports under xHCI: 0x000001ff
 > usb0 at xhci0: USB revision 3.0
 > usb0: WARNING: power management not supported
 > usb1 at xhci0: USB revision 2.0
 > usb1: WARNING: power management not supported
 > ...
 > uhub0 at usb0: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev =
 1.00/1.00, addr 0
 > uhub0: 4 ports with 4 removable, self powered
 > uhub1 at usb1: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev =
 2.00/1.00, addr 0
 > uhub1: 9 ports with 9 removable, self powered
 > ...
 > uhub1: device problem, disabling port 1
 > uhub1: device problem, disabling port 2
 > uhub1: device problem, disabling port 3
 > uhub1: device problem, disabling port 4
 >>How-To-Repeat:
 >
 >>Fix:
 >

From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: skrll@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: port-amd64/52493: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
Date: Mon, 11 Sep 2017 17:50:31 +0300

 Hello again,

 I had a chance to continue my testing efforts and I think I came up
 with quite a clear reason for this bug and it puts a partial doubt if
 it can/needs to be fixed. Long story short that code probably would
 work on EFI boot but it fails on BIOS emulation (more details later).
 Indirectly I could confirm that with OpenBSD (it has both boot options
 in the installation image and it freezes on BIOS boot but successfully
 initialize controller attaches USB devices on EFI boot). When I was
 trying FreeBSD I was having EFI boot as well. The problem is that
 NetBSD EFI boot fails before any log messages appear on the screen
 (after loading the kernel system shows cursor in the upper edge of the
 screen for some time and then just reboots). I would like to submit a
 bug regarding this issue as well but it's hard to do it without having
 any details on the failure itself...

 To describe my findings in more details I probably should start from
 the note that I have a laptop with the same controller I had a chance
 to compare boot messages between Mac Mini and the laptop. The main
 finding which pointed me to the problem that one of ECR values was
 0x00000801 in mac mini instead of 0x00010801 in laptop (in xhci_ecp
 function in xhci.c) which in turn makes bios_sem value 0, xHCI
 controller never becomes owned by OS. Eventually xhci_op_write_4(sc,
 XHCI_USBCMD, XHCI_CMD_INTE|XHCI_CMD_RS) execution freezes at the boot
 process (some hardware specifics not to return error/timeout?). I even
 tried to do set value to 1 on purpose when I have this ECR value and
 NetBSD actually didn't freeze anymore on boot. uhub* devices still
 ended up with "device problem, disabling port " messages but I
 wouldn't be surprised if it is related. So I am not sure what can be a
 solution here. It would be great to either detect this situation
 somehow or at least timeout the operation and show warning instead.
 Just hope this info will help to come up with some solution. Thank
 you.

 Regards,
 Andrius V

 On Fri, Sep 1, 2017 at 3:55 PM, Andrius V <vezhlys@gmail.com> wrote:
 > The following reply was made to PR port-amd64/52493; it has been noted by GNATS.
 >
 > From: Andrius V <vezhlys@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc: netbsd-bugs@netbsd.org
 > Subject: Re: port-amd64/52493: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
 > Date: Fri, 1 Sep 2017 15:52:22 +0300
 >
 >  Hello NetBSD team,
 >
 >  I performed additional testing the get more information regarding this
 >  issue. I tried to boot different BSDs and compare drivers
 >  (unfortunately all BSDs seem to have their own take on xhci driver).
 >  OpenBSD shares exactly the same issue with the freezing system on
 >  their counterpart of xhci_op_write_4(sc, XHCI_USBCMD,
 >  XHCI_CMD_INTE|XHCI_CMD_RS); call (XOWRITE4(sc, XHCI_USBCMD,
 >  XHCI_CMD_INTE|XHCI_CMD_RS);). FreeBSD boots and identifies USB devices
 >  properly on the other hand. So it can be some kind of reference to
 >  investigate the cause (but I am not sure yet where to look). They
 >  execute it a bit differently (XWRITE4(sc, oper, XHCI_USBCMD,
 >  XHCI_CMD_RS | XHCI_CMD_INTE | XHCI_CMD_HSEE);) but it's not the cause
 >  of the problem. Coincidentally I have same usb3 controller on one
 >  lenovo laptop (or at least identification message is the same up to
 >  revision) but it boots NetBSD and identifies USB devices properly. So
 >  in the end it seems the problem is caused by something before
 >  initialization of the controller (device information/memory?). Any
 >  clues where can I look or what information can I provide? Thank you.
 >
 >  Regards,
 >  Andrius V
 >
 >  On Sun, Aug 20, 2017 at 9:35 PM,  <vezhlys@gmail.com> wrote:
 >  >>Number:         52493
 >  >>Category:       port-amd64
 >  >>Synopsis:       NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
 >  >>Confidential:   no
 >  >>Severity:       serious
 >  >>Priority:       medium
 >  >>Responsible:    port-amd64-maintainer
 >  >>State:          open
 >  >>Class:          sw-bug
 >  >>Submitter-Id:   net
 >  >>Arrival-Date:   Sun Aug 20 18:35:00 +0000 2017
 >  >>Originator:     Andrius V
 >  >>Release:        NetBSD 8.0_BETA
 >  >>Organization:
 >  >>Environment:
 >  >>Description:
 >  > Recently I performed some NetBSD 8 testing on various hardware including =
 >  Mac Mini (MGEN2AE/A). The problem I encountered in booting it on this syste=
 >  m was that it just freezes without any error message. After some trial and =
 >  error I found that the freeze occurs on xhci_init, specifically on this lin=
 >  e (xhci.c line 1180):
 >  >
 >  > xhci_op_write_4(sc, XHCI_USBCMD, XHCI_CMD_INTE|XHCI_CMD_RS); /* Go! */
 >  >
 >  > Commenting out the line and rebuilding the kernel actually allows system =
 >  to boot (of course, USB3 fails to work but at least system boot doesn't fre=
 >  eze). Unfortunately my knowledge stops here though I can try to get more in=
 >  fo if needed.
 >  >
 >  > Ideally it would be nice to make USB3 work (as mac mini is quite useless =
 >  without USB) but I believe at least the freeze shouldn't occur on the boot.
 >  >
 >  > Debug messages from boot for xhci (with commented out line above):
 >  >
 >  > ...
 >  > xhci0 at pci0 dev 20 function 0: vendor 8086 product 9c31 (rev. 0x04)
 >  > xhci0: interrupting at msi2 vec 0
 >  > xhci0: xHCI version 1.0
 >  > xhci0: hcs1=3Dd000820 hcs2=3D84000054 hcs3=3D200000a
 >  > xhci0: hcc=3D0x200077c1<XECP=3D0x2000,MAXPSA=3D0x7,SEC,SPC,PAE,NSS,LTC,AC=
 >  64>
 >  > xhci0: xECP 8000
 >  > xhci0: ECR: 0x02000802
 >  > xhci0:  SP: 02000802 20425355 30180901 00000000
 >  > xhci0:  hs ports 1 - 9
 >  > xhci0: ECR: 0x03000802
 >  > xhci0:  SP: 03000802 20425355 1000040a 00000000
 >  > xhci0:  ss ports 10 - 13
 >  > xhci0: ECR: 0x00010cc1
 >  > xhci0: ECR: 0x0000fcc0
 >  > xhci0: ECR: 0x00000801
 >  > xhci0: ECR: 0x0005000a
 >  > xhci0: PAGESIZE 0x00000001
 >  > xhci0: sc_pgsz 0x00001000
 >  > xhci0: sc_maxslots 0x00000020
 >  > xhci0: sc_maxports 13
 >  > xhci0: sc_maxspbuf 16
 >  > xhci0: eventst: 000000010f414fc0 0xffff80008e5c7fc0 1000
 >  > xhci0: dcbaa: 000000010f415000 0xffff80008e5c8000 1000
 >  > xhci0: current IMOD 1000
 >  > xhci0: USBCMD 00000000
 >  > xhci0: USB3PRM / USB3.0 configurable ports: 0x0000000f
 >  > xhci0: USB3_PSSEN / Enabled USB3.0 ports under xHCI: 0x0000000f
 >  > xhci0: XUSB2PRM / USB2.0 ports can switch from EHCI to xHCI:0x000001ff
 >  > xhci0: XUSB2PR / USB2.0 ports under xHCI: 0x000001ff
 >  > usb0 at xhci0: USB revision 3.0
 >  > usb0: WARNING: power management not supported
 >  > usb1 at xhci0: USB revision 2.0
 >  > usb1: WARNING: power management not supported
 >  > ...
 >  > uhub0 at usb0: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev =
 >  1.00/1.00, addr 0
 >  > uhub0: 4 ports with 4 removable, self powered
 >  > uhub1 at usb1: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev =
 >  2.00/1.00, addr 0
 >  > uhub1: 9 ports with 9 removable, self powered
 >  > ...
 >  > uhub1: device problem, disabling port 1
 >  > uhub1: device problem, disabling port 2
 >  > uhub1: device problem, disabling port 3
 >  > uhub1: device problem, disabling port 4
 >  >>How-To-Repeat:
 >  >
 >  >>Fix:
 >  >
 >

State-Changed-From-To: open->analyzed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Wed, 20 Sep 2017 07:28:43 +0000
State-Changed-Why:
BIOS boot issue


State-Changed-From-To: analyzed->feedback
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000
State-Changed-Why:
Is this still a problem?


From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: skrll@netbsd.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: port-amd64/52493 (NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A))
Date: Sun, 21 Feb 2021 02:55:36 +0200

 --0000000000008fe52005bbce2565
 Content-Type: text/plain; charset="UTF-8"

 It's hard to tell but likely yes. BIOS boot still freezes on the latest
 kernel, but l am not sure if it's still for the same reason which was
 related to xhci on BIOS boot only. I would need more time to investigate
 and confirm. On another hand, unified installation image defaults to UEFI
 boot currently, which boots properly. Thus, I am not sure if it's very
 important bug to fix.

 On Sat, Feb 20, 2021, 11:32 <skrll@netbsd.org> wrote:

 > Synopsis: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
 >
 > State-Changed-From-To: analyzed->feedback
 > State-Changed-By: skrll@NetBSD.org
 > State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000
 > State-Changed-Why:
 > Is this still a problem?
 >
 >
 >
 >

 --0000000000008fe52005bbce2565
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"auto">It&#39;s hard to tell but likely yes. BIOS boot still fre=
 ezes on the latest kernel, but l am not sure if it&#39;s still for the same=
  reason which was related to xhci on BIOS boot only. I would need more time=
  to investigate and confirm. On another hand, unified installation image de=
 faults to UEFI boot currently, which boots properly. Thus, I am not sure if=
  it&#39;s very important bug to fix.</div><br><div class=3D"gmail_quote"><d=
 iv dir=3D"ltr" class=3D"gmail_attr">On Sat, Feb 20, 2021, 11:32  &lt;<a hre=
 f=3D"mailto:skrll@netbsd.org">skrll@netbsd.org</a>&gt; wrote:<br></div><blo=
 ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
 cc solid;padding-left:1ex">Synopsis: NetBSD boot freezes on xhci_init on Ma=
 c Mini (MGEN2AE/A)<br>
 <br>
 State-Changed-From-To: analyzed-&gt;feedback<br>
 State-Changed-By: skrll@NetBSD.org<br>
 State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000<br>
 State-Changed-Why:<br>
 Is this still a problem?<br>
 <br>
 <br>
 <br>
 </blockquote></div>

 --0000000000008fe52005bbce2565--

From: Andrius V <vezhlys@gmail.com>
To: skrll@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/52493 (NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A))
Date: Sat, 20 Mar 2021 16:11:43 +0200

 --00000000000026b71605bdf86a39
 Content-Type: text/plain; charset="UTF-8"

 Hello,

 I am receiving notifications about providing the feedback still. Is it
 still something expected from me regarding this bug? In general, I believe
 that bug can be closed even if BIOS boot still fails. Since setup image is
 combined now, the issue should be much less relevant for new installations,
 since efi boot will be chosen by the Mac itself.

 Regards,
 Andrius V

 On Sun, Feb 21, 2021 at 3:00 AM Andrius V <vezhlys@gmail.com> wrote:

 > The following reply was made to PR port-amd64/52493; it has been noted by
 > GNATS.
 >
 > From: Andrius V <vezhlys@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc: skrll@netbsd.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org
 > Subject: Re: port-amd64/52493 (NetBSD boot freezes on xhci_init on Mac
 > Mini (MGEN2AE/A))
 > Date: Sun, 21 Feb 2021 02:55:36 +0200
 >
 >  --0000000000008fe52005bbce2565
 >  Content-Type: text/plain; charset="UTF-8"
 >
 >  It's hard to tell but likely yes. BIOS boot still freezes on the latest
 >  kernel, but l am not sure if it's still for the same reason which was
 >  related to xhci on BIOS boot only. I would need more time to investigate
 >  and confirm. On another hand, unified installation image defaults to UEFI
 >  boot currently, which boots properly. Thus, I am not sure if it's very
 >  important bug to fix.
 >
 >  On Sat, Feb 20, 2021, 11:32 <skrll@netbsd.org> wrote:
 >
 >  > Synopsis: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
 >  >
 >  > State-Changed-From-To: analyzed->feedback
 >  > State-Changed-By: skrll@NetBSD.org
 >  > State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000
 >  > State-Changed-Why:
 >  > Is this still a problem?
 >  >
 >  >
 >  >
 >  >
 >
 >  --0000000000008fe52005bbce2565
 >  Content-Type: text/html; charset="UTF-8"
 >  Content-Transfer-Encoding: quoted-printable
 >
 >  <div dir=3D"auto">It&#39;s hard to tell but likely yes. BIOS boot still
 > fre=
 >  ezes on the latest kernel, but l am not sure if it&#39;s still for the
 > same=
 >   reason which was related to xhci on BIOS boot only. I would need more
 > time=
 >   to investigate and confirm. On another hand, unified installation image
 > de=
 >  faults to UEFI boot currently, which boots properly. Thus, I am not sure
 > if=
 >   it&#39;s very important bug to fix.</div><br><div
 > class=3D"gmail_quote"><d=
 >  iv dir=3D"ltr" class=3D"gmail_attr">On Sat, Feb 20, 2021, 11:32  &lt;<a
 > hre=
 >  f=3D"mailto:skrll@netbsd.org">skrll@netbsd.org</a>&gt;
 > wrote:<br></div><blo=
 >  ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px
 > #c=
 >  cc solid;padding-left:1ex">Synopsis: NetBSD boot freezes on xhci_init on
 > Ma=
 >  c Mini (MGEN2AE/A)<br>
 >  <br>
 >  State-Changed-From-To: analyzed-&gt;feedback<br>
 >  State-Changed-By: skrll@NetBSD.org<br>
 >  State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000<br>
 >  State-Changed-Why:<br>
 >  Is this still a problem?<br>
 >  <br>
 >  <br>
 >  <br>
 >  </blockquote></div>
 >
 >  --0000000000008fe52005bbce2565--
 >
 >

 --00000000000026b71605bdf86a39
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div>Hello,<br></div><div><br></div><div>I am receiving no=
 tifications about providing the feedback still. Is it still something expec=
 ted from me regarding this bug? In general, I believe that bug can be close=
 d even if BIOS boot still fails. Since setup image is combined now, the iss=
 ue should be much less relevant for new installations, since efi boot will =
 be chosen by the Mac itself.<br></div><div><br></div><div>Regards,</div><di=
 v>Andrius V<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
 class=3D"gmail_attr">On Sun, Feb 21, 2021 at 3:00 AM Andrius V &lt;<a href=
 =3D"mailto:vezhlys@gmail.com">vezhlys@gmail.com</a>&gt; wrote:<br></div><bl=
 ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
 t:1px solid rgb(204,204,204);padding-left:1ex">The following reply was made=
  to PR port-amd64/52493; it has been noted by GNATS.<br>
 <br>
 From: Andrius V &lt;<a href=3D"mailto:vezhlys@gmail.com" target=3D"_blank">=
 vezhlys@gmail.com</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <a href=3D"mailto:skrll@netbsd.org" target=3D"_blank">skrll@netbsd.org<=
 /a>, <a href=3D"mailto:netbsd-bugs@netbsd.org" target=3D"_blank">netbsd-bug=
 s@netbsd.org</a>, <a href=3D"mailto:gnats-admin@netbsd.org" target=3D"_blan=
 k">gnats-admin@netbsd.org</a><br>
 Subject: Re: port-amd64/52493 (NetBSD boot freezes on xhci_init on Mac Mini=
  (MGEN2AE/A))<br>
 Date: Sun, 21 Feb 2021 02:55:36 +0200<br>
 <br>
 =C2=A0--0000000000008fe52005bbce2565<br>
 =C2=A0Content-Type: text/plain; charset=3D&quot;UTF-8&quot;<br>
 <br>
 =C2=A0It&#39;s hard to tell but likely yes. BIOS boot still freezes on the =
 latest<br>
 =C2=A0kernel, but l am not sure if it&#39;s still for the same reason which=
  was<br>
 =C2=A0related to xhci on BIOS boot only. I would need more time to investig=
 ate<br>
 =C2=A0and confirm. On another hand, unified installation image defaults to =
 UEFI<br>
 =C2=A0boot currently, which boots properly. Thus, I am not sure if it&#39;s=
  very<br>
 =C2=A0important bug to fix.<br>
 <br>
 =C2=A0On Sat, Feb 20, 2021, 11:32 &lt;<a href=3D"mailto:skrll@netbsd.org" t=
 arget=3D"_blank">skrll@netbsd.org</a>&gt; wrote:<br>
 <br>
 =C2=A0&gt; Synopsis: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/=
 A)<br>
 =C2=A0&gt;<br>
 =C2=A0&gt; State-Changed-From-To: analyzed-&gt;feedback<br>
 =C2=A0&gt; State-Changed-By: skrll@NetBSD.org<br>
 =C2=A0&gt; State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000<br>
 =C2=A0&gt; State-Changed-Why:<br>
 =C2=A0&gt; Is this still a problem?<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;<br>
 <br>
 =C2=A0--0000000000008fe52005bbce2565<br>
 =C2=A0Content-Type: text/html; charset=3D&quot;UTF-8&quot;<br>
 =C2=A0Content-Transfer-Encoding: quoted-printable<br>
 <br>
 =C2=A0&lt;div dir=3D3D&quot;auto&quot;&gt;It&amp;#39;s hard to tell but lik=
 ely yes. BIOS boot still fre=3D<br>
 =C2=A0ezes on the latest kernel, but l am not sure if it&amp;#39;s still fo=
 r the same=3D<br>
 =C2=A0 reason which was related to xhci on BIOS boot only. I would need mor=
 e time=3D<br>
 =C2=A0 to investigate and confirm. On another hand, unified installation im=
 age de=3D<br>
 =C2=A0faults to UEFI boot currently, which boots properly. Thus, I am not s=
 ure if=3D<br>
 =C2=A0 it&amp;#39;s very important bug to fix.&lt;/div&gt;&lt;br&gt;&lt;div=
  class=3D3D&quot;gmail_quote&quot;&gt;&lt;d=3D<br>
 =C2=A0iv dir=3D3D&quot;ltr&quot; class=3D3D&quot;gmail_attr&quot;&gt;On Sat=
 , Feb 20, 2021, 11:32=C2=A0 &amp;lt;&lt;a hre=3D<br>
 =C2=A0f=3D3D&quot;mailto:<a href=3D"mailto:skrll@netbsd.org" target=3D"_bla=
 nk">skrll@netbsd.org</a>&quot;&gt;<a href=3D"mailto:skrll@netbsd.org" targe=
 t=3D"_blank">skrll@netbsd.org</a>&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;/di=
 v&gt;&lt;blo=3D<br>
 =C2=A0ckquote class=3D3D&quot;gmail_quote&quot; style=3D3D&quot;margin:0 0 =
 0 .8ex;border-left:1px #c=3D<br>
 =C2=A0cc solid;padding-left:1ex&quot;&gt;Synopsis: NetBSD boot freezes on x=
 hci_init on Ma=3D<br>
 =C2=A0c Mini (MGEN2AE/A)&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0State-Changed-From-To: analyzed-&amp;gt;feedback&lt;br&gt;<br>
 =C2=A0State-Changed-By: skrll@NetBSD.org&lt;br&gt;<br>
 =C2=A0State-Changed-When: Sat, 20 Feb 2021 09:32:43 +0000&lt;br&gt;<br>
 =C2=A0State-Changed-Why:&lt;br&gt;<br>
 =C2=A0Is this still a problem?&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0&lt;br&gt;<br>
 =C2=A0&lt;/blockquote&gt;&lt;/div&gt;<br>
 <br>
 =C2=A0--0000000000008fe52005bbce2565--<br>
 <br>
 </blockquote></div>

 --00000000000026b71605bdf86a39--

State-Changed-From-To: feedback->open
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Sat, 20 Mar 2021 14:43:57 +0000
State-Changed-Why:
feedback provided


Responsible-Changed-From-To: skrll->kern-bug-people
Responsible-Changed-By: skrll@NetBSD.org
Responsible-Changed-When: Sat, 20 Mar 2021 14:45:03 +0000
Responsible-Changed-Why:
not likely to look at this so return to the pool


State-Changed-From-To: open->closed
State-Changed-By: andvar@NetBSD.org
State-Changed-When: Wed, 01 Sep 2021 20:52:37 +0000
State-Changed-Why:
obsolete, legacy boot is not supported anymore by this specific macmini model

From: Andrius V <vezhlys@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, 
	Andrius Varanavicius <andvar@netbsd.org>
Subject: Re: port-amd64/52493 (NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A))
Date: Wed, 1 Sep 2021 23:58:59 +0300

 Closed the PR because I can't boot with BIOS boot on this specific
 device anymore (besides NetBSD, tried OpenBSD, Linux and FreeBSD).
 Likely after certain upgrade support for it was removed. UEFI boot
 still works, but it wasn't affected by the issue. Likely this bug may
 still occur for non upgraded systems but even then uefi boot can be
 used to avoid it.

 On Wed, Sep 1, 2021 at 11:52 PM <andvar@netbsd.org> wrote:
 >
 > Synopsis: NetBSD boot freezes on xhci_init on Mac Mini (MGEN2AE/A)
 >
 > State-Changed-From-To: open->closed
 > State-Changed-By: andvar@NetBSD.org
 > State-Changed-When: Wed, 01 Sep 2021 20:52:37 +0000
 > State-Changed-Why:
 > obsolete, legacy boot is not supported anymore by this specific macmini model
 >
 >

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.