We're getting these errors:
database (10.12.2016 20:27:21): cannot commit RAM (after 100 tries in 9013ms): database is locked
database (10.12.2016 20:27:30): cannot insert into wind0dir_day RAM (after 100 tries in 9116ms): database is locked
database (10.12.2016 20:27:30): rollback on insert forced (hour): wind0dir
database (10.12.2016 20:27:30): process stopped.
test5m (11.12.2016 04:30:51): database daemon stalled, will be restarted now.
database (10.12.2016 20:30:51): process started.
database (10.12.2016 20:53:24): cannot commit RAM (after 100 tries in 9014ms): database is locked
database (10.12.2016 20:53:33): cannot insert into data10num_day RAM (after 100 tries in 9122ms): database is locked
database (10.12.2016 20:53:33): rollback on insert forced (hour): data10num
Obviously, that's causing problems. But, any idea what's causing this? We just rebooted the PRO right now, so we'll see how it goes after it comes back up.
As far as the possible issues it may create ... Is the data provided by those two tables affected when it's throwing those errors and I send it to MySQL or to Weather Underground? (Yes, I know the data10num is probably not being sent to WU.)
Interesting errors in system log
Moderator: Mattk
Re: Interesting errors in system log
Update to this ...
A rebuild of the database (and reboot) seems to have fixed the issue? No more errors, and the data on Weather Underground looks a bit more normal now. We were having trouble with precipitation rate showing up ...
Actually, while I'm mentioning interesting database issues ... For a while today, our wind direction in NSEW was showing up as "[wi" in the database. That happened when we were switching to USB instead of Meteostick to have the ability to log ETo as well ... But after a little while it started spitting out proper data.
Seems something happened to the database for some reason. We plan on adding more sensors (soil & leaf wetness) very soon. Do you think adding those will also cause issues, same as when we switched from wireless to USB for the data source?
~Laz
A rebuild of the database (and reboot) seems to have fixed the issue? No more errors, and the data on Weather Underground looks a bit more normal now. We were having trouble with precipitation rate showing up ...
Actually, while I'm mentioning interesting database issues ... For a while today, our wind direction in NSEW was showing up as "[wi" in the database. That happened when we were switching to USB instead of Meteostick to have the ability to log ETo as well ... But after a little while it started spitting out proper data.
Seems something happened to the database for some reason. We plan on adding more sensors (soil & leaf wetness) very soon. Do you think adding those will also cause issues, same as when we switched from wireless to USB for the data source?
~Laz
Re: Interesting errors in system log
Can you please post the result of "http://ip-of-your-meteobridge/cgi-bin/system.cgi?dmesg" ?
I want to rule out that there is something like a hidden USB storage issue, that will continue
to make trouble.
Otherwise doing the "force database rebuild" option on "system" tab should cleanup
any database issues which might be caused by sudden power offs etc.
I want to rule out that there is something like a hidden USB storage issue, that will continue
to make trouble.
Otherwise doing the "force database rebuild" option on "system" tab should cleanup
any database issues which might be caused by sudden power offs etc.
Re: Interesting errors in system log
This is actually from the second reboot after forcing rebuild of the database. (We moved the Meteobridge next to the Davis console.)
command: dmesg
-------------
[ 0.000000] Linux version 3.10.49 (boris@mars) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44550) ) #685 Thu Dec 17 00:17:35 CET 2015
[ 0.000000] MyLoader: sysp=3b351eb3, boardp=15535510, parts=33377373
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 803109b0, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=CARAMBOLA2 console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61272k/65536k available (2239k kernel code, 4264k reserved, 603k data, 228k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.100000] MIPS: machine is 8devices Carambola2 board
[ 0.550000] bio: create slab <bio-0> at 0
[ 0.560000] Switching to clocksource MIPS
[ 0.570000] NET: Registered protocol family 2
[ 0.570000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.580000] TCP: Hash tables configured (established 512 bind 512)
[ 0.580000] TCP: reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] NET: Registered protocol family 1
[ 0.600000] PCI: CLS 0 bytes, default 32
[ 0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.630000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.640000] msgmni has been set to 119
[ 0.640000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered (default)
[ 0.650000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.660000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.660000] console [ttyATH0] enabled, bootconsole disabled
[ 0.680000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.680000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.690000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.690000] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.700000] Creating 4 MTD partitions on "spi0.0":
[ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.720000] 0x000000050000-0x000000ff0000 : "firmware"
[ 0.740000] 2 uimage-fw partitions found on MTD device firmware
[ 0.740000] 0x000000050000-0x000000160000 : "kernel"
[ 0.750000] 0x000000160000-0x000000ff0000 : "rootfs"
[ 0.750000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.760000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.760000] 0x0000006d0000-0x000000ff0000 : "rootfs_data"
[ 0.770000] 0x000000ff0000-0x000001000000 : "art"
[ 0.790000] libphy: ag71xx_mdio: probed
[ 1.340000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.380000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.930000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.940000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.950000] TCP: cubic registered
[ 2.950000] NET: Registered protocol family 17
[ 2.960000] 8021q: 802.1Q VLAN Support v1.8
[ 2.970000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.970000] Freeing unused kernel memory: 228K (80327000 - 80360000)
[ 6.790000] usbcore: registered new interface driver usbfs
[ 6.800000] usbcore: registered new interface driver hub
[ 6.800000] usbcore: registered new device driver usb
[ 6.860000] SCSI subsystem initialized
[ 6.870000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.870000] ehci-platform: EHCI generic platform driver
[ 6.880000] ehci-platform ehci-platform: EHCI Host Controller
[ 6.880000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 6.890000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 6.920000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 6.920000] hub 1-0:1.0: USB hub found
[ 6.920000] hub 1-0:1.0: 1 port detected
[ 6.930000] usbcore: registered new interface driver usb-storage
[ 7.350000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 7.540000] hub 1-1:1.0: USB hub found
[ 7.550000] hub 1-1:1.0: 4 ports detected
[ 7.850000] usb 1-1.2: new full-speed USB device number 3 using ehci-platform
[ 8.080000] usb 1-1.3: new full-speed USB device number 4 using ehci-platform
[ 8.300000] usb 1-1.4: new high-speed USB device number 5 using ehci-platform
[ 8.550000] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 8.560000] scsi0 : usb-storage 1-1.4:1.0
[ 9.860000] scsi 0:0:0:0: Direct-Access ATP NANODURA 1000 PQ: 0 ANSI: 4
[ 9.870000] sd 0:0:0:0: [sda] 1964032 512-byte logical blocks: (1.00 GB/959 MiB)
[ 9.870000] sd 0:0:0:0: [sda] Write Protect is off
[ 9.880000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 9.880000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.880000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.890000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.900000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.900000] sda: unknown partition table
[ 9.910000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.910000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.920000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 12.480000] jffs2: notice: (343) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 48 of xref (0 dead, 33 orphan) found.
[ 12.500000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.500000] block: unable to load configuration (fstab: Entry not found)
[ 12.510000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.530000] block: extroot: not configured
[ 12.610000] jffs2: notice: (340) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 48 of xref (0 dead, 33 orphan) found.
[ 12.940000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.950000] block: unable to load configuration (fstab: Entry not found)
[ 12.950000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.970000] block: extroot: not configured
[ 18.910000] NET: Registered protocol family 10
[ 18.980000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[ 18.990000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 19.040000] hidraw: raw HID events driver (C) Jiri Kosina
[ 19.050000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 19.070000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 19.080000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 19.090000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.160000] usbcore: registered new interface driver usbhid
[ 19.170000] usbhid: USB HID core driver
[ 19.200000] usbcore: registered new interface driver usbserial
[ 19.200000] usbcore: registered new interface driver usbserial_generic
[ 19.220000] usbserial: USB Serial support registered for generic
[ 19.250000] xt_time: kernel timezone is -0000
[ 19.260000] usbcore: registered new interface driver cdc_ether
[ 19.290000] cfg80211: Calling CRDA to update world regulatory domain
[ 19.300000] cfg80211: World regulatory domain updated:
[ 19.300000] cfg80211: DFS Master region: unset
[ 19.310000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 19.320000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.330000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.330000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.340000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.350000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.360000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.370000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.370000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 19.390000] usbcore: registered new interface driver ch341
[ 19.390000] usbserial: USB Serial support registered for ch341-uart
[ 19.400000] usbcore: registered new interface driver cp210x
[ 19.410000] usbserial: USB Serial support registered for cp210x
[ 19.410000] cp210x 1-1.2:1.0: cp210x converter detected
[ 19.520000] usb 1-1.2: reset full-speed USB device number 3 using ehci-platform
[ 19.660000] usb 1-1.2: cp210x converter now attached to ttyUSB0
[ 19.670000] usbcore: registered new interface driver ftdi_sio
[ 19.670000] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 19.680000] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[ 19.690000] usb 1-1.3: Detected FT232RL
[ 19.690000] usb 1-1.3: Number of endpoints 2
[ 19.690000] usb 1-1.3: Endpoint 1 MaxPacketSize 16384
[ 19.700000] usb 1-1.3: Endpoint 2 MaxPacketSize 16384
[ 19.700000] usb 1-1.3: Setting MaxPacketSize 64
[ 19.720000] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 19.780000] usbcore: registered new interface driver pl2303
[ 19.800000] usbserial: USB Serial support registered for pl2303
[ 19.800000] PPP generic driver version 2.4.2
[ 19.820000] NET: Registered protocol family 24
[ 19.890000] usbcore: registered new interface driver option
[ 19.910000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 19.950000] ath: EEPROM regdomain: 0x0
[ 19.950000] ath: EEPROM indicates default country code should be used
[ 19.950000] ath: doing EEPROM country->regdmn map search
[ 19.950000] ath: country maps to regdmn code: 0x3a
[ 19.950000] ath: Country alpha2 being used: US
[ 19.950000] ath: Regpair used: 0x3a
[ 19.970000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 19.970000] cfg80211: Calling CRDA for country: US
[ 19.980000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 19.990000] cfg80211: Regulatory domain changed to country: US
[ 19.990000] cfg80211: DFS Master region: FCC
[ 19.990000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 20.000000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 20.010000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 20.020000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 20.030000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 20.040000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 20.140000] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 20.140000] cp210x 1-1.2:1.0: device disconnected
[ 20.170000] cp210x 1-1.2:1.0: cp210x converter detected
[ 20.280000] usb 1-1.2: reset full-speed USB device number 3 using ehci-platform
[ 20.420000] usb 1-1.2: cp210x converter now attached to ttyUSB0
[ 20.420000] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 20.430000] ftdi_sio 1-1.3:1.0: device disconnected
[ 20.450000] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[ 20.470000] usb 1-1.3: Detected FT232RL
[ 20.470000] usb 1-1.3: Number of endpoints 2
[ 20.470000] usb 1-1.3: Endpoint 1 MaxPacketSize 16384
[ 20.480000] usb 1-1.3: Endpoint 2 MaxPacketSize 16384
[ 20.480000] usb 1-1.3: Setting MaxPacketSize 64
[ 20.510000] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 22.570000] i2c /dev entries driver
[ 22.620000] Custom GPIO-based I2C driver version 0.1.1
[ 22.620000] i2c-gpio i2c-gpio.0: using pins 20 (SDA) and 21 (SCL)
[ 35.860000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 37.310000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 41.490000] wlan0: authenticate with b8:c7:5d:0b:ff:63
[ 41.500000] wlan0: send auth to b8:c7:5d:0b:ff:63 (try 1/3)
[ 41.510000] wlan0: authenticated
[ 41.530000] wlan0: associate with b8:c7:5d:0b:ff:63 (try 1/3)
[ 41.530000] wlan0: RX AssocResp from b8:c7:5d:0b:ff:63 (capab=0x1431 status=0 aid=9)
[ 41.540000] wlan0: associated
[ 41.540000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 52.530000] EXT4-fs (sda): couldn't mount as ext3 due to feature incompatibilities
[ 52.540000] EXT4-fs (sda): couldn't mount as ext2 due to feature incompatibilities
[ 52.960000] EXT4-fs (sda): recovery complete
[ 52.960000] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 53.680000] EXT4-fs (sda): couldn't mount as ext3 due to feature incompatibilities
[ 53.700000] EXT4-fs (sda): couldn't mount as ext2 due to feature incompatibilities
[ 53.770000] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 76.450000] EXT4-fs (sda): re-mounted. Opts: data=ordered,commit=60,max_batch_time=1000000,min_batch_time=1000000,errors=remount-ro
-------------
command: dmesg
-------------
[ 0.000000] Linux version 3.10.49 (boris@mars) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44550) ) #685 Thu Dec 17 00:17:35 CET 2015
[ 0.000000] MyLoader: sysp=3b351eb3, boardp=15535510, parts=33377373
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 803109b0, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=CARAMBOLA2 console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61272k/65536k available (2239k kernel code, 4264k reserved, 603k data, 228k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.100000] MIPS: machine is 8devices Carambola2 board
[ 0.550000] bio: create slab <bio-0> at 0
[ 0.560000] Switching to clocksource MIPS
[ 0.570000] NET: Registered protocol family 2
[ 0.570000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.580000] TCP: Hash tables configured (established 512 bind 512)
[ 0.580000] TCP: reno registered
[ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.600000] NET: Registered protocol family 1
[ 0.600000] PCI: CLS 0 bytes, default 32
[ 0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.630000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.640000] msgmni has been set to 119
[ 0.640000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered (default)
[ 0.650000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.660000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.660000] console [ttyATH0] enabled, bootconsole disabled
[ 0.680000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.680000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.690000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.690000] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.700000] Creating 4 MTD partitions on "spi0.0":
[ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.720000] 0x000000050000-0x000000ff0000 : "firmware"
[ 0.740000] 2 uimage-fw partitions found on MTD device firmware
[ 0.740000] 0x000000050000-0x000000160000 : "kernel"
[ 0.750000] 0x000000160000-0x000000ff0000 : "rootfs"
[ 0.750000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.760000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.760000] 0x0000006d0000-0x000000ff0000 : "rootfs_data"
[ 0.770000] 0x000000ff0000-0x000001000000 : "art"
[ 0.790000] libphy: ag71xx_mdio: probed
[ 1.340000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.380000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.930000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.940000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.950000] TCP: cubic registered
[ 2.950000] NET: Registered protocol family 17
[ 2.960000] 8021q: 802.1Q VLAN Support v1.8
[ 2.970000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.970000] Freeing unused kernel memory: 228K (80327000 - 80360000)
[ 6.790000] usbcore: registered new interface driver usbfs
[ 6.800000] usbcore: registered new interface driver hub
[ 6.800000] usbcore: registered new device driver usb
[ 6.860000] SCSI subsystem initialized
[ 6.870000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.870000] ehci-platform: EHCI generic platform driver
[ 6.880000] ehci-platform ehci-platform: EHCI Host Controller
[ 6.880000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 6.890000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 6.920000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 6.920000] hub 1-0:1.0: USB hub found
[ 6.920000] hub 1-0:1.0: 1 port detected
[ 6.930000] usbcore: registered new interface driver usb-storage
[ 7.350000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 7.540000] hub 1-1:1.0: USB hub found
[ 7.550000] hub 1-1:1.0: 4 ports detected
[ 7.850000] usb 1-1.2: new full-speed USB device number 3 using ehci-platform
[ 8.080000] usb 1-1.3: new full-speed USB device number 4 using ehci-platform
[ 8.300000] usb 1-1.4: new high-speed USB device number 5 using ehci-platform
[ 8.550000] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 8.560000] scsi0 : usb-storage 1-1.4:1.0
[ 9.860000] scsi 0:0:0:0: Direct-Access ATP NANODURA 1000 PQ: 0 ANSI: 4
[ 9.870000] sd 0:0:0:0: [sda] 1964032 512-byte logical blocks: (1.00 GB/959 MiB)
[ 9.870000] sd 0:0:0:0: [sda] Write Protect is off
[ 9.880000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 9.880000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.880000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.890000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.900000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.900000] sda: unknown partition table
[ 9.910000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.910000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.920000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 12.480000] jffs2: notice: (343) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 48 of xref (0 dead, 33 orphan) found.
[ 12.500000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.500000] block: unable to load configuration (fstab: Entry not found)
[ 12.510000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.530000] block: extroot: not configured
[ 12.610000] jffs2: notice: (340) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 48 of xref (0 dead, 33 orphan) found.
[ 12.940000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.950000] block: unable to load configuration (fstab: Entry not found)
[ 12.950000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.970000] block: extroot: not configured
[ 18.910000] NET: Registered protocol family 10
[ 18.980000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[ 18.990000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 19.040000] hidraw: raw HID events driver (C) Jiri Kosina
[ 19.050000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 19.070000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 19.080000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 19.090000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.160000] usbcore: registered new interface driver usbhid
[ 19.170000] usbhid: USB HID core driver
[ 19.200000] usbcore: registered new interface driver usbserial
[ 19.200000] usbcore: registered new interface driver usbserial_generic
[ 19.220000] usbserial: USB Serial support registered for generic
[ 19.250000] xt_time: kernel timezone is -0000
[ 19.260000] usbcore: registered new interface driver cdc_ether
[ 19.290000] cfg80211: Calling CRDA to update world regulatory domain
[ 19.300000] cfg80211: World regulatory domain updated:
[ 19.300000] cfg80211: DFS Master region: unset
[ 19.310000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 19.320000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.330000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.330000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.340000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.350000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.360000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.370000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.370000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 19.390000] usbcore: registered new interface driver ch341
[ 19.390000] usbserial: USB Serial support registered for ch341-uart
[ 19.400000] usbcore: registered new interface driver cp210x
[ 19.410000] usbserial: USB Serial support registered for cp210x
[ 19.410000] cp210x 1-1.2:1.0: cp210x converter detected
[ 19.520000] usb 1-1.2: reset full-speed USB device number 3 using ehci-platform
[ 19.660000] usb 1-1.2: cp210x converter now attached to ttyUSB0
[ 19.670000] usbcore: registered new interface driver ftdi_sio
[ 19.670000] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 19.680000] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[ 19.690000] usb 1-1.3: Detected FT232RL
[ 19.690000] usb 1-1.3: Number of endpoints 2
[ 19.690000] usb 1-1.3: Endpoint 1 MaxPacketSize 16384
[ 19.700000] usb 1-1.3: Endpoint 2 MaxPacketSize 16384
[ 19.700000] usb 1-1.3: Setting MaxPacketSize 64
[ 19.720000] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 19.780000] usbcore: registered new interface driver pl2303
[ 19.800000] usbserial: USB Serial support registered for pl2303
[ 19.800000] PPP generic driver version 2.4.2
[ 19.820000] NET: Registered protocol family 24
[ 19.890000] usbcore: registered new interface driver option
[ 19.910000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 19.950000] ath: EEPROM regdomain: 0x0
[ 19.950000] ath: EEPROM indicates default country code should be used
[ 19.950000] ath: doing EEPROM country->regdmn map search
[ 19.950000] ath: country maps to regdmn code: 0x3a
[ 19.950000] ath: Country alpha2 being used: US
[ 19.950000] ath: Regpair used: 0x3a
[ 19.970000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 19.970000] cfg80211: Calling CRDA for country: US
[ 19.980000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 19.990000] cfg80211: Regulatory domain changed to country: US
[ 19.990000] cfg80211: DFS Master region: FCC
[ 19.990000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 20.000000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 20.010000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 20.020000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 20.030000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 20.040000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 20.140000] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 20.140000] cp210x 1-1.2:1.0: device disconnected
[ 20.170000] cp210x 1-1.2:1.0: cp210x converter detected
[ 20.280000] usb 1-1.2: reset full-speed USB device number 3 using ehci-platform
[ 20.420000] usb 1-1.2: cp210x converter now attached to ttyUSB0
[ 20.420000] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[ 20.430000] ftdi_sio 1-1.3:1.0: device disconnected
[ 20.450000] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[ 20.470000] usb 1-1.3: Detected FT232RL
[ 20.470000] usb 1-1.3: Number of endpoints 2
[ 20.470000] usb 1-1.3: Endpoint 1 MaxPacketSize 16384
[ 20.480000] usb 1-1.3: Endpoint 2 MaxPacketSize 16384
[ 20.480000] usb 1-1.3: Setting MaxPacketSize 64
[ 20.510000] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB1
[ 22.570000] i2c /dev entries driver
[ 22.620000] Custom GPIO-based I2C driver version 0.1.1
[ 22.620000] i2c-gpio i2c-gpio.0: using pins 20 (SDA) and 21 (SCL)
[ 35.860000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 37.310000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 41.490000] wlan0: authenticate with b8:c7:5d:0b:ff:63
[ 41.500000] wlan0: send auth to b8:c7:5d:0b:ff:63 (try 1/3)
[ 41.510000] wlan0: authenticated
[ 41.530000] wlan0: associate with b8:c7:5d:0b:ff:63 (try 1/3)
[ 41.530000] wlan0: RX AssocResp from b8:c7:5d:0b:ff:63 (capab=0x1431 status=0 aid=9)
[ 41.540000] wlan0: associated
[ 41.540000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 52.530000] EXT4-fs (sda): couldn't mount as ext3 due to feature incompatibilities
[ 52.540000] EXT4-fs (sda): couldn't mount as ext2 due to feature incompatibilities
[ 52.960000] EXT4-fs (sda): recovery complete
[ 52.960000] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 53.680000] EXT4-fs (sda): couldn't mount as ext3 due to feature incompatibilities
[ 53.700000] EXT4-fs (sda): couldn't mount as ext2 due to feature incompatibilities
[ 53.770000] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 76.450000] EXT4-fs (sda): re-mounted. Opts: data=ordered,commit=60,max_batch_time=1000000,min_batch_time=1000000,errors=remount-ro
-------------
Re: Interesting errors in system log
Update here ...
We added a leaf wetness sensor, and after adding this sensor, we're again getting the database errors.
Seems this will happen each time we add a new sensor, no?
Rebuilding and rebooting now.
We added a leaf wetness sensor, and after adding this sensor, we're again getting the database errors.
Seems this will happen each time we add a new sensor, no?
Rebuilding and rebooting now.
Re: Interesting errors in system log
Filesystem on USB looks fine. So no indication of hardware problems.
When you can give me login credentials, I can have a closer look.
When you can give me login credentials, I can have a closer look.