Posts: 347
Silent Observer
Joined: 08 Aug 2013
#1
I just upgraded the kernel on my laptop (Pentium II Mobile 300 MHz, 288 MiB RAM, antiX 13.2 Testing 32-bit) from the 3.7.10 that was included in the Testing repo upgrade to linux-image-3.12.5-antix.2-486-smp (and matching linux-headers), hand edited [/]boot/grub/menu.lst, and restarted, only to get a kernel panic very early in the boot. Restarting with the previous kernel (which I kept as a second GRUB entry) went right on through.

This is a newer kernel than the one I got when I upgraded my Athlon XP system a couple days ago (that was 11.5.something); does anyone know of a problem with this kernel release, or can you suggest where I can look for the source of this problem?
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
you say you hand edited the menu entry. did you change both the kernel line and the initrd line?
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#3
Yes, and that was the first thing I double checked when I got the failure (after making a minor typo when I upgraded the kernel on my Ahtlon XP system). I just did another hand edit this evening after installing antiX 13.2 64-bit (Wheezy, with the distro original kernel) as a dual boot with MEPIS 11 (so one of the users could get a current version of Pepper Flash for Facebook games -- Pepper Flash won't work in MEPIS 11 due to an old gconf); that one worked first time. Presently, I've got the laptop booting with symlinks (same setup MEPIS 11 uses by default) to the old kernel files, but I can't go test it right now (my lady's sleeping right next to the computer, and she's a light, jumpy sleeper); it just occurred to me that I'm not certain I've tried it with the symlinks pointing to the upgraded kernel, but I"ll try that in the morning.

Edit: Okay, I verified that changing the symlinks to point to the 3.12.5 kernel files gives the same result as running directly with the GRUB entry for the new kernel, but the same GRUB entry for the symlinks works when the symlinks are pointed to the 3.7.10 kernel files. I can't copy in the error message, but it referred to"attempted to kill init!" -- I suppose I could take a photo of the screen and attach it if needed.
Alanarchy
Posts 0
Alanarchy
#4
Have you removed oss-compat?
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#5
Alanarchy wrote:Have you removed oss-compat?
No idea I needed to -- and I'd probably need to reinstall it after booting with the new kernel, to get my sound working again, right?
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#6
Well, an update on this -- I don't think oss-compat has anything to do with the problem; it's occurring far too early in the boot process for OSS to be loading; if the new kernels were loading without the OSS modules, they should start without sound, as happened with 3.7.10 before I got the USB sound working -- and that, I now know how to fix (at least until I requires a different fix from last time). The first difference I've noted between 3.12.5 (and 3.12.6, which came up in the interim and fails in a completely different appearing way) and the versions that boot successfully is that neither 3.12 kernel gives the"early console" message immediately after displaying the boot commands from GRUB, nor does either report"Decoding ELF", which normally comes right after the"early console" line.

I installed 3.11.5 (same version that works on my Ahtlon XP system) and that boots and runs just fine on the laptop, but I'd seen a report that 3.12.x was supposed to make better use of memory, and with only 288 MiB RAM installed in the laptop, that looked like something worth trying, so when I saw 3.12.5-antix in the repo, I grabbed it (and the matching headers, of course). I've since noticed there's a 3.12.1 and 3.12.3 as well as the 3.12.5 and 3.12.6 that I've found not working -- are those intended for the antiX 13.5 alpha, rather than as upgrades to 13.1 or 13.2?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#7
Buy a newer laptop/netbook or live with the older kernel. I ran into your problems with some of my older gear and
tried liqourix, same problem, aptosid, same problem. Before you bite my head off about money and hard times about newer gear. I feel ya already.
I usually have trouble installing liqourix kernels with a invalid ext2 file system error on booting with seperate / and /home partitions like I have on my IBM T23 laptop and my EEEPC 900 with / on 4 gig solid state drive and /home on 16 gig separate secondary solid state drive.
That is why I run a Stevo kernel on the IBM T23 and just use the stock AntiX 2.6.36 mepis kernel on the EEEPC 900
post23457.html
On this Emachine Desktop. I could never get past booting 2.6.38 kernel.
post28377.html


Some stuff gets left out because the kernels are getting so big that outdated modules are left out for older gear. It is just the nature of the beast sometimes. So sometimes you are the wind-shield. Sometimes you are the bug. It is the nature of being a tester.
Posts: 850
fatmac
Joined: 26 Jul 2012
#8
Did you run

Code: Select all

sudo update-grub
when you installed your new kernel.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#9
In fact, I did issue"update-grub" as su after getting the 12.6 and that failing; the only difference between the"automagic" entries and my hand edited ones was use of UUID instead of drive names, and lack of the"acpi=off" that this laptop requires to avoid a false report of 145 C core temperature during start (leading to a system halt). I also tried symlinks (created with rox) in a known good symlink boot command, for both 3.12.5 and 3.12.6 kernels.

FWIW, Roky, this laptop has PCI bus insternally, two USB ports, and IDE drive controller; it was pretty close to bleeding edge when it was made in 1997-1998, and works fine with the 3.11.5 antiX kernel; when I get some more time I might check if the 3.12.1 or 3.12.3 kernels versions I see in the repo work. I suspect something did get changed in the 3.12 kernel compile -- my question is whether it was intentional, since this machine shouldn't require much in the way of accommodation that wouldn't also go for most other machines that need a 32-bit kernel.
Alanarchy
Posts 0
Alanarchy
#10
No idea I needed to -- and I'd probably need to reinstall it after booting with the new kernel, to get my sound working again, right?
I had this similar problem which I put under a thread which became"LM sensors breaks stuff". As I remember it took a long time to boot and after many trials removing oss-compat stopped the problem.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#11
Alanarchy wrote:
No idea I needed to -- and I'd probably need to reinstall it after booting with the new kernel, to get my sound working again, right?
I had this similar problem which I put under a thread which became"LM sensors breaks stuff". As I remember it took a long time to boot and after many trials removing oss-compat stopped the problem.
I should have time to give it a try this weekend.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#12
Well, that took longer than expected, but I just verified, Synaptic doesn't show oss-compat installed on the laptop. I thought I'd try just removing those two kernel packages, perhaps to reinstall different minor versions or via a different method -- but although Synaptic shows them with green block ("installed") it won't let me mark them for removal. I'd try using command line apt-get to do the job, but I'm concerned about mistyping something and removing the working kernel (which seem like it'd be a PITA to get back, and which I'm not sure Linux would prevent me from doing).

Edit: not sure what changed, but a half hour after I posted this, Synaptic started behaving and let me remove the two each 3.12.* kernel image and header packages.
Last edited by Silent Observer on 07 Feb 2014, 16:50, edited 1 time in total.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#13
Okay, just to try to verify that I'm not assuming something is a lot simpler than it is (or making it more complicated than it needs to be):

if I see something in Synaptic that looks like linux-image-3.12.5-antix.7-i486-smp -- installing that package (along with the matching linux-headers) should give me a usable kernel image? It seems to have worked that way when I installed 3.11.5 on my Ahtlon XP and on the laptop, but that failed on 3.12.5 on the laptop. Is there another, preferred way to get an upgraded antiX kernel? I've recently seen mention of using smxi to install upgraded kernels, but the only options I saw when I ran that were to change to sid repos (I'll stick with Jessie, for now) and to install liquorix kernels -- is the latter desirable in preference over an antix kernel?
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#14
I usually install from synaptic, when I bother to upgrade them at all. I only do it when I have too.
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#15
My reason for wanting to upgrade the kernel on my laptop is that, with only 288 MiB RAM, that machine can use all the help it can get, and I read that the 3.12 family kernels have better RAM usage than the 3.10.7 that comes with antiX 13.2 or the 3.11.5 that I'm currently running on my two antiX systems.