Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th September 2006, 15:49
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Precompiled kernel with Nokia DKU-2

Hey

I'm having some problems, because I'm going to USA soon, and I'm going to have a mobile phone connected to my mobile phone, while I'm overthere, so I can send smses to my friends and so on
I have a Nokia 6230i, I will like to have connected to my computer
Otherwise I'm searching for a precompiled kernel, where usb_serial.h is included
Reply With Quote
Sponsored Links
  #2  
Old 12th September 2006, 17:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by the87boy
Otherwise I'm searching for a precompiled kernel, where usb_serial.h is included
I don't know where you can find such a kernel... Maybe it's easier to compile your own one?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th September 2006, 17:14
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have given it a try, but it wasn't successful
I had a config-file, but it's failing everytime, so if someone can compile it for me, I will be very happy
Reply With Quote
  #4  
Old 12th September 2006, 17:22
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Can you copy any output why it is failing and what you are doing stepy by step maybe it is easier to help then...

Is it failing while compiling or on reboot?
Reply With Quote
  #5  
Old 12th September 2006, 17:25
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Ben
Can you copy any output why it is failing and what you are doing stepy by step maybe it is easier to help then...
Shall I also copy the whole config file in here or?

Quote:
Originally Posted by Ben
Is it failing while compiling or on reboot?
It's failing on compiling
Reply With Quote
  #6  
Old 12th September 2006, 18:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by the87boy
It's failing on compiling
Just post this error for now.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 13th September 2006, 15:18
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now I had compiled it with just this errors, who are written in the zipped log-file, I had attached.
Now I can't remember, what I have to do, and the howto, I had followed isn't avaible more
I had compiled the kernel with this commando:
Code:
make-kpkg --revision=custom.1.0 --initrd --rootcmd fakeroot binary-arch
Shall I just use this commandoes:
Code:
dpkg -i linux-image-2.6.17.11_custom.1.0_i386.deb linux-headers-2.6.17.11_custom.1.0_i386.deb
And then just reboot or what?
Attached Files
File Type: zip output.zip (14.9 KB, 385 views)
Reply With Quote
  #8  
Old 13th September 2006, 15:45
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Ah I thought of compiling the "real" source from kernel.org with "patching" or adding the dku2 sources....
Reply With Quote
  #9  
Old 13th September 2006, 15:54
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It was also my meaning, but I couldn't find out of how to do that, so I will make the DKU-2 driver as a module (as described on the http://www.gnokii.org/docs.shtml#dku2) when I can't find out of the other thing

Last edited by the87boy; 13th September 2006 at 16:01.
Reply With Quote
  #10  
Old 13th September 2006, 16:29
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
 
Default

Well I would use this:

Quote:
Install

* Get / configure / build a set of kernel sources.
* make sure that you are running this kernel, and /lib/modules/`uname -r`/build points to the kernel sources directory
* cd $gnokii_sources/patches/kernel_2.{4,6}
* make
* Become root
* make install
* modprobe nokia_dku2
* dmesg
* Look for the lines as shown above!
* Edit .gnokiirc to include port=/dev/ttyUSB.. and connection=dku2
For the first part I would download the actual kernel image from kernel.org,
unzip it in e.g. /usr/local/src
cd into the kernel dir
if you already have a kernel config for that kernel tree (eihter 2.4 or 2.6) copy it into that dir
run "make menuconfig" and change things which you need or do not need.
then run the above steps till make (excluding make) and run
"make bzImage modules modules_install"

then follow the rest.

at least do

cp arch/i386/boot/bzImage /boot/kernel-2.X.XX.X
cp System.map /boot/System.map-2.X.XX.X
cp .config /boot/.config-2.X.XX.X

the rest depends now on your bootloader config if it is lilo or grub...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
Memory leak? oom-killer problem yikes! Stokesy Server Operation 7 29th July 2006 13:48
xen not booting qiu HOWTO-Related Questions 11 2nd May 2006 11:20
sargeDebian GNU/Linux, kernel 2.6.8-3-686 and Debian kernel 2.6.8 386- qiu Kernel Questions 23 25th April 2006 16:53
Questions about ubuntu ISP-Server Setup badgerbox76 HOWTO-Related Questions 15 5th March 2006 15:41


All times are GMT +2. The time now is 11:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.