ts-7000
[Top] [All Lists]

[ts-7000] Re: ftpd and flash mount problems TS-7200 2.4.26-ts11 TS-Linux

To:
Subject: [ts-7000] Re: ftpd and flash mount problems TS-7200 2.4.26-ts11 TS-Linux embedded on board
From: "melloannapolis" <>
Date: Sun, 23 Jan 2011 01:49:12 -0000
Update: my mount problems were all due to not reading the manual and making 
unwarranted assumptions. linuxforarm-manual.pdf

--- In  "melloannapolis" <> wrote:
>
> Any help you can give me is greatly appreciated - I'm trying to bring up my 
> TS7200 after buying it and leaving it sit unused in antistatic for a couple 
> of years...
> 
> 1)
> How do I start ftpd? There is no init.d script and running it as root 
> produces: "421 Cannot getsockname( STDIN ), errno=88" 
> 
> I think I need ftpd because remote ftp sessions time out and I don't see it 
> running but there is a /usr/bin/ftpd binary. I need ftp because:
> 
> 2)
> I am unable to mount usb thumb drives or boot the CF card. My question for 
> you good people is: does the on-board default kernel support flash drive 
> mounts? I'm sure it does...
> 
> At boot time the 512M CF fails the write test. If I put the card into a 
> windows machine it appears unformatted. It's the only one I have so I'm not 
> reformatting it yet, I got it with the development system so it's supposed to 
> have a boot image on it. Since this didn't work I focused on usb drives.
> 
> I tried mounting a number of known good flash drives of different types. I 
> tried connecting them directly to the board usb ports and also tried them on 
> a powered hub. I get different output depending on the type of drive and if 
> it's on a hub or a card reader but none of them mount.
> 
> dmesg shows they're recognized on insertion but read capacity fails and there 
> are IO errors reading sector 0 so it cannot sense the filesystem type. Mount 
> command:
>      mount /dev/scsi/host0/bus0/target0/lun0/disc /usb
> Adding -t auto doesn't help but of course does produce more output from dmesg.
> 
> fdisk however is always able to get info from the device as follows - In this 
> case the drive is a 2G SD card in a card reader:
> $ fdisk -l
> 
> Disk /dev/scsi/host0/bus0/target0/lun0/disc: 2032 MB, 2032664576 bytes
> 64 heads, 63 sectors/track, 984 cylinders
> Units = cylinders of 4032 * 512 = 2064384 bytes
> 
>                                  Device Boot    Start       End    Blocks   
> Id  System
> /dev/scsi/host0/bus0/target0/lun0/part1               1         984     
> 1983619+   6  FAT16
> $
> 
> 
> The jp command works fine, networking is up and I can write, save and run 
> scripts.
> 
> lastly here is the dmesg output when trying to mount a 2G SD in a card reader 
> right after rebooting (so the modules were being loaded)
> ********
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 3 ports detected
> SCSI subsystem driver Revision: 1.00
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> hub.c: new USB device not_pci-3, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: Generic   Model: STORAGE DEVICE    Rev: 9602
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 3970048 512-byte hdwr sectors (2033 MB)
> sda: Write Protect is off
> Partition check:
>  /dev/scsi/host0/bus0/target0/lun0: p1
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> VFS: Can't find ext2 filesystem on dev sd(8,0).
> jffs2: attempt to mount non-MTD device 08:00
> FAT: bogus logical sector size 0
> VFS: Can't find a valid FAT filesystem on dev 08:00.
> ********
> 
> thanks
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU