I tried only using the zd_b.o module and I am still getting a seg
fault. I'm wondering if I downloaded a corrupted kernel image. I
will be downloading a new kernel image and writing this fresh image to
the SD card. Could I bother you about information on your SD card -
are you using a stock SD card from Technologic or did you download an
image off the FTP server? Thank you for you help.
Here are the steps I took:
:root# lsmod
Module Size Used by Not tainted
sd_mod 11100 0 (unused)
scsi_mod 53820 1 [sd_mod]
af_packet 9456 0 (unused)
usb-ohci-ep93xx 892 0 (unused)
usb-ohci 15580 0 [usb-ohci-ep93xx]
pcipool 2080 1 [usb-ohci-ep93xx usb-ohci]
usbcore 55944 1 [usb-ohci]
sdcard 11664 1
:root# cd /lib/modules/2.4.26-ts11/kernel/net/
:net# insmod zd_b.o
:net# dmesg
ZD1211B - http://zd1211.ath.cx/ - r83
Based on www.zydas.com.tw driver version 2.5.0.0
usb.c: registered new driver zd1211b
At this point I inserted the usb dongle.
:net# dmesg
ZD1211B - http://zd1211.ath.cx/ - r83
Based on www.zydas.com.tw driver version 2.5.0.0
usb.c: registered new driver zd1211b
hub.c: new USB device not_pci-3, assigned address 2
Release Ver = 4810
zd1211:bulk out: wMaxPacketSize = 40
zd1211:bulk in: wMaxPacketSize = 40
zd1211:interrupt in: wMaxPacketSize = 40
zd1211:interrupt in: int_interval = 1
zd1211:bulk out: wMaxPacketSize = 40
EEPORM Ver = 4810
zd1211:USB Download Boot code success
zd1211:MAC address = 00:02:72:6a:e0:c8
zd1211:AddrEntryTable = f7c6
zd1211:RF_Mode = 80000584
PA type: 0
Airoha AL2230S_RF
zd1211:Pure B-Mode
zd1211:AllowedChannel = 000007ff
zd1211:LinkLEDn = 200
AllowedChannel = 000107ff
Region:16
zd1205: (exit) zd1205_config, src/zd1205.c line 2601
zd1205: (exit) zd1205_init, src/zd1205.c line 8570
:net# ifconfig wlan0 up
Segmentation fault
:net# lsmod
Module Size Used by Not tainted
zd_b 278240 0 (unused)
sd_mod 11100 0 (unused)
scsi_mod 53820 1 [sd_mod]
af_packet 9456 0 (unused)
usb-ohci-ep93xx 892 0 (unused)
usb-ohci 15580 0 [usb-ohci-ep93xx]
pcipool 2080 1 [usb-ohci-ep93xx usb-ohci]
usbcore 55944 1 [zd_b usb-ohci]
sdcard 11664 1
:net# dmesg
ZD1211B - http://zd1211.ath.cx/ - r83
Based on www.zydas.com.tw driver version 2.5.0.0
usb.c: registered new driver zd1211b
hub.c: new USB device not_pci-3, assigned address 2
Release Ver = 4810
zd1211:bulk out: wMaxPacketSize = 40
zd1211:bulk in: wMaxPacketSize = 40
zd1211:interrupt in: wMaxPacketSize = 40
zd1211:interrupt in: int_interval = 1
zd1211:bulk out: wMaxPacketSize = 40
EEPORM Ver = 4810
zd1211:USB Download Boot code success
zd1211:MAC address = 00:02:72:6a:e0:c8
zd1211:AddrEntryTable = f7c6
zd1211:RF_Mode = 80000584
PA type: 0
Airoha AL2230S_RF
zd1211:Pure B-Mode
zd1211:AllowedChannel = 000007ff
zd1211:LinkLEDn = 200
AllowedChannel = 000107ff
Region:16
zd1205: (exit) zd1205_config, src/zd1205.c line 2601
zd1205: (exit) zd1205_init, src/zd1205.c line 8570
zd1205: (enter) zd1205_close, src/zd1205.c line 4896
Unable to handle kernel NULL pointer dereference at virtual address
00000004
pgd = c0678000
[00000004] *pgd=05102001, *pmd = 05102001, *pte = 00000000, *ppte =
00000000
Internal error: Oops: 7
CPU: 0
pc : [<d405fa7c>] lr : [<d405fc04>] Not tainted
sp : c57e3ec8 ip : 60000013 fp : 00000000
r10: 00000000 r9 : 00000000 r8 : c57e3f48
r7 : 00000000 r6 : 00000e94 r5 : c0658000 r4 : 00000000
r3 : 00000000 r2 : c0658e94 r1 : c0658ab8 r0 : c0658000
Flags: nzcv IRQs on FIQs on Mode SVC_32 Segment user
Control: C000317F Table: 00678000 DAC: 00000015
Process ifconfig (pid: 568, stack limit = 0xc57e2368)
Stack: (0xc57e3ec8 to 0xc57e4000)
3ec0: c0658000 c0658000 00000000 00000000 c57e3f48
d405fc04
3ee0: 00000000 d406199c 00001320 d21b7200 d21b722c c02ebb84 d21b7200
00001043
3f00: 00001002 c02ed19c 00000000 00000000 d21b7200 7ffffbc8 c0321740
00000014
3f20: 00000000 00008914 7fff1043 0000002c 00000000 0001db70 6e616c77
00000030
3f40: 00000000 00000000 7fff1043 0000002c 00000000 0001db70 00008914
7ffffbc8
3f60: d112ace0 00000004 ffffffe7 c57e2000 00000002 00000000 c02e4bf8
c026b7e0
3f80: 00000000 d107b83c 7ffffbc8 00000041 7ffffc90 00000036 c022c704
00000002
3fa0: 00000000 c022c560 7ffffbc8 c022c4fc 00000004 00008914 7ffffbc8
7fff1043
3fc0: 7ffffbc8 00000041 7ffffc90 0001e1cc 00000003 00009be8 00000002
00000000
3fe0: 0001dadc 7ffffbc8 000093c8 2ab78194 60000010 00000004 00000000
00000000
Backtrace: no frame pointer
Code: e3a07000 e3a06ee9 e2866004 e5954e94 (e5942004)
--- In "naturalwatt" <> wrote:
>
> I've done some digging around, and it looks like your zd.o and
zd_b.o are incompatible.
>
> Using your zd.o, the insmod succeeds buts ifconfig wlan0 does not -
no such device or
> address.
>
> Using insmod zd_b.o on its own is much more profitable and yields
loads of output in
> dmesg:
>
> ZD1211B - http://zd1211.ath.cx/ - r83
> Based on www.zydas.com.tw driver version 2.5.0.0
> usb.c: registered new driver zd1211b
> Release Ver = 4810
> zd1211:bulk out: wMaxPacketSize = 40
> zd1211:bulk in: wMaxPacketSize = 40
> zd1211:interrupt in: wMaxPacketSize = 40
> zd1211:interrupt in: int_interval = 1
> zd1211:bulk out: wMaxPacketSize = 40
> EEPORM Ver = 4810
> zd1211:USB Download Boot code success
> zd1211:MAC address = 00:02:72:69:bc:09
> zd1211:AddrEntryTable = f7c6
> zd1211:RF_Mode = 80000584
> PA type: 0
> Airoha AL2230S_RF
> zd1211:Pure B-Mode
> zd1211:AllowedChannel = 000007ff
> zd1211:LinkLEDn = 200
> AllowedChannel = 000107ff
> Region:16
> zd1205: (exit) zd1205_config, src/zd1205.c line 2601
> zd1205: (exit) zd1205_init, src/zd1205.c line 8570
> zd1205: (enter) zd1205_open, src/zd1205.c line 4353
> zd1205: (exit) zd1205_open, src/zd1205.c line 4436
>
> After this, ifconfig wlan0 up succeeds.
>
> In the Techologic FTP server, there are four, count 'em, version of
zd.o in the directory ts-
> modules:
> Name Size MD5sum
> zd-r51.o 263206 7e1340aa0d79db6ee6b247037ab46cad
> zd-r83-b.o 312644 ea5d1c980a6de67caac2a3fe4935fce5
> zd-r83.o 311436 067fe55699354f526e5f680a3139a109
> zd.o 299666 75cbd70e73d5704db17c8d269bae37df
>
> The one called zd-r83-b.o has the same md5sum as your zd_b.o.
>
> The zd-t51 contains strings like kernel-version: 2.4.26-ts9, so
should be avoided.
>
> Whoever, I am still stumped as for what to do after 'iwconfig
wlan0'. I can't find any
> instructions or howtos. Obviously I would like to have the inteface
configured at boot
> time.
>
> Do I need to do iwconfig wlan0 essid MYESSID?
> Do I need to do iwconfig wlan0 ap xx:xx:xx:xx:xx?
>
> I get results from iwscan:
>
> $ /usr/local/bin/iwlist wlan0 scan
> wlan0 Scan completed :
> Cell 01 - Address: 00:18:4D:3F:87:72
> ESSID:"Martin"
> Mode:Master
> Frequency:2.462 GHz (Channel 11)
> Extra:SignalStrength=100%,LinkQuality:100%
> Encryption key:on
> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
> 6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
> 36 Mb/s; 48 Mb/s; 54 Mb/s
> Extra:bcn_int=100
>
> $
>
> But still show Not Associated:
>
> $ /usr/local/bin/iwconfig wlan0
> wlan0 802.11b/g NIC ESSID:"Martin"
> Mode:Managed Frequency=2.437 GHz Access Point:
Not-Associated
> Bit Rate:1 Mb/s
> Retry:on RTS thr=2432 B Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality:97/100 Signal level:100/100 Noise level:7/100
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:21320 Invalid misc:855 Missed beacon:0
>
> even after doing iwconfig wlano ap xx:xx:xx:xx:xx
>
> Thank,
>
> Martin
>
>
> --- In "mattfishburn" <mattfishburn@> wrote:
> >
> > > ps - could you post the size and MD5sum of both zd.o and zd_b.o?
> >
> > :net# pwd
> > /lib/modules/2.4.26-ts11/kernel/net
> > :net# ls -al zd*
> > -rw-r--r-- 1 root root 299666 Oct 20 2006 zd.o
> > -rw-r--r-- 1 root root 312644 Jul 18 2007 zd_b.o
> > :net# md5sum zd*
> > 75cbd70e73d5704db17c8d269bae37df zd.o
> > ea5d1c980a6de67caac2a3fe4935fce5 zd_b.o
> >
>
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/
|