LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-11-2013, 12:35 AM   #1
jotasan
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
External drive running arch linux restarts every two hours


Hello community,
I have tweaked an external drive (Seagate GoFlex Home) installing archlinux for not to be subjected to the file size constraints of the GUI.
I followed the instructions in http://archlinuxarm.org/platforms/armv5 … oflex-home and all looks to be fine.
The issue is that, after 2 or 3 hours transferring data, the unit apparently restarts itself. The last message before it is a remounting of the main storage partition. I have been investigating the issue but my kernel knowledge is quite limited. Does anybody have any ideas?. I attach an excerpt of the message.log and the sysctl.d/50-default.conf.
Many thanks in advance.

[root@alarm ~]# uname -a

Linux alarm 3.1.10-18-ARCH #1 PREEMPT Thu Apr 18 00:45:32 UTC 2013 armv5tel GNU/Linux

**** message.log***
Sep 28 21:17:31 alarm dhcpcd[365]: eth0: no IPv6 Routers available
Sep 28 21:17:34 alarm dhcpcd[290]: eth0: leased 192.168.111.1 for 43200 seconds
Sep 28 22:31:51 alarm systemd-sysctl[168]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 28 22:31:51 alarm systemd-modules-load[169]: Inserted module 'nfs'
Sep 28 22:31:52 alarm systemd-sysctl[205]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 28 22:31:52 alarm systemd[1]: Found device /dev/ttyS0.
Sep 28 22:31:52 alarm systemd[1]: Found device ST2000DL001-9VT156.
Sep 28 22:31:52 alarm systemd[1]: Mounting /srv/ftp...
Sep 28 22:31:52 alarm systemd[1]: srv-ftp.mount: Directory /srv/ftp to mount over is not empty, mounting anyway.
Sep 28 22:31:52 alarm systemd[1]: Mounted /srv/ftp.
Sep 28 22:31:52 alarm systemd[1]: Starting Local File Systems.
Sep 28 22:31:52 alarm systemd[1]: Reached target Local File Systems.
Sep 28 22:31:54 alarm kernel: [ 0.000000] Initializing cgroup subsys cpuset
Sep 28 22:31:54 alarm kernel: [ 0.000000] Initializing cgroup subsys cpu
Sep 28 22:31:54 alarm kernel: [ 0.000000] Linux version 3.1.10-18-ARCH (nobody@panda1) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Thu Apr 18 00:45:32 UTC 2013
Sep 28 22:31:54 alarm kernel: [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
Sep 28 22:31:54 alarm kernel: [ 0.000000] CPU: VIVT data cache, VIVT instruction cache
Sep 28 22:31:54 alarm kernel: [ 0.000000] Machine: Seagate GoFlex Home
Sep 28 22:31:54 alarm kernel: [ 0.000000] Memory policy: ECC disabled, Data cache writeback
Sep 28 22:31:52 alarm systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
Sep 28 22:31:54 alarm kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Sep 28 22:31:54 alarm kernel: [ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),6M(uImage),-(root) root=/dev/sda1 rootfstype=auto netconsole=@10.10.10.6/eth0,@10.10.10.4/
Sep 28 22:31:54 alarm kernel: [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
Sep 28 22:31:54 alarm kernel: [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Sep 28 22:31:54 alarm kernel: [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Sep 28 22:31:54 alarm kernel: [ 0.000000] allocated 524288 bytes of page_cgroup
Sep 28 22:31:54 alarm kernel: [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
Sep 28 22:31:54 alarm kernel: [ 0.000000] Memory: 128MB = 128MB total
Sep 28 22:31:54 alarm kernel: [ 0.000000] Memory: 120284k/120284k available, 10788k reserved, 0K highmem
Sep 28 22:31:54 alarm kernel: [ 0.000000] Virtual kernel memory layout:
Sep 28 22:31:54 alarm kernel: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] .text : 0xc0008000 - 0xc052ede4 (5276 kB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] .init : 0xc052f000 - 0xc055a000 ( 172 kB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] .data : 0xc055a000 - 0xc05932f0 ( 229 kB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] .bss : 0xc0593314 - 0xc0660e8c ( 823 kB)
Sep 28 22:31:54 alarm kernel: [ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Sep 28 22:31:54 alarm kernel: [ 0.000000] Preemptible hierarchical RCU implementation.
Sep 28 22:31:54 alarm kernel: [ 0.000000] NR_IRQS:114
Sep 28 22:31:54 alarm kernel: [ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
Sep 28 22:31:54 alarm kernel: [ 0.000000] Console: colour dummy device 80x30
Sep 28 22:31:54 alarm kernel: [ 3.069548] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
Sep 28 22:31:54 alarm kernel: [ 3.159483] pid_max: default: 32768 minimum: 301
Sep 28 22:31:54 alarm kernel: [ 3.159581] Security Framework initialized
Sep 28 22:31:54 alarm kernel: [ 3.159601] AppArmor: AppArmor disabled by boot time parameter
Sep 28 22:31:54 alarm kernel: [ 3.159648] Mount-cache hash table entries: 512
Sep 28 22:31:54 alarm kernel: [ 3.159949] Initializing cgroup subsys cpuacct
Sep 28 22:31:54 alarm kernel: [ 3.159969] Initializing cgroup subsys memory
************

[root@alarm ~]# cat /usr/lib/sysctl.d/50-default.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# See sysctl.d(5) and core(5) for for details.
# System Request functionality of the kernel (SYNC)
kernel.sysrq = 16
# Append the PID to the core filename
kernel.core_uses_pid = 1
# Source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Enable hard and soft link protection
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
[root@alarm ~]# #
 
Old 10-12-2013, 11:27 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
/experience talking

Could be a hardware thing like temperature. I would try doing that with the caddie open and a fan blowing on the disk before getting too excited about the kernel. with the kernel remounting root ro, something has triggered a shutdown.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running from external USB3 drive memilanuk Linux - Hardware 10 07-03-2013 11:23 PM
How to shutdown safely while running Linux on an external drive? huangkj Linux - Hardware 7 07-26-2012 05:57 AM
Running openSUSE 10.2 on usb external drive linux_challenged SUSE / openSUSE 5 10-04-2007 09:29 PM
Running Windows with LINUX on an external hard-drive. andrew_w_munro Linux - General 3 05-23-2006 02:27 PM
ASUS Z71V running Suse Linux 9.3 won't drive VGA external monitor calbeartara Linux - Hardware 3 08-22-2005 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration