Skip to contentSkip to conversation

just compiled a 2.4.19 kernel with smp support...

DISCUSSION Xavier Grave 3 participants 18 messages Oct 21, 2002 – Nov 6, 2002 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I've just compiled a 2.4.19 kernel with smp support but when I do a cat /proc/cpuinfo I can only see one processor ? Do I need to set something more than SMP=y in make config ?

I'm using a debian kernel source package with the patches for powerpc.

xavier
PS:
[root@ipnnarval ~]# uname -a
Linux ipnnarval 2.4.19 #1 SMP Mon Oct 21 11:51:53 CEST 2002 ppc 0 7455, altivec supported GNU/Linux
[root@ipnnarval ~]# cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 999MHz
revision : 2.1 (pvr 8001 0201)
bogomips : 999.42

total bogomips : 999.42
machine : PowerMac3,6
motherboard : PowerMac3,6 MacRISC2 MacRISC Power Macintosh
detected as : 95 (Unknown Keylargo-based)
pmac flags : 00000000
L2 cache : 256K unified
memory : 256MB
pmac-generation : NewWorld

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines

I've just compiled a 2.4.19 kernel with smp support but when I do a cat /proc/cpuinfo I can only see one processor ? Do I need to set something more than SMP=y in make config ?

I'm using a debian kernel source package with the patches for powerpc.

Newer machines need my latest tree for SMP

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 5 lines

I've just compiled a 2.4.19 kernel with smp support but when I do a cat /proc/cpuinfo I can only see one processor ? Do I need to set something more than SMP=y in make config ?

I'm using a debian kernel source package with the patches for powerpc.

Newer machines need my latest tree for SMP

Ok, I've downloaded it and compiled it, but the only message I get at boot is loading elf32 image or something like that and nothing more...

I have tried with vmlinux.elf-pmac, zImage.chrp, zImage.chrp-rs6k with and without SMP.

To compile the kernel I have used a .config based on one from a 2.4.19 which runs

Any idea ?
Thanks in advance, xavier

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw
In reply to Benjamin Herrenschmidt
Quoted 10 lines · Benjamin Herrenschmidt
Quoted 8 lines

Ok, I've downloaded it and compiled it, but the only message I get at boot is loading elf32 image or something like that and nothing more...

I have tried with vmlinux.elf-pmac, zImage.chrp, zImage.chrp-rs6k with and without SMP.

To compile the kernel I have used a .config based on one from a 2.4.19 which runs

If you use linux, just boot a plain vmlinux file, not a zImage.

Work fine now, using vmlinux + the option video=ofonly.

Great to use two processors !

xavier

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to Xavier Grave
Quoted 9 lines

Ok, I've downloaded it and compiled it, but the only message I get at boot is loading elf32 image or something like that and nothing more...

I have tried with vmlinux.elf-pmac, zImage.chrp, zImage.chrp-rs6k with and without SMP.

To compile the kernel I have used a .config based on one from a 2.4.19 which runs

If you use linux, just boot a plain vmlinux file, not a zImage.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#19 lore raw
Quoted 2 lines

If you use linux, just boot a plain vmlinux file, not a zImage.

Hrm... I didn't fully wake up yet ;) I meant if you use "yaboot", not "linux" :)

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#6 lore raw
In reply to Benjamin Herrenschmidt
Quoted 7 lines · Benjamin Herrenschmidt
Quoted 3 lines

Work fine now, using vmlinux + the option video=ofonly.

Great to use two processors !

What video card do you have ? It doesn't work without video=ofonly ? It's a radeon or nVidia ? Can you send me the lspci -vv output (as root)

It's seems to be a RADEON 9000.
No succes with the actual xfree version :-(

[root@ipnnarval ~]# lspci -s 00:10.0 -vv
00:10.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4966 (rev 01) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 4966
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

        Latency: 255 (2000ns min), cache line size 08
        Interrupt: pin A routed to IRQ 48
        Region 0: Memory at 98000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 802400 [disabled] [size=256]
        Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at 90020000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=47 SBA+ 64bit- FW+ Rate=x1,x2,x4
                Command: RQ=0 SBA+ AGP- 64bit- FW- Rate=<none>
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA

PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#8 lore raw
In reply to Benjamin Herrenschmidt
Quoted 5 lines · Benjamin Herrenschmidt
Quoted 2 lines

It's seems to be a RADEON 9000.
No succes with the actual xfree version :-(

Yah, though XFree CVS should work, and Michel Danzer debs might too, but that has to be tested with him.

I'll try them in a few minutes...

Quoted 2 lines

What about radeonfb ? (The kernel framebuffer device). Does it work with my kernel ?

It is in the kernel, but how do you now it work ?

I have the two penguin at start.
But I don't know how to make xfree86 to use radeonfb.

xavier

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#10 lore raw
In reply to Benjamin Herrenschmidt
Quoted 11 lines
Quoted 2 lines

But I don't know how to make xfree86 to use radeonfb.

Use "fbdev" as the driver in xfree, that will cause X to run unaccelerated on top of radeonfb, so it will at least be able to set mode & colors properly.

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

where can I find the .deb files from Michel, please ?

xavier

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#13 lore raw
In reply to Benjamin Herrenschmidt
Quoted 7 lines · Benjamin Herrenschmidt
Quoted 7 lines
Quoted 3 lines

Yah, though XFree CVS should work, and Michel Danzer debs might too, but that has to be tested with him.

I'll try them in a few minutes...

Quoted 2 lines

What about radeonfb ? (The kernel framebuffer device). Does it work with my kernel ?

Quoted 6 lines
Quoted 3 lines

It is in the kernel, but how do you now it work ?

I have the two penguin at start.

Ok, if you have the penguins and the text console, then it works.

Not necessarily if you're booting with video=ofonly. cat /proc/fb

Quoted 4 lines

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

Yep, and in the meantime, you could try telling the radeon driver to treat it like a 8500 with the ChipID or Chipset directive.

--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#11 lore raw
In reply to Xavier Grave
Quoted 7 lines · Xavier Grave
Quoted 7 lines
Quoted 2 lines

But I don't know how to make xfree86 to use radeonfb.

Use "fbdev" as the driver in xfree, that will cause X to run unaccelerated on top of radeonfb, so it will at least be able to set mode & colors properly.

Quoted 6 lines
Quoted 4 lines

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

where can I find the .deb files from Michel, please ?

http://dri.sourceforge.net/snapshots/README.Debian

Beware that the radeon 2D driver is still basically 4.2.0.

--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#14 lore raw
In reply to Michel Dänzer
Quoted 2 lines

Not necessarily if you're booting with video=ofonly. cat /proc/fb

[root@ipnnarval ~]# cat /proc/fb
0 OFfb /pci@f0000000/ATY,PheonixParent@10/

Quoted 7 lines
Quoted 4 lines

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

Yep, and in the meantime, you could try telling the radeon driver to treat it like a 8500 with the ChipID or Chipset directive.

What do I need to put ? There is 4 different RADEON 8500 ?

xavier

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#7 lore raw
In reply to Xavier Grave
Quoted 3 lines

It's seems to be a RADEON 9000.
No succes with the actual xfree version :-(

Yah, though XFree CVS should work, and Michel Danzer debs might too, but that has to be tested with him.

What about radeonfb ? (The kernel framebuffer device). Does it work with my kernel ?

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#9 lore raw
In reply to GRAVE Xavier
Quoted 10 lines
Quoted 3 lines

Yah, though XFree CVS should work, and Michel Danzer debs might too, but that has to be tested with him.

I'll try them in a few minutes...

Quoted 2 lines

What about radeonfb ? (The kernel framebuffer device). Does it work with my kernel ?

It is in the kernel, but how do you now it work ?

I have the two penguin at start.

Ok, if you have the penguins and the text console, then it works.

Quoted 1 line

But I don't know how to make xfree86 to use radeonfb.

Use "fbdev" as the driver in xfree, that will cause X to run unaccelerated on top of radeonfb, so it will at least be able to set mode & colors properly.

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#12 lore raw
In reply to Xavier Grave
Quoted 11 lines
Quoted 9 lines

Use "fbdev" as the driver in xfree, that will cause X to run unaccelerated on top of radeonfb, so it will at least be able to set mode & colors properly.

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

where can I find the .deb files from Michel, please ?

I don't have them at hand, ask him for instructions

Michel Dänzer <[email protected]>

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#15 lore raw
In reply to Xavier Grave
Quoted 5 lines
Quoted 2 lines

Not necessarily if you're booting with video=ofonly. cat /proc/fb

[root@ipnnarval ~]# cat /proc/fb
0 OFfb /pci@f0000000/ATY,PheonixParent@10/

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

I think support for the 9000 have been added to XFree CVS recently, though that may not yet be in the DRI one (and so Michel snapshots). The XFree CVS is beeing merged again into the DRI one now, so this should be fixed soon.

Yep, and in the meantime, you could try telling the radeon driver to treat it like a 8500 with the ChipID or Chipset directive.

What do I need to put ? There is 4 different RADEON 8500 ?

Ok, this is offb, so you don't have radeonfb. Another user is reporting me that radeonfb doesn't work on your card.

I'll see what I can do.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#18 lore raw

Try to run X11 with an Apple studio Display 17'' LCD

In reply to a message not in the archive

Hi,

I have downloaded the CVS tree and compiled it. The graphic board is a Radeon R250 If [Radeon 9000]. The machine is a bi G4 1Ghz powermac.

If I try a XFree86 -configure I have this error :
(EE) RADEON(0): Cannot read V_BIOS (5)

but It generates a XF86Config.new where the driver name is ati. If I do a XFree86 -xf86config /root/XF86Config.new the screen remain blank. And I have only remote session on the machine possible.
If I put radeon instead of ati in the config file and ChipID at 0x514c (Radeon 8500) I have the same problem but differents error messages.

I join the log message and the XF86Config.new generated by the configuration.

Does anybody have the same configuration ?

Any help welcome :-)

xavier

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/