> Thanks John,
> but I see this behaviour only on one board out of 4 with the same
> conditions, I guess should be deterministic, doesn't it?

It seems so to me.  Do they all have the same operating system image and
boot setup?

I can't explain it, but it seems to be the same errors I saw.  If you
don't have the usb plugged in, do you still get the errors?

John

>
>
> 2014-11-17 13:22 GMT+01:00 John Ford <[email protected]>:
>>> Hi ALL!!!
>>>
>>> I have one ROACH-2 boards (ver.2) telling somethings about i2c
>>> read/write failures at boot time (log attached). I have checked all
>>> internal cables and wires and it seems to be all ok, all fans are
>>> rotating at nominal speed (they sound like other ROACHs). Does anybody
>>> have got the same message? I still working on the overall
>>> infrastructure and I didn't test any bof yet. Are these messages
>>> telling there is something so dangerous to deny the use of that board?
>>>
>>> The ROACH2 board is booting via NFS and I got no errors when flashing
>>> the
>>> envs.
>> Hi.
>>
>> I have found that the IIC does not work right if the console port is
>> active, i.e. with the usb cable plugged in.  See:
>>
>> http://www.mail-archive.com/casper%40lists.berkeley.edu/msg04861.html
>>
>> John
>>
>>>
>>> Thanks to ALL!
>>>
>>> Cheers,
>>> Andrea
>>>
>>> ################################################################
>>>
>>> U-Boot 2011.06-rc2-00000-g2694c9d-dirty (Dec 04 2013 - 20:58:06)
>>>
>>> CPU:   AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133 OPB=66
>>> EBC=66)
>>>        No Security/Kasumi support
>>>        Bootstrap Option C - Boot ROM Location EBC (16 bits)
>>>        32 kB I-Cache 32 kB D-Cache
>>> Board: ROACH2
>>> I2C:   ready
>>> DRAM:  512 MiB
>>> Flash: 128 MiB
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> CPLD:  2.1
>>> USB:   Host(int phy)
>>> I2C read: failed 2
>>> cannot read from i2c device: 54
>>> I2C write: failed 6
>>> DTT:   1 FAILED INIT
>>> I2C write: failed 6
>>> DTT:   2 FAILED INIT
>>> Net:   ppc_4xx_eth0
>>> Sensors ConfigI2C write: failed 6
>>> cannot write to i2c device: 50@42
>>> max16071: vmon config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 51@42
>>> max16071: cmon config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 4c@01
>>> ad7414: ambient0 config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 4e@01
>>> ad7414: ambient1 config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 18@12
>>> max1805: remote temp config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 48@00
>>> max6650: fpga fan config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 4b@00
>>> max6650: chs0 config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 1b@00
>>> max6650: chs1 config failed
>>> I2C write: failed 6
>>> cannot write to i2c device: 1f@00
>>> max6650: chs2 config failed
>>>
>>> type run netboot to boot via dhcp+tftp+nfs
>>> type run soloboot to run from flash independent of network
>>>
>>> Hit any key to stop autoboot:  0
>>> => run netboot
>>> Waiting for PHY auto negotiation to complete.. done
>>> ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
>>> BOOTP broadcast 1
>>> *** Unhandled DHCP Option in OFFER/ACK: 28
>>> *** Unhandled DHCP Option in OFFER/ACK: 28
>>> DHCP client bound to address 192.168.10.122
>>> Using ppc_4xx_eth0 device
>>> TFTP from server 192.168.10.4; our IP address is 192.168.10.122
>>> Filename '/roach2/boot/uImage-r2borph3'.
>>> Load address: 0x4000000
>>> Loading:
>>> #################################################################
>>>          #################################################################
>>>          #######################
>>> done
>>> Bytes transferred = 2231549 (220cfd hex)
>>> ## Booting kernel from Legacy Image at 04000000 ...
>>>    Image Name:   Linux-3.7.0-rc2+
>>>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>>>    Data Size:    2231485 Bytes = 2.1 MiB
>>>    Load Address: 00500000
>>>    Entry Point:  005010d4
>>>    Verifying Checksum ... OK
>>>    Uncompressing Kernel Image ... OK
>>> CPU clock-frequency <- 0x1fca0550 (533MHz)
>>> CPU timebase-frequency <- 0x1fca0550 (533MHz)
>>> /plb: clock-frequency <- 7f28154 (133MHz)
>>> /plb/opb: clock-frequency <- 3f940aa (67MHz)
>>> /plb/opb/ebc: clock-frequency <- 3f940aa (67MHz)
>>> /plb/opb/serial@ef600300: clock-frequency <- 54c563 (6MHz)
>>> /plb/opb/serial@ef600400: clock-frequency <- 54c563 (6MHz)
>>> Memory <- <0x0 0x0 0x3ffff000> (1023MB)
>>> ethernet0: local-mac-address <- 02:44:01:02:09:4d
>>>
>>> zImage starting: loaded at 0x00500000 (sp: 0x1fe22b40)
>>> Allocating 0x4b0508 bytes for kernel ...
>>> gunzipping (0x00000000 <- 0x0050e000:0x00966034)...done 0x447880 bytes
>>>
>>> Linux/PowerPC load: console=ttyS0,115200 root=/dev/nfs
>>> rootpath=192.168.10.4:/roach2/current,nolock ip=dhcp
>>> Finalizing device tree... flat tree at 0x973160
>>> roach2: claiming matching platform
>>> Using PowerPC 44x Platform machine description
>>> Linux version 3.7.0-rc2+ (shanly@shanly-HP8710w) (gcc version 4.6.1
>>> 20110627 (prerelease) (GCC) ) #21 Mon Nov 19 09:30:32 SAST 2012
>>> bootconsole [udbg0] enabled
>>> setup_arch: bootmem
>>> arch: exit
>>> Zone ranges:
>>>   DMA      [mem 0x00000000-0x2fffffff]
>>>   Normal   empty
>>> Movable zone start for each node
>>> Early memory node ranges
>>>   node   0: [mem 0x00000000-0x2fffffff]
>>> MMU: Allocated 1088 bytes of context maps for 255 contexts
>>> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
>>> 195072
>>> Kernel command line: console=ttyS0,115200 root=/dev/nfs
>>> rootpath=192.168.10.4:/roach2/current,nolock ip=dhcp
>>> PID hash table entries: 4096 (order: 2, 16384 bytes)
>>> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>>> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>>> Memory: 774576k/786432k available (4176k kernel code, 11856k reserved,
>>> 208k data, 417k bss, 144k init)
>>> Kernel virtual memory layout:
>>>   * 0xfffdf000..0xfffff000  : fixmap
>>>   * 0xfde00000..0xfe000000  : consistent mem
>>>   * 0xfddfe000..0xfde00000  : early ioremap
>>>   * 0xf1000000..0xfddfe000  : vmalloc & ioremap
>>> SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>>> NR_IRQS:512 nr_irqs:512 16
>>> UIC0 (32 IRQ sources) at DCR 0xc0
>>> UIC1 (32 IRQ sources) at DCR 0xd0
>>> UIC2 (32 IRQ sources) at DCR 0xe0
>>> clocksource: timebase mult[1e00000] shift[24] registered
>>> pid_max: default: 32768 minimum: 301
>>> Mount-cache hash table entries: 512
>>> regulator-dummy: no parameters
>>> NET: Registered protocol family 16
>>>
>>> bio: create slab <bio-0> at 0
>>> SCSI subsystem initialized
>>> Switching to clocksource timebase
>>> NET: Registered protocol family 2
>>> TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
>>> TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
>>> TCP: Hash tables configured (established 131072 bind 65536)
>>> TCP: reno registered
>>> UDP hash table entries: 512 (order: 1, 8192 bytes)
>>> UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
>>> NET: Registered protocol family 1
>>> RPC: Registered named UNIX socket transport module.
>>> RPC: Registered udp transport module.
>>> RPC: Registered tcp transport module.
>>> RPC: Registered tcp NFSv4.1 backchannel transport module.
>>> squashfs: version 4.0 (2009/01/31) Phillip Lougher
>>> jffs2: version 2.2. (NAND) \ufffd© 2001-2006 Red Hat, Inc.
>>> ROMFS MTD (C) 2007 Red Hat, Inc.
>>> msgmni has been set to 1512
>>> alg: No test for stdrng (krng)
>>> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
>>> io scheduler noop registered
>>> io scheduler deadline registered
>>> io scheduler cfq registered (default)
>>> Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
>>> serial8250.0: ttyS0 at MMIO 0x1ef600300 (irq = 16) is a 16550A
>>> console [ttyS0] enabled, bootconsole disabled
>>> console [ttyS0] enabled, bootconsole disabled
>>> serial8250.0: ttyS1 at MMIO 0x1ef600400 (irq = 17) is a 16550A
>>> roach2_fpga: ROACH2 FPGA Access driver
>>> roach2:  major 252Virtex 5 family
>>> roach2_fpga 1d0000000.fpga: ROACH2 FPGA driver
>>> roach2_fpga 1d0000000.fpga: check
>>> parameters,addr:0x1d0000000,size:0x4000000
>>> roach2_fpga 1d0000000.fpga: ioremap 1d0000000 to f1080000 with size
>>> 4000000
>>> roach2_fpga 1d0000000.fpga: ioremap 1c0100000 to f5100000 with size
>>> 200000
>>> roach2_fpga 1d0000000.fpga: char devices successfully registered
>>> brd: module loaded
>>> 1f8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank.
>>> Manufacturer ID 0x000001 Chip ID 0x002801
>>> Amd/Fujitsu Extended Query Table at 0x0040
>>>   Amd/Fujitsu Extended Query version 1.3.
>>> number of CFI chips: 1
>>> 6 ofpart partitions found on MTD device 1f8000000.nor_flash
>>> Creating 6 MTD partitions on "1f8000000.nor_flash":
>>> 0x000000000000-0x000000400000 : "kernel"
>>> 0x000000400000-0x000004400000 : "rootfs"
>>> 0x000004400000-0x000007400000 : "userfs"
>>> 0x000007400000-0x000007f00000 : "v6bitstream"
>>> 0x000007f40000-0x000007f80000 : "ubootenv"
>>> 0x000007f80000-0x000008000000 : "uboot"
>>> tun: Universal TUN/TAP device driver, 1.6
>>> tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
>>> PPC 4xx OCP EMAC driver, version 3.54
>>> MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
>>> ZMII /plb/opb/emac-zmii@ef600d00 initialized
>>> RGMII /plb/opb/emac-rgmii@ef601000 initialized with MDIO support
>>> /plb/opb/emac-rgmii@ef601000: input 0 in RGMII mode
>>> eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 02:44:01:02:09:4d
>>> eth0: found Marvell 88E1111 Ethernet PHY (0x01)
>>> PPP generic driver version 2.4.2
>>> mousedev: PS/2 mouse device common for all mice
>>> input: roach2chassis as /devices/virtual/input/input0
>>> ibm-iic 1ef600700.i2c: using standard (100 kHz) mode
>>> ibm-iic 1ef600800.i2c: using standard (100 kHz) mode
>>> ad7414 0-004c: chip found
>>> ad7414 0-004c: ad7414_probe unable to read config register.
>>> ad7414 0-004e: chip found
>>> ad7414 0-004e: ad7414_probe unable to read config register.
>>> max16065: probe of 0-0050 failed with error -121
>>> max16065: probe of 0-0051 failed with error -121
>>> max6650 0-0048: Error reading config, aborting.
>>> max6650: probe of 0-0048 failed with error -5
>>> max6650 0-004b: Error reading config, aborting.
>>> max6650: probe of 0-004b failed with error -5
>>> max6650 0-001b: Error reading config, aborting.
>>> max6650: probe of 0-001b failed with error -5
>>> max6650 0-001f: Error reading config, aborting.
>>> max6650: probe of 0-001f failed with error -5
>>> cpuidle: using governor ladder
>>> cpuidle: using governor menu
>>> IPv4 over IPv4 tunneling driver
>>> TCP: cubic registered
>>> NET: Registered protocol family 17
>>> Key type dns_resolver registered
>>> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
>>> ### of_selftest(): No testcase data in device tree; not running tests
>>> eth0: link is up, 100 FDX, pause enabled
>>> Sending DHCP requests ., OK
>>> IP-Config: Got DHCP answer from 192.168.10.4, my address is
>>> 192.168.10.122
>>> IP-Config: Complete:
>>>      device=eth0, addr=192.168.10.122, mask=255.255.255.0,
>>> gw=255.255.255.255
>>>      host=roach-2-b, domain=, nis-domain=(none)
>>>      bootserver=192.168.10.4, rootserver=192.168.10.4,
>>> rootpath=/roach2/current,nolock
>>>      nameserver0=192.168.10.4VFS: Mounted root (nfs filesystem)
>>> readonly on device 0:11.
>>> Freeing unused kernel memory: 144k freed
>>> INIT: version 2.88 booting
>>> about to run simple init script
>>> warning: can't open /etc/mtab: No such file or directory
>>> mount: mount point /proc/bus/usb does not exist
>>> INIT: Entering runlevel: 2
>>>  1 Jan 00:00:10 ntpdate[446]: no servers can be used, exiting
>>> Starting OpenBSD Secure Shell server: sshd.
>>> Starting NFS common utilities: statd failed!
>>> Starting NTP server: ntpd.
>>> tcpborphserver: ... loading roach mmap driver ...
>>> insmod: can't read '/lib/modules/roach_mmap.ko': No such file or
>>> directory
>>> version *3* using mmap
>>> tcpborphserver3: about to go into background
>>>
>>> Debian GNU/Linux 6.0 roach-2-b ttyS0
>>>
>>> roach-2-b login:
>>>
>>>
>>> --
>>> Andrea Mattana
>>>
>>> I.N.A.F. - Istituto di Radioastronomia
>>> Radiotelescopi di Medicina
>>> Via Fiorentina, 3513 - 40059 Medicina (Bo)
>>> Tel. 051/6965834      Fax. 051/6965810
>>>
>>>
>>
>>
>
>
>
> --
> Andrea Mattana
>
> I.N.A.F. - Istituto di Radioastronomia
> Radiotelescopi di Medicina
> Via Fiorentina, 3513 - 40059 Medicina (Bo)
> Tel. 051/6965834      Fax. 051/6965810
>



Reply via email to