View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#385
Thanks for this exemplary report. You did comparative tests, with a new device not yet seen here (N86), you bothered to go through dmesg log and pasted important parts (though actual hostmode happened some few lines earlier). I'm glad to help.

Originally Posted by cloud596 View Post
sigh. I ve problem cant copy file from n900 to flashdisk which is FAT32, nor filebox. thats wierd . cause yesterday I can copy file from n900 t other usb flash which is same format.
Are you sure they were absolutely same format (see below)?
If they are, then we'd need the dmesg from both the working and the non-working case, with a bit more header (maybe 50 lines more), to tell exactly what failed for you.
Originally Posted by cloud596 View Post
should I mount with this mount /dev/sda1 /media/FAT32.

same happen while I plug my N86. but cant copy from n900 to N86.

but FAT format work flawlessly. is this happen only to me. or cause I use modification usb adapter fm to fm which is taken from usb adapter fm to m.
No, your adapter seems ok, see below
Originally Posted by cloud596 View Post
oh anyway how to make it become unread only. caus in filebox acces permission denied.

what it is mean ?
[ 568.285247] usb 1-1: Product: N86 8MP
this is a clear indication hostmode worked correctly and conected to your N86.
So basically for h-e-n hostmode this is 100% success. The above line has been defined as a flag about which problems belong to this thread, and which ones are better posted to the http://talk.maemo.org/showthread.php?t=65570 problems thread. Anyway, while I'm at it, I'll continue here for this time
Originally Posted by cloud596 View Post
[ 568.285278] usb 1-1: Manufacturer: Nokia
[ 568.285278] usb 1-1: SerialNumber: IMEI has been removed by me.
[ 568.285308] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 568.285339] hub 1-0:1.0: port 1 enable change, status 00000503
[ 573.288787] usb-storage: device scan complete
[ 573.304138] scsi 3:0:0:0: Direct-Access Nokia S60 1.0 PQ: 0 ANSI: 0
[ 573.304534] scsi 3:0:0:1: Direct-Access Nokia S60 1.0 PQ: 0 ANSI: 0
[ 573.314086] sd 3:0:0:0: [sda] 15728640 512-byte hardware sectors: (8.05 GB/7.50 GiB)
[ 573.315093] sd 3:0:0:0: [sda] Write Protect is off
[ 573.315093] sd 3:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 573.315124] sd 3:0:0:0: [sda] Assuming drive cache: write through
[ 573.319854] sd 3:0:0:0: [sda] 15728640 512-byte hardware sectors: (8.05 GB/7.50 GiB)
[ 573.320312] sd 3:0:0:0: [sda] Write Protect is off
[ 573.320343] sd 3:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 573.320373] sd 3:0:0:0: [sda] Assuming drive cache: write through
[ 573.320373] sda: sda1
[ 573.636535] sd 3:0:0:0: [sda] Attached SCSI removable disk
N900 found storage "disk" sda (with allegedly one partition sda1)
Originally Posted by cloud596 View Post
[ 573.657104] sd 3:0:0:1: [sdb] 15564800 512-byte hardware sectors: (7.96 GB/7.42 GiB)
[ 573.657714] sd 3:0:0:1: [sdb] Write Protect is off
[ 573.657745] sd 3:0:0:1: [sdb] Mode Sense: 03 00 00 00
[ 573.657775] sd 3:0:0:1: [sdb] Assuming drive cache: write through
[ 573.660644] sd 3:0:0:1: [sdb] 15564800 512-byte hardware sectors: (7.96 GB/7.42 GiB)
[ 573.661010] sd 3:0:0:1: [sdb] Write Protect is off
[ 573.661041] sd 3:0:0:1: [sdb] Mode Sense: 03 00 00 00
[ 573.661071] sd 3:0:0:1: [sdb] Assuming drive cache: write through
[ 573.661071] sdb: sdb1
[ 573.914489] sd 3:0:0:1: [sdb] Attached SCSI removable disk
N900 found storage "disk" sdb (and sdb1 partition?)
Originally Posted by cloud596 View Post
[ 853.012542] FAT: Filesystem error (dev sda1)
[ 853.012573] fat_get_cluster: invalid cluster chain (i_pos 0)
[ 853.012573] File system has been set read-only
[ 855.430023] FAT: Filesystem error (dev sda1)
[ 855.430053] fat_get_cluster: invalid cluster chain (i_pos 0)
[ 855.430603] FAT: Filesystem error (dev sdb1)
[ 855.430633] fat_get_cluster: invalid cluster chain (i_pos 0)
Now when trying to access sda1 and sdb1, the FAT filesystem driver found there's a problem on the disk, and set it read only.
Your N86 *could* have a different format, not FAT. E.G. NTFS might also be possible.
Also:
Sometimes things like this can be seen when you have superfloppy format instead of partition table. You might try to mount /dev/sda instead of /dev/sda1. Before you do, make sure you got backup of the N86, as mounting a partitioned drive as a superfloppy is dangerous.

First of all, and best test you can do:
If you can access N86 flawlessly from your linux PC, then do a mount and a df -h on the PC, after you connected (and mounted?) the N86. In mount's output you should see how it's mounted there, and you can use same type of mount command and parameters for mounting the N86 on N900.


Same applies for your flashdisks. If you can see them in dmesg, but they fail to mount, do the suggested tests, and report there: http://talk.maemo.org/showthread.php?t=65570. That thread is about problems with mounting etc.

If you don't see a line like
[ 568.285278] usb 1-1: Manufacturer: xxxx
for any of your USB devices, then report here, and include the dmesg log for the full process (you can do a dmesg before you start h-e-n, and write down the timestamp of the last line. Everything after that line, printed by h-e-n faulty connect, should go here). Please also include a detailed description what you did, in which sequence (like "plugged in memstick ACMEstore to adaper and N900; started h-e-n GUI, touched HS button, after 5 seconds I did...")

Thanks you for the report, good luck
jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2010-11-17 at 16:06.
 

The Following 13 Users Say Thank You to joerg_rw For This Useful Post: