Newbie problem: disk error launching FC3 in non-0 domain
Hi again
I have a minimal Fedora Core 3 image running fine as domain 0 (thanks and sorry for the previous FAQ query) using both the standard install ramdisk image, and the FC3 ramdisk image downloaded from xen sourceforge.
However, I can't get it running in a non-zero domain.
In brief, I have a full FC3 installed on /dev/hda1, which I typically use as my domain 0 OS. Then I have a minimal FC3 installed on /dev/hdb2.
I can boot into the minimal FC3 on /dev/hdb2 as domain 0 under Xen without a problem.
I'm trying to 'xm create' the minimal FC3 from the full FC3 under Xen, but I get a disk error. Here's the relevant log:
------------------------------------------------------------------------------------------------------
<snip>
Creating /dev
Starting udev
Creating root device
Mounting root filesystem
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
Switching to new root
modprobe: FATAL: Could not load /lib/modules/2.6.10-xenU/modules.dep:
No such file or directory
INIT: version 2.85 booting
Welcome to Fedora Core
Press 'I' to enter interactive startup.
Starting udev: [ OK ]
Initializing hardware... storage network audio done[ OK ]
raidautorun: failed to open /dev/md0: 6
Configuring kernel parameters: [ OK ]
hwclock is unable to get I/O port access: the iopl(3) call failed. Setting clock (localtime): Tue Feb 8 16:05:19 SAST 2005 [ OK ] Setting hostname localhost.localdomain: [ OK ]
Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hdb2
/: clean, 46221/4866048 files, 350711/9727357 blocks
Error writing block 1548 (Attempt to write block from filesystem resulted in short write). Error writing block 1548 (Attempt to write block from filesystem resulted in short write).
/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
[FAILED]
*** An error occurred during the file system check. *** Dropping you to a shell; the system will reboot *** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
-----------------------------------------------------------------------------------------
Any idea what the problem is?
Thanks again
Roland
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
<snip>
Quoted 1 line
Any idea what the problem is?
Could you please post the config file you're using?
Thanks,
Mark
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Incidently, I have bundled up the mini FC3 filesystem into a file-backed VBD and I'm getting the same problem!
Curiouser and curiouser?
Thanks
Roland
Quoted 67 lines · Roland Paterson-Jones
Hi again
I have a minimal Fedora Core 3 image running fine as domain 0 (thanks and sorry for the previous FAQ query) using both the standard install ramdisk image, and the FC3 ramdisk image downloaded from xen sourceforge.
However, I can't get it running in a non-zero domain.
In brief, I have a full FC3 installed on
/dev/hda1, which I typically use as my domain 0 OS. Then I have a minimal FC3 installed on/dev/hdb2.I can boot into the minimal FC3 on
/dev/hdb2as domain 0 under Xen without a problem.I'm trying to 'xm create' the minimal FC3 from the full FC3 under Xen, but I get a disk error. Here's the relevant log:
------------------------------------------------------------------------------------------------------
<snip>
Creating /dev
Starting udev
Creating root device
Mounting root filesystem
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds
Switching to new root
modprobe: FATAL: Could not load/lib/modules/2.6.10-xenU/modules.dep:
No such file or directoryINIT: version 2.85 booting
Welcome to Fedora Core
Press 'I' to enter interactive startup.
Starting udev: [ OK ]
Initializing hardware... storage network audio done[ OK ]
raidautorun: failed to open/dev/md0: 6
Configuring kernel parameters: [ OK ]
hwclock is unable to get I/O port access: the iopl(3) call failed. Setting clock (localtime): Tue Feb 8 16:05:19 SAST 2005 [ OK ] Setting hostname localhost.localdomain: [ OK ]
Checking root filesystem
[/sbin/fsck.ext3(1) -- /] fsck.ext3 -a/dev/hdb2
/: clean, 46221/4866048 files, 350711/9727357 blocks
Error writing block 1548 (Attempt to write block from filesystem resulted in short write). Error writing block 1548 (Attempt to write block from filesystem resulted in short write)./: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
[FAILED]*** An error occurred during the file system check. *** Dropping you to a shell; the system will reboot *** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):-----------------------------------------------------------------------------------------
Any idea what the problem is?
Thanks again
Roland
Quoted 12 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 5 lines · Roland Paterson-Jones
[
/sbin/fsck.ext3(1) -- /] fsck.ext3 -a/dev/hdb2
/: clean, 46221/4866048 files, 350711/9727357 blocks
Error writing block 1548 (Attempt to write block from filesystem resulted in short write). Error writing block 1548 (Attempt to write block from filesystem resulted in short write).
Are you exporting the disk read-only by chance ?
Signature · 10 lines
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click