M L Riechers | 1 Aug 2002 03:13

Re: db> message after some hours (using Serial Console only)

To: M L Riechers <mlr <at> rse.com>
cc: <port-macppc <at> netbsd.org>
Subject: Re: db> message after some hours (using Serial Console only)
In-Reply-To: <200207292225.SAA22994 <at> nnwest.rse.com>
Message-ID: <Pine.NEB.4.33.0207311003260.4062-100000 <at> vespasia.home-net.internetconnect.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: port-macppc-owner <at> netbsd.org
On Mon, 29 Jul 2002, M L Riechers wrote:

On Wed, 31 Jul 2002 10:07:13 -0700 (PDT) Bill Studenmund
<wrstuden <at> netbsd.org> averred:

> ...

> Doh, yes. Actually TxD would probably be better.

Hmmmmmm.  (Mumble, mumble, mumble, etc, etc. as he mulls "good
positive feedback").  Perhaps you're right about that -- if the
ne'redowells are _really_ grounding the RD+ differential inputs.

>> Perhaps a better idea would be to use GND instead of DTR?
>
> No. The spec says (for RS-232) a space (0) is > +3 V, and a mark is < -3
> V. Ground is not a valid voltage. Using ground relies on the hysteresis of
> the receiver.

You're right, of course.  The specs really do say that. However, most
RS-232 receivers (and all of those I've used and/or run across) are
perfectly happy receiving data switched between ground and, say +5
(Continue reading)

Bill Studenmund | 1 Aug 2002 18:58
Picon

Re: db> message after some hours (using Serial Console only)

On Wed, 31 Jul 2002, M L Riechers wrote:

> On Wed, 31 Jul 2002 10:07:13 -0700 (PDT) Bill Studenmund
> <wrstuden <at> netbsd.org> averred:
>
> >> Perhaps a better idea would be to use GND instead of DTR?
> >
> > No. The spec says (for RS-232) a space (0) is > +3 V, and a mark is < -3
> > V. Ground is not a valid voltage. Using ground relies on the hysteresis of
> > the receiver.
>
> You're right, of course.  The specs really do say that. However, most
> RS-232 receivers (and all of those I've used and/or run across) are
> perfectly happy receiving data switched between ground and, say +5
> Volts. So you can run your 5 Volt only system into a terminal or
> modem, for instance.

How did you check that? Did you pull out a multi-meter on it?

I ask as a long time ago (like late 80's, back when I followed all sorts
of chip releases :-) a number of the line driver makers came up w/ chips
that had +5V/GND in, yet supplied +5/-5 outputs. It's easy, you just add a
tank capacitor power inverter, and you've got -5 V.  All in one package.

For instance, look at: http://www.national.com/ds/DS/DS14C238.pdf . This
puppy is (well claims it is) fully RS-232 compliant on voltages, and only
needs +5/gnd. It's quite proud of its internal DC-DC converter. :-)

> > For a mac it'd be real bad because the mac really has differential
> > data input. Typical serial cables tie RS-232 data in to RD-, and ground
(Continue reading)

CompuDroid | 5 Aug 2002 07:15

Beige G3 266 Desktop Installation help needed

I have a beige g3. I'm trying to boot a netbsd 1.5.2 iso front a scsi
cdrom drive.

I am booting with the command:

boot scsi-int/sd <at> 3:0,\OFWBOOT.XCF;1 NETBSD.MACPPC;1

it gets as far as:

loading .text, done..
loading .data, done..
loading .bss, done..

and then I get the DEFAULT CACHE message. I have my real-base set to
F00000. I've tried it with my load-base set to alot of things 4000,
600000, 640000. Hopefully someone here can help me...

-Will Bendick

CompuDroid | 5 Aug 2002 07:48

Beige G3 266 Desktop Installation help needed

I have a beige g3. I'm trying to boot a netbsd 1.5.2 iso front a scsi
cdrom drive.

I am booting with the command:

boot scsi-int/sd <at> 3:0,\OFWBOOT.XCF;1 NETBSD.MACPPC;1

it gets as far as:

loading .text, done..
loading .data, done..
loading .bss, done..

and then I get the DEFAULT CACHE message. I have my real-base set to
F00000. I've tried it with my load-base set to alot of things 4000,
600000, 640000. Hopefully someone here can help me...

-Will Bendick

PS: NetBSD developer Jean Klos looked at my machine and even he's
scratching his head so I'd really appreciate any help I can get.

Benjamin Herrenschmidt | 5 Aug 2002 17:17

tipb 667/800Mhz

Since this was discussed here earlier, I though you would be interested 
in the conclusion of my experiments with having this machine actually 
do 800Mhz with a non-Apple OS.

So first, forget about the OF hack that hang around on the net, all I 
could do with it is let the kernel beleive it runs at 800Mhz, but run 
any real benchmark of the CPU and you'll quickly discover that it's 
really still at 667Mhz. This matches the result of the Open Firmware 
dumps I did on this box, that is OF there doesn't seem to have code to 
do the actual switch.

So how does it work ? Well, basically, it's the PMU that controls the 
pin strapping of the PLL_CFG[0..3] pins. You need to send it a 0x7d 
command, with 5 bytes as parameters ('W', 'O', 'O', 'F', x) where "x" 
is 0x00 for high speed or 0x01 for low speed.
When you do that, the PMU enters a state similar to what happens with 
the sleep command. That is it basically waits to be informed (by 
uninorth I suppose) that the CPU has went to sleep, then shuts it down 
(or hard resets it) with the proper PLL config. So the actual speed 
switch procedure is very similar to machine sleep, except that device 
drivers don't need to deal with sleep and a slight change to what you 
write to UniNorth power management register.

The actual scenario I implemented successfully in linux/ppc is:

   1) disable all interrupt sources on OpenPIC (basically raise the CPU 
priority mask)
   2) Wait for the PMU to be idle (complete outstanding  battery or 
environement requests)
   3) Make sure the DEC won't bother us
(Continue reading)

Christian Groessler | 5 Aug 2002 23:26
Picon
Favicon

Re: Beige G3 266 Desktop Installation help needed


On 08/05/2002 04:45:15 PM AST CompuDroid wrote:
>
>yes i just tried it again to be sure:
>I zapped my PRAM
>ran system disk in os9 set it to halt at the OF prompt.
>setenv real-base F00000
>setenv load-base 640000
>boot scsi-int/sd <at> 3:0,\OFWBOOT.XCF;1 NETBSD.MACPPC;1
>..and once again I get the DEFAULT CACHE after
>loading .text, done..
>loading .data, done..
>loading .bss, done..
>
>Someone help! I'm close to turning to the darkside... linux

I'm already on the dark side with my Beige G3, OF 2.4. (Although there
is still an empty partition reserved on it:-)

I tried to boot from floppy, cd, hd and network, trying any variation
of load-base, and always got the DEFAULT CATCH, too.

Linux also wasn't able to boot directly from OF, only the method with
BootX worked...

regards,
chris

CompuDroid | 6 Aug 2002 00:35

Re: Beige G3 266 Desktop Installation help needed

I can tell you for certain that booting from floppy drive is impossible on
the 266 beige g3 model. It's one of the bugs in the OF code and will
probably never be fixed... HOWEVER booting from CD should theoretically be
completely possible..... its just a matter of finding someone who has done
it.

-Will Bendick

 On 5 Aug 2002, Christian Groessler wrote:

> Date: 05 Aug 2002 23:26:46 +0200
> From: Christian Groessler <cpg <at> aladdin.de>
> To: CompuDroid <droid <at> zoo-crew.org>
> Cc: cpg <at> aladdin.de, port-macppc <at> netbsd.org
> Subject: Re: Beige G3 266 Desktop Installation help needed
>
>
> On 08/05/2002 04:45:15 PM AST CompuDroid wrote:
> >
> >yes i just tried it again to be sure:
> >I zapped my PRAM
> >ran system disk in os9 set it to halt at the OF prompt.
> >setenv real-base F00000
> >setenv load-base 640000
> >boot scsi-int/sd <at> 3:0,\OFWBOOT.XCF;1 NETBSD.MACPPC;1
> >..and once again I get the DEFAULT CACHE after
> >loading .text, done..
> >loading .data, done..
> >loading .bss, done..
> >
(Continue reading)

Henry B. Hotz | 6 Aug 2002 04:34
Picon
Picon
Favicon

1.5.3 patches

I see that 1.5.3 is out now.  I also see a security advisory 
concerning OpenSSL.  I do not see any patches in the 1.5.3 hierarchy 
that address fixing it.

Any idea when they'll be out?

Pity about the timing.  I had really hoped 1.5.3 would be "clean" for 
at least *some* time.
--

-- 
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz <at> jpl.nasa.gov, or hbhotz <at> oxy.edu

Chuck Silvers | 6 Aug 2002 08:41
Favicon

second CPU on dual G4 is also working now

subject says it all.

thanks go to tsubai for the CPU spinup code and
to matt thomas for letting me borrow his dual G4 box.

-Chuck

Bill Studenmund | 6 Aug 2002 17:43
Picon

Re: Beige G3 266 Desktop Installation help needed

On Mon, 5 Aug 2002, CompuDroid wrote:

> I can tell you for certain that booting from floppy drive is impossible on
> the 266 beige g3 model. It's one of the bugs in the OF code and will
> probably never be fixed... HOWEVER booting from CD should theoretically be
> completely possible..... its just a matter of finding someone who has done
> it.

Which version of OF do you have? My Beige G3 266 can boot from the floppy,
and in fact was the first one to do so. :-)

I however have OF 2.0f1. If you have OF 2.4, then things don't work.

Take care,

Bill


Gmane