Welcome! Log In Create A New Profile

Advanced

new kernel package ready to use

Posted by gorgone 
Re: new kernel package ready to use
September 26, 2010 08:01PM
Thomas Wrote:
-------------------------------------------------------

> Streamiger Gruß,
> Thomas

haha alles klar mal sehn ich bau schon an nem neuen aber mit allen modulen
Re: new kernel package ready to use
September 26, 2010 08:42PM
Hi, gorgone,
Thank you for your effort to generate and share new kernels with more and more features. I have tried them on both lenny and squeeze and they all worked fine. Considering the trouble people having with wifi support on squeeze (it may be my ignorance, but I have not see a simple wifi installation works on squeeze yet), I went back to lenny and it has been working fine without problems at all. I know you like squeeze, so my questions, is there any really noticeable difference between them for practical applications on Dockstar. Hope you can enlighten me on this.
Re: new kernel package ready to use
September 26, 2010 10:26PM
so i add on the same url the new heavy 9mb (kernel + module)

include all rt zxx realtec wlan drivers add multimedia sound drivers + ipv6 incl ip6tables
also includet all serial/usb and webcam drivers fixed the complete ubifs support (i hope)
usb grafiks from displaylink works (u need xorg drivers)

in the package is the kernel.config installed to /boot if u wand to remove something
after first boot please
depmod -a
and reboot again if some module not found
mosci
Re: new kernel package ready to use
September 27, 2010 01:13AM
Rudolf Wrote:
-------------------------------------------------------
> I am trying now for 3
> days to setup a cross compilation and it does not
> work (objcopy).
> I need for WLAN that package "ath9k_htc".
>
> Best regards, Rudolf

the ath9k_htc works fine with the shipped 2.6.32 and my 2.6.35.5 kernel
i hope you have downlioaded the needed firmware and placed it in /lib/firmware ?!

the firmware can be downloaded here
you will need the ar9271.fw
Re: new kernel package ready to use
September 27, 2010 05:16AM
gorgone Wrote:
-------------------------------------------------------
> so i add on the same url the new heavy 9mb (kernel
> + module)
>
> include all rt zxx realtec wlan drivers add
> multimedia sound drivers


Thanks Gorgone!

After switching back to Debian Lenny in combination with this new Kernel you have provided I FINALLY managed to get a stable WLAN connection using my WIS09ABGN Samsung Wlan adapter (rt2870 based).

Update:

But it seems that the LED stuff doesn't work properly anymore

dockstar:/mnt/media# ll /sys/class/leds/
total 0
lrwxrwxrwx 1 root root 0 2010-09-27 12:36 dockstar:green:health -> ../../devices/platform/leds-gpio/leds/dockstar:green:health
lrwxrwxrwx 1 root root 0 2010-09-27 12:36 dockstar:orange:misc -> ../../devices/platform/leds-gpio/leds/dockstar:orange:misc
dockstar:/mnt/media# ll ../../devices/platform/leds-gpio/leds/dockstar:green:health
ls: cannot access ../../devices/platform/leds-gpio/leds/dockstar:green:health: No such file or directory
dockstar:/mnt/media# ll ../../devices/platform/leds-gpio/leds/dockstar:orange:misc
ls: cannot access ../../devices/platform/leds-gpio/leds/dockstar:orange:misc: No such file or directory



Edited 2 time(s). Last edit at 09/27/2010 05:38AM by Joschi.
Re: new kernel package ready to use
September 27, 2010 06:01AM
i cant confirm this

disable orange led
echo none > /sys/class/leds/dockstar\:orange\:misc/trigger

disable green led
echo none > /sys/class/leds/dockstar\:green\:health/trigger

enable green led
echo default-on > /sys/class/leds/dockstar\:green\:health/trigger
Re: new kernel package ready to use
September 27, 2010 06:05AM
* none … LED off
* nand-disk … LED nand activity
* timer ... time controled LED
* heartbeat … LED blinks like the heartbeat
* default-on … LED allways on

u can mix the color
Re: new kernel package ready to use
September 27, 2010 06:34AM
Confirmed, works.

My fault was to incorrectly use
/sys/class/leds/dockstar\:orange\:health/trigger instead of /sys/class/leds/dockstar\:orange\:misc/trigger
Re: new kernel package ready to use
September 27, 2010 11:54PM
mosci Wrote:
> the ath9k_htc works fine with the shipped 2.6.32
> and my 2.6.35.5 kernel
> i hope you have downlioaded the needed firmware
> and placed it in /lib/firmware ?!
>
> the firmware can be downloaded here
> you will need the ar9271.fw

Sorry, I forgot to activate "Follow topic". Therefore I did not catch the answers.
I have installed the firmware ar9271.fw, thank you for the hint.

Unfortunately I got the message at modprobe:
user.warn kernel: ath9k_hw: Unknown symbol ath_print (err 0)
So I am trying now to compile native the modules.


@gorgone
Thank you for providing the 2.6.35.4 kernel. I have it now installed and it works.

Regards, Rudolf
mosci
Re: new kernel package ready to use
September 28, 2010 04:15AM
@Rudolf
ath9k_htc works 'out of the box' with the kernel from jeff (2.6.32.x) and with my 2.3.35.5 (from this thread) !
(aber du kannst dir natürlich auch nochmal deine module selber kompilieren .-))
Re: new kernel package ready to use
September 28, 2010 04:25AM
2.6.35.6 / work in progress
Re: new kernel package ready to use
September 28, 2010 05:59AM
Hello mosci,

Thank you for the positive answer regarding the ath9k_htc driver.
I just compiled it by myself with the 2.6.35.4 kernel from gorgone.
Now it loads without error, but if I say "up" the Dockstar locks.
The firmware ar9271.fw was loaded OK.
usb 1-1.4: ath9k_htc: Transferred FW: ar9271.fw, size: 53368
So I am back to my solid WN321G, which works.

Regards, Rudolf

p.s. es schein ja doch einige deutsche Mitstreiter zu geben. Als Rentner bin ich zwar im Zeitvorteil :-), aber nicht mehr so schnell :-(
Re: new kernel package ready to use
September 28, 2010 06:11AM
@Rudolf
i have had also problems with this module and the (heavy) kernel from gorgone
thats why i have compiled a kernel myself (and because i needed the spca1528 which is not in the kerneltree). have you tried it with my kernel?
i told you .-) it works well on my dockstar.

maybe you have more luck with the 2.6.35.6 which gorgone will provide

ps:rentner werde ich hoffentlich auch mal .... in 25 jahren .-)



Edited 3 time(s). Last edit at 09/28/2010 06:17AM by Mosci.
Re: new kernel package ready to use
September 28, 2010 09:51AM
Hello Mosci,

Have you enabled in the kernel config the debug support for the ath9k_htc driver? That gave me the problem with the unknown symbol ath_print.

If yes, and you tell me how you have set the config flags, I might give it another try.
At the moment I am still fighting the problem with menuconfig, which tells me that I do not have installed ncurses, while I have.

Regards, Rudolf
Re: new kernel package ready to use
September 28, 2010 10:34AM
@Rudolf
thats my config regarding the ath:
CONFIG_ATH_COMMON=m
CONFIG_ATH_DEBUG=y
CONFIG_ATH5K=m
CONFIG_ATH5K_DEBUG=y
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K=m
CONFIG_ATH9K_DEBUGFS=y
CONFIG_ATH9K_HTC=m
CONFIG_ATH9K_HTC_DEBUGFS=y

have you installed libncurses5 too?
i don't remember exactly, but i think that was missing on my try to compile on the dockstar itselfs ...
later on i decided to crosscompile because it takes way to long to get a result on the dockstar .-)



Edited 2 time(s). Last edit at 09/28/2010 10:44AM by Mosci.
Re: new kernel package ready to use
September 28, 2010 11:32AM
Hello Mosci,

I have checked for libncurses5, it is installed.
Unfortunately the ncurses check is very cryptic for me:
/usr/src/linux-2.6.35.4/scripts/kconfig/lxdialog
# Check if we can link to ncurses
check() {
        $cc -xc - -o $tmp 2>/dev/null <<'EOF'

#include CURSES_LOC
main() {}
EOF
	if [ $? != 0 ]; then
	    echo " *** Unable to find the ncurses libraries or the"       1>&2
	    echo " *** required header files."                            1>&2
	    echo " *** 'make menuconfig' requires the ncurses libraries." 1>&2
	    echo " *** "                                                  1>&2
	    echo " *** Install ncurses (ncurses-devel) and try again."    1>&2
	    echo " *** "                                                  1>&2
	    exit 1
	fi
}
Could you please give me a hint, how to debug that?

Regards, Rudolf
Re: new kernel package ready to use
September 28, 2010 11:35AM
simply do this

apt-get install libncurses5-dev
Re: new kernel package ready to use
September 28, 2010 11:35AM
i think
apt-get install libncurses5-dev
will do the trick .-)
Re: new kernel package ready to use
September 28, 2010 11:48AM
@ gorgone & @ Mosci

That was the trick:
apt-get install libncurses5-dev
Now it works with make menuconfig - Thank you very much.

Regards, Rudolf
Re: new kernel package ready to use
September 28, 2010 01:02PM
2.6.35.6 is online module whishes are welcome
if u cant build something (a externel module or driver)
post the source url and i wil take a look on it
Re: new kernel package ready to use
September 29, 2010 08:30PM
gorgone Wrote:
-------------------------------------------------------
> 2.6.35.6 is online module whishes are welcome
> if u cant build something (a externel module or
> driver)
> post the source url and i wil take a look on it

May be you can add ath9k kernels. I didn't see them in your previous list: (http://ss4200.homelinux.com/files/module.list.txt ).
Re: new kernel package ready to use
September 29, 2010 09:03PM
actual module list online
sorry for the old one

all ath9 is in the kernel
Re: new kernel package ready to use
September 29, 2010 10:17PM
gorgone Wrote:
-------------------------------------------------------
> actual module list online
> sorry for the old one
>
> all ath9 is in the kernel

Thanks now I see it.
Once I update the kernel, can I delete the old ones (under /lib/modules/)?
Re: new kernel package ready to use
September 29, 2010 10:37PM
Hello gorgone,

It is very nice, if you are busy to produce new kernel packages (dockstarheavy.deb), but if you want to compile source code the source code must match the kernel version. And if you want to tell people where to get a new kernel package you have a moving target.

I am just preparing a DockStar for my son, and also check my documentation on web page
http://www.rudiswiki.de/wiki/DockStarDebian
The procedure is, to start with Jeff Doozan's script "dockstar.debian-squeeze.sh".
Then you have a kernel 2.6.32 on board (USB stick).
Next step is to update to a new kernel 2.6.35.4, because you have the source toolchain 2.6.35.4 already setup.
Oops, where is the "dockstarheavy.deb" version 2.6.35.4 gone?

So please do me a favor and add a version number to "dockstarheavy.deb" e.g. "dockstarheavy-2.6.35.6.deb".
And please supply also the "old" version "dockstarheavy-2.6.35.4.deb", otherwise you have to update also the complete source chain.

Regards, Rudolf
Evilandi666
Re: new kernel package ready to use
September 30, 2010 07:03AM
Does it include the rt2780sta or the rt3070sta module?

Could somone with this kernel installed tell me what "modinfo rt3070sta" and "modinfo rt2870sta" says?
Re: new kernel package ready to use
September 30, 2010 07:58AM
Hello,
Cross compiling in Ubuntu 1004 works now, bugfix was:

1. Error message: objcopy: Unable to recognise the format of the input file
Fix: This seems to be an kernel-package issue. If you interupt the process fast enough and
scroll back before the first error you can see a part of the script with a "direct" call to objcopy.
Create a symbolic link to arm-none-linux-gnueabi-objcopy called objcopy in the codesourcery directory.
Since this will be searched before the usual path, the "right" objcopy will be
called inside the codesourcery environment.
$ cd /usr/local/codesourcery/arm-2009q3/bin/
$ ln -s arm-none-linux-gnueabi-objcopy objcopy

2. Error message: dpkg-gencontrol: error: package linux-headers-... not in control info
Fix: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588126
/usr/share/kernel-package/ruleset/targets/common.mk # search for "(version)" lower case only
substitute /version/KERNALRELEASE/ in lines 234, 250, 259
/usr/share/kernel-package/ruleset/targets/image.mk # search for "(version)" lower case only
substitute /version/KERNALRELEASE/ in line 291

Native compiling on the DockStar does also work now, about 2.5 hours total.
Prerequisite:
apt-get install git-core debhelper build-essential fakeroot kernel-wedge uboot-mkimage
additional 
apt-get install libncurses5-dev  # for make menuconfig

I hope, it will help someone.
Regards, Rudolf
Re: new kernel package ready to use
September 30, 2010 08:03AM
@twinclouds
if u install the package the old one is removed automaticly (i think)
if u update from .4 or .5 u can delete it by hand

@rudolf
i dont understand what u want ...
the dockstar heavy is allways a complete all build in package all modules + kernel + kernel.config
if some module missing i can rebuild it
the actual stable version on www.kernel.org is 2.6.35.6
i use allways the actual version + make patch + dockstar patches + (new i2c patch for hardwareclock)



Edited 1 time(s). Last edit at 09/30/2010 08:09AM by gorgone.
Re: new kernel package ready to use
September 30, 2010 08:05AM
Evilandi666 Wrote:
-------------------------------------------------------
> Does it include the rt2780sta or the rt3070sta module?
>
> Could somone with this kernel installed tell me
> what "modinfo rt3070sta" and "modinfo rt2870sta" says?
Not found.

What is included:
CONFIG_RT2X00=m
CONFIG_RT2400PCI=m
CONFIG_RT2500PCI=m
CONFIG_RT61PCI=m
CONFIG_RT2800PCI_PCI=y
CONFIG_RT2800PCI=m
CONFIG_RT2800PCI_RT30XX=y
CONFIG_RT2800PCI_RT35XX=y
CONFIG_RT2500USB=m
CONFIG_RT73USB=m
CONFIG_RT2800USB=m
CONFIG_RT2800USB_RT30XX=y
CONFIG_RT2800USB_RT35XX=y
CONFIG_RT2800USB_UNKNOWN=y
CONFIG_RT2800_LIB=m
CONFIG_RT2X00_LIB_PCI=m
CONFIG_RT2X00_LIB_USB=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_HT=y
CONFIG_RT2X00_LIB_FIRMWARE=y
CONFIG_RT2X00_LIB_CRYPTO=y
CONFIG_RT2X00_LIB_LEDS=y
# CONFIG_RT2X00_DEBUG is not set

Regards, Rudolf
Re: new kernel package ready to use
September 30, 2010 08:10AM
Re: new kernel package ready to use
September 30, 2010 08:28AM
Hello gorgone,

Sorry for the misunderstanding.
What I mean is, that setting up a source chain is very time consuming. So it is convenient to copy it from one USB-stick to the next (e.g. /use/src/linuc-2.6.35.4).

Now, if I download your anonymous dockstarheavy.deb , or give the link to someone else, and it does not match the kernel version in the installed source chain, you either have to find the old anonymous dockstarheavy.deb archive (2.6.35.4), or you have to update your source chain.

Therefore I would like to have a version number added to your dockstarheavy.deb in order to know where you are.

I hope it is not too much effort for you. By the way, thanks for your good work. It helped me a lot.

Regards, Rudolf
Author:

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: