Jump to content

MARK IV Rebooting on its own every hour.


haroo

Recommended Posts

Like Mr. Protocol said, note how many processes you have running. Are you running a usb hub with things connected to it? I would suggest you unplug everything from usb (if you have anything plugged in), then reboot the Pineapple and shut down all processes on the status page, including wireless and cron jobs. Let it sit there for an hour doing absolutely nothing and see if it still reboots on its own.

If not, then it may likely be a process on the Pineapple causing the problem and you can troubleshoot from there. If it does reboot, it is most likely a hardware/firmware problem. At that juncture I would reflash the Pineapple just to be sure and run the same test again. The fact that you say it reboots on the hour to the second leads me to believe it is a process causing the trouble as apposed to some intermittent hardware glitch.

Edited by Zephyr
Link to comment
Share on other sites

  • 2 weeks later...

sorry it took me so long to reply. i have been running on wall power. i have tried with usb all unplugged. though it defeats my purpose. i have my powered usb hub also plugged into wall power. on the hub i have my flash drive and my alfa radio.

any more suggestions would be awesome.

Link to comment
Share on other sites

root@Pineapple:~# free
total used free shared buffers
Mem: 29336 28380 956 0 1648
-/+ buffers: 26732 2604
Swap: 975748 6168 969580

root@Pineapple:~# ps

PID USER VSZ STAT COMMAND
1 root 1508 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u:0]
7 root 0 SW< [kworker/u:0H]
8 root 0 SW< [khelper]
9 root 0 SW [kworker/u:1]
66 root 0 SW [bdi-default]
68 root 0 SW< [kblockd]
97 root 0 DW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
166 root 0 SW [mtdblock0]
171 root 0 SW [mtdblock1]
176 root 0 SW [mtdblock2]
181 root 0 SW [mtdblock3]
186 root 0 SW [mtdblock4]
191 root 0 SW [mtdblock5]
196 root 0 SW [mtdblock6]
201 root 0 SW [mtdblock7]
247 root 0 SW< [deferwq]
248 root 0 SW [kworker/0:1]
404 root 0 SW [kworker/0:2]
461 root 0 SWN [jffs2_gcd_mtd3]
463 root 0 SW [flush-mtd-unmap]
485 root 0 SW [khubd]
496 root 0 SW [scsi_eh_0]
497 root 0 SW [usb-storage]
498 root 0 SW [kworker/u:2]
499 root 0 SW< [kworker/0:1H]
518 root 1552 S {rcS} /bin/sh /etc/init.d/rcS S boot
519 root 1508 S init
522 root 1500 S logger -s -p 6 -t sysinit
550 root 0 SW< [cfg80211]
589 root 0 SW< [rpciod]
597 root 0 SW< [nfsiod]
677 root 1512 S /sbin/syslogd -C16
679 root 1492 S /sbin/klogd
681 root 872 S /sbin/hotplug2 --override --persistent --set-rules-f
687 root 1016 S /sbin/procd
701 root 876 S < ubusd
812 root 0 SW [jbd2/sda1-8]
813 root 0 SW< [ext4-dio-unwrit]
834 root 1540 S /sbin/netifd
934 root 1504 S /sbin/watchdog -t 5 /dev/watchdog
1001 root 0 SW [flush-8:0]
1027 root 1512 S udhcpc -p /var/run/udhcpc-eth1.pid -s /lib/netifd/dh
1791 nobody 792 S /usr/sbin/atd
1799 root 1156 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
1819 root 1140 S /usr/sbin/uhttpd -f -h /www -r Pineapple -x /cgi-bin
1825 root 1176 S /usr/sbin/uhttpd -f -h /pineapple -r Pineapple -c /e
1880 nobody 948 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
2058 root 1416 S hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostap
2207 root 1412 S hostapd -P /var/run/wifi-phy1.pid -B /var/run/hostap
2271 root 18792 R python /usb/usr/bin/sslstrip -k -f -w /usb/infusions
2281 root 1504 S /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.ope
2490 root 1220 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
2526 root 1508 S -ash
2624 root 0 SW [kworker/u:3]
2625 root 7040 R reaver -i mon0 -c 11 -b B0:B2:DC:79:44:BD
2766 root 1220 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
2773 root 1508 S -ash
2781 root 1500 R ps

root@Pineapple:~# df -h

Filesystem Size Used Available Use% Mounted on
rootfs 1.1M 444.0K 644.0K 41% /
/dev/root 5.0M 5.0M 0 100% /rom
tmpfs 14.3M 120.0K 14.2M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 1.1M 444.0K 644.0K 41% /overlay
overlayfs:/overlay 1.1M 444.0K 644.0K 41% /
/dev/sda1 2.8G 142.8M 2.5G 5% /usb

Edited by Mr-Protocol
Spoiler tags...
Link to comment
Share on other sites

runs longer without reaver.

Execute: dmesg
[ 0.000000] Linux version 3.7.6 (sebkinne@nimbus) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #7 Sun Feb 10 23:47:40 GMT 2013
[ 0.000000] MyLoader: sysp=f0f0f0f0, boardp=f0f0f0f0, parts=f0f0f0f0
[ 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:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802c1d70, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 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: 8128
[ 0.000000] Kernel command line: board=HORNET-UB console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29112k/32768k available (2115k kernel code, 3656k reserved, 411k data, 224k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, 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.090000] MIPS: machine is ALFA NETWORKS Hornet-UB
[ 0.550000] bio: create slab at 0
[ 0.550000] Switching to clocksource MIPS
[ 0.560000] NET: Registered protocol family 2
[ 0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[ 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.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.630000] msgmni has been set to 56
[ 0.640000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered (default)
[ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.650000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.660000] console [ttyATH0] enabled, bootconsole disabled
[ 0.670000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.680000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.690000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.690000] Creating 7 MTD partitions on "spi0.0":
[ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.700000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.710000] 0x000000050000-0x000000650000 : "rootfs"
[ 0.720000] mtd: partition "rootfs" set to be root filesystem
[ 0.720000] mtd: partition "rootfs_data" created automatically, ofs=540000, len=110000
[ 0.730000] 0x000000540000-0x000000650000 : "rootfs_data"
[ 0.740000] 0x000000650000-0x0000007e0000 : "kernel"
[ 0.740000] 0x0000007e0000-0x0000007f0000 : "nvram"
[ 0.750000] 0x0000007f0000-0x000000800000 : "art"
[ 0.750000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.780000] libphy: ag71xx_mdio: probed
[ 0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 1.330000] eth0: Found an AR7240/AR9330 built-in switch
[ 2.370000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.920000] ag71xx ag71xx.0 eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 2.930000] TCP: cubic registered
[ 2.930000] NET: Registered protocol family 17
[ 2.940000] Bridge firewalling registered
[ 2.940000] 8021q: 802.1Q VLAN Support v1.8
[ 2.950000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.960000] Freeing unused kernel memory: 224k freed
[ 6.440000] Registered led device: alfa:blue:lan
[ 6.440000] Registered led device: alfa:blue:usb
[ 6.440000] Registered led device: alfa:blue:wan
[ 6.440000] Registered led device: alfa:blue:wlan
[ 6.440000] Registered led device: alfa:blue:wps
[ 9.770000] jffs2: notice: (460) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 16 of xref (0 dead, 5 orphan) found.
[ 10.780000] SCSI subsystem initialized
[ 11.080000] usbcore: registered new interface driver usbfs
[ 11.080000] usbcore: registered new interface driver hub
[ 11.090000] usbcore: registered new device driver usb
[ 11.700000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.710000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 11.710000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 11.750000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 11.770000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 11.770000] hub 1-0:1.0: USB hub found
[ 11.770000] hub 1-0:1.0: 1 port detected
[ 11.890000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 12.010000] uhci_hcd: USB Universal Host Controller Interface driver
[ 12.130000] Initializing USB Mass Storage driver...
[ 12.130000] usbcore: registered new interface driver usb-storage
[ 12.140000] USB Mass Storage support registered.
[ 12.240000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 12.390000] hub 1-1:1.0: USB hub found
[ 12.390000] hub 1-1:1.0: 4 ports detected
[ 12.680000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 12.790000] scsi0 : usb-storage 1-1.1:1.0
[ 12.870000] usb 1-1.3: new high-speed USB device number 4 using ehci-platform
[ 13.790000] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Fit 1.26 PQ: 0 ANSI: 5
[ 13.800000] sd 0:0:0:0: [sda] 7821312 512-byte logical blocks: (4.00 GB/3.72 GiB)
[ 13.810000] sd 0:0:0:0: [sda] Write Protect is off
[ 13.810000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 13.810000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 13.830000] sda: sda1 sda2
[ 13.830000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 27.950000] usb 1-1.3: device descriptor read/64, error -145
[ 33.570000] Compat-drivers backport release: compat-drivers-2013-01-08-3
[ 33.570000] Backport based on wireless-testing.git master-2013-01-07
[ 33.580000] compat.git: wireless-testing.git
[ 33.710000] cfg80211: Calling CRDA to update world regulatory domain
[ 33.710000] cfg80211: World regulatory domain updated:
[ 33.720000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 33.720000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.730000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.740000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 33.750000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 33.750000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 35.100000] usbcore: registered new interface driver rt73usb
[ 35.250000] usbcore: registered new interface driver rtl8187
[ 35.290000] ath: EEPROM regdomain: 0x833a
[ 35.290000] ath: EEPROM indicates we should expect a country code
[ 35.290000] ath: doing EEPROM country->regdmn map search
[ 35.290000] ath: country maps to regdmn code: 0x37
[ 35.290000] ath: Country alpha2 being used: GB
[ 35.290000] ath: Regpair used: 0x37
[ 35.290000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 35.290000] Registered led device: ath9k-phy0
[ 35.290000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 35.320000] usbcore: registered new interface driver rt2800usb
[ 35.440000] cfg80211: Calling CRDA for country: GB
[ 35.450000] cfg80211: Regulatory domain changed to country: GB
[ 35.450000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 35.460000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.470000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.480000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 35.480000] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 35.530000] Button Hotplug driver version 0.4.1
[ 35.730000] RPC: Registered named UNIX socket transport module.
[ 35.730000] RPC: Registered udp transport module.
[ 35.740000] RPC: Registered tcp transport module.
[ 35.740000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 36.100000] PPP generic driver version 2.4.2
[ 36.230000] tun: Universal TUN/TAP device driver, 1.6
[ 36.230000] tun: © 1999-2004 Max Krasnyansky
[ 36.500000] ip_tables: © 2000-2006 Netfilter Core Team
[ 36.750000] NET: Registered protocol family 24
[ 36.880000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 37.900000] usbcore: registered new interface driver ath9k_htc
[ 38.150000] usbcore: registered new interface driver usbserial
[ 38.150000] usbcore: registered new interface driver usbserial_generic
[ 38.160000] usbserial: USB Serial support registered for generic
[ 38.300000] usbcore: registered new interface driver cdc_ether
[ 38.420000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 38.540000] usbcore: registered new interface driver rndis_host
[ 38.670000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 41.630000] Adding 975748k swap on /dev/sda2. Priority:-1 extents:1 across:975748k
[ 42.000000] EXT4-fs (sda1): recovery complete
[ 42.000000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 43.140000] usb 1-1.3: device descriptor read/64, error -145
[ 43.330000] usb 1-1.3: new high-speed USB device number 5 using ehci-platform
[ 45.560000] device eth0 entered promiscuous mode
[ 48.530000] eth1: link up (100Mbps/Full duplex)
[ 52.780000] device wlan0 entered promiscuous mode
[ 52.860000] br-lan: port 2(wlan0) entered forwarding state
[ 52.860000] br-lan: port 2(wlan0) entered forwarding state
[ 54.860000] br-lan: port 2(wlan0) entered forwarding state
[ 58.410000] usb 1-1.3: device descriptor read/64, error -145
[ 64.050000] device wlan0 left promiscuous mode
[ 64.050000] br-lan: port 2(wlan0) entered disabled state
[ 65.430000] device wlan0 entered promiscuous mode
[ 65.500000] br-lan: port 2(wlan0) entered forwarding state
[ 65.510000] br-lan: port 2(wlan0) entered forwarding state
[ 65.730000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00026e00
[ 65.740000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 66.530000] eth1: link down
[ 67.510000] br-lan: port 2(wlan0) entered forwarding state
[ 67.530000] eth1: link up (100Mbps/Full duplex)
[ 73.610000] usb 1-1.3: device descriptor read/64, error -145
[ 73.800000] usb 1-1.3: new high-speed USB device number 6 using ehci-platform
[ 84.220000] usb 1-1.3: device not accepting address 6, error -145
[ 84.300000] usb 1-1.3: new high-speed USB device number 7 using ehci-platform
[ 94.720000] usb 1-1.3: device not accepting address 7, error -145
[ 94.720000] hub 1-1:1.0: unable to enumerate USB device on port 3
[ 983.790000] usb 1-1.3: new high-speed USB device number 8 using ehci-platform
[ 983.920000] usb 1-1.3: ath9k_htc: Firmware htc_9271.fw requested
[ 984.500000] usb 1-1.3: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 984.730000] ath9k_htc 1-1.3:1.0: ath9k_htc: HTC initialized with 33 credits
[ 984.940000] ath9k_htc 1-1.3:1.0: ath9k_htc: FW Version: 1.3
[ 984.940000] ath: EEPROM regdomain: 0x833a
[ 984.940000] ath: EEPROM indicates we should expect a country code
[ 984.940000] ath: doing EEPROM country->regdmn map search
[ 984.940000] ath: country maps to regdmn code: 0x37
[ 984.940000] ath: Country alpha2 being used: GB
[ 984.940000] ath: Regpair used: 0x37
[ 984.950000] ieee80211 phy1: Atheros AR9271 Rev:1
[ 984.960000] Registered led device: ath9k_htc-phy1

last time it rebooted it didnt recognize the ath9k i unplugged it from the hub and plugged it back in and it recognized it .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...