Modify

Opened 8 years ago

Closed 7 years ago

Last modified 22 months ago

#3968 closed defect (obsolete)

USB automount still broken

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

USB automount is still broken after last try to fix it.

root@OpenWrt:~# logread -f
Sep  6 16:02:13 OpenWrt user.info kernel: usb 3-1: new high speed USB device using ehci_hcd and address 5
Sep  6 16:02:13 OpenWrt user.info kernel: usb 3-1: configuration #1 chosen from 1 choice
Sep  6 16:02:13 OpenWrt user.info kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep  6 16:02:13 OpenWrt user.debug kernel: usb-storage: device found at 5
Sep  6 16:02:13 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Sep  6 16:02:13 OpenWrt user.notice root: usb device is mass storage
Sep  6 16:02:14 OpenWrt user.notice root: waiting on usb drive 0 ...
Sep  6 16:02:15 OpenWrt user.notice root: waiting on usb drive 1 ...
Sep  6 16:02:16 OpenWrt user.notice root: waiting on usb drive 2 ...
Sep  6 16:02:17 OpenWrt user.notice root: waiting on usb drive 3 ...
Sep  6 16:02:18 OpenWrt user.notice root: waiting on usb drive 4 ...
Sep  6 16:02:18 OpenWrt user.notice kernel: scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer Mini      0.2  PQ: 0 ANSI: 2
Sep  6 16:02:18 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] 1000944 512-byte hardware sectors (512 MB)
Sep  6 16:02:18 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] Write Protect is off
Sep  6 16:02:18 OpenWrt user.debug kernel: sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
Sep  6 16:02:18 OpenWrt user.err kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Sep  6 16:02:18 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] 1000944 512-byte hardware sectors (512 MB)
Sep  6 16:02:18 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] Write Protect is off
Sep  6 16:02:18 OpenWrt user.debug kernel: sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
Sep  6 16:02:18 OpenWrt user.err kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Sep  6 16:02:18 OpenWrt user.info kernel:  sda:
Sep  6 16:02:18 OpenWrt user.info kernel:  sda1 sda2
Sep  6 16:02:18 OpenWrt user.notice kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Sep  6 16:02:18 OpenWrt user.debug kernel: usb-storage: device scan complete
Sep  6 16:02:19 OpenWrt user.notice root: waiting on usb drive 5 ...
Sep  6 16:02:21 OpenWrt user.info : mounting /dev/sda on /mnt/usbdrive
Sep  6 16:02:21 OpenWrt user.info : mount: mounting /dev/sda on /mnt/usbdrive failed: Invalid argument

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by federicobriata@…

I'm testing WGT634U with kamikaze 8.09.

On r13668 it was working and I could mount my vfat partition without any problem.
Now that I move on RC2 (r14166) I can NOT mount any more, I think that this issue is not related with automount scrip.

# insmod vfat
vfat: Unknown symbol fat_dir_empty
vfat: Unknown symbol fat_fs_panic
vfat: Unknown symbol fat_get_dotdot_entry
vfat: Unknown symbol fat_free_clusters
vfat: Unknown symbol fat_scan
vfat: Unknown symbol fat_date_unix2dos
vfat: Unknown symbol fat_search_long
vfat: Unknown symbol fat_getattr
vfat: Unknown symbol fat_attach
vfat: Unknown symbol fat_build_inode
vfat: Unknown symbol fat_fill_super
vfat: Unknown symbol fat_alloc_new_dir
vfat: Unknown symbol fat_notify_change
vfat: Unknown symbol fat_remove_entries
vfat: Unknown symbol fat_add_entries
vfat: Unknown symbol fat_sync_inode
vfat: Unknown symbol fat_detach
insmod: cannot insert '/lib/modules/2.6.25.20/vfat.ko': invalid parameters (2): Invalid argument

I've installed this packages:
kmod-fs-vfat
kmod-nls-base
kmod-nls-cp437
kmod-nls-iso8859-1
kmod-scsi-core
kmod-usb2
kmod-usb-core
kmod-usb-storage

# lsmod
Module Size Used by Tainted: P
nls_iso8859_1 2848 0
nls_iso8859_15 3360 0
nls_base 4416 2 nls_iso8859_1,nls_iso8859_15
usb_storage 69536 0
ath_pci 127984 0
wlan_xauth 448 0
wlan_wep 3904 0
wlan_tkip 9536 0
wlan_ccmp 5344 0
wlan_acl 2560 0
ath_rate_minstrel 8672 1
ath_hal 269984 3 ath_pci,ath_rate_minstrel
wlan_scan_sta 8096 0
wlan_scan_ap 5280 1
wlan 156560 10 ath_pci,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_ratep
nf_nat_tftp 448 0
nf_conntrack_tftp 2448 1 nf_nat_tftp
nf_nat_irc 928 0
nf_conntrack_irc 2768 1 nf_nat_irc
nf_nat_ftp 1440 0
nf_conntrack_ftp 5120 1 nf_nat_ftp
ipt_MASQUERADE 1216 0
iptable_nat 3696 0
nf_nat 12512 5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_state 832 0
nf_conntrack_ipv4 8384 3 iptable_nat,nf_nat
nf_conntrack 39632 11 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_4
ehci_hcd 29232 0
sd_mod 18864 0
ipt_REJECT 2080 0
xt_TCPMSS 2336 0
ipt_LOG 4864 0
xt_multiport 1888 0
xt_mac 704 0
xt_limit 1248 0
iptable_mangle 1056 0
iptable_filter 928 0
ip_tables 8208 3 iptable_nat,iptable_mangle,iptable_filter
xt_tcpudp 1920 0
x_tables 8976 11 ipt_MASQUERADE,iptable_nat,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,p
tun 6784 1
usbcore 109440 3 usb_storage,ehci_hcd
scsi_mod 75280 2 usb_storage,sd_mod
crc_ccitt 992 0
switch_robo 4224 0
switch_core 5280 1 switch_robo
diag 7760 0

Probably other people got same problem, http://forum.openwrt.org/viewtopic.php?id=18510

If you need more info or you want me to do some test please let me know.

Thanks,
Federico Briata

comment:2 Changed 7 years ago by federicobriata@…

Solved!

I had to remove and reinstall this packages
kmod-nls-base
kmod-nls-cp437
kmod-nls-iso8859-1
kmod-scsi-core
kmod-usb-core
kmod-usb-storage
kmod-usb2

I found also useful read http://www.nslu2-linux.org/wiki/HowTo/MountFATFileSystems

comment:3 Changed 7 years ago by nico

  • Resolution set to obsolete
  • Status changed from new to closed
  • Version set to Trunk

comment:4 Changed 22 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.