Linux Users

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted

nilsdev returns nothing on openSuse 11.2

Hi all

I want to drive a PCI 6514 board on a openSuse 11.2 PC.

My PCI board is plugged in the PC, and is perfectly working in Windows XP (my PC has a double boot).

I have installed NIKAL 2.0, NI VISA 5.0 and NIDAQmx 8.0.1 : no errors are reported. I've run the updateNIDrivers too.

When I enter the command nilsdev, nothing is returned:

advantec616:/usr/local/bin # ./nilsdev
advantec616:/usr/local/bin #

When I try to export the nidaq configuration, an error is returned :

advantec616:/usr/local/bin # ./nidaqmxconfig --export /home/tcms/Documents/config.txt
Error -2147220712

Here are the modules loaded :

advantec616:/usr/local/bin # lsmod |grep ni
nimru2k               439924  1
nimxdfk               515648  2 nimru2k
nidimk                335520  advantec616:/usr/local/bin # lsmod |grep ni
nimru2k               439924  1
nimxdfk               515648  2 nimru2k
nidimk                335520  2 nimru2k
nimxpk                 38616  0
nimdbgk               395196  3 nimru2k,nimxdfk
niorbk                108788  4 nimru2k,nimxdfk,nidimk,nimdbgk
nipalk               1295316  9 nimru2k,nimxdfk,nidimk,nimxpk,nimdbgk,niorbk
nikal                  78712  1 nipalk2 nimru2k
nimxpk                 38616  0
nimdbgk               395196  3 nimru2k,nimxdfk
niorbk                108788  4 nimru2k,nimxdfk,nidimk,nimdbgk
nipalk               1295316  9 nimru2k,nimxdfk,nidimk,nimxpk,nimdbgk,niorbk
nikal                  78712  1 nipalk

I've checked the system log (/var/log/messages) here what's concerning the NI-KAL start :

Jul  7 15:38:22 testbenchcb kernel: [   19.305569] nikal: module license 'Copyright (c) 2002-2010 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

Jul  7 15:38:22 testbenchcb kernel: [   19.305584] Disabling lock debugging due to kernel taint

Jul  7 15:38:22 testbenchcb auditd[2886]: Init complete, auditd 1.7.13 listening for events (startup state disable)

Jul  7 15:38:22 testbenchcb kernel: [   19.547253] BUG: unable to handle kernel paging request at f6ffe000

Jul  7 15:38:22 testbenchcb kernel: [   19.547265] IP: [<f8df6bec>] nipalk-unversioned0002875+0x294/0x4a8 [nipalk]

Jul  7 15:38:22 testbenchcb kernel: [   19.547339] *pdpt = 00000000009f7001 *pde = 0000000000010067 *pte = 0000000000000000

Jul  7 15:38:22 testbenchcb kernel: [   19.547346] Oops: 0000 [#1] PREEMPT SMP

Jul  7 15:38:22 testbenchcb kernel: [   19.547351] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/class

Jul  7 15:38:22 testbenchcb kernel: [   19.547356] Modules linked in: nipalk(P) nikal(P) af_packet i915 drm i2c_algo_bit video ip6t_REJECT nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6table_filter ip6_tables x_tables fuse loop dm_mod e1000 joydev sg sr_mod cdrom serio_raw pcspkr shpchp pci_hotplug button iTCO_wdt iTCO_vendor_support i2c_i801 e1000e heci(C) intel_agp preloadtrace ext4 jbd2 crc16 fan processor ide_pci_generic ide_core ata_generic thermal thermal_sys [last unloaded: speedstep_lib]

Jul  7 15:38:22 testbenchcb kernel: [   19.547416]

Jul  7 15:38:22 testbenchcb kernel: [   19.547420] Pid: 3055, comm: cat Tainted: P         C (2.6.31.12-0.2-desktop #1) To Be Filled By O.E.M.

Jul  7 15:38:22 testbenchcb kernel: [   19.547425] EIP: 0060:[<f8df6bec>] EFLAGS: 00010216 CPU: 1

Jul  7 15:38:22 testbenchcb kernel: [   19.547475] EIP is at nipalk-unversioned0002875+0x294/0x4a8 [nipalk]

Jul  7 15:38:22 testbenchcb kernel: [   19.547479] EAX: f15c93e8 EBX: f8ebe3c0 ECX: 0168b740 EDX: f15d0300

Jul  7 15:38:22 testbenchcb kernel: [   19.547483] ESI: f8ebe3c0 EDI: f15b2738 EBP: f48c7ed0 ESP: f48c7e50

Jul  7 15:38:22 testbenchcb kernel: [   19.547487]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068

Jul  7 15:38:22 testbenchcb kernel: [   19.547491] Process cat (pid: 3055, ti=f48c6000 task=f3eeae40 task.ti=f48c6000)

Jul  7 15:38:22 testbenchcb kernel: [   19.547495] Stack:

Jul  7 15:38:22 testbenchcb kernel: [   19.547497]  f15d0300 00000004 f8ebe3c0 00000000 00000000 f15c93e8 00000000 00000000

Jul  7 15:38:22 testbenchcb kernel: [   19.547505] <0> 00000000 f15b2738 f8e1ad2c f48c7ea8 00000000 f8ebe3c0 0168b740 00000000

Jul  7 15:38:22 testbenchcb kernel: [   19.547513] <0> f48c7ed4 f8ebe3c0 00000001 f8dee581 f48c7ea8 f8ebe3c0 00cbded9 f48c7ecc

Jul  7 15:38:22 testbenchcb kernel: [   19.547522] Call Trace:

Jul  7 15:38:22 testbenchcb kernel: [   19.547584]  [<f8dd6e6c>] nipalk-unversioned0002396+0x1b8/0x1ec [nipalk]

Jul  7 15:38:22 testbenchcb kernel: [   19.547597]  [<f7e6b31a>] nNIKAL100_release+0x2a/0x60 [nikal]

Jul  7 15:38:22 testbenchcb kernel: [   19.547609]  [<c031744c>] __fput+0xdc/0x1f0

Jul  7 15:38:22 testbenchcb kernel: [   19.547615]  [<c0317582>] fput+0x22/0x40

Jul  7 15:38:22 testbenchcb kernel: [   19.547621]  [<c0313222>] filp_close+0x52/0x90

Jul  7 15:38:22 testbenchcb kernel: [   19.547631]  [<c03132d7>] sys_close+0x77/0xd0

Jul  7 15:38:22 testbenchcb kernel: [   19.547638]  [<c0204073>] sysenter_do_call+0x12/0x28

Jul  7 15:38:22 testbenchcb kernel: [   19.547651]  [<ffffe424>] 0xffffe424

Jul  7 15:38:22 testbenchcb kernel: [   19.547655] Code: a4 00 00 00 00 8b 5d 88 89 5d b4 c7 45 b8 00 00 00 00 8b 43 08 85 c0 89 5d c4 89 45 c8 74 27 8b 75 b4 8b 4d b8 8b 56 0c 8b 45 94 <39> 04 8a 74 2e 8d 51 01 8b 5d 88 89 55 b8 8b 43 08 39 c2 89 5d

Jul  7 15:38:22 testbenchcb kernel: [   19.547697] EIP: [<f8df6bec>] nipalk-unversioned0002875+0x294/0x4a8 [nipalk] SS:ESP 0068:f48c7e50

Jul  7 15:38:22 testbenchcb kernel: [   19.547752] CR2: 00000000f6ffe000

Jul  7 15:38:22 testbenchcb kernel: [   19.547757] ---[ end trace 26fb4dca576324a6 ]---

My kernel is the one installed by default, I don't understand what's happening there, could somebody help ?

Thanks in advance

Phil

0 Kudos
Message 1 of 2
(1,842 Views)
1 REPLY 1

Re: nilsdev returns nothing on openSuse 11.2

Their kernel drivers are broken. As usual for binary-only kernel modules (Linux was never made for that).

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 2 of 2
(306 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.