If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
Newsgroups: comp.unix.sco.misc From: Bela Lubkin <belal@sco.com> Subject: updating "wd" driver on OSR502 and newer, Re: Hard Disk Performance Resent-From: mmdf@xenitec.on.ca by mail.ut.sco.com with SMTP; 20 May 2004 18:55:09 -0000 Submit-To: scomsc@xenitec.on.ca Content-Type: text/plain; charset=us-ascii Organization: [resent by] The SCOMSC gateway and Propagation Society Content-Disposition: inline Date: Thu, 20 May 2004 18:59:45 GMT Message-ID: <20040520185944.GW10272@sco.com> User-Agent: Mutt/1.4.1i-nntp3 To: scomsc@xenitec.ca Mime-Version: 1.0 In-Reply-To: <40acc228$0$4576$db0fefd9@news.zen.co.uk> X-Nntp-Posting-Host: enigma.xenitec.on.ca Originator: news@enigma.xenitec.on.ca (News subsystem owner) References: <40ab0cb2$0$4580$db0fefd9@news.zen.co.uk> <20040519115426.GO10272@sco.com> <40ab7f9e$0$4592$db0fefd9@news.zen.co.uk> <20040519202305.GP10272@sco.com> <40ac804b$0$4586$db0fefd9@news.zen.co.uk> <20040520112406.GV10272@sco.com> <40acc228$0$4576$d Sender: news@enigma.xenitec.ca (News subsystem owner) Precedence: list IanC wrote:
> "Bela Lubkin" <belal@sco.com> wrote in message > news:20040520112406.GV10272@sco.com... > > cut > > We inch closer... > > > > You need to trick the test it's using; which is easy: > > > > ISL_DEV=1 btldinstall /mnt > > > > This defeats a specific test in file /wd506/install/preinstall on the > > "wd BTLD"; it isn't any sort of general magic. > > from an earlier posting > >Again, I think this will work but I haven't tested it. If you test it, > >please let me know (1) if you got it to link in, (2) if it booted, (3) > >if you saw any performance change. > > . > Thanks Bela > > I have now loaded the new driver. > > I links OK > > It boots OK > > The backup job used to take 22 minutes. > > It now takes 99 seconds - wow Excellent! > This is on a fairly modern PC with a UDMA 7 drive. I expect that the > performance improvement will not be as great on earlier machines. You're probably right. OSR5 is fairly conservative about which chipsets it will attempt UDMA on. The older machines will also contain slower drives and slower controllers (in some random combination that will often mismatch fast drive / slow controller or vice versa...) But it will probably make a striking difference on a good proportion of them. > How 'safe' do you think it will be to use this on older machines ? You should run your first test machine this way for a few weeks first, in case there's something you haven't noticed. You should also be sure to have good backups of each machine you modify -- this is uncharted territority and you shouldn't act like it's totally safe, even if it turns out to be.
The driver is _intended_ to work correctly on all hardware it's ever
worked on. If something goes wrong it won't be because code to support
old quirky hardware has been intentionally removed or repurposed. But
mistakes are always possible.
> I will need to automate the installation in order to get it to 250 sites
> without driving around with a floppy disk - any ideas?
Yes: `btldinstall` doesn't actually care whether the stuff it's
installing is on an actual filesystem. If you mount the "wd BTLD"
image, you can save off the key parts:
mount ... /mnt
cd /mnt
tar cf - wd wd506 install | compress -H > /tmp/wd.btld.Z
This makes a ~185K tarball for me. Of course you'll want to actually
modify ./wd506/driver/wd/Space.c with the added swab() function.
Now, to install this on a random machine:
mkdir /tmp/wd.btld
cd /tmp/wd.btld
zcat /tmp/wd.btld.Z | tar xf -
ISL_DEV=1 btldinstall /tmp/wd.btld
Choose "wd506" unless you're on an OSR507 machine, then "wd".
You can actually add that `divvy` binary to the mix if you want. BTLDs
are a simple enough format. Extract the parts you need, then add the
divvy binary as ./wd/new/etc/divvy, link it to ./wd506/new/etc/divvy,
and remake the archive. Installing the modified BTLD will drop in the
new /etc/divvy (overwriting the original one, so don't do this until
you're sure).
If you want to further automate things like relinking and even
rebooting, you can add your steps to the script ./wd/install/postinstall
(and its link, ./wd506/install/postinstall).
You could optionally also modify ./wd506/install/preinstall to remove
the test for ${ISL_DEV}. Beware that these two scripts are _not_ linked
together and have different contents -- you need to preserve that. In
any case, it's best not to change ./wd/install/preinstall this way,
since exactly the same payload is installable from the "Wd Driver
Supplement" on OSR507, with the added benefit of removability.
So, to summarize:
[installing ftp://ftp.sco.com/pub/openserver5/drivers/OSR507/btld/wd/
"wd BTLD" on OSR502/OSR504/OSR505 -- OSR506/OSR507 already work.]
- mount the SCO-supplied "wd BTLD" image somewhere
- copy the contents of its subdirectories wd, wd506, install to a work
directory
- in the work directory:
: modify wd*/driver/wd/Space.c with the added swab() function
(http://groups.google.com/groups?selm=20040519115426.GO10272@sco.com)
: modify wd*/install/postinstall as desired
: optionally modify wd506/install/preinstall to not check ${ISL_DEV}
: optionally add wd*/new/etc/divvy (hard-linked to each other)
(ftp://ftp.sco.com/pub/openserver5/drivers/OSR507/btld/wdsupp/VOL.000.004)
- make a compressed tarball of the results
- distribute to a machine
- extract into /somewhere
- `ISL_DEV=1 btldinstall /somewhere` (or `btldinstall /somewhere`)
The simplicity of BTLD format comes with a price: BTLDs cannot be
removed. Which is one reason you should be sure you have backups of
each individual machine.
You must include the contents of ./wd as well as ./wd506, even if you
don't have any OSR507 systems in the mix. For many files, ./wd contains
the real meat and ./wd506 just a reference to the real file in ./wd.
I haven't addressed OSR500. If someone wants to try this procedure on a
5.0.0 system and report back to me, I can probably repair whatever goes
wrong. I suspect the kernel won't link; show me the error messages...
>Bela<
/Bofcusm/2479.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar