Bug#864562: No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem

2017-10-17 Thread Jean-Louis Mounier

Hello Karsten,

There may be an issue : yesterday evening, I only started the 
installation, just enough to verify the communication between the 
installer and the repositories. I didn't complete the installation.


Maybe I should try a (minimalist) installation and verify that the 
network is still working when the system reboots !


Do you think it is necessary ?

Regards

Jean-Louis Mounier


Le 16/10/2017 à 22:45, Karsten Merker a écrit :

On Mon, Oct 16, 2017 at 09:39:36PM +0200, Jean-Louis Mounier wrote:


for some reasons, I changed my mail configuration and I
discovered your last request very recently (!) Sorry for the
delay.  Now I keep an eye on the bug thru the bug web page.

I discovered a new installer release but the bug is still
present.

Now the test :

=> gpio clear PA17
gpio: pin PA17 (gpio 17) value is 0
=>run bootcmd

after that, the installer got IPV4 and IPV6 addresses wwith DHCP and then
ran fine.

Hope it helps

Yes, that helps as it confirms that a change in u-boot alone is
enough to work around the issue in Linux as well (although it is
debateable whether the kernel should rely on the bootloader in
this case or not).  There has recently been an attempt to address
the issue in mainline u-boot, but that didn't work out as planned
and the patch got rejected:

https://lists.denx.de/pipermail/u-boot/2017-September/307778.html

Regards,
Karsten




Bug#864562: No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem

2017-10-16 Thread Jean-Louis Mounier

Hello Karsten,

for some reasons, I changed my mail configuration and I discovered your 
last request very recently (!) Sorry for the delay. Now I keep an eye on 
the bug thru the bug web page.


I discovered a new installer release but the bug is still present.

Now the test :

=> gpio clear PA17
gpio: pin PA17 (gpio 17) value is 0
=>run bootcmd

after that, the installer got IPV4 and IPV6 addresses wwith DHCP and 
then ran fine.


Hope it helps

Regards


Jean-Louis Mounier



Bug#864562: No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem

2017-07-28 Thread Jean-Louis MOUNIER

Hello Karsten,

thank you for your investigations and sorry for the delay : I have many 
lives...


here is the test result :

   U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +) Allwinner
   Technology

   CPU:   Allwinner A20 (SUN7I)
   Model: Olimex A20-Olinuxino Micro
   I2C:   ready
   DRAM:  1 GiB
   MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
   *** Warning - bad CRC, using default environment

   Setting up a 1024x768 vga console (overscan 0x0)
   In:serial
   Out:   vga
   Err:   vga
   SCSI:  SATA link 0 timeout.
   AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
   flags: ncq stag pm led clo only pmp pio slum part ccc apst
   Net:   eth0: ethernet@01c5
   starting USB...
   USB0:   USB EHCI 1.00
   USB1:   USB OHCI 1.0
   USB2:   USB EHCI 1.00
   USB3:   USB OHCI 1.0
   scanning bus 0 for devices... 1 USB Device(s) found
   scanning bus 2 for devices... 1 USB Device(s) found
   Hit any key to stop autoboot:  0
   =>
   =>
   => *gpio clear PA17*
   gpio: pin PA17 (gpio 17) value is 0
   => *dhcp*
   Speed: 100, full duplex
   BOOTP broadcast 1
   BOOTP broadcast 2
   BOOTP broadcast 3
   DHCP client bound to address 192.168.11.80 (1028 ms)
   *** Warning: no boot file name; using 'C0A80B50.img'
   Using ethernet@01c5 device
   TFTP from server 0.0.0.0; our IP address is 192.168.11.80; sending
   through gateway 192.168.11.254
   Filename 'C0A80B50.img'.
   Load address: 0x4200
   Loading: *
   TFTP error: 'File not found' (1)
   Not retrying...
   =>

As you can see, the gpio command make a change ! For information, the 
192.168.11.80 network address and the gateway address are valid for my 
home network. The DHCP request did work fine !


Thank you

Regards

Jean-louis





Bug#864562: Info received (Bug#864562: No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem)

2017-07-24 Thread Jean-Louis MOUNIER

Hello,

