Hi Tomasz,
just for clarity, I am using run/lwip for testing the network.
It may also be important, that I'm still using Genode 18.05 and Fiasco.OC r79 for this and that I made small adaptions, mostly for the changed memory addresses from 0x20* to 0x3f*. (Every change I did should be documented in the e-mail history.)
Afaik the new VFS plugin for TCP/IP is still broken when using Genode with Fiasco.OC, correct me if I'm wrong here Genode folks. But since you also used lwip(_legacy) it should work.
The output looks like this on my end:
[init -> platform_drv] --- Raspberry Pi platform driver --- [...] [init -> usb_drv] No <hid> config node found - not starting the USB HID (Input) service [init -> usb_drv] No <storage> config node found - not starting the USB Storage (Block) service [init -> foc_gpio_drv] --- Raspberry Pi GPIO driver --- [init -> usb_drv] No <raw> config node found - not starting external USB service [init -> foc_gpio_drv] Warning: no GPIO config [init -> usb_drv] Enabled EHCI (USB 2.0) support [init -> foc_gpio_drv] Warning: no GPIO config [init] child "platform_drv" announces service "Platform" [init] child "foc_gpio_drv" announces service "Gpio" [init -> usb_drv] Using configured mac: 0x405ffbfc [init -> usb_drv] dev_info: DWC OTG Controller [init -> usb_drv] dev_info: new USB bus registered, assigned bus number 1 [init -> usb_drv] dev_info: irq 9, io mem 0x00000000 [init -> usb_drv] dev_info: USB hub found [init -> usb_drv] dev_info: 1 port detected [init -> usb_drv] dev_info: new high-speed USB device number 2 using dwc_otg [init -> usb_drv] dev_info: USB hub found [init -> usb_drv] dev_info: 5 ports detected [init -> usb_drv] dev_info: new high-speed USB device number 3 using dwc_otg [init -> usb_drv] Using configured mac: 0x408ffc24 [init -> usb_drv] netif_info: open: enable queueing (rx 4, tx 60) mtu 1500 simple framing [init -> usb_drv] nedev_info: hardware isn't capable of remote wakeup [init] child "usb_drv" announces service "Nic" [init -> usb_drv] netif_info: register 'smsc95xx' at usb-dwc_otg-1.1, smsc95xx USB 2.0 Ethernet, 02:00:00:00:01:01 [init -> test-lwip_httpsrv] Create new socket ... [init -> test-lwip_httpsrv] Now, I will bind ... [init -> test-lwip_httpsrv] Now, I will listen ... [init -> test-lwip_httpsrv] Start the server loop ... [init -> test-lwip_httpsrv] got IP address 10.0.0.5 [init -> test-lwip_httpsrv] Packet received! [init -> test-lwip_httpsrv] Will send response
Best regards, Alexander
PS: I attached the complete log of one boot.
On Mon, Apr 15, 2019 at 12:37:14AM +0200, Tomasz Gajewski wrote:
Tomasz Gajewski tomga@wp.pl writes:
Alexander Weidinger alexander.weidinger@tum.de writes:
I did not check networking yet but eliminated -92 errors for keyboard and mouse.
I integrated your "brutal" fix and did a short test with a RPi 3. Networking seems to work and the error seems to be eliminated.
It's a great news.
I'd like to ask you how do you test networking. Sometimes I have problems with establishing which test programs are supposed to work and therefore sometimes fight with more than one problem at a time.
Alexander, after a while I realized you wrote which scenario you were running and that I have already tried running it earlier. If that's not a problem could you post a log of it when it is working?
I don't have any errors when running it but there is also nothing that would suggest that an address from dhcp is retrieved so probably something is missing and it would help me to know what it is.
My log for lwip ends with:
[init -> usb_drv] No <hid> config node found - not starting the USB HID (Input) service [init -> usb_drv] No <storage> config node found - not starting the USB Storage (Block) service [init -> usb_drv] No <raw> config node found - not starting external USB service [init -> usb_drv] Enabled EHCI (USB 2.0) support [init -> usb_drv] Using configured mac: 0x404fec2c
Regards, Tomasz Gajewski