Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #828819

Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio

From Heinrich Schuchardt <xypron.glpk@gmx.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio
Date 2017-06-15 14:10 +0200
Message-ID <tSBL3-2jj-5@gated-at.bofh.it> (permalink)
References <tSwBH-7qD-1@gated-at.bofh.it> <tSzzA-MV-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 06/15/2017 11:43 AM, Ben Hutchings wrote:
> Control: tag -1 moreinfo
> 
> On Thu, 2017-06-15 at 08:34 +0200, Heinrich Schuchardt wrote:
>> Package: debian-installer
>> Version: stretch
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> the Lamobo R1 is an Arm system based on the Amlogic A20.
>> The network interface of the A20 is connected to a switch.
>> If the switch is not configured there is no external
>> network access and subsequently a network install fails.
>>
>> On an installed system it is sufficient to have a line
>> in /etc/modules:
>> b53_mdio
>>
>> I suggest the following corrections to the installer:
>>
>> The initrd.img should include the b53_mdio module and its
>> prerequisites b53_common and dsa_core plus aforementioned
>> file /etc/modules.
>>
>> The installer should compare the content of
>> /proc/device-tree/model
>> to the string
>> Lamobo R1
>>
>> If this string is found, the file /etc/modules should be
>> appended with b53_mdio on the installed system.
> 
> Why is this necessary?  It should load automatically.
> 
> Ben.
> 

The device tree has a string:
compatible = "brcm,bcm53125"

Same string is in the b53_mdio MODULE_DEVICE_TABLE.

So I would have guessed it should create a match in b53_mdio.c.


But with linux-image-4.9.0-3-armmp the module is not loaded automatically.

I have tested as follows:

Remove b53_mdio from /etc/modules.
sudo update-initramfs -k $(uname -r) -u
sudo reboot
==> no network address assigned by DHCP
sudo modprobe b53_mdio
results in output
b53_common: found switch: BCM53125, rev 4

Add b53_mdio to /etc/modules.
sudo update-initramfs -k $(uname -r) -u
sudo reboot
==> Network is available
dmesg has these lines:
[  +0.325134] libphy: mdio_driver_register: bcm53xx
[  +0.005595] b53_common: found switch: BCM53125, rev 4
[  +0.013589] DSA: switch 0 0 parsed
[  +0.003438] DSA: tree 0 parsed

Best regards

Heinrich

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio Heinrich Schuchardt <xypron.glpk@gmx.de> - 2017-06-15 08:40 +0200
  Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio Ben Hutchings <ben@decadent.org.uk> - 2017-06-15 11:50 +0200
    Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio Cyril Brulebois <kibi@debian.org> - 2017-06-15 12:40 +0200
      Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio Karsten Merker <merker@debian.org> - 2017-06-15 13:10 +0200
        Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio Heinrich Schuchardt <xypron.glpk@gmx.de> - 2017-06-15 17:40 +0200
    Bug#864807: debian-installer: Lamobo R1 requires modprobe b53_mdio Heinrich Schuchardt <xypron.glpk@gmx.de> - 2017-06-15 14:10 +0200
  Bug#864807: b53_mdio module doesn't get loaded automatically on Lamobo R1 (was: debian-installer: Lamobo R1 requires modprobe b53_mdio) Karsten Merker <merker@debian.org> - 2017-06-15 12:30 +0200

csiph-web