Jean-Francois Boudreault | 1 Feb 15:51 2007
Picon

Re: kgdb in virtex port

Jachym,

> Can you please see if the diff below helps? I don't have a chance to
> test on the ML403 rigt now and my MOAB didn't arrive yet.
>   
Working perfectly! You should commit it.

See log:

(gdb) set remotebaud 38400
(gdb) target remote /dev/tty00
Remote debugging using /dev/tty00
kgdb_connect (verbose=<value optimized out>)
    at /usr/src/sys/arch/powerpc/powerpc/kgdb_machdep.c:274
274             if (verbose && kgdb_active) {
warning: no shared library support for this OS / ABI
(gdb) bt
#0  kgdb_connect (verbose=<value optimized out>)
    at /usr/src/sys/arch/powerpc/powerpc/kgdb_machdep.c:274
#1  0x00241434 in initppc (startkernel=151552, endkernel=7602176)
    at /usr/src/sys/arch/evbppc/virtex/machdep.c:269
#2  0x00025128 in kernel_text ()
(gdb) n
275                     printf("kgdb connected.\n");
(gdb)

Bye,

Jeff.

(Continue reading)

Ignatios Souvatzis | 1 Feb 15:56 2007
Picon

Re: kgdb in virtex port

Hi,

On Thu, Feb 01, 2007 at 09:51:58AM -0500, Jean-Francois Boudreault wrote:
> Jachym,
> 
> >Can you please see if the diff below helps? I don't have a chance to
> >test on the ML403 rigt now and my MOAB didn't arrive yet.
> >  
> Working perfectly! You should commit it.
> 
> See log:
> 
> (gdb) set remotebaud 38400
> (gdb) target remote /dev/tty00
> Remote debugging using /dev/tty00
> kgdb_connect (verbose=<value optimized out>)
>    at /usr/src/sys/arch/powerpc/powerpc/kgdb_machdep.c:274

[...]

Say - this looks like you're *not* debugging the tex binary, right?
What is this about?

	-is

Jachym Holecek | 1 Feb 21:20 2007

Re: kgdb in virtex port

Hello,

# Jean-Francois Boudreault 2007-01-31:
> I've been playing with Jachym's virtex port for a while. I added support 
> for KGDB in your port but can't get it working right.

I think the code needs to work a bit differently, can you please try the
below (diff against -current sys/arch/{powerpc,evbppc/virtex})? It moves
most of kgdb handling to consinit(), xlcom() only provides leaf routines
(as was done with console support) and makes sure not to step on kgdb's
toe. As a side-effect, I've changed virtex_console_tag() to return bus
space tag by name and renamed the function to virtex_bus_space_tag().

A few general notes for the future:

  * Please use unified diffs, it's easier on the eyes.
  * Make sure your code works even when the options you're interested in
    are turned off (be it defines or higher-level logic).

Thanks,
	-- Jachym

Index: evbppc/virtex/consinit.c
===================================================================
RCS file: /cvsroot/src/sys/arch/evbppc/virtex/consinit.c,v
retrieving revision 1.1
diff -d -p -u -r1.1 consinit.c
--- evbppc/virtex/consinit.c	2 Dec 2006 22:18:47 -0000	1.1
+++ evbppc/virtex/consinit.c	1 Feb 2007 20:17:00 -0000
 <at>  <at>  -49,12 +49,18  <at>  <at>  __KERNEL_RCSID(0, "$NetBSD: consinit.c,v
(Continue reading)

Andrew Abelovski | 26 Feb 10:09 2007
Picon

L3 Cache

I came accross this doing research i trying to enable my L3 cache. I
upgraded my Quicksilver 733 no L# to a 867 with L3 and the L3 cache is
not showing do ou know how to fix it?

Her eis the email i found o the web:

Subject: L3 CacheQuestion
To: None <port-powerpc <at> netbsd.org>
From: Richard Starr <Richard.Starr <at> VALLEY.NET>
List: port-powerpc
Date: 12/14/2005 14:48:11

Mr Klos,

I came across an email to a list from you about L3 cache enabling while I was
googling on the subject.  It gave me some ideas about how to solve my problem,
but I'm not programmer or engineer so I thought I'd run it by you.  I'll
understand if this is asking too much.

I put an Apple dual 800 mhz processor from a Quicksilver into a Digital Audio
Power
Mac.   The L3 caches are not automatically enabled, which, I assume is because
the earlier computer rom or firmware doesn't do it.

In os 9 and 10.3  software from Powerlogix and Sonnet does enable the L3 cache,
but nothing I can find will do it in 10.4.

So I am trying to find software or code for Open Firmware that I can use to kick
it in while running Tiger.

(Continue reading)

Jeremie Le Hen | 3 Mar 18:36 2007

IBM 43p model 150

Hi list,

my company was about to throw away an old IBM 43p model 150 and I
hopefully swerved it to my home instead :-).
It seems the spec are available here:
    http://www.spec.org/gpc/June99/plb/IBM/summary/IBM.001.html

Currently there is an old AIX 4.3 on it, an OS about which I don't
know anything about so I can't gather the actual informations from
the running OS.

Since it doesn't have a VGA adapter, I'm doomed to use the serial
port.  I burned prepcd-3.1.iso and inserted the CD but I see AIX
booting on the serial port.

Since I have always used x86 so far, I didn't use to these less
popular platforms.  From what I've managed to read on the archives,
NetBSD/prep is not the only platform I can use.  So I would like to
know what is the best platform to use on this particular computer.

My second question is "Will the CD image switch automatically
to the serial console ?"

Thank you very much.
Best regards,
--

-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

(Continue reading)

Patrick Finnegan | 3 Mar 19:47 2007

Re: IBM 43p model 150

On Saturday 03 March 2007 12:36, you wrote:
> Hi list,
>
> my company was about to throw away an old IBM 43p model 150 and I
> hopefully swerved it to my home instead :-).
> It seems the spec are available here:
>     http://www.spec.org/gpc/June99/plb/IBM/summary/IBM.001.html
>
> Currently there is an old AIX 4.3 on it, an OS about which I don't
> know anything about so I can't gather the actual informations from
> the running OS.

