qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] Re: Boot Failure (CDROM boot failure code : 0004)
@ 2008-06-17 14:27 Juergen Keil
  0 siblings, 0 replies; 25+ messages in thread
From: Juergen Keil @ 2008-06-17 14:27 UTC (permalink / raw)
  To: qemu-devel


Volkan YAZICI writes:
> 
> On Tue, 17 Jun 2008, Volkan YAZICI <yazicivo@ttmail.com> writes:
> >   root:~# diff \
> >   > /root/scd0.iso.md5sum
> >   > /home/windows/windows-server-2003-standard-x86-64-sp2.iso.md5sum
> >   1c1
> >   < b5d670b7360dc43af8157a50de43bac1  scd0.iso
> >   ---
> >   > cfcf3b24d9b44e75826259c9e914bf40  
windows-server-2003-standard-x86-64-sp2.iso
> 
> More interesting results:
> 
>   windows:~# md5sum windows-server-2003-standard-x86-64-sp2-dd-bs-*
>   b5d670b7360dc43af8157a50de43bac1  
windows-server-2003-standard-x86-64-sp2-dd-bs-1024.iso
>   b253aa547f8a7269b6589caa001bd566  
windows-server-2003-standard-x86-64-sp2-dd-bs-2048.iso
>   64a9d318690bfe223b0e3c5c15b392e3  
windows-server-2003-standard-x86-64-sp2-dd-bs-32768.iso
>   b5d670b7360dc43af8157a50de43bac1  
windows-server-2003-standard-x86-64-sp2-dd-bs-512.iso
> 
> Quite funny. (By the way, all of them are of same size.) Should I trust
> that bs={1024,512} produce the right result?  Anyway, neither of them
> solve the problem. Any ideas?

That is unexpected.  I'd expect that you get exactly the same
bits no matter what block size >= 2048 (and power of 2) you use.

Some drives (or the OS) also allow block sizes of 1024 or
512 bytes, but you should still get exactly the same bits.


Smells like a bug, either with the optical drive, or some
driver, filesystem, or OS issue.


What happens when you use "cmp -l" on a pair of the above
iso images which have not have the same md5 checksum?  

At what file offset does it find differences?  Only on the
last 2-3 blocks of the file, perhaps?

Does cmp -l only find a few differences per iso image pair?
What are the differences?

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [Qemu-devel] Re: Boot Failure (CDROM boot failure code : 0004)
@ 2008-06-18  8:38 Juergen Keil
  0 siblings, 0 replies; 25+ messages in thread
From: Juergen Keil @ 2008-06-18  8:38 UTC (permalink / raw)
  To: qemu-devel

Anthony Liguori wrote:

> Volkan YAZICI wrote:
> > On Tue, 17 Jun 2008, Volkan YAZICI <yazicivo@ttmail.com> writes:
> >   
> >>   root:~# diff \
> >>   > /root/scd0.iso.md5sum
> >>   > /home/windows/windows-server-2003-standard-x86-64-sp2.iso.md5sum
> >>   1c1
> >>   < b5d670b7360dc43af8157a50de43bac1  scd0.iso
> >>   ---
> >>   > cfcf3b24d9b44e75826259c9e914bf40  
windows-server-2003-standard-x86-64-sp2.iso
> >>     
> >
> > More interesting results:
> >
> >   windows:~# md5sum windows-server-2003-standard-x86-64-sp2-dd-bs-*
> >   b5d670b7360dc43af8157a50de43bac1  
windows-server-2003-standard-x86-64-sp2-dd-bs-1024.iso
> >   b253aa547f8a7269b6589caa001bd566  
windows-server-2003-standard-x86-64-sp2-dd-bs-2048.iso
> >   64a9d318690bfe223b0e3c5c15b392e3  
windows-server-2003-standard-x86-64-sp2-dd-bs-32768.iso
> >   b5d670b7360dc43af8157a50de43bac1  
windows-server-2003-standard-x86-64-sp2-dd-bs-512.iso
> >
> > Quite funny. (By the way, all of them are of same size.) Should I trust
> > that bs={1024,512} produce the right result?  Anyway, neither of them
> > solve the problem. Any ideas?
> >   
> 
> Sounds like there are errors on your disk.


Assuming these are errors on the optical media:  Why doesn't the
drive detect and report them?  Shouldn't the "dd" have failed with
some sort of EIO errors?

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Qemu-devel] Boot Failure (CDROM boot failure code : 0004)
@ 2008-06-16 12:08 Volkan YAZICI
  2008-06-16 12:36 ` Laurent Vivier
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Volkan YAZICI @ 2008-06-16 12:08 UTC (permalink / raw)
  To: qemu-devel

Hi,

I'm trying to install Windows Server 2003 Standard (x86-64) on a
machine which has AMD Turion 64 X2 processor. I compiled and installed
the qemu from source tarball using below commands:

  root:~# su - windows
  windows:~$ mkdir qemu; cd qemu
  windows:~/qemu$ wget http://bellard.org/qemu/qemu-0.9.1.tar.gz
  windows:~/qemu$ tar -zxf qemu-0.9.1.tar.gz; cd qemu-0.9.1
  windows:~/qemu/qemu-0.9.1$ ./configure --prefix=/home/windows/qemu
  windows:~/qemu/qemu-0.9.1$ make && make install

And then I create the appropriate disk images.

  windows:~$ dd of=/home/windows/disk-raw-20g.img \
  > bs=1024 seek=$[1024 * 1024 * 20] count=0
  windows:~$ qemu/bin/qemu-img create -f qcow disk-qcow-20g.img 20G
  windows:~$ qemu/bin/qemu-img create -f qcow2 disk-qcow2-20g.img 20G

When I try to boot Windows Server ISO image

  root:~# /home/windows/qemu/bin/qemu -boot d \
  > -cdrom /home/windows/windows-server-2003-standard-x86-64-sp2.iso \
  > -hda /home/windows/disk-qcow-20g.img \
  > -localtime -m 512 -L /home/windows/qemu/share/qemu

qemu complains that

  QEMU BIOS - build: 02/08/07
  $Revision: 1.174 $ $Date: 2006/10/17 16:48:05 $
  Options: apmbios pcibios eltorito rombios32

  ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (20480 MBytes)
  ata1 master: QEMU CD-ROM ATAPI-4 Cd-Rom/Dvd-Rom

  CDROM boot failure code : 0004
  Boot from Cd-Rom failed
  FATAL: Could not read the boot disk

I also tried below combinations:

  1. -cdrom /dev/scd0
  2. -hda /home/windows/disk-qcow2-20g.img
  3. -hda /home/windows/disk-raw-20g.img

Besides qemu documentation, I read hundreds of blog posts, mailing list
threads, forum junks about this problem, but nothing useful. I'll be
really really appreciated if anybody can help me to solve the problem.


Regards.

P.S. Sorry for bugging developers' mailing list, but forum
     (http://qemu-forum.ipi.fi) subscription didn't work.     

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2008-06-18  8:38 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 14:27 [Qemu-devel] Re: Boot Failure (CDROM boot failure code : 0004) Juergen Keil
  -- strict thread matches above, loose matches on Subject: below --
2008-06-18  8:38 Juergen Keil
2008-06-16 12:08 [Qemu-devel] " Volkan YAZICI
2008-06-16 12:36 ` Laurent Vivier
2008-06-16 13:14   ` [Qemu-devel] " Volkan YAZICI
2008-06-16 17:26     ` Jens Axboe
2008-06-16 17:41       ` Avi Kivity
2008-06-16 18:01         ` Jens Axboe
2008-06-16 17:43       ` Natalia Portillo
2008-06-16 17:49       ` Paul Brook
2008-06-16 18:00         ` Jens Axboe
2008-06-16 18:29           ` Avi Kivity
2008-06-17 18:29             ` Jens Axboe
2008-06-17  8:25           ` Brad Campbell
2008-06-16 17:46     ` Natalia Portillo
2008-06-17  5:33       ` Volkan YAZICI
2008-06-17 20:01         ` Natalia Portillo
2008-06-16 22:00     ` Anthony Liguori
2008-06-17  6:09       ` Volkan YAZICI
2008-06-17  8:06         ` Volkan YAZICI
2008-06-17 18:12           ` Anthony Liguori
2008-06-16 14:00 ` [Qemu-devel] " Avi Kivity
2008-06-17  6:40   ` [Qemu-devel] " Volkan YAZICI
2008-06-16 16:04 ` Sebastian Herbszt
2008-06-17  6:23   ` Volkan YAZICI
2008-06-17 13:59     ` Sebastian Herbszt
2008-06-17 14:36       ` Volkan YAZICI
2008-06-17 20:05         ` Natalia Portillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).