Re: Creating dd (driver disk) for FC5, installer "disagrees about version of symbol struct_module"

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

 



On Fri, Jun 16, 2006 at 11:58:19AM +0100, Paul Howarth wrote:
> Pasi Kärkkäinen wrote:
> >On Fri, Jun 16, 2006 at 08:35:03AM +0100, Paul Howarth wrote:
> >>On Fri, 2006-06-16 at 00:00 +0300, Pasi Kärkkäinen wrote:
> >>>Hi!
> >>>
> >>>I'm trying to build Qlogic qla4xxx HBA driver (floppy dd image) for FC5, 
> >>>using
> >>>ddiskit 0.9.5.
> >>>
> >>>I've successfully built the dd image for 2.6.15-1.2054_FC5 and 
> >>>2.6.15-1.2054_FC5smp
> >>>kernels. I had to manually add "modules.pcimap" and "pci.ids" files to 
> >>>the
> >>>generated image.. otherwise the FC5 installer complained that those files
> >>>are missing from the dd image.
> >>>
> >>>When I boot FC5 CD with "linux dd", and try to load the driver disk, the
> >>>installer doesn't load the driver.. If I try to load the driver manually
> >>>with insmod (when in the installer) I get:
> >>>
> >>>qla4xxx: disagrees about version of symbol struct_module
> >>>
> >>>modinfo says:
> >>>
> >>>"vermagic:       2.6.15-1.2054_FC5 686 REGPARM 4KSTACKS gcc-4.1"
> >>>
> >>>Is that correct? Looks like correct to me..
> >>>
> >>>Is there something special compilation flags or something that I should 
> >>>be
> >>>using.. ?
> >>Did you build the module for the i586 kernel or the i686 kernel? The
> >>installer uses the i586 kernel.
> >>
> >
> >No, I only built for i686 because "uname -a" says i686 during the
> >installer.. oh well, my bad.
> >
> >I added the i586 build of the driver, but for some reason the installer
> >doesn't like the dd image..
> >
> >Installer still says "No devices of the appropriate type were found on this
> >driver disk."
> >
> >VC 3 (debug) says:
> >
> >INFO    : modules to insert
> >INFO    : load module set done
> >
> >What does that mean? It doesn't even try to load the module? Something
> >missing from my dd image.. ? 
> >
> >Same kind of self made dd image works with CentOS 4.2 / 4.3 installers.. 
> >Has the format/layout of the dd images changed? 
> 
> There was a driver disk format change quite a while back back, but I'd 
> have thought that CentOS 4.x would be using the new format. What's the 
> directory hierarchy you have?
> 
> I used to make driver disks for my old Advnsys SCSI card but that's been 
> included in the installer kernel for FC5 :-)
> 
> What I had for FC1, FC3, and FC4 was:
> 
> # ls -l
> total 684
> -rw-r--r-- 1 paul paul     48 Aug 16  2004 modinfo
> -rw-r--r-- 1 paul paul 648561 Jun 20  2005 modules.cgz
> -rw-r--r-- 1 paul paul     19 Aug 13  2004 modules.dep
> -rw-r--r-- 1 paul paul    392 May 18  2005 modules.pcimap
> -rw-r--r-- 1 paul paul    281 Aug 13  2004 pcitable
> -rw-r--r-- 1 paul paul     21 Aug 13  2004 rhdd
> 
> # cat rhdd
> Advansys Driver Disk
> # cat modinfo
> Version 0
> advansys
>         scsi
>         "Advansys SCSI Cards"
> # cat modules.dep
> advansys: scsi_mod
> 
> The moduleball was structured like this:
> # ls -l 2*/*/*
> -rwxr--r-- 1 root root 101164 Sep 24  2004 
> 2.4.22-1.2115.nptl/athlon/advansys.o
> -rwxr--r-- 1 root root  94204 Sep 24  2004 
> 2.4.22-1.2115.nptlBOOT/i386/advansys.o
> -rwxr--r-- 1 root root  98636 Sep 24  2004 
> 2.4.22-1.2115.nptl/i586/advansys.o
> -rwxr--r-- 1 root root 102412 Sep 24  2004 
> 2.4.22-1.2115.nptl/i686/advansys.o
> -rwxr--r-- 1 root root 101832 Sep 24  2004 
> 2.4.22-1.2115.nptlsmp/athlon/advansys.o
> -rwxr--r-- 1 root root 103176 Sep 24  2004 
> 2.4.22-1.2115.nptlsmp/i686/advansys.o
> -rwxr--r-- 1 paul paul 105488 Jun  3  2005 
> 2.6.11-1.1369_FC4/i586/advansys.ko
> -rwxr--r-- 1 paul paul 103848 Jun  3  2005 
> 2.6.11-1.1369_FC4/i686/advansys.ko
> -rwxr--r-- 1 paul paul 105468 Jun  3  2005 
> 2.6.11-1.1369_FC4smp/i686/advansys.ko
> -rwxr--r-- 1 root root  92680 Nov 12  2004 2.6.9-1.667/i586/advansys.ko
> -rwxr--r-- 1 root root  93832 Nov 12  2004 2.6.9-1.667/i686/advansys.ko
> -rwxr--r-- 1 root root  91720 Nov 12  2004 2.6.9-1.667smp/i586/advansys.ko
> -rwxr--r-- 1 root root  96048 Nov 12  2004 2.6.9-1.667smp/i686/advansys.ko
> 
> 

Thanks!

At a first glance, I'm missing smp/i586/ module.. I'll have to examine
it more next week. Let's see if that helps. 

-- Pasi
       
                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux