Re: How to debug kernel Oops

2006-03-27 Thread Bin Zhang
On 3/26/06, Michael Schmitz [EMAIL PROTECTED] wrote:
  Unable to handele kernel paging request for data at address 0x0008
  Faulting instruction address:0xe2709440
  Oops : kernel acces of bad area, sig 11 [#1]
  ...
  ...
  NIP [E2709440] ieee80211_master_star_xmit+0x6c/0x4bc [80211]
  LR [E2709400] ieee80211_master_star_xmit+0x2c/0x4bc [80211]
  Call Trace : ...
  ...
  ---
 
  How to find the problem and solve it ?

 Part 1:

 Disassemble the ieee80211_master_star_xmit function (locate the start
 address in the module from the symbol table, and use objdump -d), and
 compare with the C code. That should tell you what NULL pointer you need
 to deal with here.

 Part 2: figure out how a NULL pointer got passed in the first place.


Thank you very much.  This exceeds my competences.  I do not know
programming, I give up.

Best regards,
Bin

 Michael





Re: How to debug kernel Oops

2006-03-26 Thread Michael Schmitz
 Unable to handele kernel paging request for data at address 0x0008
 Faulting instruction address:0xe2709440
 Oops : kernel acces of bad area, sig 11 [#1]
 ...
 ...
 NIP [E2709440] ieee80211_master_star_xmit+0x6c/0x4bc [80211]
 LR [E2709400] ieee80211_master_star_xmit+0x2c/0x4bc [80211]
 Call Trace : ...
 ...
 ---

 How to find the problem and solve it ?

Part 1:

Disassemble the ieee80211_master_star_xmit function (locate the start
address in the module from the symbol table, and use objdump -d), and
compare with the C code. That should tell you what NULL pointer you need
to deal with here.

Part 2: figure out how a NULL pointer got passed in the first place.

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to debug kernel Oops

2006-03-25 Thread Bin Zhang
Hi,

My ibook freezes when I want to use the _lateast_ bcm43xx/devicescape
driver for 2.6.16.
It freezes after the commands:

modprobe bcm43xx_d80211
echo -n sta0  /sys/class/ieee80211/phy0/add_iface
ifconfig wlan0.11 up
(I see in syslog
localhost kernel: wlan0.11: Does not support passive scan, disabled)
---

In console I see ( _manually_ copied)
--
Unable to handele kernel paging request for data at address 0x0008
Faulting instruction address:0xe2709440
Oops : kernel acces of bad area, sig 11 [#1]
...
...
NIP [E2709440] ieee80211_master_star_xmit+0x6c/0x4bc [80211]
LR [E2709400] ieee80211_master_star_xmit+0x2c/0x4bc [80211]
Call Trace : ...
...
---

How to find the problem and solve it ?

Thanks,
Bin