Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 16:22:57 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        ticso@cicely.de
Cc:        current <current@freebsd.org>
Subject:   Re: panic with CF drive + USB reader
Message-ID:  <3F4A9A51.4000002@isi.edu>
In-Reply-To: <20030825223418.GJ39362@cicely12.cicely.de>
References:  <3F4AD502.5010709@isi.edu> <3F4A7B91.8070803@isi.edu> <20030825223418.GJ39362@cicely12.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms020803090807040404050603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Bernd,
> . 
> Seems that handling the stalled condition failed.
> Can you try the following patch:

I was *just* going to write you saying it was still running with this 
patch, which would have been the longest yet. But then I saw these messages:

umass0: BBB reset failed, STALLED
(da2:umass-sim0:0:0:0): AutoSense Failed
umass0: BBB reset failed, STALLED
(da2:umass-sim0:0:0:0): AutoSense Failed
initiate_write_filepage: already started
initiate_write_filepage: already started
initiate_write_filepage: already started
umass0: BBB reset failed, STALLED
(da2:umass-sim0:0:0:0): AutoSense Failed
umass0: BBB reset failed, STALLED
(da2:umass-sim0:0:0:0): AutoSense Failed
initiate_write_filepage: already started

And the box paniced again:

panic: initiate_write_inodeblock_ufs2: already started
cpuid = 0; lapic.id = 00000000
Stack backtrace:
backtrace(c033157d,0,c0341a7f,e96a1ab0,100) at backtrace+0x17
panic(c0341a7f,c01bc427,c7dabdf4,e96a1ad0,e96a1ad0) at panic+0x13d
initiate_write_inodeblock_ufs2(c6f4cb00,d29060b8,c01fd879,0,d29060b8) at 
initiate_write_inodeblock_ufs2+0x68f
softdep_disk_io_initiation(d29060b8,c17fbf30,e96a1bb4,c01fda2b,d29060b8) 
at softdep_disk_io_initiation+0x80
spec_xstrategy(c6d88490,d29060b8,e96a1bb4,c017dfcc,e96a1be0) at 
spec_xstrategy+0x104
spec_specstrategy(e96a1be0,e96a1bfc,c01f8550,e96a1be0,1) at 
spec_specstrategy+0x1b
spec_vnoperate(e96a1be0,1,c6bfc800,d2a5f680,e96a1bdc) at spec_vnoperate+0x18
bwrite(d29060b8,1000000,c63304c0,e96a1c3c,80012) at bwrite+0x403
vfs_bio_awrite(d29060b8,80012,0,c63304c0,c017dfcc) at vfs_bio_awrite+0x27b
vop_stdfsync(e96a1cdc,0,c6d88490,e96a1ca4,c017dfcc) at vop_stdfsync+0x1b1
spec_fsync(e96a1cdc,e96a1d18,c020b613,e96a1cdc,20002) at spec_fsync+0x31
spec_vnoperate(e96a1cdc,20002,c63304c0,c0335c1b,0) at spec_vnoperate+0x18
sched_sync(0,e96a1d48,0,0,0) at sched_sync+0x1e3
fork_exit(c020b430,0,e96a1d48) at fork_exit+0xb2
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe96a1d7c, ebp = 0 ---
Debugger("panic")
Stopped at      Debugger+0x4f:  xchgl   %ebx,in_Debugger.0

It seems that this happens under light or no load only. I had been doing 
a heavy cycle of dump/restore/dd, etc, and all was well. Could it be 
that the MicroDrive does some kind of internal power management that 
delays its reponses some, and the kernel doesn't expect that?

Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

--------------ms020803090807040404050603
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC
AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV
BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj
ZXM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esGNiqDi
yscZYKV1nbfmsnnsxFwZ+8puOh529tmwSMzZFiMP9Y9hnIR7HFHmHdp3IJyI91JltOaTexiF
qo8Nyqd+v2FKgw2O5Xj1wiigD8kKJ3qQeoyUM4jEwC+C1ekkJjQ7x6/OB9LUblqr202yBoOl
e9pSyg7NLILqmbxjG0fsQx5kT0IDjIS8Pqv2KxZ1iEdh/w3AiU0lso/vf4U6xlAZyZDxAVkO
v2rCrsCwVGfN8meFgwAAAAAAAA==
--------------ms020803090807040404050603--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4A9A51.4000002>