Subject: Re: Question: Can anyone write device drivers/ From: Jur van der Burg <"vdburg at hotmail dot com"> Date: Sat, 18 Nov 2006 17:39:09 +0100 Newsgroups: comp.os.vms Maybe I missed something, but the AH7892 works fine under VMS with the VMS' supplied SYS$PKADRIVER. You only need to tweak the config files. No need to write anything! Jur. David Turner, Island Computers US Corp wrote: > Thanks > But that is why I need someone to do it for us ! > > $$$ ! > > Dt > > > > "Jur van der Burg" <"vdburg at hotmail dot com"> wrote in message news:455ec277$0$324$e4fe514c@news.xs4all.nl... >> Well, I have the expertise but not the time to write a driver. >> The good thing however is that you don't need to, the embedded >> adaptec controller already has a driver ready to use. >> >> There are 3 things to do to get VMS running: >> >> 1. Edit SYS$COMMON:[SYSEXE]FIRM_REV_MATRIX.DAT >> >> Locate this entry: >> >> ! SYSBOOT code overrides this entry for XP1000: >> SYS_TYPE = 34 !HWRPB_SYSTYPE$K_TSUNAMI >> CPU_TYPE = 8 !HWRPB_CPU_TYPE$K_EV6 >> FIRM_ABS_MAJ = 5 >> FIRM_ABS_MIN = 5 >> FIRM_REC_MAJ = 6 >> FIRM_REC_MIN = 8 >> END_SYS_TYPE >> >> Change FIRM_REC_MIN from 8 to 6. >> >> Save file as SYS$SPECIFIC:[SYSEXE]FIRM_REV_MATRIX.DAT >> >> 2. Edit SYS$COMMON:[SYSEXE]SYS$CONFIG.DAT >> >> Locate the next two entries and comment them out >> bij placing an ! at the start of each line >> >> device = "Adaptec Floppy (AHA1742A)" >> name = DV >> driver = SYS$DVDRIVER >> adapter = EISA >> id = "FLOP" >> flags = ISA_ON_EISA >> end_device >> >> device = "Floppy" >> name = DV >> driver = SYS$DVDRIVER >> adapter = XBUS >> id = FLOP >> end_device >> >> Save file as SYS$SPECIFIC:[SYSEXE]SYS$CONFIG.DAT >> >> 3. Edit SYS$SYSROOT:[SYSEXE]SYS$USER_CONFIG.DAT >> >> Add these lines: >> >> device = "Intel 82557 LOM (Fast Ethernet)" >> name = EI >> driver = SYS$EIDRIVER >> adapter = PCI >> id = 0x12298086,0x800314D9 >> boot_flags = HW_CTRL_LTR, UNIT_0 >> flags = BOOT, NETWORK, EXTENDED_ID >> end_device >> >> device = "Intel 82557 LOM (Fast Ethernet)" >> name = EI >> driver = SYS$EIDRIVER >> adapter = PCI >> id = 0x12298086,0x800414D9 >> boot_flags = HW_CTRL_LTR, UNIT_0 >> flags = BOOT, NETWORK, EXTENDED_ID >> end_device >> >> device = "Adaptec AIC-7892" >> name = PK >> driver = sys$pkadriver.exe >> adapter = PCI >> id = 0x00809005,0x800214D9 >> boot_class = DK >> boot_flags = HW_CTRL_LTR, UNIT_0 >> flags = SCSI, PORT, BOOT >> end_device >> >> Save file as SYS$SPECIFIC:[SYSEXE]SYS$USER_CONFIG.DAT >> >> >> Notice that there are some different flavors of this system around, >> I know there is a type with a different embedded scsi controller >> for which you need to copy a driver, but I don't have such a system >> anymore and I forgot the details. It is possible to make it run though. >> >> You need to uncomment the floppy stuff above to make sure you >> won't crash during boot. The embedded floopy controller is there, >> but there's nothing attached to it and that's something the driver >> does not expect. Since it's not used anyway it's safe to remove >> it from the configuration. >> >> The firmware file does not need to be changed, all you get is >> an annoying message each boot. The edit takes care of that. >> >> Installing VMS is a breeze if you prepare a disk for this system >> to boot from by doing the above steps. Just copy an installation >> cd to hard disk, make the above changes, boot from the disk and >> off you go. Or you can burn a modified cd of course. >> >> Here's the system on which I'm doing the LDdriver development work: >> >> $ ld version >> %LD-I-VERSION, LD version V9.0, module X-9 built on Nov 17 2006 17:51:19 >> -LD-I-DRIVERVERSION, Driver version: 17-NOV-2006 17:29:36.26 (MON version) >> -LD-I-SYSINFO, Node: THEBAT, Hardware: hp AlphaServer DS20L 833 MHz, VMS version: V8.3 >> >> Jur. >> >> >> David Turner, Island Computers US Corp wrote: >>> OK >>> >>> Situation >>> >>> We have a bunch of DS20L Dual 833Mhz systems that were designed for Tru64 and Linux >>> The Adaptec controller is a AHA 7892 - a non vms compliant ctr. >>> Does anyone have the expertise to write a driver for this? >>> >>> >>> Email me at dturner-at-islandco-com >>> >>> Thanks >>> >>> DT > >