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

Re: How to hack a new kernel into a woody CD?

On Mon, 2002-12-16 at 09:51, David A. Greene wrote:
> >>On Mon, Dec 16, 2002 at 04:57:14PM +0000, Oliver Elphick wrote:
> >>>I'm trying to get Debian onto a machine that has no OS at present.  I
> >>>have a set of woody CDs.
> >>>
> >>>The machine has an Adaptec RAID card (2400A) which needs the dpti
> >>>driver.  This driver is present in kernel 2.4.20, but not in the 2.2.20
> >>>kernel used on the CD.  The manufacturer only supplies drivers for
> >>>RedHat with kernel 2.4.16 (and one or two other earlier kernels).

> Do you have source for the driver?  If so it is possible.  If not,
> I think you're out of luck.

This is where I've got to so far.

The card is a 4-channel ATA RAID device.  I believe that the correct
driver is dpti (linux/drivers/scsi/dpti).

I've used kernel-source-2.4.20 and built a kernel-image on my main
machine with the correct drivers included.

I copied the woody CD to hard disk, substituted my new kernel for
.../install/lin24 (which is the kernel used by bf24), unzipped bf24.bin
and mounted it as a loopback and copied /lib/modules/2.4.20 into it.

I then burned a new bootable CD.  This boots OK and loads the desired
kernel; the RAID card is detected.  However:

dpti0: Trying to reset device
       Device reset not supported
       Bus reset: SCSI Bus 0: tid 11
       Bus reset success
scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0
SCSI disk error:  host 0 channel 0 id 0 lun 0 return code = 30002
      I/O error: dev 08:00, sector 0
      I/O error: dev 08:00, sector 2
      I/O error: dev 08:00, sector 0
      unable to read partition table

And the device cannot be read.

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
     "Let another man praise thee, and not thine own mouth; 
      a stranger, and not thine own lips."             
                                   Proverbs 27:2 

Reply to: