ts-7000
[Top] [All Lists]

[ts-7000] Re: USB Problem

To:
Subject: [ts-7000] Re: USB Problem
From: "chentom60" <>
Date: Wed, 04 Oct 2006 23:13:38 -0000
There is not file system. I just used it to read/write files. I plan
to study USB device driver on "Linux Device Driver". There are some
text files in it, but I can not "see" any.

fdisk does not reply anything:

$ fdisk -l /dev/scsi/host0/bus0/target0/lun0
$
$ dmesg
Linux version 2.4.26-vrs1-cirrus-1-2-1-ts8  (gcc
version 3.3.4) #1 Mon Mar 7 095CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 2 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 3 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 root=/dev/mtdblock1
Relocating machine vectors to 0xffff0000
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 28772KB available (1124K code, 293K data, 56K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch 
devfs: boot_options: 0x1
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ enabled
rtc: no TS-5620 RTC detected.
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
about to do sbc_setinfo
Searching for NAND flash...
NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB
3,3V 8-bit)
Scanning device for bad blocks
Using static partition definition
Creating 3 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x00004000 : "TS-BOOTROM"
0x00004000-0x01d04000 : "Linux"
0x01d04000-0x02000000 : "RedBoot"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs: Attempting MTD mount on 31.1, "1f:01"
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 56K
nfs warning: mount version newer than kernel
NFS: mount program didn't pass remote address!
enable_irq(39) unbalanced from c02be47c
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: SMART G2  Model: Dell Memory Key   Rev: 1.04
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
sda: Write Protect is off
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
 I/O error: dev 08:01, sector 2
EXT2-fs: unable to read superblock
yaffs: Attempting MTD mount on 8.1, "08:01"
 I/O error: dev 08:01, sector 0
FAT: unable to read boot sector
 I/O error: dev 08:01, sector 0



--- In  "Yan Seiner" <> wrote:
>
> --- In  "chentom60" <chentom60@> wrote:
> >
> > $  /usr/bin/loadUSB.sh
> >  I/O error: dev 08:01, sector 2
> > EXT2-fs: unable to read superblock
> > yaffs: Attempting MTD mount on 8.1, "08:01"
> >  I/O error: dev 08:01, sector 0
> > FAT: unable to read boot sector
> > mount: Mounting /dev/scsi/host0/bus0/target0/lun0/part1 on /mnt/cf
> > failed: Invalid argument
> >
> 
> Are you sure there's a valid file system on the usb stick?
> 
> what does fdisk say?
> 
> --Yan
>






 
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