Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Copying EEEpc 900 kernel from Xandros
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rich4
n00b
n00b


Joined: 22 Feb 2008
Posts: 10

PostPosted: Sun Oct 12, 2008 2:57 am    Post subject: Copying EEEpc 900 kernel from Xandros Reply with quote

I'm looking for help with the code and such in copying the EEE kernel from the default Xandros OS, and to where I might copy it in a fresh gentoo install.

Any other insight is more than welcome

-rich4
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Oct 12, 2008 3:00 am    Post subject: Reply with quote

Hi first, what kernel version the EEEpc does use ?

Code:

# uname -a


Also, I'm not sure that you can actually copy a .config from one distro to an another one without major crash.
Back to top
View user's profile Send private message
rich4
n00b
n00b


Joined: 22 Feb 2008
Posts: 10

PostPosted: Sun Oct 12, 2008 3:41 am    Post subject: Reply with quote

d2_racing wrote:
Hi first, what kernel version the EEEpc does use ?

Code:
/home/user> uname -a
Linux asus-324376397 2.6.21.4-eeepc #2 Tue Feb 19 11:46:29 EST 2008 i686 GNU/Linux


d2_racing wrote:
Also, I'm not sure that you can actually copy a .config from one distro to an another one without major crash.

Someone on irc.freenode mentioned:
Code:
zcat /proc/config.gz > config.gz
though I know not what to do with it.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Sun Oct 12, 2008 10:00 am    Post subject: Reply with quote

Then you can unpack it and put it n /usr/src/linux/.config and 'make oldconfig' to set the your new kernel with the same options. Or you might prefer to config your new kernel by hand and just read the config from xandros to know what drivers they used etc.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Oct 12, 2008 2:00 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
kernel question, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Oct 12, 2008 3:03 pm    Post subject: Reply with quote

That's what I was thinking.

What will happen when he will lunch make oldconfig.

Since it's not a gentoo-sources, then maybe the make oldconfig will crash or it will leave some custom line from the EEEPC kernel that are not present inside the gentoo-sources .config.

Am I right with this possible problem ?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Sun Oct 12, 2008 4:38 pm    Post subject: Reply with quote

I doubt that. Make old config always asks when the new kernel has options that did not exist in the old kernel - and I think it ignores the options that do not exist in the new. If this is the case then you won't know whether Xandros has some custom patches/drivers in their kernel which you might need...
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Thu Jan 22, 2009 8:13 am    Post subject: Reply with quote

Were you ever able to get a working kernel for the eeepc, I can't figure out how to boot from the SSD card.

There are custom pactches in the kernel though I havn't found the 900 ones yet.
the eeepc kernel does not natively provide the /proc/config* interface :-(.
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Thu Jan 22, 2009 8:22 am    Post subject: Reply with quote

Maybe this will help:
http://appliedlife.blogspot.com/2007/11/kernel-recompile-on-asus-eee.html
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Thu Jan 22, 2009 5:38 pm    Post subject: Reply with quote

Thank you, I forgot they did that.
That got me the config but then I have to find the code changes from asus

It looks like Someone is maintaining some patched sources for ubuntu
http://www.array.org/ubuntu/source-build.html
I might try and use those.
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Jan 22, 2009 9:06 pm    Post subject: Reply with quote

Since the kernel is a 2.6.21.x, using make oldconfig to move up to something more "modern" will have to be immediately followed by make xconfig or make menuconfig to clean up what didn't get put where you wanted it. You'll also have a lot of yes and no questions fly by. And, in the end, you'll wind up with mismatch errors.

You should be able to get complete functionality, but it may take some experimentation. I can help if the need arises.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Thu Jan 22, 2009 10:04 pm    Post subject: Reply with quote

8O I didn't know about xconfig ;] By the way it looks damn ugly...
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Jan 22, 2009 10:29 pm    Post subject: Reply with quote

Yeah, but then again, it does lay every kernel option open. Actually, I've used it so much, I don't even look at the whole, just the box I'm clicking at the moment. Ugly never entered into it.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Thu Jan 22, 2009 10:54 pm    Post subject: Reply with quote

In short: I still can't get it working :(
Tried the Ubuntu ones, they have some patches in there, but still fail in the same way.

I have put a gentoo install on an SD card. The Asus has a built in SD reader, and I have a USB reader for it. I have tried both. The eeepc can recognize both, and get to grub. Grub can find the kernel, but...
The kernel doesn't recognize the drive it is booting from, so it dies half way (when it tries to locate the root=).

I either need to get a usb-cdrom so I can use a boot disk but then I lose the nicety of never touching the original eeepc HD
OR Find out wtf needs to be built in the kernel to recognize the SD card port or USB SD reader during boot time, or figure out if initrd solves my problems. This is really my first experience with booting from a flash/usb, so perhaps I have missed something fundamental.

Any help is welcome, will build as may kernels as it takes. The 2 reasons i'ld prefer not installing it to the main drive is that then I would have modify the main drive (currently works really well, asus has all kinds of proprietary stuff I'm not sure if I could get working), and I don't own a USB-CD to boot it.
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Jan 22, 2009 11:17 pm    Post subject: Reply with quote

szczerb wrote:
8O I didn't know about xconfig ;] By the way it looks damn ugly...
What about 'make gconfig' then? ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum