wach dog error?

Andres
hi working on mini2440 it appears me this mistake:

Warning: at net/sched/sch_generic.c: 261 dev_watchdog+0x260
netdev watchgod: eth0 (cs8900) : transmit queue 0 time out

has some else have this kind of message?

any ideas how can i solved it 

looking around i found this:

http://blog.csdn.net/lobbve/article/details/4061254

but the step #3 itsnt very clear for me

# Make menuconfig
Enter the configuration menu to add drivers to the kernel

it doesnt say what drivers do i have to add

i hope some one can help me

Thanks!

davef
As I mentioned in your other post how can the mini2440 report a cs8900
error, unless the dm9000 driver has been hacked around?

Also that article seems to be talking about the smdk2410 which maybe does
use the Cirrus Logic ethernet controller.

Which kernel are you trying to configure?  Have you got the default
mini2440 kernel configuration for that kernel?

Andres
hi im trying to configure :

config_gt2440_h43

i have compile that kernel to add gpio and change the boot image, but the
other setting are by default , exactly how it came on the cd.

on this mini i havent try to change mac address yet.

Thanks for the fast answer and sorry for my bad english

davef
Which kernel are you trying to configure?

If you look in the kernel source what code can you find for the ethernet
chip?

Andres
the files that im working on its:

from cd i take the package: 

linux-2.6.32.2-gt2440-20101104

And its has to many files, when i compiled it i only made changes doing
this steps:

cd linux-2.6.32.2  
cp config_mini2440_t35 .config
make menuconfig 

on the menu it opens i made the changes

make zimage.

but on this case im making changes on the files that describes this links:

http://hi.baidu.com/operationsystem/blog/item/5ab9a37f8f3635300dd7da0e.html

i havent made anything diferents that describes there.

what its the file about what you are talking about?

forgive my ignorance

thanks!

davef
That article refers to a very old Linux kernel, the wrong ethernet
controller chip and a different development board.

If you compile the kernel WITHOUT modification does this error message
appear?

Maybe, briefly describe what you are trying to do, other than get the GPIO
to work.  Maybe you have ticked some wrong boxes in menuconfig.

You could do a "diff" or using MELD see what the differences are between
your configuration and the default supplied configuration.

Another question about that package you are using, are you sure that is for
your mini2440?

First you say:

config_gt2440_h43

and now

config_mini2440_t35 .config
 
I have no idea what "gt2440" refers.  Also, first you are talking about the
h43 touchscreen then the t35 touchscreen.  These would be different
configuration files.

Which touchscreen do you have?

And lastly, have you ever managed to compile a default kernel and get it to
work on your mini2440?

Andres
Hi this mistake appearsme even with the kernel that comes with the cd, i
have an application running on mini2440, after 2 days running it comes
slow, until it get blocks and on the console appearsme that menssage, first
i tought that it was fail of my application, but then i reebot the device,
and without execute my application, the mini2440 was slow.

and continues with this message:

Warning: at net/sched/sch_generic.c: 261 dev_watchdog+0x260
netdev watchgod: eth0 (cs8900) : transmit queue 0 time out

im working on h43 mini, what i copy above was from a tutorial that i found,
and works for me, obviously i change _t35 for _h43 


then i have a question the actual kernel has solve that problem?, could be
my default kernel (who cames on the cd ) have came with something
different? 

And about your last question:

 "have you ever managed to compile a default kernel and get it to
work on your mini2440?"

yes i have do it but making the steps that i copy you above

"
cd linux-2.6.32.2  
cp config_mini2440_t35 .config
make menuconfig
make zimage."

then i cames a menu and i have select what i need,(gpio) but i have never
change the codes of the kernel manually.

i hope to be clear about what i have done until now.

thanks for all your help!

davef
Have you read the thread called "MIni2440 Freeze"?  Maybe, you both have
the same problem.

Andres
hi the problem its very similar, i have to application

one qt application and web server, when i have been problems on qt the
webserver hasnt been affected but this time both of them gets slow.

they start well and after one or 2 days they gets slows, until the web
server stops to work, and even the ftp service (what it came install with
mini)

after they get slow i turn off the mini2440 and i only turn on the web
server, and i note that its speed was too slow, it wasnt working as fast as
when i put it 3 days ago.

as far as i know if i reset the mini2440 the ram memory should be clear,
and the web server should work normal. but i doesnt, i put a command line
to clear the memory (right nown i dont remeber it) and the web server works
well for 2 or 3 minutes but after that i came very slow.

for now i dont know what to think, if is it the memory ran why the web
server doesnt return to the normally after i reset the mini2440, thanks for
all your help.

could you giveme a link where i can download another kernel for h43?e
maybe my default kernel cames wrong

or what else could be?

thanks!

davef
How about trying the "free" command and watch what happens to your memory
over time?

What are you using for a web server?

Rebooting the mini2440 should clear any memory.  Where are you running the
kernel and root filesystem from?  NAND/SD card/NFS

Andres
the kernel, filesystem and webserver are running on mini2440, the qt
application and the www file are on /sdcard

my web server its cherokee

Andres
hi , i made this test: i have two mini 2440 making different test to try to
find the solution for  this, one of them was very very slow do i decided to
format it and mount again my web server  (i didn't mount the qt
application), after that, i ran it i noted that it was slow as before i
formated my mini2440, after that i formated the sdcard (who contains the
files of the web server) and later past again my files to the sdcard. turn
on again my mini2400 and checking my webserver i saw that i continued slow.


the second mini2440, on that moment was faster ( i had started another test
on him for not to much time ago on him ) i suppose that in a time it will
come slow.

the interesting thing was that i toke the sdcard from my second mini, and
put it on my first mini2440

i checked the web server and its was ok.

now im starting to think that it is a problem on the sdcards, but  what
could be?

i hope to be clear on what i tested (sorry if my english its not good )

i hope that with this information you can giveme some ideas, thanks for the
help!

davef
Are the SD cards the same brand and size?

Andres
both of them are panasonic, but the fist mini had 2 gb and the second had
4gb.

but in a previous test, the sdcard of 4gb has fail too. even in one cause
it changes all files that its had to ONLY READ FILED and i couldn't drop or
modified the files that it contained

Andres
HI i have found the reason of my problem, it was diferents things, one of
them was the sdcard that i was using, its bad , and the second, the system
gets out of memory ran, for my qt application.

thanks for all your help. the idea to see the memory ran was very useful.

im going to fix my qt application, but i would like see if there is a
possibility to install memory swap on mini2440 (just to enforce the system)

my SO its qtopia, any help could be great for me.

Thanks again!