Pogo E02 Mount Cifs Problem

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Pogo E02 Mount Cifs Problem

Postby karog » Sun Sep 16, 2012 5:31 am

@erkerb, fyi, I have an E02 with
$this->bbcode_second_pass_code('', '
# uname -a
Linux e02 3.1.10-13-ARCH #1 PREEMPT Mon Aug 20 15:46:18 UTC 2012 armv5tel GNU/Linux
')
up-to-date as of this evening. I do have cifs-utils 5.6-2 installed which probably came in with samba et al which you stated you installed as well.

I can mount a WIndows 7 share with
$this->bbcode_second_pass_code('', '
mount //ipaddr/share /mnt/point -o username=thename,password=thepassword')
In fstab, I also include the option _netdev.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 1:55 pm

@moonman

$this->bbcode_second_pass_quote('', '[')root@alarm fs]# ls -l /usr/lib/modules/3.5.3-1-ARCH/kernel/fs | grep cifs
drwxr-xr-x 2 root root 4096 Sep 8 2012 cifs


So, the cifs module is there, and i loaded using modprobe. Then, i tried mounting again, and saw the same error. Thinking it might be a server related issue, i created a random share on another Windows 7 machine, and mounted again..

$this->bbcode_second_pass_quote('', '[')root@alarm fs]# mount -t cifs //192.168.1.31/lol /mnt/data -o user=tester,password=tester
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


How annoying is that? The modules is there, module is loaded, yet it is still resisting... Whatdo you mean by permission related issue? I am using the root account on pogo, and tried two separate machines to mount a share.. :|

@karog

I also tried adding _netdev to fstab mount option, and no dice :|..

@sambum13

I will try that now..
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sun Sep 16, 2012 2:06 pm

Keep in mind though, weak Plug's CPU works very hard when writing to NTFS shares. So if you want to write large or multiple files to a Windows PC's HD, you're a lot better off performing it in Windows after mounting your Plug's Samba shares in it, as in that case Plug's CPU just reads the data. Even if you write data back to the Plug's HD, let Windows PC CPU do part of the job. Check Plug's CPU load with Htop. :D
Last edited by sambul13 on Sun Sep 16, 2012 2:09 pm, edited 1 time in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 2:07 pm

My main goal is actually pretty simple.. Install Crashplan, mount one windows share as read-only, and just backup bi-weekly. This little pogo will not write once to Windows Share.. IT will just read, and write it to an external drive, which will be plugged in and formatted as ext2 ..
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sun Sep 16, 2012 2:12 pm

Large regular backups can heat up the Pogo to death, unless incremental. You better format your USB drive in EXT4 to drop CPU load. :P
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 2:16 pm

Hmm.. I thought it was recommended to use EXT2 for anything plugged into Pogo. I will format the externalHD as ext4 then. Crashplan backs up incrementally, so there is no issue there.. If i get that far, hopefully i will set it to backup Monday and Thurs. IF the little guy gets heated up, i'll try to crack it open, and place a heatsink in there .. But i have to get to that stage first :D
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby karog » Sun Sep 16, 2012 2:44 pm

You cannot boot off ext4; uImage has to be on ext2. But ext4 is fine for everything else. I have a small ext2 partition for /boot and my rootfs is on ext4. A non-O/S data partition can happily be ext4. Just make sure that if you ever want to mount that partition elsewhere that that place can also handle ext4.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sun Sep 16, 2012 2:49 pm

UFS Explorer can read and copy data from most Linux FSs in Windows if a drive is hooked directly, but can't write to. Samba and NFS also make copying btw different FSs transparent.
Last edited by sambul13 on Sun Sep 16, 2012 2:52 pm, edited 2 times in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 2:51 pm

@sambul13

I've enabled debugging as you have pointed out, and here is the output:


$this->bbcode_second_pass_quote('', '*')** Version 0.1 ***

*** listening on port 6666 ***
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.5.3-1-ARCH (nobody@platinum) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 PREEMPT Sat Sep 8 20:07:34 UTC 2012
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) loglevel=7 netconsole=6666@192.168.1.4/eth0,6666@192.168.1.14/MAC
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 252224k/252224k available, 9920k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05b5c00 (5815 kB)
[ 0.000000] .init : 0xc05b6000 - 0xc05e222c ( 177 kB)
[ 0.000000] .data : 0xc05e4000 - 0xc0626e40 ( 268 kB)
[ 0.000000] .bss : 0xc0626e64 - 0xc06f3ecc ( 821 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 4.307056] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 4.396988] pid_max: default: 32768 minimum: 301
[ 4.397117] Security Framework initialized
[ 4.397143] AppArmor: AppArmor disabled by boot time parameter
[ 4.397210] Mount-cache hash table entries: 512
[ 4.397800] Initializing cgroup subsys cpuacct
[ 4.397820] Initializing cgroup subsys memory
[ 4.397858] Initializing cgroup subsys devices
[ 4.397871] Initializing cgroup subsys freezer
[ 4.397880] Initializing cgroup subsys net_cls
[ 4.397888] Initializing cgroup subsys blkio
[ 4.397895] Initializing cgroup subsys perf_event
[ 4.398006] CPU: Testing write buffer coherency: ok
[ 4.398304] Setting up static identity map for 0x4390b0 - 0x4390ec
[ 4.399478] devtmpfs: initialized
[ 4.401341] NET: Registered protocol family 16
[ 4.402275] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 4.402294] Feroceon L2: Enabling L2
[ 4.402330] Feroceon L2: Cache support initialised.
[ 4.407985] bio: create slab <bio-0> at 0
[ 4.408344] vgaarb: loaded
[ 4.408596] SCSI subsystem initialized
[ 4.408928] usbcore: registered new interface driver usbfs
[ 4.408979] usbcore: registered new interface driver hub
[ 4.409087] usbcore: registered new device driver usb
[ 4.409834] Switching to clocksource orion_clocksource
[ 4.421716] FS-Cache: Loaded
[ 4.430742] NET: Registered protocol family 2
[ 4.430946] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 4.431286] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 4.431469] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 4.431562] TCP: Hash tables configured (established 8192 bind 8192)
[ 4.431569] TCP: reno registered
[ 4.431578] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 4.431599] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 4.431796] NET: Registered protocol family 1
[ 4.432671] audit: initializing netlink socket (disabled)
[ 4.432706] type=2000 audit(0.120:1): initialized
[ 4.519370] VFS: Disk quotas dquot_6.5.2
[ 4.519573] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 4.521742] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 4.522767] aufs 3.5-20120730
[ 4.522789] msgmni has been set to 492
[ 4.524186] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 4.524198] io scheduler noop registered
[ 4.524205] io scheduler deadline registered
[ 4.524237] io scheduler cfq registered (default)
[ 4.524312] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 4.524357] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 4.559918] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 4.599921] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 4.639918] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 4.679918] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 4.683929] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 4.704481] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 5.179362] console [ttyS0] enabled
[ 5.188783] brd: module loaded
[ 5.194838] loop: module loaded
[ 5.199063] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), page size: 2048, OOB size: 64
[ 5.210289] Scanning device for bad blocks
[ 5.290560] 4 cmdlinepart partitions found on MTD device orion_nand
[ 5.296851] Creating 4 MTD partitions on "orion_nand":
[ 5.302025] 0x000000000000-0x000000100000 : "u-boot"
[ 5.307910] 0x000000100000-0x000000500000 : "uImage"
[ 5.313730] 0x000000500000-0x000002500000 : "rootfs"
[ 5.319485] 0x000002500000-0x000008000000 : "data"
[ 5.325760] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 5.332715] mv643xx_eth smi: probed
[ 5.338083] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:25:31:02:c6:f3
[ 5.347048] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.353675] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 5.358942] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 5.389901] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 5.409880] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 5.416394] hub 1-0:1.0: USB hub found
[ 5.420201] hub 1-0:1.0: 1 port detected
[ 5.424486] Initializing USB Mass Storage driver...
[ 5.429477] usbcore: registered new interface driver usb-storage
[ 5.435530] USB Mass Storage support registered.
[ 5.440267] usbcore: registered new interface driver libusual
[ 5.446327] mousedev: PS/2 mouse device common for all mice
[ 5.739889] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 5.891843] hub 1-1:1.0: USB hub found
[ 5.895968] hub 1-1:1.0: 4 ports detected
[ 6.180225] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 6.459876] rtc-mv rtc-mv: internal RTC not ticking
[ 6.464919] sdhci: Secure Digital Host Controller Interface driver
[ 6.471139] sdhci: Copyright(c) Pierre Ossman
[ 6.509896] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[ 6.521114] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.527507] usbcore: registered new interface driver r8712u
[ 6.534401] gre: GRE over IPv4 demultiplexor driver
[ 6.539421] TCP: cubic registered
[ 6.542796] NET: Registered protocol family 17
[ 6.547331] lib80211: common routines for IEEE802.11 drivers
[ 6.553092] Key type dns_resolver registered
[ 6.557970] registered taskstats version 1
[ 6.562944] netpoll: netconsole: local port 6666
[ 6.567584] netpoll: netconsole: local IP 192.168.1.4
[ 6.572739] netpoll: netconsole: interface 'eth0'
[ 6.577483] netpoll: netconsole: remote port 6666
[ 6.583268] netpoll: netconsole: remote IP 192.168.1.14
[ 6.590619] netpoll: netconsole: remote ethernet address MAC
[ 6.597581] netpoll: netconsole: device eth0 not up yet, forcing it
[ 6.623922] scsi0 : usb-storage 1-1.3:1.0
[ 8.952195] netconsole: network logging started
[ 8.957857] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 8.966508] Waiting 10sec before mounting root device...
[ 18.983761] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[ 18.993915] VFS: Mounted root (ext2 filesystem) on device 8:1.
[ 19.001913] devtmpfs: mounted
[ 19.005460] Freeing init memory: 176K
[ 20.597518] systemd-udevd[85]: starting version 189
[ 21.525104] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm
Top

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sun Sep 16, 2012 2:56 pm

What changes did you make to which syslog-ng filters? Where is the log for your Cifs module load & partition mount attempt?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests