Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Jun 24, 2018 8:04 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Sat Jan 19, 2008 1:13 pm 
Offline
Newbie

Joined: Fri Oct 19, 2007 8:49 am
Posts: 11
Hi,

here a new post about 2.6 kernels crashing on Terastation HTGL.

I've tested for several months now some dozen of 2.6 kernels
- from 2.6.21 up to 2.6.23.9
- some of them pre-built taken from here
- some of them built by myself out of the SVN tree, some cross compiled, some native compiled on Terastation
- running Debian Etch

I managed to crash all of them, mainly while using the Debian package system. First I thought it is an USB problem, because it first appeared during dpkg commands while booting with a root fs on USB but in the meantime I saw these crashes also when booting on a root fs on NFS and even when booting from hard disk without USB support.

These crashes never occur in normal server operation, they come only under heavy CPU and I/O load.

Today for the first time I saw an error message on the SSH session before the box froze. So maybe here is somebody who can help where to search for the problem:

Code:
Message from syslogd@terastation at Sat Jan 19 12:21:46 2008 ...
terastation kernel: Eeek! page_mapcount(page) went negative! (-1)

Message from syslogd@terastation at Sat Jan 19 12:21:46 2008 ...
terastation kernel:   vma->vm_ops->fault = filemap_fault+0x0/0x3d0

Message from syslogd@terastation at Sat Jan 19 12:21:46 2008 ...
terastation kernel: ------------[ cut here ]------------

Also there was top running at the time of the crash...
Code:
top - 12:21:45 up  2:13,  2 users,  load average: 0.57, 0.18, 0.06
Tasks:  53 total,   2 running,  51 sleeping,   0 stopped,   0 zombie
Cpu(s): 92.8%us,  7.2%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    126140k total,   124056k used,     2084k free,        4k buffers
Swap:        0k total,        0k used,        0k free,    62172k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1895 root      20   0 41932  33m  13m R 99.0 27.5   0:04.98 dpkg-query
 1846 root      20   0  2980 1244  996 R  0.7  1.0   0:01.20 top
    1 root      20   0  2440  764  660 S  0.0  0.6   0:03.42 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      15  -5     0    0    0 S  0.0  0.0   0:00.36 ksoftirqd/0
    4 root      15  -5     0    0    0 S  0.0  0.0   0:00.76 events/0
    5 root      15  -5     0    0    0 S  0.0  0.0   0:00.08 khelper
   54 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
   63 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
   66 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
   86 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
   87 root      20   0     0    0    0 S  0.0  0.0   0:00.22 pdflush
   88 root      15  -5     0    0    0 D  0.0  0.0   0:00.00 kswapd0
   89 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
   90 root      15  -5     0    0    0 S  0.0  0.0   0:00.08 xfslogd/0
   91 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 xfsdatad/0
   92 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 xfs_mru_cache
  729 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 mtdblockd
  778 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
  779 root      15  -5     0    0    0 D  0.0  0.0   0:00.52 usb-storage
  788 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 rpciod/0
  795 root      15  -5     0    0    0 S  0.0  0.0   0:00.12 xfsbufd
  796 root      15  -5     0    0    0 S  0.0  0.0   0:00.04 xfssyncd
 1032 root      20   0  1780  172  108 S  0.0  0.1   0:00.62 logsave
 1127 daemon    20   0  2056  404  304 S  0.0  0.3   0:00.00 portmap
 1247 root      20   0  2148  780  640 S  0.0  0.6   0:00.14 syslogd
 1253 root      20   0  1804  392  320 S  0.0  0.3   0:00.02 klogd
 1320 root      20   0  2076  352  204 S  0.0  0.3   0:00.00 dhcpd
 1330 root      20   0  2192  628  532 S  0.0  0.5   0:00.00 inetd
 1337 root      20   0  7832 1592 1072 S  0.0  1.3   0:01.26 nmbd
 1339 root      20   0 12120 2716 1860 S  0.0  2.2   0:00.08 smbd
 1348 root      20   0 12120 1180  324 S  0.0  0.9   0:00.00 smbd
 1352 root      20   0  6708 1172  824 S  0.0  0.9   0:00.00 sshd


Top
   
PostPosted: Sat Jan 19, 2008 1:16 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
Off topic:
Can you please summarize how you exactly got debian + 2.6 running on your terastation?
there are several guys out there that are interested in that.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Mon Jan 21, 2008 11:36 am 
Offline
Newbie

Joined: Fri Oct 19, 2007 8:49 am
Posts: 11
mindbender wrote:
Off topic:
Can you please summarize how you exactly got debian + 2.6 running on your terastation?
there are several guys out there that are interested in that.

