Post
Topic
Board Mining support
Re: help antminer s9 please
by
sladejr
on 02/11/2021, 02:35:00 UTC
Code:
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.0-xilinx-ga36f3af-dirty (lzq@ubuntu) (gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-23) ) #90 SMP PREEMPT Thu Jun 20 15:01:47 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Xilinx Zynq
[    0.000000] cma: CMA: reserved 128 MiB at 16800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c075a640, node_mem_map debd8000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 8 pages/cpu @debc1000 s9344 r8192 d15232 u32768
[    0.000000] pcpu-alloc: s9344 r8192 d15232 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: noinitrd mem=496M console=ttyPS0,115200 root=ubi0:rootfs ubi.mtd=1 rootfstype=ubifs rw rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 364252K/507904K available (5094K kernel code, 292K rwdata, 1948K rodata, 209K init, 259K bss, 143652K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06e8cf4   (7044 kB)
[    0.000000]       .init : 0xc06e9000 - 0xc071d480   ( 210 kB)
[    0.000000]       .data : 0xc071e000 - 0xc0767058   ( 293 kB)
[    0.000000]        .bss : 0xc0767064 - 0xc07a7d64   ( 260 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Dump stacks of tasks blocking RCU-preempt GP.
[    0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] ps7-slcr mapped to df802000
[    0.000000] zynq_clock_init: clkc starts at df802100
[    0.000000] Zynq clock init
[    0.000013] sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 3298534883328ns
[    0.000294] ps7-ttc #0 at df804000, irq=43
[    0.000594] Console: colour dummy device 80x30
[    0.000623] Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
[    0.100242] pid_max: default: 32768 minimum: 301
[    0.100452] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100471] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102658] CPU: Testing write buffer coherency: ok
[    0.102969] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103025] Setting up static identity map for 0x4d3ec0 - 0x4d3f18
[    0.103243] L310 cache controller enabled
[    0.103262] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72760000, Cache size: 512 kB
[    0.180987] CPU1: Booted secondary processor
[    0.270219] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.270349] Brought up 2 CPUs
[    0.270368] SMP: Total of 2 processors activated.
[    0.270376] CPU: All CPU(s) started in SVC mode.
[    0.271037] devtmpfs: initialized
[    0.273487] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.274682] regulator-dummy: no parameters
[    0.281585] NET: Registered protocol family 16
[    0.283850] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.286120] cpuidle: using governor ladder
[    0.286133] cpuidle: using governor menu
[    0.293513] syscon f8000000.ps7-slcr: regmap [mem 0xf8000000-0xf8000fff] registered
[    0.295036] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.295048] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.295157] zynq-ocm f800c000.ps7-ocmc: ZYNQ OCM pool: 256 KiB @ 0xdf880000
[    0.317564] bio: create slab <bio-0> at 0
[    0.318949] vgaarb: loaded
[    0.319644] SCSI subsystem initialized
[    0.320818] usbcore: registered new interface driver usbfs
[    0.320999] usbcore: registered new interface driver hub
[    0.322004] usbcore: registered new device driver usb
[    0.322540] media: Linux media interface: v0.10
[    0.322698] Linux video capture interface: v2.00
[    0.322942] pps_core: LinuxPPS API ver. 1 registered
[    0.322953] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.323075] PTP clock support registered
[    0.323427] EDAC MC: Ver: 3.0.0
[    0.324466] Advanced Linux Sound Architecture Driver Initialized.
[    0.327188] DMA-API: preallocated 4096 debug entries
[    0.327201] DMA-API: debugging enabled by kernel config
[    0.327269] Switched to clocksource arm_global_timer
[    0.346859] NET: Registered protocol family 2
[    0.347579] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.347637] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.347722] TCP: Hash tables configured (established 4096 bind 4096)
[    0.347767] TCP: reno registered
[    0.347785] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.347815] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.348050] NET: Registered protocol family 1
[    0.348384] RPC: Registered named UNIX socket transport module.
[    0.348396] RPC: Registered udp transport module.
[    0.348404] RPC: Registered tcp transport module.
[    0.348412] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.348424] PCI: CLS 0 bytes, default 64
[    0.348852] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    0.350847] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.352878] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.353061] msgmni has been set to 967
[    0.353821] io scheduler noop registered
[    0.353833] io scheduler deadline registered
[    0.353874] io scheduler cfq registered (default)
[    0.365949] dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208
[    0.365969] dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    0.491999] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82, base_baud = 3124999) is a xuartps
[    1.060313] console [ttyPS0] enabled
[    1.064573] xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to df866000
[    1.072201] [drm] Initialized drm 1.1.0 20060810
[    1.089198] brd: module loaded
[    1.098588] loop: module loaded
[    1.108013] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    1.113765] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    1.121580] libphy: XEMACPS mii bus: probed
[    1.125952] ------------- phy_id = 0x3625e62
[    1.130860] xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
[    1.139633] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.146246] ehci-pci: EHCI PCI platform driver
[    1.153512] zynq-dr e0002000.ps7-usb: Unable to init USB phy, missing?
[    1.160354] usbcore: registered new interface driver usb-storage
[    1.167197] mousedev: PS/2 mouse device common for all mice
[    1.173326] i2c /dev entries driver
[    1.180216] zynq-edac f8006000.ps7-ddrc: ecc not enabled
[    1.185692] cpufreq_cpu0: failed to get cpu0 regulator: -19
[    1.191608] Xilinx Zynq CpuIdle Driver started
[    1.196442] sdhci: Secure Digital Host Controller Interface driver
[    1.202686] sdhci: Copyright(c) Pierre Ossman
[    1.206954] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.213784] mmc0: no vqmmc regulator found
[    1.217827] mmc0: no vmmc regulator found
[    1.257313] mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
[    1.265995] usbcore: registered new interface driver usbhid
[    1.271507] usbhid: USB HID core driver
[    1.276204] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    1.282500] nand: Micron MT29F2G08ABAEAWP
[    1.286465] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[    1.292401] Bad block table found at page 131008, version 0x01
[    1.298626] Bad block table found at page 130944, version 0x01
[    1.304674] 3 ofpart partitions found on MTD device pl353-nand
[    1.310457] Creating 3 MTD partitions on "pl353-nand":
[    1.315547] 0x000000000000-0x000002000000 : "BOOT.bin-env-dts-kernel"
[    1.323593] 0x000002000000-0x00000b000000 : "angstram-rootfs"
[    1.330926] 0x00000b000000-0x000010000000 : "upgrade-rootfs"
[    1.339640] nf_conntrack version 0.5.0 (7739 buckets, 30956 max)
[    1.346161] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.351481] TCP: cubic registered
[    1.354716] NET: Registered protocol family 17
[    1.359449] Registering SWP/SWPB emulation handler
[    1.365327] regulator-dummy: disabling
[    1.369701] UBI: attaching mtd1 to ubi0
[    1.898056] UBI: scanning is finished
[    1.909680] UBI: attached mtd1 (name "angstram-rootfs", size 144 MiB) to ubi0
[    1.916728] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.923524] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.930200] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.937039] UBI: good PEBs: 1152, bad PEBs: 0, corrupted PEBs: 0
[    1.943048] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.950159] UBI: max/mean erase counter: 17/8, WL threshold: 4096, image sequence number: 1925294910
[    1.959276] UBI: available PEBs: 0, total reserved PEBs: 1152, PEBs reserved for bad PEB handling: 40
[    1.968492] UBI: background thread "ubi_bgt0d" started, PID 1085
[    1.968497] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.972452] ALSA device list:
[    1.972454]   No soundcards found.
[    1.988782] UBIFS: background thread "ubifs_bgt0_0" started, PID 1087
[    2.017991] UBIFS: recovery needed
[    2.134079] UBIFS: recovery completed
[    2.137765] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    2.143685] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.152819] UBIFS: FS size: 128626688 bytes (122 MiB, 1013 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    2.162704] UBIFS: reserved for root: 0 bytes (0 KiB)
[    2.167744] UBIFS: media format: w4/r0 (latest is w4/r0), UUID D2E2157C-794A-4932-956B-E22078A65162, small LPT model
[    2.178781] VFS: Mounted root (ubifs filesystem) on device 0:11.
[    2.186186] devtmpfs: mounted
[    2.189320] Freeing unused kernel memory: 208K (c06e9000 - c071d000)
[    3.029550] random: dd urandom read with 0 bits of entropy available
[    3.407327]
[    3.407327] bcm54xx_config_init
[    4.017345]
[    4.017345] bcm54xx_config_init
[    8.018146] xemacps e000b000.ps7-ethernet: Set clk to 124999998 Hz
[    8.024252] xemacps e000b000.ps7-ethernet: link up (1000/FULL)
[   37.284121] In axi fpga driver!
[   37.287215] request_mem_region OK!
[   37.290581] AXI fpga dev virtual address is 0xdfa10000
[   37.295708] *base_vir_addr = 0xc51e
[   37.310380] In fpga mem driver!
[   37.313715] request_mem_region OK!
[   37.317329] fpga mem virtual address is 0xe2000000
[   38.155315]
[   38.155315] bcm54xx_config_init
[   38.795260]
[   38.795260] bcm54xx_config_init
[   42.795678] xemacps e000b000.ps7-ethernet: Set clk to 124999998 Hz
[   42.801781] xemacps e000b000.ps7-ethernet: link up (1000/FULL)
[  445.484756] random: nonblocking pool is initialized
Detect 512MB control board of XILINX
Miner Type = S9
set_reset_allhashboard = 0x0000ffff
set_reset_allhashboard = 0x00000000
set_reset_allhashboard = 0x0000ffff
set_reset_allhashboard = 0x0000ffff
Check chain[5] PIC fw version=0x03
Check chain[6] PIC fw version=0x03
Check chain[7] PIC fw version=0x03
Fix freq=612 Chain[5] voltage_pic=142 value=860
Fix freq=612 Chain[6] voltage_pic=142 value=860
Fix freq=612 Chain[7] voltage_pic=142 value=860
set_reset_allhashboard = 0x0000ffff
set_reset_allhashboard = 0x00000000
Chain[J6] has 63 asic
Chain[J7] has 0 asic
set_reset_hashboard = 0x00000040
set_reset_hashboard = 0x00000000
retry Chain[J7] has 0 asic
set_reset_hashboard = 0x00000040
set_reset_hashboard = 0x00000000
retry Chain[J7] has 0 asic
set_reset_hashboard = 0x00000040
set_reset_hashboard = 0x00000000
retry Chain[J7] has 0 asic
set_reset_hashboard = 0x00000040
set_reset_hashboard = 0x00000000
retry Chain[J7] has 0 asic
set_reset_hashboard = 0x00000040
set_reset_hashboard = 0x00000000
retry Chain[J7] has 0 asic
set_reset_hashboard = 0x00000040
set_reset_hashboard = 0x00000000
retry Chain[J7] has 0 asic
Chain[J8] has 0 asic
set_reset_hashboard = 0x00000080
set_reset_hashboard = 0x00000000
retry Chain[J8] has 23 asic
set_reset_hashboard = 0x00000080
set_reset_hashboard = 0x00000000
retry Chain[J8] has 0 asic
set_reset_hashboard = 0x00000080
set_reset_hashboard = 0x00000000
retry Chain[J8] has 0 asic
set_reset_hashboard = 0x00000080
set_reset_hashboard = 0x00000000
retry Chain[J8] has 0 asic
set_reset_hashboard = 0x00000080
set_reset_hashboard = 0x00000000
retry Chain[J8] has 0 asic
set_reset_hashboard = 0x00000080
set_reset_hashboard = 0x00000000
retry Chain[J8] has 0 asic
Chain[J6] has no freq in PIC, set default freq=612M
Chain[J6] has no core num in PIC

