View previous topic :: View next topic |
Author |
Message |
Yogi-CH Guru


Joined: 19 Apr 2004 Posts: 372 Location: Somewhere in Texas, last I remember...
|
Posted: Mon Mar 07, 2005 3:32 pm Post subject: CR-RW prob w/kernel-2.6.10-hardened [SOLVED] |
|
|
I compiled the kernel-2.6.10-hardened-r3 after I thought I had done a clone config and the CD-RW didn't work as root when I tried to burn a backup. Weird thing was that as user it works fine --to read, at least. As root I used xcdroast and it went through the motions of blanking the media but didn't actually blank it. After that it gave me the 'insert media' error when I tried to write the backup. The CD-RW was in the drive, too.
What I need is a reminder of exactly how to do the clone config since I seem to have lost where I wrote it down (or perhaps forgot to write it down). Perhaps the kernel was just misconfigured, I don't know .
What I did:
Code: |
genkernel --menuconfig all
|
...so I could add a few things relative to my box. I also enabled CD packet writing and perhaps that was a mistake. I would like to know how to do make cloneconfig since kernel-2.6.9-gentoo-r1 works great burning CDs. I got no errors when I tried it but it seems to not have worked correctly, either.
Thanks. _________________ ...Yogi
Last edited by Yogi-CH on Tue Mar 08, 2005 5:13 am; edited 1 time in total |
|
Back to top |
|
 |
shadow255 Guru


Joined: 04 Apr 2003 Posts: 412
|
Posted: Mon Mar 07, 2005 4:34 pm Post subject: |
|
|
I'm not sure how good your results will be doing this, given that you're switching to hardened-sources, but the way to use your prior kernel's configuration with a new one is as follows:
- Copy /usr/src/{old-tree}/.config to /usr/src/{new-tree}/
- After setting up the /usr/src/linux symlink to point to {new-tree}, cd /usr/src/linux
- make oldconfig
Any options that did not exist in {old-tree} will result in prompts asking you what to do. There may be some different way to do this when using genkernel, but I don't use it, so someone else will have to fill you in there if you would rather use genkernel. _________________ Vogon poetry is of course the third worst in the Universe. -- Douglas Adams, The Hitchhiker's Guide to the Galaxy |
|
Back to top |
|
 |
Yogi-CH Guru


Joined: 19 Apr 2004 Posts: 372 Location: Somewhere in Texas, last I remember...
|
Posted: Mon Mar 07, 2005 8:00 pm Post subject: |
|
|
shadow255 wrote: | I'm not sure how good your results will be doing this, given that you're switching to hardened-sources, but the way to use your prior kernel's configuration with a new one is as follows:
- Copy /usr/src/{old-tree}/.config to /usr/src/{new-tree}/
- After setting up the /usr/src/linux symlink to point to {new-tree}, cd /usr/src/linux
- make oldconfig
Any options that did not exist in {old-tree} will result in prompts asking you what to do. There may be some different way to do this when using genkernel, but I don't use it, so someone else will have to fill you in there if you would rather use genkernel. |
I'll give that a shot & see how it goes. I prefer not to use genkernel except for the fact that it does generate the initrd file and installs it along with everything else, whereas make install doesn't create the initrd & install that along w/the kernel, system.map & config file. I emerged mkinitrd some time back but so far have been unsuccessful creating something that works.
<LATER>The bottom line is the CD-RW is recognized by xcdroast. I did a rescan to make certain. I don't know what else I broke in the process ...hopefully nothing. _________________ ...Yogi |
|
Back to top |
|
 |
|
|
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
|
|