From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web8408.mail.in.yahoo.com (web8408.mail.in.yahoo.com [202.43.219.156]) by ozlabs.org (Postfix) with SMTP id A862267B62 for ; Wed, 20 Sep 2006 08:43:51 +1000 (EST) Message-ID: <20060919224349.25812.qmail@web8408.mail.in.yahoo.com> Date: Tue, 19 Sep 2006 23:43:49 +0100 (BST) From: agnel juni Subject: linux-2.6 system ACE driver - need help To: linuxppc-embedded@ozlabs.org, ammubhai@gmail.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1757925272-1158705829=:24624" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-1757925272-1158705829=:24624 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Ameet I have posted a few messages regarding Ssytem ACE driver for Linux-2.6. We are working on a AMCC 440SPe based custom board. We applied the patch from http://www.cs.york.ac.uk/rtslab/demos/amos/xupv2pro/patches/linuxppc-2.6.17.1-sysace-1.2.patch and applied against 2.6.16-2 kernel. We are trying to make the driver work in interrupt mode. First, I would like to know if the driver tested in interrupt mode. We are able to mount the CF, but it is very inconsistent. Same is the case with fdisk command. When it fails,we get errors which you could see in the screen-dump below. Are we missing to apply the right patch? Please let us know your inputs to go forward. Looking forwards for your reply. Thanks Junita /*************** Screen dump ********************/ # fdisk /dev/xsysace 1. sector = 0 xsa_cur_req->sector=0 System ACE: Error 0 when reading sector 2. 2. sector = 2 xsa_cur_req->sector=16 end_request: I/O error, System ACE: Error 0 when reading sectoru dev xsa, sector 16 Buffer I/O error on device xsa, logical block 2 1. sector = 184 xsa_cur_req->sector=184 Command (m for help): p Disk /dev/xsysace: 524 MB, 524869632 bytes 17 heads, 59 sectors/track, 1022 cylinders Units = cylinders of 1003 * 512 = 513536 bytes Device Boot Start End Blocks Id System /dev/xsysace1 1 1022 512503+ 6 FAT16 Command (m for help): q And for 'mount' # # # mount -t msdos /dev/xsysace /root/cf 1. sector = 0 xsa_cur_req->sector=0 1. sector = 503 xsa_cur_req->sector=503 1. sector = 504 xsa_cur_req->sector=504 1. sector = 506 xsa_cur_req->sector=506 1. sector = 508 xsa_cur_req->sector=508 1. sector = 510 xsa_cur_req->sector=510 # cd /root/cf < Here Prints Some Symbols like + - etc, which i am not able to capture/copy -------------ERROR b: No such file or directory--------------------------------ERROR pci.h # Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.n0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.d# # cp pci.h /root/ # cd ../ # ls app cf hello1 pci.h # #/root /dev/xsysace /root/cf FAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev xsa. mount: Mounting /dev/xsysace on /root/cf failed: Invalid argument # --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-1757925272-1158705829=:24624 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Ameet

I have posted a few messages regarding Ssytem ACE driver for Linux-2.6.

We are working on a AMCC 440SPe based custom board.

We applied the patch from
http://www.cs.york.ac.uk/rtslab/demos/amos/xupv2pro/patches/linuxppc-2.6.17.1-sysace-1.2.patch
and applied against 2.6.16-2 kernel.

We are trying to make the driver work in interrupt mode.

First, I would like to know if the driver tested in interrupt mode.

We are able to mount the CF, but it is very inconsistent.

Same is the case with fdisk command. When it fails,we get errors which you could see in the screen-dump below.
Are we missing to apply the right patch? Please let us know your inputs to go forward.
Looking forwards for your reply.

Thanks
Junita

/*************** Screen dump ********************/
# fdisk /dev/xsysace
1. sector = 0 xsa_cur_req->sector=0
System ACE: Error 0 when reading sector 2.
2. sector = 2 xsa_cur_req->sector=16
end_request: I/O error, System ACE: Error 0 when reading sectoru dev xsa, sector 16
Buffer I/O error on device xsa, logical block 2
1. sector = 184 xsa_cur_req->sector=184
 
Command (m for help): p
 
Disk /dev/xsysace: 524 MB, 524869632 bytes
17 heads, 59 sectors/track, 1022 cylinders
Units = cylinders of 1003 * 512 = 513536 bytes
 
       Device Boot      Start         End      Blocks   Id  System
/dev/xsysace1               1        1022      512503+   6  FAT16
 
Command (m for help): q
And for 'mount'
#
#
# mount -t msdos /dev/xsysace /root/cf
1. sector = 0 xsa_cur_req->sector=0
1. sector = 503 xsa_cur_req->sector=503
1. sector = 504 xsa_cur_req->sector=504
1. sector = 506 xsa_cur_req->sector=506
1. sector = 508 xsa_cur_req->sector=508
1. sector = 510 xsa_cur_req->sector=510
# cd /root/cf
< Here Prints Some Symbols like + - etc, which i am
  not able to capture/copy -------------ERROR
b: No such file or directory--------------------------------ERROR
pci.h
#
Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.n0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.0Minicom2.00.d#
# cp pci.h /root/
# cd ../
# ls
app     cf      hello1  pci.h
#
#/root
 /dev/xsysace /root/cf
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev xsa.
mount: Mounting /dev/xsysace on /root/cf failed: Invalid argument
#
 









Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW --0-1757925272-1158705829=:24624--