Bug 129426

Summary: [panic] FreeBSD 7.0 crash after subdiskXX: detached
Product: Base System Reporter: Mark Kamichoff <prox>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-RELEASE   
Hardware: Any   
OS: Any   

Description Mark Kamichoff 2008-12-04 23:20:01 UTC
Hi - 

Every 30-60 days my FreeBSD-7 server will crash with the following output:

subdisk12: detached
ad12: detached
g_vfs_done():ad12s1d[WRITE(offset=160650805248, length=16384)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=67040542720, length=16384)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=80158326784, length=16384)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=160691107840, length=2048)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=155648786432, length=2048)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=6144000, length=16384)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=6160384, length=6144)]error = 6
g_vfs_done():ad12s1d[WRITE(offset=65536, length=2048)]error = 6
g_vfs_done():ad12s1d[READ(offset=160702988288, length=16384)]error = 6
g_vfs_done():ad12s1d[READ(offset=160710213632, length=16384)]error = 6
panic: vinvalbuf: dirty bufs
cpuid = 0
Uptime: 30d8h8m29s
Physical memory: 998 MB
Dumping 316 MB: 301 285 269 253 237 221 205 ... <serial console output hangs>

This has been happening since the box was built about two years ago, initially running FreeBSD 6.1.  I've replaced all the hardware in this box recently (including the chassis) and upgraded to FreeBSD 7.0.  The crashes are all the same, varying only in the disk that becomes detached (subdisk12 or subdisk8 - either 250GB SATA disk).

I haven't been able to obtain a dump of physical memory, since the machine always hard locks halfway through the dump operation.  Since this is a dedicated server at a colocation facility, I don't have physical access to the server - only serial console.

Please let me know what information to provide.  Since I have replaced all the hardware in the machine at this point, I believe this can be eliminated as a possible culprit.

Thanks!

- Mark

Fix: 

Unknown.
How-To-Repeat: Unknown.  Box has never attained uptime for more than 100-120 days, though.
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2010-12-05 12:00:42 UTC
Is this still reproducible?
Looks like possible hardware or ata driver issue.

-- 
Andriy Gapon
Comment 2 Jaakko Heinonen freebsd_committer freebsd_triage 2011-12-09 17:41:37 UTC
State Changed
From-To: open->feedback

Note that submitter has been asked for feedback.
Comment 3 Mark Kamichoff 2011-12-09 18:07:56 UTC
On Fri, Dec 09, 2011 at 05:41:37PM +0000, jh@FreeBSD.org wrote:
> Synopsis: [panic] FreeBSD 7.0 crash after subdiskXX: detached
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: jh
> State-Changed-When: Fri Dec 9 17:41:37 UTC 2011
> State-Changed-Why: 
> Note that submitter has been asked for feedback.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=129426

I haven't seen this problem since I replaced the original machine with a
completely new one that has an entirely different set of hardware.  I
wouldn't say the issue is resolved, but I'm no longer able to reproduce
it, sorry :(

- Mark

-- 
Mark Kamichoff
prox@prolixium.com
http://www.prolixium.com/
Comment 4 Jaakko Heinonen freebsd_committer freebsd_triage 2011-12-09 19:03:11 UTC
State Changed
From-To: feedback->closed

Submitter can't reproduce anymore.