Skip to contentSkip to conversation

not freeing initmem and power button

parisc-linux Kenneth Westelinck 5 participants 6 messages Apr 15, 2002 – Apr 20, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

After a few months of gathering dust, I finally decided to upgrade my 712/60. It was initially installed with the old 0.9.2 ISO, and upgraded with a more recent kernel (I think it was 2.4.9). This weekend I did an apt-get update, apt-get upgrade to upgrade my system (woody). I also compiled a new kernel (2.4.18-pa16) for this system. The system boots fine and as far as I can see, all applications "survived" the upgrade. The only problem I am experiencing are 2 _bugs_ mentionned a while ago in the mailing list.

- When booting the kernel reports: NOT FREEING INITMEM. I found this in the mailing list, but I couldn't find a solution. Is there any solution for this problem? I don't think I had this when running the old kernel.

- Second, when I push the power button, the system powers off without doing a clean shutdown. When running the 2.4.9 kernel the machine didn't halt when pushing this button. Only typing in "shutdown -h now" did the trick. I prefer this behaviour. In this case a normal user cannot shutdown the machine, except by pulling the power cord. Can someone please tell me which file to edit/tweak to give back this old behaviour?

Many thanks in advance.

regards,

Kenneth

enjoy life, enjoy linux,

Kenneth

_________________________________________________________________
Download MSN Explorer gratis van http://explorer.msn.nl/intl.asp.

#1 lore raw
Quoted 3 lines · Kenneth Westelinck

- When booting the kernel reports: NOT FREEING INITMEM. I found this in the mailing list, but I couldn't find a solution. Is there any solution for this problem? I don't think I had this when running the old kernel.

Older kernels just didn't reported it, but all had this problem. We're not freeing the memory yet, since we still have one or more __init or __initdata too much in our kernel. Just ignore it for now.

Quoted 6 lines

- Second, when I push the power button, the system powers off without doing a clean shutdown. When running the 2.4.9 kernel the machine didn't halt when pushing this button. Only typing in "shutdown -h now" did the trick. I prefer this behaviour. In this case a normal user cannot shutdown the machine, except by pulling the power cord. Can someone please tell me which file to edit/tweak to give back this old behaviour?

The power-button should work if you update to a newer kernel (>= 2.4.18-pa19).

Helge

#2 lore raw
Quoted 3 lines · Helge Deller

Older kernels just didn't reported it, but all had this problem. We're not freeing the memory yet, since we still have one or more __init or __initdata too much in our kernel. Just ignore it for now.

Do you recall what config failed when we did try to free the memory? I tested recently with B180 and A500, both worked fine with freeing of memory enabled. IIRC the origianl problem was that init crashed on boot...

Cheers,
Richard

#3 lore raw
Quoted 5 lines · Richard Hirst
Quoted 3 lines · Helge Deller

Older kernels just didn't reported it, but all had this problem. We're not freeing the memory yet, since we still have one or more __init or __initdata too much in our kernel. Just ignore it for now.

Quoted 7 lines

Do you recall what config failed when we did try to free the memory? I tested recently with B180 and A500, both worked fine with freeing of memory enabled. IIRC the origianl problem was that init crashed on boot...

Cheers,
Richard

Hi Richard,

unfortunately I don't know which config it was. AFAIR it also never happened to me, but it did for grant or bame. Maybe they know more ?

Greetings,
Helge

#5 lore raw

[parisc-linux] WARNING: Kernel 2.4.18-pa20 is experimental !

In reply to Richard Hirst
Quoted 4 lines · Helge Deller
Quoted 3 lines

Older kernels just didn't reported it, but all had this problem. We're not freeing the memory yet, since we still have one or more __init or __initdata too much in our kernel. Just ignore it for now.

FYI, I've re-enabled the freeing of boot memory in the CVS version of kernel 2.4.18-pa20 and am very interested in getting your feedback. But, since this change _could_ do anything to your system, please don't use it if you have important data on your disks (or at least without having a backup somewhere).

In case you see any boot-related or other strange problems with this kernel, please let me know as soon as possible and remember to attach your .config file. I've tested this kernel on all my machines and haven't had any problems yet, so I personally think it's safe to use this kernel. But in any case: You've been warned :-)

Thanks,
Helge

#4 lore raw
In reply to Helge Deller
Quoted 5 lines · Helge Deller
Quoted 4 lines · Richard Hirst

Do you recall what config failed when we did try to free the memory? I tested recently with B180 and A500, both worked fine with freeing of memory enabled. IIRC the origianl problem was that init crashed on boot...

...

Quoted 2 lines

unfortunately I don't know which config it was. AFAIR it also never happened to me, but it did for grant or bame. Maybe they know more ?

I don't recall offhand. If it's not in the mail archives, my configs are stored in the tarballs I upload whenever I build kernels specifically for C3000 (32-bit) or A500 (64-bit). Those tarballs are on

	ftp://ftp.parisc-linux.org/kernels/c3000 or a500

grant