Adaptec Dual-Channel 3940UW SCSI in O2?...

SGI hardware problems, solutions, tips, hacks, etc.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
mapesdhs
Posts: 2512
Joined: Mon Nov 10, 2003 4:17 pm
Location: Edinburgh, Scotland
Contact:

Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby mapesdhs » Fri Apr 04, 2008 2:53 pm

Has anyone managed to get an Adaptec 3940UW working in O2? I bought one to try it
out; it's not shown in hinv, but the PCI IDs do show the two extra controllers from 'hinv -v':

Code: Select all

  PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 1
  PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 2
  PCI Adapter ID (vendor 0x1011, device 0x0001) PCI slot 3
  PCI Adapter ID (vendor 0x9004, device 0x8278) PCI slot 4
  PCI Adapter ID (vendor 0x9004, device 0x8278) PCI slot 5


The first two are the built-in controllers, the last two the extras (the middle ID is a PCI
bridge I think). The SCSI controller IDs are slightly different of course; perhaps some
kind of kernel hack could make it recognise the extra controllers?

The card is the type with just one external port, but the internal port could easily be
routed via a cable/socket out of the hole normally used for a flat panel adapter. There is
a different version of the 3940 that has both channels available externally as VHDCI,
but they're rare (3940UWD I think).

Ian.
I'm working on a charitable PC build for the Learn Engineering YouTube channel. Please PM/email/call if you'd like to contribute!
Donations of any kind of item I can sell to provide funds are also most welcome.
mapesdhs@yahoo.com
+44 (0)7434 635 121

User avatar
recondas
Moderator
Moderator
Posts: 5441
Joined: Sun Jun 06, 2004 5:55 pm
Location: NC - USA

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby recondas » Fri Apr 04, 2008 5:13 pm

You might be able to use a variation of the hack used to modify the AHA-2944UW for O2 use:
viewtopic.php?t=6263
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************

User avatar
mapesdhs
Posts: 2512
Joined: Mon Nov 10, 2003 4:17 pm
Location: Edinburgh, Scotland
Contact:

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby mapesdhs » Fri Apr 04, 2008 5:23 pm

recondas wrote:You might be able to use a variation of the hack used to modify the AHA-2944UW for O2 use:
viewtopic.php?t=6263


That's what I was hoping. Alas, my knowledge of this sort of hack stuff is very low. I was hoping
someone might have a more detailed suggestion they could talk me through.

Ian.

User avatar
bjornl
Posts: 340
Joined: Tue May 09, 2006 11:55 am
Location: Sweden

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby bjornl » Sun Apr 06, 2008 2:44 am

Interesting project. Are you planing some benchmarking of large diskarrays :-)

Found this list of vendor id's
http://community.qnx.com/sf/wiki/do/vie ... lockdriver
Adaptec 3940 variants is a bit down on the list

If the hack works the same way, the numbers in the driver should be changed to 0x8278
There could of course be other obstacles.

/Bjorn

User avatar
mapesdhs
Posts: 2512
Joined: Mon Nov 10, 2003 4:17 pm
Location: Edinburgh, Scotland
Contact:

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby mapesdhs » Sun Apr 06, 2008 3:42 am

bjornl writes:
> Interesting project. Are you planing some benchmarking of large diskarrays :-)

Yes.


> Adaptec 3940 variants is a bit down on the list

Already checked the IDs on pcidatabase.com, so I know they're correct for the 3940.


> If the hack works the same way, the numbers in the driver should be changed to
> 0x8278. There could of course be other obstacles.

Ah yes, but how? I've not done this before. :D Thus my reference to 'detailed
suggestion' and 'walk me through'. ;)

Ian.

User avatar
recondas
Moderator
Moderator
Posts: 5441
Joined: Sun Jun 06, 2004 5:55 pm
Location: NC - USA

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby recondas » Sun Apr 06, 2008 5:55 am

I don't currently have an O2 up and running, and there isn't an adp78.o on my Octane to test with, so I can only offer rather vague suggestions <without a walk through :) >.

nekonoko's post <in the nekochan topic linked above> seems to suggest that you'd need to use a hex editor to replace each instance of 8178 in /var/sysgen/boot/adp78.o with 8278 <the ID for the 3940UW>.

If you feel adventurous make a backup of /var/sysgen/boot/adp78.o and try it.
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************

User avatar
hamei
Posts: 10433
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby hamei » Fri Apr 11, 2008 10:25 am

recondas wrote:If you feel adventurous make a backup of /var/sysgen/boot/adp78.o and try it.

Jump on in there, Ian. There should be hexedit in nekoware, if not it's on freeware. A tad peculiar to figure out but after that, just a small adventure. It's even addicting - kinda fun to change all the microsoft copyright notices to microslut (or worse ... I'm sure you can think of something) and see if anyone notices :)

I even managed to get an eisa 3com ethernet card working this way once. That was a Tony Nicoya hack, does anyone know where he is these days ?

SAQ
Posts: 5871
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby SAQ » Fri Apr 11, 2008 10:56 am

hamei wrote:
recondas wrote:If you feel adventurous make a backup of /var/sysgen/boot/adp78.o and try it.

Jump on in there, Ian. There should be hexedit in nekoware, if not it's on freeware.



It's in the MIPS-3 branch.
"Brakes??? What Brakes???"

"I am O SH-- the Great and Powerful"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

User avatar
mapesdhs
Posts: 2512
Joined: Mon Nov 10, 2003 4:17 pm
Location: Edinburgh, Scotland
Contact:

Re: Adaptec Dual-Channel 3940UW SCSI in O2?...

Unread postby mapesdhs » Fri Apr 11, 2008 3:29 pm

hamei writes:
> Jump on in there, Ian. ...

Will do when I can get to it! Kinda swamped atm. Just bought 14 Octanes, getting innards from
another 25 next week...

Ian.


Return to “SGI: Hardware”

Who is online

Users browsing this forum: No registered users and 4 guests