Welcome! Log In Create A New Profile

Advanced

new kernel package ready to use

Posted by gorgone 
Re: new kernel package ready to use
November 05, 2010 06:58AM
Megabug Wrote:
-------------------------------------------------------
> Hi,
>
> Great kernel, thanks. Could your next buid please
> include: SENSORS_TMP401 ?
>
> Would be great...
>
> Thanks.

ok :-)
NanoBot
Re: new kernel package ready to use
November 05, 2010 10:33AM
First of all, thanks for including ntfs.ko in your newer kernel packages, gorgone.

Second: Is it possible for you to include the wlan driver carl9170usb.ko into your next release ?

Afaik the sources for that driver are not yet included in the "normal" kernel source, but there are avaible here:
http://wireless.kernel.org/download/compat-wireless-2.6/ and information about this driver is available here
http://www.mikrocontroller.net/topic/193795 and here http://wireless.kernel.org/en/users/Drivers/carl9170

The advantage of this driver over ar9170usb.ko is, that it enables the WLAN device to act as client or as AP, and it should also work in draft-n, while I am not sure if ar9170usb.ko works in draft-n mode.
Re: new kernel package ready to use
November 05, 2010 12:38PM
if its not complicated to build this i make it in a externl package
but why u dont build ur own driver

this is mouch easyer than the complete kernel ... ?
NanoBot
Re: new kernel package ready to use
November 05, 2010 01:16PM
Well, I know how to do a simple " ./configure , make , sudo make install" compilation of a ready-to-build tarball, but beyond that, I am not very experienced in compiling. In this particular case my first problem would be from where to get the correct header files for the kernel "2.6.35.7-dockstar" and how to install them. Until now, I was only compiling simple things under ubuntu on my PC. Therefore I would very much appreciate it, if you would build a package with this driver.

As you might have read in the wlan thread, I am running into heavy problems with the ar9170usb.ko module, therefore I would like to give carl9170usb a try together with my wlan stick.
Re: new kernel package ready to use
November 05, 2010 02:02PM
u just download the files directly from kernel.org 2.6.35.7 = http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.7.tar.bz2
Re: new kernel package ready to use
November 05, 2010 03:34PM
Hi,

nochmal zurück zum Thema /etc/fstab und UUID. Funktioiniert das auch mit USBMount???

*Update*

Habs ausprobiert, das geht so nicht, wieich mir das vorstelle. Werde wohl auf AutoFS wechseln, allerdings habeich gestern schon getestet, da gibt bei mir das Problem, daß ich keine schreibrachte auf die Samba-Shares habe...

Grüße

StefanV3



Edited 2 time(s). Last edit at 11/06/2010 11:28PM by StefanV3.
NanoBot
Re: new kernel package ready to use
November 06, 2010 12:37PM
I tried to compile the carl9170 driver myself, and now I am ending up here:

--------

root@debian:/usr/src/compat-wireless-2010-11-05# make
make -C /lib/modules/2.6.35.7-dockstar/build M=/usr/src/compat-wireless-2010-11-05 modules
make[1]: Entering directory `/usr/src/linux-2.6.35.7'

WARNING: Symbol version dump /usr/src/linux-2.6.35.7/Module.symvers
is missing; modules will have no dependencies and modversions.

LD [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/ath.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/main.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/usb.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/cmd.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/mac.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/phy.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/led.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/fw.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/tx.o
CC [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/rx.o
LD [M] /usr/src/compat-wireless-2010-11-05/drivers/net/wireless/ath/carl9170/carl9170.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/main.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/status.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/sta_info.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/wep.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/wpa.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/scan.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/offchannel.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/ht.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/agg-tx.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/agg-rx.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/ibss.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/mlme.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/work.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/iface.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/rate.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/michael.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/tkip.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/aes_ccm.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/aes_cmac.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/cfg.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/rx.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/spectmgmt.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/tx.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/key.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/util.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/wme.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/event.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/chan.o
CC [M] /usr/src/compat-wireless-2010-11-05/net/mac80211/led.o
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c: In function ‘ieee80211_led_init’:
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:59: error: invalid application of ‘sizeof’ to incomplete type ‘struct led_trigger’
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:63: error: dereferencing pointer to incomplete type
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:64: error: implicit declaration of function ‘led_trigger_register’
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:70: error: invalid application of ‘sizeof’ to incomplete type ‘struct led_trigger’
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:74: error: dereferencing pointer to incomplete type
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:81: error: invalid application of ‘sizeof’ to incomplete type ‘struct led_trigger’
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:85: error: dereferencing pointer to incomplete type
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:92: error: invalid application of ‘sizeof’ to incomplete type ‘struct led_trigger’
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:96: error: dereferencing pointer to incomplete type
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c: In function ‘ieee80211_led_exit’:
/usr/src/compat-wireless-2010-11-05/net/mac80211/led.c:107: error: implicit declaration of function ‘led_trigger_unregister’
make[3]: *** [/usr/src/compat-wireless-2010-11-05/net/mac80211/led.o] Fehler 1
make[2]: *** [/usr/src/compat-wireless-2010-11-05/net/mac80211] Fehler 2
make[1]: *** [_module_/usr/src/compat-wireless-2010-11-05] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.35.7'
make: *** [modules] Fehler 2


---------

Any hint how to resolve this problem, please ? And what about the warning "WARNING: Symbol version dump /usr/src/linux-2.6.35.7/Module.symvers is missing; modules will have no dependencies and modversions. ", is this an important thing ?

C.U. NanoBot
NanoBot
Re: new kernel package ready to use
November 06, 2010 03:31PM
The above problem is solved as it concernes the compilation error. I downloaded the kernel config from gorgone, which is available here in the thread, made a "make oldconfig" and "make prepare" within the kernel source, and know the carl9170 driver has been created and works. Hopefully it is more stable then the ar9170usb driver when used on the Dockstar.
Re: new kernel package ready to use
November 08, 2010 11:12AM
Hi,
I wanted to compile S2-liplianin.
But i get this errors:

root@dockstar1:/usr/src/s2-liplianin# make
make -C /usr/src/s2-liplianin/v4l
make[1]: Entering directory `/usr/src/s2-liplianin/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.35
File not found: /lib/modules/2.6.35.7-dockstar/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/usr/src/s2-liplianin/v4l'
make: *** [all] Error 2
root@dockstar1:/usr/src/s2-liplianin#



Before i did the following:
install Kernel 2.6.35.7.4 with the full install script of gorgone.
(german howto http://ss4200.homelinux.com/dockstar/ )
cd /user/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.7.tar.gz
tar xzvf linux-2.6.35.7.tar.gz 
rm linux
ln -s linux-2.6.35.7 linux
cd /usr/src/linux
make oldconfig
make prepare
downloading config file (from gorgone:  http://forum.doozan.com/read.php?2,582,1981,page=6)
rename and  copy configfile „config-2.6.35.7“ to /boot
cp /boot/config-2.6.35.7-dockstar .config
cd /usr/src/s2-liplianin
make

How can i get the link or directory „lib/modules/2.6.35.7-dockstar/build“ ?

Thanks für helping me !
NanoBot
Re: new kernel package ready to use
November 08, 2010 02:49PM
Hi,

1.)
In my case the symlink /usr/src/linux -> /usr/src/linux-2.6.35.7 was not necessary, but there are to other symlinks which might need to be corrected according to your situation:

root@debian:~# ls -l /lib/modules/2.6.35.7-dockstar
...
lrwxrwxrwx 1 root root 24 5. Nov 21:04 build -> /usr/src/linux-2.6.35.7
lrwxrwxrwx 1 root root 23 5. Nov 21:04 source -> /usr/src/linux-2.6.35.7
...

On my system these symlinks pointed to another ( not existing ) location at /mnt/... before I corrected them.

2.)

Try to execute ( again )

cd /usr/src/linux
make oldconfig
make prepare

after importing the .config file from gorgone to /usr/src/linux-2.6.35.7. In my case this was the solution to the compilation problems of the wlan driver.
Re: new kernel package ready to use
November 08, 2010 04:20PM
Hi NonoBot,

thanks for your hint.
My dockstar ist now compiling....
Falcon
Re: new kernel package ready to use
November 09, 2010 10:33AM
Hi NanoBot,

I also have an USB-Stick with Atheros chip (TL-WN821N).
Can you make the carl9170 driver available?

Thanks.

Falcon
Re: new kernel package ready to use
November 10, 2010 01:10PM
Thanks NanoBot,

i had to do an additional
make modules_prepare
an now everything looks fine:

root@dockstar1:~# dmesg | grep -i dvb
dvb-usb: found a 'Technotrend TT Connect S2-3600' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT Connect S2-3600)
dvb-usb: MAC address: 00:d0:5c:61:72:b0
DVB: registering adapter 0 frontend 0 (STB0899 Multistandard)...
input: IR-receiver inside an USB DVB receiver as /devices/platform/orion-ehci.0/usb1/1-1/1-1.3/input/input0
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: Technotrend TT Connect S2-3600 successfully initialized and connected.
usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw
root@dockstar1:~#



Edited 1 time(s). Last edit at 11/12/2010 02:06PM by lin_win.
franko_
Re: new kernel package ready to use
November 27, 2010 03:22AM
Hallo,

hab da noch ein paar Fragen zum erstellen des Kernels:
Installiert habe ich Debian Squeeze mit 2.6.35.7 dockstarheavy...
Ich möchte den Kernel aber neu kompilieren, da ich Probleme mit meiner USB Webcam habe (no space left on Devive)
Den Eintrag CONFIG_USB_EHCI möchte ich bearbeiten.
Das kompilieren klappt soweit, aber ich bekomme eine Vmlinuz-kernel.image und eine initrd Ramdisk.
Wenn ich mit dpkg -i deb installiere, wird der Kernel nicht geladen. (uImage - > nach uImage.old umbenannt)
An der initrd kann es nicht liegen da auch schon umbenannt.

Wie sieht die make-kpkg Syntax bei euch aus? lokal auf der Dockstar?

Wenn ich mit codesourcery arbeite (2009), bekomme ich nur objcopy: Unable to recognise the format of the input file
und das kompilieren bricht ab.

was muss im make menuconfig eingestellt sein, damit er keine initrd braucht, wo stelle ich das ein und welche kernel .config kann ich für kernel nehmen?

Danke und Gruss
Frank
ingmar_k
Re: new kernel package ready to use
November 27, 2010 09:19AM
Hi gorgone,

thank you very much for your patch files! I compiled a new 2.6.36.1 Kernel yesterday for use on my Emdebian Grip, installed in my Dockstars NAND. Everything worked like a charm and the resulting Kernel booted without any problems. BTW, I compiled directly on the Dockstar, because I had some problems with the cross compile environment on my virtual machine. Just booted the dockstar from my previously used USB stick with Squeeze and used that for compiling the kernel.

BIG THX again. Keep up the good work.

Greets from Bavaria! ;-)

Ingmar
Re: new kernel package ready to use
November 27, 2010 11:00AM
Gorgone
I was wondering if you could come up with recovery partition on NAND that could have useful features for us like:

1 petergun displaylink monitor and liny lcd install that shows ROOT access.
2 Keyboard support
3 Tiny menu program like you have for gorgone install ... but would have fix boot partition, check ssh settings, partition new hard drive or usb stick, other useful features.
4 maybe even a feature that if it senses boot partition on one of the usb ports, checks it and fixes errors and does autoboot back into FIXED boot drive.
5 If no boot partition in one of the usb ports it would start recovery partition and show menu.

If boot partition fails, the recovery partition would kick in and fix the boot partition and do auto reboot to boot drive, this would be good if power failure or bad shutdown.

Jeff's rescue system I don't know how to use and I don't find it helpful to me, but something that fixes stuff and allows us to use any displaylink monitor or 5 dollor lcd screen for root access from NAND would be very helpful to me.

p.s. Gorgone
I was hoping maybe you would list the programs that come installed in your package. I see oscam and watchdog for prepare, but your install page doesn't list any programs or what they do. The packages are 1.3 gig's , your basic install is 370 megs, but after the prepare it's 1.7 gig, can you list for us, what the packages are and maybe how to use them.
I did google on oscam , and it's something to do with card reader , and on utube, nothing in english but 2 or 3 posts in german I think, so maybe list programs, because I'm sure there are cool packages installed but I don't know what they are or what they do. :)



Edited 2 time(s). Last edit at 11/27/2010 01:52PM by rgtaa.
Re: new kernel package ready to use
December 09, 2010 02:15PM
Your dockstarheavy.deb is not working for me. It is not creating uInitrd file. I went for the latest one here blog.dev-eth0.de which is quite stable for me.
Thanks
Re: new kernel package ready to use
December 10, 2010 12:10AM
read the first entry !!! the heavy kernel dont need uInitrd and u must rename or delete the old one !!!
Re: new kernel package ready to use
December 11, 2010 01:36PM
Hi Gorgone,

Thank you for making this kernel package.

I'm using it and it works great to control the LED on my Dockstar.
Linux htstore3 2.6.35.7-dockstar #5 PREEMPT Mon Oct 18 12:22:45 CEST 2010 armv5tel GNU/Linux

Can I ask 2 questions please.

First - I notice that the kernel that Jeff's script installed has timestamps in syslog
for example:
[ 1.014571] Creating 4 MTD partitions on "orion_nand":

but your kernel doesn't
Creating 4 MTD partitions on "orion_nand":

Is there any way to enable the timestamps?


Secondly - I have a weird problem - I'm unable to mount the mtd2 ubifs partition (which contains Jeff's recovery system when I boot your kernel.)

For instance if I boot the regular Jeff's kernel from USB - I can
# ubiattach /dev/ubi_ctrl -m 2
# mount -t ubifs ubi0:rootfs /mnt/ubifs

and then read/edit the files on mtd2

BUT when I boot your kernel from USB, I get the following:

root@htstore2:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "rootfs"
mtd3: 1db00000 00020000 "data"

Following Jeff's instructions - I enter:

root@htstore2:~# ubiattach /dev/ubi_ctrl -m 2
UBI device number 0, total 256 LEBs (33030144 bytes, 31.5 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)

All fine and dandy.

I notice after this attach command: that:

root@htstore2:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "rootfs"
mtd3: 1db00000 00020000 "data"
mtd4: 01ec3000 0001f800 "rootfs"


weird!!!!

Any idea why this happens with your kernel?

thanks,

PHT
Re: new kernel package ready to use
December 11, 2010 04:10PM
sorry no idea if i have time next week i make a new release with the
2.6.36.X (full patched)
with zram support (compressed ram feature support)
maybe fixed ubifs (and table)
Re: new kernel package ready to use
December 13, 2010 10:36AM
Gorgone

I see camstart is installed in your package, do you have any info on it. I checked the web and couldn't find anything.

Is it a security cam program, can you tell me what I need to set it up?
I know there are cool stuff in your build but where is the readme file for sharing what programs are installed.
If there is a forum room where you discuss your install stuff, link it. Thanks.
Re: new kernel package ready to use
December 13, 2010 02:36PM
hehe if u want u can read this Klick into the wiki
if u dont known what a softcam is u dont need it :-D
u can simply remove the lines in /etc/rc.local
and delete the fetch in /usr/src/oscam

all other is for native compile an u can leave it on the installed system



Edited 1 time(s). Last edit at 12/13/2010 02:39PM by gorgone.
Re: new kernel package ready to use
December 15, 2010 09:24PM
Hi gorgone,
I've been using your kernel and I'm liking it a lot. If its not too much to ask could you enable the MCT-232 serial driver in a future release? I need it to use the serial port on my Targus dock. Thanks.

-PG
Re: new kernel package ready to use
December 17, 2010 11:28AM
Early in this thead (page 2), twinclouds was saying Debian squeeze will check the MAC of the network interrace. If it detecs the MAC has changed, it will assign it as eth1. Does this mean I can't move the USB stick from one machine to another?
Re: new kernel package ready to use
December 17, 2010 12:22PM
Yes - you need to edit a file move the 'move'.

Details here:

http://forum.doozan.com/read.php?2,454,499#msg-499


PHT
Re: new kernel package ready to use
December 17, 2010 05:56PM
Thanks. Looks like I have another problem. It doesn't look like this kernel can be used on pogoplug.
Re: new kernel package ready to use
December 17, 2010 06:27PM
I'll test mine a little later tonight.

I'm running the gorgone kernel on a dockstar - 2 feet away from a pogoplug.

Will try the switcharoo and see if it works.

PHT
Re: new kernel package ready to use
December 17, 2010 06:59PM
Thanks. By the way, does the pogoplug have a reset switch?
Re: new kernel package ready to use
December 17, 2010 07:11PM
mine doesn't
Re: new kernel package ready to use
December 17, 2010 08:13PM
my pogoplug booted no problem on the gorgone kernel ....

but the leds don't work under the gorgone kernel

PHT
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: