LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization
User Name
Password
Linux - Virtualization This forum is for the discussion of all topics relating to Linux Virtualization. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-21-2012, 05:12 AM   #1
chief427
LQ Newbie
 
Registered: Jul 2011
Location: Newcastle, NSW, Australia
Posts: 7

Rep: Reputation: Disabled
read dma error in guest during boot after Xen host lockup


After one of many Xen host lockups (another sorry tale in itself), one of the guest's finally gave up the ghost.
The guest in question is an OpenSuse 11.3 which (unfortunately) runs my, and several other people's, web sites.
I have managed to mount the 2 files used as virtual discs (using an excellent article here) and run e2fsck on them which doesn't report any FS errors.
I also created a new VM using these 2 files in case it was the virtual bios (or some other low level corruption) as the entire Xen host suffered this issue, so I didn't know if the issue was solely within the guest or the result of a problem at the host level.
During the boot process, the splash screen shows the following:

Starting udevd:
Loading drivers, configuring devices: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 36.804405] ata1.00: failed command READ DMA
[ 36.804445] ata1.00: cmd c8/00:20:48:8c:48/00:00:00:00:00/e2 tag 0 dma 16384 in
[ 36.80447] res 40/00:01:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[ 36.804578] ata1.00: stats: { DRDY }
[ 36.961121) ata1.01: revalidation failed (errorno=-2)

This is repeated a few times, with at some stage the errorno being -5.

Eventually, I see an error message which repeats many times, stating (assuming the square brackets at the start are a time stamp, which I will leave out):

[ xxx] /etc/initscript: line 77: /etc/sysconfig/ulimit: Input/output error
[ xxx] end_request: /I/O error, dev sda, sector 59014552

This sequence is repeated many (~ 20) times, with the "offending" sector always the same.
Finally finishing with:

INIT: Id "1" respawning too fast: disable for 5 minutes

This (after 5 minutes presumably) is followed by a few repetitions of:

/etc/initscript: line 77: /etc/sysconfig/ulimit: Input/output error

and then

INIT: Id "3" respawning too fast: disable for 5 minutes
INIT: Id "6" respawning too fast: disable for 5 minutes
INIT: Id "4" respawning too fast: disable for 5 minutes

Is there any hope for the guest OS, or should I simply (ha ha - simple doesn't quite describe the process!) re-install a new guest O.S. ?

As far as I can tell, I can mount all the DomU file systems in Dom0 so I can edit config file etc. if necessary (i.e. helpful)
 
Old 01-21-2012, 09:13 AM   #2
smallpond
Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 457

Rep: Reputation: 85
[ 36.804405] ata1.00: failed command READ DMA

Looks to me like disk ata1 has a hardware problem.
 
Old 01-21-2012, 05:44 PM   #3
chief427
LQ Newbie
 
Registered: Jul 2011
Location: Newcastle, NSW, Australia
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks smallpond - I think that is a reasonable conclusion to draw also.

If there is a hardware error though, I believe it is a virtual hardware error.
The host drives all seem to be functioning just fine.
There are 3 other guests (2 Linux, 1 windows) and they boot up OK.

The fact the other VM's boot OK makes me think that it isn't the underlying host or the Xen install itself.

On the off chance it is the host disc and is because of a problem where this guest's virtual disc is located, I made a copy and created a new VM from the copy but it had the same problem when booting.
While using a copy of the original disc image isn't conclusive (it is on the same host physical drive), it definitely occupies different sectors, so I am reasonably certain there is no problem with the host's discs.

I am thinking that perhaps one or more of the guest OS drivers may have become corrupted.
I will have to do some digging and see where they are located and if I can replace them.
Perhaps this issue is less to do with Virtualisation and more to do with the guest OS itself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LM12 host, S13.37 guest: can’t boot after installation: error with ext4 + e2fsck Drone4four Slackware 2 12-25-2011 10:25 PM
CentOS 5.6 host with Ubuntu 6.10 as guest VM using xen (full hardware virt spankbot Linux - Virtualization 2 08-26-2011 02:15 AM
Xen : Installing Fedora guest on Debian Etch host kailas Debian 1 07-23-2008 09:18 AM
Xen - is there a clipboard available between guest and host? alizard Linux - General 0 10-18-2006 12:11 AM
Installing Ubuntu Guest Domain under Xen/Fedora Host cdhgee Linux - Software 1 06-09-2006 11:31 AM


All times are GMT -5. The time now is 02:10 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration