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

Bug#805098: [armhf] stmmac platform modules missing from nic-modules



On Sat, Nov 14, 2015 at 06:17:32PM +0000, Ben Hutchings wrote:
> I cloned the original bug and assigned the new one to the kernel.
> 
> On Sat, 2015-11-14 at 13:28 +0100, Karsten Merker wrote:
> [...]
> > it looks as if we have two separate issues here. One of them is a
> > bug in ethdetect, which should be fixed with the attached patch.
> > With this patch applied, the hang does not occur anymore, but d-i
> > doesn't detect any network interface either.  This in turn seems
> > to stem from missing modules, which is the result of a series of
> > upstream kernel changes to the stmmac driver that have split out
> > functionality from an existing module into different sub-modules:
> [...]
> > As a result, the installer nic-modules list in the Debian kernel
> > package needs to be adjusted accordingly.  I'll prepare a patch
> > for the kernel package, but I probably won't be able to actually
> > test it before tomorrow as building it takes quite some time on
> > my (comparatively slow) hardware.
> 
> Based on the platform modules that are currently being selected, I'm
> intending to apply this:
> 
> diff --git a/debian/changelog b/debian/changelog
> index 0053bf9..5eca6d3 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -21,6 +21,8 @@ linux (4.3-1~exp2) UNRELEASED; urgency=medium
>    * [armhf] Enable new drivers for Allwinner chips (Closes: #804856)
>      - crypto: Enable CRYPTO_DEV_SUN4I_SS as module
>      - musb: Enable USB_MUSB_SUNXI as module
> +  * [armhf] udeb: Add stmmac platform modules dwmac-generic, dwmac-socfpga
> +    and dwmac-sunxi to nic-modules (Closes: #805098)
>  
>    [ Ian Campbell ]
>    * [armel/orion5x] Enable Device Tree for orion5x. Patch from Roger Shimizu
> diff --git a/debian/config/armhf/config.armmp b/debian/config/armhf/config.armmp
> index 4d65053..d6ce545 100644
> --- a/debian/config/armhf/config.armmp
> +++ b/debian/config/armhf/config.armmp
> @@ -596,6 +596,9 @@ CONFIG_SMSC911X=m
>  ## file: drivers/net/ethernet/stmicro/stmmac/Kconfig
>  ##
>  CONFIG_STMMAC_ETH=m
> +CONFIG_DWMAC_GENERIC=m
> +CONFIG_DWMAC_SOCFPGA=m
> +CONFIG_DWMAC_SUNXI=m
>  
>  ##
>  ## file: drivers/net/ethernet/ti/Kconfig
> diff --git a/debian/installer/armhf/modules/armhf-armmp/nic-modules b/debian/installer/armhf/modules/armhf-armmp/nic-modules
> index 13086f0..e3d0df7 100644
> --- a/debian/installer/armhf/modules/armhf-armmp/nic-modules
> +++ b/debian/installer/armhf/modules/armhf-armmp/nic-modules
> @@ -4,6 +4,9 @@ mvmdio
>  smsc911x
>  stmmac
>  stmmac-platform
> +dwmac-generic
> +dwmac-socfpga
> +dwmac-sunxi
>  sun4i-emac
>  xgmac
>  ti_cpsw

Looks good to me.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: