-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have been working to get OpenWRT working on a Buffalo WZR-HP-AG300H
router, but am having difficulty getting USB drives to mount. I have
tried multiple USB drives in multiple formats. Below you will find the
errors I am receiving when I attempt to mount a attached USB, the logs
when I attach a USB drive, my fstab configuration, my installed
packages, and my lsmod settings. I would appreciate any help in
getting the router to mount USB's. I am using a custom image built for
the Commotion Project which is pinned to the OpenWRT trunk @31639.

Seamus 2e


<pre>
root@commotion-14113118:~# ls /mnt
usb

root@commotion-14113118:~# ls /mnt/usb

root@commotion-14113118:~# mount -t vfat /dev/sda1 /mnt/usb
mount: mounting /dev/sda1 on /mnt/usb failed: No such device

root@commotion-14113118:~# mount /dev/sda1 /mnt/usb
mount: mounting /dev/sda1 on /mnt/usb failed: Invalid argument
</pre>


<pre>
root@commotion-14113118:/# logread -f
Sep  9 01:34:56 commotion-14113118 kern.info kernel: [35544.700000]
usb 1-1: new high-speed USB device number 14 using ehci-platform
Sep  9 01:34:56 commotion-14113118 kern.info kernel: [35544.850000]
scsi12 : usb-storage 1-1:1.0
Sep  9 01:34:57 commotion-14113118 kern.notice kernel: [35545.850000]
scsi 12:0:0:0: Direct-Access      FLASH   Drive SK_USB20   1.00 PQ: 0
ANSI: 2
Sep  9 01:34:57 commotion-14113118 kern.notice kernel: [35545.850000]
sd 12:0:0:0: Attached scsi generic sg0 type 0
Sep  9 01:34:57 commotion-14113118 kern.notice kernel: [35545.860000]
sd 12:0:0:0: [sda] 1019648 512-byte logical blocks: (522 MB/497 MiB)
Sep  9 01:34:57 commotion-14113118 kern.notice kernel: [35545.870000]
sd 12:0:0:0: [sda] Write Protect is off
Sep  9 01:34:57 commotion-14113118 kern.debug kernel: [35545.880000]
sd 12:0:0:0: [sda] Mode Sense: 03 00 00 00
Sep  9 01:34:57 commotion-14113118 kern.err kernel: [35545.880000] sd
12:0:0:0: [sda] No Caching mode page present
Sep  9 01:34:57 commotion-14113118 kern.err kernel: [35545.880000] sd
12:0:0:0: [sda] Assuming drive cache: write through
Sep  9 01:34:57 commotion-14113118 kern.err kernel: [35545.890000] sd
12:0:0:0: [sda] No Caching mode page present
Sep  9 01:34:57 commotion-14113118 kern.err kernel: [35545.900000] sd
12:0:0:0: [sda] Assuming drive cache: write through
Sep  9 01:34:57 commotion-14113118 kern.info kernel: [35545.910000]
sda: sda1
Sep  9 01:34:57 commotion-14113118 kern.err kernel: [35545.910000] sd
12:0:0:0: [sda] No Caching mode page present
Sep  9 01:34:57 commotion-14113118 kern.err kernel: [35545.920000] sd
12:0:0:0: [sda] Assuming drive cache: write through
Sep  9 01:34:57 commotion-14113118 kern.notice kernel: [35545.930000]
sd 12:0:0:0: [sda] Attached SCSI removable disk
Sep  9 01:34:57 commotion-14113118 user.notice fstab: mount: mounting
/dev/sda1 on /mnt/usb failed: Invalid argument
Sep  9 01:34:58 commotion-14113118 user.crit mountd[1922]: new mount :
Disc-A1 -> sda1 (FAT)
Sep  9 01:34:58 commotion-14113118 user.crit mountd[1922]: mounting
/tmp/run/mountd/sda1
Sep  9 01:34:58 commotion-14113118 user.crit mountd[11294]: mount -t
vfat -o rw,uid=1000,gid=1000 /dev/sda1 /tmp/run/mountd/sda1
Sep  9 01:34:58 commotion-14113118 user.crit mountd[1922]: ---------->
mount ret = 255
</pre>


/etc/config/fstab
<pre>
config global automount
        option from_fstab 1
        option anon_mount 1

config global autoswap
        option from_fstab 1
        option anon_swap 0

config mount
        option target /mnt/usb
        option device /dev/sda1
                option fstype auto
        option options  rw,sync
        option enabled 1
        option enabled_fsck 0


config swap
        option device   /dev/sda2
        option enabled  0

</pre>


<pre>
root@commotion-14113118:/# opkg list-installed
babeld - 1.3.2-1
base-files - 107-r31639
base-files-network - 4
blkid - 2.21.1-1
block-mount - 0.2.0-8
bridge - 1.5-1
busybox - 1.19.4-1
collectd - 4.10.7-2
collectd-mod-conntrack - 4.10.7-2
collectd-mod-cpu - 4.10.7-2
collectd-mod-df - 4.10.7-2
collectd-mod-exec - 4.10.7-2
collectd-mod-interface - 4.10.7-2
collectd-mod-iwinfo - 4.10.7-2
collectd-mod-load - 4.10.7-2
collectd-mod-memory - 4.10.7-2
collectd-mod-network - 4.10.7-2
collectd-mod-olsrd - 4.10.7-2
collectd-mod-processes - 4.10.7-2
collectd-mod-rrdtool - 4.10.7-2
collectd-mod-uptime - 4.10.7-2
collectd-mod-vmem - 4.10.7-2
commotionbase - 1
crda - 1.1.2-1
dnsmasq - 2.59-3
dropbear - 2011.54-2
etherwake - 1.09-3
firewall - 2-49
freifunk-firewall - 2
freifunk-gwcheck - 1
freifunk-p2pblock - 1
freifunk-policyrouting - 1
freifunk-watchdog - 8
horst - 3.0-1
hotplug2 - 1.0-beta-4
ip - 3.2.0-2
ip6tables - 1.4.10-4
iptables - 1.4.10-4
iptables-mod-conntrack-extra - 1.4.10-4
iptables-mod-filter - 1.4.10-4
iptables-mod-ipopt - 1.4.10-4
iptables-mod-ipp2p - 1.42-3
iptables-mod-nat-extra - 1.4.10-4
ipv6calc - 0.93.1-1
iw - 3.3-1
iwinfo - 33
jshn - 2011-11-17-f565a7af429bd2d5fa4db9196724bee42d1f597b
kernel - 3.3.4-1-c49e6775c7605d517d35898062fcb9ab
kmod-ath - 3.3.4+2012-04-17-2
kmod-ath9k - 3.3.4+2012-04-17-2
kmod-ath9k-common - 3.3.4+2012-04-17-2
kmod-cfg80211 - 3.3.4+2012-04-17-2
kmod-crypto-aes - 3.3.4-1
kmod-crypto-arc4 - 3.3.4-1
kmod-crypto-core - 3.3.4-1
kmod-fs-autofs4 - 3.3.4-1
kmod-gpio-button-hotplug - 3.3.4-1
kmod-ide-core - 3.3.4-1
kmod-ide-generic - 3.3.4-1
kmod-ide-generic-old - 3.3.4-1
kmod-ifb - 3.3.4-1
kmod-ip6tables - 3.3.4-1
kmod-ipip - 3.3.4-1
kmod-ipt-compat-xtables - 3.3.4+1.42-3
kmod-ipt-conntrack - 3.3.4-1
kmod-ipt-conntrack-extra - 3.3.4-1
kmod-ipt-core - 3.3.4-1
kmod-ipt-filter - 3.3.4-1
kmod-ipt-ipopt - 3.3.4-1
kmod-ipt-ipp2p - 3.3.4+1.42-3
kmod-ipt-nat - 3.3.4-1
kmod-ipt-nat-extra - 3.3.4-1
kmod-ipt-nathelper - 3.3.4-1
kmod-iptunnel4 - 3.3.4-1
kmod-ipv6 - 3.3.4-1
kmod-leds-gpio - 3.3.4-1
kmod-ledtrig-default-on - 3.3.4-1
kmod-ledtrig-netdev - 3.3.4-1
kmod-ledtrig-timer - 3.3.4-1
kmod-lib-crc-ccitt - 3.3.4-1
kmod-lib-textsearch - 3.3.4-1
kmod-mac80211 - 3.3.4+2012-04-17-2
kmod-nls-base - 3.3.4-1
kmod-ppp - 3.3.4-1
kmod-pppoe - 3.3.4-1
kmod-sched - 3.3.4-1
kmod-scsi-core - 3.3.4-1
kmod-scsi-generic - 3.3.4-1
kmod-trelay - 3.3.4+0.1-1
kmod-tun - 3.3.4-1
kmod-usb-core - 3.3.4-1
kmod-usb-ohci - 3.3.4-1
kmod-usb-storage - 3.3.4-1
kmod-usb-storage-extras - 3.3.4-1
kmod-usb-uhci - 3.3.4-1
kmod-usb2 - 3.3.4-1
kmod-wdt-ath79 - 3.3.4-1
libblkid - 2.21.1-1
libblobmsg-json - 2011-11-17-f565a7af429bd2d5fa4db9196724bee42d1f597b
libc - 0.9.33-107
libcyassl - 1.6.5-1
libgcc - 4.6-linaro-107
libip4tc - 1.4.10-4
libip6tc - 1.4.10-4
libiwinfo - 33
libiwinfo-lua - 33
libjson - 0.9-2
libltdl - 2.4-1
liblua - 5.1.4-8
libncurses - 5.7-5
libnl-tiny - 0.1-3
libpthread - 0.9.33-107
librrd1 - 1.0.50-2
librt - 0.9.33-107
libubox - 2011-11-17-f565a7af429bd2d5fa4db9196724bee42d1f597b
libubus - 2012-05-06-a204ae358be1d5e0bb3a56bd54980851f553588e
libubus-lua - 2012-05-06-a204ae358be1d5e0bb3a56bd54980851f553588e
libuci - 2012-03-28.1-1
libuci-lua - 2012-03-28.1-1
libuuid - 2.21.1-1
libxtables - 1.4.10-4
lua - 5.1.4-8
luci - trunk+svn9067-1
luci-app-firewall - trunk+svn9067-1
luci-app-freifunk-policyrouting - trunk+svn9067-1
luci-app-ntpc - trunk+svn9067-1
luci-app-olsr - trunk+svn9067-1
luci-app-olsr-services - trunk+svn9067-1
luci-app-olsr-viz - trunk+svn9067-1
luci-app-p2pblock - trunk+svn9067-1
luci-app-qos - trunk+svn9067-1
luci-app-splash - trunk+svn9067-1
luci-app-statistics - trunk+svn9067-1
luci-app-wol - trunk+svn9067-1
luci-commotion - 1-1
luci-i18n-english - trunk+svn9067-1
luci-lib-core - trunk+svn9067-1
luci-lib-ipkg - trunk+svn9067-1
luci-lib-lmo - trunk+svn9067-1
luci-lib-nixio - trunk+svn9067-1
luci-lib-sys - trunk+svn9067-1
luci-lib-web - trunk+svn9067-1
luci-mod-admin-core - trunk+svn9067-1
luci-mod-admin-full - trunk+svn9067-1
luci-proto-core - trunk+svn9067-1
luci-proto-ppp - trunk+svn9067-1
luci-proto-relay - trunk+svn9067-1
luci-sgi-cgi - trunk+svn9067-1
luci-sgi-uhttpd - trunk+svn9067-1
luci-ssl - trunk+svn9067-1
luci-theme-base - trunk+svn9067-1
luci-theme-bootstrap - trunk+svn9067-1
luci-theme-commotion - 1-1
luci-theme-openwrt - trunk+svn9067-1
mountd - 0.1-4
mtd - 17
n2n - 3875-4
netcat - 0.7.1-2
ntpclient - 2007_365-4
olsrd - 0.6.3-3
olsrd-mod-arprefresh - 0.6.3-3
olsrd-mod-bmf - 0.6.3-3
olsrd-mod-dot-draw - 0.6.3-3
olsrd-mod-dyn-gw - 0.6.3-3
olsrd-mod-dyn-gw-plain - 0.6.3-3
olsrd-mod-httpinfo - 0.6.3-3
olsrd-mod-nameservice - 0.6.3-3
olsrd-mod-p2pd - 0.6.3-3
olsrd-mod-secure - 0.6.3-3
olsrd-mod-txtinfo - 0.6.3-3
olsrd-mod-watchdog - 0.6.3-3
om-watchdog - 1-1
opkg - 618-2
patch - 2.5.9-1
ppp - 2.4.5-5
ppp-mod-pppoe - 2.4.5-5
px5g - 1
qos-scripts - 1.2.1-6
relayd - 2011-10-24-4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3
remote-update - 4
rrdtool1 - 1.0.50-2
swap-utils - 2.21.1-1
swconfig - 10
tc - 3.2.0-2
terminfo - 5.7-5
uboot-envtools - 2011.06-4
ubus - 2012-05-06-a204ae358be1d5e0bb3a56bd54980851f553588e
ubusd - 2012-05-06-a204ae358be1d5e0bb3a56bd54980851f553588e
uci - 2012-03-28.1-1
uhttpd - 32
uhttpd-mod-lua - 32
uhttpd-mod-tls - 32
wireless-tools - 29-4
wpad-mini - 20120428-1
zlib - 1.2.5-1
</pre>

