Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CR-RW prob w/kernel-2.6.10-hardened [SOLVED]
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
Yogi-CH
Guru
Guru


Joined: 19 Apr 2004
Posts: 372
Location: Somewhere in Texas, last I remember...

PostPosted: Mon Mar 07, 2005 3:32 pm    Post subject: CR-RW prob w/kernel-2.6.10-hardened [SOLVED] Reply with quote

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. :wink:

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
View user's profile Send private message
shadow255
Guru
Guru


Joined: 04 Apr 2003
Posts: 412

PostPosted: Mon Mar 07, 2005 4:34 pm    Post subject: Reply with quote

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:
  1. Copy /usr/src/{old-tree}/.config to /usr/src/{new-tree}/
  2. After setting up the /usr/src/linux symlink to point to {new-tree}, cd /usr/src/linux
  3. 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
View user's profile Send private message
Yogi-CH
Guru
Guru


Joined: 19 Apr 2004
Posts: 372
Location: Somewhere in Texas, last I remember...

PostPosted: Mon Mar 07, 2005 8:00 pm    Post subject: Reply with quote

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:
  1. Copy /usr/src/{old-tree}/.config to /usr/src/{new-tree}/
  2. After setting up the /usr/src/linux symlink to point to {new-tree}, cd /usr/src/linux
  3. 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 :wink: ...hopefully nothing.
_________________
...Yogi
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