[kernel-xen] Xen 4.1 and latest CentOS 7.2.1511

Steven Haigh netwiz at crc.id.au
Tue Dec 29 15:35:15 AEDT 2015


I can confirm that 4.1.15-3.2 fixes the issue.

# cat /proc/version
Linux version 4.1.15-3.2.el7xen.x86_64 (mockbuild at dev.crc.id.au) (gcc
version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Tue Dec 29
14:33:13 AEDT 2015

It's now available in for both EL6 & EL7 in the -testing repos.

I'd also recommend that if your host doesn't need any custom compiled
modules that you enable "enforcemodulesig=1" on your kernel command
line. This will ensure that only correctly signed modules are able to be
loaded into a running system.

This has been implemented for both EL6 & EL7 packages.

--
Steven Haigh

Email: netwiz at crc.id.au
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

On 29/12/2015 2:46 PM, Steven Haigh wrote:
> As per your bug report, I may have found the solution.
> 
> http://xen.crc.id.au/bugs/view.php?id=65
> 
> I believe the requirement for the new systemd packages released
> on/around the 26th of this month require CONFIG_FHANDLE set in the kernel.
> 
> As most people installed 4.1.15-1 *before* this update to systemd, those
> installs are still working. I believe that updates *after* the systemd
> update will fail.
> 
> Hold fire and see if you can test 4.1.15-3.2 when it hits the
> el7-testing repo and see if that fixes the problems we're both seeing now.
> 
> --
> Steven Haigh
> 
> Email: netwiz at crc.id.au
> Web: https://www.crc.id.au
> Phone: (03) 9001 6090 - 0412 935 897
> 
> On 29/12/2015 2:36 PM, Steffan Cline wrote:
>> No dice for me with -1. I'll wipe clean and try again in case something is hosed from -2
>>
>> It too gets stuck at dracut 
>>
>>
>>
>> Thanks,
>> Steffan Cline
>> steffan at hldns.com
>> 602-793-0014
>>
>>> On Dec 28, 2015, at 7:20 PM, Steven Haigh <netwiz at crc.id.au> wrote:
>>>
>>> Hmm - I've noticed that 4.1.15-3.1 in el7-testing gives me the same...
>>>
>>> Have you tried 4.1.15-1? This works properly in EL7 for me - however it
>>> seems something has happened with either other updates - or in the
>>> changes I've made between 4.1.15-1 and 4.1.15-2.
>>>
>>> I have updated to 4.1.15-3.1 in an EL7 Xen DomU, and I get this on boot:
>>> [ ***  ] A start job is running for dev-xvda.device (3min 15s / no limit)
>>>
>>> Back in the old days, this would be easy to debug - however I'm not sure
>>> how to get systemd to play along and figure out the problem here.
>>>
>>> It seems because /dev/xvda (in my case) isn't 'starting', it doesn't log
>>> anything, and I can't seem to get to a shell.
>>>
>>> --
>>> Steven Haigh
>>>
>>> Email: netwiz at crc.id.au
>>> Web: https://www.crc.id.au
>>> Phone: (03) 9001 6090 - 0412 935 897
>>>
>>>> On 29/12/2015 1:09 PM, Glenn Enright wrote:
>>>> It might be possible the step 4 broke something in your installs. It
>>>> might even be as simple as the grub configuration being messed up.
>>>>
>>>> Consider purging and then reinstalling kernel-xen packages? eg...
>>>>
>>>> yum remove kernel-xen*
>>>> yum clean all
>>>> grub2-set-default 0
>>>> yum install kernel-xen kernel-xen-firmware
>>>>
>>>> Regards, Glenn
>>>> http://ri.mu - Startups start here.
>>>> Hosting. DNS. Web Programming. Email. Backups. Monitoring.
>>>>
>>>>> On 29/12/15 13:21, Steffan Cline wrote:
>>>>> Steve,
>>>>>
>>>>> Here is how I had installed it.
>>>>>
>>>>> 1) Installed CentOS 7 from an image I had
>>>>> 2) Installed Cloudmin which did this: (from an excerpt of
>>>>> http://cloudmin.virtualmin.com/gpl/scripts/cloudmin-gpl-redhat-install.sh)
>>>>>
>>>>> --------------------------------------------------
>>>>> # Enable Xen kernels repo, if on CentOS 6
>>>>> yum info kernel-xen >/dev/null 2>&1
>>>>> if [ "$?" != 0 ]; then
>>>>>    echo Enabling Xen kernel repo for CentOS 6 ..
>>>>>    yum install wget
>>>>>    yum install
>>>>> http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-5.noarch.rpm
>>>>>    if [ "$?" != 0 ]; then
>>>>>        echo .. repo install failed
>>>>>        exit 1
>>>>>    fi
>>>>>    echo .. done
>>>>>    echo ""
>>>>> fi
>>>>>
>>>>>
>>>>> # YUM install Perl, modules and other dependencies
>>>>> echo Installing required Perl modules using YUM ..
>>>>> yum install -y perl openssl perl-Net-SSLeay vixie-cron bind bind-utils
>>>>> kernel-xen kernel-xen-devel xen xen-libs lsof perl-Data-Dumper
>>>>> if [ "$?" != 0 ]; then
>>>>>    echo .. install failed
>>>>>    exit 1
>>>>> fi
>>>>> yum install -y perl-JSON
>>>>> yum install -y dhcp
>>>>> yum install -y openssh-clients
>>>>> echo .. done
>>>>> echo ""
>>>>>
>>>>> ————————————————————————
>>>>> 3) Did a reboot, all was well using the Xen kernel
>>>>> vmlinuz-4.1.15-2.el7xen.x86_64.
>>>>>
>>>>> 4) Did a yum update, all seemed ok, rebooted and ended up in the new
>>>>> CentOS kernel.
>>>>>
>>>>> 5) Changed it back using grub2-set-default 2 (which was the xen kernel)
>>>>>
>>>>> 6) Reboot - stuck in dracut.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thank you,
>>>>> Steffan Cline
>>>>> 602-793-0014
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 12/28/15, 5:07 PM, "Steven Haigh"
>>>>> <kernel-xen-bounces at lists.wireless.org.au on behalf of
>>>>> netwiz at crc.id.au> wrote:
>>>>>
>>>>>> Is this using the kernel-xen package as a Dom0, DomU or on bare metal?
>>>>>>
>>>>>>> On 29/12/15 07:20, Steffan Cline wrote:
>>>>>>> If you figure it out, please let us know. I have several hours into it.
>>>>>>>
>>>>>>> I have 4 dead Dell R610 hosts until I figure out what to do about this.
>>>>>>>
>>>>>>> Sadly I must keep going until I figure it out.
>>>>>>>
>>>>>>> Thank you,
>>>>>>> Steffan Cline
>>>>>>> 602-793-0014
>>>>>>>
>>>>>>>
>>>>>>> From: <kernel-xen-bounces at lists.wireless.org.au
>>>>>>> <mailto:kernel-xen-bounces at lists.wireless.org.au>> on behalf of
>>>>>>> Christiaan den Besten <chris at prolocation.net
>>>>>>> <mailto:chris at prolocation.net>>
>>>>>>> Reply-To: Xen Dom0 kernel for EL6 <kernel-xen at lists.wireless.org.au
>>>>>>> <mailto:kernel-xen at lists.wireless.org.au>>
>>>>>>> Date: Monday, December 28, 2015 at 12:36 PM
>>>>>>> To: Xen Dom0 kernel for EL6 <kernel-xen at lists.wireless.org.au
>>>>>>> <mailto:kernel-xen at lists.wireless.org.au>>
>>>>>>> Subject: Re: [kernel-xen] Xen 4.1 and latest CentOS 7.2.1511
>>>>>>>
>>>>>>> Hi Steffan!
>>>>>>>
>>>>>>> Wont help you right away, but i had the same issue with a freshly
>>>>>>> installed system last night.
>>>>>>>
>>>>>>> So this will probably influence others as well if they would update.
>>>>>>>
>>>>>>> Haven't started troubleshooting just yet ...
>>>>>>>
>>>>>>> bye,
>>>>>>> Chris
>>>>>>>
>>>>>>> On 28 dec. 2015, at 20:18, Steffan Cline <steffan at hldns.com
>>>>>>> <mailto:steffan at hldns.com>> wrote:
>>>>>>>
>>>>>>>> dracut keeps stopping at “A start job is running for
>>>>>>>> dev-maps…\x2root.device (XXs / no limit)”
>>>>>>>>
>>>>>>>> A couple times I was able to hit the emergency shell still though, not
>>>>>>>> sure what to do from there.
>>>>>>>>
>>>>>>>> I’ve read up on this and everything says it’s an issue with initramfs.
>>>>>>>> I have redone it a few times now and no change.
>>>>>>>>
>>>>>>>> Bit of a problem. Have a dead host.
>>>>>>>>
>>>>>>>> Suggestions?
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>> Steffan Cline
>>>>>>>> 602-793-0014
>>>>>>>>
>>>>>>>>
>>>>>>>> From: <kernel-xen-bounces at lists.wireless.org.au
>>>>>>>> <mailto:kernel-xen-bounces at lists.wireless.org.au>> on behalf of
>>>>>>>> Steffan Cline <steffan at hldns.com <mailto:steffan at hldns.com>>
>>>>>>>> Reply-To: Xen Dom0 kernel for EL6 <kernel-xen at lists.wireless.org.au
>>>>>>>> <mailto:kernel-xen at lists.wireless.org.au>>
>>>>>>>> Date: Monday, December 28, 2015 at 12:01 AM
>>>>>>>> To: <kernel-xen at lists.wireless.org.au
>>>>>>>> <mailto:kernel-xen at lists.wireless.org.au>>
>>>>>>>> Subject: [kernel-xen] Xen 4.1 and latest CentOS 7.2.1511
>>>>>>>>
>>>>>>>> I was using the kernel-xen-4.1.15-2.el7xen.x86_64.rpm with CentOS 7
>>>>>>>> but after the update to 7.2.511 I can’t get past dracut.
>>>>>>>>
>>>>>>>> I have regenerated grub.cfg and the initramfs file but it still gets
>>>>>>>> stuck.
>>>>>>>>
>>>>>>>> I’ve reached the limits of my skill set. Anyone have any suggestions?
>>>>>>
>>>>>> -- 
>>>>>> Steven Haigh
>>>>>>
>>>>>> Email: netwiz at crc.id.au
>>>>>> Web: https://www.crc.id.au
>>>>>> Phone: (03) 9001 6090 - 0412 935 897
>>>>>>
>>>>>> _______________________________________________
>>>>>> kernel-xen mailing list
>>>>>> kernel-xen at lists.wireless.org.au
>>>>>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>>>>
>>>>> _______________________________________________
>>>>> kernel-xen mailing list
>>>>> kernel-xen at lists.wireless.org.au
>>>>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>>> _______________________________________________
>>>> kernel-xen mailing list
>>>> kernel-xen at lists.wireless.org.au
>>>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>>
>>> _______________________________________________
>>> kernel-xen mailing list
>>> kernel-xen at lists.wireless.org.au
>>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>> _______________________________________________
>> kernel-xen mailing list
>> kernel-xen at lists.wireless.org.au
>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>
> 
> 
> 
> _______________________________________________
> kernel-xen mailing list
> kernel-xen at lists.wireless.org.au
> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.wireless.org.au/pipermail/kernel-xen/attachments/20151229/e08028eb/attachment.sig>


More information about the kernel-xen mailing list