Re: [gentoo-user] Deleted my kernel .config

2009-01-24 Thread Neil Bothwick
On Sat, 24 Jan 2009 06:38:50 +0530, Man Shankar wrote: mount -oremount,ro /boot solves that problem for me. It's the last command in the update script I mentioned before. And there's always GRML, just in case :-) Since, /boot seldom requires work i have this in fstab /dev/sda1

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 01:53 -0600 schrieb ext Dale: I'll show this just in case it will give someone ides. Here's another approach: % ll /boot insgesamt 9644 lrwxrwxrwx 1 root root 1 17. Jan 2006 boot - ./ drwxr-xr-x 2 root root1024 21. Mai 2008 grub/ drwx-- 2 root root

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Justin
Grant schrieb: Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant yes if you had selected 'kernel .config support' when you made the kernel. that's in the 'General setup'. if you did that you'll

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 09:28 +0100 schrieb ext Justin: do one of those two things and it should work: zcat /proc/config.gz /usr/src/linux/.config or /usr/src/linux/scripts/extract-ikconfig /boot/YOURKERNEL /usr/src/linux/.config. What if he doesn't have CONFIG_IKCONFIG_PROC=y in

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Justin
Dirk Heinrichs schrieb: Am Freitag, den 23.01.2009, 09:28 +0100 schrieb ext Justin: do one of those two things and it should work: zcat /proc/config.gz /usr/src/linux/.config or /usr/src/linux/scripts/extract-ikconfig /boot/YOURKERNEL /usr/src/linux/.config. What if he

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dale
Dirk Heinrichs wrote: Am Freitag, den 23.01.2009, 01:53 -0600 schrieb ext Dale: I'll show this just in case it will give someone ides. Here's another approach: % ll /boot insgesamt 9644 lrwxrwxrwx 1 root root 1 17. Jan 2006 boot - ./ drwxr-xr-x 2 root root1024 21.

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 02:45 -0600 schrieb ext Dale: But if a kernel gets corrupted or accidentally deleted mount -oremount,ro /boot solves that problem for me. It's the last command in the update script I mentioned before. And there's always GRML, just in case :-) Bye... Dirk --

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 09:45 +0100 schrieb ext Justin: But, who will remove this option? This is how it looks like in a freshly unpacked kernel tree (or after make mrproper): Kernel .config support So I guess kernel devs did it for him. Bye... Dirk -- Dirk Heinrichs

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dale
Dirk Heinrichs wrote: Am Freitag, den 23.01.2009, 02:45 -0600 schrieb ext Dale: But if a kernel gets corrupted or accidentally deleted mount -oremount,ro /boot solves that problem for me. It's the last command in the update script I mentioned before. And there's always GRML, just

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Justin
Dirk Heinrichs schrieb: Am Freitag, den 23.01.2009, 09:45 +0100 schrieb ext Justin: But, who will remove this option? This is how it looks like in a freshly unpacked kernel tree (or after make mrproper): Kernel .config support So I guess kernel devs did it for him. Bye...

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Norberto Bensa
Quoting Justin jus...@j-schmitz.net: Than he has a non solvable problem recovering his config. But, who will remove this option? Not remove, but someone (me for example) could make it =m ;-) In that case you just do: modprobe configs gunzip -c /proc/config.gz /usr/src/linux/.config make

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Alejandro
2009/1/23 Norberto Bensa nbe...@gmail.com Quoting Justin jus...@j-schmitz.net: Than he has a non solvable problem recovering his config. But, who will remove this option? Not remove, but someone (me for example) could make it =m ;-) In that case you just do: modprobe configs gunzip

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Ricardo Saffi Marques
Grant wrote: I do have /proc/config.gz, but when I move it to /usr/src/2.6.25-hardened-r13 and run 'make oldconfig' it comes up with many differences. I'm booted into 2.6.25-hardened-r11 and there shouldn't be any config differences between that and r13. Does anyone know what's going on

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Ricardo Saffi Marques
Justin wrote: do one of those two things and it should work: zcat /proc/config.gz /usr/src/linux/.config or /usr/src/linux/scripts/extract-ikconfig /boot/YOURKERNEL /usr/src/linux/.config. Than run make oldconfig. Oops, my bad. It had already been answered! :-) -- Ricardo Saffi

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Justin
Alejandro schrieb: Why make oldconfig? To get all new options in your .config. Is not better just do make and make modules_install? It is the normal way to do a make make modules_install afterwards. make oldconfig only can give you problems NEVER just always hit enter if you were asked

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Norberto Bensa
On Fri, Jan 23, 2009 at 11:19 AM, Alejandro elcorreode...@gmail.com wrote: make oldconfig only can give you problems i don,t see any benefict.. just my person experience... I have never seen any problem with make oldconfig, YMMV, but stating it _will_ give you problems is simply not true.

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 14:24 +0100 schrieb ext Justin: But nevertheless you need to do a make odlconfig to adopt your .config to the new config options. Errh, no. I've built nearly every kernel version since a couple of years and never did make oldconfig. If it's a minor revision, config

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Alejandro
2009/1/23 Norberto Bensa nbe...@gmail.com On Fri, Jan 23, 2009 at 11:19 AM, Alejandro elcorreode...@gmail.com wrote: make oldconfig only can give you problems i don,t see any benefict.. just my person experience... I have never seen any problem with make oldconfig, YMMV, but stating it

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Norberto Bensa
On Fri, Jan 23, 2009 at 11:24 AM, Justin jus...@j-schmitz.net wrote: But nevertheless you need to do a make odlconfig to adopt your .config to the new config options. Nope. That's not true. The diference between oldconfig and just make is that oldconfig will present a prompt when a new option

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Grant
Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant yes if you had selected 'kernel .config support' when you made the kernel. that's in the 'General setup'. if you did that you'll find /proc/config.gz

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Dale
Norberto Bensa wrote: On Fri, Jan 23, 2009 at 11:19 AM, Alejandro elcorreode...@gmail.com wrote: make oldconfig only can give you problems i don,t see any benefict.. just my person experience... I have never seen any problem with make oldconfig, YMMV, but stating it _will_ give

Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Man Shankar
On 09:54 Fri 23 Jan , Dirk Heinrichs wrote: Am Freitag, den 23.01.2009, 02:45 -0600 schrieb ext Dale: But if a kernel gets corrupted or accidentally deleted mount -oremount,ro /boot solves that problem for me. It's the last command in the update script I mentioned before. And there's

[gentoo-user] Deleted my kernel .config

2009-01-22 Thread Grant
Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Crob
Grant: Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant yes if you had selected 'kernel .config support' when you made the kernel. that's in the 'General setup'. if you did that you'll find

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Saphirus Sage
You could look for the .config files from earlier kernels, unless you've cleared out all your directories except the one with the most- recent release. On Jan 22, 2009, at 9:12 PM, Grant emailgr...@gmail.com wrote: Well, I deleted my kernel .config. Is there any way to magically re-create

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Grant
Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant yes if you had selected 'kernel .config support' when you made the kernel. that's in the 'General setup'. if you did that you'll find /proc/config.gz

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Grant wrote: Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant ls /boot ls /boot boot config-2.6.28r4.old grubmemtest86plus System.map-2.6.28r4

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Dale
Volker Armin Hemmann wrote: On Freitag 23 Januar 2009, Grant wrote: Well, I deleted my kernel .config. Is there any way to magically re-create it from the compiled kernel image or any other way? - Grant ls /boot ls /boot boot config-2.6.28r4.old grub

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread KH
Saphirus Sage schrieb: You could look for the .config files from earlier kernels, unless you've cleared out all your directories except the one with the most-recent release. On Jan 22, 2009, at 9:12 PM, Grant emailgr...@gmail.com wrote: Well, I deleted my kernel .config. Is there any way

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread KH
Dale schrieb: Or just copy .config over to /boot yourself. I do that when I have a stable kernel. Dale :-) :-) +1 I even asked to add this to the gentoo kernel upgreat guide but devs didn't like this idea. kh

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 08:44 +0100 schrieb ext KH: Dale schrieb: Or just copy .config over to /boot yourself. I do that when I have a stable kernel. Dale :-) :-) +1 I even asked to add this to the gentoo kernel upgreat guide but devs didn't like this idea. Maybe

Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Dale
KH wrote: Dale schrieb: Or just copy .config over to /boot yourself. I do that when I have a stable kernel. Dale :-) :-) +1 I even asked to add this to the gentoo kernel upgreat guide but devs didn't like this idea. kh I'll show this just in case it will give