From owner-freebsd-sparc64@FreeBSD.ORG Fri Apr 11 00:09:21 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 447D537B401 for ; Fri, 11 Apr 2003 00:09:21 -0700 (PDT) Received: from geddar.km.ua (geddar.km.ua [62.149.0.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D2843F93 for ; Fri, 11 Apr 2003 00:09:19 -0700 (PDT) (envelope-from maxim@geddar.km.ua) Received: from geddar.km.ua (localhost [127.0.0.1]) by geddar.km.ua (8.12.9/8.12.9) with ESMTP id h3B77rU8009397; Fri, 11 Apr 2003 10:07:53 +0300 (EEST) (envelope-from maxim@geddar.km.ua) Received: (from maxim@localhost) by geddar.km.ua (8.12.9/8.12.9/Submit) id h3B77pt1009396; Fri, 11 Apr 2003 10:07:51 +0300 (EEST) Date: Fri, 11 Apr 2003 10:07:51 +0300 From: Maxim Mazurok To: Jake Burkholder Message-ID: <20030411070751.GV538@km.ua> References: <20030410104129.GB538@km.ua> <20030410173349.GK78831@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030410173349.GK78831@locore.ca> User-Agent: Mutt/1.5.3i 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: Fri, 11 Apr 2003 07:09:21 -0000 On Thu, Apr 10, 2003 at 01:33:49PM -0400, Jake Burkholder wrote: >> 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. tnx! >> 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? ftpd starting from inetd, named and ntpd - standalone. ftpd answer and receive from me login and password, but can't run ls, get, put....: root@chinger:~#ftp geddar.km.ua Connected to geddar.km.ua. 220 geddar.km.ua FTP server (Version 6.00LS) ready. Name (geddar.km.ua:maxim): 331 Password required for maxim. Password: 230 User maxim logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> binary 200 Type set to I. ftp> passive Passive mode off. ftp> ls 200 PORT command successful. 425 Can't create data socket (62.149.0.130,20): Can't assign requested address. ftp> passive Passive mode on. ftp> ls 425 Can't open passive connection: Can't assign requested address. Passive mode refused. ftp> bye 221 Goodbye. my sparc have 3 ethernet interface width one ip address per interface. and lo0. ftpd, named, ntpd binding to lo0 (127.0.0.1) widthout problems. but only to lo0 :( i can open ssh account to my sparc for You. >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. all cards worked. >> 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? yes :) >Don't know what that's about, or why its not >printing the name of the disks... -- Maxim Mazurok (MMP2-RIPE)