Izumi Tsutsui | 11 Oct 16:50 2009
Picon

console lockup on netbsd-5 (pre-wscons) GENERIC

macallan <at> NetBSD.org wrote:

> On Jul 25, 2009, at 8:11 PM, Bill Roman wrote:
> 
> > I had NetBSD 4.0 running on my SS5 with no trouble, but I couldn't
> > resist trying a shiny new version.  5.0 installed and boots without
> > trouble, but it locks up shortly after I log in.
> >
> > The lockups seem to have to do with console output that includes long
> > lines (not necessarily exceeding the number of columns) and an  
> > embedded
> > newline.  Usually the long line after the newline is truncated (but  
> > its
> > terminating newline still scrolls), I get a shell prompt, and that's  
> > it.
> > No panic, no messages of any sort, no response to anything but Stop-A.
> >
> > The machine is a pretty standard 170 MHz model, with a CG6 console.
> 
> I have a machine like that, and I have several CG6, one of them in the  
> SS20 - I have never seen this problem. There was a problem with the  
> cg6 driver a while ago which would result in kernel memory being  
> scribbled over during palette changes which would later on panic the  
> machine but that has been fixed.
> 
> Do you have a short and reliable way to reproduce this?

Can you try miniroot installation of 5.0.1? (it doesn't have wscons)

The hangup 100% reproducible on SS1+ with cgsix0 after
(Continue reading)

Craig Dewick | 29 Oct 12:07 2009
Picon
Picon

upgrading from old 2.4.x to 5.0.x


I've got a system (Sparc 20) running a quite old version of NetBSD (2.4) 
and I noticed that NetBSD is now up to 5.0.x.

For anyone who's upgraded from old to new releases, what is the best way 
to go about it?

Craig.

--

-- 
Craig Dewick - Adelaide Australia - Web: http://lios.apana.org.au/~cdewick"
Email: cdewick <at> nos.lios.apana.org.au - SunShack: http://www.sunshack.org
Galleries: http://www.sunshack.org/gallery2 - Also lots of tech data, etc.
Sun Microsystems webring at http://n.webring.com/hub?ring=sunmicrosystemsu

Greg A. Woods | 30 Oct 00:12 2009
X-Face
Picon

Re: upgrading from old 2.4.x to 5.0.x

At Thu, 29 Oct 2009 22:07:36 +1100 (EST), Craig Dewick <cdewick <at> lios.apana.org.au> wrote:
Subject: upgrading from old 2.4.x to 5.0.x
> 
> 
> I've got a system (Sparc 20) running a quite old version of NetBSD (2.4)
> and I noticed that NetBSD is now up to 5.0.x.
> 
> For anyone who's upgraded from old to new releases, what is the best way
> to go about it?

It probably depends on what your machine does, what applications are
installed and in use, and whether you want to upgrade them up too or not.

Though I haven't done it on a NetBSD/sparc machine, nor with an upgrade
from such an older release, you might want to try the "sysinst" upgrade
procedure by booting from new install media (eg. a 5.0 sparc cd-rom).

It might be easier though to build/acquire the install sets and a new
kernel, install and boot the new kernel into single-user mode, unpack
the non-"etc" set(s) and then run etcupdate with the new "etc" set(s)
and merge/install config file updates as desired.

roughly like this:

    mv /netbsd /netbsd.old
    gzcat /RELEASE/sparc/binary/kernel/netbsd-GENERIC.gz > /netbsd

    reboot (into single user mode)

    cd /
(Continue reading)

Hauke Fath | 30 Oct 11:43 2009
Picon

Re: upgrading from old 2.4.x to 5.0.x

At 22:07 Uhr +1100 29.10.2009, Craig Dewick wrote:
>I've got a system (Sparc 20) running a quite old version of NetBSD
>(2.4) and I noticed that NetBSD is now up to 5.0.x.
>
>For anyone who's upgraded from old to new releases, what is the best
>way to go about it?

Well, there's two aspects to that, the base system, and pkgsrc.

The base system is the easier part:

(0) If your ss20 is an SMP system, rip out all cpus but one, or stick 
with netbsd-4, since netbsd-5 smp does not work on sparc.

(1) Copy the netbsd-[45] distribution to your harddisk, preferably a 
daily snapshot of the netbsd-[45] stable branch.

(2) Install a kernel as /netbsd[45], and boot that. GENERIC kernels 
have all the compat* options and so should work fine with your 
netbsd-2 userland. If it works; great, if not, you need to update the 
boot blocks first.

(2a) For updating the boot blocks, unless you have a second machine 
around, print out the installboot(8) man page and the install 
document first. Depending on your hardware, either boot from an 
install cd, or dd(1) the install kernel to the swap partition, and 
boot from that. In sysinst, drop to the shell prompt, mount the root 
partition, copy boot, and run the proper incantation of 
/usr/mdec/installboot.

(Continue reading)

David Brownlee | 30 Oct 12:40 2009
Picon

Re: upgrading from old 2.4.x to 5.0.x

2009/10/30 Hauke Fath <hauke <at> espresso.rhein-neckar.de>:

> (0) If your ss20 is an SMP system, rip out all cpus but one, or stick with
> netbsd-4, since netbsd-5 smp does not work on sparc.

On netbsd-5 can you just use GENERIC rather than GENERIC.MP and run
reliably on one proc on an SMP box?

Craig Dewick | 30 Oct 12:56 2009
Picon
Picon

Re: upgrading from old 2.4.x to 5.0.x

On Fri, 30 Oct 2009, David Brownlee wrote:

> 2009/10/30 Hauke Fath <hauke <at> espresso.rhein-neckar.de>:
>
>> (0) If your ss20 is an SMP system, rip out all cpus but one, or stick with
>> netbsd-4, since netbsd-5 smp does not work on sparc.
>
> On netbsd-5 can you just use GENERIC rather than GENERIC.MP and run
> reliably on one proc on an SMP box?

Actually I made a little error - the system is running an even older 1.5.2 
release. 8-) It's single-CPU though - running 1 x SS71 processor.

Disk is a 1.6" 146 GB drive which gets quite hot so that'll go soon.

Craig.

--

-- 
Craig Dewick - Adelaide Australia - Web: http://lios.apana.org.au/~cdewick"
Email: cdewick <at> nos.lios.apana.org.au - SunShack: http://www.sunshack.org
Galleries: http://www.sunshack.org/gallery2 - Also lots of tech data, etc.
Sun Microsystems webring at http://n.webring.com/hub?ring=sunmicrosystemsu

David Brownlee | 30 Oct 13:11 2009
Picon

Re: upgrading from old 2.4.x to 5.0.x

Heh, I ran 1.5 & 1.6 on sparc10 & sparc20s for *ages*. Nice boxes,
pity I didn't have the space/power to keep them :( :(

Hauke Fath | 30 Oct 16:10 2009
Picon

Re: upgrading from old 2.4.x to 5.0.x

At 22:56 Uhr +1100 30.10.2009, Craig Dewick wrote:
>On Fri, 30 Oct 2009, David Brownlee wrote:
>
>>  2009/10/30 Hauke Fath <hauke <at> espresso.rhein-neckar.de>:
>>
>>>  (0) If your ss20 is an SMP system, rip out all cpus but one, or stick with
>>>  netbsd-4, since netbsd-5 smp does not work on sparc.
>>
>>  On netbsd-5 can you just use GENERIC rather than GENERIC.MP and run
>>  reliably on one proc on an SMP box?
>
>Actually I made a little error - the system is running an even older
>1.5.2 release. 8-)

Was that a.out still, on sparc, or already elf? In the latter case, 
you'd have to read the UPDATING and INSTALL information from the 1.6 
release, I guess.

>It's single-CPU though - running 1 x SS71
>processor.

Good, at least here.  ;)

>Disk is a 1.6" 146 GB drive which gets quite hot so that'll go soon.

The ss20 will take any SCA2 scsi disk, so replacing it shouldn't be a problem.

One thing that may hold a nasty surprise: Unpack etc.tgz before 
anything else, and copy the "pam.d" directory to your /etc. Kernels > 
netbsd-2 want that directory populated, or there will be no 
(Continue reading)

Hauke Fath | 30 Oct 16:13 2009
Picon

Re: upgrading from old 2.4.x to 5.0.x

At 11:40 Uhr +0000 30.10.2009, David Brownlee wrote:
>2009/10/30 Hauke Fath <hauke <at> espresso.rhein-neckar.de>:
>
>>  (0) If your ss20 is an SMP system, rip out all cpus but one, or stick with
>>  netbsd-4, since netbsd-5 smp does not work on sparc.
>
>On netbsd-5 can you just use GENERIC rather than GENERIC.MP and run
>reliably on one proc on an SMP box?

When I tried on my ss20 (2x SM71, thanks to Martin) a few months ago, 
the UMP kernel got a bit further, but failed eventually. While there 
has been progress on -current, I am not sure any of the changes have 
been pulled up.

	hauke

--

-- 
Hauke Fath                        <hauke <at> Espresso.Rhein-Neckar.DE>
Friedrich-Ebert-Straße 70
64347 Griesheim
Germany

matthew green | 31 Oct 22:14 2009
Picon

re: upgrading from old 2.4.x to 5.0.x


plain GENERIC should work fine if the system has multiple CPUs.
if that fails, please file a PR or at least show some more info?

anyone want to help look at the SMP problem?

.mrg.


Gmane