Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-28 Thread waltdnes
On Mon, Oct 26, 2009 at 09:10:33AM +, Neil Bothwick wrote That's a correct assumption. The assumption about which options you don't need may not have been so correct. It's safer to start with a bloated but working kernel and whittle it down gradually. And keep backup copies of each

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-28 Thread Maxim Wexler
On 10/26/09, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 25 Oct 2009 22:52:26 -0600, Maxim Wexler wrote: Could be over-zealous whittling. Why not use the Live DVD .config unchanged? OK, done. Crashed. Almost identical to the first post in this thread.

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-28 Thread Maxim Wexler
And keep backup copies of each working .config file as you go merrily whittling away, so you can fall back to something other than back to square 1. I keep all my spares in /boot/safe. mw

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-26 Thread Neil Bothwick
On Sun, 25 Oct 2009 22:52:26 -0600, Maxim Wexler wrote: Could be over-zealous whittling. Why not use the Live DVD .config unchanged? I assumed there was no need for a 1001 modules for hardware i don't have. That's a correct assumption. The assumption about which options you don't need

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-25 Thread Maxim Wexler
Could be over-zealous whittling. Why not use the Live DVD .config unchanged? I assumed there was no need for a 1001 modules for hardware i don't have. But there's still some things that need sorting, so it may come to that.

Re: [gentoo-user] Re: kernel panic -- finding proper config diff - RESOLVED

2009-10-24 Thread Maxim Wexler
fyi, sound card problems when updating to 2.6.30 seem to be common. Typically the boot msg is something like unknown hardware initializing by guess method The fix seem to be just to run alsaconf and follow the prompts. On 10/23/09, Maxim Wexler maxim.wex...@gmail.com wrote: Well, whatever

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-24 Thread Neil Bothwick
On Fri, 23 Oct 2009 22:05:19 -0600, Maxim Wexler wrote: 900a [tons of bottom quoting snipped] I'm sure my 900 had working cursor and delete keys. -- Neil Bothwick There is so much sand in Northern Africa that if it were spread out it would completely cover the Sahara Desert.

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-24 Thread Neil Bothwick
On Fri, 23 Oct 2009 15:57:10 -0600, Maxim Wexler wrote: Since LiveDvD-10.1 boots, albeit buggily, on the netbook. I tried to use the kernel config provided with it. I ran make oldconfig then opened up the menu and whittled away the extraneous modules, built the new kernel, installed it and

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-24 Thread Stroller
On 22 Oct 2009, at 19:50, Alan McKinnon wrote: On Thursday 22 October 2009 20:17:46 Maxim Wexler wrote: Why not copy over the .29 config and run make oldconfig? I thought of that, but isn't there too much difference in the versions? I read somewhere that taking to big a leap between versions

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-23 Thread Maxim Wexler
not an idea really but further experience Since LiveDvD-10.1 boots, albeit buggily, on the netbook. I tried to use the kernel config provided with it. I ran make oldconfig then opened up the menu and whittled away the extraneous modules, built the new kernel, installed it and rebooted. This time,

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-23 Thread Richard Marza
- Original Message - From: walt w41...@gmail.com To: gentoo-user@lists.gentoo.org Sent: Friday, October 23, 2009 6:54 PM Subject: [gentoo-user] Re: kernel panic -- finding proper config diff On 10/23/2009 02:57 PM, Maxim Wexler wrote: not an idea really but further experience

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-23 Thread Maxim Wexler
900a On 10/23/09, Richard Marza richardmar...@optonline.net wrote: - Original Message - From: walt w41...@gmail.com To: gentoo-user@lists.gentoo.org Sent: Friday, October 23, 2009 6:54 PM Subject: [gentoo-user] Re: kernel panic -- finding proper config diff On 10/23/2009 02:57

Re: [gentoo-user] Re: kernel panic -- finding proper config diff - RESOLVED

2009-10-23 Thread Maxim Wexler
Well, whatever changes you made to .config fixed the original panic, so I'd start by diff'ing the first .config with the new .config (or After some more tweaking 2.6.30-r7 boots successfully, except for an error with the sound card famous which should be easy to fix /last words mw .

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Neil Bothwick
On Wed, 21 Oct 2009 21:28:10 -0600, Maxim Wexler wrote: I did the 30-r6 from scratch, then copied the .config over to the 30-r7 slot and ran make oldconfig. No change. Least I still have the 29 kernel; it works fine ;) Why not copy over the .29 config and run make oldconfig? -- Neil

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Maxim Wexler
Why not copy over the .29 config and run make oldconfig? I thought of that, but isn't there too much difference in the versions? I read somewhere that taking to big a leap between versions is unsafe. Not to mention the great whack of new options. If you do a diff -y between the two configs

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Neil Bothwick
On Thu, 22 Oct 2009 12:17:46 -0600, Maxim Wexler wrote: Why not copy over the .29 config and run make oldconfig? I thought of that, but isn't there too much difference in the versions? I read somewhere that taking to big a leap between versions is unsafe. 0.0.01 is hardly a big leap!

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Maxim Wexler
OK, went ahead and did it. It's already broke, what's the harm?. Looks like I'll be answering a lot of questions before I'm done. STRIP_ASM_SYMS !? what th'? On 10/22/09, Maxim Wexler maxim.wex...@gmail.com wrote: Why not copy over the .29 config and run make oldconfig? I thought of that, but

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Alan McKinnon
On Thursday 22 October 2009 20:17:46 Maxim Wexler wrote: Why not copy over the .29 config and run make oldconfig? I thought of that, but isn't there too much difference in the versions? I read somewhere that taking to big a leap between versions is unsafe. Not to mention the great whack of

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Alan McKinnon
On Thursday 22 October 2009 20:36:48 Maxim Wexler wrote: OK, went ahead and did it. It's already broke, what's the harm?. Looks like I'll be answering a lot of questions before I'm done. STRIP_ASM_SYMS !? what th'? run menuconfig in another terminal, type /, enter the string, press enter,

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Neil Bothwick
On Thu, 22 Oct 2009 12:36:48 -0600, Maxim Wexler wrote: OK, went ahead and did it. It's already broke, what's the harm?. Looks like I'll be answering a lot of questions before I'm done. STRIP_ASM_SYMS !? what th'? Look at the list of choices it gives you, probably something like y/n/? - guess

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-22 Thread Neil Bothwick
On Thu, 22 Oct 2009 16:31:10 -0700, walt wrote: In the dark ages, before udev, /dev/console had to be created in the bare /dev directory (i.e. before anything is mounted on /dev) to prevent this sort of error. I thought it had been solved, but maybe I'm wrong about that. You still need it,

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Alan McKinnon
On Wednesday 21 October 2009 21:07:18 Jonathan Callen wrote: Maxim Wexler wrote: VFS: Mounted root (ext2 filesystem) readonly on device 8:1, Freeing unused kernel memory: 276k freed Warning: unable to open an initial console Kernel panic - not syncing. No init found. Try passing

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
Does /dev/sda1 genuinely contain / and not for example /boot? This is on an Asus 900A. 4G SSD, / and /boot all on one partition, formatted ext2, to prevent journalling overhead, with e2fsck set to check the fs at every boot. An 8G card contains /home and /var. mw

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Albert Hopkins
On Wed, 2009-10-21 at 14:22 -0600, Maxim Wexler wrote: Does /dev/sda1 genuinely contain / and not for example /boot? This is on an Asus 900A. 4G SSD, / and /boot all on one partition, formatted ext2, to prevent journalling overhead, with e2fsck set to check the fs at every boot. An 8G

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
To me, that looks like /dev/sda1 (which is what the kernel is using as root=) doesn't contain any of the following: /sbin/init /etc/init /bin/init /bin/sh Noting that the kernel output implied that it was an ext2 filesystem, that looks like it mounted your /boot as

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
Ok, I went back and found what looks like a glaring error. The old config had the CONFIG_PHYSICAL_START=0x100 under processor options, the new one was missing a zero. A ha! sez I and fixed it. Nope. I get the exact same panic. Setting CONFIG_EXT2_FS_XATTR=y doesn't help either. On a related

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
Do you use 'make oldconfig' to generate the .config file for your new kernel? I'm getting the impression that you did the menuconfig thing from scratch, but maybe I'm wrong? I did the 30-r6 from scratch, then copied the .config over to the 30-r7 slot and ran make oldconfig. No change. Least

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread William Kenworthy
Run diff on both config files and see what you missed ... BillK On Wed, 2009-10-21 at 21:28 -0600, Maxim Wexler wrote: Do you use 'make oldconfig' to generate the .config file for your new kernel? I'm getting the impression that you did the menuconfig thing from scratch, but maybe I'm

Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
I missed? Read the OP again. On 10/21/09, William Kenworthy bi...@iinet.net.au wrote: Run diff on both config files and see what you missed ... BillK On Wed, 2009-10-21 at 21:28 -0600, Maxim Wexler wrote: Do you use 'make oldconfig' to generate the .config file for your new kernel?