Timeout Error - Help Determining the Cause

Status
Not open for further replies.

NASbox

Guru
Joined
May 8, 2012
Messages
650
I got the following output from the nightly security run.

Can anyone give me some hints for troubleshooting (if any is warranted)
and/or let me know if this message is likely an indication of a pending
serious hardware problem/failure?

Code:
freenas.YFG security run output

Checking for uids of 0:
root 0

Checking for passwordless accounts:

Checking login.conf permissions:

Checking for ports with mismatched checksums:

freenas.YFG kernel log messages:
+++ /tmp/security.yhiiKxAq	2012-09-10 03:01:01.000000000 -0400
+ahcich2: Timeout on slot 17 port 0
+ahcich2: is 00000000 cs 00020000 ss 00000000 rs 00020000 tfd c0 serr 00000000

freenas.YFG login failures:

freenas.YFG refused connections:

-- End of security output --


Based on the timing I suspect it was caused when my nightly CRON job ran

Code:
#! /bin/bash
savepath='/mnt/TANK/.diskdiag/'               # Save Path for Files including trailing /
dt=`date "+%Y%m%d_%H%M%S"`                    # Date/Time is tempfile name / Base of final file name
for i in $(sysctl -n kern.disks | awk '{for (i=NF; i!=0 ; i--) if (match($i, '/ada/')) print $i }')
do
  fn=$savepath$dt$id                          # Temp file for smartctl output
  smartctl -a  /dev/$i >$fn
  nfn=`awk '/Device Model/{DevModel=$3;} /Serial Number/{SerNum=$3}; /Firmware Version/{FWVer=$3} END { print "~" DevModel "~" SerNum "~" FWVer; }' <$fn`
  nfn="$fn~$i$nfn"                            # Make new name including device/model/serial/firmware version
  mv $fn $nfn
done


I saw a similar message on June 21

Code:
Subject: freenas.YFG security run output

Checking for uids of 0:
root 0

Checking for passwordless accounts:

Checking login.conf permissions:

Checking for ports with mismatched checksums:

freenas.YFG kernel log messages:
+++ /tmp/security.p0UpeBca	2012-06-21 03:01:01.000000000 -0400
+ahcich2: Timeout on slot 1 port 0
+ahcich2: is 00000000 cs 00000002 ss 00000000 rs 00000002 tfd c0 serr 00000=
000

freenas.YFG login failures:

freenas.YFG refused connections:

-- End of security output --


Both errors occurred at 3:01AM (the cron job is scheduled for 3:00).

I am running the following version of FreeNAS
Code:
FreeNAS Build	FreeNAS-8.0.4-RELEASE-p2-x64 (11367)
Platform	Intel(R) Pentium(R) CPU G620 @ 2.60GHz
Memory	16281MB
OS Version	FreeBSD 8.2-RELEASE-p7


Thanks in advance for any input.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Why not upgrade to 8.0.4p3 or 8.2? You DO know that there is a security vulnerability that was fixed in 8.0.4p3. Anyone running 8.0.4p2 or earlier is potentially at risk. Besides that, you may find your problem is fixed by upgrading....

I see alot of threads of people with weird issues that are often solved by simply upgrading. One of the first things I do is start looking for upgrades when I have a problem. Sometimes I even go to the nightly builds just to see if it's been fixed recently.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
Did you ever upgrade to the latest 8.0.4? There were a number of bugfixes. No idea if any of them were driver/cam related though.

Try running:
Code:
smartctl -a /dev/ada0
...
smartctl -a /dev/ada3
Against all of your disks one after the other.
 
Status
Not open for further replies.
Top