• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / General Linux questions / Re: ntfs-3g 2009.2.1 write performance slow, is apt-get for ver 2009.3.8 available ? on: November 04, 2009, 07:13:53 AM
As an update, I made a 100MB ext3 partition and read write performance is good. Same speed both ways, read/write a 1GB file @ 20-23MBytes/s which is very acceptable, see graph below for network drive to an XP laptop and a little faster using FTP.  Still waiting for latest ntfs-3g which will fix ntfs performance, unless someone has any ideas.



I also found an unpowered USB hub that works with the sheeva (2 other hub tried and did not work or only 12Mb/s ), the belkin F5U231vuk1  is working fine in high speed 480Mb/s.

Smiler
2  Linux Stuff / General Linux questions / ntfs-3g 2009.2.1 write performance slow, is apt-get for ver 2009.3.8 available ? on: October 19, 2009, 10:05:13 AM
I got some write performance issues to my WD USB external drive using ntfs-3g.  Web page:
http://www.tuxera.com/community/ntfs-3g-faq/#dd says use 2009.3.8 minimum, 2009.4.4 is last stable version with some performance improvements. 

I want to keep my USB drive NTFS so I can still use in winXP directly if I need to and FAT32 no good due to filesize limit, ext2/3 support is flakey with windows.

If anybody can get for me or know if I can install a later sheeva plug version as apt-get installed ntfs-3g 2009.2.1 for me.

I checked my network speeds, iperf approx 400Mb/s both ways using gigabit ethernet @ 1000Mbs full duplex.

I used this to check:
http://computingplugs.com/index.php/SheevaPlug_Performance#USB_storage_throughput

Checked with a 1GB file

Writes direct from sheeva to USB were 7.4MB/s, reads much better 22.6MB/s

Network remote writes using samba were of course slower @ 6MB/s and reads 13MB/s 


Cheers Smiler
3  Hardware and U-Boot firmware / Hardware / Re: New sheevaplug USB port not working on: October 16, 2009, 02:39:51 AM
Hi, I received the replacement sheeevaplug from NewIT, USB works fine now.

Many thx for all the help, I learned a lot.

Cheers smiler

4  Hardware and U-Boot firmware / Hardware / Re: New sheevaplug USB port not working on: October 15, 2009, 11:46:07 PM
I am in the UK and contacted NewIT who supplied the sheeva to me, they were very helpful in debuging and like you say think it is hardware pb and so are sending me a new plug..

Thx for the help....
5  Hardware and U-Boot firmware / Hardware / Re: New sheevaplug USB port not working on: October 15, 2009, 01:17:44 AM
Hi, I tried more...

I am at the latest kernel 2.6.31.4

My USB HD is a regular WD My Book external USB enclosure bought with sata 1TB inside, behaves impeccably with winXP, DOS and Susu Linux so far...not sheevaplug.

usb reset,stop,start made no difference at boot prompt

It was an Lenovo mini optical usb mouse, thinkpad optical travel mouse,draws 20ma @5V only

apt-get install sysfstools got package not found, my /etc/apt/sources.list is:
deb http://ports.ubuntu.com jaunty main restricted universe multiverse
deb http://download.webmin.com/download/repository sarge contrib

I do not have any USB 1.1 devices anymore, from the output of lsusb I think the mouse may be usb1.1
lsusb -vv when mouse plugged in:
Hub Port Status:
   Port 1: 0000.0301 lowspeed power connect

lsusb -vv when empty or ANY flavour of usb2.0 storage device plugged in.
Hub Port Status:
   Port 1: 0000.0100 power

Still struggling, but it could be port only works low speed I suppose.

Cheers

Output of commands suggested from prev post:

Booted with usb2.0 2GB sandisk installed and :

Marvell>> usb stop
stopping USB..
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Marvell>> usb info
1: Hub,  USB Revision 2.0
 - Marvell EHCI
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms


Still with usb sandisk 2GB
--------------------------------

root@debian:~# lsusb -vv

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31.4 ehci_hcd
  iProduct                2 Marvell Orion EHCI
  iSerial                 1 orion-ehci.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled
root@debian:~#

root@debian:~# ls /sys/devices/platform/*ehci* -l
total 0
lrwxrwxrwx 1 root root    0 Oct 15 08:06 driver -> ../../../bus/platform/drivers/orion-ehci
-r--r--r-- 1 root root 4096 Oct 15 08:06 modalias
-r--r--r-- 1 root root 4096 Oct 15 08:06 pools
drwxr-xr-x 2 root root    0 Oct 15 08:06 power
lrwxrwxrwx 1 root root    0 Oct 15 08:04 subsystem -> ../../../bus/platform
-rw-r--r-- 1 root root 4096 Oct 15 08:04 uevent
drwxr-xr-x 6 root root    0 Oct 15 08:04 usb1
root@debian:~#

with USB mouse installed, maybe usb1.1
---------------------------------------------------
root@debian:~# lsusb -vv
hub 1-0:1.0: unable to enumerate USB device on port 1

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.31.4 ehci_hcd
  iProduct                2 Marvell Orion EHCI
  iSerial                 1 orion-ehci.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0301 lowspeed power connect
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled
root@debian:~#





Output trying the ideas you suggested above.




6  Hardware and U-Boot firmware / Hardware / Re: New sheevaplug USB port not working on: October 14, 2009, 11:33:53 AM
I do not have a powered hub.  But my external USB drive is self powered (USB WD 1TB sata drive) so that does not need any power and it cannot see this drive.

I also tried a USB device to laptop IDE drive, nothing.

Does anybody know any commands I can do at the Marvell>> boot prompt to see if I can detect a usb device. As per my earlier post, 'usb start' command sees nothing on the sheev, before linux is even up.


thx
7  Hardware and U-Boot firmware / Hardware / Re: New sheevaplug USB port not working on: October 14, 2009, 06:55:56 AM
Yes I saw it, did not work form me, I also tried with a passive usb hub, nothing.

I also just tried to plug in a usb mouse just to see what happens, seems to detect at least something, unlike storage where it sees nothing, The output from lsusb is below with usb mouse connected.:
root@debian:~# lsusb
hub 1-0:1.0: unable to enumerate USB device on port 1
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

any more ideas ?

Thx so far...

Smiler

Below is the output of 'printenv' at the boot prompt, looks ok to me usb0mode=host:

Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
serverip=10.10.0.2
ipaddr=10.10.0.1
cesvcid=ULULULULULULPPULULULULULDA
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:DF:2D
run_diag=no
bootcmd=nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
arcNumber=2097
bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes

Environment size: 1339/131068 bytes


8  Hardware and U-Boot firmware / Hardware / Re: New sheevaplug USB port not working on: October 14, 2009, 04:06:54 AM
Have you tried 'lsusb' at the Linux command line?

Have you tried a non-storage USB device of any sort?

Rgds

Damon

thx, With lsusb I got 'command not found', so I installed 'lsbutils' package with apt-get and now I get below, with or withour anything plugged in the USB port:

root@debian:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
9  Hardware and U-Boot firmware / Hardware / New sheevaplug USB port not working - solved on: October 13, 2009, 06:35:18 PM
I got mine today and updated it from 2.6.21 to 2.6.22 and then all the way to 2.6.31.4. It boots up ok with just a couple of NAND erros, but I cannot get any USB drive, flash drives or external SATA to work.

If I stop the boot, at the Marvel prompt if I do:

Marvell>> usb start
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Marvell>>

With the OS up,  /dev/sda1 does not exist.

USB stick various sizes, FAT16/32 and manufacturers kingston,sandisk etc also external WD sata USB drive 1TB..nothing shows up.

The Serial port connection to the mini USB port works ok.

Ethermet port also works fine.

My Boot messages file is attached to the post

Any ideas, is it broken ?

Cheers smiler..... newbie
Pages: [1]