search for: helloworld_stat

Displaying 4 results from an estimated 4 matches for "helloworld_stat".

Did you mean: helloworld_static
2015 Jul 07
2
I can read/write in virtio BLK Device, but I can't run a hello world program in it
...Members, I am trying to develop a driver for virtio blk device in guest. I can safely mount the virtual blk device with: mount /dev/vda /mnt/ in /mnt/ I can read & write the device. But when I run a simple hello world program in /mnt/root/, this error happens: root at linux_guest:/mnt/root# ./helloworld_static [ 23.003459] CPU: 0 PID: 491 Comm: helloworld_stat Not tainted 3.19.1+ #101 [ 23.007030] Hardware name: ARM-Versatile Express [ 23.010102] task: 970f2400 ti: 9184e000 task.ti: 9184e000 [ 23.011645] PC is at 0x11d6a [ 23.012801] LR is at 0x89b3 [ 23.013627] pc : [<00011d6a>]...
2015 Jul 07
2
I can read/write in virtio BLK Device, but I can't run a hello world program in it
...Members, I am trying to develop a driver for virtio blk device in guest. I can safely mount the virtual blk device with: mount /dev/vda /mnt/ in /mnt/ I can read & write the device. But when I run a simple hello world program in /mnt/root/, this error happens: root at linux_guest:/mnt/root# ./helloworld_static [ 23.003459] CPU: 0 PID: 491 Comm: helloworld_stat Not tainted 3.19.1+ #101 [ 23.007030] Hardware name: ARM-Versatile Express [ 23.010102] task: 970f2400 ti: 9184e000 task.ti: 9184e000 [ 23.011645] PC is at 0x11d6a [ 23.012801] LR is at 0x89b3 [ 23.013627] pc : [<00011d6a>]...
2015 Jul 07
0
I can read/write in virtio BLK Device, but I can't run a hello world program in it
...r that is already available in the > kernel? I am using a custom hypervisor, the available driver is not suitable for it. > > Have you already verified that you can successfully read the _right_ > data from your block device? I.e. something like > > mount /dev/xxx /mnt > cp helloworld_static /mnt/root/helloworld_static > umount /mnt # just to make sure that it is not cached > mount /dev/xxx /mnt > md5sum helloworld_static > md5sum /mnt/root/helloworld_static > > ... and then compare the two md5sums whether they are the same? They are different. Thank you so much....
2015 Jul 07
0
I can read/write in virtio BLK Device, but I can't run a hello world program in it
...e with: mount /dev/vda /mnt/ > in /mnt/ I can read & write the device. But when I run a simple hello world program in /mnt/root/, this error happens: Have you already verified that you can successfully read the _right_ data from your block device? I.e. something like mount /dev/xxx /mnt cp helloworld_static /mnt/root/helloworld_static umount /mnt # just to make sure that it is not cached mount /dev/xxx /mnt md5sum helloworld_static md5sum /mnt/root/helloworld_static ... and then compare the two md5sums whether they are the same? Thomas