Package: qemubuilder
Version: 0.58
Severity: normal
qemu support emulating scsi as the device.
qemubuilder's doc says that scsi can be emulated by using the following
settings:
ARCH_DISKDEVICE=sd
When settings the above, I get the following:
I: Extracting zlib1g...
-> Doing arch-specific /dev population
mkdir chroot-/dev: File exists
/tmp/cowbuilder/build/qemu.28970/dev/console: File exists
forking: umount /tmp/cowbuilder/build/qemu.28970
forking: mke2fs -q -F -j -m1 -O sparse_super
/tmp/cowbuilder/build/qemu.28970.dev
forking: tune2fs -c 0 -i 0 /tmp/cowbuilder/build/qemu.28970.dev
tune2fs 1.41.9 (22-Aug-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
forking: mount -o loop /tmp/cowbuilder/build/qemu.28970.dev
/tmp/cowbuilder/build/qemu.28970
forking: umount /tmp/cowbuilder/build/qemu.28970.dev
umount: /tmp/cowbuilder/build/qemu.28970.dev: not mounted
forking qemu: qemu-system-x86_64 -nographic -M pc -m 512
-kernel /boot/vmlinuz-amd64 -initrd /boot/initrd-amd64 -hda
/var/tmp/chroot/qemubuilder_sid_x86-64 -hdb
/tmp/cowbuilder/build/qemu.28970.dev -append root=/dev/sda
quiet init=/pbuilder-run console=ttyS0 -serial stdio
Loading, please wait...
Couldnt get a file descriptor referring to the console
KDGKBMODE: Bad file descriptor
loadkeys: error reading keyboard mode
Volume group "VgSd" not found
Skipping volume group VgSd
Unable to find LVM volume VgSd/SWAP
WARNING bootdevice may be renamed. Try root=/dev/hda
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda does not exist. Dropping to a shell!
BusyBox v1.14.2 (Debian 1:1.14.2-2) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
(initramfs)
The log does understand the sd setting and sets the root=/dev/sda
parameter. But it doesn't do the same for qemu command-line.
To emulate scsi, as per the qemu doc, the following is required:
qemu -drive file=file,if=scsi,bus=0,unit=6
Qemu also seems to be supporting virtio. Adding support for that too
would be good.
The current IDE emulation is very resource hungry and keeps hitting
resets.
Listening on LPF/eth0/52:54:00:12:34:56
Sending on LPF/eth0/52:54:00:12:34:56
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 10.0.2.2
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.2.2
hostname: the specified hostname is invalid
bound to 10.0.2.15 -- renewal in 34763 seconds.
I: copying /etc/hosts from temporary location
I: copying /etc/hostname from temporary location
bash: cannot set terminal process group (-1): Inappropriate ioctl for
device
bash: no job control in this shell
r...@pbuilder-champaran:/# aptitude -f install
bash: aptitude: command not found
r...@pbuilder-champaran:/# apt-get -f install
[ 208.256613] hda: ide_dma_sff_timer_expiry: DMA status (0x61)
[ 218.268438] hda: DMA timeout error
[ 218.268902] hda: dma timeout error: status=0xd8 { Busy }
[ 218.269426] hda: possibly failed opcode: 0x35
[ 218.270292] hda: DMA disabled
[ 218.270993] hdb: DMA disabled
[ 218.316555] ide0: reset: success
[ 251.716252] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 261.716287] hda: DMA timeout error
[ 261.720188] hda: dma timeout error: status=0xd8 { Busy }
[ 261.720188] hda: possibly failed opcode: 0x35
[ 261.720188] hda: DMA disabled
[ 261.783090] ide0: reset: success
[ 305.856252] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 315.893927] hda: DMA timeout error
[ 315.894420] hda: dma timeout error: status=0xd8 { Busy }
[ 315.894957] hda: possibly failed opcode: 0x35
[ 315.895407] hda: DMA disabled
[ 315.940447] ide0: reset: success
[ 349.531089] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 359.532395] hda: DMA timeout error
[ 359.532742] hda: dma timeout error: status=0xd8 { Busy }
[ 359.533210] hda: possibly failed opcode: 0x35
[ 359.533578] hda: DMA disabled
[ 359.580306] ide0: reset: success
Terminated
Regards,
Ritesh
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages qemubuilder depends on:
ii debootstrap 1.0.20 Bootstrap a basic Debian system
ii kvm 72+dfsg-5+squeeze1 Full virtualization on x86 hardwar
ii libc6 2.10.1-5 GNU C Library: Shared libraries
ii pbuilder 0.192 personal package builder for Debia
ii qemu 0.10.6-1 fast processor emulator
qemubuilder recommends no packages.
qemubuilder suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]