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

2015-05-31 Thread Mitch Winkle
Ian,

Many thanks.  I noticed when perusing the dailies again that the last couple of 
days builds don't appear to have completed properly, at least according to the 
logs for netboot.  Many of the normal directories are not there, and of course 
their corresponding contents.


I looked at the DTB file for the cubieboard2 on 05/29/2015 and noted the same 
as you that it is now gmac rather than emac for ethernet for whatever reason.

aliases {
ethernet0 = /soc@01c0/ethernet@01c5;
};...

ethernet@01c0b000 {
compatible = allwinner,sun4i-a10-emac;
reg = 0x1c0b000 0x1000;
interrupts = 0x0 0x37 0x4;
clocks = 0x3 0x11;
status = disabled;
};

ethernet@01c5 {
compatible = allwinner,sun7i-a20-gmac;
reg = 0x1c5 0x1;
interrupts = 0x0 0x55 0x4;
interrupt-names = macirq;
clocks = 0x3 0x31 0x2f;
clock-names = stmmaceth, allwinner_gmac_tx;
snps,pbl = 0x2;
snps,fixed-burst;
snps,force_sf_dma_mode;
status = okay;
#address-cells = 0x1;
#size-cells = 0x0;
pinctrl-names = default;
pinctrl-0 = 0x30;
phy = 0x31;
phy-mode = mii;

ethernet-phy@1 {
reg = 0x1;
linux,phandle = 0x31;
phandle = 0x31;
};
};

 Mitch Winkle || [o] VA
AB4MW





On Saturday, May 30, 2015 12:50 PM, Ian Campbell i...@debian.org wrote:
Control: reassign -1 src:linux 4.0.2-1


On Sun, 2015-05-24 at 19:08 +, 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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2015-05-30 Thread Ian Campbell
Control: reassign -1 src:linux 4.0.2-1

On Sun, 2015-05-24 at 19:08 +, 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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2015-05-24 Thread Mitch Winkle
Package: installation-reports


Boot method: SD Card image netboot installer
Image version: 
http://d-i.debian.org/daily-images/armhf/daily/netboot/SD-card-images/
Various dailies were tried and broken for reasons detailed below.
Date: 2015-05-24 12:00 EDT

Machine: Cubieboard 2
Processor: ARM7 Allwinner A20 SoC
Memory: 1 Gb
Partitions: N/A since installer formats SD card and it doesn't get that far

Output of lspci -knn (or lspci -nn):

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[E] - complains no ethernet driver
Configure network:  [E] - no ethernet
Detect CD:  [ ]
Load
installer modules:  [E] - versions older than 2015-05-14 have ethernet 
driver but complain of no matching kernel modules (version conflict??)
Detect hard drives: [O]
Partition hard drives:  [E] - since no kernel modules cannot finish the ext4 
mounting since no LVM
Install base system:[ ]
Clock/timezone setup:   [ ]
User/password setup:[O]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[E]

Comments/Problems:

Following the instructions at: 
https://wiki.debian.org/InstallingDebianOn/Allwinner#Installing_from_an_SD_card_image

successfully installed each image on a NEW SanDisk 8 Gb Class 10 SD card.  
Cubieboard 2 boots and loads netboot installer and asks Language and Location 
question.  Then things fall apart in one of two ways.

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.

Older dailies which DO have ethernet driver complain of no matching kernel 
modules.  

Tried to install anyway and installer fails on partitioning since the ext4 
file system cannot be remounted without the LVM kernel module.

Thanks,

Mitch

mitchwin...@yahoo.com


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org