Greg, Thanks for this post. We'll check it out, and update the list.
Assaf -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Ungerer Sent: Friday, March 30, 2007 10:00 To: uClinux development list Subject: Re: [uClinux-dev] BUG: scheduling while atomic Hi Arnon, Assaf, I see one problem in the modules/ixp425/net-2.1/ixp400_eth.c code. It is using the define CONFIG_ARCH_IXDPG425 for conditionals, it should be CONFIG_MACH_IXDPG425. At least everything seems to work fine with no preemption after that is fixed. Now with preempt enabled I get all sorts of oops if I have the IXP425 ETHDB option enabled. But it seems to run clean if I disable that. (You can disable it in the modules options config, in the ixp400 driver section). Is that consistent with what you see? So it sure looks like a problem in the EthDB handling code. Regards Greg Assaf Harel wrote: > Greg, Arnon, > > Any solution for this matter? > I'm having the same problem here. > > Assaf > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Arnon Meydav > Sent: Wednesday, March 21, 2007 10:36 > To: uClinux development list > Subject: RE: [uClinux-dev] BUG: scheduling while atomic > > > We are using: > IPL_ixp400NpeLibrary-2_1.zip > modules-csr2.1-20061012.patch > > Regarding the access library, I have 2 packages: > BSD_ixp400AccessLibrary-2_1.zip > BSD_ixp400AccessLibrary-2_1_1.zip > > Any known issues with these libraries? > Thanks, > - Arnon > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Greg Ungerer > Sent: Wednesday, March 21, 2007 06:36 > To: uClinux development list > Subject: Re: [uClinux-dev] BUG: scheduling while atomic > > Hi Arnon, > > Arnon Meydav wrote: >> I am running snapgear-3.4.0 with a preemptive 2.6 kernel, on a >> montejade-like board (IXP425 CPU). >> I get the following error message when I run some apps that access >> the > >> ethernet device, e.g. ifconfig: > > What version of the AccessLibrary are you using? > > Regards > Greg > > > > >> BUG: scheduling while atomic: ifconfig/0x00000001/802 [<c0022dc8>] >> (dump_stack+0x0/0x14) from [<c01dd1c0>] (schedule+0x60/0x6b8) >> [<c01dd160>] (schedule+0x0/0x6b8) from [<c01de5fc>] >> (schedule_timeout+0x8c/0xbc) >> [<c01de570>] (schedule_timeout+0x0/0xbc) from [<bf01c820>] >> (ixOsalMutexLock+0x190/0x1b4 [ixp400]) >> r8 = C0E07E0C r7 = C021D740 r6 = FFFFA7C2 r5 = C0E06000 >> r4 = BF0344B8 >> [<bf01c690>] (ixOsalMutexLock+0x0/0x1b4 [ixp400]) from [<bf00e140>] >> (ixEthAccMibIIStatsGetClear+0x1) >> r7 = 00E07E0C r6 = 05200000 r5 = BF0344C0 r4 = 00000000 >> [<bf00e018>] (ixEthAccMibIIStatsGetClear+0x0/0x164 [ixp400]) from >> [<bf09da28>] (0xbf09da28) [<bf09d9d0>] (0xbf09d9d0) from [<c0170e18>] >> (dev_seq_show+0x4c/0x134) >> r6 = C1BAFB60 r5 = C1BAFB60 r4 = C08E4000 [<c0170dcc>] >> (dev_seq_show+0x0/0x134) from [<c0098328>] >> (seq_read+0x26c/0x3a4) >> r5 = 0000007B r4 = C08E4000 >> [<c00980bc>] (seq_read+0x0/0x3a4) from [<c0074244>] >> (vfs_read+0xc4/0x17c) [<c0074180>] (vfs_read+0x0/0x17c) from >> [<c00745d8>] (sys_read+0x4c/0x74) >> r8 = 00000100 r7 = 00000000 r6 = C0E07F78 r5 = C02EF580 >> r4 = C02EF5A0 >> [<c007458c>] (sys_read+0x0/0x74) from [<c001dde0>] >> (ret_fast_syscall+0x0/0x2c) >> r8 = C001DF84 r7 = 00000003 r6 = BE9CFB28 r5 = 00000000 >> r4 = 0001A008 >> >> Is this a know issue? Is it OK or a real bug that needs sorting out? >> (I don't have any experience with the preemptive patch - we've been >> using kernel 2.4 till now) >> >> >> Thanks, >> - Arnon >> -- Disclaimer: -- >> This e-mail is intended solely for the person to whom it is addressed >> and may contain confidential or legally privileged information. >> Access > >> to this e-mail by anyone else is unauthorized. If an addressing or >> transmission error has misdirected this e-mail, please notify the >> author by replying to this e-mail and destroy this e-mail and any > attachments. >> E-mail may be susceptible to data corruption, interception, >> unauthorized amendment, viruses and delays or the consequences >> thereof. If you are not the intended recipient, be advised that you >> have received this email in error and that any use, dissemination, >> forwarding, printing or copying of this email is strictly prohibited. >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> uClinux-dev mailing list >> uClinux-dev@uclinux.org >> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >> This message was resent by uclinux-dev@uclinux.org To unsubscribe see: >> http://mailman.uclinux.org/mailman/options/uclinux-dev > > -- > ------------------------------------------------------------------------ > Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] > Secure Computing Corporation PHONE: +61 7 3435 2888 > 825 Stanley St, FAX: +61 7 3891 3630 > Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > > -- Disclaimer: -- > This e-mail is intended solely for the person to whom it is addressed > and may contain confidential or legally privileged information. Access > to this e-mail by anyone else is unauthorized. If an addressing or > transmission error has misdirected this e-mail, please notify the > author by replying to this e-mail and destroy this e-mail and any attachments. > E-mail may be susceptible to data corruption, interception, > unauthorized amendment, viruses and delays or the consequences > thereof. If you are not the intended recipient, be advised that you > have received this email in error and that any use, dissemination, > forwarding, printing or copying of this email is strictly prohibited. > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > > -- Disclaimer: -- > This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments. > E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > -- ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev -- Disclaimer: -- This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorized. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments. E-mail may be susceptible to data corruption, interception, unauthorized amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev