[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] BUG at sched.c 569



Hi George,

>  Actually it is the SMSC91C1111 driver. However I'm using the one I
> ported from SMSC Linux driver. The only real difference is 
> this one does a phy_reset().

When using the driver supplied with uClinux on Yashi's SUZAKU Board
everything works fine for me, but I have the same problems with
a driver ported from the original SMSC driver (v 2.01) on out PPC
design. So I guess it is not uClinux specific, but has to do something
with the driver supplied by SMSC. Unfortunately I have not 
come up with a solution up to now. While debugging this, 
I have made the following observations:

   The most obscure thing was that we had to swap the
   IM_REG and the INT_REG in smc911111.h. Setting INT_REG
   to 0x000D and IM_REG to 0x000c. Without the change
   the message you described showed up immediately after
   starting the system.

   in smc_wait_to_send_packet a netif_stop_queue(dev);
   is missing right after:
	PRINTK2("%s: memory allocation deferred. \n", dev->name);
   due to that the driver kept on throwing the message
   "Bad Craziness"

   after fixing that problem the message in you described started
   to show up while uploading large files via ftp.

   In order to debug this I set SMC_DEBUG 2 within smc91111.c
   which gave me dozens of debug messages, but made the 
   error disappear. Not the best preconditions for debugging ;)
 
   I have not come father right now, but I work on this.
   Please let me know, if you had some other observations.

Cheers,
Erik

****************************
Erik Hansen
SHF Communication Technologies AG
Wilhelm-von-Siemens-Str. 23D
12277 Berlin
Germany
phone: +49 (30) 77 20 51 0
fax  : +49 (30) 75 31 07 8
****************************
 

> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx 
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of 
> George Smith
> Sent: Friday, November 11, 2005 1:45 PM
> To: MicroBlazeUcLinux
> Subject: Re: [microblaze-uclinux] BUG at sched.c 569
> 
> 
> hi
>  Actually it is the SMSC91C1111 driver. However I'm using the one I
> ported from SMSC linux driver. The only real difference is 
> this one does
> a phy_reset(). 
> gesmith
> 
>  
> On Thu, 2005-11-10 at 00:59, John Williams wrote:
> > Hi George,
> > 
> > George Smith wrote:
> > 
> > >  I'm getting :
> > > eth0: transmit timed out, IRQ conflict?
> > > Scheduling in interrupt
> > > kernel BUG at sched.c:569!
> > > 
> > >  Has anyone any ideas?
> > 
> > Which ethernet driver is this?
> > 
> > John
> > ___________________________
> > microblaze-uclinux mailing list
> > microblaze-uclinux@xxxxxxxxxxxxxx
> > Project Home Page : 
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> > Mailing List Archive : 
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> -- 
> George Smith
> VP Engineering
> Linear Acoustic, Inc
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : 
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : 
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/