From owner-freebsd-stable Wed Mar 21 15:50:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from agena.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227]) by hub.freebsd.org (Postfix) with ESMTP id 65D7537B71D; Wed, 21 Mar 2001 15:50:52 -0800 (PST) (envelope-from rand@meridian-enviro.com) Received: from delta.meridian-enviro.com (delta.meridian-enviro.com [10.10.10.43]) by agena.meridian-enviro.com (8.11.1/8.9.3) with ESMTP id f2LNodQ49070; Wed, 21 Mar 2001 17:50:41 -0600 (CST) (envelope-from rand@meridian-enviro.com) Date: Wed, 21 Mar 2001 17:50:39 -0600 Message-ID: <87u24m7kc0.wl@delta.meridian-enviro.com> From: rand@meridian-enviro.com To: Mike Smith Cc: freebsd-stable@FreeBSD.ORG, Mike Tancsa , bryanh@meridian-enviro.com Subject: Re: 3ware problems In-Reply-To: <200103210258.f2L2wGO00829@mass.dis.org> References: <87g0gb55ef.wl@localhost.meridian-enviro.com> <200103210258.f2L2wGO00829@mass.dis.org> User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s% If you can add another function like twe_printstate that invokes Mike> twe_print_request on each of the requests on the busy queue and Mike> let me know what they look like, that might give me some clues. OK, I haven't written the twe_printstate function yet, but I think I have the request. I got the filesystem wedged first, and then browsing the datastructures with DDB, I think I've found the busy queue. Here's the request: db> call twe_print_request(0xc1529800) twe0: CMD: request_id 89 opcode size 7 unit 0 host_id 0 twe0: status 0 flags 0x0 count 16 sgl_offset 3 twe0: lba 264703 twe0: 0: 0xce4f000/4096 twe0: 1: 0x2ab0000/4096 twe0: tr_command 0xc1529800/0x1749d800 tr_data 0xcb928000/0xce4f000,8192 twe0: tr_status 2 tr_flags 0x1 tr_complete 0xc011f170 tr_private 0 I'm rebuilding the kernel now with the function twe_printstate, after I figured it out with the debugger. (This reminds me of a saying that has to do with horses and carriages, hmm.) Oh, btw, it took over 3 million rows to get it stuck this time. Gotta love a test cycle of 6 hours or so. Sigh. I also paniced the kernel from DDB, so I have a core file too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message