Why I hate RealTek ethernet cards
After much to-ing fro-ing ealier this year, I ended up using a Realtek on an otherwise respectable machine. For the most part it seemed alright. Then just before I went on an extended overseas trip 7 weeks ago, it started doing odd things. Small transfers worked OK, but larger ones just trickled through. The effect was immediately observable with tcpblast. Once you sent a number of 1k blocks that was over the tcp_sendspace tcp_recvspace limits, the transfer rate dropped dramatically. Adjusting the tcp_sendspace etc parameters affected when this would happen. UDP seemed quite happy (thank goodness for that, as otherwise NFS would've gone down the drain) Anyway, there were NetGear cards going cheap, so I replaced the Realtek with that and all is well. Stephen -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true."Robert Wilensky, University of California To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Failure of new PCM code to pickup my CS4236.
A dmesg from it is as follows - note that the old PCM code used to find it. The voxware stuff needs a couple of delays inserted to find it. Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Thu Sep 2 19:25:14 WST 1999 [EMAIL PROTECTED]:/usr/src/sys/compile/bloop Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 416530931 Hz CPU: AMD-K6(tm) 3D processor (416.53-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow! real memory = 67043328 (65472K bytes) avail memory = 62074880 (60620K bytes) Preloaded elf kernel "kernel" at 0xc02da000. VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc028d642 (122) VESA: NVidia K6-family MTRR support enabled (2 registers) npx0: math processor on motherboard npx0: INT 16 interface pcib0: VIA 82C598MVP (Apollo MVP3) host bridge on motherboard pci0: PCI bus on pcib0 pcib1: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vga-pci0: NVidia model 0029 graphics accelerator irq 11 at device 0.0 on pci1 isab0: VIA 82C586 PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 ata-pci0: Unknown PCI IDE controller (using generic mode) at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 uhci0: VIA 83C572 USB controller irq 10 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port 1 error, restarting uhub0: port 2 error, restarting rl0: RealTek 8139 10/100BaseTX irq 12 at device 9.0 on pci0 rl0: Ethernet address: 00:00:e8:53:a2:3e miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: unknown card DPZ0001 (vendor=0x121a, dev=0x0001) at 11.0 atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0 sc0: System console on isa0 sc0: VGA 16 virtual consoles, flags=0x200 fdc0: NEC 72065B or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5" drive on fdc0 drive 0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A joy0 at port 0x201 on isa0 joy0: joystick unknown0: CTRL on isa0 unknown1: WSS/SB at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 unknown2: GAME at port 0x208-0x20f on isa0 unknown3: MPU at port 0x330-0x331 irq 9 on isa0 ds0 XXX: driver didn't set ifq_maxlen ata0: master: setting up generic WDMA2 mode OK ad0: Maxtor 90648D3/GAS54112 ATA-4 disk at ata0 as master ad0: 6179MB (12656448 sectors), 12556 cyls, 16 heads, 63 S/T, 512 B/S ad0: piomode=4, dmamode=2, udmamode=2 ad0: 16 secs/int, 0 depth queue, DMA mode changing root device to wd0s4a The voxware dmesg is as follows - I needed to have some of the debug statements enabled to reliably detect the card, which argues a timing problem somewhere. Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Thu Sep 2 19:39:03 WST 1999 [EMAIL PROTECTED]:/usr/src/sys/compile/bloop Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 416530661 Hz CPU: AMD-K6(tm) 3D processor (416.53-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow! real memory = 67043328 (65472K bytes) avail memory = 62033920 (60580K bytes) Preloaded elf kernel "kernel" at 0xc02e4000. VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc0297222 (122) VESA: NVidia K6-family MTRR support enabled (2 registers) npx0: math processor on motherboard npx0: INT 16 interface pcib0: VIA 82C598MVP (Apollo MVP3) host bridge on motherboard pci0: PCI bus on pcib0 pcib1: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vga-pci0: NVidia model 0029 graphics accelerator irq 11 at device 0.0 on pci1 isab0: VIA 82C586 PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 ata-pci0: Unknown PCI IDE controller (using generic mode) at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 uhci0: VIA 83C572 USB controller irq 10 at device 7.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port 1 error, restarting uhub0: port 2 error, restarting rl0: RealTek 8139 10/100BaseTX irq 12 at device 9.0 on pci0 rl0:
Currnet build problems
Partway through a make world, I'm seeing the following, I've applied up to cvs-cur.5622.gz and int-cvs-cur.0118.gz. Is this likely to be fixed sometime soon? Stephen cc -O -pipe -mpentiumpro -fschedule-insns2 -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DSKEY -DENCRYPTION -DAUTHENTICATION -DKRB4 -I/usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet -I/usr/src/kerberosIV/usr.bin/telnet/../../include -Wall -DHAVE_CONFIG_H -I/usr/obj/usr/src/kerberosIV/usr.bin/telnet/../../include -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -I/usr/obj/usr/src/tmp/usr/incl ude -c /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet. c In file included from /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet /telnet/telnet.c:64: /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/libtelnet/auth.h:86: warning: type defaults to `int' in declaration of `auth_debug_mode' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:150: warning: missing braces around initializer for `toplevel[0]' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `init_telnet': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:187: warning: implicit declaration of function `env_init' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `mklist': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:682: warning: implicit declaration of function `is_unique' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `gettermname': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:795: warning: implicit declaration of function `setupterm' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `suboption': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:870: warning: implicit declaration of function `TerminalSpeeds' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `slc_export': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:1330: warning: implicit declaration of function `TerminalDefaultChars' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `env_opt_add': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:1661: warning: implicit declaration of function `opt_welldefined' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `telrcv': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:1876: warning: implicit declaration of function `stilloob' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:1740: warning: `sbp' might be used uninitialized in this function /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `telsnd': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:2060: invalid use of undefined type `struct termio' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:2065: invalid use of undefined type `struct termio' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:2120: warning: implicit declaration of function `TerminalSpecialChars' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:2030: warning: `tbp' might be used uninitialized in this function /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `Scheduler': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:2223: warning: implicit declaration of function `process_rings' /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c: In function `sendnaws': /usr/src/kerberosIV/usr.bin/telnet/../../../crypto/telnet/telnet/telnet.c:2626: warning: implicit declaration of function `TerminalWindowSize' *** Error code 1 Stop in /usr/src/kerberosIV/usr.bin/telnet. *** Error code 1 Stop in /usr/src/kerberosIV/usr.bin. *** Error code 1 Stop in /usr/src/kerberosIV. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true."Robert Wilensky, University of California To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message