[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286939: Bug#291928: 2.4.27: medley.o not recognising stripe set



On Mon, Jan 24, 2005 at 11:04:03PM -0000, Chris Carr wrote:
> Progress!!

Progress indeed, thanks for the update.

> I was inspired by this:
> 
> >I had a look at the source for the medley driver, and it doesn't seem
> >to have been updated for quite some time, and the latest version seems
> >to be both in the kernel.org and debian kernels. So it is likely that
> >knoppix has the same driver. I confirmed that medly.c was the same for
> >all of these kernels.
> 
> So I played around with the D-I, rebooting a bunch of times. I found
> that I can actually get the medley driver working, if I boot into expert
> mode (2.4) and modprobe the following modules in this exact order: 
> 
> ide-core
> siimage
> ide-detect
> ide-disk
> ataraid
> medley
> 
> - it finds the RAID set then, just like Knoppix. BUT, of course, it
> finds them as hda and hdc, and I can't see my CD-ROMs (which are on a
> via82cxxx controller - modprobing via82cxxx at this point does nothing,
> since ide-detect has already run). 
> 
> If I go the sata_sil route, the modules are
> 
> scsi_mod
> libata
> sata_sil
> sd_mod
> ataraid
> medley
> 
> In this setup medley does not work - but I think the reason is simple:
> it's not looking for scsi disks! I've not checked the source, but it
> stands to reason that it's only expecting to look for raid arrays on
> devices beginning 'hd' (and the sata_sil/sd_mod route enumerates the
> drives as sda and sdb).

I just took a look at the source. And as it stands the list of devices
to examine as potential members of an array is defined in problelist
which only includes IDE devices (drivers/ide/raid/medley.c line ~195).

Furthermore, medley_get_metadata() (drivers/ide/raid/medley.c line ~450)
appears to be ide-specific. I am not sure what the implications of
adding SCSI support would be, but I your assumption that medley.o
does not handle SCSI disks is correct.

> So my problem is not with medley at all, it's with ide-detect. If I load
> ide-detect after loading both siimage AND via82cxxx, only the last set
> of devices are found (ie. if I modprobe siimage first then via82cxxx,
> only the CD-ROMs are round; if I modprobe via82cxxx first then siimage,
> only the SATA drives are found).

That definately bares futher investigation. Though I am tempted to think
that it might be a problem with having both siimage and via82cxxx
loaded, rather than with ide-detect. But in any case it is clearly 
a problem.

-- 
Horms



Reply to: