Bug 382431 - YaST2 wants to set disk label of /dev/sda to msdos
Summary: YaST2 wants to set disk label of /dev/sda to msdos
Status: RESOLVED INVALID
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 1
Hardware: x86-64 openSUSE 11.0
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Ulrich Hecht
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 17:01 UTC by Mike Fabian
Modified: 2010-08-04 15:52 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
setting-disk-label-of-sda-to-msdos.png (700.61 KB, image/png)
2008-04-22 17:03 UTC, Mike Fabian
Details
yast2-logs.tar.bz2 (97.81 KB, application/x-bzip2)
2008-04-22 19:32 UTC, Mike Fabian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Fabian 2008-04-22 17:01:22 UTC
YaST2 wants to set disk label of /dev/sda to msdos.
Comment 1 Mike Fabian 2008-04-22 17:03:17 UTC
Created attachment 209671 [details]
setting-disk-label-of-sda-to-msdos.png

Error

Failure occured during following action:
Setting disk label of disk /dev/sda to msdos

System error code was -1008

   [  OK  ]
Comment 2 Mike Fabian 2008-04-22 17:06:28 UTC
I tried to install with qemu:

qemu-system-x86_64 -std-vga -no-quit -m 512 \
        -cdrom /mounts/dist/install/openSUSE-11.0-Beta1/openSUSE-11.0-Beta1-DVD-x86_64.iso \
	-boot d \
	-hda $NAME.img \
	-monitor stdio \
	-net nic,model=rtl8139 \
        -net user,hostname=$NAME \
	-vnc :3 \
	$@

In linuxrc I selected Japanese. Then I selected KDE4 and
US English keyboard. Apart from that I accepted the defaults.
Comment 3 Mike Fabian 2008-04-22 17:43:57 UTC
I tried again. It’s reproducible.
Comment 4 Mike Fabian 2008-04-22 19:30:55 UTC
I tried one more time, this time selecting German in linuxrc and a
network installation source in order to have network access to copy
the yast2 log files.

It was reproducible in German as well.

Log files will be attached in the next comment.

Comment 5 Mike Fabian 2008-04-22 19:32:03 UTC
Created attachment 209715 [details]
yast2-logs.tar.bz2

YaST2 log files.
Comment 6 Arvin Schnell 2008-04-24 16:40:22 UTC
According to the logs parted succeeds in creating the partition
table but does not recognize it afterwards.
Comment 7 Mike Fabian 2008-04-25 10:35:11 UTC
This is only reproducible with the qemu mentioned in comment #2.

It works without problem however when qemu-kvm with the kvm module
is used:

qemu-kvm -std-vga -no-quit -m 512 \
        -cdrom /mounts/dist/install/openSUSE-11.0-Beta1/openSUSE-11.0-Beta1-
DVD-x86_64.iso \
        -boot d \
        -hda $NAME.img \
        -monitor stdio \
        -net nic,model=rtl8139 \
        -net user,hostname=$NAME \
        -vnc :2 \
        $@
Comment 8 Mike Fabian 2008-04-25 10:39:00 UTC
Arvin tested the qemu-installation (started like
described in comment #2) at the point where it failed and found:

Neither parted nor fdisk are able to write a partition table.

Copying from /dev/urandom to /dev/sda using “dd” doesn’t
seem to copy anything at all. Checking the contents of /dev/sda
after trying to copy stuff there with “dd” shows that there
are only null-bytes at /dev/sda.
Comment 9 Mike Fabian 2008-04-25 10:40:05 UTC
Reassign to qemu maintainer Uli Hecht <uli@novell.com>.

Comment 10 Alexander Graf 2008-04-25 10:47:48 UTC
Do you have write permissions on the hda file? Does it work with -snapshot?
Comment 11 Mike Fabian 2008-04-25 14:16:10 UTC
The image file has write permisions:

mfabian@magellan:~$ ll /local2/qemu-images/qemu-11.0-magellan.*
-rw-r--r-- 1 mfabian suse 28672 2008-04-25 12:17 /local2/qemu-images/qemu-11.0-magellan.img
-rwxr-xr-x 1 mfabian suse   743 2008-04-22 16:54 /local2/qemu-images/qemu-11.0-magellan.sh*
mfabian@magellan:~$

I’ll try “-snapshot” now …
Comment 12 Mike Fabian 2008-04-25 15:16:44 UTC
The problem occurs also with “-snapshot”:

qemu-system-x86_64 -snapshot -std-vga -no-quit -m 512 \
        -cdrom /mounts/dist/install/openSUSE-11.0-Beta1/openSUSE-11.0-Beta1-DVD-x86_64.iso \
	-boot d \
	-hda $NAME.img \
	-monitor stdio \
	-net nic,model=rtl8139 \
        -net user,hostname=$NAME \
	-vnc :3 \
	$@
Comment 13 Ulrich Hecht 2010-08-04 15:52:49 UTC
If it works with KVM but fails with the emulator it's likely to be an emulation problem, which in turn is likely to have been fixed since 2008.