Date: Fri, 14 May 1999 18:44:57 -0400 (EDT) From: jack <jack@germanium.xtalwind.net> To: Warner Losh <imp@harmony.village.org> Cc: freebsd-stable@FreeBSD.ORG Subject: Found a Fix (was: Is aha broken?) Message-ID: <Pine.BSF.4.10.9905141824050.55588-100000@germanium.xtalwind.net> In-Reply-To: <199905140459.WAA31457@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I installed 3.2-19990514-BETA onto another box today and ran into the same thing. Waiting 15 seconds for SCSI devices to settle aha0: ahafetchtransinfo - Inquire Setup Info Failed (probe1:aha0:0:4:4): CCB 0xc3d25508 - timed out (probe1:aha0:0:4:4): CCB 0xc3d25508 - timed out aha0: No longer in timeout sa0 at aha0 bus 0 target 4 lun 0 sa0: <CONNER CTMS 3200 7.10> Removable Sequential Access SCSI-2 device sa0: 3.333MB/s transfers (3.333MHz, offset 8) changing root device to da0s1a da0 at aha0 bus 0 target 0 lun 0 da0: <SEAGATE ST31200N 8630> Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 1006MB (2061108 512 byte sectors: 64H 32S/T 1006C) Sticking printfs into aha.c showed that before before the failure message sa0 was being queried first and succeeding then da0 was queried and failed. Removing the tape drive from the chain eliminated the problem. Adding a CD, with the tape and hard drive made it error twice. My PPro has a tape, CD, and two hard drives on the 1542 and it errored twice. I put a printf before the call to aha_cmd in ahafetchtransinfo and the errors went away. The all powerful DELAY(10000) fixes it for both of my boxes. :) *** aha.c.orig Thu May 13 03:00:34 1999 --- aha.c Fri May 14 18:01:41 1999 *************** *** 1777,1782 **** --- 1777,1783 ---- * the sync info for older models. */ param = sizeof(setup_info); + DELAY(10000); error = aha_cmd(aha, AOP_INQUIRE_SETUP_INFO, ¶m, /*paramlen*/1, (u_int8_t*)&setup_info, sizeof(setup_info), DEFAULT_CMD_TIMEOUT); -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9905141824050.55588-100000>