2009-07-10 06:50:30 ftp error for my sda
billy zhou (UNITED STATES)
Message: 77034
Now I use my sata work normally, read/write correctly.
But when I use ftpd as ftp server, and use filezilla as ftp client, it get error if I try to cd my sda.
my sda info:
scsi0 : pata_platform
ata1: PATA max PIO0 no IRQ, using PIO polling mmio cmd 0x20200020 ctl 0x2020001c
ata1.00: ATA-8: Hitachi HTS543216L9A300, FB2OC40C, max UDMA/133
ata1.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 0/1)
ata1.00: configured for PIO
scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54321 FB2O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: unknown partition table
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
root:/usr/local> mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw)
ramfs on /var type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,mode=600)
/dev/sda on /usr/local type ext3 (rw,errors=continue,data=ordered)
root:/usr/local> ls
lost+found rc
root:/usr/local> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 7163 1378 5785 19% /
/dev/sda 155059068 192076 147052448 0% /usr/local
root:/usr/local> cp /etc/hosts ./
status check failed: 129 (this line seems error!)
root:/usr/local> ls
hosts lost+found rc
root:/usr/local>
my filezilla error info:
状态: 读取目录列表...
命令: CWD /usr
返回: 250 CWD command successful.
命令: PASV
返回: 227 Entering Passive Mode (192,168,2,222,177,234)
命令: LIST
返回: 150 Opening BINARY mode data connection for '/bin/ls'.
返回: 226 Transfer complete.
状态: 列目录成功
状态: 读取目录列表...
命令: CWD /usr/local
返回: 250 CWD command successful.
命令: PASV
返回: 227 Entering Passive Mode (192,168,2,222,226,30)
命令: LIST
返回: 550 /bin/ls: Illegal seek.
错误: 读取目录列表失败
QuoteReplyEditDelete
2009-07-10 09:55:45 Re: ftp error for my sda
Mike Frysinger (UNITED STATES)
Message: 77037
so look at the ftpd debug logs and make sure your ftpd has permission to read /usr/local