Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 13:33:49 -0400
From:      Jake Burkholder <jake@locore.ca>
To:        Maxim Mazurok <maxim@km.ua>
Cc:        freebsd-sparc@freebsd.org
Subject:   Re: many troubles
Message-ID:  <20030410173349.GK78831@locore.ca>
In-Reply-To: <20030410104129.GB538@km.ua>
References:  <20030410104129.GB538@km.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Thu, Apr 10, 2003 at 01:41:29PM +0300,
	Maxim Mazurok said words to the effect of;

> at first, sorry for my bad english.
> 
> please, help me.
> I have Ultra AXi motherboard and UltraIIi processor:
> 
> maxim@geddar:~>dmesg| head -9
> Copyright (c) 1992-2003 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD 5.0-CURRENT #2: Thu Apr 10 11:26:08 EEST 2003
>     root@geddar.km.ua:/usr/src/sys/sparc64/compile/GEDDAR
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0344000.
> Timecounter "tick"  frequency 360130984 Hz
> cpu0: Sun Microsystems UltraSparc-IIi Processor (360.13 MHz CPU)
> Model: SUNW,UltraSPARC-IIi-Engine
> 
> full cvsup and rebuild about 5-7 hour ago...
> 
> problems:
> 1. i can't see memory size on my sparc in dmesg output. :)

Fixed.

> 2. u have many problems width BIND(2).
> it's fragment from /usr/src/crypto/openssh/sshd.c:
> ===cut===
>    if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) {
> ===cut===
> this fragment worked. and sshd worked widthout problems.
> apache, sendmail worked too.
> but all next fragments no worked :(
> 
> next fragments from /usr/src/libexec/ftpd/ftpd.c
> ===cut===
> if (bind(ctl_sock, (struct sockaddr *)&server_addr, server_addr.su_len) < 0) {
> ===cut===
> 
> next fragments from /usr/src/contrib/ntp/ntpd/ntp_io.c
> ===cut===
> if (bind(fd, (struct sockaddr *)addr, sizeof(*addr)) < 0) {
> ===cut===
> 
> next fragments from /usr/src/contrib/bind/bin/named/ns_main.c
> ===cut===
> if (bind(sp->s_rfd, (struct sockaddr *)&src, sizeof(src)) < 0)
> ===cut===
> 
> fragments of /var/log/messages:
> ===cut===
> Apr 10 13:00:27 geddar named[251]: bind(dfd=20, [62.149.4.13].53): Can't assign requested address
> Apr 10 13:00:27 geddar named[251]: deleting interface [62.149.4.13].53
> Apr 10 13:00:29 geddar ntpd[356]: bind() fd 5, family 2, port 123, addr 62.149.4.13, in_classd=0 flags=1 fails: Can't assign requested address
> ===cut===
> :(

Can you give some details about your configuration?  How are you starting
ftpd?  Is it binding to a real interface or an alias?

It seems to work fine here starting it from inetd, or from the command line
as a daemon binding to a specific address.  I've used bind before on one of
my sparc64 machines and didn't have a problem.  Don't know about ntpd.

> 3. i inserted 4 RealTec 8139 cards to my motherboard and see next:
> 
> maxim@geddar:~>dmesg| grep "RealTek 8139"
> rl0: <RealTek 8139 10/100BaseTX> port 0xc00-0xcff mem 0xa000-0xa0ff irq 0 at device 2.0 on pci1
> rl1: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0xc000-0xc0ff irq 4 at device 3.0 on pci1
> rl2: <RealTek 8139 10/100BaseTX> port 0x800400-0x8004ff mem 0x42000000-0x420000ff irq 20 at device 3.0 on pci2
> rl3: <RealTek 8139 10/100BaseTX> port 0x800800-0x8008ff mem 0x42002000-0x420020ff irq 24 at device 4.0 on pci2
> 
> rl0 mapped to irq 0. it's right?

Do all the cards work?  irq 0 is normal, its actually irq 1984 but we don't
print the ign in most cases.

> 
> 4. after buildworld about 2 weeks ago i see broken 'systat -vm' output in
> section about activity hard disks (i have 4 HDD, CDROM and pass devices):
> 
> Disks     0     0     0     0     0     0     0
> KB/t  16.00 16.00  0.00  0.00  0.00  0.00  0.00
> tps   ***** *****     0     0     0     0     0
> MB/s  ***** *****  0.00  0.00  0.00  0.00  0.00
> % busy    0     6     0     0     0     0     0

The '*****' for tps and MB/s?  Don't know what that's about, or why its not
printing the name of the disks...

Jake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410173349.GK78831>