lscfg and lsattr should tell you just about anything you want to know 
about the hardware, from inside AIX.

> Since it doesn't have a VGA adapter, I'm doomed to use the serial
> port.  I burned prepcd-3.1.iso and inserted the CD but I see AIX
> booting on the serial port.

You'll need to enter SMS (sort of a bios for newer AIX boxes), by hitting 
the "1" key on your serial terminal when the machine is displaying a 
line of text like this:
     memory      keyboard     network      scsi      speaker
Hit the "1" key repeatedly before it says "speaker", and it should dump 
you int SMS, where you can chose what device to boot off of.

> Since I have always used x86 so far, I didn't use to these less
> popular platforms.  From what I've managed to read on the archives,
> NetBSD/prep is not the only platform I can use.  So I would like to
> know what is the best platform to use on this particular computer.
(Continue reading)

Jeremie Le Hen | 3 Mar 23:42 2007

Re: IBM 43p model 150

Patrick,

Thank you for you quick reply.

On Sat, Mar 03, 2007 at 01:47:50PM -0500, Patrick Finnegan wrote:
> On Saturday 03 March 2007 12:36, you wrote:
> > my company was about to throw away an old IBM 43p model 150 and I
> > hopefully swerved it to my home instead :-).
> > It seems the spec are available here:
> >     http://www.spec.org/gpc/June99/plb/IBM/summary/IBM.001.html
> >
> > Currently there is an old AIX 4.3 on it, an OS about which I don't
> > know anything about so I can't gather the actual informations from
> > the running OS.
> 
> lscfg and lsattr should tell you just about anything you want to know 
> about the hardware, from inside AIX.

Great.  I didn't know these commands and manual pages are not available
from the running system.  I tried to find them on IBM's website, but I
wasn't able to find my way on it. 

> > Since it doesn't have a VGA adapter, I'm doomed to use the serial
> > port.  I burned prepcd-3.1.iso and inserted the CD but I see AIX
> > booting on the serial port.
> 
> You'll need to enter SMS (sort of a bios for newer AIX boxes), by hitting 
> the "1" key on your serial terminal when the machine is displaying a 
> line of text like this:
>      memory      keyboard     network      scsi      speaker
(Continue reading)

Jeremie Le Hen | 3 Mar 23:51 2007

Re: IBM 43p model 150

On Sat, Mar 03, 2007 at 01:47:50PM -0500, Patrick Finnegan wrote:
> On Saturday 03 March 2007 12:36, you wrote:
> > Hi list,
> >
> > my company was about to throw away an old IBM 43p model 150 and I
> > hopefully swerved it to my home instead :-).
> > It seems the spec are available here:
> >     http://www.spec.org/gpc/June99/plb/IBM/summary/IBM.001.html
> >
> > Currently there is an old AIX 4.3 on it, an OS about which I don't
> > know anything about so I can't gather the actual informations from
> > the running OS.
> 
> lscfg and lsattr should tell you just about anything you want to know 
> about the hardware, from inside AIX.

For the record:

% root / > lscfg
% INSTALLED RESOURCE LIST
% 
% The following resources are installed on the machine.
% +/- = Added or deleted from Resource List.
% *   = Diagnostic support not available.
%         
%   Model Architecture: chrp
%   Model Implementation: Uni-Processor, PCI bus
%         
% + sysplanar0        00-00             System Planar
% + mem0              00-00             Memory
(Continue reading)


Gmane