From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpauth01.mail.atl.earthlink.net (smtpauth01.mail.atl.earthlink.net [209.86.89.61]) by ozlabs.org (Postfix) with ESMTP id ACBA12BF11 for ; Fri, 31 Dec 2004 02:02:19 +1100 (EST) From: "T Michael Turney" To: "Jinwu Wei(???)" , Date: Thu, 30 Dec 2004 06:44:36 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C4EE3B.06FE8080" In-Reply-To: <002c01c4ee47$254516b0$c7c8a8c0@LocalHost> Subject: RE: help me for: Oops: kernel access of bad area, sig: 11 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C4EE3B.06FE8080 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable If you are using MVL2.1 why do you have to port ppp_generic.c? I have used the PPP support already built-in to this kernel without problem, even ported wvdial/wvstreams to it. Cheers, T.mike -----Original Message----- From: linuxppc-dev-bounces@ozlabs.org = [mailto:linuxppc-dev-bounces@ozlabs.org]On Behalf Of Jinwu Wei(???) Sent: Thursday, December 30, 2004 12:11 AM To: linuxppc-dev@ozlabs.org Subject: help me for: Oops: kernel access of bad area, sig: 11=20 Importance: High Dear, Here is my problems, Our environmet is: OS: hardhat Linux 2.1 platform: ppc lopec 7410 uname -r : 2.4.17_mvl21-lopec =20 When we port the ppp_generic.c(Which is a kernel module), and the = program can be executed on host(redhat 7.2). Howerver, when we complied = it and runned on ppc lopec7410 (target) by the cross-developemnt = enviornment, which can result in the machine down, and when wei return = in the beginning of ppp_xmit_process(), the machine is not down but the = following massages is printed in the /var/log/massages: Dec 29 13:52:31 10 kernel: IN ppp_generic.c(ppp_write()):called = function ppp_write () 0 times!=20 Dec 29 13:52:31 10 kernel: In ppp_geberic.c(ppp_file_write()): the = send device kind (pf->kind,1=3DINTERFACE,2=3DCHANNEL)is 1=20 Dec 29 13:52:31 10 kernel: In ppp_geberic.c(ppp_file_write()):After = copy_from_user, the data from pppd to kernel space is :=20 Dec 29 13:52:31 10 kernel: =20 Dec 29 13:52:31 10 kernel: c0 21 01 01 00 0a 02 06 00 00 00 00 =20 Dec 29 13:52:31 10 kernel: IN ppp_GENERIC.c :ppp_xmit_process(),into = this function =20 Dec 29 13:52:31 10 kernel: IN ppp_GENERIC.c = :ppp_xmit_process(),ppp->xmit_pending is 0 =20 Dec 29 13:52:32 10 kernel: Oops: kernel access of bad area, sig: 11=20 Dec 29 13:52:32 10 kernel: NIP: C0012F4C XER: 00000000 LR: C0012F34 = SP: DF61FE40 REGS: df61fd90 TRAP: 0300 Tainted: P =20 Dec 29 13:52:32 10 kernel: MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 = IR/DR: 11=20 Dec 29 13:52:32 10 kernel: DAR: 00000004, DSISR: 42000000=20 Dec 29 13:52:32 10 kernel: TASK =3D df61e000[102] 'pppd' Last syscall: = 142 =20 Dec 29 13:52:32 10 kernel: last math df61e000 last altivec df61e000=20 Dec 29 13:52:32 10 kernel: GPR00: 00001032 DF61FE40 DF61E000 00000001 = 00009032 000000A5 DFDBEDE4 0001F618 =20 Dec 29 13:52:32 10 kernel: GPR08: 0000003C 00000000 DF619008 DF619014 = 84244862 1004BE28 10040000 10040000 =20 Dec 29 13:52:32 10 kernel: GPR16: 10040000 10040000 10040000 10040000 = 00009032 DF61FEF8 DF61FE98 0000012C =20 Dec 29 13:52:32 10 kernel: GPR24: 00000006 00000000 00000145 DF61FED8 = C02B0984 DF61900C DF7A35E0 DF619000 =20 Dec 29 13:52:32 10 kernel: Call backtrace: =20 Dec 29 13:52:32 10 kernel: C0035128 C00516E0 E100379C C0051A28 = C0051D30 C0009FD0 C000409C =20 Dec 29 13:52:32 10 kernel: 1001CBA8 10005EC0 100059B8 0FE69628 = 00000000 =20 How to debug it and correcte it , Plese help me! Thanks a lot! ------------------------------------------- Best Regards =20 Dr. Jinwu Wei =20 ----------------------------------------------------------------- =20 National Digital Switching System=20 Engineering & Technology R&D Center (NDSC), Jianxue street 7#, Box:1001, No.783, Zhengzhou, 450002. Henan province, P.R. China. =20 Tel: +86-371-3532873 Fax: +86-371-3941700 Email: wjw@mail.ndsc.com.cn or bstap2000@yahoo.com.cn =20 ------=_NextPart_000_0008_01C4EE3B.06FE8080 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable =EF=BB=BF
If you = are using=20 MVL2.1 why do you have to port ppp_generic.c?
I have = used the PPP=20 support already built-in to this kernel without
problem, even ported=20 wvdial/wvstreams to it.
Cheers,
T.mike
-----Original Message-----
From:=20 linuxppc-dev-bounces@ozlabs.org = [mailto:linuxppc-dev-bounces@ozlabs.org]On=20 Behalf Of Jinwu Wei(???)
Sent: Thursday, December 30, = 2004 12:11=20 AM
To: linuxppc-dev@ozlabs.org
Subject: help me = for: Oops:=20 kernel access of bad area, sig: 11
Importance:=20 High

 
Dear,
 
    Here is my problems,
 
     Our environmet is:
    OS: hardhat Linux 2.1
    platform: ppc lopec 7410
    uname -r : 2.4.17_mvl21-lopec
  
   When we port the ppp_generic.c(Which is a kernel = module),=20 and the program can be executed on host(redhat 7.2). Howerver, when we = complied it and runned on ppc lopec7410 (target) by the = cross-developemnt=20 enviornment, which can result in the machine down, and when wei return = in the=20 beginning of ppp_xmit_process(), the machine is not down but the = following=20 massages is printed in the /var/log/massages:
 
Dec 29 13:52:31 10 kernel: IN = ppp_generic.c(ppp_write()):called=20 function ppp_write () 0  times!
Dec 29 13:52:31 10 kernel: In = ppp_geberic.c(ppp_file_write()): the send device kind=20 (pf->kind,1=3DINTERFACE,2=3DCHANNEL)is 1
Dec 29 13:52:31 10 = kernel: In=20 ppp_geberic.c(ppp_file_write()):After copy_from_user, the data from = pppd to=20 kernel space is :
Dec 29 13:52:31 10 kernel: 
Dec 29 = 13:52:31 10=20 kernel: c0 21 01 01 00 0a 02 06 00 00 00 00 
Dec 29 13:52:31 = 10=20 kernel: IN ppp_GENERIC.c :ppp_xmit_process(),into this function  =
Dec=20 29 13:52:31 10 kernel: IN ppp_GENERIC.c=20 :ppp_xmit_process(),ppp->xmit_pending is 0 
Dec 29 = 13:52:32 10=20 kernel: Oops: kernel access of bad area, sig: 11
Dec 29 13:52:32 = 10=20 kernel: NIP: C0012F4C XER: 00000000 LR: C0012F34 SP: DF61FE40 REGS: = df61fd90=20 TRAP: 0300    Tainted: P 
Dec 29 13:52:32 10 = kernel:=20 MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
Dec 29 13:52:32 10 = kernel:=20 DAR: 00000004, DSISR: 42000000
Dec 29 13:52:32 10 kernel: TASK =3D = df61e000[102] 'pppd' Last syscall: 142 
Dec 29 13:52:32 10 = kernel:=20 last math df61e000 last altivec df61e000
Dec 29 13:52:32 10 = kernel: GPR00:=20 00001032 DF61FE40 DF61E000 00000001 00009032 000000A5 DFDBEDE4 = 0001F618 =20
Dec 29 13:52:32 10 kernel: GPR08: 0000003C 00000000 DF619008 = DF619014=20 84244862 1004BE28 10040000 10040000 
Dec 29 13:52:32 10 = kernel:=20 GPR16: 10040000 10040000 10040000 10040000 00009032 DF61FEF8 DF61FE98=20 0000012C 
Dec 29 13:52:32 10 kernel: GPR24: 00000006 00000000 = 00000145 DF61FED8 C02B0984 DF61900C DF7A35E0 DF619000 
Dec 29 = 13:52:32 10 kernel: Call backtrace: 
Dec 29 13:52:32 10 = kernel:=20 C0035128 C00516E0 E100379C C0051A28 C0051D30 C0009FD0 C000409C  =
Dec=20 29 13:52:32 10 kernel: 1001CBA8 10005EC0 100059B8 0FE69628 = 00000000
 =20
 
 
How to debug it and correcte it , Plese help me!
 
Thanks a lot!

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

 Best=20 Regards
 
 Dr. Jinwu Wei
 
-----------------------------------------------------= ------------
 
National=20 Digital Switching System
Engineering & Technology R&D = Center=20 (NDSC),
Jianxue street 7#, Box:1001, = No.783,
Zhengzhou,  =20 450002.
Henan province, P.R. China.
 
Tel:=20 +86-371-3532873

Fax: = +86-371-3941700
Email: wjw@mail.ndsc.com.cn<= /SPAN>

         =20 or bstap2000@yahoo.com.cn

 

------=_NextPart_000_0008_01C4EE3B.06FE8080--