maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   cifs.ko for Easy Debian N8*0? (https://talk.maemo.org/showthread.php?t=94719)

jakfish 2015-03-11 18:37

cifs.ko for Easy Debian N8*0?
 
On qole's fine site, I've seen cifs.ko for N900. Was it ever available for the N8*0?

Jake

endsormeans 2015-03-11 19:04

Re: cifs.ko for Easy Debian N8*0?
 
yup...
part of the optional packages for diablo turbo.
check it out..

https://garage.maemo.org/frs/?group_id=2036

jakfish 2015-03-11 19:21

Re: cifs.ko for Easy Debian N8*0?
 
Wow. I thought that was for Diablo OS, not Easy Debian OS.

I already have cifs.ko in /lib/modules/2.6.21-omap1/extras

Do I start lxde, go to /lib/modules and paste the same cifs.ko there?

And which command activates it--modprobe or insmod?

Many thanks for such fast help,
Jake

endsormeans 2015-03-11 19:39

Re: cifs.ko for Easy Debian N8*0?
 
Ah..
now you got me there...
with easy deb on n8x0 and cifs.ko I haven't messed around with...
someone far far more knowledgeable than me concerning easy deb and cifs.ko's interaction is needed from here on out...

Sorry man I can take you to that proverbial bridge...but base-jumping from it is a step I myself haven't done yet . :D
I'm keen to hear the how, why, what, and where though.

jakfish 2015-03-11 19:46

Re: cifs.ko for Easy Debian N8*0?
 
In Easy Debian, there are no modules at all in /lib/modules.

I scoured the forums but haven't come up with anything. As you say, we'll have to wait for the answer.

Jake

u7knv9h 2015-03-16 22:14

Re: cifs.ko for Easy Debian N8*0?
 
i'm pretty sure that, since easy debian doesn't "install" debian on the device, but only chroots into a mounted image, it doesn't have it's own kernel, let alone modules. and even if it had, they wouldn't be used, same with the init system. it merely uses the underlying maemo (still linux); you can think of it as of (maemo kernel + debian userspace), even if it's not 100% correct. if you have ever used chroots you would be familiar with this stuff, but anyway just put that module into diablo and modprobe it, then chroot into debian.

EDIT: also, use modprobe unless you know what you're doing, since insmod DOESN'T handle modules dependencies, and you might run into funny stuff

jakfish 2015-03-17 01:11

Re: cifs.ko for Easy Debian N8*0?
 
You indeed put me on the right track. With cifs.ko insmod-ed in maemo, debian chroot will allow the mounting.

I was hoping to avoid the ip address (I don't have a static) and go with the hostname. That does not work (smbfs) and though I've updated pcmanfm to 0.9.7, I *should* be able to "smb://hostname/shared_folded" but I'm getting an "operation not supported"

I installed Thunar 1.0.2 but can't figure out how to install the samba plugin ("thunar-shares-plugin")

Thanks again for the heads-up,
Jake

endsormeans 2015-03-17 01:32

Re: cifs.ko for Easy Debian N8*0?
 
well there you go jake.. almost there. :D
Interesting ...
Me on my n8x0's ...I've used easy deb, easy mer, jaunty (buntu), deblet, kde, xfce, all kinds of d.e.'s ....done lots with all kinds of stuff inside 'em....but I never really messed with stuff unless I found documentation...I like a map :D ...and unless there was a how-to in altering something...I either asked or pretty much left whatever it was alone. Doesn't mean I didn't mess with other sorts of stuff ...it's just I try to limit my reckless abandon or I'm sure I'd end up doing something that would make my precious beasties explode.

And yea...u7knv9h is pretty much right...chroot's run on top of the system.
hm...actually yea..
hummity-humhum...that's chroots we're talkin' 'bout.
here is an idea.
what about deblet?

http://web.archive.org/web/200902210...rtheNokiaN8x0s

It isn't a chroot. It is deb proper...well hm...might be a trick getting it to run...it has been abandoned for a while now...
I'm sure there are other options though...
But it would involve installing a distro.
there is funtoo, gentoo ...gentoo s'pos'd to work...funtoo has been mentioned recently to work..but they are beastly to do.
I'm sure there must be a couple that will work...

u7knv9h 2015-03-17 12:59

Re: cifs.ko for Easy Debian N8*0?
 
mh, i don't know exactly about thunar and pcmanfm (i don't use any file manager on my machines, always commandline tools) but maybe they require some packages, like 'gvfs' 'fuse-utils' 'gvfs-backends'
also, try starting pcmanfm from the terminal, and see if when you try to access this samba share you get any error in the terminal
you can use the local ip if you're in the same network, but the hostname should also work

another possibility is that pcmanfm was compiled without samba support, even though i somehow doubt that the debian folks would do that, but it's possible. in that case you would have to recompile it by yourself; but first try troubleshooting it using the terminal as described before

jakfish 2015-03-17 21:50

Re: cifs.ko for Easy Debian N8*0?
 
Thanks again for the tips. I checked those .debs you cited and they are indeed installed. I think the trouble is that pcmanfm 0.9.7 is buggy, and 0.9.10 in squeeze won't install (is squeeze armel incompatible with "easy debian"?).

That "operation not supported" error appears to be endemic to 0.9.* (though samba success is cited with 0.9.10). Samba's there, pcmanfm just won't play nice (I think it's a libfm problem).

Jake

u7knv9h 2015-03-18 13:35

Re: cifs.ko for Easy Debian N8*0?
 
i don't know, pcmanfm supports samba since 0.4.4
do you have /usr/lib/gvfs ?
search also for gvfsd-smb and gvfsd-smb-browse
Code:

find /usr -type f | xargs grep -l gvfsd-smb
also, install 'fusesmb'

have you tried launching pcmanfm from the terminal?

thunar supports samba since 1.2, and relies on gvfs, but good luck with installing that in debian 6.0 without breaking A LOT of dependencies...

you can also try using 'smbc', if that works then it's pcmanfm fault for sure, and you should upgrade it

jakfish 2015-03-18 14:56

Re: cifs.ko for Easy Debian N8*0?
 
Although I'm not yet solving this problem, your troubleshooting has taught me a great deal, and thank you for it.

After updating to PCMANFM 0.9.7, I have /usr/lib/gvfs, gvfsd-smb, and gvfsd-smb-browse.

Running pcmanfm in chroot terminal, trying to access Go/Network Drives gives this error in terminal:

** (pcmanfm:3922): DEBUG: FmJob error: Operation not supported

Trying to install fusesmb and smbc gives me a ton of broken package errors and no installation:

"The following packages have unmet dependencies:
fusesmb: Depends: samba-common-bin but it is not going to be installed
initscripts: Breaks: rsyslog (< 5.8.2-2) but 4.4.2-1 is to be installed
libasound2: Breaks: libasound2-plugins (< 1.0.24) but 1.0.21-3 is to be installed
libglib2.0-0: Breaks: gvfs (< 1.8) but 1.6.4-3 is to be installed
libpolkit-backend-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
libpolkit-gobject-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed


In sources.list, I have every repo un-commented, which is how I updated pcmanfm (through sid) to 0.9.7 in the first place. But it seems that these installations are wishing for older libs.

[root@chroot: /]sudo apt-get install smbc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
initscripts: Breaks: rsyslog (< 5.8.2-2) but 4.4.2-1 is to be installed
libasound2: Breaks: libasound2-plugins (< 1.0.24) but 1.0.21-3 is to be installed
libglib2.0-0: Breaks: gvfs (< 1.8) but 1.6.4-3 is to be installed
libpolkit-backend-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
libpolkit-gobject-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
E: Broken packages
[root@chroot: /]

My goal is pretty simple: getting the hostname rather than the ip address to work in pcmanfm or thunar (nautilus will not install, no matter what the repo):

smb://c4/Documents

Thanks again for your very instructive help,
Jake

u7knv9h 2015-03-18 18:53

Re: cifs.ko for Easy Debian N8*0?
 
no problem jakfish!
anyway this seems really like a bug, and i've found this

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=699674

especially, #5 and #29 may be useful

in short, the current (or better, the one you're using) libfm is buggy, so you should upgrade it, along with pcmanfm. with debian armel, in sid, jessie, and wheezy-backports repos, there are new versions of 'libfm' and 'pcmanfm'

or you can try another file manager to use samba, like komba2, konqueror or jags

jakfish 2015-03-18 20:27

Re: cifs.ko for Easy Debian N8*0?
 
In sources.list, I've commented-out everything except:

deb http://http.debian.net/debian wheezy-backports main

from:

http://backports.debian.org/Instructions/#index2h2

apt-get update complains about a pubkey, which is fixed by:

gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -

from:

http://raspberrypi.stackexchange.com...rts-debian-org

But when I try:

apt-get -t wheezy-backports install pcmanfm

I get a million complaints about dependencies that can't be upgraded to the new pcmanfm.

Konqueror, jags, and komba2 are not available. Have I hit a wall? Or is there another workaround?

Thanks,
Jake

sulu 2015-03-19 12:49

Re: cifs.ko for Easy Debian N8*0?
 
Quote:

Originally Posted by u7knv9h (Post 1464280)
mh, i don't know exactly about thunar and pcmanfm (i don't use any file manager on my machines, always commandline tools) but maybe they require some packages, like 'gvfs' 'fuse-utils' 'gvfs-backends'

They do. But don't ask me for details! I never really understood this gvfs stuff and I don't use smb.

Quote:

Originally Posted by jakfish (Post 1464305)
(is squeeze armel incompatible with "easy debian"?).

The only incompatbility I'm aware of is in pulseaudio. (More precicely: It's not an incompatibility between ED and Debian but between Maemo and Debian which ED has to take care of. But that only affects the N900 afaik.)
On top of that there are some problems with some programs on the N900 which seem to be related to buggy armel features on Maemo's side. But I don't know if this applies to the N8x0 versions too.

What image are you using? The early "Squeeze" images were actually a mix of Lenny and Squeeze due to some problems qole had during the dist-upgrade process.

Quote:

Originally Posted by jakfish (Post 1464359)
"The following packages have unmet dependencies:
fusesmb: Depends: samba-common-bin but it is not going to be installed
initscripts: Breaks: rsyslog (< 5.8.2-2) but 4.4.2-1 is to be installed
libasound2: Breaks: libasound2-plugins (< 1.0.24) but 1.0.21-3 is to be installed
libglib2.0-0: Breaks: gvfs (< 1.8) but 1.6.4-3 is to be installed
libpolkit-backend-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
libpolkit-gobject-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed


In sources.list, I have every repo un-commented, which is how I updated pcmanfm (through sid) to 0.9.7 in the first place. But it seems that these installations are wishing for older libs.

This is most likely a result of the aforementioned Lenny/Squezee mix. A proper dist-upgrade to Squeeze should help.

Quote:

Originally Posted by jakfish (Post 1464379)
In sources.list, I've commented-out everything except:

deb http://http.debian.net/debian wheezy-backports main

[..]

But when I try:

apt-get -t wheezy-backports install pcmanfm

I get a million complaints about dependencies that can't be upgraded to the new pcmanfm.

Konqueror, jags, and komba2 are not available. Have I hit a wall? Or is there another workaround?

1. You're trying to mix three releases. That almost certainly causes trouble. Even mixing two is delicate at best.
2. With only backports enabled most of the packages won't be available. So whatever package you want from the backports will likely miss some dependencies.

I'd suggest you try a more recent image, based on Wheezy.

u7knv9h 2015-03-19 14:00

Re: cifs.ko for Easy Debian N8*0?
 
Quote:

Originally Posted by jakfish (Post 1464379)
In sources.list, I've commented-out everything except:

deb http://http.debian.net/debian wheezy-backports main

from:

http://backports.debian.org/Instructions/#index2h2

mh, try using official mirrors in the sources, like

Code:

deb http://ftp.debian.org/debian wheezy main
(note the .org domain)
after you've replaced all the wrong mirrors (try accessing them, you'll get a 404, they don't exist), run

Code:

apt-get update
and that should fix some stuff

(read https://wiki.debian.org/Backports )

Quote:

Originally Posted by jakfish (Post 1464379)

But when I try:

apt-get -t wheezy-backports install pcmanfm

I get a million complaints about dependencies that can't be upgraded to the new pcmanfm.

Konqueror, jags, and komba2 are not available. Have I hit a wall? Or is there another workaround?

Thanks,
Jake

same as before, fix the repos
also, as sulu said, some problems are a result of mixing packages from different sources, but imo they shouldn't be this kind of problems, since apt takes care of a lot of things for you

same for the missing konqueror, jags, and komba2, fixing the repos should do it
don't forget to update the package list!
Code:

apt-get update

jakfish 2015-03-20 14:24

Re: cifs.ko for Easy Debian N8*0?
 
Many thanks once more for everybody's patience and thorough help. However, the project seems to have failed.

After clearing just enough room for the wheezy dist-upgrade, the process crashes when it complained for an upgrade lenny kernel (why dist-upgrade couldn't take care of that is beyond me).

After installing a lenny repo, I have a huge choice of kernels, none of which seemed connected to "easy debian." The whole thing is so cumbersome and I find myself lost.

Failure can be just as instructive as success, and again, I very much appreciate everybody's assistance. You taught me many things.

Jake

endsormeans 2015-03-20 18:16

Re: cifs.ko for Easy Debian N8*0?
 
I vaguely recall qole mentioning something a long time ago about being careful about "how" you update lenny.
that could be issue 1 you are having.
easy deb (lenny) for the n8x0 is pretty old...I'm sure that given enough fiddling you could get it where you want it though.
If you have had enough for now ..just set it aside for a bit aaaannnddd...
Play with Inferno os instead! :D

jakfish 2015-03-20 19:26

Re: cifs.ko for Easy Debian N8*0?
 
Inferno...hmmmm, good idea :)

http://forums.debian.net/viewtopic.php?f=5&t=108327

This user is having the same error messages that I'm getting--though he's working with an etch kernel--and it doesn't appear solvable.

Jake

endsormeans 2015-03-20 20:15

Re: cifs.ko for Easy Debian N8*0?
 
hm...
yea...
installing easy deb is ..well...easy :D
running it is easy too...
installing some stuff is just as easy...
the hard part is really "altering" it's structure ... once you are inside.

as far as inferno goes...I added a few more reference urls..
check out ...

http://talk.maemo.org/showthread.php...22#post1461422

jakfish 2015-03-20 22:22

Re: cifs.ko for Easy Debian N8*0?
 
I'll look into it!

Jake


All times are GMT. The time now is 06:06.

vBulletin® Version 3.8.8