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

Bug#273106: cmd64x driver doesn't load properly on ia64



Jim, I noticed your patch to prebaseconfig for this bug. I wonder if
closing the bug report there is really the right thing to do, since the
real bug seems to be in the kernel, doesn't it?

I can reproduce this on my ia64.

The comment says that "50prebaseconfig" (really it's 50register-module)
adds modules in file name sort order. But really it adds them in
whatever order they were registered. hw-detect is careful about the
order, but makes an i386 centric assumption (which may not even be
correct there) -- that ide-detect and ide-generic will be enough to make
most CD drives work. The cmd64x module is not registered in /etc/modules
at all. 

We rarely see this case on i386 because it only happens if the system
has a scsi hard drive and ide cd; if the hard drive is ide then the
kernel's initrd takes care of loading all the appropriate ide modules in
the right order.

I think that it might be good to hunt down the used ide driver(s) using
the method you found on i386 too, and register-module those drives
before ide-detect and ide-generic, so they get loaded first. This could
be done in hw-detect. It's probably too late to make this change for
sarge and so I see your prebaseconfig hack as a suitable workaround for
now.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: