On Fri, Aug 05, 2016 at 04:51:55PM -0300, Daniel Bolgheroni wrote:
> On Thu, Aug 04, 2016 at 04:32:09PM +0200, Patrick Wildt wrote:
> > Mark just committed a diff that should fix this issue. :-)
> 
> I was going to report this after making sure it's not something related
> to the network the board is attached.
> 
> Before r1.12 and r1.13, as the last commits refers to it, there were some
> issues related to auto negotiation. It was pointed out to manually set media 
> to
> 100baseTX, since the board was hooked in a Fast Ethernet switch. OK, so I had
> this at hostname.fec0:
> 
>     inet 192.168.1.3 255.255.255.0
>     media 100baseTX
>     mediaopt full-duplex
> 
> However, I noticed that after rebooting, the interface aparently was going up
> but I couldn't ping it. Only after issuing a "ifconfig fec0" that the 
> interface
> was becoming functional.
> 
> After the last update, now with r1.12 and r1.13, the same hostname.fec0, there
> is no network at all. Without the media/mediaopt the result is the same.
> 
> Thank you.
> 
> --
> $ vmstat -zi
> interrupt                       total     rate
> irq1023/spur                      144        0
> irq58/imxuart0                    170        0
> irq75/imxehci0                      0        0
> irq72/imxehci1                      0        0
> irq54/imxesdhc0                    40        0
> irq55/imxesdhc1                     4        0
> irq56/imxesdhc2                 21427       11
> irq60/imxuart1                      0        0
> irq29/tick                     389215      199
> Total                          411000      211
> $
> 
> OpenBSD 6.0-current (GENERIC) #0: Thu Aug  4 15:46:32 BRT 2016
>     dbolgher...@wbs.my.domain:/usr/src/sys/arch/armv7/compile/GENERIC
> real mem  = 536870912 (512MB)
> avail mem = 518017024 (494MB)
> mainbus0 at root: Wandboard i.MX6 Dual Lite Board rev B1
> cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
> cortex0 at mainbus0
> amptimer0 at cortex0: tick rate 396000 KHz
> armliicc0 at cortex0: rtl 8 waymask: 0x0000000f
> imx0 at mainbus0
> imxccm0 at imx0: imx6 rev 1.1 CPU freq: 792 MHz
> imxiomuxc0 at imx0
> imxocotp0 at imx0
> simplebus0 at mainbus0: "soc"
> ampintc0 at simplebus0 nirq 160
> simplebus1 at simplebus0: "aips-bus"
> simplebus2 at simplebus1: "spba-bus"
> imxuart0 at simplebus2: console
> imxgpio0 at simplebus1
> imxgpio1 at simplebus1
> imxgpio2 at simplebus1
> imxgpio3 at simplebus1
> imxgpio4 at simplebus1
> imxgpio5 at simplebus1
> imxgpio6 at simplebus1
> imxdog0 at simplebus1
> simplebus3 at simplebus1: "anatop"
> imxgpc0 at simplebus1
> simplebus4 at simplebus0: "aips-bus"
> imxehci0 at simplebus4
> usb0 at imxehci0: USB revision 2.0
> uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
> imxehci1 at simplebus4
> usb1 at imxehci1: USB revision 2.0
> uhub1 at usb1 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
> fec0 at simplebus4
> fec0: address 00:1f:7b:b0:08:52
> atphy0 at fec0 phy 1: AR8035 10/100/1000 PHY, rev. 4
> imxesdhc0 at simplebus4
> imxesdhc0: 198 MHz base clock
> sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma
> imxesdhc1 at simplebus4
> imxesdhc1: 198 MHz base clock
> sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma
> imxesdhc2 at simplebus4
> imxesdhc2: 198 MHz base clock
> sdmmc2 at imxesdhc2: 4-bit, mmc high-speed, dma
> imxiic0 at simplebus4
> iic0 at imxiic0
> imxiic1 at simplebus4
> iic1 at imxiic1
> "fsl,sgtl5000" at iic1 addr 0xa not configured
> imxuart1 at simplebus4
> simplebus5 at mainbus0: "regulators"
> sdmmc1: can't enable card
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <SD/MMC, 00000, 0010> SCSI2 0/direct fixed
> sd0: 1910MB, 512 bytes/sector, 3911680 sectors
> scsibus1 at sdmmc2: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <SD/MMC, SU08G, 0080> SCSI2 0/direct fixed
> sd1: 7580MB, 512 bytes/sector, 15523840 sectors
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> boot device: sd0
> root on sd1a (8202d1873078fd2f.a) swap on sd1b dump on sd1b
> WARNING: CHECK AND RESET THE DATE!
> 
> -- 
> db
> 

This is most probably caused by another commit:

http://marc.info/?l=openbsd-cvs&m=147032600711022&w=2

You can see that in the vmstat output there is no fec0.  This means it
never got established.  And that is because of that commit, as expected.
We're working on resolving that issue though.

If you back this diff out it should work again.

Reply via email to