whats COMPAT_LINUX for?

Joshua Oreman oremanj at get-linux.org
Sun Jul 27 18:41:01 PDT 2003


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?

IIRC:
* most umass failures are caused by lack of `da'
* some kcompile failures (no SCSI devs) are caused by lack of `scbus'

-- Josh

> 
> Kris




More information about the freebsd-questions mailing list