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

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



On Thu, 2015-12-03 at 19:08 +0100, Karsten Merker wrote:
> On Sat, Nov 14, 2015 at 06:17:32PM +0000, Ben Hutchings wrote:
> > 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
> 
> Hello Ben,
> 
> I've just looked at the debian kernel repository and have seen
> that the patch is in the master (kernel 4.3) branch, but not in
> the sid (kernel 4.2) branch.  The problem exists already in
> kernel 4.2 - could you apply the patch to the sid branch as well?

Maybe.  I had expected there to be a 4.3.1 release by now, which could
be uploaded to unstable.  As that still hasn't appeared (and it isn't
even under review), perhaps I'll make another 4.2-based upload.

Ben.

-- 
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: