From owner-freebsd-sparc64@FreeBSD.ORG Thu Apr 10 10:33:17 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C5A237B401 for ; Thu, 10 Apr 2003 10:33:17 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3339843F3F for ; Thu, 10 Apr 2003 10:33:16 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h3AHXoxS091718; Thu, 10 Apr 2003 13:33:50 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h3AHXoar091717; Thu, 10 Apr 2003 13:33:50 -0400 (EDT) Date: Thu, 10 Apr 2003 13:33:49 -0400 From: Jake Burkholder To: Maxim Mazurok Message-ID: <20030410173349.GK78831@locore.ca> References: <20030410104129.GB538@km.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030410104129.GB538@km.ua> User-Agent: Mutt/1.4i cc: freebsd-sparc@freebsd.org Subject: Re: many troubles X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 17:33:17 -0000 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: port 0xc00-0xcff mem 0xa000-0xa0ff irq 0 at device 2.0 on pci1 > rl1: port 0x1000-0x10ff mem 0xc000-0xc0ff irq 4 at device 3.0 on pci1 > rl2: port 0x800400-0x8004ff mem 0x42000000-0x420000ff irq 20 at device 3.0 on pci2 > rl3: 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