many troubles

Maxim Mazurok maxim at km.ua
Thu Apr 10 03:42:32 PDT 2003


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. :)
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===
:(
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?

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

-- 
Maxim Mazurok  (MMP2-RIPE)


More information about the freebsd-sparc64 mailing list