Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

8.0 still doesn't boot in Xen (kern/138863)

0 views
Skip to first unread message

Kevin

unread,
Nov 24, 2009, 12:38:25 PM11/24/09
to freebsd...@freebsd.org

Is it too late in the 8.0 release schedule to look at kern/138863?
Between 7.x and 8.0 the kernel can no longer boot under Xen due to
changes involving CLFLUSH. The effect is a crash very early in the
boot, with no workaround. (This is under Xen's fully virtualized mode,
not the XEN platform port underway.)

This was also mentioned on the Xen mailing lists back in September (http://lists.freebsd.org/pipermail/freebsd-xen/2009-September/000310.html
) but nothing has been committed to fix this yet.

XenServer is getting pretty popular in some enterprise and hosting
environments, so having 8.0 not bootable would be a bit
disappointing. :)

-- Kevin


_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Kevin

unread,
Nov 24, 2009, 12:51:08 PM11/24/09
to Outback Dingo, freebsd...@freebsd.org

On Nov 24, 2009, at 11:45 AM, Outback Dingo wrote:

> odd are you sure Ive got 8.0RC2 running under XEN Cloud Platform
> right now as we speak


8.0-RC3 is still exhibiting this problem on my XenServer 5.5.0 install.

Kevin

unread,
Nov 24, 2009, 1:01:50 PM11/24/09
to freebsd...@freebsd.org

On Nov 24, 2009, at 11:20 AM, Kevin wrote:

>
> Is it too late in the 8.0 release schedule to look at kern/138863?
> Between 7.x and 8.0 the kernel can no longer boot under Xen due to
> changes involving CLFLUSH. The effect is a crash very early in the
> boot, with no workaround. (This is under Xen's fully virtualized
> mode, not the XEN platform port underway.)
>
> This was also mentioned on the Xen mailing lists back in September (http://lists.freebsd.org/pipermail/freebsd-xen/2009-September/000310.html
> ) but nothing has been committed to fix this yet.
>
> XenServer is getting pretty popular in some enterprise and hosting
> environments, so having 8.0 not bootable would be a bit
> disappointing. :)

I was just pointed to the change from a couple of days ago, adding the
tunable "hw.clflush_disable". This looks like it might do what I need,
so I'm building a new bootable CD to find out and update the PR.

This should probably be documented somewhere, just so someone in a
similar situation even knows about this tunable.

Outback Dingo

unread,
Nov 24, 2009, 1:23:36 PM11/24/09
to Kevin, freebsd...@freebsd.org
might be the XEN kernel version, i just recompiled from 8x trunk and it
works ok

Kevin

unread,
Dec 2, 2009, 5:48:48 PM12/2/09
to Kevin, freebsd...@freebsd.org

On Nov 24, 2009, at 12:00 PM, Kevin wrote:

>
> On Nov 24, 2009, at 11:20 AM, Kevin wrote:
>
>>
>> Is it too late in the 8.0 release schedule to look at kern/138863?
>> Between 7.x and 8.0 the kernel can no longer boot under Xen due to
>> changes involving CLFLUSH. The effect is a crash very early in the
>> boot, with no workaround. (This is under Xen's fully virtualized
>> mode, not the XEN platform port underway.)
>>
>> This was also mentioned on the Xen mailing lists back in September (http://lists.freebsd.org/pipermail/freebsd-xen/2009-September/000310.html
>> ) but nothing has been committed to fix this yet.
>>
>> XenServer is getting pretty popular in some enterprise and hosting
>> environments, so having 8.0 not bootable would be a bit
>> disappointing. :)
>
> I was just pointed to the change from a couple of days ago, adding
> the tunable "hw.clflush_disable". This looks like it might do what I
> need, so I'm building a new bootable CD to find out and update the PR.
>
> This should probably be documented somewhere, just so someone in a
> similar situation even knows about this tunable.
>
> -- Kevin

Just to follow up, 8.0-RELEASE still doesn't boot for me on XenServer
5.5.0 on an AMD CPU.

Without setting hw.clflush_disable, I get the same panic as before
mentioned in the PR. If I do set clflush_disable, I get an endless
stream of Trap 12 messages, giving instruction pointers all over the
place.

The last time 8.0 was bootable was in the -BETA timeframe. Does anyone
have any other suggestions on where to look? It still works fine on
the same software using an Intel CPU, so somehow that's significant.

0 new messages