Rpi3: no ethernet in 4.13: bisected to patch 'USB: of: fix root-hub device-tree node handling'

Hans Verkuil hverkuil at xs4all.nl
Wed Aug 2 02:49:00 PDT 2017


On 08/02/17 11:39, Johan Hovold wrote:
> On Wed, Aug 02, 2017 at 09:03:43AM +0200, Hans Verkuil wrote:
>> When testing with my Raspberry Pi 3 and the 4.13-rcX mainline kernel
>> I discovered that there was no ethernet. After bisecting I got to commit
>> 2bf69867 ('USB: of: fix root-hub device-tree node handling').
>>
>> With that commit lsusb outputs:
>>
>> rpi3: ~ # lsusb
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> After reverting just that commit (I'm on 4.13-rc3 now) ethernet is
>> restored and lsusb gives me:
>>
>> rpi3: ~ $ lsusb
>> Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
>> Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> I don't speak USB, so I have no idea why this patch causes these issues,
>> but I am happy to test patches.
> 
> Thanks for reporting this. At first glance, I fail to see how setting
> the device-node pointer for the root hub slightly sooner would cause the
> SMC9514 hub not to enumerate, but I'll try and see if I can reproduce
> this here.
> 
> I guess there are no further hints in the boot logs?

Good question. I can't remember seeing anything special, but neither was
I paying attention to it. I'll post both good and bad boot logs later today.
Do you want my .config as well?

Regards,

	Hans



More information about the linux-rpi-kernel mailing list