Miner fix freq ...
read PIC voltage=940 on chain[5]
Chain:5 chipnum=63
Asic[ 0]:612
Asic[ 1]:612 Asic[ 2]:612 Asic[ 3]:612 Asic[ 4]:612 Asic[ 5]:612 Asic[ 6]:612 Asic[ 7]:612 Asic[ 8]:612
Asic[ 9]:612 Asic[10]:612 Asic[11]:612 Asic[12]:612 Asic[13]:612 Asic[14]:612 Asic[15]:612 Asic[16]:612
Asic[17]:612 Asic[18]:612 Asic[19]:612 Asic[20]:612 Asic[21]:612 Asic[22]:612 Asic[23]:612 Asic[24]:612
Asic[25]:612 Asic[26]:612 Asic[27]:612 Asic[28]:612 Asic[29]:612 Asic[30]:612 Asic[31]:612 Asic[32]:612
Asic[33]:612 Asic[34]:612 Asic[35]:612 Asic[36]:612 Asic[37]:612 Asic[38]:612 Asic[39]:612 Asic[40]:612
Asic[41]:612 Asic[42]:612 Asic[43]:612 Asic[44]:612 Asic[45]:612 Asic[46]:612 Asic[47]:612 Asic[48]:612
Asic[49]:612 Asic[50]:612 Asic[51]:612 Asic[52]:612 Asic[53]:612 Asic[54]:612 Asic[55]:612 Asic[56]:612
Asic[57]:612 Asic[58]:612 Asic[59]:612 Asic[60]:612 Asic[61]:612 Asic[62]:612
Chain:5 max freq=612
Chain:5 min freq=612

