e.stiebler | 3 Jan 2006 19:43

NetBSD 3.0 & CURRENT

Just in case anybody still cares, but I had some time over the last 
days, and decided to upgrade my VAX here. Got the 3.0RC6 ISO CD, 
installed it, after that I pulled the CURRENT version from the CVS, and
made a new kernel and distribution and installed it. So, now it is at 
NetBSD 3.99.15
Most of the stuff went without any new problems.

Cheers

frases | 7 Jan 2006 16:39
Picon

Feliz_A±o_Nuevo

Una cosa no es justa por el hecho de ser ley. Debe ser ley porque es justa.
 - Montesquieu 

Es mucho más difícil juzgarse a sí mismo que juzgar a los demás.
- A. Saint - Exupery 

El abogado es un caballero que salva vuestros bienes de vuestros enemigos y se los queda para él.
 - Lord Brougham 

El alcohol provoca el deseo pero frustra la ejecución.
- William Shakespeare 

. Internet sin costo para toda la vida 

. Mayor velocidad de Navegacion.
. Sin Publicidades.
. Sin Programas Extraños en tu Pc.

. Solo crea un Acceso Telefonico y con Usario = GRATIS y Clave = GRATIS

Buenos Aires y Gran Buenos Aires     5078-3010
Mendoza                              462-3010
Rosario                              517-3010
Cordoba                              536-3010
La Plata                             515-3010
Pilar                                65-6010

Ignatios Souvatzis | 15 Jan 2006 22:40
Picon

Please check my pmap addition

Hello,

this weekend I've added pmap_is_referenced() to the VAX port, making
it compile again.

Unfortunately Jochen Kunz and I couldn't fully test it, because no -current
Userland was available - I spent most of Sunday hunting down userland
regressions in -current wrt. compilation on VAX. Somebody shold look
at pmap and verify that my code does the right thing - and of course
test it...

Regards,
	Ignatios
--

-- 
seal your e-mail: http://www.gnupg.org/
Ignatios Souvatzis | 16 Jan 2006 10:18
Picon

Pmap change : code

Hi,

does this look right? 

(sorry for the other request; I was convinced that I committed the change
 to be sure it doesn't get lost.)

Regards,
	-is

Index: pmap.h
===================================================================
RCS file: /cvsroot/src/sys/arch/vax/include/pmap.h,v
retrieving revision 1.63
diff -u -r1.63 pmap.h
--- pmap.h      24 Dec 2005 23:24:07 -0000      1.63
+++ pmap.h      16 Jan 2006 09:15:02 -0000
 <at>  <at>  -201,6 +201,15  <at>  <at> 
 void pmap_protect_long(pmap_t, vaddr_t, vaddr_t, vm_prot_t);

 inline static boolean_t
+pmap_is_referenced(struct vm_page *pg)
+{
+       struct pv_entry *pv = pv_table + (VM_PAGE_TO_PHYS(pg) >> PGSHIFT);
+       boolean_t rv = (pv->pv_attr & PG_V) != 0;
+
+       return rv;
+}
+
+inline static boolean_t
(Continue reading)

Jochen Kunz | 18 Jan 2006 23:01
Picon

Net Booting...

Hi.

For the archives:

Today I tried to netboot NetBSD-current on a VAXstation 4000m90 to test
the SPX wscons(4) driver... Unfortunately the net boot loader still
doesn't work. I tried with different old versions and the first working
boot loader I found is from 1.5.1. (1.5 didn't work, other versions are
untested.) The working boot loader can be found here:
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.5.1/vax/installation/netboot/boot.mop
--

-- 

tschüß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/

Mark Wickens | 19 Jan 2006 10:40
X-Face
Picon
Favicon

Re: Net Booting...

On Wednesday 18 January 2006 22:01, Jochen Kunz wrote:
> Hi.
>
> For the archives:
>
> Today I tried to netboot NetBSD-current on a VAXstation 4000m90 to test
> the SPX wscons(4) driver... Unfortunately the net boot loader still
> doesn't work. I tried with different old versions and the first working
> boot loader I found is from 1.5.1. (1.5 didn't work, other versions are
> untested.) The working boot loader can be found here:
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-1.5.1/vax/installatio
>n/netboot/boot.mop

Is there not an argument for replacing the most recent 'broken' boot loader 
with one that works, on the grounds that without inside knowledge or a great 
deal of pain most people are just going to give up with the broken one.

Mark 'Blaz steered me round this minefield' W.

--

-- 
Mark Wickens, Software Consultant, Valtech UK Ltd
CMS Project, DWP Lytham St Annes
Tel: 01253 334465 x64465 Mob: 07917 653012/07780 806787
Email: mark.wickens <at> valtech.co.uk
Jochen Kunz | 19 Jan 2006 19:43
Picon

Re: Net Booting...

On Thu, 19 Jan 2006 09:40:54 +0000
Mark Wickens <mark.wickens <at> valtech.co.uk> wrote:

> Is there not an argument for replacing the most recent 'broken' boot
> loader with one that works,
The boot loader is compiled out of source code, it is not placed as
binary in the CVS repository. I suspect reverting the source back to
1.5.1 is no solution as this may break other things. There is only one
proper solution: A helpfull soul has to dig into the code and find out
what is failing and why, then fix the code and submit patches upstream.
As I am currently working on the SPX and LCG console drivers I have no
time left for this task.

Maybe it is no problem of the boot code. It may be in mopd(8) or
mopcopy(1)...

You may take this also as: 
  Who ever reads this, feel invited to debug and fix the problem.

You may take this also as:
  This is the short term solution until some kind soul has fixed the
  problem.

Maye we should add a note about the netboot loader in the FAQ and
netboot HOWTO?
--

-- 

tschüß,
       Jochen

(Continue reading)

Anders Hjalmarsson | 19 Jan 2006 21:43
X-Face
Picon

Re: Net Booting...


> 
> Maybe it is no problem of the boot code. It may be in mopd(8) or
> mopcopy(1)...
> 
I have this patch to mopcopy, I do not remember where I got it,
either from this list or a bug report.
With it I can mopcopy an ELF-format bootprogram to a format that works.
The mopd internal ELF conversion is still broken though.
For those who have forgotten, mop booting got broken with the switch to
ELF (quite some time ago)

-hjalmar

Index: mopcopy/mopcopy.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/mopd/mopcopy/mopcopy.c,v
retrieving revision 1.3
diff -u -r1.3 mopcopy.c
--- mopcopy/mopcopy.c	5 Nov 2002 05:06:05 -0000	1.3
+++ mopcopy/mopcopy.c	19 Jan 2006 20:36:57 -0000
 <at>  <at>  -141,6 +141,7  <at>  <at> 
 	dl.a_lseek   = 0;
 	dl.count     = 0;
 	dl.dl_bsz    = 512;
+	dl.xferaddr    = 0;

 	mopFilePutLX(header,IHD_W_SIZE,0xd4,2);   /* Offset to ISD section. */
 	mopFilePutLX(header,IHD_W_ACTIVOFF,0x30,2);/* Offset to 1st section.*/

(Continue reading)

Hans Rosenfeld | 20 Jan 2006 08:55

Re: Net Booting...

On Thu, Jan 19, 2006 at 09:43:45PM +0100, Anders Hjalmarsson wrote:
> > Maybe it is no problem of the boot code. It may be in mopd(8) or
> > mopcopy(1)...
> I have this patch to mopcopy, I do not remember where I got it,
> either from this list or a bug report.
> With it I can mopcopy an ELF-format bootprogram to a format that works.
> The mopd internal ELF conversion is still broken though.
> For those who have forgotten, mop booting got broken with the switch to
> ELF (quite some time ago)

I was once told on IRC that the problem is not in mopd or mopcopy but in
the linking of the boot program.
When boot still was a.out, the entry point was set to 0, while with ELF
it is set to the start symbol.
There are some interesting comments on this at
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/vax/boot/boot/Makefile

Hans

--

-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

admin | 23 Jan 2006 00:11
Picon

no subject

FRASES DE GROUCHO

Desde el momento en que cogi su libro me cai al suelo rodando de risa. Algun dia espero leerlo.

He pasado una noche estupenda. Pero no ha sido esta.

Jamas aceptaria pertenecer a un club que admitiera como miembro a alguien como yo.

Partiendo de la nada alcance las mas altas cimas de la miseria.

Disculpen si les llamo caballeros, pero es que no los conozco muy bien. 

Nunca voy a ver películas donde el pecho del héroe es mayor que el de la heroína. 

No piense mal de mí, señorita. Mi interés por usted es puramente sexual. 

. Internet sin costo para toda la vida 

. Mayor velocidad de Navegacion.
. Sin Publicidades.
. Sin Programas Extraños en tu Pc.

. Solo crea un Acceso Telefonico y con Usario = sw y Clave = sw

Buenos Aires y Gran Buenos Aires     5078-3010
Mendoza                              462-3010
Rosario                              517-3010
Cordoba                              536-3010
La Plata                             515-3010
Pilar                                65-6010
(Continue reading)


Gmane