many troubles

Maxim Mazurok maxim at km.ua
Fri Apr 11 00:09:21 PDT 2003


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 at 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 at 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 at 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 at 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.

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)


More information about the freebsd-sparc64 mailing list