All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Zimmerman <pauldzim@gmail.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	QEMU / QEMU
	<incoming+a8857b5ced579c7499da46ef969a0b87@incoming.gitlab.com>,
	Paul Zimmerman <paulz@synopsys.com>
Subject: Re: QEMU | USB Ethernet device (RNDIS) does not work on several tested operating systems (#198)
Date: Fri, 11 Jun 2021 12:48:10 -0700	[thread overview]
Message-ID: <CADBGO7-KMxXA4sXGdztNfoK2h6Jim6Kyi=yuLLC083jAv_sppw@mail.gmail.com> (raw)
In-Reply-To: <CAAdtpL4utd6p3_Rg+h3rFt=V2sKv288G11dNqjDU21YitC2q-A@mail.gmail.com>

I will take a look. Might take me a couple of days to get to it though.

On Fri, Jun 11, 2021 at 4:10 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Cc'ing Paul Zimmerman for the hcd-dwc2 model.
>
> On Thu, Jun 10, 2021 at 2:10 PM programmingkidx (@programmingkidx) wrote:
> > 虎游 commented:
> >
> > The same problem occurred in my Raspberry Pi 3b+ emulation.
> >
> > Host: Debian 10 x86_64. Guest rootfs: https://download.canaan-creative.com/avalon921/openwrt/latest/rpi3-modelb/openwrt-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz Guest kernel & dtd: https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emulation
> >
> > Command:
> >
> > /usr/local/bin/qemu-system-aarch64 -M raspi3 -append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootdelay=1" -dtb ../qemu-rpi-kernel/native-emulation/dtbs/bcm2710-rpi-3-b-plus.dtb -drive file=avalon.img,format=raw,if=sd,id=root -kernel ../qemu-rpi-kernel/native-emulation/5.4.51\ kernels/kernel8.img -m 1G -smp 4 -usb -device usb-mouse -device usb-kbd -nographic -no-reboot -device usb-net,netdev=eth0 -netdev tap,id=eth0,ifname=avalon,script=no,downscript=no Output:
> >
> > [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.4.51-v8+ (dom@buildbot) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020 [ 0.000000] Machine model: Raspberry Pi 3 Model B+
> >
> > ...
> >
> > usbnet: failed control transaction: request 0x8006 value 0x600 index 0x0 length 0xa usbnet: failed control transaction: request 0x8006 value 0x600 index 0x0 length 0xa usbnet: failed control transaction: request 0x8006 value 0x600 index 0x0 length 0xa [ 3.688532] usb 1-1.3: New USB device found, idVendor=0525, idProduct=a4a2, bcdDevice= 0.00 [ 3.688739] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=10 [ 3.689454] usb 1-1.3: Product: RNDIS/QEMU USB Network Device [ 3.689563] usb 1-1.3: Manufacturer: QEMU [ 3.689639] usb 1-1.3: SerialNumber: 1-1.3
> >
> > ...
> >
> > root@OpenWrt:/# ifconfig -a lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:156 errors:0 dropped:0 overruns:0 frame:0 TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9836 (9.6 KiB) TX bytes:9836 (9.6 KiB)
> >
> > root@OpenWrt:/# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever Finally, there is no nic available in guest OS.


  reply	other threads:[~2021-06-11 19:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <reply-a8857b5ced579c7499da46ef969a0b87@gitlab.com>
     [not found] ` <issue_86599308@gitlab.com>
     [not found]   ` <note_597531265@gitlab.com>
     [not found]     ` <note_598004557@gitlab.com>
2021-06-11 11:10       ` QEMU | USB Ethernet device (RNDIS) does not work on several tested operating systems (#198) Philippe Mathieu-Daudé
2021-06-11 19:48         ` Paul Zimmerman [this message]
2021-06-12  7:40           ` Philippe Mathieu-Daudé
2021-06-12 19:10             ` Paul Zimmerman
2021-06-13  1:09               ` Paul Zimmerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADBGO7-KMxXA4sXGdztNfoK2h6Jim6Kyi=yuLLC083jAv_sppw@mail.gmail.com' \
    --to=pauldzim@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=incoming+a8857b5ced579c7499da46ef969a0b87@incoming.gitlab.com \
    --cc=paulz@synopsys.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.