<pre>
root@commotion-14113118:/# lsmod
Module                  Size  Used by    Tainted: G
sg                     18864  0
ums_usbat               7360  0
ums_sddr55              4752  0
ums_sddr09              8704  0
ums_karma               1456  0
ums_jumpshot            3584  0
ums_isd200              4912  0
ums_freecom             1872  0
ums_datafab             4592  0
ums_cypress             2064  0
ums_alauda              8240  0
ath79_wdt               2240  1
trelay                  2000  0
ledtrig_netdev          3184  0
ip6t_REJECT             2320  2
ip6t_LOG                6080  0
ip6t_rt                 1440  0
ip6t_hbh                1200  0
ip6t_mh                  624  0
ip6t_ipv6header          928  0
ip6t_frag                784  0
ip6t_eui64               624  0
ip6t_ah                  736  0
ip6table_raw             496  1
ip6_queue               3840  0
ip6table_mangle          864  0
ip6table_filter          528  1
ip6_tables              9248  9
ip6t_LOG,ip6t_rt,ip6t_hbh,ip6t_ipv6header,ip6t_frag,ip6t_ah,ip6table_raw,ip6table_mangle,ip6table_filter
nf_conntrack_ipv6       3808  3
nf_defrag_ipv6          4656  1 nf_conntrack_ipv6
xt_ipp2p                6848  0
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
xt_HL                   1200  0
xt_hl                    720  0
xt_ecn                  1168  0
ipt_ECN                 1264  0
xt_CLASSIFY              496  0
xt_time                 1456  0
xt_tcpmss                912  0
xt_statistic             688  0
xt_mark                  592 26
xt_length                608  5
xt_DSCP                 1360  0
xt_dscp                  912  0
xt_string                672  0
xt_layer7               8944  0
compat_xtables          1536  1 xt_ipp2p
ipt_REDIRECT             576  2
ipt_NETMAP               592  0
ipt_MASQUERADE           976  1
iptable_nat             2112  1
nf_nat                  9792  6
nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
xt_recent               5680  0
xt_helper                784  0
xt_connmark              960  2
xt_connbytes            1424  0
xt_conntrack            2048  6
xt_CT                   1216  0
xt_NOTRACK               448  2
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       3872  8 iptable_nat,nf_nat
nf_defrag_ipv4           624  1 nf_conntrack_ipv4
nf_conntrack           37104 17
nf_conntrack_ipv6,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,xt_layer7,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppoe                   7472  0
pppox                   1152  1 pppoe
ipt_REJECT              1808  4
xt_TCPMSS               2560  0
ipt_LOG                 6048  0
xt_comment               400  0
xt_multiport            1104  5
xt_mac                   528  0
xt_limit                 944  2
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               8864  4
iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1632 79
x_tables                9984 53
ip6t_REJECT,ip6t_LOG,ip6t_rt,ip6t_hbh,ip6t_mh,ip6t_ipv6header,ip6t_frag,ip6t_eui64,ip6t_ah,ip6table_raw,ip6table_mangle,ip6table_filter,ip6_tables,xt_ipp2p,xt_HL,xt_hl,xt_ecn,ipt_ECN,xt_CLASSIFY,xt_time,xt_tcpmss,xt_statistic,xt_mark,xt_length,xt_DSCP,xt_dscp,xt_string,xt_layer7,compat_xtables,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat,xt_recent,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp
ifb                     2496  0
ipip                    5712  0
tunnel4                 1584  1 ipip
tun                    10640  2
ppp_async               5952  0
ppp_generic            18832  3 pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
autofs4                16992  1
ath9k                  79808  0
ath9k_common            1152  1 ath9k
ath9k_hw              319264  2 ath9k,ath9k_common
ath                    14256  3 ath9k,ath9k_common,ath9k_hw
mac80211              243040  1 ath9k
ts_fsm                  2496  0
ts_bm                   1344  0
ts_kmp                  1264  0
crc_ccitt                944  1 ppp_async
ipv6                  222192 21
ip6t_REJECT,ip6_queue,ip6table_mangle,nf_conntrack_ipv6,nf_defrag_ipv6
cfg80211              136960  3 ath9k,ath,mac80211
compat                   784  5
ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
arc4                     768  4
aes_generic            29808  0
usb_storage            33088 10
ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
uhci_hcd               17440  0
ohci_hcd               16160  0
ehci_hcd               32768  0
sd_mod                 22240  0
ide_gd_mod              9136  0
ide_generic              720  0 [permanent]
ide_pci_generic         1904  0
usbcore                98928 15
ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69760  4 sg,ums_cypress,usb_storage,sd_mod
nls_base                4640  1 usbcore
ide_core               42896  3 ide_gd_mod,ide_generic,ide_pci_generic
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3200  0
</pre>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQNNwTAAoJEKG7t1KxMTwvMgAH/1FGDebGkRjGytb+42E4WuTC
hfS1QwdWg5SxeXoQZoLTYRnlAO9uWXNYlRDIjZyMkJ9esPvxVSLpRQ+BQ0Oj7JSe
SpVP45mUOylnzMTK7tqo6/6a/+Zhj4UGuyA2Il3zGba+WC7AdeMM2PTykqgjzsLW
QKWdnfvIPYr4v2eT0o77JlKYqJpL2O2dlauKqH/kuClAh80rFPHGXpA3OAk7lbA0
p7JXLdTB524031o2mqh6sHqSlEdufRg5YhF/TdcbxVDrS4+74BOn7Z/f0v/GNzZy
cVB0NjCdfeC5NV3shT1YVNcYK3pdzwDm7Jj2mgRg+doiqWx+Oxn81GDCmMjW8Zo=
=INlw
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to