Re: [pok-devel] POK - network example

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


On Wed, May 30, 2012 at 3:59 PM, Matias Hastaran
<matias.hastaran@xxxxxxxxxxx> wrote:
>
>> The pci card is present in QEMU?
>
> QEMU is run with :
>
> /usr/bin/qemu -fda /home/matias/stage-pok/pok/trunk/misc/grub-boot-only.img   -net nic,model=ne2k_pci,macaddr=00:0F:FE:5F:7B:2F -net socket,connect=127.0.0.1:1234 -pidfile qemu.pid -hda fat:. -boot a  &
>
> and
>
> /usr/bin/qemu -fda /home/matias/stage-pok/pok/trunk/misc/grub-boot-only.img   -net nic,model=ne2k_pci,macaddr=00:1F:C6:BF:74:06 -net socket,listen=127.0.0.1:1234 -pidfile qemu.pid -hda fat:. -boot a  &
>
> So I think the pci card is present (net nic,model=ne2k_pci)..

Could you double check using the QEMU embedded CLI?

>> The network code is properly compiled?
> No problem with the compilation...

I was suggesting the networking wasn't included in the binary. Please
try to run a GDB instance, and follow the syscalls. If you don't enter
them, then we know where the problem is. I had a bug like this a few
months ago.

Also check the generated #define.

> Can there be an error due to the version of QEMU (0.12.5)?

Maybe. Let me know the results of the above things. ;)

-- 
Laurent Lec



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/