opkg install kernel mismatch error?

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

betatester
Posts: 18
Joined: Sun May 19, 2013 9:09 pm

opkg install kernel mismatch error?

Post by betatester »

Buffalo WZR-HP-G300NH2 running 1.5.9 Gargoyle.

I love this overall since it is lean and mean. I have tried ddwrt, openwrt and Gargoyle is real nice ! OpenWrt has Wifi issues on my router, and ddwrt is spread too thin.

I am trying to get HFS+ support by installing a hfsplus kernel module: kmod-fs-hfsplus_3.3.8-1_ar71xx.ipk

I get the following error.

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-hfsplus:
* kernel (= 3.3.8-1-d6597ebf6203328d3519ea3c3371a493) *
* opkg_install_cmd: Cannot install package kmod-fs-hfsplus.

My kernel using uname -r = 3.3.8 It is without the '-1'

Any ideas anybody? PLEASE HFS+ is very important for me !!!

Thanks.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: opkg install kernel mismatch error?

Post by BashfulBladder »

Even going back to September 2012, its been kernel 3.3.8-1.
http://downloads.openwrt.org/attitude_a ... /packages/
I bet if you use {code]opkg list-installed kernel[/code] you'll see 3.3.8-1

You can try the one I posted-didn't go so well for this poster here: http://www.gargoyle-router.com/phpbb/vi ... 093#p18303

The only real way of resolving this is to compile your own firmware with your own kernel extensions. See http://www.gargoyle-router.com/wiki/dok ... umentation
if you're on a Mac (and who else would be using HFS+?) see http://www.gargoyle-router.com/phpbb/vi ... =14&t=3808 but realize I'm on 10.6.8.

Also I recently came across an issue where the hfs+ filesystem was mounted read-only. I've rebooted a number of times without unmounting during the course of plugin development; this one time might have been due to flashing new firmware. The way to fix it would be to use fsck.hfs - but OpenWrt doesn't have it (there was a patch in the OpenWrt bugsystem, but I haven't gone into it). I half-heartedly started new makefile for diskdev which contains fsck.hfs, but I just connected the drive to a Mac & fixed it there.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

betatester
Posts: 18
Joined: Sun May 19, 2013 9:09 pm

Re: opkg install kernel mismatch error?

Post by betatester »

Thanks, Bashful !

Yes, using your cmd it is 3.3.8-1. :D

1. I am kind of struggling with the build part. I am trying to get it done on a Mac with MacPorts and all that.....I am finding out I need a Linux-box???
I can do OpenWRT on Mac, but the scripts on Gargoyle dont want to run and complaining about bash.... make any sense?? :?

2. Yes, the -ro remount of hfs+ has bugged me often, and yes, my solution is to get disk utility to fix my disk.

3. If i get on Ubuntu, how would I incorporate the kernel mod I want. I still cannot figure that out !! I am not very dev savvy, so a gentle push in the direction would be appreciated... I have read the documentation several times, but need some hand-holding. :oops: :oops:

Thanks, again.

EDIT: Let me be shameless and ask for How-to adding kernel patches and building, PLEASE.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: opkg install kernel mismatch error?

Post by BashfulBladder »

1. I build now only with Mac OS X 10.6.8. See my guide here: How to: Compile Gargoyle on Mac OS X

Note: I just changed step 5 & 3/4 with the patchfile I currently use.

3. In this case (and not *every* case), its easiest to just edit gargoyle/targets/ar71xx/profiles/usb_large/config (or your platform-profile); find&comment in the hfs+ module:

Code: Select all

CONFIG_PACKAGE_kmod-fs-hfsplus=y
make sure your router is listed in the accompanying profile file too.

You'll want to patch the usb_storage script to accommodate automounting hfs+, but you can still mount manually. Find the patch file, instructions AND the patched 1.5.9+ usb_storage file here:

http://www.gargoyle-router.com/phpbb/vi ... f=6&t=4093
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: opkg install kernel mismatch error?

Post by BashfulBladder »

AND, as its your first time (I'm blushing on your behalf), I would save the entire build output from Terminal.app to a text file & grep error on that file to find if there were build errors. I had a build once that resulted in a 2.8MB image file - it should be 6.something for ar71xx/usb_large. So the lesson is: just because you get an image file, don't think fortune is smiling upon you.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

betatester
Posts: 18
Joined: Sun May 19, 2013 9:09 pm

Re: opkg install kernel mismatch error?

Post by betatester »

Woohoo ! Thanks, Bashful!!

betatester
Posts: 18
Joined: Sun May 19, 2013 9:09 pm

Re: opkg install kernel mismatch error?

Post by betatester »

One more question:

I am in the process of following your instructions. I want to include netatalk 3.0 in the build. How would I do that, Master??

Thanks.!

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: opkg install kernel mismatch error?

Post by BashfulBladder »

That's where you're going to have to find your own road.

I imagine you would have to use the custom profile & add netatalk in the net section through menuconfig. Then you will probably have to either:

• figure out which other options you will need in custom (like usb & hts+)
• diff&patch the output of the hidden .config file after running menuconfig & add the relevant config swithes back to usb_large
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

betatester
Posts: 18
Joined: Sun May 19, 2013 9:09 pm

Re: opkg install kernel mismatch error?

Post by betatester »

Whooopeee !! Master ! Master Bashful ! :D

Following all your directions to the 't' , and then setting up netatalk2.2.x/afpd, I now have my Mac backing to my TimeMachine connected to my Buffalo WZR-HP-G300NH2. The 2TB drive has two partitions - one HFS (not journaled) and one NTFS. Both show up and are share-able. So many thanks for getting me in the right direction.

With my own build of Gargoyle, opkg does not complain of kernel-mismatch error.

1. OF course unmounting the disk always needs a 'repair disk' operation using apple's diskutility AND a reboot of the router with the verified disk attached. In the latter case, otherwise, I get a CNID error (not too sure what that is!! :lol: ). Rebooting fixes it.

2. If I turn my computer off, I have to re-connect to my Gargoyle "server" and re-login for TimeMachine to start backing up. It does not login automatically.... Not a major deal breaker at this time.

3. I THINK my TimeMachine has one problem though - during set up it seemed to forget the backup it already did and restarted the backup again everytime i connected to it. I dont know if it needs to finish one COMPLETE back up before it 'remembers' ???? So am waiting for one back up to comlete - in a couple of hours.

Great help, Bashful ! Just keep praying for me..!!! Coz I know this may not be the end of it !!!!!!!!!!!! May have to bug you off and on !

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: opkg install kernel mismatch error?

Post by BashfulBladder »

No joke - very impressive. That's hardcore dedication.

I backup to Blu-Ray & USB flash drives, so I can't help with the TimeCapsule stuff.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

Post Reply