View previous topic :: View next topic |
Author |
Message |
fharni n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/606928960430355609958d.gif)
Joined: 12 Oct 2002 Posts: 28
|
Posted: Thu Aug 04, 2005 8:38 am Post subject: Modulsources wont kompile |
|
|
Hi,
I had downloaded the Linux driver package from Promise for my FastTrak S150 SX4 and tried to compile it, but everytime I got the following errormessage:
Code: |
idon partial # uname -srmp
Linux 2.6.12-gentoo-r6 i686 Pentium III (Coppermine)
idon partial # make clean
rm -rf *.o *.obj *.ko .*.cmd .?*.o.d .*tmp* linux/*.o linux/*.ko linux/.*.cmd linux/.?*.o.d linux/.*tmp*
ln -s ftlib.obj.32 ftlib.obj
idon partial # make
make V=1 DRIVER_SRC_DIR=`pwd` -C /usr/src/linux/ SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r6'
make[1]: *** No rule to make target `SX'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r6'
make: *** [default] Error 2
idon partial #
|
You can download the Sources from me. What can I do to compile it correctly? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fharni n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/606928960430355609958d.gif)
Joined: 12 Oct 2002 Posts: 28
|
Posted: Thu Aug 04, 2005 11:29 am Post subject: |
|
|
I got the same error with this new compiled kernel. I think, that something is wrong with the Makefile. Could it be? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Thu Aug 04, 2005 1:13 pm Post subject: |
|
|
works fine here. _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fharni n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/606928960430355609958d.gif)
Joined: 12 Oct 2002 Posts: 28
|
Posted: Thu Aug 04, 2005 2:28 pm Post subject: |
|
|
Now I had solved this problem, the path was to long so I copied the directory to /usr/src und it compiles without errors, but one warning:
Code: | Warning: could not find /usr/src/partial/.ftlib.obj.cmd for /usr/src/partial/ftlib.obj
|
But now if I try to modprobe and there is an exception.
Here is a part of my syslog:
Code: | Aug 4 16:08:48 idon Promise FastTrak S150SX4/SX4000/SX4100/SX8100 Serieal Device Driver 2.6.0.32 (MAR 04, 2005)
Aug 4 16:08:48 idon Required extension size: max: 1796096 Min: 1265956
Aug 4 16:08:48 idon ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
Aug 4 16:08:48 idon PCI: setting IRQ 11 as level-triggered
Aug 4 16:08:48 idon ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
Aug 4 16:08:48 idon fasttrak 0000:02:04.0: Found FastTrak Controller with IRQ: 11
Aug 4 16:08:48 idon Unable to handle kernel NULL pointer dereference at virtual address 00000000
Aug 4 16:08:48 idon printing eip:
Aug 4 16:08:48 idon e0ae3a00
Aug 4 16:08:48 idon *pde = 00000000
Aug 4 16:08:48 idon Oops: 0002 [#1]
Aug 4 16:08:48 idon PREEMPT
Aug 4 16:08:48 idon Modules linked in: FastTrak w83627hf eeprom i2c_sensor i2c_isa snd_seq_midi snd_opl3_synth snd_seq_instr snd_seq_midi_emul snd_ainstr_fm snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_es1938 snd_pcm snd_page_alloc snd_opl3_lib snd_timer snd_hwdep snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore tuner tvaudio msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc tveeprom i2c_core videodev
Aug 4 16:08:48 idon CPU: 0
Aug 4 16:08:48 idon EIP: 0060:[<e0ae3a00>] Not tainted VLI
Aug 4 16:08:48 idon EFLAGS: 00010286 (2.6.12.3)
Aug 4 16:08:48 idon EIP is at EXP_ENG_ComponentGetDMASafeMemoryRequirement+0x0/0x10 [FastTrak]
Aug 4 16:08:48 idon eax: 105a6622 ebx: 00000000 ecx: 00000000 edx: e0ae3a00
Aug 4 16:08:48 idon esi: 00000000 edi: 00000003 ebp: 105a6622 esp: d7ffbe3c
Aug 4 16:08:48 idon ds: 007b es: 007b ss: 0068
Aug 4 16:08:48 idon Process modprobe (pid: 11008, threadinfo=d7ffa000 task=db1e45f0)
Aug 4 16:08:48 idon Stack: e0ad6ae5 105a6622 105a6622 d7ffbe50 105a6622 00000000 00000000 00000001
Aug 4 16:08:48 idon 00000020 00000001 e0b1000c e0ad5f72 e0b1000c 00000064 dff0e49c 0000000b
Aug 4 16:08:48 idon d7ffbe7c d7ffbe7c c0128f00 dff0e444 dff0e49c 001b6800 da049400 00000000
Aug 4 16:08:48 idon Call Trace:
Aug 4 16:08:48 idon [<e0ad6ae5>] linux_GetUncachedMemoryRequirement+0x85/0xa0 [FastTrak]
Aug 4 16:08:48 idon [<e0ad5f72>] fasttrak_probe+0x272/0x600 [FastTrak]
Aug 4 16:08:48 idon [<c0128f00>] __call_usermodehelper+0x0/0x70
Aug 4 16:08:48 idon [<c027f478>] sprintf+0x28/0x30
Aug 4 16:08:48 idon [<c02857b2>] pci_device_probe_static+0x52/0x70
Aug 4 16:08:48 idon [<c028580c>] __pci_device_probe+0x3c/0x50
Aug 4 16:08:48 idon [<c028584c>] pci_device_probe+0x2c/0x50
Aug 4 16:08:48 idon [<c02fc29f>] driver_probe_device+0x2f/0x80
Aug 4 16:08:48 idon [<c02fc3ec>] driver_attach+0x5c/0xa0
Aug 4 16:08:48 idon [<c02fc95d>] bus_add_driver+0x9d/0xd0
Aug 4 16:08:48 idon [<c0285afe>] pci_register_driver+0x6e/0x90
Aug 4 16:08:48 idon [<e0a1205e>] fasttrak_init+0x5e/0x7f [FastTrak]
Aug 4 16:08:48 idon [<c0134d18>] sys_init_module+0x148/0x1f0
Aug 4 16:08:48 idon [<c0103185>] syscall_call+0x7/0xb
Aug 4 16:08:48 idon Code: 18 5b 5e c3 90 90 90 90 90 90 90 66 c7 05 84 ed b0 e0 80 00 c3 8d b6 00 00 00 00 c7 00 44 3a 00 00 c7 40 04 20 42 08 00 c3 89 f6 <
c7> 01 08 12 00 00 c7 41 04 80 3f 01 00 c3 89 f6 c7 41 04 80 0f
|
What is now wrong with my Kernelconfiguration?[/url] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|