View previous topic :: View next topic |
Author |
Message |
rich4 n00b
Joined: 22 Feb 2008 Posts: 10
|
Posted: Sun Oct 12, 2008 2:57 am Post subject: Copying EEEpc 900 kernel from Xandros |
|
|
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 |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Oct 12, 2008 3:00 am Post subject: |
|
|
Hi first, what kernel version the EEEpc does use ?
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 |
|
|
rich4 n00b
Joined: 22 Feb 2008 Posts: 10
|
Posted: Sun Oct 12, 2008 3:41 am Post subject: |
|
|
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 |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Oct 12, 2008 10:00 am Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Oct 12, 2008 2:00 pm Post subject: |
|
|
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 |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Oct 12, 2008 3:03 pm Post subject: |
|
|
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 |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Oct 12, 2008 4:38 pm Post subject: |
|
|
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 |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Thu Jan 22, 2009 8:13 am Post subject: |
|
|
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 |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
|
Back to top |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Thu Jan 22, 2009 5:38 pm Post subject: |
|
|
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 |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Jan 22, 2009 9:06 pm Post subject: |
|
|
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 |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Thu Jan 22, 2009 10:04 pm Post subject: |
|
|
I didn't know about xconfig ;] By the way it looks damn ugly... |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu Jan 22, 2009 10:29 pm Post subject: |
|
|
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 |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Thu Jan 22, 2009 10:54 pm Post subject: |
|
|
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 |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Jan 22, 2009 11:17 pm Post subject: |
|
|
szczerb wrote: | I didn't know about xconfig ;] By the way it looks damn ugly... | What about 'make gconfig' then? |
|
Back to top |
|
|
|