whats COMPAT_LINUX for?

Kris Kennaway kris at obsecurity.org
Sun Jul 27 18:46:15 PDT 2003


On Sun, Jul 27, 2003 at 06:41:23PM -0700, Joshua Oreman wrote:
> On Sun, Jul 27, 2003 at 06:30:12PM -0700 or thereabouts, Kris Kennaway wrote:
> > On Sun, Jul 27, 2003 at 06:25:38PM -0700, Joshua Oreman wrote:
> > > On Sun, Jul 27, 2003 at 04:47:19PM -0700 or thereabouts, Kris Kennaway wrote:
> > > > On Sun, Jul 27, 2003 at 03:19:36PM -0700, marlon corleone wrote:
> > > > > whats COMPAT_LINUX for in NOTES, cant find man pages
> > > > > about this. and also is it ok if to remove from kernel
> > > > > config this two lines:
> > > > 
> > > > (freebsd-isp removed since this is off-topic for there).
> > > > 
> > > > It compiles in Linux binary compatibility, also available as the
> > > > linux.ko kernel module.
> > > > 
> > > > > device          scbus           # SCSI bus (required)
> > >                                                ^^^^^^^^^^
> > > > > device           da
> > > > > 
> > > > > since i have ni scsi device
> > > > 
> > > > Yes (you'll have to remove any other devices that depend on SCSI
> > > > support, e.g. umass).
> > > 
> > > Eh? `da' can be removed, but I seem to remember some kernel compile
> > > failures from no `scbus'.
> > 
> > Only if you have other devices that depend on SCSI support, e.g. umass.
> 
> Then why does it say (required) in the comment?

Because taken in context with the rest of the SCSI section, it is
required for SCSI support, as opposed to other scsi devices which are
optional (e.g. tape or disk support).

> IIRC:
> * most umass failures are caused by lack of `da'

I've said this twice now.

> * some kcompile failures (no SCSI devs) are caused by lack of `scbus'

Only if you have other devices that depend on SCSI support, e.g. umass.

Why do I get the feeling that we're going in circles here?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030727/988fff93/attachment-0001.bin


More information about the freebsd-questions mailing list