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 moonman » Sun Sep 16, 2012 1:00 am

Did you just get it and installed alarm? What I am wondering is if you have a new u-boot version. If you do then you can install linux-kirkwood package which will bump up your kernel version to 3.5.3
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 1:06 am

I have recently installed it, yes.

http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray

Followed that guide, and i did pacman -Syu. I will look into upgrading the kernel now..

EDIT: Wait.. Do i need to pay attention to anything else, other then just regular kernel upgrade procedure?
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby moonman » Sun Sep 16, 2012 1:31 am

$this->bbcode_second_pass_code('', 'pacman -Sy linux-headers-kirkwood linux-kirkwood')

afaik that's all you need
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 1:46 am

Thanks for the quick replies.. I've applied the kernel upgrade, but now i am faced with the following:

$this->bbcode_second_pass_quote('', '
')[root@Kirkwood ~]# pacman -Sy linux-headers-kirkwood linux-kirkwood
:: Synchronizing package databases...
core 38.1 KiB 321K/s 00:00 [#############################] 100%
extra 429.6 KiB 1117K/s 00:00 [#############################] 100%
community 418.2 KiB 1372K/s 00:00 [#############################] 100%
alarm is up to date
aur is up to date
resolving dependencies...
looking for inter-conflicts...
:: linux-headers-kirkwood and linux-headers are in conflict (kernel26-headers). Remove linux-headers? [y/N] Y
:: linux-kirkwood and linux are in conflict. Remove linux? [y/N] Y

Targets (4): linux-3.1.10-13 [removal] linux-headers-3.1.10-13 [removal]
linux-headers-kirkwood-3.5.3-1 linux-kirkwood-3.5.3-1

Total Download Size: 18.22 MiB
Total Installed Size: 61.50 MiB
Net Upgrade Size: 3.12 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
linux-headers-kirkwood-... 4.7 MiB 2.72M/s 00:02 [#############################] 100%
linux-kirkwood-3.5.3-1-arm 13.6 MiB 3.09M/s 00:04 [#############################] 100%
(2/2) checking package integrity [#############################] 100%
(2/2) loading package files [#############################] 100%
(2/2) checking for file conflicts [#############################] 100%
(4/4) checking available disk space [#############################] 100%
(1/2) removing linux-headers [#############################] 100%
(2/2) removing linux [#############################] 100%
(1/2) installing linux-headers-kirkwood [#############################] 100%
(2/2) installing linux-kirkwood [#############################] 100%
>>> Updating module dependencies. Please wait ...
ERROR: could not open directory /lib/modules/3.5.3-1-ARCH: No such file or directory
FATAL: could not search modules: No such file or directory
**********************************************************************
WARNING! This kernel requires a newer U-Boot than many devices such as
the Dockstar and Pogoplug v2 originally came with. If you do
not have an updated version, your system WILL NOT BOOT.

**********************************************************************
Optional dependencies for linux-kirkwood
crda: to set the correct wireless channels of your country


Do i need to update UBoot manuall as well?
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: Pogo E02 Mount Cifs Problem

Postby moonman » Sun Sep 16, 2012 1:59 am

There's something wrong with permissions or there's filesystem corruption. This is why the kernel can't load this cifs module.

What's the output of:

$this->bbcode_second_pass_code('', 'ls- l /lib/modules')

Check your rootfs with e2fsck on a different linux machine/vm. If it doesn't help, then completely reinstall as root. It is important to do it as root.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 2:03 am

So, at least i was able to update the kernel to 3.5.3...

HEre is the output :
$this->bbcode_second_pass_quote('', '
')[root@Kirkwood ~]# ls -l /lib/modules
ls: cannot access /lib/modules: No such file or directory



$this->bbcode_second_pass_quote('', '[')root@Kirkwood ~]# ls -l /lib/
total 3144
-rwxr-xr-x 1 root root 155557 Jul 8 2012 ld-2.16.so
lrwxrwxrwx 1 root root 10 Dec 31 1999 ld-linux.so.3 -> ld-2.16.so
-rwxr-xr-x 1 root root 9956 Jul 8 2012 libanl-2.16.so
lrwxrwxrwx 1 root root 14 Dec 31 1999 libanl.so.1 -> libanl-2.16.so
-rwxr-xr-x 1 root root 5620 Jul 8 2012 libBrokenLocale-2.16.so
lrwxrwxrwx 1 root root 23 Dec 31 1999 libBrokenLocale.so.1 -> libBrokenLocale-2.16.so
-rwxr-xr-x 1 root root 1516505 Jul 8 2012 libc-2.16.so
-rwxr-xr-x 1 root root 181876 Jul 8 2012 libcidn-2.16.so
lrwxrwxrwx 1 root root 15 Dec 31 1999 libcidn.so.1 -> libcidn-2.16.so
-rwxr-xr-x 1 root root 30276 Jul 8 2012 libcrypt-2.16.so
lrwxrwxrwx 1 root root 16 Dec 31 1999 libcrypt.so.1 -> libcrypt-2.16.so
lrwxrwxrwx 1 root root 12 Dec 31 1999 libc.so.6 -> libc-2.16.so
-rwxr-xr-x 1 root root 9804 Jul 8 2012 libdl-2.16.so
lrwxrwxrwx 1 root root 13 Dec 31 1999 libdl.so.2 -> libdl-2.16.so
-rwxr-xr-x 1 root root 616004 Jul 8 2012 libm-2.16.so
-rwxr-xr-x 1 root root 18004 Jul 8 2012 libmemusage.so
lrwxrwxrwx 1 root root 12 Dec 31 1999 libm.so.6 -> libm-2.16.so
-rwxr-xr-x 1 root root 71612 Jul 8 2012 libnsl-2.16.so
lrwxrwxrwx 1 root root 14 Dec 31 1999 libnsl.so.1 -> libnsl-2.16.so
-rwxr-xr-x 1 root root 30568 Jul 8 2012 libnss_compat-2.16.so
lrwxrwxrwx 1 root root 21 Dec 31 1999 libnss_compat.so.2 -> libnss_compat-2.16.so
-rwxr-xr-x 1 root root 26220 Jul 8 2012 libnss_db-2.16.so
lrwxrwxrwx 1 root root 17 Dec 31 1999 libnss_db.so.2 -> libnss_db-2.16.so
-rwxr-xr-x 1 root root 18028 Jul 8 2012 libnss_dns-2.16.so
lrwxrwxrwx 1 root root 18 Dec 31 1999 libnss_dns.so.2 -> libnss_dns-2.16.so
-rwxr-xr-x 1 root root 47020 Jul 8 2012 libnss_files-2.16.so
lrwxrwxrwx 1 root root 20 Dec 31 1999 libnss_files.so.2 -> libnss_files-2.16.so
-rwxr-xr-x 1 root root 18036 Jul 8 2012 libnss_hesiod-2.16.so
lrwxrwxrwx 1 root root 21 Dec 31 1999 libnss_hesiod.so.2 -> libnss_hesiod-2.16.so
-rwxr-xr-x 1 root root 38596 Jul 8 2012 libnss_nis-2.16.so
-rwxr-xr-x 1 root root 46772 Jul 8 2012 libnss_nisplus-2.16.so
lrwxrwxrwx 1 root root 22 Dec 31 1999 libnss_nisplus.so.2 -> libnss_nisplus-2.16.so
lrwxrwxrwx 1 root root 18 Dec 31 1999 libnss_nis.so.2 -> libnss_nis-2.16.so
-rwxr-xr-x 1 root root 5584 Jul 8 2012 libpcprofile.so
-rwxr-xr-x 1 root root 130138 Jul 8 2012 libpthread-2.16.so
lrwxrwxrwx 1 root root 18 Dec 31 1999 libpthread.so.0 -> libpthread-2.16.so
-rwxr-xr-x 1 root root 75628 Jul 8 2012 libresolv-2.16.so
lrwxrwxrwx 1 root root 17 Dec 31 1999 libresolv.so.2 -> libresolv-2.16.so
-rwxr-xr-x 1 root root 26636 Jul 8 2012 librt-2.16.so
lrwxrwxrwx 1 root root 13 Dec 31 1999 librt.so.1 -> librt-2.16.so
-rwxr-xr-x 1 root root 9748 Jul 8 2012 libSegFault.so
-rwxr-xr-x 1 root root 34571 Jul 8 2012 libthread_db-1.0.so
lrwxrwxrwx 1 root root 19 Dec 31 1999 libthread_db.so.1 -> libthread_db-1.0.so
-rwxr-xr-x 1 root root 9840 Jul 8 2012 libutil-2.16.so
lrwxrwxrwx 1 root root 15 Dec 31 1999 libutil.so.1 -> libutil-2.16.so
drwxr-xr-x 3 root root 4096 Dec 31 1999 udev


I have followed the same guide as everyone.. I installed it twice, and i was faced with the similar issue.. Do i need to do follow a different guide? After the kernel upgrade, i still see the same error.

Plus.. I only use root.. I havent added any other users yet..

This is the guide i have followed : http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm
Top

Re: Pogo E02 Mount Cifs Problem

Postby moonman » Sun Sep 16, 2012 2:13 am

Yeah root is fine on the plugs, but other linux distros lock the root user so you would have to login as your username and do "su root" or "sudo su" - whatever is supported.

Try this:

$this->bbcode_second_pass_code('', 'mkdir /lib/modules')

and reinstall the kernel with the same command you used above.
See if the error appears again
$this->bbcode_second_pass_code('', 'ERROR: could not open directory /lib/modules/3.5.3-1-ARCH: No such file or directory
FATAL: could not search modules: No such file or directory')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogo E02 Mount Cifs Problem

Postby erkerb » Sun Sep 16, 2012 4:04 am

Thanks for hanging there with me..

So, i wiped the drive and re-installed archlinux from scratch, and right after the install i created the folder /lib/modules , then updated pacman [which took forever to regenerate keys], and finally upgraded the kernel to the latest version:

$this->bbcode_second_pass_quote('', '[')root@alarm ~]# pacman -Sy linux-headers-kirkwood linux-kirkwood
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
resolving dependencies...
looking for inter-conflicts...
:: linux-headers-kirkwood and linux-headers are in conflict (kernel26-headers). Remove linux-headers? [y/N] Y
:: linux-kirkwood and linux are in conflict. Remove linux? [y/N] y

Targets (4): linux-3.1.10-13 [removal] linux-headers-3.1.10-13 [removal]
linux-headers-kirkwood-3.5.3-1 linux-kirkwood-3.5.3-1

Total Download Size: 18.22 MiB
Total Installed Size: 61.50 MiB
Net Upgrade Size: 3.12 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-headers-kirkwood-... 4.7 MiB 1276K/s 00:04 [#############################] 100%
linux-kirkwood-3.5.3-1-arm 13.6 MiB 1894K/s 00:07 [#############################] 100%
(2/2) checking package integrity [#############################] 100%
(2/2) loading package files [#############################] 100%
(2/2) checking for file conflicts [#############################] 100%
(4/4) checking available disk space [#############################] 100%
(1/2) removing linux-headers [#############################] 100%
(2/2) removing linux [#############################] 100%
(1/2) installing linux-headers-kirkwood [#############################] 100%
(2/2) installing linux-kirkwood [#############################] 100%
>>> Updating module dependencies. Please wait ...
**********************************************************************
WARNING! This kernel requires a newer U-Boot than many devices such as
the Dockstar and Pogoplug v2 originally came with. If you do
not have an updated version, your system WILL NOT BOOT.
**********************************************************************
Optional dependencies for linux-kirkwood
crda: to set the correct wireless channels of your country


$this->bbcode_second_pass_quote('', '[')root@alarm ~]# uname -a
Linux alarm 3.5.3-1-ARCH #1 PREEMPT Sat Sep 8 20:07:34 UTC 2012 armv5tel GNU/Linux


Right after this, i installed:
$this->bbcode_second_pass_quote('', 'l')ibcap-ng-0.7-1 libwbclient-3.6.7-2 talloc-2.0.7-1 cifs-utils-5.6-2


and tried to mount it again using:

$this->bbcode_second_pass_quote('', 'm')ount -t //192.168.1.6/data /mnt/data -o user=username,password=password
and
mount.cifs //192.168.1.6/data /mnt/data -o user=username,password=password
and
mount -t cifs //192.168.1.6/data/mnt/data/ -o user=username,password=password,workgroup=XTR,ip=192.168.1.6
and
...


all of these commands resulted in one output:

$this->bbcode_second_pass_quote('', 'm')ount 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)

Then, i tried installing these:

$this->bbcode_second_pass_quote('', 'a')vahi-0.6.31-4 dbus-1.6.4-1 gamin-0.1.10-6 gnutls-3.1.1-1
kbproto-1.0.6-1 libcups-1.6.1-6 libdaemon-0.14-2 libjpeg-turbo-1.2.1-1
libpng-1.5.12-1 libtasn1-2.13-1 libtiff-4.0.2-1 libx11-1.5.0-1
libxau-1.0.7-1 libxcb-1.8.1-1 libxdmcp-1.1.1-1 nettle-2.5-1
p11-kit-0.13-1 tdb-1.2.9-2 xcb-proto-1.7.1-1 xproto-7.0.23-1
samba-3.6.7-2 smbclient-3.6.7-2 smbnetfs-0.5.3a-4

End result is pretty much the same.. Sigh..

EDIT: Whenever i run the pacman -Syu command, it cannot update glibc-2.16.0-4:

$this->bbcode_second_pass_quote('', 'e')rror: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm
Top

Re: Pogo E02 Mount Cifs Problem

Postby sambul13 » Sun Sep 16, 2012 4:52 am

Can you switch log level to "debug" for this module or kernel?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Pogo E02 Mount Cifs Problem

Postby moonman » Sun Sep 16, 2012 5:04 am

I forgot the modules path was changed to /usr/lib/modules/ some kernel updates ago.

check what you have in /usr/lib/modules/3.5.3-1-ARCH/kernel/fs

$this->bbcode_second_pass_code('', 'ls -l /usr/lib/modules/3.5.3-1-ARCH/kernel/fs | grep cifs')
if it is there, then try to manually load cifs module with
$this->bbcode_second_pass_code('', 'cd /usr/lib/modules/3.5.3-1-ARCH/kernel/fs
modprobe cifs')

then try mounting the those samba shares. I think there is something wrong with permissions.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests