LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   HP DL380 G5 neither cciss nor hpsa modules will load because of missing symbols (http://www.linuxquestions.org/questions/slackware-installation-40/hp-dl380-g5-neither-cciss-nor-hpsa-modules-will-load-because-of-missing-symbols-4175467764/)

donrich39 06-28-2013 05:56 PM

Slackware 14.0 64 bit install problems on HP DL380 G5
 
Hi,
I'm trying to install slack 14.0 64 on an HP DL380 G5 with no success.
Problem is getting cciss module to load. Also some issues with GPT partition table on internal usb boot drive but have worked through most of those.

I've tried to install either cciss.ko or hpsa.ko on an existing i686 box with a full slack 14.0 64 install and get the same errors, depmod wont add them because they have no symbols. How do I fix these modules or where can I get new ones?

thanks, - dr -

Edit: Module issues were red herring. Problem was complicated due to previous VMWare ESXi install. Explained below.

- dr -

flyinggeorge 06-29-2013 12:10 AM

I don't know anything about this, but could you post the specific error?

http://linux.about.com/library/cmd/blcmdl8_depmod.htm

According to the link above (the man for depmod)

Code:

-e, --errsyms
Show all the unresolved symbols for each module.

Would probably be very useful for debugging. Maybe even this option would help:

Code:

-u, --unresolved-error
depmod 2.4 does not set a return code when there are any unresolved symbols. The next major release of modutils (2.5) will set a return code for unresolved symbols. Some distributions want a non-zero return code in modutils 2.4 but that change might cause problems for users who expect the old behaviour. If you want a non-zero return code in depmod 2.4, specify -u. depmod 2.5 will silently ignore the -u flag and will always give a non-zero return code for unresolved symbols.

I wish I could tell you more about this. Hopefully returning with some more information will help you or let someone else point you in the right direction!

As for the GPT partition problem, I had a lot of issues installing Slackware on my new laptop with a GPT partition, using gdisk finally got everything working for me without errors. Although I suggested this to someone else and they said it did not work for them. cgdisk is another GPT partitioning tool. Try them both if you still need to partition your drive.

Code:

bash-4.2# gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present

Found valid MBR and GPT. Which do you want to use?
 1 - MBR
 2 - GPT
 3 - Create blank GPT

I wish I could help you more. :-\

donrich39 06-29-2013 04:18 PM

Thanks flyinggeorge,
The output of depmod -vvv 2>&1 | less provides amongst the pages of info, the following:
DEBUG: try kernel/drivers/block/cciss.ko (cciss)
DEBUG: add 0x8340730 kmod=0x83406f0, path=/lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko: no symbols
also BTW:
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/DAC960.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/pktcdvd.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/osdblk.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/umem.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/nbd.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/cryptoloop.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/virtio_blk.ko: no symbols
DEBUG: ignoring /lib/modules/3.2.29-smp/kernel/drivers/block/sx8.ko: no symbols

It then proceeds to list all the missing symbols for each of the above modules, the list is too long to post here but here's a sample:

DEBUG: do dependencies of /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko
DEBUG: /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko depends on scsi_dma_map (unknown)
DEBUG: /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko depends on pci_save_state (unknown)
DEBUG: /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko depends on free_irq (unknown)
DEBUG: /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko depends on dma_ops (unknown)
DEBUG: /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko depends on blk_start_request (unknown)
DEBUG: /lib/modules/3.2.29-smp/kernel/drivers/block/cciss.ko depends on reset_devices (unknown)

So, it appears to me that all those modules in the module tree that are "ignored" due to lack of symbols, weren't compiled correctly for this kernel.

So far, everything I've found via google on compiling a kernel module is way more complicated than it was a number of kernels ago.

Would appreciate any help.

Thanks - dr -

donrich39 06-29-2013 10:02 PM

So, I pull down the latest cciss tarball from http://cciss.sourceforge.net/ (version 4.6.28), build the module, exact same problem.
depmod 2>&1 | grep cciss | less still gives the same missing symbols.
modinfo shows pretty much the same stuff except the version is newer and the "in tree: y" is missing because I built it as an external module.
It just doesn't pickup the symbols.

- dr -

donrich39 07-06-2013 12:10 AM

After a complete slack 14.0 64 install omitting lilo, and then boot up from the install dvd and attempting to mount /dev/cciss/c0d0p1 /mp (just a mount point in ramdisk) I get mount: unknown filesystem type 'VMFS_volume_member'. Initially (a year ago or so) I installed VMWare ESXi on this box. I thought I had completely removed it by repartitioning and reformatting the logical drive in the HP P400 Smart RAID.

So, I discovered here: http://serverfault.com/questions/372...ct-information
the following:
"For this case you need to erase more than 1 MiB to kill the old VMFS superblock:

dd if=/dev/zero of=/dev/sdb1 bs=4M count=1

According to the blkid sources, the VMFS volume member superblock is located at the 1024 KiB offset from the start of partition, and the VMFS filesystem superblock is at the 2048 KiB offset, so erase 4 MiB just to be sure."

So, I followed the instructions, went through repartitioning and reformatting the logical drive again and the install again.

When finished, I rebooted the install dvd and attempted to mount /dev/cciss/c0d0p1 on /mp and it mounted. Unfortunately, ... there was nothing on it except the directory "/lost+found".

So, I ran setup again and noticed that the partitions it found were /dev/cciss/c0d01 through /dev/cciss/c0d04 NOT /dev/cciss/c0d0p1 through /dev/cciss/c0d0p4.
Also, setup detected /dev/cciss/c0d02 as linux type (not swap type which it was) and informed me that I didn't create an fdisk swap partition.

I then looked at /dev/block or /dev/cciss (can't remember now where I found them) after booting again from the dvd and found that all the c0d0's were missing the "p" before the partition number.
I made symlinks from the c0d0's w/o the p's to c0d0's with the p's and for the first time setup saw the swap partition and actually installed everything on the drive.
Unfortunately, it listed all the partitions in fstab without the p's, so I had to edit that.
Anyway, I finally have it booting via the internal usb drive that is now using syslinux and mounting root=/dev/cciss/c0d0p1.
So, ... SOLVED! :)
- dr -

Didier Spaier 07-06-2013 08:12 AM

Here (14.0 32), 'modprobe cciss' and 'modprobe hpsa' give no warning though 'lsmod' don't show them. I guess this doesn't help you anyway as I don't have a HP Smart Array Controller :(

FYI though if you want to check that you get same output:
Code:

bash-4.2# modinfo cciss
filename:      /lib/modules/3.2.45-smp/kernel/drivers/block/cciss.ko
license:        GPL
version:        3.6.26
description:    Driver for HP Smart Array Controllers
author:        Hewlett-Packard Company
srcversion:    E557C7A7C190DEA35F1597A
alias:          pci:v0000103Cd00003230sv0000103Csd0000323Dbc*sc*i*
alias:          pci:v0000103Cd00003230sv0000103Csd00003237bc*sc*i*
alias:          pci:v0000103Cd00003238sv0000103Csd00003215bc*sc*i*
alias:          pci:v0000103Cd00003238sv0000103Csd00003214bc*sc*i*
alias:          pci:v0000103Cd00003238sv0000103Csd00003213bc*sc*i*
alias:          pci:v0000103Cd00003238sv0000103Csd00003212bc*sc*i*
alias:          pci:v0000103Cd00003238sv0000103Csd00003211bc*sc*i*
alias:          pci:v0000103Cd00003230sv0000103Csd00003235bc*sc*i*
alias:          pci:v0000103Cd00003230sv0000103Csd00003234bc*sc*i*
alias:          pci:v0000103Cd00003230sv0000103Csd00003223bc*sc*i*
alias:          pci:v0000103Cd00003220sv0000103Csd00003225bc*sc*i*
alias:          pci:v00000E11d00000046sv00000E11sd0000409Dbc*sc*i*
alias:          pci:v00000E11d00000046sv00000E11sd0000409Cbc*sc*i*
alias:          pci:v00000E11d00000046sv00000E11sd0000409Bbc*sc*i*
alias:          pci:v00000E11d00000046sv00000E11sd0000409Abc*sc*i*
alias:          pci:v00000E11d00000046sv00000E11sd00004091bc*sc*i*
alias:          pci:v00000E11d0000B178sv00000E11sd00004083bc*sc*i*
alias:          pci:v00000E11d0000B178sv00000E11sd00004082bc*sc*i*
alias:          pci:v00000E11d0000B178sv00000E11sd00004080bc*sc*i*
alias:          pci:v00000E11d0000B060sv00000E11sd00004070bc*sc*i*
depends:       
intree:        Y
vermagic:      3.2.45-smp SMP mod_unload PENTIUMIII
parm:          cciss_tape_cmds:number of commands to allocate for tape devices (default: 6) (int)
parm:          cciss_simple_mode:Use 'simple mode' rather than 'performant mode' (int)
bash-4.2#

Code:

bash-4.2# modinfo hpsa
filename:      /lib/modules/3.2.45-smp/kernel/drivers/scsi/hpsa.ko
license:        GPL
version:        2.0.2-1
description:    Driver for HP Smart Array Controller version 2.0.2-1
author:        Hewlett-Packard Company
srcversion:    BFAFC5BE0D80DC98F56F286
alias:          pci:v0000103Cd*sv*sd*bc01sc04i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd0000334Dbc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001928bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001926bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001925bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001924bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001923bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001922bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001921bc*sc*i*
alias:          pci:v0000103Cd0000323Csv0000103Csd00001920bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003356bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003355bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003354bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003353bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003352bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003351bc*sc*i*
alias:          pci:v0000103Cd0000323Bsv0000103Csd00003350bc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd00003233bc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd0000324Bbc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd0000324Abc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd00003249bc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd00003247bc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd00003245bc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd00003243bc*sc*i*
alias:          pci:v0000103Cd0000323Asv0000103Csd00003241bc*sc*i*
depends:       
intree:        Y
vermagic:      3.2.45-smp SMP mod_unload PENTIUMIII
parm:          hpsa_allow_any:Allow hpsa driver to access unknown HP Smart Array hardware (int)
parm:          hpsa_simple_mode:Use 'simple mode' rather than 'performant mode' (int)
bash-4.2#

If not already done, you could check which module should be used looking at PCI vendor and device codes with 'lspci -n' or 'lspci -nn'.


All times are GMT -5. The time now is 06:57 PM.