[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#767042: [jessie daily 2014-10-27] [armhf] Installation report: LeMaker Banana Pi - problems with autoloading the realtek ethernet PHY driver module



Cc+=debian-kernel@ for input since I seem to recall having seen PHY
drivers (including in a realtek context) being mentioned lately, at
least on IRC, maybe on list as well.

Karsten Merker <merker@debian.org> (2014-10-27):
> Package: installation-reports
> 
> Boot method: hd-media (installer booted from USB stick)
> Image version:
>   http://d-i.debian.org/daily-images/armhf/daily/hd-media/hd-media.tar.gz
>   (dated 27-Oct-2014 05:17) together with
>   http://cdimage.debian.org/cdimage/weekly-builds/armhf/jigdo-cd/debian-testing-armhf-CD-1.jigdo
>   (dated 2014-10-27 11:58)
> Date: 2014-10-27
> U-Boot: 2014.10+dfsg1-1
> 
> Machine: LeMaker Banana Pi
> Processor: Allwinner A20 (2x Cortex A7)
> Memory: 1GB
> Mass Storage: 16GB SD card
> 
> Base System Installation Checklist:
> [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
> 
> Initial boot:           [O]
> Detect network card:    [E] (see comments below, getting this to work 
>                              requires manual loading of the proper
>                              ethernet PHY driver module)
> Configure network:      [O]
> Detect CD:              [O]
> Load installer modules: [O]
> Detect hard drives:     [O]
> Partition hard drives:  [O]
> Install base system:    [O]
> Clock/timezone setup:   [O]
> User/password setup:    [O]
> Install tasks:          [O]
> Install boot loader:    [O]
> Overall install:        [O]
> 
> Comments/Problems:
> The "detect network hardware" step fails with
> "No Ethernet card was detected. If you know the name of the driver
>  needed by your Ethernet card, you can select it from the list."
> 
> dmesg shows:
> [   73.100072] stmmaceth 1c50000.ethernet: no reset control found
> [   73.100103]  Ring mode enabled
> [   73.100112]  No HW DMA feature register supported
> [   73.100120]  Normal descriptors
> [   73.100127]  TX Checksum insertion supported
> [   73.104782] libphy: stmmac: probed
> [   73.104812] eth0: No PHY found
> 
> i.e. the correct ethernet MAC driver (stmmac) gets loaded
> automatically, but the necessary PHY driver (realtek) does not.
> Loading the realtek module after the stmmac driver has probed
> for a PHY does not change anything; the stmmac driver does not
> re-probe for a PHY upon later loading of the PHY driver.
> Manually unloading the stmmac module, loading the PHY driver
> and then loading the stmmac module again from a shell by
> running
> 
> ~ # rmmod stmmac
> ~ # modprobe realtek
> ~ # modprobe stmmac
> 
> results in
> 
> [  499.364044] stmmaceth 1c50000.ethernet: no reset control found
> [  499.364076]  Ring mode enabled
> [  499.364084]  No HW DMA feature register supported
> [  499.364090]  Normal descriptors
> [  499.364097]  TX Checksum insertion supported
> [  499.392561] libphy: stmmac: probed
> [  499.392592] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
> [  499.392604] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
> 
> and the ethernet interface works. The kernel version used in this
> installer build is 3.16.5-1.
> 
> Regards,
> Karsten

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: