Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] not freeing initmem and power button
@ 2002-04-15  8:41 Kenneth Westelinck
  2002-04-15 10:32 ` Helge Deller
  0 siblings, 1 reply; 6+ messages in thread
From: Kenneth Westelinck @ 2002-04-15  8:41 UTC (permalink / raw)
  To: parisc-linux

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] not freeing initmem and power button
  2002-04-15  8:41 [parisc-linux] not freeing initmem and power button Kenneth Westelinck
@ 2002-04-15 10:32 ` Helge Deller
  2002-04-15 17:35   ` Richard Hirst
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Deller @ 2002-04-15 10:32 UTC (permalink / raw)
  To: Kenneth Westelinck, parisc-linux

On Monday 15 April 2002 10:41, Kenneth Westelinck wrote:
> - 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.

> - 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] not freeing initmem and power button
  2002-04-15 10:32 ` Helge Deller
@ 2002-04-15 17:35   ` Richard Hirst
  2002-04-15 19:23     ` Helge Deller
  2002-04-16  0:18     ` [parisc-linux] WARNING: Kernel 2.4.18-pa20 is experimental ! Helge Deller
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Hirst @ 2002-04-15 17:35 UTC (permalink / raw)
  To: Helge Deller; +Cc: parisc-linux

On Mon, Apr 15, 2002 at 12:32:46PM +0200, Helge Deller wrote:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] not freeing initmem and power button
  2002-04-15 17:35   ` Richard Hirst
@ 2002-04-15 19:23     ` Helge Deller
  2002-04-20  5:47       ` Grant Grundler
  2002-04-16  0:18     ` [parisc-linux] WARNING: Kernel 2.4.18-pa20 is experimental ! Helge Deller
  1 sibling, 1 reply; 6+ messages in thread
From: Helge Deller @ 2002-04-15 19:23 UTC (permalink / raw)
  To: Richard Hirst; +Cc: parisc-linux

On Monday 15 April 2002 19:35, Richard Hirst wrote:
> On Mon, Apr 15, 2002 at 12:32:46PM +0200, Helge Deller wrote:
> > 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

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
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [parisc-linux] WARNING: Kernel 2.4.18-pa20 is experimental !
  2002-04-15 17:35   ` Richard Hirst
  2002-04-15 19:23     ` Helge Deller
@ 2002-04-16  0:18     ` Helge Deller
  1 sibling, 0 replies; 6+ messages in thread
From: Helge Deller @ 2002-04-16  0:18 UTC (permalink / raw)
  To: parisc-linux

> On Mon, Apr 15, 2002 at 12:32:46PM +0200, Helge Deller wrote:
> > 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] not freeing initmem and power button
  2002-04-15 19:23     ` Helge Deller
@ 2002-04-20  5:47       ` Grant Grundler
  0 siblings, 0 replies; 6+ messages in thread
From: Grant Grundler @ 2002-04-20  5:47 UTC (permalink / raw)
  To: Helge Deller; +Cc: Richard Hirst, parisc-linux

Helge Deller wrote:
> Richard Hirst wrote:
> > 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...
...
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-20  5:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-15  8:41 [parisc-linux] not freeing initmem and power button Kenneth Westelinck
2002-04-15 10:32 ` Helge Deller
2002-04-15 17:35   ` Richard Hirst
2002-04-15 19:23     ` Helge Deller
2002-04-20  5:47       ` Grant Grundler
2002-04-16  0:18     ` [parisc-linux] WARNING: Kernel 2.4.18-pa20 is experimental ! Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox