Ticket #1 (new defect)
ping command is not working on emulated environment (under qemu)
| Reported by: | vivijim | Owned by: | laurov |
|---|---|---|---|
| Priority: | major | Milestone: | 0.3 |
| Component: | Qemu | Version: | 0.3 |
| Keywords: | Cc: |
Description (last modified by rsalveti) (diff)
root mamona-chroot /# ping www.google.com Unsupported setsockopt level=1 optname=6 Unsupported setsockopt level=1 optname=8 PING www.l.google.com (209.85.165.103): 56 data bytes 64 bytes from 209.85.165.103: icmp_seq=0 ttl=240 time=186.9 ms
After this first answer, the ping freeze.
And there are error messages:
unsupported setsockopt level=1 optname={6,8}
But level 1 is not supported by linux kernel as we can see in /usr/include/linux/socket.h:
/* Setsockoptions(2) level. Thanks to BSD these must match IPPROTO_xxx */ #define SOL_IP 0 /* #define SOL_ICMP 1 No-no-no! Due to Linux :-) we cannot use SOL_ICMP=1 */
Change History
Note: See
TracTickets for help on using
tickets.
