LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-22-2003, 11:41 PM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
promise fasttrak module problem


Hello.

Please forgive me, I may not be a Linux newbie, but usually these thing work and I don't have to tear them apart...

I have a new Promise FastTrack TX2000 IDE RAID card. I have downloaded their (proprietary) open source driver, and I'm having some trouble making it work.

I am running a Slackware 9.0 install, updated with the 2.4.21 kernel.

I keep getting "depmod: *** Unresolved symbols" messages when I try to test the compiled driver. I think I'm on to something here, when I change the compiler flags, I don't get as many unresolved symbols. Here is a copy of my compiler flags and the resulting depmod output:


Very Bad...
Code:
INDEP386= -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE
Produces this:
Code:
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/FastTrak.o
depmod:         pci_write_config_byte
depmod:         __wake_up
depmod:         __udelay
depmod:         __release_region
depmod:         vsprintf
depmod:         kmalloc
depmod:         scsi_unregister_module
depmod:         __check_region
depmod:         pci_read_config_byte
depmod:         scsi_register
depmod:         __get_free_pages
depmod:         pcibios_present
depmod:         free_irq
depmod:         pci_read_config_dword
depmod:         iounmap
depmod:         free_pages
depmod:         __ioremap
depmod:         pci_read_config_word
depmod:         do_gettimeofday
depmod:         del_timer
depmod:         interruptible_sleep_on
depmod:         request_irq
depmod:         scsi_register_module
depmod:         pci_find_device
depmod:         pci_write_config_word
depmod:         sprintf
depmod:         jiffies
depmod:         __request_region
depmod:         printk
depmod:         add_timer
depmod:         __const_udelay
depmod:         ioport_resource


This is not so bad:
Code:
DEP386  = -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h
Produces this:
Code:
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/FastTrak.o
depmod:         vsprintf
depmod:         iounmap
depmod:         __ioremap
depmod:         pci_read_config_word
depmod:         pci_write_config_word
depmod:         jiffies
depmod:         printk
depmod:         add_timer


How do I make the rest of these go away? This one is a little bit beyond me...


Thanks in advance!
 
Old 06-23-2003, 08:18 AM   #2
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
I should also point out that if I boot the system and then manually load the module, it seems to insert and run fine... it's just when I make a boot image (initrd) to enable FastTrak support at boot time that it fails to load.
 
Old 06-28-2003, 04:37 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
Same thing on my Mandrake 9.1 computer. The source that I had, was partial source. By that I mean that there were pre-compiled modules. I believe that those modules were compiled for kernel version 2.4.19.
Also, there may be a mismatch between the versions of gcc used to compile the modules, and the gcc installed on your computer.

While, I get the same messages, I am able to use my raid drives, however, I have to boot from a non-raid drive.
 
Old 07-18-2003, 07:01 PM   #4
Moev
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
I have the same problem.

I can manually "insmod -f FastTrak.o" and then mount the drives, but within initrd, I get a lot of unresolved symbols with the same module, and then a kernel panic

Is the insmod in the initrd more restrictive? I noticed when I manually did it, I had to force the kernel mismatch with "-f", but the insmod in the initrd (busybox?) doesnt have that option. Assuming it would just ignore that, I get unresolved symbols, but do not when i manually insmod.

Has anyone tried statically compiling FastTrak into the kernel and bypassing initrd?
 
Old 07-18-2003, 07:40 PM   #5
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Original Poster
Rep: Reputation: 30
i ditched that card; windows user bought it from me for full price. i went out and got an lsi logic megaraid a4, $190 used, but it came right up and is as fast as can be, plus it supports up to 8 drives... more raid modes... etc...

the pain in the butt was not worth saving the money. if i were you i'd go out and buy a 3ware or megaraid card. plus they're pure hardware instead of hardware+driver, so they are faster and more reliable too.

just my $.02 after wasting three weeks of my life on the fasttrak.

Last edited by whysyn; 07-18-2003 at 07:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Promise FastTrak 4200 driver under Debian Jason_zwf Debian 1 05-16-2005 11:20 AM
Problem with Promise FastTrak 4200 driver Jason_zwf Linux - Hardware 0 05-15-2005 10:05 PM
MD10 Promise FastTrak raid driver compile problem yvesm Mandriva 1 03-16-2004 07:40 AM
Promise Fasttrak 100 boot problem gmcv55 Linux - Hardware 1 08-14-2003 01:08 PM
Promise FastTRAK TX2000 j0han Slackware 2 09-20-2002 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration