Re: [pok-devel] POK - network example |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
- To: pok-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [pok-devel] POK - network example
- From: Laurent Lec <lec.laurent@xxxxxxxxx>
- Date: Sat, 2 Jun 2012 12:11:07 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Q4eanZi8v3oigYs2/uNuQ1OROxCMdlThjYyfymEfSF8=; b=lCGB92t6IB6c2hOP617BX9AJtAiJKGUMDj10l+RbG1GrbY9u6cTLm7gm2fwJ1saZ6c 0jVscmCWb9aqQ1GtiNUfg+cYPx6xckY5eq9j4pNYeoVLA9TpnwpE690jDGCM2+0emFiO /YXYXaqXbfVGmTBelBfGac3kmdKQC56ibh3VPAanMVZNeP11BP1/7NNE8S8cFTp7n7aC yUg3Bj2Jv2bHOt6qLyMXIRj7QYZwnEEqkKGtnArdjxQ/i/pV0/rSagMOJ6klFoqJfGau YUnbw8zcoWCsvdmwXtS5rY7oRVJbLtdLUsvfgKvsWLZWnw3LmZx6IGVZAh3vzSYx7bhD a5NQ==
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