Re: Adaptec AHA2940UW and kernel 2.6

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

 



Hi,

I wanted to know whether the aic7xxx.o module is present in the
/lib/modules directory. Under this directory
2.6.0-test1/drivers/scsi/aic7xx/ this should be there. This is because
all the modules are loaded from there and if I am not mistaken mkinitrd
will also be picking up the modules from there itself. If under the
directory /lib/modules/2.6.0-test1/drivers/scsi/aic7xx/ there is no
aic7xxx.0 module that should be the problem.

If you are building it as a module are you doing the make
modules_install.

Personally I do not use make install I prefer to use make
modules_install and the copy the system map & bzImage to the boot
directory. I go like this make mrproper if required to clean the tree
completely, then make menuconfig, make bzImage, make modules and finally
make modules_install.

After this I copy the bzImage and the system.map to the proper place and
finally mkinitrd /boot/initrd-2.6.0-test1.img 2.6.0-test1.

As you said yesterday that you have tried both the modular and the
building in the kernel route and both fail at the same point right. If
you have built the driver in the kernel then you do not need to do
mkinitrd for using scsi maybe for some other stuff like ext3 you will
need it. 

>From man mkinitrd

mkinitrd automatically  loads filesystem   modules   (such   as  ext3 
and  jbd),  IDE  modules, all scsi_hostadapter entries in
/etc/modules.conf, and raid modules if  the systemâs  root partition is
on raid, which makes it simple to build and use kernels using modular
device drivers.

In light of the above when you compile it in the kernel try removing the
alias scsi-hostadapter lines from the modules.conf temporarily and then
creating the mkinitrd maybe that will solve your problem.

As to copying the aic7xxx.o to the scsi directory won't help you at all
unless and until you change the Makefile to reflect that so that it can
copy it from the new location. But trust me it is highly unlikely that
the the kernel guys made a mistake writing the correct makefile which
fails to copy the aic7xxx module from the directory it has been residing
in for a pretty long time ;-)

OK finally started my own compile will get back in 1 hrs time as to how
it went...

-- 
Arindam Dey

The mind is not a vessel to be filled
but a fire to be kindled.

GPG FPR: B8E3 219E F129 F970 F4A7  BC50 9636 504A BEDF 5739


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux