![]() |
![]() |
#211 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
А пакет kmod-fs-vfat установлен?
|
![]() |
![]() |
![]() |
#212 |
Member
Регистрация: 20.11.2013
Адрес: Брянск
Сообщений: 57
Вес репутации: 0 ![]() |
![]()
флешка определяется системой sda,sda1. Пробовал напрямую и через USB хаб
установлен, а на команду отвечает: invalid argument Последний раз редактировалось rapid; 02.10.2014 в 10:07. |
![]() |
![]() |
![]() |
#213 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
А если без указания FS
mount /dev/sda1 /mnt |
![]() |
![]() |
![]() |
#214 |
Member
Регистрация: 20.11.2013
Адрес: Брянск
Сообщений: 57
Вес репутации: 0 ![]() |
![]()
root@OpenWrt:~# mount /dev/sda1 /mnt
mount: mounting /dev/sda1 on /mnt failed: Invalid argument Вот dmesg: Код:
[ 0.000000] MyLoader: sysp=444ba8b5, boardp=5fbcaeef, parts=ebc66edc [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9330 rev 1 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 803109b0, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 28784k/32768k available (2243k kernel code, 3984k reserved, 599k data, 228k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] NET: Registered protocol family 16 [ 0.100000] MIPS: machine is TP-LINK TL-MR3020 [ 0.350000] bio: create slab <bio-0> at 0 [ 0.360000] Switching to clocksource MIPS [ 0.370000] NET: Registered protocol family 2 [ 0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.370000] TCP: Hash tables configured (established 512 bind 512) [ 0.380000] TCP: reno registered [ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.400000] PCI: CLS 0 bytes, default 32 [ 0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.440000] msgmni has been set to 56 [ 0.440000] io scheduler noop registered [ 0.440000] io scheduler deadline registered (default) [ 0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.450000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART [ 0.460000] console [ttyATH0] enabled, bootconsole disabled [ 0.470000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.480000] m25p80 spi0.0: found s25sl032p, expected m25p80 [ 0.480000] m25p80 spi0.0: s25sl032p (4096 Kbytes) [ 0.490000] 5 tp-link partitions found on MTD device spi0.0 [ 0.490000] Creating 5 MTD partitions on "spi0.0": [ 0.500000] 0x000000000000-0x000000020000 : "u-boot" [ 0.510000] 0x000000020000-0x0000001227bc : "kernel" [ 0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.520000] 0x0000001227bc-0x0000003f0000 : "rootfs" [ 0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.540000] mtd: device 2 (rootfs) set to be root filesystem [ 0.550000] 1 squashfs-split partitions found on MTD device rootfs [ 0.550000] 0x0000003a0000-0x0000003f0000 : "rootfs_data" [ 0.560000] 0x0000003f0000-0x000000400000 : "art" [ 0.570000] 0x000000020000-0x0000003f0000 : "firmware" [ 0.590000] libphy: ag71xx_mdio: probed [ 1.140000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] [ 1.150000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.160000] TCP: cubic registered [ 1.160000] NET: Registered protocol family 17 [ 1.160000] 8021q: 802.1Q VLAN Support v1.8 [ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.190000] Freeing unused kernel memory: 228K (80327000 - 80360000) [ 4.130000] usbcore: registered new interface driver usbfs [ 4.140000] usbcore: registered new interface driver hub [ 4.140000] usbcore: registered new device driver usb [ 4.160000] SCSI subsystem initialized [ 4.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.180000] ehci-platform: EHCI generic platform driver [ 4.180000] ehci-platform ehci-platform: EHCI Host Controller [ 4.190000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 4.200000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 4.220000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 4.220000] hub 1-0:1.0: USB hub found [ 4.220000] hub 1-0:1.0: 1 port detected [ 4.230000] uhci_hcd: USB Universal Host Controller Interface driver [ 4.240000] usbcore: registered new interface driver usb-storage [ 4.680000] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 4.830000] hub 1-1:1.0: USB hub found [ 4.830000] hub 1-1:1.0: 4 ports detected [ 5.110000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform [ 5.240000] usb-storage 1-1.2:1.0: USB Mass Storage device detected [ 5.240000] scsi0 : usb-storage 1-1.2:1.0 [ 6.430000] scsi 0:0:0:0: Direct-Access ADATA USB Flash Drive 1100 PQ: 0 ANSI: 4 [ 6.440000] sd 0:0:0:0: [sda] 7826688 512-byte logical blocks: (4.00 GB/3.73 GiB) [ 6.440000] sd 0:0:0:0: [sda] Write Protect is off [ 6.450000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 6.450000] sd 0:0:0:0: [sda] No Caching mode page found [ 6.450000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 6.460000] sd 0:0:0:0: [sda] No Caching mode page found [ 6.470000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 6.480000] sda: sda1 [ 6.480000] sd 0:0:0:0: [sda] No Caching mode page found [ 6.490000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 6.490000] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 8.310000] jffs2: notice: (339) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 17 of xref (0 dead, 4 orphan) found. [ 8.360000] jffs2: notice: (336) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 17 of xref (0 dead, 4 orphan) found. [ 10.830000] NET: Registered protocol family 10 [ 10.860000] nf_conntrack version 0.5.0 (453 buckets, 1812 max) [ 10.870000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.890000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 10.900000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 10.910000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.940000] usbcore: registered new interface driver usbserial [ 10.950000] usbcore: registered new interface driver usbserial_generic [ 10.960000] usbserial: USB Serial support registered for generic [ 10.980000] xt_time: kernel timezone is -0000 [ 11.020000] cfg80211: Calling CRDA to update world regulatory domain [ 11.020000] cfg80211: World regulatory domain updated: [ 11.030000] cfg80211: DFS Master region: unset [ 11.030000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 11.040000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 11.050000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 11.060000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 11.060000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 11.070000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 11.080000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 11.090000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 11.100000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 11.180000] PPP generic driver version 2.4.2 [ 11.190000] NET: Registered protocol family 24 [ 11.230000] usbcore: registered new interface driver option [ 11.230000] usbserial: USB Serial support registered for GSM modem (1-port) [ 11.270000] ath: EEPROM regdomain: 0x0 [ 11.270000] ath: EEPROM indicates default country code should be used [ 11.270000] ath: doing EEPROM country->regdmn map search [ 11.270000] ath: country maps to regdmn code: 0x3a [ 11.270000] ath: Country alpha2 being used: US [ 11.270000] ath: Regpair used: 0x3a [ 11.280000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 11.290000] cfg80211: Calling CRDA for country: US [ 11.300000] cfg80211: Regulatory domain changed to country: US [ 11.300000] cfg80211: DFS Master region: FCC [ 11.300000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 11.310000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A) [ 11.320000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A) [ 11.330000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s) [ 11.340000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 11.350000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 11.350000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 16.460000] FAT-fs (sda1): codepage cp437 not found [ 19.920000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 19.920000] device eth0 entered promiscuous mode [ 19.940000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 20.390000] eth0: link up (100Mbps/Full duplex) [ 20.390000] br-lan: port 1(eth0) entered forwarding state [ 20.400000] br-lan: port 1(eth0) entered forwarding state [ 20.400000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 20.420000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 22.400000] br-lan: port 1(eth0) entered forwarding state |
![]() |
![]() |
![]() |
#215 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Папка /mnt создана?
Еще нужно установить пакет kmod-nls-cp437 |
![]() |
![]() |
![]() |
#216 |
Member
Регистрация: 20.11.2013
Адрес: Брянск
Сообщений: 57
Вес репутации: 0 ![]() |
![]()
папка /mnt создана, а вот пакет не установлен (только kmod-nls-base). Буду собирать отдельно
|
![]() |
![]() |
![]() |
#217 |
Member
Регистрация: 23.04.2014
Сообщений: 63
Вес репутации: 0 ![]() |
![]() |
![]() |
![]() |
![]() |
#218 |
Junior Member
Регистрация: 30.09.2014
Сообщений: 13
Вес репутации: 0 ![]() |
![]()
не могу отформатировать флешку((
root@OpenWrt:~# mkfs.ext4 /dev/sda -ash: mkfs.ext4: not found появилась еще проблемка root@OpenWrt:~# mount -t ext4 /dev/sda1 /mnt/usb -o rw,sync mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument Вот что имеем: root@OpenWrt:~# fdisk -l Disk /dev/mtdblock0: 0 MB, 131072 bytes 255 heads, 63 sectors/track, 0 cylinders, total 256 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock1: 1 MB, 1036288 bytes 255 heads, 63 sectors/track, 0 cylinders, total 2024 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock2: 2 MB, 2960896 bytes 255 heads, 63 sectors/track, 0 cylinders, total 5783 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock3: 1 MB, 1376256 bytes 255 heads, 63 sectors/track, 0 cylinders, total 2688 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock4: 0 MB, 65536 bytes 255 heads, 63 sectors/track, 0 cylinders, total 128 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock5: 3 MB, 3997696 bytes 255 heads, 63 sectors/track, 0 cylinders, total 7808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/sda: 4026 MB, 4026531840 bytes 124 heads, 62 sectors/track, 1022 cylinders, total 7864320 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x2c4bfd2a Device Boot Start End Blocks Id System /dev/sda1 * 133120 7864319 3865600 83 Linux /dev/sda2 2048 133119 65536 82 Linux swap / Solaris Последний раз редактировалось LostInEcho; 06.10.2014 в 16:55. |
![]() |
![]() |
![]() |
#219 |
Senior Member
Регистрация: 05.01.2013
Адрес: Беларусь
Сообщений: 241
Вес репутации: 634 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Предварительно создав папку и примонтировав
mkdir -p /mnt/sda1 mount -t ext4 /dev/sda1 /mnt/sda1 -o rw,sync форматируем mkfs.ext4 /dev/sda1
__________________
Моя солянка на основе TL-MR3020. |
![]() |
![]() |
![]() |
#220 |
Member
Регистрация: 20.11.2013
Адрес: Брянск
Сообщений: 57
Вес репутации: 0 ![]() |
![]()
Скомпилировал прошивку с этим пакетом, та же проблема
Перечень пакетов: Код:
base-files - 156-r42165 block-mount - 2014-06-22-e0430f5c62f367e5a8e02755412977b02c3fc45e busybox - 1.22.1-2 chat - 2.4.6-2 comgt - 0.32-22 dnsmasq - 2.71-3 dropbear - 2014.65-1 firewall - 2014-08-11a fstools - 2014-06-22-e0430f5c62f367e5a8e02755412977b02c3fc45e hostapd-common - 2014-06-03-1 ip6tables - 1.4.21-1 iptables - 1.4.21-1 iw - 3.15-1 iwinfo - 50 jshn - 2014-07-16-bd388d2b6c2c151bf513c1e449417d18ce02d10b jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9 kernel - 3.10.49-1-dbf3129fc00fae28219b9b4740d294ba kmod-ath - 3.10.49+2014-05-22-1 kmod-ath9k - 3.10.49+2014-05-22-1 kmod-ath9k-common - 3.10.49+2014-05-22-1 kmod-cfg80211 - 3.10.49+2014-05-22-1 kmod-crypto-aes - 3.10.49-1 kmod-crypto-arc4 - 3.10.49-1 kmod-crypto-core - 3.10.49-1 kmod-fs-vfat - 3.10.49-1 kmod-gpio-button-hotplug - 3.10.49-1 kmod-ip6tables - 3.10.49-1 kmod-ipt-conntrack - 3.10.49-1 kmod-ipt-core - 3.10.49-1 kmod-ipt-nat - 3.10.49-1 kmod-ipt-nathelper - 3.10.49-1 kmod-ipv6 - 3.10.49-1 kmod-ledtrig-usbdev - 3.10.49-1 kmod-lib-crc-ccitt - 3.10.49-1 kmod-mac80211 - 3.10.49+2014-05-22-1 kmod-nls-base - 3.10.49-1 kmod-nls-cp437 - 3.10.49-1 kmod-ppp - 3.10.49-1 kmod-pppoe - 3.10.49-1 kmod-pppox - 3.10.49-1 kmod-scsi-core - 3.10.49-1 kmod-slhc - 3.10.49-1 kmod-usb-core - 3.10.49-1 kmod-usb-serial - 3.10.49-1 kmod-usb-serial-option - 3.10.49-1 kmod-usb-serial-wwan - 3.10.49-1 kmod-usb-storage - 3.10.49-1 kmod-usb-uhci - 3.10.49-1 kmod-usb2 - 3.10.49-1 libblobmsg-json - 2014-07-16-bd388d2b6c2c151bf513c1e449417d18ce02d10b libc - 0.9.33.2-1 libgcc - 4.8-linaro-1 libip4tc - 1.4.21-1 libip6tc - 1.4.21-1 libiwinfo - 50 libjson-c - 0.11-2 libjson-script - 2014-07-16-bd388d2b6c2c151bf513c1e449417d18ce02d10b libnl-tiny - 0.1-3 libopenssl - 1.0.1i-1 libpcre - 8.35-2 libpthread - 0.9.33.2-1 librt - 0.9.33.2-1 libubox - 2014-07-16-bd388d2b6c2c151bf513c1e449417d18ce02d10b libubus - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f libuci - 2014-04-11.1-1 libxtables - 1.4.21-1 mtd - 20 netifd - 2014-08-13-732074385389b1bb766a0b09b967d6883c357813 odhcp6c - 2014-07-21-67b311ab81736b35858664219d345844ab08fcc7 odhcpd - 2014-08-13-f41da55f11f06361e23f11a87f179aa56565c106 opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7 ppp - 2.4.6-2 procd - 2014-07-30-35e01a9601292b2f609e65c2ddb3990cba8f378e swconfig - 10 uboot-envtools - 2014.07-1 ubox - 2014-05-30-c3d4118eee505f41c4d20a87f326479530837569 ubus - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f ubusd - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f uci - 2014-04-11.1-1 wpad-mini - 2014-06-03-1 zlib - 1.2.8-1 |
![]() |
![]() |
![]() |
Здесь присутствуют: 9 (пользователей: 0 , гостей: 9) | |
Опции темы | Поиск в этой теме |
Опции просмотра | |
|
|