Jed Davis | 1 Jun 01:50 2002
Picon

Re: 1.5ZC GENERIC, ipmon not logging correctly

Volker Stolz <stolz <at> i2.informatik.rwth-aachen.de> writes:

> Am 31. May 2002 um 19:14 CEST schrieb Todd Vierling:
>> Are your kernel and userland in sync?  (i.e. are you using GENERIC from the
>> same snapshot as userland?)
>
> Yes, I think they were/are. I even tried ipmon in different successive
> snapshots which came both with kernel and userland and my entire own
> world. I'm going to try out the most recent snapshot by the end of
> next week (I hope). And there's a new Ultra-1 as of today which might
> get NetBSD as well.

My $.02: ipmon has been giving me the same problems, even with
matching kernel and userland versions.  One thing I noticed, though,
was that the STATE entries (which ipmon does read) have strange
timestamps: 1969-12-31 at 19:00:00 (which is almost the epoch second;
I'm in US/Eastern, which is -0400 rather than -0500 at the moment due
to DST), where the microsecond part seems to be the actual
microseconds of the time (determined by some guesswork with ping(8)
and scripting).  Thus suggesting some kind of LP64 problem that might
also be breaking packet logging; once I get enough time I might try
poking around the source...

--Jed

--

-- 
#!/usr/bin/perl -- ## "But life wasn't yes-no, on-off.  Life was shades of gray,
sub f{(($n,$d, <at> _)= <at> _)?(substr(## and rainbows not in the order of the spectrum."
" ExhortJavelinBus",$n&&$d/$n,1),$n?f($d##   -- L. E. Modesitt, Jr., _Adiamante_
%$n,$n, <at> _):&f):("\n")}print f 1461,10324,55001,444162,1208,1341,5660480,79715997
(Continue reading)

Brian A. Seklecki | 2 Jun 09:05 2002

Re: where to buy a box ?

MH> The Ultra 5 IDE controller is a piece of shit. It can't even do UDMA 33,
MH> so you just will not be able to get semi-decent performance out of it,
MH> no matter how good the drive and how small the load is.

...the IDE controller is trash by virtue.  The onboard ATI FB is trash --
the max res you can do 24bpp at is 1152x786 (4mb) .. not that we even have
a working X server.  There are 4 PCI expansion slots, but you can only use
3 because of the bottom right riser is in use by onboard expansion ports.
IIRC, from working with them back at Stargate, u5's came in in a 27x, 33x,
and 399/400 MHz models, where performance differences were minimal.  I
used to think that i386/MHz had a ratio of at least 3:1 to Sparc/MHz, but
not anymore.  The onboard sound isn't bad, but it's not supported.  Happy
meal has autoneg problems.  No USB, no Firewire..and my $600 SunPCI2 card
isn't even detected/supported yet.

All that said, why do we put up with sun hardware?

Reliability
Reliability
Reliability
Reliability
Reliability
Reliability

...that's what it boils down to with Sun, always has.  I know that this U5
will work and boot on it's 15th birthday.  Other than that, it makes a
good area heater.

-lava

(Continue reading)

Martin Husemann | 2 Jun 09:13 2002
Picon

Re: where to buy a box ?

> The onboard sound isn't bad, but it's not supported. 

That has been fixed (thanks Uwe!), so sound works on U5 in 1.6 and -current.

Martin

Tomi Nylund | 2 Jun 21:19 2002
Picon

Re: 1.5ZC GENERIC, ipmon not logging correctly

On Friday 31 May 2002 20:14, you wrote:
> On Fri, 31 May 2002, Volker Stolz wrote:
> : In local.netbsd, you wrote:
> : > tried the new snapshot, and after getting it installed, seems much
> : > more stable that 1.5ZA. However, ipmon logging does not seem to
> : > work correctly.
> :
> : Yes, I've been seeing the same here, too. I think I reported it,
> : too, but nobody could provide a hint as to why this happens.
> : It even showed up with earlier snapshots, although I'd have to dig
> : in the mailing list archive to see which exactly.
>
> Are your kernel and userland in sync?  (i.e. are you using GENERIC from the
> same snapshot as userland?)

Yes, it was (I'm referring to my original post on the subject here) very much 
in sync: it just didn't work. In my mail, you can find some ktraces, etc. 
debugging info related to the problem. If you've lost'em, tell me, and I'll 
repost. I'll try with 1.6A when I have time, and see if it happens again.

Tomi

Tomi Nylund | 3 Jun 20:13 2002
Picon

Re: 1.5ZC GENERIC, ipmon not logging correctly


> > Are your kernel and userland in sync?  (i.e. are you using GENERIC from
> > the same snapshot as userland?)
>
> Yes, it was (I'm referring to my original post on the subject here) very
> much in sync: it just didn't work. In my mail, you can find some ktraces,
> etc. debugging info related to the problem. If you've lost'em, tell me, and
> I'll repost. I'll try with 1.6A when I have time, and see if it happens
> again.
>
> Tomi

Well, did some retesting with a friend of mine on 1.6_BETA1, and the problem 
is still there. We did testing, and it appears that /dev/ipl does not return 
the correct value to FIONREAD:

 15294 ipmon    CALL  write(0x6,0x20e000,0x6)
 15294 ipmon    GIO   fd 6 wrote 6 bytes
       "15294
       "
 15294 ipmon    RET   write 6
 15294 ipmon    CALL  close(0x6)
 15294 ipmon    RET   close 0
 15294 ipmon    CALL  close(0x6)
 15294 ipmon    RET   close -1 errno 9 Bad file descriptor
 15294 ipmon    CALL  __sigaction14(0x1,0xffffffffffffb6b0,0xffffffffffffb690)

This is another bug, unrelated to logging: the pid file opened for reading is 
closed twice, hence the "Bad file descriptor".

(Continue reading)

Dylan | 4 Jun 15:17 2002
Picon

booting u5 after install

To all:

I have a Sun ultra5 that I wanted to run NetBSD on, when not using it
for work.  Its an IDE based model.  I put a new 10GB hard drive in it, 
(one that had been used in a PC for awhile).  I net booted it off of 
another netbsd box I have (sparc 5 clone running 1.5.2).  I used the
2002511-1.5ZC snapshot packages, the install ran fine, partitioned the
disk, everything installed, (/dev/wd0*).  All happy.

When I reboot, it can't find a bootable disk, I try specifying a disk 
"boot disk", "boot disk:a", "boot disk1:a", etc, and it doesn't find
anything.  I've re-netbooted, and mounted the partitions, and re-run
installboot but that doesn't seem to fix it.

Any suggestions?  I've never put netbsd on a non-scsi system before
(always used scsi even on my pc), is there something special I need to
do to make it bootable?  Any special PROM settings, etc?  If someone
needs more details, I'll supply them.

Thanks in advance,
---
Dylan Zehr
<ddz <at> pobox.com>

eeh | 4 Jun 16:28 2002
Picon

Re: booting u5 after install


| I have a Sun ultra5 that I wanted to run NetBSD on, when not using it
| for work.  Its an IDE based model.  I put a new 10GB hard drive in it, 
| (one that had been used in a PC for awhile).  I net booted it off of 
| another netbsd box I have (sparc 5 clone running 1.5.2).  I used the
| 2002511-1.5ZC snapshot packages, the install ran fine, partitioned the
| disk, everything installed, (/dev/wd0*).  All happy.
|
| When I reboot, it can't find a bootable disk, I try specifying a disk 
| "boot disk", "boot disk:a", "boot disk1:a", etc, and it doesn't find
| anything.  I've re-netbooted, and mounted the partitions, and re-run
| installboot but that doesn't seem to fix it.
|
| Any suggestions?  I've never put netbsd on a non-scsi system before
| (always used scsi even on my pc), is there something special I need to
| do to make it bootable?  Any special PROM settings, etc?  If someone
| needs more details, I'll supply them.

Did you remember to install a bootblock and put ofwboot in the root?

Eduardo

Gerald Exner | 5 Jun 19:31 2002
Picon

can't switch off internal speaker of ultra1

Hi,

how can i switch off the internal speaker.

the options -ol -oh at mpg123 will not work.
should i disconnect the speaker ?

System: ultra1 with diskless netbsd 1.5.2

gerald
--
--OO---Ooo--< Tru64+netBSD+HPUX ? alpha:vax+tt030:pa >--
Gerald Exner

Martin Husemann | 5 Jun 19:54 2002
Picon

Re: can't switch off internal speaker of ultra1

> the options -ol -oh at mpg123 will not work.
> should i disconnect the speaker ?

Heh, that's probably not necessary. The usual answer is to play with
mixerctl(1).

> System: ultra1 with diskless netbsd 1.5.2

I don't know what audio chipset the U1 uses, but on my U5 the audio subsystem
misses the necessary hook for mixerctl, so I patched my kernel source (and
will try to fix it, now that I got advice from an audio guru where to look)

Martin

Index: cs4231.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ic/cs4231.c,v
retrieving revision 1.7
diff -u -r1.7 cs4231.c
--- cs4231.c    2002/03/12 04:48:28     1.7
+++ cs4231.c    2002/06/05 17:52:16
 <at>  <at>  -179,7 +179,7  <at>  <at> 
        sc->sc_ad1848.mode = 2; /* put ad1848 driver in `MODE 2' mode */
        ad1848_attach(&sc->sc_ad1848);

-#if 0
+#if 1
        /*
         * Before we give audiocs proper "outputs" handling, always mute
         * internal speaker so that I can test this w/out waking up my family.
(Continue reading)

IvanK. | 5 Jun 21:48 2002
Picon

netbooting a blade 100

Hi all,

I followed the instructions in diskless(8) and setup a linux server with a 
sparc (blade 100) client for a net install.  The problem is that at some 
point after booting, the kernel asks for the root device and the only 
available choices are raid[0-9][a-h] (I believe).

Btw, I'm booting with ofwboot.net.

When I get back home tonight, I'll try with the server running NetBSD and see 
if that helps, even though I don't think that matters much.  I guess I 
didin't configure my bootparams.  Here's what I have in my /etc/bootparams:

vazov root=192.168.0.3:/export/vazov/root gateway=192.168.0.1:255.255.255.0

vazov is the name of the client that needs to be netbooted.  I've exported 
/export/vazov/root, I'm running tftpd, rarpd and rpc.bootparamd.  My 
/etc/ethers is also correct.

Any ideas?

Thanks,
IvanK.


Gmane