Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2009 16:48:00 -0600
From:      Kevin <kevin@your.org>
To:        Kevin <kevin@your.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 8.0 still doesn't boot in Xen (kern/138863)
Message-ID:  <CDFDB08E-3C4E-434A-90E7-E5A27D3419CF@your.org>
In-Reply-To: <AA89F9A5-9A79-4942-A450-5351713299C2@your.org>
References:  <3EA83F9F-BE44-4C64-852F-CDC09FB63B94@your.org> <AA89F9A5-9A79-4942-A450-5351713299C2@your.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

-- Kevin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDFDB08E-3C4E-434A-90E7-E5A27D3419CF>