max freq = 612
set baud=1
Chain[J6] PIC temp offset=62,0,0,0,0,0,35,28
Chain[J6] chip[244] use PIC middle temp offset=0 typeID=55
New offset Chain[5] chip[244] local:28 remote:30 offset:28
Chain[J6] chip[244] get middle temp offset=28 typeID=55
Chain[J6] chip[136] use PIC middle temp offset=28 typeID=07
Warning: Chain[J6] has no temp offset in PIC! will fix it
New offset Chain[5] chip[244] local:28 remote:30 offset:28
Chain[J6] chip[244] get middle temp offset=28 typeID=55
Chain[J6] set working voltage=860 [142]
setStartTimePoint total_tv_start_sys=1469 total_tv_end_sys=1470
restartNum = 2 , auto-reinit enabled...
do read_temp_func once...
do check_asic_reg 0x08

get RT hashrate from Chain[5]: (asic index start from 1-63)
Asic[01]=69.1220 Asic[02]=69.9600 Asic[03]=65.8500 Asic[04]=68.9040 Asic[05]=67.1420 Asic[06]=65.1120 Asic[07]=72.2590 Asic[08]=66.9570
Asic[09]=69.1220 Asic[10]=51.8580 Asic[11]=67.6960 Asic[12]=71.4200 Asic[13]=68.5180 Asic[14]=69.2220 Asic[15]=66.6890 Asic[16]=69.2060
Asic[17]=64.1050 Asic[18]=67.6450 Asic[19]=69.7260 Asic[20]=68.3670 Asic[21]=72.1080 Asic[22]=68.6350 Asic[23]=67.3100 Asic[24]=67.0920
Asic[25]=73.5680 Asic[26]=69.0210 Asic[27]=68.4000 Asic[28]=73.5170 Asic[29]=73.8190 Asic[30]=71.7050 Asic[31]=70.7660 Asic[32]=66.4710
Asic[33]=73.7690 Asic[34]=72.1420 Asic[35]=71.3190 Asic[36]=71.2860 Asic[37]=66.6220 Asic[38]=71.9570 Asic[39]=71.6890 Asic[40]=66.9570
Asic[41]=68.9200 Asic[42]=71.9400 Asic[43]=70.1110 Asic[44]=37.4800 Asic[45]=68.0140 Asic[46]=74.5070 Asic[47]=65.1450 Asic[48]=72.3090
Asic[49]=70.9670 Asic[50]=70.6990 Asic[51]=72.4770 Asic[52]=67.6120 Asic[53]=64.7930 Asic[54]=71.9400 Asic[55]=69.5080 Asic[56]=74.4900
Asic[57]=35.8690 Asic[58]=67.0750 Asic[59]=71.0340 Asic[60]=67.7630 Asic[61]=66.1520 Asic[62]=70.8500 Asic[63]=69.6420
Check Chain[J6] ASIC RT error: (asic index start from 1-63)
Done check_asic_reg
do read temp on Chain[5]
Chain[5] Chip[62] TempTypeID=55 middle offset=28, device 152
Chain[5] Chip[62] local Temp=49
Chain[5] Chip[62] middle Temp=57
Chain[5] Chip[62] middle Temp=57
Done read temp on Chain[5]
FAN PWM: 100
read_temp_func Done!
CRC error counter=1006
follow the photo of how it is
https://imgur.com/a/43Xo4TM