Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: current fails to boot on VirtualBox



I am still building, but my guess is that some clever clogs has added
Microsoft Hyper-V devices to GENERIC:
......
% cvs diff -r 1.515 -r 1.516 GENERIC

          19-02-16 - 21:52:48
Index: GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.515
retrieving revision 1.516
diff -r1.515 -r1.516
1c1
< # $NetBSD: GENERIC,v 1.515 2019/01/01 08:09:30 maya Exp $
---
> # $NetBSD: GENERIC,v 1.516 2019/02/15 08:54:01 nonaka Exp $
25c25
< #ident                "GENERIC-$Revision: 1.515 $"
---
> #ident                "GENERIC-$Revision: 1.516 $"
89a90
> hyperv0       at cpu0         # Microsoft Hyper-V
1082a1084,1091
> # Hyper-V devices
> vmbus*                at acpi?                # Hyper-V VMBus
> hvn*          at vmbus?               # Hyper-V NetVSC
> hvs*          at vmbus?               # Hyper-V StorVSC
> hvheartbeat*  at vmbus?               # Hyper-V Heartbeat
> hvshutdown*   at vmbus?               # Hyper-V Shutdown
> hvtimesync*   at vmbus?               # Hyper-V Timesync
>....


One cannot run Hyper-V and VirtualBox on the same machine - if you
enable Hyper-V, VirtualBox stops working. Obviously this still doesn't
mean this is the reason, but is likely.

]

On Sat, 16 Feb 2019 at 21:37, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Mine is 8.99.34 from 09/02/2019, self build, works just fine. I'll
> build a new kernel now to compare.
>
> On Sat, 16 Feb 2019 at 21:12, Ron Georgia <netverbs%gmail.com@localhost> wrote:
> >
> > Same here. Fails to boot on both my workstation and laptop, fell back to 8.99.33
> >
> > On 2/16/19, 3:15 PM, "Arto Huusko" <current-users-owner%NetBSD.org@localhost on behalf of armihu%gmail.com@localhost> wrote:
> >
> >     Hello,
> >
> >     it seems latest -current amd64 kernel no longer boots on VirtualBox.
> >
> >     Booting GENERIC from
> >     http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/201902161050Z/amd64/binary/kernel/
> >
> >     stops after detecting CPUs and acpiacad0. After CPU detection there is
> >     ERROR: 3591 cycle TSC drift observed.
> >
> >     CPU is AMD Ryzen 5 1500X.
> >
> >     I can break into ddb, bt command on all CPUs shows they are in idle_loop.
> >     It makes no difference if I configure only one CPU for VirtualBox.
> >
> >     bt for cpu 0:
> >     ddb backtrace
> >     --- interrupt
> >     x86_stihlt
> >     acpicpu_cstate_idle_enter
> >     acpicpu_cstate_idle
> >     idle_loop
> >
> >     bt for cpu1:
> >     x86_stihlt
> >     acpicpu_cstate_idle_enter
> >     acpicpu_cstate_idle
> >     cpu_hatch
> >     md_root_setconf
> >
> >
> >     Booting with -2 switch (no ACPI) gets a bit further, but then has other problems
> >     detecting devices.
> >
> >     However a few days old GENERIC from
> >     http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/201902131540Z/amd64/binary/kernel/
> >
> >     does boot successfully. (But vioif is broken again, ifconfig just hangs)
> >
> >
> >     A lot older kernel (8.99.18, I don't have the exact date) works without
> >     problems.
> >
> >
> >     Arto
> >
> >
> >
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index