From owner-freebsd-questions@FreeBSD.ORG Sun Jul 19 20:56:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D54F106566B for ; Sun, 19 Jul 2009 20:56:26 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: from web51008.mail.re2.yahoo.com (web51008.mail.re2.yahoo.com [206.190.38.139]) by mx1.freebsd.org (Postfix) with SMTP id BCA1E8FC0C for ; Sun, 19 Jul 2009 20:56:25 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: (qmail 41961 invoked by uid 60001); 19 Jul 2009 20:56:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1248036985; bh=TKnZndkYSpNO1V7r7r3xbhOduBminxuWbQyWhLzn6Ug=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=O0C5Vjv0dS8bL0q9rXBbhCWOHTEqw/2ayjAqbAuqx1mY39/WKRqripnwdQtR4GUbN+c1ToBVGncJyysHyJxK9GoL6eQ8EBz2L8ku9jnnIH5zj+Cv3MLCNDSzi4Ua4dRSuajboaiF8iyhPMCiWtPqjShzn+iDeu7MvOW9sL7abKo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TwB6JQuQVvnIC1j7aJ7/tRNoQ/puElnP62ra7tq4Hq2dkegmLxukFo6nGnLeT0jONMwIDWLhg+i+CxzSSmb1WoSxmy5WNDjVyvJEvpMMTZMCs5YzQJaldXsjN2mYL/SZVpJBI/VteIdDZ+lsnwBRco6f6TrWwkeoZUDjNL38rGs=; Message-ID: <195035.41847.qm@web51008.mail.re2.yahoo.com> X-YMail-OSG: PQBmuq4VM1nuPa6alg7Q92tOiyFbfKmobRryxmhmuhMdOk6AnneFZ7Culn65cuoAkawPozEH69gQ8Yi_qOudGgBZCPrLFPPJQmsUMpTrqmdZSU.LZmbJ4rDCMZj1ci5WixVMMtTpYujY__dpE_UJSEzP1cjkFY8hJbiDD7hJNO4Jcz38b603c8_.qY6v32j6iFpM0mFm.ylw5OmzL.Uloe19hZOfN_sPOYbV7qhBgSIKiivb_WcmTdZTFZ6o71An72h2Jx5oapNHCkvWPkHtpJVq3pq9oRr9UW74SXA- Received: from [71.117.53.27] by web51008.mail.re2.yahoo.com via HTTP; Sun, 19 Jul 2009 13:56:25 PDT X-Mailer: YahooMailClassic/5.4.17 YahooMailWebService/0.7.289.15 Date: Sun, 19 Jul 2009 13:56:25 -0700 (PDT) From: mahlerrd@yahoo.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Odd behavior after installing a tape drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mahlerrd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 20:56:26 -0000 After installing a tape drive and SCSI card in my home system, I got some s= trange behavior that I think isn't directly related, but would like to get = an expert opinion about.=0A=0Amobius# uname -a=0AFreeBSD mobius 7.1-PRERELE= ASE FreeBSD 7.1-PRERELEASE #0: Fri Sep=A0 5 02:34:20 CDT 2008=A0 =A0=A0=A0r= ich@mobius:/usr/obj/usr/src/sys/GENERIC=A0 i386=0A=0AOn July 7, I turned of= f the system, installed the SCSI card, connected the drive and turned it al= l back on.=A0 This all got correctly detected as (select lines from /var/lo= g/messages):=0A=0AJul=A0 7 03:10:40 mobius kernel: asr0: mem 0xf4000000-0xf5ffffff irq 17 at device 12.1 on pci2=0AJul=A0 = 7 03:10:40 mobius kernel: asr0: [GIANT-LOCKED]=0AJul=A0 7 03:10:40 mobius k= ernel: asr0: [ITHREAD]=0AJul=A0 7 03:10:40 mobius kernel: asr0:=A0=A0=A0ADA= PTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O=0AJul=A0 7 03:10= :40 mobius kernel: sa0 at asr0 bus 0 target 11 lun 0=0AJul=A0 7 03:10:40 mo= bius kernel: sa0: Removable Sequential Access SCSI-3= device=0A=0AI stuck in a tape, did a level 0 dump of /home and tested a re= store, both of which worked perfectly.=0A=0AOnly July 8, I ejected the tape= via the button on the front, and then turned off the tape drive so the vis= iting relatives wouldn't complain about the fan noise (more from /var/log/m= essages):=0AJul=A0 8 02:27:01 mobius kernel: (sa0:asr0:0:11:0): lost device= =0A=0AThat next week, I tried to SSH to this box from work to do some minor= random thing or another, and I got this sort of error message:=0AJul 14 15= :27:16 mobius sshd[64290]: error: openpty: Invalid argument=0AJul 14 15:27:= 16 mobius sshd[64293]: error: session_pty_req: session 0 alloc failed=0A=0A= I believe I had SSHed to it at least twice over the preceding week, on July= 10 and early in the day on July 14.=0A=0AAs the system was running perfect= ly in all other ways (well, at least the wife hadn't complained her network= files were offline, which is the only important thing!), it took a few day= s before I finally got around to logging in at the console and rebooting it= after which it has seemed to be fine. The system has been eminently stabl= e other than this one issue one time. =0A=0AI have not been able to find m= uch from Google about this other than the following two items-=0A=0AA) very= specific bugs against different SSH versions than I am using. Doubt this = is the problem.=0A=0AB) some issues some folks have had with needing to cre= ate /dev/pty or similar items. While it seems far fetched, this is the fir= st time the system was up with a new device and ... I don't know. New devi= ce in the system and an old device goes wonky within a week seems to be a b= it of a coincidence. =0A=0A** Does anyone have any thoughts if these are r= elated or not? **=0A=0AAlso, any tips, tricks or sites with working with t= ape drives on FreeBSD would be appreciated! (The handbook is a bit sparse = on this point and I'm used to autoloaders and better under Windows/Backup E= xec). I'm learning my way around camcontrol and mt, but should only need s= uch things in certain circumstances, like to get the tape drive "back" afte= r turning it off for a while, right?=0A=0A=0A=0A=0A=0A=0A