khym | 4 Jul 07:32 2007

MULTIPROCESSOR macppc kernel won't link

I'm trying to compile a MULTIPROCESSOR macppc kernel, -current as of
July 3, and the link fails with:

locore.o: In function `cpu_spinup_trampoline':
/usr/src.local/sys/arch/macppc/macppc/locore.S:(.text+0xb4): undefined reference to `sched_lock_idle'
/usr/src.local/sys/arch/macppc/macppc/locore.S:(.text+0xbc): undefined reference to `Idle'
locore.o: In function `cpu_lwp_bootstrap':
/usr/src.local/sys/arch/macppc/macppc/locore.S:(.text+0x3e4): undefined reference to `proc_trampoline_mp'

*** Failed target:  netbsd

It looks like those routines were removed as part of the idlelwp merge,
but I have no idea what the calls to those routines should be replaced
with. Any thoughts?
--

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym <at> azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 31 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++

Alfred Perlstein | 7 Jul 07:58 2007

Help with install on powerbook g3

Hello,

I am trying to install NetBSD onto a Powerbook g3.

I want the OS to boot from the laptop's hard disk.

Here is the powerbook's information:
powerbook g3, 250mhz
open firmware 2.0.1
family number: M4753

I have already installed NetBSD into the machine by netbooting
it.

However I can not seem to get it to boot from the disk now.

Is there some magic proceedure/tool I can use to tell open
firmware to boot this thing?

thanks,
--

-- 
- Alfred Perlstein

Hauke Fath | 7 Jul 14:55 2007
Picon

NetBSD on OpenFirmware-less Macintoshes

All,

a few days ago, a Power Macintosh 7100/80 has joined my collection. I have
looked on the web a bit since, to get an idea of what blocks the way to
NetBSD support,a nd I'd like to spawn a (yet another ;) discussion.

Of the two major issues, support for the 601 and the lack of OpenFirmware,
the former seems to come along in arch/powerpc, right? So I concentrated on
looking into hardware support for now.

What came up time and again, is the question whether support for 1st
generation Power Macs should be part of an existing port (macppc, mac68k),
or a new port. At the time, Bill Stouder-Studenmund strongly advocated
integrating Nubus Macs with the macppc port similarly to what happened with
sun3 and sun3x:

<http://groups.google.com/group/sol.lists.netbsd.port.macppc/browse_thread/threa
d/9a1cae1740a3b1c1/896509ba2496e012>

Earlier, Bill had outlined a possible autoconf structure that would serve
both non-OF and OF power Macs:

<http://mail-index.netbsd.org/port-macppc/1998/10/07/0001.html>

While the sun3/sun3x example sounds appealing, the two machine classes
share a lot more than just the cpu (68020 vs. 68030). The macppc port,
OTOH, is closely tied to OpenFirmware support (mainbus already implies
presence of OF), and PCI (obio attaches to pci, not mainbus). 1st
generation Power Macs have neither of the two, and because of their
different configuration mechanism, hardware, interrupt structure are a lot
(Continue reading)

Masafumi Hotta | 8 Jul 13:31 2007
Picon

ibook G3,current kernel panic

Hello.

I'd like to use current with ibook G3 466MHz with firewire,
get the latest source today and tryed to boot the kernel (cross
compiled on i386).

But it panics

-------------------------------------------------------------
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
panic: cnopen: no console device
Stopped in pid 16.1 <init> at   netbsd:cpu_Debugger+0x10:   Lwz   r0,
r1, 0x14
db> bt
0xd964bcb0: at panic+0x1b4
0xd964bd00: at cnopen+0x12c
0xd964bd30: at spec_open+0x204
0xd964bd70: at VOP_OPEN+0x38
0xd964bda0: at vn_open+0x200
0xd964be40: at sys_open+0xe0
0xd964bee0: at syscall_plain+0x1f0
0xd964bf40: user SC trap #5 by 0xefec7e0c: srr1=0xd032
                        r1=0xffffddd0 cr=0x20000082 xer=0 ctr=0xefec7e04

db>
-----------------------------------------------------------------
This is my first post and thanks for reading.

(Continue reading)

Michael Lorenz | 9 Jul 10:25 2007
Picon

Re: NetBSD on OpenFirmware-less Macintoshes


Hello,

On Jul 7, 2007, at 08:55, Hauke Fath wrote:

> a few days ago, a Power Macintosh 7100/80 has joined my collection. I  
> have
> looked on the web a bit since, to get an idea of what blocks the way to
> NetBSD support,a nd I'd like to spawn a (yet another ;) discussion.
>
> Of the two major issues, support for the 601 and the lack of  
> OpenFirmware,
> the former seems to come along in arch/powerpc, right? So I  
> concentrated on
> looking into hardware support for now.
>
> What came up time and again, is the question whether support for 1st
> generation Power Macs should be part of an existing port (macppc,  
> mac68k),
> or a new port. At the time, Bill Stouder-Studenmund strongly advocated
> integrating Nubus Macs with the macppc port similarly to what happened  
> with
> sun3 and sun3x:
>
> <http://groups.google.com/group/sol.lists.netbsd.port.macppc/ 
> browse_thread/threa
> d/9a1cae1740a3b1c1/896509ba2496e012>
>
> Earlier, Bill had outlined a possible autoconf structure that would  
> serve
(Continue reading)

Gyula Molnár | 10 Jul 14:23 2007
Picon

Examle xf86config file

I just installed netbsd on my 1,25Ghz PPC Mac mini. Can somebody send
me an xf86config file? (since the "Xf86config" command isn't work...)
Thanks: Gyula

Michael Lorenz | 10 Jul 19:56 2007
Picon

Re: Examle xf86config file


Hello,

On Jul 10, 2007, at 08:23, Gyula Molnár wrote:

> I just installed netbsd on my 1,25Ghz PPC Mac mini. Can somebody send
> me an xf86config file? (since the "Xf86config" command isn't work...)
> Thanks: Gyula

Define "doesn't work" please. How exactly does it "not work" ?
Anyway, the Mini has a mobile radeon like most newer iBooks which 
should Just Work. To get a more or less usable XF6Config run XFree86 
-configure as root, it will dump a config file in your home directory, 
named XF86Config.new, you may want to edit it a bit ( stuff like keymap 
etc. )

have fun
Michael
Andreas Moschos | 10 Jul 20:20 2007
Picon

G4 widescreen powerbook

i have installed 3.1 on a powerbook G4 with 17 inch widescreen LCD (ATI mobility radeon 9600 M10).
I wonder if anyone has a working X on this one.I can see X working fine under top (remote console) i see nothing wrong in the log file but i SEE garbage on the output.
 
garbage == mouse cursor is clear and it is possible -using some imagination- to see 2 xterms extremelly meshed up, CTL + d on one of them exits X.
 
it seems like a modeline issue to me but after using:
ModeLine "1440x900" 96.2 1440 1504 1536 1760 900 903 906 912
had the same results.
iBookHacks is enabled.
 
i thought of using a current kernel but i only get coredumps of XFree with black screens.
 
i also have issues with the output of the wscons using the curret kernel.The first 20 lines (counting from the top of the panel) are so meshed up i can see nothing (on all the screens).
 
 

It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
Michael Lorenz | 11 Jul 16:06 2007
Picon

Re: G4 widescreen powerbook


Hello,

On Jul 10, 2007, at 14:20, Andreas Moschos wrote:

> i have installed 3.1 on a powerbook G4 with 17 inch widescreen LCD 
> (ATI mobility radeon 9600 M10).
> I wonder if anyone has a working X on this one.I can see X working 
> fine under top (remote console) i see nothing wrong in the log file 
> but i SEE garbage on the output.
>  
> garbage == mouse cursor is clear and it is possible -using some 
> imagination- to see 2 xterms extremelly meshed up, CTL + d on one of 
> them exits X.
>  
> it seems like a modeline issue to me but after using:
> ModeLine "1440x900" 96.2 1440 1504 1536 1760 900 903 906 912
> had the same results.
> iBookHacks is enabled.

Unfortunately the radeon driver heavily depends on reading pll 
parameters from the firmware ROM which currently doesn't work on macppc 
( not sure why - either the driver doesn't like OpenFirmware or it 
doesn't find the ROM )
As an ugly workaround you can use the wsfb driver - that will be stuck 
in whatever the console used and won't have acceleration but it should 
at least work.

>  i thought of using a current kernel but i only get coredumps of XFree 
> with black screens.

That's weird - where and how does it crash?

>  i also have issues with the output of the wscons using the curret 
> kernel.The first 20 lines (counting from the top of the panel) are so 
> meshed  up i can see nothing (on all the screens).

Radeonfb has trouble on R3xx and newer, unfortunately nobody with 
access to such hardware did any debugging work that I'm aware of so far 
( all I have is the RV280 in my iBook G4 which works fine )

have fun
Michael
John D. Baker | 11 Jul 18:19 2007

ppcoea-renovation kernel builds fail

Has anyone lately tried building any kernel from the "ppcoea-renovation"
branch?

My attempts to build GENERIC fail with:

[...]
/space/nbsd/ppcoea-renovation/src/sys/arch/powerpc/oea/ofw_consinit.c: 
63:17: error: isa.h: No such file or directory
nbmkdep: compile failed.

*** Failed target:  ofw_consinit.d
[...]

I've not yet had a chance to go looking for this file.  Any suggestions?

--
John D. Baker
jbaker <at> cis.sac.accd.edu

Attachment (smime.p7s): application/pkcs7-signature, 2740 bytes

Gmane