Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 18:04:26 +0100 (BST)
From:      Nick Hibma <n_hibma@qubesoft.com>
To:        freebsd-scsi@FreeBSD.org
Cc:        gibbs@FreeBSD.org
Subject:   CAM - The Module - Call for testers
Message-ID:  <Pine.BSF.4.20.0008091743480.5091-300000@henny.webweaving.org>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-176558756-965840666=:5091
Content-Type: TEXT/PLAIN; charset=US-ASCII


The USB Mass Storage driver uses CAM. At the moment CAM needs to be
compiled into the kernel for the umass driver to work. The following
patch makes CAM a module.

As far as I can test it loads and runs fine, but that is only with a
limited testcase, one USB floppy drive. I'd appreciate it if someone
with at least a SCSI adapter and at least one SCSI device attached to
it, could do the following:

- compile a kernel without scbus, da, cd, sa and other SCSI devices
- recompile the umass module after the patch has been applied
- compile the cam module
- add umass_load to your /boot/loader.conf (which will pull in cam.ko
  through a dependency)

This should work even in the case of a SCSI adapter plus drive from
which you boot. Or at least that's the idea :-}

Thanks in advance!

Nick
--
Qube Software, Ltd.                                             Private:
n_hibma@qubesoft.com                              n_hibma@webweaving.org
                                                     n_hibma@freebsd.org
http://www.qubesoft.com/                   http://www.etla.net/~n_hibma/

--0-176558756-965840666=:5091
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="cam.module.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.4.20.0008091804260.5091@henny.webweaving.org>
Content-Description: 
Content-Disposition: attachment; filename="cam.module.diff"

SW5kZXg6IGRldi91c2IvdW1hc3MuYw0KPT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PQ0KUkNTIGZpbGU6IC9ob21lL25jdnMvc3JjL3N5cy9kZXYvdXNiL3VtYXNz
LmMsdg0KcmV0cmlldmluZyByZXZpc2l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GF0YV90IGNhbV9tb2R1bGVkYXRh
ID0gew0KKwkiY2FtIiwNCisJY2FtX21vZHVsZV9ldmVudF9oYW5kbGVyLA0K
KwlOVUxMDQorfTsNCisNCiBzdGF0aWMgdm9pZAl4cHRfaW5pdCh2b2lkICop
Ow0KLVNZU0lOSVQoY2FtLCBTSV9TVUJfQ09ORklHVVJFLCBTSV9PUkRFUl9T
RUNPTkQsIHhwdF9pbml0LCBOVUxMKTsNCiANCitERUNMQVJFX01PRFVMRShj
YW0sIGNhbV9tb2R1bGVkYXRhLCBTSV9TVUJfQ09ORklHVVJFLCBTSV9PUkRF
Ul9TRUNPTkQpOw0KK01PRFVMRV9WRVJTSU9OKGNhbSwgMSk7DQorDQorDQog
c3RhdGljIGNhbV9zdGF0dXMJeHB0X2NvbXBpbGVfcGF0aChzdHJ1Y3QgY2Ft
X3BhdGggKm5ld19wYXRoLA0KIAkJCQkJIHN0cnVjdCBjYW1fcGVyaXBoICpw
ZXJwaCwNCiAJCQkJCSBwYXRoX2lkX3QgcGF0aF9pZCwNCkBAIC0xMjY0LDYg
KzEyNzUsMTggQEANCiAJfQ0KIA0KIAlyZXR1cm4oZXJyb3IpOw0KK30NCisN
CitzdGF0aWMgaW50DQorY2FtX21vZHVsZV9ldmVudF9oYW5kbGVyKG1vZHVs
ZV90IG1vZCwgaW50IHdoYXQsIHZvaWQgKmFyZykNCit7DQorCWlmICh3aGF0
ID09IE1PRF9MT0FEKSB7DQorCQl4cHRfaW5pdChOVUxMKTsNCisJfSBlbHNl
IGlmICh3aGF0ID09IE1PRF9VTkxPQUQpIHsNCisJCXJldHVybiBFQlVTWTsN
CisJfQ0KKw0KKwlyZXR1cm4gMDsNCiB9DQogDQogLyogRnVuY3Rpb25zIGFj
Y2Vzc2VkIGJ5IHRoZSBwZXJpcGhlcmFsIGRyaXZlcnMgKi8NCg==
--0-176558756-965840666=:5091
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="cam.module.Makefile"
Content-Transfer-Encoding: BASE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A+IG9wdF9zY3Np
LmgNCg0KLmluY2x1ZGUgPGJzZC5rbW9kLm1rPg0K
--0-176558756-965840666=:5091--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0008091743480.5091-300000>