TFTP does not work with QEMU
Daniel Vandersee
dvandersee at escrypt.com
Thu Oct 5 15:45:02 CEST 2006
Hello,
this is the backtrace of the thread d.03 (task #d is tftp):
> backtrace (thread d.03, fp=01030f8c, pc=000f9f9b):
> #1 000f9f9b
> #2 0100ec73 : check_pcibios + 0x13
> /home/user/ext/l4env-26/l4/pkg/pci/lib/src/bios32.c:549
> #3 0100ef39 : pci_find_bios + 0x69
> /home/user/ext/l4env-26/l4/pkg/pci/lib/src/bios32.c:916
> #4 0100f0c5 : pcibios_init + 0x25
> /home/user/ext/l4env-26/l4/pkg/pci/lib/src/bios32.c:1269
> #5 01003307 : netboot_init + 0x17
> /home/user/l4env-26/l4/pkg/tftp/server/src/netboot/netboot.c:322
> #6 0100048c : real_main + 0x4c
> /home/user/ext/l4env-26/l4/pkg/tftp/server/src/main.c:241
> #7 01017575 : l4th_thread_start + 0x55
> /home/user/ext/l4env-26/l4/pkg/thread/lib/src/create.c:72
>
> --kernel-bt-follows--
> #0 f0006bd0
> #1 f000666d
> #2 f0007aa7
> #3 f0008dfa
> #4 f00290f4
This is the disassembly around the lret-instruction at 0f9f9b ( I didn't
figured out to which module this belongs ).
> 000f9f72 out %eax,(%dx)
> 000f9f73 mov $0xcfc,%dx
> 000f9f77 in (%dx),%eax
> 000f9f78 cmp $0x12378086,%eax
> 000f9f7d jne 0xf9f92
> 000f9f7f mov $0xf0000,%ebx
> 000f9f84 mov $0x0,%ecx
> 000f9f89 mov $0x9fa0,%edx
> 000f9f8e xor %al,%al
> 000f9f90 jmp 0xf9f94
> 000f9f92 mov $0x80,%al
> 000f9f94 popfw
> 000f9f96 andl $0xfffffffc,0x4(%esp)
> 000f9f9b lret
> 000f9f9c add %al,(%eax)
> 000f9f9e add %al,(%eax)
> 000f9fa0 pushfw
> 000f9fa2 cli
> 000f9fa3 push %esi
> 000f9fa4 push %edi
> 000f9fa5 cmp $0x1,%al
> 000f9fa7 jne 0xf9fbd
> 000f9fa9 mov $0x210,%bx
Daniel
Adam Lackorzynski wrote:
> Hi,
>
> On Mon Oct 02, 2006 at 16:58:18 +0200, Daniel Vandersee wrote:
>
>>when I try to run tftp under QEMU 0.8.2 with an emulated pcnet or
>>ne2k-pci network card I get the following error. However, tftp under
>>VMWare works just fine. Any help would be appreciated.
>>
>>Kind regards,
>>Daniel
>>
>>
>>>names | Starting thread listening for `exit' events
>>>simplets| Configured for 30 tasks.
>>>rtc | Date:02.10.2006 Time:14:42:15
>>>io | do_args(): Disabling internal IRQ handling.
>>>tftp | NICs supported: E1000, EEPRO100, NE2000/PCI, PCNET32/PCI, RTL8139,
>>>tftp | Tulip, VIA 86C100
>>>io | PCI: Using configuration type 1
>>>io | PCI: Probing PCI hardware
>>>io | PCI: Probing PCI hardware (bus 00)
>>>
>>>KERNEL: d.3 (tcb=c0341800) killed:
>>>Unhandled trap
>>>
>>>EAX 12378000 EBX 000f0000 ECX 00000000 EDX 00009fa0
>>>ESI 00000000 EDI 01044e30 EBP 0102ff8c ESP 0102ff7c
>>>EIP 000f9f9b EFLAGS 00013206
>>>CS 001b SS 0023 DS 0023 ES 0023 FS 0023 GS 0043
>>>trap 13 (General Protection), error 00000018, from user mode
>>>(internal event regarding GDT entry no. 0x03)
>
>
> Please tell us what instructions are at 000f9f9b and where this is in
> the source code. bttd.3 will also help.
>
>
>
> Adam
More information about the l4-hackers
mailing list