All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] SMP support
@ 2002-03-05 22:40 Jeremy Drake
  2002-03-05 22:52 ` Randolph Chung
  2002-03-06  1:05 ` Grant Grundler
  0 siblings, 2 replies; 7+ messages in thread
From: Jeremy Drake @ 2002-03-05 22:40 UTC (permalink / raw)
  To: parisc-linux

I am running debian-hppa on a J5000, and I am using the 2.4.17-32-smp
kernel.  It detects both processors at boot, and shows them both in
/proc/cpuinfo, but /proc/stat shows this

cpu  599904 33379482 34656795 68636319
cpu0 0 0 64 68636186
cpu1 599904 33379482 34656731 133

I interpret this to mean that everything is happening on cpu1 and cpu0 is
just sitting idle.  Is this a bug, or am I doing something wrong?

Also, I am unable to build any kernels myself.  I get a bunch of depmod
errors, like these

depmod: Unhandled relocation of type 74 for printk_Rsmp_dd132261
depmod: Unhandled relocation of type 74 for usb_deregister_Rsmp_c6f994d5

This is using the make-kpkg kernel_image command.

-- 
Love the sea?  I dote upon it -- from the beach.

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

* Re: [parisc-linux] SMP support
  2002-03-05 22:40 [parisc-linux] SMP support Jeremy Drake
@ 2002-03-05 22:52 ` Randolph Chung
  2002-03-06  1:05 ` Grant Grundler
  1 sibling, 0 replies; 7+ messages in thread
From: Randolph Chung @ 2002-03-05 22:52 UTC (permalink / raw)
  To: Jeremy Drake; +Cc: parisc-linux

> depmod: Unhandled relocation of type 74 for printk_Rsmp_dd132261
> depmod: Unhandled relocation of type 74 for usb_deregister_Rsmp_c6f994d5
> 
> This is using the make-kpkg kernel_image command.

yeah, this is a known problem. someone needs to look at updating
modutils..... any volunteers? :-)

randolph
-- 
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^

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

* Re: [parisc-linux] SMP support
  2002-03-05 22:40 [parisc-linux] SMP support Jeremy Drake
  2002-03-05 22:52 ` Randolph Chung
@ 2002-03-06  1:05 ` Grant Grundler
  2002-03-06 15:10   ` Michael S.Zick
  2002-03-20 22:16   ` M. Grabert
  1 sibling, 2 replies; 7+ messages in thread
From: Grant Grundler @ 2002-03-06  1:05 UTC (permalink / raw)
  To: Jeremy Drake; +Cc: parisc-linux

Jeremy Drake wrote:
> I am running debian-hppa on a J5000, and I am using the 2.4.17-32-smp
> kernel.  It detects both processors at boot, and shows them both in
> /proc/cpuinfo, but /proc/stat shows this
> 
> cpu  599904 33379482 34656795 68636319
> cpu0 0 0 64 68636186
> cpu1 599904 33379482 34656731 133
> 
> I interpret this to mean that everything is happening on cpu1 and cpu0 is
> just sitting idle.  Is this a bug, or am I doing something wrong?

sounds like a bug.
I've never looked at /proc/stat.


> Also, I am unable to build any kernels myself.  I get a bunch of depmod
> errors, like these
> 
> depmod: Unhandled relocation of type 74 for printk_Rsmp_dd132261
> depmod: Unhandled relocation of type 74 for usb_deregister_Rsmp_c6f994d5

I've seen this when CONFIG_PA20 is enabled but CONFIG_PARISC64 is not.
Don't know if that's your problem, but it's worth checking.

You don't need to enable CONFIG_PA20 in order to run a 32-bit kernel
on any system that will support 32-bit kernels (A500/L-class only
support 64-bit kernel).

grant

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

* Re: [parisc-linux] SMP support
  2002-03-06  1:05 ` Grant Grundler
@ 2002-03-06 15:10   ` Michael S.Zick
  2002-03-06 20:05     ` Jeremy Drake
  2002-03-20 22:16   ` M. Grabert
  1 sibling, 1 reply; 7+ messages in thread
From: Michael S.Zick @ 2002-03-06 15:10 UTC (permalink / raw)
  To: parisc-linux

On Tuesday 05 March 2002 07:05 pm, Grant Grundler wrote:
> Jeremy Drake wrote:
> > I am running debian-hppa on a J5000, and I am using the 2.4.17-32-smp
> > kernel.  It detects both processors at boot, and shows them both in
> > /proc/cpuinfo, but /proc/stat shows this
> >
> > cpu  599904 33379482 34656795 68636319
> > cpu0 0 0 64 68636186
> > cpu1 599904 33379482 34656731 133
> >
Folks, 
for comparison: (2.4.17 on an x86 smp-box)

cpu  2867 96 1822 231717
cpu0 1400 37 671 116143
cpu1 1467 59 1151 115574

Mike

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

* Re: [parisc-linux] SMP support
  2002-03-06 15:10   ` Michael S.Zick
@ 2002-03-06 20:05     ` Jeremy Drake
  0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Drake @ 2002-03-06 20:05 UTC (permalink / raw)
  To: parisc-linux

HP J5000 running 2.4.17-32-smp package

> > > cpu  599904 33379482 34656795 68636319
> > > cpu0 0 0 64 68636186
> > > cpu1 599904 33379482 34656731 133
> > >

> for comparison: (2.4.17 on an x86 smp-box)
>
> cpu  2867 96 1822 231717
> cpu0 1400 37 671 116143
> cpu1 1467 59 1151 115574
>

I wasn't seeing any proof anywhere on the system, other than cpuinfo, that
this box was using 2 processors, so I was looking for some.  This looks to
me like smp is broken.  It sees 2 processors, but only one is used.  I
just tried 2.4.16-32-smp and it is like this too.

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

* Re: [parisc-linux] SMP support
  2002-03-06  1:05 ` Grant Grundler
  2002-03-06 15:10   ` Michael S.Zick
@ 2002-03-20 22:16   ` M. Grabert
  2002-03-21  7:08     ` Grant Grundler
  1 sibling, 1 reply; 7+ messages in thread
From: M. Grabert @ 2002-03-20 22:16 UTC (permalink / raw)
  To: Grant Grundler; +Cc: Jeremy Drake, parisc-linux

On Tue, 5 Mar 2002, Grant Grundler wrote:

> Jeremy Drake wrote:

[...]

> > Also, I am unable to build any kernels myself.  I get a bunch of depmod
> > errors, like these
> >
> > depmod: Unhandled relocation of type 74 for printk_Rsmp_dd132261
> > depmod: Unhandled relocation of type 74 for usb_deregister_Rsmp_c6f994d5
>
> I've seen this when CONFIG_PA20 is enabled but CONFIG_PARISC64 is not.
> Don't know if that's your problem, but it's worth checking.
>
> You don't need to enable CONFIG_PA20 in order to run a 32-bit kernel
> on any system that will support 32-bit kernels (A500/L-class only
> support 64-bit kernel).

I can confirm this. I recompiled (3 times) linux-2.4.18-pa5, and I was
just able to compile a static kernel without error message.
The message will occur if you compile a kernel with modules. It's the
depmod command in "make modules_install" that causes the trouble.

But obviously the modules are created and installed. If you do a
simple "depmod -a" (without any additional arguments as in
"make modules_install"), it doesn't complain.
And it also seems that the modules work (haven't tested this too much)!

greetings max

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

* Re: [parisc-linux] SMP support
  2002-03-20 22:16   ` M. Grabert
@ 2002-03-21  7:08     ` Grant Grundler
  0 siblings, 0 replies; 7+ messages in thread
From: Grant Grundler @ 2002-03-21  7:08 UTC (permalink / raw)
  To: M. Grabert; +Cc: Jeremy Drake, parisc-linux

"M. Grabert" wrote:
> > > depmod: Unhandled relocation of type 74 for printk_Rsmp_dd132261
> > > depmod: Unhandled relocation of type 74 for usb_deregister_Rsmp_c6f994d5
> >
> > I've seen this when CONFIG_PA20 is enabled but CONFIG_PARISC64 is not.
> > Don't know if that's your problem, but it's worth checking.

FWIW, it seems the Richard Hirst has fixed this.
He's posted a modutils_2.4.13-3.1rgh_hppa.deb to test
(I've used it successfully) on ftp.p-l.o/unofficial-debs.

thanks richard!
grant

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

end of thread, other threads:[~2002-03-21  7:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-05 22:40 [parisc-linux] SMP support Jeremy Drake
2002-03-05 22:52 ` Randolph Chung
2002-03-06  1:05 ` Grant Grundler
2002-03-06 15:10   ` Michael S.Zick
2002-03-06 20:05     ` Jeremy Drake
2002-03-20 22:16   ` M. Grabert
2002-03-21  7:08     ` Grant Grundler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.