Question on CAP / CAPer, compiling procedures & disk tab

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Jenne on August 18, 2008, 11:59:42 PM
So once again it's me looking for clues and answers.

First of all I do have to admit that I'm still no UNIX crack but a classic Mac graphical interface user, so please don't laugh about the questions that are following.

First of all I want to "AppleTalk" my NeXT machines to my local network. I stumbled over Frank Siegert's CAPer (http://www.wizards.de/~frank/next_cap.html) but what I don't understand: is CAPer just the installer for CAP or is it the full package containing an installer and CAP, too? If it doesn't contain CAP where do I get that? I did not search the NeXT archives in too deep but I did not find it there where I expected that - and Google doesn't spit out any download location for CAP. Any hints?

The next question is more UNIX related. Simple: how do I compile stuff with "makefile"? Remember, I'm a heavy user of graphical interfaces so I didn't deal with command lines very much up until now. Is there some sort of tutorial out there like "compiling for dummies"?

Last one is dealing with making disktab entries. I once found some explanation on how to write yor own hardware specific disktab entry (in my case for a 9 GB IBM DDRS-39130 drive I want to use) but I can't find it anymore. This text discribed all the necessary details in deep but still understandable to blockheads like me. Andreas was already of much help to me but I fear to make something wrong by using the disktab entry I already wrote for that drive:

#SCSI information for /dev/rsd1a
#Drive type: IBM DDRS-39130W
#512 bytes per sector
#218 sectors per track
#10 tracks per cylinder
#4193 cylinder per volume (including spare cylinders)
#0 spare sectors per cylinder
#0 alternate tracks per volume
#89249999 usable sectors on volume
#
IBM DDRS-39130|IBM DDRS-39130-512:\
:ty=fixed_rw_scsi:nc#4193:nt#10:ns#218:ss#512:rm#7200:\
:fp#320:bp#0:ng#0:gs#0:ga#0:ao#0:\
Surpriseds=sdmach:z0#64:z1#192:hn=localhost:ro=a:\
:pa#0:sa#5000000:ba#8192:fa#1024:ca#16:da#8192:ra#10:\
Surpriseda=time:ia:ta=3.3BSD:\
:pb#5000000:sb#8000000:bb#8192:fb#1024:cb#16:db#8192:rb#10:\
Surprisedb=time:ib:tb=3.3BSD:\
:pc#13000000:sc#4849679:bc#8192:fc#1024:cc#16:dc#8192:rc#10:\
Surprisedc=time:ic:tc=3.3BSD:


As You can see I want to "use" my machines a bit more so any help would be appreciated very much!

Thanks again in advance!

J
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Andreas on August 19, 2008, 02:10:05 PM
Jenne, your output from scsimodes can't be right.
You can try this, it should work:


#------------------------------------------------------------------------
#SCSI information for /dev/rsd1a
#Drive type: IBM DDRS-39130W
#512 bytes per sector
#218 sectors per track
#10 tracks per cylinder
#8387 cylinder per volume (including spare cylinders)
#0 spare sectors per cylinder
#0 alternate tracks per volume
#17849999 usable sectors on volume
#
IBM DDRS-39130|IBM DDRS-39130-512:\
:ty=fixed_rw_scsi:nc#8387:nt#10:ns#218:ss#512:rm#7200:\
:fp#320:bp#0:ng#0:gs#0:ga#0:ao#0:\
:os=sdmach:z0#64:z1#192:hn=localhost:ro=a:\
:pa#0:sa#4194304:ba#8192:fa#1024:ca#16:da#8192:ra#10:\
:oa=time:ia:ta=4.3BSD:\
:pb#4194304:sb#4194304:bb#8192:fb#1024:cb#16:db#8192:rb#10:\
:ob=time:ib:tb=4.3BSD:\
:pc#8388608:sc#4194304:bc#8192:fc#1024:cc#16:dc#8192:rc#10:\
:oc=time:ic:tc=4.3BSD:\
:pd#12582912:sd#4194304:bd#8192:fd#1024:cd#16:dd#8192:rd#10:\
:od=time:id:td=4.3BSD:


you will loose a little bit of space on the end of the hd. you get 4 partitions with 2GB each.
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Jenne on August 19, 2008, 11:18:33 PM
Hmmm... completly different amount of cylinders and usable sectors.How come? This is what I don't understand: is "volume" a logical naming (in sense of "partition") or a physical drive?
I've been dividing the total amount of the drive's (not volume's) cylinders by the possible maximum of "partitions" (4) and took the result as "cylinders per volume" (not "per drive") = 4193. Is that the wrong approach?

J
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Andreas on August 20, 2008, 03:49:41 AM
Quote from: "Jenne"Hmmm... completly different amount of cylinders and usable sectors.How come?

I don't know. I'm using the command "/usr/etc/scsimodes", an this command will tell me all the values, that i have to know to create a disktab entry. How do you have examined your values?

You should also read:
http://www.nextcomputers.org/forums/viewtopic.php?p=1332&sid=c90de47bcddd28fee76f8868b338242c[/quote]
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Jenne on August 20, 2008, 04:43:09 AM
Quote from: "Andreas"I don't know. I'm using the command "/usr/etc/scsimodes", an this command will tell me all the values, that i have to know to create a disktab entry. How do you have examined your values?

Simply by reading IBM´s documentation about this drive and associating the given specifications with Wikipedia´s definitions of drive dependent different block sizes - but thanks for the command line, this will help very much! It simply feels good to have someone around who´s able to help ;-)

j
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Andreas on August 20, 2008, 01:58:09 PM
Do you have done a:
disk -i /dev/<yourdevice>?

Do you have get errors?
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Jenne on August 23, 2008, 11:23:05 AM
It works! 4 partitions at 2 GB each, just some space lost at the end! For some odd reason the SCSI chain doesn´t accept any termination jumper settings at the drive itself, I had to use an additional active terminator block on another port of that ribbon cable...

Thank You very, very much Andreas!

J
Title: Question on CAP / CAPer, compiling procedures & disk tab
Post by: Andreas on August 23, 2008, 12:47:35 PM
Quote from: "Jenne"It works! 4 partitions at 2 GB each, just some space lost at the end! For some odd reason the SCSI chain doesn´t accept any termination jumper settings at the drive itself, I had to use an additional active terminator block on another port of that ribbon cable...

Thank You very, very much Andreas!

J

You could edit your fstab and mount on this, for me usefuel, locations:

/
/LocalApps
/LocalLibrary
/Stuff

Go to top  Forum index