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

Bug#786716: Debian on Allwinner A20 installation report (fail)



Control: reassign -1 src:linux 4.0.2-1

On Sun, 2015-05-24 at 19:08 +0000, Mitch Winkle wrote:
> 1. Older versions detect ethernet network and begin installer download
> which fails because of mis-matched kernel modules.
> 
> 2. Newer version have no ethernet support for the Cubieboard2
> (sunxi-emac) and so there is no way to download the installer.
> 
> Used dailies from 2015-05-08 forward.
> 
> All dailies newer than 05-12-2015 fail on loading ethernet "driver".

This seems to correspond with the switch in sid from 3.16.0-4-armmp to
4.0.0-1-armmp.

An initrd with 3.16.0-4-armmp won't work against the archive any longer
due to version mismatch.

The initrd from
http://d-i.debian.org/daily-images/armhf/20150514-00:36/netboot/initrd.gz
(which I think should be the first bad one) contains:

/lib/modules/4.0.0-1-armmp/kernel/drivers/net/ethernet/allwinner/sun4i-emac.ko

So the issue isn't that the module is missing altogether.

I booted the SD image from that date on a Cubieboard2 and indeed
sun4i-emac.ko is not automatically loaded and loading it by hand causes
no device to appear.

Looking around in /proc/device-tree it seems that the _gmac_ device is
marked enabled and the _emac_ device is disabled. The driver for this is
stmmac. Using the image from 20150512-00:43 this is the driver which is
loaded, so sunxi-emac is a red-herring I think.

stmmac.ko is also included in the 20150514-00:36 but also isn't
autoloaded and loading manually doesn't help.

Ah, it seems like we also need a new module, stmmac-platform.ko, to be
included in the nic-modules udeb.

I'll arrange for that to be in the next kernel upload.

Ian.


Reply to: