2009-07-14 03:04:52     2009r1-rc1 error with dm9000 driver

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-07-14 03:04:52     2009r1-rc1 error with dm9000 driver

billy zhou (UNITED STATES)

Message: 77162   

 

2009r1-rc1 version dm9000 driver doesn't work normally

 

but when I replace dm9000.c & dm9000.h with old dm9000.c & dm9000.h file,  it works!

 

so can you help me with this problem?

 

my old dm9000.c & dm9000.h file as attach

 

dm9000.c

dm9000.h

QuoteReplyEditDelete

 

 

2009-07-14 03:10:04     Re: 2009r1-rc1 error with dm9000 driver

billy zhou (UNITED STATES)

Message: 77163   

 

when I use the old dm9000 driver, it seems wrong with the sata driver,

 

the wrong happens when I use ftp transform files to the sata hdd.

 

the error info is

 

status check failed: 129

 

then, the net can't work, but the sata works normally

 

and then, I use: ifconfig eth0 down ; ifconfig eth0 up  the net work again!

 

 

 

so I need to solve this problem,thanks!

QuoteReplyEditDelete

 

 

2009-07-14 03:18:22     Re: 2009r1-rc1 error with dm9000 driver

billy zhou (UNITED STATES)

Message: 77166   

 

boot info for new dm9000 and the old dm9000

 

boot-dm9000old.txt

boot-dm9000.txt

QuoteReplyEditDelete

 

 

2009-07-14 03:37:59     Re: 2009r1-rc1 error with dm9000 driver

Barry Song (CHINA)

Message: 77167   

 

Can you try to ftp to /tmp? /tmp is in memory. That can help us to locate the problem. If same problems exist in /tmp, the problem is nertwork. Otherwise, maybe SATA.

QuoteReplyEditDelete

 

 

2009-07-14 04:21:43     Re: 2009r1-rc1 error with dm9000 driver

billy zhou (UNITED STATES)

Message: 77192   

 

I had test this situation, ftp to /tmp normally

QuoteReplyEditDelete

 

 

2009-07-14 06:12:04     Re: 2009r1-rc1 error with dm9000 driver

Barry Song (CHINA)

Message: 77201   

 

Can you help to do other several test to make sure the problem?

 

1.use rcp to transfer data instead of ftp to check whether ftp has problem

 

2.write and read data in sata with high overload without network transfer to check whether sata has problem

 

And can you check whether there is any hardware resource conflict between DM9000 and sata on your board?

 

--Barry

QuoteReplyEditDelete

 

 

2009-07-14 21:22:36     Re: 2009r1-rc1 error with dm9000 driver

billy zhou (UNITED STATES)

Message: 77276   

 

1. how can I use rcp? can you give me a example

 

2. I cp data in sata with the serial terminal command, and it works normally

 

but after cp hundreds M data, it can't reboot...

 

boot info as below

 

boot-sata.txt

QuoteReplyEditDelete

 

 

2009-07-14 22:14:43     Re: 2009r1-rc1 error with dm9000 driver

Barry Song (CHINA)

Message: 77279   

 

rcp is a built-in remote file transfer tool, placed in /bin/rcp if you have compiled it in uclinux-dist.

 

So do you only have problems while using ftp to transfer very big file too?

QuoteReplyEditDelete

 

 

2009-07-15 00:50:55     Re: 2009r1-rc1 error with dm9000 driver

billy zhou (UNITED STATES)

Message: 77281   

 

using ftp to transfer /tmp is correct.

 

I suppose the problem is the dm9000-old driver with the sata driver

 

so will you help with the dm9000-new driver

QuoteReplyEditDelete

 

 

2009-07-15 01:22:57     Re: 2009r1-rc1 error with dm9000 driver

Barry Song (CHINA)

Message: 77285   

 

Sorry for we have no DM9000 devices here. But I can try whether ftp has same problems with SATA in my side using our devices.

QuoteReplyEditDelete

 

 

2009-07-15 06:57:52     Re: 2009r1-rc1 error with dm9000 driver

Mike Frysinger (UNITED STATES)

Message: 77335   

 

your best bet is to narrow down the changes in the driver until you find what broke things.  the number of changes between 2.6.28 and 2.6.30 in the dm9000 driver is minuscule.

Outcomes