I've just read Olimex Blog and found the following text about my board 
(which is a J Release).


   /We are selling for some time already //A20-OLinuXino-MICRO
   
//Rev.J
   where few things were improved:/

   //

1. /We changed the LAN PHY from Realtek to Microchip as latter
   is more reliable supplier for both commercial and industrial
   temperature components, we searched desperately Realtek PHY
   in industrial temperature grade but without success./
2. /We extended the input working voltage from 6-16VDC to 8-24VDC/
3. /We changed the NAND Flash to eMMC (but old NAND style flash
   is still possible to assembly)/

   //

   /The Ethernet PHY change requires new patches on the Uboot and
   Linux images which are already uploaded./

Obviously, the Debian Installer Kernel needs a patch to run on my (very) 
new board. I don't have a lot of time neither skill level to investigate 
the patch myself but I'm ready to run any test fron my board as you need...


Thank you in advance

Regards





Bug#864562: No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem

2017-06-22 Thread Jean-Louis MOUNIER

Hello Karsten,

I installed Stretch on my A20 with the USB network interface.

After a successfull minimal installation (on the Micro SD card), I 
configured eth0 and rebooted the system. The result is the same : the 
PHY is unable to get an IP address with DHCP.


The problem witch 4.9.0-3-armmp-lpae is the same as with the installer 
kernel.


Small information :

root@hendrix:~# dmesg |grep eth0
[   10.040210] sun7i-dwmac 1c5.ethernet eth0: fail to init PTP.
[   10.045905] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.117354] sun7i-dwmac 1c5.ethernet eth0: Link is Up - 
100Mbps/Full - flow control rx/tx

[   12.117405] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

I think I'll have to wait for a new kernel release...

Hope it helps

Regards

Jean-Louis



Bug#864562: No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem

2017-06-16 Thread Jean-Louis MOUNIER

Hello Karsten,

thank you for all your informations about A20 specifications. I will 
test them ASAP ! I guessI will spend time on uboot...


However, I have a new information about Jessie on my A20-Olinuxino 
Micro. Yesterday night, I installed Jessie on my board using my 
USB-Ethernet interface. Two informations.


I first used a 128M micro SD, with no speed indication. The (small) size 
would have been enought for the installer but I could not boot the 
installer, probably because the card is too slow. I attempted another 
install with a Class10 8G Micro SD and then it ran fine. I don't know if 
it is really a bug.


Second and more important regarding #864562 : after reboot, the board 
network interface is still unable to connect to the switch. This means 
that the issue is probably in the kernel, even in Jessie kernel.


Hope it helps

Regards

Jean-Louis



Bug#669052: [regression 3.2.12 - 3.2.14] r8169 driver not automatically loaded

2012-04-26 Thread Jean-Louis Mounier

Hello Jonathan,

here it comes,

Regards

Jean-Louis

Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jean-Louis Mounier jean-louis.moun...@laposte.net
To: Debian Bug Tracking System sub...@bugs.debian.org
Subject: initramfs-tools: none

Package: initramfs-tools
Version: 0.101
Severity: wishlist



-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-2-amd64 root=/dev/mapper/sys-root ro quiet

-- resume
RESUME=/dev/hda5
-- /proc/filesystems
ext4
ext2
fuseblk

-- lsmod
Module  Size  Used by
xt_tcpudp  12570  2 
ipt_MASQUERADE 12594  2 
iptable_nat12928  1 
nf_nat 18242  2 iptable_nat,ipt_MASQUERADE
nf_conntrack_ipv4  14078  3 nf_nat,iptable_nat
nf_defrag_ipv4 12483  1 nf_conntrack_ipv4
nf_conntrack   52720  4 
nf_conntrack_ipv4,nf_nat,iptable_nat,ipt_MASQUERADE
iptable_filter 12536  1 
ip_tables  22042  2 iptable_filter,iptable_nat
x_tables   19073  5 
ip_tables,iptable_filter,iptable_nat,ipt_MASQUERADE,xt_tcpudp
autofs427635  1 
powernow_k817574  0 
mperf  12453  1 powernow_k8
cpufreq_userspace  12576  0 
cpufreq_stats  12866  0 
cpufreq_conservative13147  0 
ppdev  12763  0 
lp 17149  0 
cpufreq_powersave  12454  0 
bnep   17567  2 
bluetooth 119406  7 bnep
tun18337  4 
fuse   61981  3 
nfsd  211858  13 
nfs   312191  0 
nfs_acl12511  2 nfs,nfsd
auth_rpcgss37143  2 nfs,nfsd
fscache36739  1 nfs
lockd  67328  2 nfs,nfsd
sunrpc173671  19 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
ext2   59231  1 
r8169  46980  0 
w83627hf   26486  0 
hwmon_vid  12430  1 w83627hf
loop   22641  0 
snd_via82xx23093  3 
snd_ac97_codec106899  1 snd_via82xx
snd_mpu401_uart13507  1 snd_via82xx
snd_pcm_oss36985  0 
snd_mixer_oss  17916  1 snd_pcm_oss
snd_pcm63900  3 snd_pcm_oss,snd_ac97_codec,snd_via82xx
nouveau   545197  2 
mxm_wmi12473  1 nouveau
snd_page_alloc 13003  2 snd_pcm,snd_via82xx
arc4   12458  2 
wmi13243  1 mxm_wmi
snd_seq_midi   12848  0 
snd_seq_midi_event 13316  1 snd_seq_midi
snd_rawmidi23060  2 snd_seq_midi,snd_mpu401_uart
ath5k 129406  0 
video  17628  1 nouveau
ttm48725  1 nouveau
ath21370  1 ath5k
drm_kms_helper 27227  1 nouveau
snd_seq45093  2 snd_seq_midi_event,snd_seq_midi
mac80211  192768  1 ath5k
snd_seq_device 13176  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer  22917  2 snd_seq,snd_pcm
cfg80211  137140  3 mac80211,ath,ath5k
snd52850  16 
snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_mpu401_uart,snd_ac97_codec,snd_via82xx
drm   167670  4 drm_kms_helper,ttm,nouveau
parport_pc 22364  1 
usblp  17343  0 
soundcore  13065  1 snd
parport31858  3 parport_pc,lp,ppdev
rfkill 19012  3 cfg80211,bluetooth
ac97_bus   12510  1 snd_ac97_codec
pcspkr 12579  0 
evdev  17562  9 
i2c_algo_bit   12841  1 nouveau
i2c_viapro 12499  0 
gameport   13612  1 snd_via82xx
i2c_core   19780  5 
i2c_viapro,i2c_algo_bit,drm,drm_kms_helper,nouveau
psmouse64455  0 
serio_raw  12931  0 
amd64_edac_mod 22334  0 
edac_mce_amd   17103  1 amd64_edac_mod
edac_core  35258  3 amd64_edac_mod
k8temp 12647  0 
shpchp 31293  0 
processor  28106  1 powernow_k8
thermal_sys18040  2 processor,video
button 12937  1 nouveau
ext4  350507  10 
crc16  12343  2 ext4,bluetooth
jbd2   62015  1 ext4
mbcache13065  2 ext4,ext2
dm_mod 63545  33 
sd_mod 36136  2 
sr_mod 21899  0 
crc_t10dif 12348  1 sd_mod
cdrom  35401  1 sr_mod
ata_generic12479  0 
pata_via   12847  0 
sata_promise   13540  2 
sata_via   12971  0 
uhci_hcd   26865  0 
ehci_hcd   40215  0 
libata140589  4 sata_via,sata_promise,pata_via,ata_generic
floppy 53129  0 
usbcore   128498  4 ehci_hcd,uhci_hcd,usblp
scsi_mod  162458  3 libata,sr_mod

Bug#669052: Bug 669052 : Re: [regression 3.2.12 - 3.2.14] r8169 driver not automatically loaded (Re: Bug...)

2012-04-25 Thread Jean-Louis MOUNIER

Hello Jonathan,

sorry for my last subject line...I wrote it from my office and I should 
have think to include at least the bug number in the subject...


modprobe r8169 :

I should have think to do this obvious test ! :-!

It works !
The sequence :

modprobe r8169
ifup eth0

made my server fully functionnal.
Then I added r8169 to /etc/modules  as a workaroud and  the server 
runs fine.


My system is ok now but can we consider the bug as solved ? You will 
give the answer to the question...

If you need, I will run further tests on my machine.

Thank you for your help

regards
Jean-Louis



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f985242.6030...@laposte.net



Bug#669052: [regression 3.2.12 - 3.2.14] r8169 driver not automatically loaded

2012-04-25 Thread Jean-Louis MOUNIER
Following your instructions, I did install linux-image-3.2.0-2-amd64 
version 3.2.12-1 (after commenting the r8169 line in /etc/modules).


uname -a gives :
Linux morisson 3.2.0-2-amd64 #1 SMP Tue Mar 20 20:45:09 UTC 2012 x86_64 
GNU/Linux

(just for verification)

The system comes faulty : the on board Realtek card is not detected at 
boot but starts with modprobe 8169;ifup eth0.


Regards
Jean-Louis



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f985eeb.10...@laposte.net



Bug#669052: linux-image-3.2.0-2-amd64: NIC RTL-8169 not loaded with last testing release

2012-04-16 Thread Jean-Louis Mounier
Package: linux-2.6
Version: 3.2.14-1
Severity: grave
Justification: renders package unusable

Hi,

on Apr, 15, as I do almost every day, I did upgrade my testing release. The
kernel 3.2.0-2-amd64 upgraded from 3.2.12-1 to 3.2.14-1.
After reboot, my eth0 NIC is no longer detected.
I installed firmware-realtec : same.
As a workaround, I boot on an old 3.2.0.1 which was still present.
The unstable version gives the same result.
My NIC is detected in other system information :

Seems to be in relation with Realtec NIC driver...

Thank you in advance
regards



-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: MSI
product_name: MS-6702
product_version: 1.0
chassis_vendor: Uknown Chassis Manufacture
chassis_version: Version 1.00
bios_vendor: American Megatrends Inc.
bios_version: Version 07.00T
board_vendor: MSI
board_name: MS-6702
board_version: 1.0

** PCI devices:
00:00.0 Host bridge [0600]: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host 
Bridge [1106:3188] (rev 01)
Subsystem: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge 
[1106:3188]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort+ SERR- PERR- INTx-
Latency: 8
Region 0: Memory at ignored (32-bit, prefetchable)
Capabilities: access denied
Kernel driver in use: agpgart-amd64

00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237/8251 PCI bridge 
[K8M890/K8T800/K8T890 South] [1106:b188] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: cda0-cfaf
Prefetchable memory behind bridge: bd90-cd8f
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort+ SERR- PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: access denied

00:06.0 Ethernet controller [0200]: Intel Corporation 82557/8/9/0/1 Ethernet 
Pro 100 [8086:1229] (rev 05)
Subsystem: Intel Corporation 82558B PRO/100+ PCI (TP) [8086:0009]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 32 (2000ns min, 14000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at cd9ff000 (32-bit, prefetchable) [size=4K]
Region 1: I/O ports at e000 [size=32]
Region 2: Memory at cfe0 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at cfd0 [disabled] [size=1M]
Capabilities: access denied
Kernel driver in use: e100

00:08.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212/AR5213 
Wireless Network Adapter [168c:0013] (rev 01)
Subsystem: D-Link System Inc AirPlus DWL-G520 Wireless PCI Adapter 
(rev. B) [1186:3a13]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory at cffe (32-bit, non-prefetchable) [size=64K]
Capabilities: access denied
Kernel driver in use: ath5k

00:0b.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 
Gigabit Ethernet [10ec:8169] (rev 10)
Subsystem: Micro-Star International Co., Ltd. K8T NEO 2 motherboard 
[1462:702c]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 64 (8000ns min, 16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at dc00 [size=256]
Region 1: Memory at cfffef00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at cffa [disabled] [size=128K]
Capabilities: access denied
Kernel driver in use: r8169

00:0d.0 RAID bus controller [0104]: Promise Technology, Inc. PDC20378 (FastTrak 
378/SATA 378) [105a:3373] (rev 02)
Subsystem: Micro-Star International Co., Ltd. K8T NEO FIS2R motherboard 
[1462:702e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: