Welcome! Log In Create A New Profile

Advanced

new kernel package ready to use

Posted by gorgone 
new kernel package ready to use
September 07, 2010 12:28PM
Now 2.6.35.7.4 online

fixed contrac sisusbvga(+consoleswitch) ntfs(readonly) hfs hfs+ support
usbgadgets addet automount fixed add i2c code

cd /tmp
fetch the kernel
wget 193.16.217.9/files/dockstarheavy.deb
kernel install/overwrite (save the old one)
dpkg -i --force-overwrite dockstarheavy.deb
!!!!!!!!!! u must rename the old initrd or delete
thanks to weo for the hint...
mv /boot/uInitrd /boot/org.uInitrd

  • ...none … LED off
  • ...nand-disk … LED nand activity
  • ...timer ... time controled LED
  • ...heartbeat … LED blinks like the heartbeat
  • ...default-on … LED allways on
add this 2 lines to rc.local
this disables heartbeat and sets the green LED on
echo default-on > /sys/class/leds/dockstar\:green\:health/trigger
echo none       > /sys/class/leds/dockstar\:orange\:misc/trigger

add this line
echo none > /sys/class/leds/dockstar\:green\:health/trigger
under
log_action_msg "Will now halt"
halt -d -f $netdown $poweroff $hddown
in /etc/init.d/halt
this shows u when it is safe to remove disks and power cable
on init 0 or halt command

my modify full install with nfs samba and ftp(root access)
with all fixes and script patches
german howto http://ss4200.homelinux.com/dockstar/
cd /tmp
wget http://ss4200.homelinux.com/dockstar/gogo-dock.sh
chmod 777 gogo-dock.sh
./gogo-dock.sh



Edited 14 time(s). Last edit at 10/26/2010 06:52PM by gorgone.
gorgone
new kernel package ready to use
August 28, 2010 08:26AM
if someone wants i build a actual kernel 2.6.35.3 with the dockstar patches

cd /tmp
wget 193.16.217.9/files/dockstarkandm.deb
dpkg -i --force-overwrite dockstarkandm.deb

ready to use
on boot is the orange led in heartbeat mode
u can simply ad following 2 lines to /etc/rc.local (bevore exit 0)
echo default-on > /sys/class/leds/dockstar\:green\:health/trigger
echo none       > /sys/class/leds/dockstar\:orange\:misc/trigger

and the led stays on green and u can login to the box
Hades
Re: new kernel package ready to use
August 28, 2010 10:52AM
Tried it and it worked like a charm, awesome work might be something Jeff could integrate directly in the debian install scripts :D
Re: new kernel package ready to use
August 28, 2010 03:08PM
Thanks :-)

But, how did you do that ?
Now i have the Dockstar LED working :-p
ecc
Re: new kernel package ready to use
August 28, 2010 04:13PM
Here's how to cross-compile a kernel package for installation on your DockStar. It assumes you have an armel cross-toolchain available in your PATH as arm-linux-gnu-{gcc,as,ld,...}.

1. Install the "kernel-package" Debian package on your build (desktop) machine.
2. Fetch the kernel source and apply the patches you want.
3. Run
make ARCH=arm CROSS_COMPILE=arm-linux-gnu- menuconfig
to configure the kernel options you want.
4. Run
make-kpkg --rootcmd fakeroot --arch armel  --cross-compile arm-linux-gnu- --initrd kernel_image
to build the .deb containing the kernel and initramfs.
mxspy
Re: new kernel package ready to use
August 28, 2010 04:45PM
Hi eec,

i have tried it - the led works fine - but i have some problems with /lib/modules/2.6.35.3/modules.dep. I got some erros on boot ... not found. If I try insmod some modules from the command line, the same error message came.

Is this for NAND installation only?
gorgone
Re: new kernel package ready to use
August 28, 2010 05:01PM
mxspy Wrote:
-------------------------------------------------------
> Hi eec,
>
> i have tried it - the led works fine - but i have
> some problems with
> /lib/modules/2.6.35.3/modules.dep. I got some
> erros on boot ... not found. If I try insmod some
> modules from the command line, the same error
> message came.
>
> Is this for NAND installation only?

im sorry im working on a new build i have some missmatches with the modules
i build a new package and i post the link if its ready...
Andy
Re: new kernel package ready to use
August 29, 2010 07:27AM
Hi,

i have install the new Kernel but now ntfs-3g dosent work anmore. I look like problems with fuse.
gorgone
Re: new kernel package ready to use
August 29, 2010 07:32AM
jesus
i must patch the kernel make conf
now is the new kernel online with "working" module support
please report missing modules

same url
Re: new kernel package ready to use
August 29, 2010 07:58AM
Hi gorgone
My Cam won't work any more with the kernel with Motion.
Re: new kernel package ready to use
August 29, 2010 07:59AM
Thanks

root@debian:/tmp# dpkg -i --force-overwrite dockstarkandm.deb
(Reading database ... 32138 files and directories currently installed.)
Preparing to replace dockstar.kandm 2.6.35.3 (using dockstarkandm.deb) ...
Unpacking replacement dockstar.kandm ...
Setting up dockstar.kandm (2.6.35.4) ...


Gorgone, edit your first post => Linux 2.6.35.4-dockstar :-)



Edited 1 time(s). Last edit at 08/29/2010 08:01AM by AciDation.
gorgone
Re: new kernel package ready to use
August 29, 2010 08:02AM
markweng Wrote:
-------------------------------------------------------
> Hi gorgone
> My Cam won't work any more with the kernel with
> Motion.


please specify ur chipset
than its possible to nadd the module

@andy

fuse init (API version 7.14)
debian:/usr/src/linux# ntfs-3g /dev/sdb /mnt/
The disk contains an unclean file system (0, 0).
The file system wasn't safely closed on Windows. Fixing.

with the latest kernel no problem wit ntfs-3g
Re: new kernel package ready to use
August 29, 2010 08:05AM
sorry no edit button :-(
Andy
Re: new kernel package ready to use
August 29, 2010 08:16AM
Hi,

now ntfs-3g works. thx. But now my webcam dosent work. What we need is gspca.
Re: new kernel package ready to use
August 29, 2010 08:59AM
Hello gorgone

Can you put uvcvideo and pwc in the kernel

Thanks
Re: new kernel package ready to use
August 29, 2010 10:37AM
new kernel online

wget 193.16.217.9/files/dockstarheavy.deb

this includes all aviable multimedia and wireless drivers /no staging

(example uvcvideo and pwc)



Edited 1 time(s). Last edit at 08/29/2010 10:37AM by gorgone.
oli
Re: new kernel package ready to use
August 30, 2010 07:51AM
What must i do that my nfs-server is working ?
Re: new kernel package ready to use
August 30, 2010 10:58AM
apt-get install nfs-kernel-server nfs-common portmap
sample
/etc/exports
/mnt/raid *(rw,async,no_subtree_check,fsid=0,insecure)
exportfs -a -r

mount sample
mount files.first.com:/home /mnt/nfs



Edited 1 time(s). Last edit at 08/30/2010 10:59AM by gorgone.
Re: new kernel package ready to use
August 30, 2010 07:38PM
I have installed Squeeze Debian using Jeff's scripts. If I want to upgrade to is new kernel, all I need to do is to log into the Squeeze Debian as root and do the wget and dpkg commands? It must be a stupid question for many of you and sorry about that :-).
Re: new kernel package ready to use
August 30, 2010 09:19PM
yes
get the package and install/overwrite it
Re: new kernel package ready to use
August 30, 2010 10:55PM
Yes. It works very well. Thanks.
Re: new kernel package ready to use
August 31, 2010 07:57AM
Thanks :-)
Re: new kernel package ready to use
September 02, 2010 04:27AM
Sorry to disturb you, but I have installed the new kernel (works very well !), and now I need the headers:

E: Couldn't find package linux-headers-2.6.35.4-dockstar

But I don't know where to find them...

Thanks
Re: new kernel package ready to use
September 02, 2010 10:55AM
looloo Wrote:
-------------------------------------------------------
> Sorry to disturb you, but I have installed the new
> kernel (works very well !), and now I need the
> headers:
>
> E: Couldn't find package
> linux-headers-2.6.35.4-dockstar
>
> But I don't know where to find them...
>
> Thanks

this is a vanilla kernel get it from www.kernel.org
Re: new kernel package ready to use
September 02, 2010 10:58AM
Ok thanks !

So nothing specific for the dockstar then !
Re: new kernel package ready to use
September 02, 2010 11:51AM
looloo Wrote:
-------------------------------------------------------
> Ok thanks !
>
> So nothing specific for the dockstar then !


not on the header

only patches in the makefile and some kirkwood files
Re: new kernel package ready to use
September 02, 2010 01:50PM
Have you tested this one on Lenny as well?
Squeeze seems having some problems on two of my Dockstars but not on the other one. (Yes, I have three in commission. :-) I will test more and report to see if anyone else also have the same problem.
Re: new kernel package ready to use
September 02, 2010 04:22PM
this kernel can run under lenny but no guarantee
no i dont like lenny
its to old and has manny other problems for me (udev)
squeeze is verry nice for compiling source and much better for multimedia
Re: new kernel package ready to use
September 02, 2010 05:27PM
I have tried Lenny and Squeeze both. The advantage of Lenny is that once I compiled it, I can use the image on multiple Dockstars with no problem. For Squeeze, I compiled one on one Dockstar and it works fine. However, I couldn't use the image on another Dockstar. It looks like that the device is booting but I cannot access it. Even pinging it does not work. I don't know if others have the same issue as me. I will try more to see what is the cause.
Re: new kernel package ready to use
September 02, 2010 06:03PM
sounds strange ...
compiling on arm ist not easy sometimes ....
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: