criggie.org.nz

News Images MP3 Humour Email Us Webmail Links
Stuff from: Debbie Criggie Daniel Luke Katherine Gladys

Two computers on the same SCSI bus

Ver 1.1 Got a HFS formatted EZ cartridge and managed to mount it on the mac
Ver 1.0 Initial version.

Related links

The case that holds the Micropolis

Introduction

There really are two computers on this SCSI bus! One is a P133 running Debian Woody with an Adaptec 2940 PCI Host Adapter. Inside this machine is a Syquest EZ Drive at 135 Mb. The host adapter ID was changed from 7 to 6 by pressing ^A at boot.

The other machine is a venerable Macintosh LCII with an internal Conner drive at 250 Mb. The internal SCSI host adapter is unconfigurable, and is set to SCSI ID 7.

Sitting between them is a 4.3 Gb Micropolis SCSI drive that has been specially mounted in a wind-tunnel SCSI enclosure, because it got far too hot otherwise. Click on the Related Link above for pictures.

What can the macintosh see?

This is what the Mac sees on the SCSI bus
This is what the Mac sees on the SCSI bus

Contents of the EZ Drive from the mac
Contents of the EZ Drive from the mac

This is what the Mac has mounted
This is what the Mac has mounted

What can scarf see?

scarf:~> df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2              2016044   1238372    675260  65% /
/dev/hda1                54416      2961     48646   6% /boot
/dev/hda4              7823408     91900   7731508   2% /junk
/dev/sda1               264091     58590    205501  23% /mac1
/dev/sdc               2097120     32704   2064416   2% /hotbox
/dev/sdb3               130686     76520     54166  59% /syquest

scarf:~> mount
/dev/hda2 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext2 (rw)
/dev/hda4 on /junk type reiserfs (rw)
none on /dev/shm type shm (rw)
/dev/sda1 on /mac1 type hfs (rw)
/dev/sdc on /hotbox type hfs (rw,noexec,nosuid,nodev)
/dev/sdb3 on /syquest type hfs (rw)

Relevent sections from dmesg

SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.5
        
        aic7870: Single Channel A, SCSI Id=6, 16/255 SCBs
  Vendor: CONNER    Model: CFA270S           Rev: P100
  Type:   Direct-Access                      ANSI SCSI revision: 02
(scsi0:A:0): 10.000MB/s transfers (10.000MHz, offset 15)
  Vendor: SyQuest   Model: EZ135S            Rev: 1_13
  Type:   Direct-Access                      ANSI SCSI revision: 02
(scsi0:A:3): 5.000MB/s transfers (5.000MHz, offset 15)
  Vendor: MICROP    Model: 3243-19   1128RQ  Rev: 28RQ
  Type:   Direct-Access                      ANSI SCSI revision: 02
(scsi0:A:4): 10.000MB/s transfers (10.000MHz, offset 15)
scsi0:0:4:0: Tagged Queuing enabled.  Depth 8
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Detected scsi removable disk sdb at scsi0, channel 0, id 3, lun 0
Detected scsi disk sdc at scsi0, channel 0, id 4, lun 0
SCSI device sda: 528354 512-byte hdwr sectors (271 MB)
 sda: [mac] sda1 sda2 sda3 sda4
SCSI device sdb: 262144 512-byte hdwr sectors (134 MB)
sdb: Write Protect is off
 sdb: [mac] sdb1 sdb2 sdb3 sdb4
SCSI device sdc: 8388315 512-byte hdwr sectors (4295 MB)
 sdc: unknown partition table

scarf:~> cat /proc/scsi/aic7xxx/*
Adaptec AIC7xxx driver version: 6.1.5
aic7870: Single Channel A, SCSI Id=6, 16/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 3.300MB/s transfers
	Channel A Target 0 Lun 0 Settings
		Commands Queued 130
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 2 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 3 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 5.000MB/s transfers (5.000MHz, offset 15)
	Curr: 3.300MB/s transfers
	Channel A Target 3 Lun 0 Settings
		Commands Queued 233
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 4 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
	Goal: 10.000MB/s transfers (10.000MHz, offset 15)
	Curr: 3.300MB/s transfers
	Channel A Target 4 Lun 0 Settings
		Commands Queued 163
		Commands Active 0
		Command Openings 253
		Max Tagged Openings 253
		Device Queue Frozen Count 0
Channel A Target 5 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 6 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)
Channel A Target 7 Negotiation Settings
	User: 10.000MB/s transfers (10.000MHz, offset 255)

scarf:~> ls -la /syquest
total 1100
drwxr-xr-x    4 root     root            9 Mar  1  1999 Apple File Exchange Folder
-rwxr-xr-x    1 root     root         8192 Mar 21  2000 AppleShare PDS
-rwxr-xr-x    1 root     root            0 Dec 31  1903 Desktop
-rwxr-xr-x    1 root     root        65536 Jul  9  1999 Desktop DB
-rwxr-xr-x    1 root     root       488450 Jul  9  1999 Desktop DF
drwxr-xr-x    4 root     root            5 May  2  2000 Desktop Folder
drwxr-xr-x    4 root     root            7 Mar  1  1999 Disk Copy
drwxr-xr-x    4 root     root            8 Mar  1  1999 Font:2fDA Mover Folder
drwxr-xr-x   13 root     root           26 Mar 12  1999 Games
-rwxr-xr-x    1 root     root            0 Aug 12  1996 Icon:0d
drwxr-xr-x    4 root     root            7 Jul 29  1997 Imagery
drwxr-xr-x    4 root     root            7 Mar  1  1999 MacJanet
drwxr-xr-x    5 root     root            7 Mar  1  1999 NU
drwxr-xr-x    5 root     root            9 May  2  2000 Network Software Installer
drwxr-xr-x    4 root     root            9 Mar  1  1999 OnGuard Installer
drwxr-xr-x    4 root     root           11 Mar 11  1999 Print Shop
drwxr-xr-x   10 root     root           14 Jul  9  1999 Shareware
drwxr-xr-x    5 root     root            8 Mar  1  1999 StuffIt Expander:aa 4.0.1 Folder
-rwxr-xr-x    1 root     root       526822 Mar 23  1998 StuffIt Lite:aa 3.5 Installer
drwxr-xr-x   12 root     root           27 Feb 26  1999 Syquest Software
drwxr-xr-x    4 root     root            5 Jul  9  1999 Trash

Summary

This means the mac and the PC can both physically see each-others drives without a problem. This includes the drives on internal busses too, which I find quite amazing.

The Macintosh cannot mount the Micropolis, probably because it is simply too old to deal with such a large drive. Also the mac can't mount the Syquest if there is an ext2fs disk in it.

As you can see though, the Linux box (who rejoices in the name scarf) can and has mounted the Micropolis and the Conner and the Syquest. I had to enable Macintosh partition map support in the kernel, and I've had to insert the module hfs.o

I am curious to know exactly why the mac's internal drive has four partitons, and why fdisk can't handle it... and why can't each computer see the other computer's host adapter, oh well... it's just another thing to do in my copious free time.


This file last modified Sunday January 23, 2005

If you find something here useful, feel free to donate bitcoin: Donations address: 14LHst9s1UEh8NMem87qaEd9tJWSCiNt1x

Valid HTML 4.01!

.