Con esto:
mount -t vfat -o sync /dev/sda1 /mnt/pendrive
Me dice esto:
root@OpenWrt:~# mounting /dev/sda7 on /mnt/sda2 failed: Invalid argument
sda7 es mi particion fat32 en ese disco duro
Con el comando "df -h" me muesra la particion ext4 "/dev/sda6" y me indica que esta montada en "mnt/sda1". Con las particiones EXT4 no tengo problema, se montan automaticamente. Pero con Fat32 no hay manera, ni por SSH ni a traves de Block-mount indicandole los parametros.
Este es el resultado de hacer un DMESG, justo despues de haber desconectado el disco duro usb y volviendolo a conectar:root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.10.49 (noltari@skynet) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42068) ) #1 Wed Aug 13 14:45:32 CEST 2014
[ 0.000000] Detected Broadcom 0x6328 CPU revision b0
[ 0.000000] CPU frequency is 320 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] registering 32 GPIOs
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-110.11-2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96328A-1441N1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 802e6ab0, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc:
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 61336k/65536k available (2375k kernel code, 4200k reserved, 631k data, 320k init, 0k highmem)
[ 0.000000] NR_IRQS:256
[ 0.036000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 512
[ 0.048000] NET: Registered protocol family 16
[ 0.288000] registering PCI controller with io_map_base unset
[ 0.300000] bio: create slab <bio-0> at 0
[ 0.308000] PCI host bridge to bus 0000:00
[ 0.312000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[ 0.316000] pci_bus 0000:00: root bus resource [
0x00000000 flags 0x0]
[ 0.320000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.324000] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[ 0.324000] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.324000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.328000] pci 0000:01:00.0: [14e4:a8d8] type 00 class 0x028000
[ 0.328000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[ 0.328000] pci 0000:01:00.0: supports D1 D2
[ 0.328000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.328000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.328000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[ 0.332000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[ 0.336000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.340000] pci 0000:00:00.0: bridge window [mem 0x10f00000-0x10ffffff]
[ 0.344000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 0.348000] Switching to clocksource MIPS
[ 0.356000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 0.364000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[ 0.372000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[ 0.380000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[ 0.388000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[ 0.480000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 0.496000] bcma: bus0: Bus registered
[ 0.504000] NET: Registered protocol family 2
[ 0.508000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.516000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.520000] TCP: Hash tables configured (established 512 bind 512)
[ 0.528000] TCP: reno registered
[ 0.532000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.540000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.544000] NET: Registered protocol family 1
[ 0.548000] PCI: CLS 0 bytes, default 16
[ 0.552000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.572000] msgmni has been set to 119
[ 0.576000] io scheduler noop registered
[ 0.580000] io scheduler deadline registered (default)
[ 0.588000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[ 0.596000] console [ttyS0] enabled, bootconsole disabled
[ 0.612000] m25p80 spi1.0: found mx25l12805d, expected m25p80
[ 0.620000] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[ 0.624000] bcm63xxpart: CFE boot tag found with version 6 and board type 96328A-1441N1
[ 0.632000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.640000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 10ff00
[ 0.648000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length ed0000
[ 0.656000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[ 0.660000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[ 0.668000] bcm63xxpart: Spare partition is offset 5e0004 and length a0fffc
[ 0.676000] 5 bcm63xxpart partitions found on MTD device spi1.0
[ 0.684000] Creating 5 MTD partitions on "spi1.0":
[ 0.688000] 0x000000000000-0x000000010000 : "CFE"
[ 0.696000] 0x000000010100-0x000000120000 : "kernel"
[ 0.700000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.716000] 0x000000120000-0x000000ff0000 : "rootfs"
[ 0.724000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.728000] mtd: partition "rootfs_data" created automatically, ofs=0x5e0000, len=0xa10000
[ 0.740000] 0x0000005e0000-0x000000ff0000 : "rootfs_data"
[ 0.748000] 0x000000ff0000-0x000001000000 : "nvram"
[ 0.756000] 0x000000010000-0x000000ff0000 : "linux"
[ 0.804000] b53_common: found switch: BCM63xx, rev 0
[ 0.808000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.820000] TCP: cubic registered
[ 0.824000] NET: Registered protocol family 17
[ 0.828000] 8021q: 802.1Q VLAN Support v1.8
[ 0.844000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.856000] Freeing unused kernel memory: 320K (80300000 - 80350000)
[ 7.184000] usbcore: registered new interface driver usbfs
[ 7.192000] usbcore: registered new interface driver hub
[ 7.196000] usbcore: registered new device driver usb
[ 7.212000] Button Hotplug driver version 0.4.1
[ 7.308000] SCSI subsystem initialized
[ 7.328000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.336000] ehci-platform: EHCI generic platform driver
[ 7.444000] ehci-platform ehci-platform: EHCI Host Controller
[ 7.448000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 7.456000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[ 7.476000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 7.484000] hub 1-0:1.0: USB hub found
[ 7.488000] hub 1-0:1.0: 1 port detected
[ 7.500000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.504000] ohci-platform ohci-platform: Generic Platform OHCI Controller
[ 7.512000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 7.520000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[ 7.588000] hub 2-0:1.0: USB hub found
[ 7.592000] hub 2-0:1.0: 1 port detected
[ 7.608000] usbcore: registered new interface driver usb-storage
[ 7.620000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/input/input0
[ 7.808000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 8.092000] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 8.108000] scsi0 : usb-storage 1-1:1.0
[ 9.116000] scsi 0:0:0:0: Direct-Access TOSHIBA MK3265GSX H PQ: 0 ANSI: 0
[ 9.136000] sd 0:0:0:0: [sda] 625140335 512-byte logical blocks: (320 GB/298 GiB)
[ 9.144000] sd 0:0:0:0: [sda] Write Protect is off
[ 9.152000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 9.152000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.156000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.168000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.172000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.260000] sda: sda1 < sda5 sda6 sda7 >
[ 9.272000] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.280000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.284000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 12.556000] jffs2: notice: (262) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 68 of xref (0 dead, 53 orphan) found.
[ 15.016000] EXT4-fs (sda1): unable to read superblock
[ 15.024000] EXT4-fs (sda1): unable to read superblock
[ 15.040000] EXT4-fs (sda1): unable to read superblock
[ 16.152000] Adding 1020092k swap on /dev/sda5. Priority:-1 extents:1 across:1020092k
[ 19.360000] EXT4-fs (sda6): recovery complete
[ 19.364000] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 20.504000] NET: Registered protocol family 10
[ 20.580000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 20.648000] nf_conntrack version 0.5.0 (963 buckets, 3852 max)
[ 20.684000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 20.752000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 20.760000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 20.808000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 20.844000] lib80211: common routines for IEEE802.11 drivers
[ 20.848000] lib80211_crypt: registered algorithm 'NULL'
[ 20.856000] lib80211_crypt: registered algorithm 'CCMP'
[ 20.856000] lib80211_crypt: registered algorithm 'TKIP'
[ 20.864000] lib80211_crypt: registered algorithm 'WEP'
[ 21.000000] xt_time: kernel timezone is -0000
[ 21.012000] usbcore: registered new interface driver zd1201
[ 21.176000] cfg80211: Calling CRDA to update world regulatory domain
[ 21.192000] usbcore: registered new interface driver p54usb
[ 21.200000] cfg80211: World regulatory domain updated:
[ 21.204000] cfg80211: DFS Master region: unset
[ 21.208000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 21.220000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.228000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.236000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.244000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.252000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 21.260000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 21.268000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 21.276000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 21.292000] PPP generic driver version 2.4.2
[ 21.300000] NET: Registered protocol family 24
[ 21.332000] usbcore: registered new interface driver rt73usb
[ 21.352000] usbcore: registered new interface driver rtl8187
[ 21.380000] usbcore: registered new interface driver usb8xxx
[ 21.412000] usbcore: registered new interface driver zd1211rw
[ 21.512000] usbcore: registered new interface driver brcmfmac
[ 21.580000] FAT-fs (sda7): IO charset iso8859-1 not found
[ 21.640000] usbcore: registered new interface driver carl9170
[ 21.672000] usbcore: registered new interface driver rt2500usb
[ 21.704000] brcmsmac bcma0:0: mfg 4bf core 812 rev 23 class 0 irq 31
[ 21.716000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 21.736000] usbcore: registered new interface driver rt2800usb
[ 21.784000] usbcore: registered new interface driver ath9k_htc
[ 21.832000] usbcore: registered new interface driver rtl8192cu
[ 39.672000] device eth0.1 entered promiscuous mode
[ 39.676000] device eth0 entered promiscuous mode
[ 39.808000] br-lan: port 1(eth0.1) entered forwarding state
[ 39.812000] br-lan: port 1(eth0.1) entered forwarding state
[ 41.816000] br-lan: port 1(eth0.1) entered forwarding state
[ 42.996000] brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[ 43.004000] brcmsmac bcma0:0: brcms_ops_config: change power-save mode: false (implement)
[ 43.020000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 48.436000] wlan0: authenticate with 88:03:55:ac:14:a3
[ 48.440000] wlan0: send auth to 88:03:55:ac:14:a3 (try 1/3)
[ 48.448000] wlan0: authenticated
[ 48.472000] wlan0: associating with AP with corrupt beacon and probe response
[ 48.480000] wlan0: associate with 88:03:55:ac:14:a3 (try 1/3)
[ 48.496000] wlan0: RX AssocResp from 88:03:55:ac:14:a3 (capab=0x431 status=0 aid=16)
[ 48.504000] brcmsmac bcma0:0: brcmsmac: brcms_ops_bss_info_changed: associated
[ 48.512000] brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[ 48.520000] wlan0: associated
[ 48.520000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 405.068000] FAT-fs (sda7): IO charset iso8859-1 not found
[ 444.932000] FAT-fs (sda7): IO charset iso8859-1 not found
[ 690.548000] usb 1-1: USB disconnect, device number 2
[ 695.528000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 695.676000] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 695.680000] scsi1 : usb-storage 1-1:1.0
[ 696.692000] scsi 1:0:0:0: Direct-Access TOSHIBA MK3265GSX H PQ: 0 ANSI: 0
[ 696.708000] sd 1:0:0:0: [sdb] 625140335 512-byte logical blocks: (320 GB/298 GiB)
[ 696.716000] sd 1:0:0:0: [sdb] Write Protect is off
[ 696.720000] sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 696.720000] sd 1:0:0:0: [sdb] No Caching mode page found
[ 696.728000] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 696.736000] sd 1:0:0:0: [sdb] No Caching mode page found
[ 696.744000] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 696.832000] sdb: sdb1 < sdb5 sdb6 sdb7 >
[ 696.856000] sd 1:0:0:0: [sdb] No Caching mode page found
[ 696.860000] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 696.868000] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 697.740000] EXT4-fs (sdb1): unable to read superblock
[ 697.748000] EXT4-fs (sdb1): unable to read superblock
[ 697.752000] EXT4-fs (sdb1): unable to read superblock
root@OpenWrt:~#