×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    1

    Redhat 9.0 and D211 problems

    Hi,

    I have compiled and installed the 1.06 driver according to the instructions under a vanilla Redhat 9.0.

    The kernel module loads but I cannot use the GSM card because I get the following error :

    [root@dhcp14 tmp]# nokia_ctl enable_gsm
    Please give the PIN code
    PIN:
    Timeout in IPC message sending
    msgrcv: Interrupted system call

    At the same time this error appears in the system log :

    Nov 19 11:24:47 dhcp14 kernel: D211_Error: Reset retry limit reached. Hard reset.

    nokia_cs is running, have allready checked this.

    [root@dhcp14 tmp]# ps ax | grep nokia
    2327 ? S 0:15 /sbin/nokia_cs
    2498 pts/0 S 0:00 grep nokia

    Interestingly there are some unresolved symbols in the nokia_cs.o module but the module loads anyway. Is this normal ? Here is a list of the unres. symbols :

    [root@dhcp14 tmp]# depmod -a -e
    depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/pcmcia/nokia_cs.o
    depmod: eth_type_trans
    depmod: schedule_timeout
    depmod: __wake_up
    depmod: __kfree_skb
    depmod: alloc_skb
    depmod: tty_unregister_driver
    depmod: __generic_copy_from_user
    depmod: tty_std_termios
    depmod: schedule
    depmod: __udelay
    depmod: vsprintf
    depmod: ether_setup
    depmod: kmalloc
    depmod: unregister_chrdev
    depmod: tty_register_driver
    depmod: register_chrdev
    depmod: __tasklet_schedule
    depmod: create_proc_entry
    depmod: register_pccard_driver
    depmod: unregister_pccard_driver
    depmod: cpu_raise_softirq
    depmod: tasklet_kill
    depmod: remove_wait_queue
    depmod: unregister_netdev
    depmod: sys_close
    depmod: __out_of_line_bug
    depmod: interruptible_sleep_on_timeout
    depmod: strstr
    depmod: del_timer
    depmod: register_netdev
    depmod: mod_timer
    depmod: interruptible_sleep_on
    depmod: kfree
    depmod: remove_proc_entry
    depmod: kill_fasync
    depmod: netif_rx
    depmod: tty_flip_buffer_push
    depmod: tty_hangup
    depmod: skb_over_panic
    depmod: fasync_helper
    depmod: add_wait_queue
    depmod: proc_net
    depmod: sprintf
    depmod: jiffies
    depmod: tasklet_init
    depmod: softnet_data
    depmod: tty_wait_until_sent
    depmod: printk
    depmod: add_timer
    depmod: irq_stat
    depmod: __const_udelay
    depmod: do_softirq
    depmod: CardServices
    depmod: __generic_copy_to_user

    For reference, this is the syslog output when starting up the pcmcia services :

    Nov 19 11:17:06 dhcp14 rc: Starting pcmcia: succeeded
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: watching 1 sockets
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: Card Services release does not match
    Nov 19 11:17:06 dhcp14 kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xc00-0xc1f
    Nov 19 11:17:06 dhcp14 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x290-0x297 0x300-0x307 0x378-0x37f 0x480-0x48f 0x4d0-0x4d7
    Nov 19 11:17:06 dhcp14 kernel: cs: IO port probe 0x0a00-0x0aff: clean.
    Nov 19 11:17:06 dhcp14 kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: socket 0: Nokia D211
    Nov 19 11:17:06 dhcp14 netfs: Mounting other filesystems: succeeded
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: executing: 'modprobe nokia_cs'
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: + Warning: loading /lib/modules/2.4.20-8/kernel/drivers/pcmcia/nokia_cs.o will taint the kernel: non-GPL license - Proprietary
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: + See http://www.tux.org/lkml/#export-tainted for information about tainted modules
    Nov 19 11:17:06 dhcp14 kernel: D211: ----------------------------------------------------------------
    Nov 19 11:17:06 dhcp14 kernel: D211: - Nokia D211 multimode radio card driver
    Nov 19 11:17:06 dhcp14 kernel: D211: - Version 1.06 (Wed Apr 16 12:26:36 EEST 2003).
    Nov 19 11:17:06 dhcp14 kernel: D211: ----------------------------------------------------------------
    Nov 19 11:17:06 dhcp14 cardmgr[2210]: + Module nokia_cs loaded, with warnings
    Nov 19 11:17:06 dhcp14 kernel: D211: Card Inserted. Initializing...
    Nov 19 11:17:06 dhcp14 /etc/hotplug/net.agent: invoke ifup eth1

    Here is the output of the debug script :

    [root@dhcp14 scripts]# ./debug_d211.sh
    Printing debug information to file /var/log/d211debug
    This file contains D211 debug information printed by ./debug_d211.sh script

    lsmod | grep nokia_cs:
    nokia_cs 90256 1
    ds 8680 1 [nokia_cs]
    pcmcia_core 57216 0 [nokia_cs ds yenta_socket]

    ls -lsa /dev/nokia_cs:
    0 crw-r--r-- 1 root root 253, 0 Nov 19 11:17 /dev/nokia_cs

    ls -lsa /dev/ttyNC*:
    0 crw-r--r-- 1 root root 204, 42 Nov 19 11:17 /dev/ttyNC0

    ps aux | grep nokia_cs:
    root 2327 1.1 0.4 27216 1232 ? S 11:17 0:15 /sbin/nokia_cs
    root 2561 0.0 0.2 3572 628 pts/0 S 11:40 0:00 grep nokia_cs

    cat /proc/net/nokia_cs:
    WLAN NetDev =eth1
    WLAN MAC =00:e0:03:08:75:5b
    WLAN ChrDev =nokia_cs
    WLAN ChMajor=253
    WLAN ChMinor=0
    GSM TTYDev =ttyNC0
    GSM ChMajor =204
    GSM ChMinor =42
    GSM status =off
    WLAN status =initialized
    WLAN state =initialized
    WLAN BSSID =00:00:00:00:00:00
    WLAN SSID =Not Joined
    WLAN channel=0
    WLAN radioSS=8192
    WLAN mode =AdHoc
    WLAN known BSSs:
    -ID---CAP--MAC-----------------CH---MX----RSSI----SSID--------------------------

    ipcs -q:

    ------ Message Queues --------
    key msqid owner perms used-bytes messages
    0x407f98ea 0 root 666 0 0
    0x427f98ea 32769 root 666 0 0
    0x417f98ea 65538 root 666 0 0


    cat /proc/ioports | grep nokia_cs:
    0100-010f : nokia_cs

    cat /proc/iomem | grep nokia_cs:

    cat /proc/interrupts | grep nokia_cs:
    10: 0 XT-PIC Ricoh Co Ltd RL5c475, nokia_cs

    cat /proc/bus/pccard/drivers | grep nokia_cs:
    nokia_cs 0 1

    cat /proc/devices | grep nokia_cs:
    253 nokia_cs

    cat /proc/devices | grep ttyNC:
    204 ttyNC

  2. #2
    Registered User
    Join Date
    Nov 2003
    Posts
    1
    Hi,

    I can replicate this if I boot with the card in the machine, however restarting PCMCIA seems to sort it, and I can then use the gsm side of the card:

    ( /etc/init.d/pcmcia restart )

    However, I cannot get the WLAN side of the card working, although unsure whether this is related to my Apple Airport as a base station, although it works fine in Windows...

    I receieve:

    D211_Error: Unknown Information Element in bssinfo: 128
    D211: Scan result from ssid: : channel=1

    every 5 seconds or so...

    anyone know what this means?!

    Cheers

    Adam Booth

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    9
    I have used D211 with RH 9 and Airport. No problems there.

    If I boot with d211 in PC-card slot there is a problem with getting network set up correctly. (Check /sbin/route and /sbin/ifconfig) If I insert the card when primary init is over (eg laptop is waiting for login) everything works nicely.

    Jarmo

  4. #4
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    hello,

    on redhat 9 i solved this with the following
    patch. now the WLAN works if the card
    is inserted during bootig.

    regards, hb


    *** /root/d211/nokia_d211-linux-1.06/scripts/nokia_cs 2002-10-01 09:54:35.000000000 +0200
    --- nokia_cs 2004-02-11 08:54:35.000000000 +0100
    ***************
    *** 56,62 ****

    echo Starting up WLAN

    ! sleep 1

    # MAC
    HWADDR=`cat $PROC_FILE | grep Mac | sed -n -e 's/Mac =//p'`
    --- 56,62 ----

    echo Starting up WLAN

    ! sleep 10

    # MAC
    HWADDR=`cat $PROC_FILE | grep Mac | sed -n -e 's/Mac =//p'`
    ***************
    *** 74,79 ****
    --- 74,80 ----
    if is_true $NETWORK_START ; then

    echo Starting Network $1 $2
    + "$NOKIA_CTL" enable_wlan
    ./network $1 $2
    fi
    fi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×