I was wondering what the next step should be for debugging my problem.
My Yun was working fine for the past week but suddenly it stopped auto mounting my SD cards. When I ssh in and look at the /mnt directory nothing shows up. I tried different SD cards, reformatting different cards, and even tried a brand new one, but none will auto mount (all fat32 format). My PC can read all the cards fine so I am unsure what the problem is.
I also tried a complete reset (hold wifi button down 30 seconds) but that did not rectify the situation.
I've only had my Yun a few days and so far it has not once mounted my 2GB SD card.
If i SSH into the Yun i can see it as /dev/sda, and in the Yun web interface under mount points it is available if i want to create a new mount point.
The /mnt folder is empty.
I did try:
Create a folder named 'sd' in /mnt.
Create a mount point using the web interface, mounting /dev/sda to /mnt/sd.
I could then browse the SD card using SSH, but uploading a sketch which contains a www folder always shows the error:
Warning: Problem accessing board folder /www/sd
All attempts to access the SD card using a browser have also failed.
I've only had my Yun a few days and so far it has not once mounted my 2GB SD card.
If i SSH into the Yun i can see it as /dev/sda, and in the Yun web interface under mount points it is available if i want to create a new mount point.
The /mnt folder is empty.
Have a look at the system log when you insert the SD-card.
Start or reboot the Yun without the Sd-card.
Open a shell (ssh) on the Yun.
Have a look at the system log
root@Arduino:~# dmesg -c
You will see a lot of messages from booting the Yun.
The -c options clears all the current messages.
Now plug you SD card in and run dmesg again. On my yYun it looks like this
I started by using Windows 8 to format the SD card, i choose exFAT as i thought i'd seen exFAT listed in the available file systems in the web interface under 'Add Mount Point' (i was wrong exFAT is not listed there).
Booted the YUN without the SD card, ran dmesg -c and then inserted the SD card.
dmesg now showed:
I rebooted my PC to PartedMagic and used Parted to format the SD card as FAT32 file system.
Rebooted to Windows 8 and SSH'd into the YUN, inserted the SD card and ran dmesg:
root@Anonduino:~# ls -all /www/
drwxr-xr-x 1 root root 0 Oct 6 10:06 .
drwxr-xr-x 1 root root 0 Jan 1 1970 ..
drwxr-xr-x 2 root root 27 Aug 19 15:22 cgi-bin
-rw-r--r-- 1 root root 436 Jul 30 14:06 index.html
drwxr-xr-x 2 root root 53 Aug 19 15:22 keystore_manager_example
drwxr-xr-x 4 root root 61 Aug 19 15:21 luci-static
lrwxrwxrwx 1 root root 21 Oct 6 10:06 sd -> /mnt/sda1/arduino/www
Finally uploaded a sketch over wifi, the sketch folder contained a folder named www with a few small files in it.
The sketch uploaded and browsing to the YUN's sd folder saw my sketch folder in which were my files.
Denbo:
I was wondering what the next step should be for debugging my problem.
My Yun was working fine for the past week but suddenly it stopped auto mounting my SD cards. When I ssh in and look at the /mnt directory nothing shows up. I tried different SD cards, reformatting different cards, and even tried a brand new one, but none will auto mount (all fat32 format). My PC can read all the cards fine so I am unsure what the problem is.
I also tried a complete reset (hold wifi button down 30 seconds) but that did not rectify the situation.
The Yun has no problem auto mounting a usb drive.
Any advice appreciated.
I got exactly the same problem as Denbo, it was working, and the Linino doesn't detect my card anymore. I made the same tests and resets, it still doesn't detect the SD cards (formatted in FAT32).
Dendo, did you succeed to solve your problem ?
i have the same problem with a usb stick if i do dmesg -c it shows me
[ 683.620000] usb 1-1: USB disconnect, device number 2
[ 690.280000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 690.430000] usb 1-1: New USB device found, idVendor=1f75, idProduct=0817
[ 690.430000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 690.430000] usb 1-1: Product: USB 2.0
[ 690.430000] usb 1-1: Manufacturer: innostor
[ 692.300000] scsi1 : usb-storage 1-1:1.0
[ 693.300000] scsi 1:0:0:0: Direct-Access IS817 innostor 1.00 PQ: 0 ANSI: 6
[ 693.310000] sd 1:0:0:0: [sda] 61440000 512-byte logical blocks: (31.4 GB/29.2 GiB)
Nothing is in the /mnt folder and in the /dev folder is only a folder sda /dev/sda but i cant look into it