segment error in insmod-ipw2200

王 玮 <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
hi:
  everybody, i have some error when i insert the module of ipw2200.ko, the 
error information is in the accessories.
  And i use ipw2200-1.1.2, ieee80211-1.1.13, ipw2200-fw-3.0, 
hotplug-2004-09-23,
  i use uClinux(snapgear) , with kernel 2.6.12 ,and i have fix the 
big-endian problem with a patch.

Thanks in advance.
-wei

_________________________________________________________________
芒路 MSN Explorer:   http://explorer.msn.com/lccn/

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642

_______________________________________________
ipw2100-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
insmod_error.txt (text/plain, 5.8 KB)
# insmod ipw2200.ko
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2dmprq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
PCI: enabling device 0000:00:02.0 (0140 -> 0142)
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
Bad mode in data abort handler detected: mode IRQ_32
Internal error: Oops - bad mode: 0 [#1]
Modules linked in: ipw2200 ieee80211 ieee80211_crypt_wep 
ieee80211_crypt_tkip ieee80211_crypt_ccmp ieee80211_crypt ixp400_et0CPU: 0
PC is at 0xffff0204
LR is at ipw_init_nic+0x210/0x560 [ipw2200]
pc : [<ffff0204>]    lr : [<bf0c8c48>]    Tainted: P
sp : cfadfcd8  ip : cfadfd54  fp : cfadfd50
r10: 000000fa  r9 : bf0e3b1c  r8 : c432ca64
r7 : 00000001  r6 : 00000024  r5 : 00000000  r4 : 00000024
r3 : d0852000  r2 : 00000001  r1 : 00000024  r0 : c432ca64
Flags: nZcv  IRQs off  FIQs on  Mode IRQ_32  Segment user
Control: 39FF  Table: 04318000  DAC: 00000015
Process insmod (pid: 761, stack limit = 0xcfade194)
Stack: (0xcfadfcd8 to 0xcfae0000)
fcc0:                                                       c432ca64 
00000024
fce0: 00000001 d0852000 00000024 00000000 00000024 00000001 c432ca64 
bf0e3b1c
fd00: 000000fa cfadfd50 cfadfd54 cfadfcd8 bf0c8c48 ffff0204 40000092 
ffffffff
fd20: c013be64 ce801f70 00000024 c432ca64 d0852000 c432ca64 00000024 
00000004
fd40: 00000003 cfadfd88 cfadfd54 bf0c8c48 bf0c7658 cfadfd60 c432ca64 
00000000
fd60: c432ca64 c432ca64 00000000 d088c000 d0891916 d088c010 00000003 
cfadfdb8
fd80: cfadfd8c bf0c8ff0 bf0c8a44 d088c000 c432ca64 00000000 c432ca64 
00000000
fda0: 00000000 d088c000 d0891916 cfadfdf8 cfadfdbc bf0c9780 bf0c8fa4 
cfadfdfc
fdc0: cfadfdcc c0037f24 d088d950 ced90be8 c432ca80 c432ca64 00000000 
c42ef8a0
fde0: d0852000 cfade000 00000000 cfadfe18 cfadfdfc bf0dd7e4 bf0c9584 
c0037e64
fe00: c432ca80 c432ca64 c432c000 cfadfe34 cfadfe1c bf0dde98 bf0dd6f8 
00000000
fe20: c432c000 c432c000 cfadfe5c cfadfe38 c01cd81c bf0dde50 c00dd9b0 
00000000
fe40: c432c000 00000000 c432c000 c432c000 cfadfe74 cfadfe60 c01cdc20 
c01cd704
fe60: 00000000 c432ca64 cfadfea0 cfadfe78 bf0de70c c01cdbbc c432ca64 
00008080
fe80: bf0f0584 c42ef8a0 ffffffed 00000000 bf000000 cfadfebc cfadfea4 
c0150cd8
fea0: bf0de274 c42ef8a0 bf0f0584 bf0f05b0 cfadfed4 cfadfec0 c0150d24 
c0150c98
fec0: bf0f0584 c42ef8a0 cfadfeec cfadfed8 c0150d74 c0150cfc bf0f05b0 
c42ef8e4
fee0: cfadff04 cfadfef0 c017a42c c0150d54 c42ef8ec c02846e8 cfadff20 
cfadff08
ff00: c017a54c c017a3d8 c028474c bf0f05b0 c02846e8 cfadff40 cfadff24 
c017aa6c
ff20: c017a508 bf0f0584 bf0f0740 0009b682 00047008 cfadff50 cfadff44 
c017af88
ff40: c017a9d8 cfadff68 cfadff54 c0151030 c017af3c c027e3d4 bf0f0740 
cfadff7c
ff60: cfadff6c bf0f2024 c0150fac c027e3d4 cfadffa4 cfadff80 c006665c 
bf0f200c
ff80: 00000003 00000000 00000000 00000080 c001fe04 00000002 00000000 
cfadffa8
ffa0: c001fc80 c0066438 00000000 00000000 00900080 401ab000 0009b682 
00047008
ffc0: 00000003 00000000 00000000 be93ce14 be93cee7 0000b818 00000002 
0003f7b4
ffe0: be93cd54 be93cd48 00022af4 40154f30 60000010 00900080 bdebfaaf 
ef7b9fff
Backtrace:
[<bf0c764c>] (ipw_poll_bit+0x0/0xe8 [ipw2200]) from [<bf0c8c48>] 
(ipw_init_nic+0x210/0x560 [ipw2200])
[<bf0c8a38>] (ipw_init_nic+0x0/0x560 [ipw2200]) from [<bf0c8ff0>] 
(ipw_reset_nic+0x58/0x21c [ipw2200])
[<bf0c8f98>] (ipw_reset_nic+0x0/0x21c [ipw2200]) from [<bf0c9780>] 
(ipw_load+0x208/0x8ac [ipw2200])
r8 = D0891916  r7 = D088C000  r6 = 00000000  r5 = 00000000
r4 = C432CA64
[<bf0c9578>] (ipw_load+0x0/0x8ac [ipw2200]) from [<bf0dd7e4>] 
(ipw_up+0xf8/0x330 [ipw2200])
[<bf0dd6ec>] (ipw_up+0x0/0x330 [ipw2200]) from [<bf0dde98>] 
(ipw_net_init+0x54/0xc0 [ipw2200])
r6 = C432C000  r5 = C432CA64  r4 = C432CA80
[<bf0dde44>] (ipw_net_init+0x0/0xc0 [ipw2200]) from [<c01cd81c>] 
(register_netdevice+0x124/0x4b8)
r6 = C432C000  r5 = C432C000  r4 = 00000000
[<c01cd6f8>] (register_netdevice+0x0/0x4b8) from [<c01cdc20>] 
(register_netdev+0x70/0x84)
r6 = C432C000  r5 = C432C000  r4 = 00000000
[<c01cdbb0>] (register_netdev+0x0/0x84) from [<bf0de70c>] 
(ipw_pci_probe+0x4a4/0x61c [ipw2200])
r5 = C432CA64  r4 = 00000000
[<bf0de268>] (ipw_pci_probe+0x0/0x61c [ipw2200]) from [<c0150cd8>] 
(pci_device_probe_static+0x4c/0x64)
r8 = BF000000  r7 = 00000000  r6 = FFFFFFED  r5 = C42EF8A0
r4 = BF0F0584
[<c0150c8c>] (pci_device_probe_static+0x0/0x64) from [<c0150d24>] 
(__pci_device_probe+0x34/0x58)
r6 = BF0F05B0  r5 = BF0F0584  r4 = C42EF8A0
[<c0150cf0>] (__pci_device_probe+0x0/0x58) from [<c0150d74>] 
(pci_device_probe+0x2c/0x44)
r5 = C42EF8A0  r4 = BF0F0584
[<c0150d48>] (pci_device_probe+0x0/0x44) from [<c017a42c>] 
(driver_probe_device+0x60/0x84)
r5 = C42EF8E4  r4 = BF0F05B0
[<c017a3cc>] (driver_probe_device+0x0/0x84) from [<c017a54c>] 
(driver_attach+0x50/0x90)
r5 = C02846E8  r4 = C42EF8EC
[<c017a4fc>] (driver_attach+0x0/0x90) from [<c017aa6c>] 
(bus_add_driver+0xa0/0xd4)
r6 = C02846E8  r5 = BF0F05B0  r4 = C028474C
[<c017a9cc>] (bus_add_driver+0x0/0xd4) from [<c017af88>] 
(driver_register+0x58/0x64)
r7 = 00047008  r6 = 0009B682  r5 = BF0F0740  r4 = BF0F0584
[<c017af30>] (driver_register+0x0/0x64) from [<c0151030>] 
(pci_register_driver+0x90/0xc4)
[<c0150fa0>] (pci_register_driver+0x0/0xc4) from [<bf0f2024>] 
(ipw_init+0x24/0x8c [ipw2200])
r5 = BF0F0740  r4 = C027E3D4
[<bf0f2000>] (ipw_init+0x0/0x8c [ipw2200]) from [<c006665c>] 
(sys_init_module+0x230/0x3d0)
r4 = C027E3D4
[<c006642c>] (sys_init_module+0x0/0x3d0) from [<c001fc80>] 
(ret_fast_syscall+0x0/0x2c)
Code: 00000000 00000000 00000000 e59fd21c (e24ee004)
Segmentation fault
# lsmod
Module                  Size  Used by
ipw2200 203084 1 - Loading 0xbf0bf000
ieee80211 44435 1 ipw2200, Live 0xbf0b3000
ieee80211_crypt_wep 4064 0 - Live 0xbf0b1000
ieee80211_crypt_tkip 10304 0 - Live 0xbf0ad000
ieee80211_crypt_ccmp 6720 0 - Live 0xbf0aa000
ieee80211_crypt 6912 5 
ipw2200,ieee80211,ieee80211_crypt_wep,ieee80211_crypt_tkip,ieee80211_crypt_ccmp, 
Live 0xbf0a7000
ixp400_eth 25640 0 - Live 0xbf09f000
ixp400 643384 1 ixp400_eth, Live 0xbf000000
dmesg_error.txt (text/plain, 7.5 KB)
# dmesg
kobject_hotplug: /sbin/hotplug module seq=663 HOME=/ 
PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add 
DEVPATH=/module/ieee80211eieee80211_crypt: registered algorithm 'WEP'
kobject ieee80211: registering. parent: <NULL>, set: module
kobject_hotplug
fill_kobj_path: path = '/module/ieee80211'
kobject_hotplug: /sbin/hotplug module seq=664 HOME=/ 
PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add 
DEVPATH=/module/ieee80211eieee80211: 802.11 data/management/control stack, 
1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation 
<[email protected]>
kobject ipw2200: registering. parent: <NULL>, set: module
kobject_hotplug
fill_kobj_path: path = '/module/ipw2200'
kobject_hotplug: /sbin/hotplug module seq=665 HOME=/ 
PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=/module/ipw2200 
Seipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2dmprq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
bus pci: add driver ipw2200
kobject ipw2200: registering. parent: <NULL>, set: drivers
kobject_hotplug
fill_kobj_path: path = '/bus/pci/drivers/ipw2200'
kobject_hotplug: /sbin/hotplug drivers seq=666 HOME=/ 
PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=/bus/pci/driverssPCI: 
enabling device 0000:00:02.0 (0140 -> 0142)
PCI: Enabling bus mastering for device 0000:00:02.0
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
CLASS: registering class device: ID = '0000:00:02.0'
kobject 0000:00:02.0: registering. parent: firmware, set: class_obj
kobject_hotplug
fill_kobj_path: path = '/class/firmware/0000:00:02.0'
class_hotplug - name = 0000:00:02.0
fill_kobj_path: path = '/devices/pci0000:00/0000:00:02.0'
class_hotplug - hotplug() returned -19
kobject_hotplug - hotplug() returned -19
kobject_hotplug
fill_kobj_path: path = '/class/firmware/0000:00:02.0'
class_hotplug - name = 0000:00:02.0
fill_kobj_path: path = '/devices/pci0000:00/0000:00:02.0'
kobject_hotplug: /sbin/hotplug firmware seq=667 HOME=/ 
PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=/class/firmwareeCLASS: 
Unregistering class device. ID = '0000:00:02.0'
kobject_hotplug
fill_kobj_path: path = '/class/firmware/0000:00:02.0'
class_hotplug - name = 0000:00:02.0
fill_kobj_path: path = '/devices/pci0000:00/0000:00:02.0'
kobject_hotplug: /sbin/hotplug firmware seq=668 HOME=/ 
PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove 
DEVPATH=/class/firmwekobject 0000:00:02.0: cleaning up
device class '0000:00:02.0': release.
Bad mode in data abort handler detected: mode IRQ_32
Internal error: Oops - bad mode: 0 [#1]
Modules linked in: ipw2200 ieee80211 ieee80211_crypt_wep 
ieee80211_crypt_tkip ieee80211_crypt_ccmp ieee80211_crypt ixp400_et0CPU: 0
PC is at 0xffff0204
LR is at ipw_init_nic+0x210/0x560 [ipw2200]
pc : [<ffff0204>]    lr : [<bf0c8c48>]    Tainted: P
sp : cfadfcd8  ip : cfadfd54  fp : cfadfd50
r10: 000000fa  r9 : bf0e3b1c  r8 : c432ca64
r7 : 00000001  r6 : 00000024  r5 : 00000000  r4 : 00000024
r3 : d0852000  r2 : 00000001  r1 : 00000024  r0 : c432ca64
Flags: nZcv  IRQs off  FIQs on  Mode IRQ_32  Segment user
Control: 39FF  Table: 04318000  DAC: 00000015
Process insmod (pid: 761, stack limit = 0xcfade194)
Stack: (0xcfadfcd8 to 0xcfae0000)
fcc0:                                                       c432ca64 
00000024
fce0: 00000001 d0852000 00000024 00000000 00000024 00000001 c432ca64 
bf0e3b1c
fd00: 000000fa cfadfd50 cfadfd54 cfadfcd8 bf0c8c48 ffff0204 40000092 
ffffffff
fd20: c013be64 ce801f70 00000024 c432ca64 d0852000 c432ca64 00000024 
00000004
fd40: 00000003 cfadfd88 cfadfd54 bf0c8c48 bf0c7658 cfadfd60 c432ca64 
00000000
fd60: c432ca64 c432ca64 00000000 d088c000 d0891916 d088c010 00000003 
cfadfdb8
fd80: cfadfd8c bf0c8ff0 bf0c8a44 d088c000 c432ca64 00000000 c432ca64 
00000000
fda0: 00000000 d088c000 d0891916 cfadfdf8 cfadfdbc bf0c9780 bf0c8fa4 
cfadfdfc
fdc0: cfadfdcc c0037f24 d088d950 ced90be8 c432ca80 c432ca64 00000000 
c42ef8a0
fde0: d0852000 cfade000 00000000 cfadfe18 cfadfdfc bf0dd7e4 bf0c9584 
c0037e64
fe00: c432ca80 c432ca64 c432c000 cfadfe34 cfadfe1c bf0dde98 bf0dd6f8 
00000000
fe20: c432c000 c432c000 cfadfe5c cfadfe38 c01cd81c bf0dde50 c00dd9b0 
00000000
fe40: c432c000 00000000 c432c000 c432c000 cfadfe74 cfadfe60 c01cdc20 
c01cd704
fe60: 00000000 c432ca64 cfadfea0 cfadfe78 bf0de70c c01cdbbc c432ca64 
00008080
fe80: bf0f0584 c42ef8a0 ffffffed 00000000 bf000000 cfadfebc cfadfea4 
c0150cd8
fea0: bf0de274 c42ef8a0 bf0f0584 bf0f05b0 cfadfed4 cfadfec0 c0150d24 
c0150c98
fec0: bf0f0584 c42ef8a0 cfadfeec cfadfed8 c0150d74 c0150cfc bf0f05b0 
c42ef8e4
fee0: cfadff04 cfadfef0 c017a42c c0150d54 c42ef8ec c02846e8 cfadff20 
cfadff08
ff00: c017a54c c017a3d8 c028474c bf0f05b0 c02846e8 cfadff40 cfadff24 
c017aa6c
ff20: c017a508 bf0f0584 bf0f0740 0009b682 00047008 cfadff50 cfadff44 
c017af88
ff40: c017a9d8 cfadff68 cfadff54 c0151030 c017af3c c027e3d4 bf0f0740 
cfadff7c
ff60: cfadff6c bf0f2024 c0150fac c027e3d4 cfadffa4 cfadff80 c006665c 
bf0f200c
ff80: 00000003 00000000 00000000 00000080 c001fe04 00000002 00000000 
cfadffa8
ffa0: c001fc80 c0066438 00000000 00000000 00900080 401ab000 0009b682 
00047008
ffc0: 00000003 00000000 00000000 be93ce14 be93cee7 0000b818 00000002 
0003f7b4
ffe0: be93cd54 be93cd48 00022af4 40154f30 60000010 00900080 bdebfaaf 
ef7b9fff
Backtrace:
[<bf0c764c>] (ipw_poll_bit+0x0/0xe8 [ipw2200]) from [<bf0c8c48>] 
(ipw_init_nic+0x210/0x560 [ipw2200])
[<bf0c8a38>] (ipw_init_nic+0x0/0x560 [ipw2200]) from [<bf0c8ff0>] 
(ipw_reset_nic+0x58/0x21c [ipw2200])
[<bf0c8f98>] (ipw_reset_nic+0x0/0x21c [ipw2200]) from [<bf0c9780>] 
(ipw_load+0x208/0x8ac [ipw2200])
r8 = D0891916  r7 = D088C000  r6 = 00000000  r5 = 00000000
r4 = C432CA64
[<bf0c9578>] (ipw_load+0x0/0x8ac [ipw2200]) from [<bf0dd7e4>] 
(ipw_up+0xf8/0x330 [ipw2200])
[<bf0dd6ec>] (ipw_up+0x0/0x330 [ipw2200]) from [<bf0dde98>] 
(ipw_net_init+0x54/0xc0 [ipw2200])
r6 = C432C000  r5 = C432CA64  r4 = C432CA80
[<bf0dde44>] (ipw_net_init+0x0/0xc0 [ipw2200]) from [<c01cd81c>] 
(register_netdevice+0x124/0x4b8)
r6 = C432C000  r5 = C432C000  r4 = 00000000
[<c01cd6f8>] (register_netdevice+0x0/0x4b8) from [<c01cdc20>] 
(register_netdev+0x70/0x84)
r6 = C432C000  r5 = C432C000  r4 = 00000000
[<c01cdbb0>] (register_netdev+0x0/0x84) from [<bf0de70c>] 
(ipw_pci_probe+0x4a4/0x61c [ipw2200])
r5 = C432CA64  r4 = 00000000
[<bf0de268>] (ipw_pci_probe+0x0/0x61c [ipw2200]) from [<c0150cd8>] 
(pci_device_probe_static+0x4c/0x64)
r8 = BF000000  r7 = 00000000  r6 = FFFFFFED  r5 = C42EF8A0
r4 = BF0F0584
[<c0150c8c>] (pci_device_probe_static+0x0/0x64) from [<c0150d24>] 
(__pci_device_probe+0x34/0x58)
r6 = BF0F05B0  r5 = BF0F0584  r4 = C42EF8A0
[<c0150cf0>] (__pci_device_probe+0x0/0x58) from [<c0150d74>] 
(pci_device_probe+0x2c/0x44)
r5 = C42EF8A0  r4 = BF0F0584
[<c0150d48>] (pci_device_probe+0x0/0x44) from [<c017a42c>] 
(driver_probe_device+0x60/0x84)
r5 = C42EF8E4  r4 = BF0F05B0
[<c017a3cc>] (driver_probe_device+0x0/0x84) from [<c017a54c>] 
(driver_attach+0x50/0x90)
r5 = C02846E8  r4 = C42EF8EC
[<c017a4fc>] (driver_attach+0x0/0x90) from [<c017aa6c>] 
(bus_add_driver+0xa0/0xd4)
r6 = C02846E8  r5 = BF0F05B0  r4 = C028474C
[<c017a9cc>] (bus_add_driver+0x0/0xd4) from [<c017af88>] 
(driver_register+0x58/0x64)
r7 = 00047008  r6 = 0009B682  r5 = BF0F0740  r4 = BF0F0584
[<c017af30>] (driver_register+0x0/0x64) from [<c0151030>] 
(pci_register_driver+0x90/0xc4)
[<c0150fa0>] (pci_register_driver+0x0/0xc4) from [<bf0f2024>] 
(ipw_init+0x24/0x8c [ipw2200])
r5 = BF0F0740  r4 = C027E3D4
[<bf0f2000>] (ipw_init+0x0/0x8c [ipw2200]) from [<c006665c>] 
(sys_init_module+0x230/0x3d0)
r4 = C027E3D4
[<c006642c>] (sys_init_module+0x0/0x3d0) from [<c001fc80>] 
(ret_fast_syscall+0x0/0x2c)
Code: 00000000 00000000 00000000 e59fd21c (e24ee004)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.