Re: two sym53c8xx.o modules

From: Marcelo Tosatti
Date: Thu Oct 09 2003 - 07:58:08 EST




On Thu, 9 Oct 2003, Erik Mouw wrote:

> On Thu, Oct 09, 2003 at 08:41:49AM -0300, Marcelo Tosatti wrote:
> > On Thu, 9 Oct 2003, Xose Vazquez Perez wrote:
> > > kernel 2.4 has two modules with *same name*:
> > > /lib/modules/2.4.XX/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.o
> > > /lib/modules/2.4.XX/kernel/drivers/scsi/sym53c8xx.o
> > >
> > > "# modprobe sym53c8xx" tries to load sym53c8xx.o first and then sym53c8xx_2/sym53c8xx.o
> > > bug or feature?
> > >
> > > should be sym53c8xx_2/sym53c8xx.o renamed to sym53c8xx_2/sym53c8xx_2.o ?
> >
> > One should not have both drivers loaded at the same time, so I think this
> > is alright.
>
> No, it's not allright. Modprobe can't distinguish between
> sym53c8xx_2/sym53c8xx.o and sym53c8xx.o, you have to figure out the
> full path and insmod one of them manually. Xose is right in that
> sym53c8xx_2/sym53c8xx.o should be renamed in sym53c8xx_2/sym53c8xx_2.o.
> Compare with aic7xxx and aic7xxx_old.

True. Mind sending me a patch?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/