On Mar 5, 2013, at 9:10 PM, Insop Song <[email protected]> wrote:
> Hi all, > > I've built a new meta layer image based on core-image-minimal and > core-image-sato. > > After the successful build, whey I run "runqemu" with the image, my > qemu image won't get a dhcp IP. > I can manually assign IP after the boot up. > > Does anyone know why or which log to look at? runqemu already assigns a static IP to instance and it does not use bridging so dhcp from a server which is not the machine on which qemu is running will not work > > Here is the message from qemu > --------- > Configuring network interfaces... udhcpc (v1.20.2) started > Sending discover... > Sending discover... > Sending discover... > No lease, failing > [ 20.280668] rc (824) used greatest stack depth: 5632 bytes left > INIT: Entering runlevel: 5 > Starting syslogd/klogd: done > Stopping Bootlog daemon: bootlogd. > ---------- > > Here is the host side message > ---------- > $ runqemu tmp/deploy/images/bzImage-3.8-dl7-dl-qemux86-20130303034712.bin > tmp/deploy/images/core-image-minimal-dev-dl-qemux86-20130306045344.rootfs.ext3 > Set MACHINE to [qemux86] based on kernel > [tmp/deploy/images/bzImage-3.8-dl7-dl-qemux86-20130303034712.bin] > > Continuing with the following parameters: > KERNEL: [tmp/deploy/images/bzImage-3.8-dl7-dl-qemux86-20130303034712.bin] > ROOTFS: > [tmp/deploy/images/core-image-minimal-dev-dl-qemux86-20130306045344.rootfs.ext3] > FSTYPE: [ext3] > Setting up tap interface under sudo > Acquiring lockfile for tap0... > WARNING: distccd not present, no distcc support loaded. > Running qemu-system-i386... > /home/insop/mybuilds/dl/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-i386 > -kernel tmp/deploy/images/bzImage-3.8-dl7-dl-qemux86-20130303034712.bin > -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no > -hda > tmp/deploy/images/core-image-minimal-dev-dl-qemux86-20130306045344.rootfs.ext3 > -show-cursor -usb -usbdevice wacom-tablet -vga vmware -no-reboot -m > 128 --append "vga=0 root=/dev/hda rw mem=128M > ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 " > ------------- > > Thank you, > > Insop > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