Sure. Installing Debian on Terastation is easy but useless so long there is no working 2.6 kernel for Terastation available.

Fortunately I managed now to install syslog-ng on one box and configured it for remote logging over UDP. Here some more information from another crash:
Code:
Jan 21 09:43:05 10.0.1.1 kernel: Non-recoverable exception at PC=7f94f3a0 MSR=1000d3ac
Jan 21 09:43:05 10.0.1.1 kernel: Oops: nonrecoverable exception, sig: 9 [#1]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94f3a0 LR: 7f94f3a0 CTR: 3127ae2a
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94f2f0 TRAP: 7f94f3a0   Not tainted  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: 1000d3ac <EE,PR,ME,IR>  CR: 0000000d  XER: 00000007
Jan 21 09:43:05 10.0.1.1 kernel: Non-recoverable exception at PC=7f94f180 MSR=c01cabac
Jan 21 09:43:05 10.0.1.1 kernel: Oops: nonrecoverable exception, sig: 9 [#2]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94f180 LR: c02e86cc CTR: c037d8d4
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94f0d0 TRAP: c0336144   Not tainted  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c01cabac <EE,FP,IR>  CR: ffffffff  XER: c03b7ddc
Jan 21 09:43:05 10.0.1.1 kernel: Non-recoverable exception at PC=7f94f058 MSR=c0016558
Jan 21 09:43:05 10.0.1.1 kernel: Oops: nonrecoverable exception, sig: 9 [#3]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94f058 LR: c03b7ddc CTR: ffffffff
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94efd0 TRAP: 0000   Not tainted  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c0016558 <PR,FP,DR>  CR: 00000000  XER: 00000000
Jan 21 09:43:05 10.0.1.1 kernel: TASK = c031f4ff[1562389822] 'len: allocation failed
Jan 21 09:43:05 10.0.1.1 kernel: ' THREAD: 4b65726e
Jan 21 09:43:05 10.0.1.1 kernel: GPR00: 7f94f020 c03b7e07 c031f4ff c03b7e08 7f94eff0 c00169e4 c031d9c4 34444433
Jan 21 09:43:05 10.0.1.1 kernel: GPR08: c0333a94 7f94f188 c02e8710 c037d8d4 c02e86cc c03b7ddc ffffffff 3127ae2a
Jan 21 09:43:05 10.0.1.1 kernel: GPR16: c0333a94 7f94f188 c02e8710 c037d8d4 c02e86cc c03b7ddc ffffffff c031e8cc
Jan 21 09:43:05 10.0.1.1 kernel: GPR24: c0336144 c01cabac 7f94f0d0 c0370e98 7f94f080 c00173f8 03000000 7f94f088
Jan 21 09:43:05 10.0.1.1 kernel: NIP [7f94f058] 0x7f94f058
Jan 21 09:43:05 10.0.1.1 kernel: LR [c03b7ddc] 0xc03b7ddc
Jan 21 09:43:05 10.0.1.1 kernel: Call Trace:
Jan 21 09:43:05 10.0.1.1 kernel: Oops: Exception in kernel mode, sig: 4 [#4]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94ef80 LR: c0333a94 CTR: 3127ae2a
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94eec0 TRAP: c02e86cc   Tainted: G      D  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c000b1ac <EE,FP,ME,IR>  CR: c02e8710  XER: 7f94f188
Jan 21 09:43:05 10.0.1.1 kernel: TASK = c7ad57d0[14075] 'dpkg-query' THREAD: c41f4000
Jan 21 09:43:05 10.0.1.1 kernel: GPR00: 7f94ef40 c0017310 c03719c4 3127ae2a c0333a94 7f94f188 c02e8710 c037d8d4
Jan 21 09:43:05 10.0.1.1 kernel: GPR08: c02e86cc c03b7ddc ffffffff c031e92c c0327788 c03b7e07 c031f4ff 00000021
Jan 21 09:43:05 10.0.1.1 kernel: GPR16: 7f94ef40 c00173f8 0100ffff 7f94ef48 7f94ef18 7f94f188 c02e8710 c03b7e07
Jan 21 09:43:05 10.0.1.1 kernel: GPR24: 00000000 00000000 00000000 00000000 00000000 00003583 7f94efd0 00000021
Jan 21 09:43:05 10.0.1.1 kernel: NIP [7f94ef80] 0x7f94ef80
Jan 21 09:43:05 10.0.1.1 kernel: LR [c0333a94] 0xc0333a94
Jan 21 09:43:05 10.0.1.1 kernel: Call Trace:
Jan 21 09:43:05 10.0.1.1 kernel: Instruction dump:
Jan 21 09:43:05 10.0.1.1 kernel: XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Jan 21 09:43:05 10.0.1.1 kernel: XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Jan 21 09:43:05 10.0.1.1 kernel: Non-recoverable exception at PC=7f94ee00 MSR=c000bb48
Jan 21 09:43:05 10.0.1.1 kernel: Oops: nonrecoverable exception, sig: 9 [#5]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94ee00 LR: 00000004 CTR: c031da2c
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94ed50 TRAP: c0336144   Tainted: G      D  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c000bb48 <EE,FP,ME>  CR: ffffffff  XER: c03b7ddc
Jan 21 09:43:05 10.0.1.1 kernel: Non-recoverable exception at PC=7f94ecd8 MSR=c0016520
Jan 21 09:43:05 10.0.1.1 kernel: Oops: nonrecoverable exception, sig: 9 [#6]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94ecd8 LR: c03b7ddc CTR: ffffffff
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94ec50 TRAP: 0000   Tainted: G      D  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c0016520 <PR,FP,IR>  CR: 00000000  XER: 00000000
Jan 21 09:43:05 10.0.1.1 kernel: TASK = c031f4f1[1701984800] '' THREAD: 6f742074
Jan 21 09:43:05 10.0.1.1 kernel: GPR00: 7f94eca0 c03b7e07 c031f4f1 c03b7e08 7f94ec70 c00169e4 c031d9c4 34444435
Jan 21 09:43:05 10.0.1.1 kernel: GPR08: c0333a94 7f94f188 c02e8710 c037d8d4 c02e86cc c03b7ddc ffffffff 3127ae2a
Jan 21 09:43:05 10.0.1.1 kernel: GPR16: c0333a94 7f94f188 c02e8710 c037d8d4 c02e86cc c03b7ddc ffffffff c031e8cc
Jan 21 09:43:05 10.0.1.1 kernel: GPR24: c0336144 c000bb48 7f94ed50 c0370e98 7f94ed00 c00173f8 03000020 7f94ed08
Jan 21 09:43:05 10.0.1.1 kernel: NIP [7f94ecd8] 0x7f94ecd8
Jan 21 09:43:05 10.0.1.1 kernel: LR [c03b7ddc] 0xc03b7ddc
Jan 21 09:43:05 10.0.1.1 kernel: Call Trace:
Jan 21 09:43:05 10.0.1.1 kernel: Oops: Exception in kernel mode, sig: 4 [#7]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94ec00 LR: c0333a94 CTR: 3127ae2a
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94eb40 TRAP: c02e86cc   Tainted: G      D  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c000b1ac <EE,FP,ME,IR>  CR: c02e8710  XER: 7f94f188
Jan 21 09:43:05 10.0.1.1 kernel: TASK = c7ad57d0[14075] 'dpkg-query' THREAD: c41f4000
Jan 21 09:43:05 10.0.1.1 kernel: GPR00: 7f94ebc0 c0017310 c03719c4 3127ae2a c0333a94 7f94f188 c02e8710 c037d8d4
Jan 21 09:43:05 10.0.1.1 kernel: GPR08: c02e86cc c03b7ddc ffffffff c031e92c c0327788 c03b7e07 c031f4f1 00000021
Jan 21 09:43:05 10.0.1.1 kernel: GPR16: 7f94ebc0 c00173f8 0100ffff 7f94ebc8 7f94eb98 7f94f188 c02e8710 c03b7e07
Jan 21 09:43:05 10.0.1.1 kernel: GPR24: 00000000 00000000 00000000 00000000 00000000 00003cdd 7f94ec50 00000021
Jan 21 09:43:05 10.0.1.1 kernel: NIP [7f94ec00] 0x7f94ec00
Jan 21 09:43:05 10.0.1.1 kernel: LR [c0333a94] 0xc0333a94
Jan 21 09:43:05 10.0.1.1 kernel: Call Trace:
Jan 21 09:43:05 10.0.1.1 kernel: Instruction dump:
Jan 21 09:43:05 10.0.1.1 kernel: XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Jan 21 09:43:05 10.0.1.1 kernel: XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Jan 21 09:43:05 10.0.1.1 kernel: Non-recoverable exception at PC=c03bc185 MSR=0
Jan 21 09:43:05 10.0.1.1 kernel: Oops: nonrecoverable exception, sig: 9 [#8]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: c03bc185 LR: 7f94e8f0 CTR: c04d9c40
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94e830 TRAP: 7f94e8e0   Tainted: G      D  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: 00000000 <>  CR: 00001032  XER: c01cabac
Jan 21 09:43:05 10.0.1.1 kernel: Oops: kernel access of bad area, sig: 11 [#9]
Jan 21 09:43:05 10.0.1.1 kernel: NIP: 7f94e7b8 LR: c01cabac CTR: 00001032
Jan 21 09:43:05 10.0.1.1 kernel: REGS: 7f94e730 TRAP: 0000   Tainted: G      D  (2.6.23-ts-igs-1.12-net)
Jan 21 09:43:05 10.0.1.1 kernel: MSR: c0016520 <PR,FP,IR>  CR: 00000000  XER: 00000000
Jan 21 09:43:05 10.0.1.1 kernel: TASK = c7ad57d0[14075] 'dpkg-query' THREAD: c41f4000
Jan 21 09:43:05 10.0.1.1 kernel: GPR00: 7f94e780 c03b7e07 c031f4f1 c03b7e08 7f94e750 c00169e4 c031d9c4 34828435
Jan 21 09:43:05 10.0.1.1 kernel: GPR08: c0376e0c 00009032 00000007 c0376e00 c03be9e0 00000000 10595000 c78c5710
Jan 21 09:43:05 10.0.1.1 kernel: GPR16: fffffffa 00000000 c03b0000 00000007 c0376e0c 00009032 00000007 c0376e00
Jan 21 09:43:05 10.0.1.1 kernel: GPR24: c03be9e0 c03c0000 00100100 c031e8cc c0336144 00000000 7f94e830 c0370e98
Jan 21 09:43:05 10.0.1.1 kernel: NIP [7f94e7b8] 0x7f94e7b8
Jan 21 09:43:05 10.0.1.1 kernel: LR [c01cabac] lf+0x7c/0xa0
Jan 21 09:43:05 10.0.1.1 kernel: Call Trace:
Jan 21 09:43:05 10.0.1.1 kernel: Fixing recursive fault but reboot is needed!
Jan 21 09:43:05 10.0.1.1 kernel: BUG: scheduling while atomic: dpkg-query/0x00000001/14075
Jan 21 09:43:05 10.0.1.1 kernel: Call Trace:
Jan 21 09:47:10 10.0.1.1 kernel: ehci_hcd 0000:00:0e.2: fatal error
Jan 21 09:47:10 10.0.1.1 kernel: ehci_hcd 0000:00:0e.2: HC died; cleaning up
Jan 21 09:47:10 10.0.1.1 kernel: usb 1-4: USB disconnect, address 2
Jan 21 09:47:10 10.0.1.1 kernel: Device sda1, XFS metadata write error block 0xcedf8 in sda1
Jan 21 09:47:10 10.0.1.1 kernel: I/O error in filesystem ("sda1") meta-data dev sda1 block 0xf4e53       ("xlog_iodone") error 5 buf count 2048
Jan 21 09:47:10 10.0.1.1 kernel: xfs_force_shutdown(sda1,0x2) called from line 958 of file fs/xfs/xfs_log.c.  Return address = 0xc017d0ac
Jan 21 09:47:10 10.0.1.1 kernel: Filesystem "sda1": Log I/O Error Detected.  Shutting down filesystem: sda1
Jan 21 09:47:10 10.0.1.1 kernel: Please umount the filesystem, and rectify the problem(s)
Jan 21 09:47:10 10.0.1.1 kernel: xfs_force_shutdown(sda1,0x1) called from line 423 of file fs/xfs/xfs_rw.c.  Return address = 0xc017d0ac
Jan 21 08:47:10 10.0.1.1 kernel: Buffer I/O error on device sda1, logical block 106718
Jan 21 08:47:10 10.0.1.1 kernel: lost page write due to I/O error on sda1
Jan 21 08:47:10 10.0.1.1 kernel: usb 3-2: new full speed USB device using ohci_hcd and address 2
Jan 21 08:47:10 10.0.1.1 kernel: usb 3-2: not running at top speed; connect to a high speed hub
Jan 21 08:47:10 10.0.1.1 kernel: usb 3-2: configuration #1 chosen from 1 choice
Jan 21 08:47:10 10.0.1.1 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 21 08:47:10 10.0.1.1 kernel: usb-storage: device found at 2
Jan 21 08:47:10 10.0.1.1 kernel: usb-storage: waiting for device to settle before scanning
Jan 21 08:47:15 10.0.1.1 kernel: scsi 1:0:0:0: Direct-Access     LG       USB Drive        1100 PQ: 0 ANSI: 0 CCS
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] 3953664 512-byte hardware sectors (2024 MB)
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] 3953664 512-byte hardware sectors (2024 MB)
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jan 21 08:47:15 10.0.1.1 kernel: sdb: sdb1 sdb2
Jan 21 08:47:15 10.0.1.1 kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Jan 21 08:47:15 10.0.1.1 kernel: usb-storage: device scan complete


Top
   
PostPosted: Mon Jan 21, 2008 11:39 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
which kernel are you using? the default debian one? or one from hvkls.dyndns.org?

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Mon Jan 21, 2008 4:47 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 10:54 pm
Posts: 240
Location: UK
Quote:
Mem: 126140k total, 124056k used, 2084k free, 4k buffers
Swap: 0k total, 0k used, 0k free, 62172k cached

You have no swap space on your terastation. Get some or you will keep crashing it!


Edit: Further evidence of a lack of memory:

Quote:
Jan 21 09:43:05 10.0.1.1 kernel: TASK = c031f4ff[1562389822] 'len: allocation failed


The OOM killer should have ideally kicked in and killed that (or some other) process before crashing your system though, but you need to add swap.

_________________
Help the foonas fundraiser!

Click here for more information and donations


Top
   
PostPosted: Mon Jan 21, 2008 9:34 pm 
Offline
Newbie

Joined: Fri Oct 19, 2007 8:49 am
Posts: 11
timtim wrote:
You have no swap space on your terastation. Get some or you will keep crashing it!

For the first crash above you are right. On the other box there is always swap space configured, 512 MB on sda2, means on the same memory stick like the root fs which is on sda1. After the USB driver crashed there was no swap space anymore.

Maybe there is one of the problems: The USB storage driver needs some buffer memory for operation which is just out in that moment. The kernel wants to start swapping and needs therefore that driver which needs more memory...

Is swapping to the USB stick generally not supported or not recommended? I do not want to swap to the hard disks because they have to be in sleep mode most of the time. NFS seems not to be an alternative too:
man swapon wrote:
...
NOTE
You should not use swapon on a file with holes. Swap over NFS may not work.
...


Next I'll try to boot from NFS and have swap space on USB and visa verse.


Top
   
PostPosted: Mon Jan 21, 2008 9:45 pm 
Offline
Newbie

Joined: Fri Oct 19, 2007 8:49 am
Posts: 11
mindbender wrote:
which kernel are you using?

It's compiled from Sylvers SVN repository Universal Kernel at sf.net without any modifications (except the .config of course).
mindbender wrote:
the default debian one?

No, neighter Vanilla nor Debian kernels do support Terastation.
mindbender wrote:
or one from hvkls.dyndns.org?

I tried some kernels from there before. Same problems. And no source available.


Top
   
PostPosted: Mon Jan 21, 2008 9:55 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 10:54 pm
Posts: 240
Location: UK
Use the hard disk for swap. You can also use a file on a hard disk as swap space if you really cant make a partition for it. Normally I'm guessing your system (unless you have loaded a bunch of stuff onto it) shouldn't probably swap in or out too much when its idle - does this really prevent all the disks from sleeping?

_________________
Help the foonas fundraiser!

Click here for more information and donations


Top
   
PostPosted: Mon Jan 21, 2008 11:10 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Do you have the same problems with my 2.6.18.8/HG?


Top
   
PostPosted: Wed Jan 23, 2008 2:32 pm 
Offline
Newbie

Joined: Fri Oct 19, 2007 8:49 am
Posts: 11
timtim wrote:
Use the hard disk for swap. You can also use a file on a hard disk as swap space if you really cant make a partition for it. Normally I'm guessing your system (unless you have loaded a bunch of stuff onto it) shouldn't probably swap in or out too much when its idle - does this really prevent all the disks from sleeping?


Good point. I let the Buffalo hard disk layout untouched. So I could use the four 128 MB partitions for swap like original Buffalo system. And the hard disks still are asleep. (Don't know if the kernel could manage it if he wants to swap and the hard disk needs two seconds or so to wake up)

I've tested now two configurations for two days.
1. Root FS on USB + swap on hard disk. The Box with that configuration still immediately and silently freezes after "dpkg -l". No log available.
2. Root FS on NFS + swap on hard disk. On this configuration there was no crash anymore. This configuraion seems to work reliable. And NFS is faster than a memory stick...

Maybe the crashes I saw while booting from NFS and from hard disk in the past were resulting from lack of memory and no swap space configured. USB is still not working but I can live without it.


Top
   
PostPosted: Fri Feb 01, 2008 11:57 pm 
Offline
Newbie

Joined: Wed Jul 18, 2007 4:49 pm
Posts: 22
Man O MAN!! Did I hear you right? You have Debian running on you Terastation? DO TELL!! Please share on how you got it on there.. I've been waiting for about a year now for someone to figure out how to install it and share.

Sui


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited