ts-7000
[Top] [All Lists]

[ts-7000] Unable to Use the WiFi after resolving 10ms timing issue.

To:
Subject: [ts-7000] Unable to Use the WiFi after resolving 10ms timing issue.
From: "mohit.khanna" <>
Date: Thu, 16 Jul 2009 21:04:52 -0000
Hello,

We have a TS7250 board with Linux 2.4.26-ts11 kernel. We had got the WiFi 
interface working with the ZD1211B driver and the following modules

insmod usbcore
insmod pcipool
insmod usb-ohci
insmod usb-ohci-ep93xx
insmod scsi_mod
insmod sd_mod
insmod usb-storage;
#Driver for wifi
insmod /root/FREEDM/drivers/zd_b.o
sleep 2
#associating with AP
iwconfig wlan0 essid xxxx
sleep 2 
#necessary for dhcp
insmod af_packet
sleep 2 
udhcpc -i wlan0

We resolved the 10ms timing issue to microsecond resolution using the
2.4-ts11-hrt.patch, linux-2.4-ts11-lck1.patch, linux-2.4-ts11-vhz.patch   
patches and changing the CONFIG_HZ=100 to CONFIG_HZ=10000 in the config files 
and compiling the kernel again.

Things seem to work fine till we tried the WiFi again.

Apparently the usb_ohci_ep93xx.o results in a null pointer exception when run 
for the first time after bootup and no wlan0 interface shows up on running 
iwconfig.

Using /lib/modules/2.4.26-ts11/kernel/drivers/usb/host/usb-ohci-ep93xx.o
usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = d0098000
[00000008] *pgd=010b3801, *pmd = 010b3801, *pte = 00000000, *ppte = 00000000
Internal error: Oops: 7
CPU: 0
pc : [<d403a044>]    lr : [<d403a228>]    Tainted: P 
sp : d20bbe80  ip : a0000013  fp : 00000000
r10: c03701bc  r9 : 00000000  r8 : d20bbee8
r7 : 00000000  r6 : c102e600  r5 : 00000000  r4 : d4044588
r3 : 00000000  r2 : 00000000  r1 : c102e600  r0 : d4044588
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C000317F  Table: E0098000  DAC: 00000015
Process busybox (pid: 100, stack limit = 0xd20ba380)
Stack: (0xd20bbe80 to 0xd20bc000)
be80: 00000000 c102e624 00000000 c102e600 c102e600 00000000 d4044588 00000000 
bea0: d20bbee8 d20ba000 00189c58 d104cb40 d403a228 00000000 c102e600 00000008 
bec0: d403c0b8 00000008 c102e600 d3041800 00000038 d404cf94 d3041800 00000000 
bee0: d404d47c d3041800 c0003635 c034209c d404f340 d404f000 c51ea000 00000060 
bf00: ffffffea d404f160 d404f1cc d404f1d8 c023c9d4 0000000f c51ea000 c11df000 
bf20: d4051000 00000060 d404a000 d404f060 00000378 00000000 00000000 00000000 
bf40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
bf60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
bf80: 00000000 00000020 00000378 00189c58 00000080 c022d6e4 d20ba000 00000378 
bfa0: 00000000 c022d540 00000378 00189c58 00900080 0017f3f8 00189c58 00000000 
bfc0: 00000020 00000378 00189c58 d404f000 0017f3f8 0008b0a0 00000378 7ffffe1c 
bfe0: 7fffda14 7fffda08 0006aecc 2ac3f130 60000010 00900080 00000000 00000000 
Backtrace: no frame pointer
Code: 1a000062 e3cd3d7f e3c3303f e5933320 (e5933008) 
Segmentation fault
hub.c: new USB device not_pci-3, assigned address 2
usb.c: USB device 2 (vend/prod 0xace/0x1215) is not claimed by any active 
driver.
Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = c0214000
[00000008] *pgd=00000000, *pmd = 00000000
Internal error: Oops: 7
CPU: 0
pc : [<d403a044>]    lr : [<d403a228>]    Tainted: P 
sp : c50b9f40  ip : c50b9f5c  fp : 00000000
r10: c03701bc  r9 : 00000000  r8 : 0000000a
r7 : 00000000  r6 : c102e800  r5 : 00000000  r4 : d4044588
r3 : 00000000  r2 : 00000000  r1 : c102e800  r0 : d4044588
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C000317F  Table: E0098000  DAC: 00000015
Process busybox (pid: 97, stack limit = 0xc50b8380)
Stack: (0xc50b9f40 to 0xc50ba000)
9f40: c036f3c4 00000055 0000000a c03b7960 c102e800 00000000 d4044588 d4046228 
9f60: 0000000a 00000008 00000000 c03b7960 d403a228 00000000 c102e800 00000008 
9f80: d403c0b8 00000008 c102e800 c102e600 00000002 d403d9f4 c0254740 00000003 
9fa0: c102e600 c03b7960 00000002 ffffffea d20ba000 001a9d30 00000000 d403dbdc 
9fc0: 01010001 c50b8000 d4046238 c50b9fd8 00000060 d403ddac 00000000 c50b8000 
9fe0: 00000000 00000000 00000000 d20ba000 c073f000 c022ec68 00000000 00000000 
Backtrace: no frame pointer
Code: 1a000062 e3cd3d7f e3c3303f e5933320 (e5933008) 



Could someone give me some pointers to act upon...?

Thanks
Mohit Khanna



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU