RE: libc.so.4 not found
It's a normal part of PHK malloc, the standard FreeBSD malloc. It's for turning on certain debugging options. PHK used a cute trick with symlinks to avoid having to actually open a configuration file. See malloc(3). Jason Young Access US Chief Network Engineer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Leif Neland Sent: Wednesday, November 29, 2000 4:23 PM To: Kris Kennaway Cc: [EMAIL PROTECTED] Subject: Re: libc.so.4 not found On Sat, 25 Nov 2000, Kris Kennaway wrote: On Sat, Nov 25, 2000 at 10:28:53PM +0100, Leif Neland wrote: Could this be the reason why Avp (virusscanner) for FreeBSD 4X just dumps core on Fbsd current? It works on a Fbsd stable. Could be malloc.conf defaults. i.e. a bug in avp triggered by the debugging /etc/malloc.conf settings in -current. Kris A truss shows Avp tries to open /etc/malloc.conf, but I have no such file on any of my systems, stable or current. But Avp continues after this failure. Do I need /etc/malloc.conf? Where do I find one? Leif To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
RE: /dev/dsp device not configured
Okay, here's your decent explanation: your PNP sound card has been located and attached at sbc1, right after the bogus sbc0 statically hardcoded in your kernel config file. :) You should need ONLY the following lines in your conf file for your particular setup: device pcm device sbc That should get your soundcard to appear as soundcard #0. There's an astounding array of other cruft in your conf file that needs to go, but if you're just puttering around and experimenting, do what you like. BTW, "cat /dev/sndstat" is your friend. Jason Young Access US(tm) Chief Network Engineer -Original Message- From: Cosmic 665 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 19, 2000 4:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: /dev/dsp device not configured how can I configure/reconfigure /dev/dsp under FreeBSD 4.0?? I keep getting a message stating that the device is not configured!! furthermore my soundcard isn't working right when it should be!! I've also attached my dmesg and kernel config. BTW, I'm currnetly using 5.0-CURRENT as of last night (BUT THAT ISN't the cause of this so plz.. DON'T TELL ME IT IS without a decent explaination!!!) I've also tried this in 4.0 and 3.4. I'm using an ESS 1869 pnp (with the sbc sound adapter). Also, I'm running Xfree86 3.3.6 which I've had some issues with in the past (could this be the cause?). below is my dmesg and Kernel thanks -Cosmic-665 P.S. is there a newsgroup for -CURRNET?? what is the address?? here's my dmesg; Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Tue Apr 18 22:15:25 PDT 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/MATRIX Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (400.91-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 = 134201344 (131056K bytes) config di psm0 config di sn0 No such device: sn0 Invalid command or syntax. Type `?' for help. config di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config di le0 No such device: le0 Invalid command or syntax. Type `?' for help. config di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config di ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config q avail memory = 126738432 (123768K bytes) Preloaded elf kernel "kernel" at 0xc03a1000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03a109c. VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc033e477 (1000117) VESA: 3Dfx Interactive, Inc. K6-family MTRR support enabled (2 registers) md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: AcerLabs M1541 (Aladdin-V) PCI host bridge on motherboard pci0: PCI bus on pcib0 pcib1: AcerLabs M5243 PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: 3Dfx Voodoo Banshee graphics accelerator at 0.0 irq 11 chip1: AcerLabs M15x3 Power Management Unit at device 3.0 on pci0 isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 dc0: Intel 21143 10/100BaseTX port 0xb800-0xb87f mem 0xdd00-0xdd7f irq 9 at device 9.0 on pci0 dc0: Ethernet address: 00:00:f8:09:34:80 miibus0: MII bus on dc0 dcphy0: Intel 21143 NWAY media interface on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: supplying EUI64: 00:00:f8:ff:fe:09:34:80 dc1: 82c169 PNIC 10/100BaseTX port 0xb400-0xb4ff mem 0xdc80-0xdc8000ff irq 12 at device 10.0 on pci0 dc1: Ethernet address: 00:a0:cc:5d:6c:d0 miibus1: MII bus on dc1 ukphy0: Generic IEEE 802.3u media interface on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: AcerLabs Aladdin ATA33 controller port 0xb000-0xb00f irq 0 at device 15.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5" drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 vga0: Generic ISA VGA a
RE: 4.0 slower than 3.4?
Well, several possible issues.. It probably isn't the best of all ideas to have BOTH IP firewalling solutions installed and running at once. This will add some overhead. Pick one and stick with it. And why do you have DUMMYNET running? There is a new version of IPFilter in -CURRENT if I recall correctly, and this may be related to your timing issues. Really you ought to just take IPFILTER out of your configuration. Aside from that, you'll need to use 'top' or some similar utility to find out where and why you're CPU-bound for FTP transfers. Find out if you're primarily stuck in the kernel, or if some userland utility is sucking it up (like natd, but your ipfw rules tend to rule out accidentally running ethernet traffic through natd). Jason Young accessUS Chief Network Engineer -Original Message- From: james [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 08, 2000 1:02 AM To: [EMAIL PROTECTED] Subject: 4.0 slower than 3.4? Hi, I upgraded a few days ago from 3.4-STABLE to 4.0-CURRENT, and without really any change in configuration, anything tcp/ip is much slower. Just a standard "ping localhost" has gone from ~0.155ms to ~0.195ms. Averages for "ping -f localhost" have gone from ~0.100ms to ~0.160ms. FTP over my lan "vr0" has slipped from 7.7MB/s down to 4.8MB/s (!). I've got hardly anything running on my machine (natd, samba, postfix, pppd). 'top' shows 99-100% idle pretty much all the time. Load averages are all 0.00. CPU usage goes upto 100% during the ftp transfer. Here's the output of my dmesg: Copyright (c) 1992-2000 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: Fri Jan 7 00:14:59 EST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/DEATH Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8 real memory = 33554432 (32768K bytes) avail memory = 30040064 (29336K bytes) Preloaded elf kernel "kernel" at 0xc028b000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 isab0: Intel 82371FB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 ata-pci0: Intel PIIX ATA controller at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 vr0: VIA VT3043 Rhine I 10/100BaseTX irq 9 at device 18.0 on pci0 vr0: Ethernet address: 00:80:c8:d8:19:b7 miibus0: MII bus on vr0 amphy0: DM9101 10/100 media interface on miibus0 amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vga-pci0: Cirrus Logic GD5430 SVGA controller irq 11 at device 19.0 on pci0 ata-isa0: already registered as ata0 ata-isa1: already registered as ata1 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 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default DUMMYNET initialized (990811) IP Filter: initialized. Default = pass all, Logging = enabled IP Filter: v3.3.3 ad0: ST34321A/3.11 ATA-4 disk at ata0 as master ad0: 4103MB (8404830 sectors), 8894 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, WDMA2 ad2: Maxtor 71084 AP/QA3C1D20 ATA-0 disk at ata1 as master ad2: 1036MB (2121840 sectors), 2105 cyls, 16 heads, 63 S/T, 512 B/S ad2: 16 secs/int, 1 depth queue, WDMA2 Mounting root from ufs:/dev/wd0s1a Here's my kernel config: machine i386 cpu I586_CPU ident DEATH maxusers64 options INET options FFS options FFS_ROOT options MSDOSFS options PROCFS options COMPAT_43 options UCONSOLE options USERCONFIG options VISUAL_USERCONFIG options SYSVSHM options SYSVMSG options SYSVSEM controller isa0 controller pci0 controller ata0at isa? port IO_WD1 irq 14 controller ata1at isa? port IO_WD2 irq 15 device atadisk0 options ATA_STATIC_ID options ATA_ENABLE_ATAPI_DMA controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device vga0at isa? port ? conflicts device sc0 at isa? device npx0at n
RE: A couple questions regarding pcmcia cards....
The card is also available in a 16-bit version (it has a PC Card logo on the back, I don't know if the Cardbus one does or not). It's important to note that the 575 (not the 574) is CardBus. I used to have one, but semi-thankfully, it got blown up by lightning and the replacement was 16-bit and thus usuable with FreeBSD. If you actually have the 16-bit pccard version, then you need to patch your driver. I sent in patches that got committed to 4.0, but were basically replaced a month later by Matt Jacob's massive rework of the entire ep driver and not MFC'd. You can pull rev. 1.87 of if_ep.c out of the Attic from cvsweb: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/isa/Attic/if_ep.c And it will drop directly into your tree in /sys/i386/isa. Make sure you have 1.23.2.1 or later of if_epreg.h. The only major change of the patch is to hit the card with an offset command if the no-offset commands don't work. I have no idea what its significance is other than it's required to make my card work. I can't remember where I got the basic idea from, it was from PAO I think. -Original Message- From: Frank Mayhar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 05, 2000 12:18 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: A couple questions regarding pcmcia cards William Woods wrote: I have two pcmcia cards here I am wondering if the work under either -stable or -current, they are: 3COM Megahertz 10/100 LAN PC Card model #3CCFE574BT This is a cardbus card (I have one, too) and won't work. Many of us are eagerly awaiting Warner's new cardbus code. The other card is cardbus, so I doubt it but I will ask anyway Adaptec SlimSCSI 1480A UltraSCSI If it's cardbus, it won't work. -- Frank Mayhar [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ep0 etherlink III breakage
I'm not certain what the problem is, but the ep0 changes that generated the HEADS UP messages affect _only_ PC Cards. The other sections of code are untouched. Further, I'm 99% sure the only card that could possibly have been broken by the probe change is the 3C574 PC Card (not 3C574B). Jason Young accessUS Chief Network Engineer On Mon, 20 Sep 1999, Matthew Hunt wrote: On Mon, Sep 20, 1999 at 11:58:28AM -0700, David O'Brien wrote: Sequence of events boot -s # ifconfig ep0 inet 192.168.18.200 (PC hangs) \begin{wpaul} Dunno, you seem too mellow. WHAT am I supose to do with this? I don't even understand what you are trying to tell me. You booted single user and got a hang. What is the #'ed line supose to be? Last time *_I_* booted single user I didn't see such output. At a guess, the "#" is the root prompt that shows up after boot -s, and he typed the ifconfig command. -- Matthew Hunt [EMAIL PROTECTED] * Stay close to the Vorlon. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mountpoint locking with fbsd-nfs
IIRC, mount permissions (i.e., what IP addresses, root UID mangling, etc) are set per filesystem. Given a filesystem structure like this: df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/da0s1a127023271518971123%/ /dev/ccd0c8321099 2391764 526364831%/home /dev/da0s1e 2032623 732806 113720839%/usr /dev/da1s1f 2032623 816051 105396344%/var /dev/ccd1c4001742 1571210 211039343%/var/mail procfs 440 100%/proc You can only set IP addresses to be exported to and other options only once for the /usr filesystem, once for the /var filesystem, etc. This doesn't mean if I export /home/doogie to 192.168.40.1 that that IP address can mount /home. Mount still controls the mountpoints allowed. If you want to export multiple mountpoints of the same filesystem, you need to specify them all on one line with one options set. Like this: /home/doogie /home/joebob /home/luser -maproot=0:0 testbox.accessus.net Jason Young accessUS Chief Network Engineer PS: I just realized the manpage disagrees with this; it has multiple exports lines for the same filesystem. I believe the manpage is wrong, at least in that it doesn't reflect reality. Comments from anybody? On Sun, 1 Aug 1999, Kevin Day wrote: Well, theoretically there is nothing wrong going on since you can mount things on top of an NFS directory. Mount only complains about duplicate normal partition mounts because it can't open the buffered block device the second time. NFS doesn't care how many times a directory is imported or exported. -Matt Matthew Dillon [EMAIL PROTECTED] You sure about you can export a directory multiple times? I can't even export two directories under the same filesystem. su-2.03# mount /dev/wd0s1a on / (NFS exported, local, noatime, soft-updates, writes: sync 3945 async 1317317) procfs on /proc (local) su-2.03# cat /etc/exports /varhome /var/tmphome su-2.03# mountd Aug 1 22:43:01 celery mountd[46042]: can't change attributes for /var/tmp Aug 1 22:43:01 celery mountd[46042]: bad exports list line /var/tmp home It actually exported /, which may not have been what i wanted. :) Or did I misunderstand you? Kevin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
RE: file disappeared?
A file's storage isn't freed until its last reference is removed. An open file descriptor is a reference. Do you perhaps have a hung CD burner process or something similar running? If there is something holding that file open, a reboot would almost certainly clear the space. Jason Young ANET Chief Network Engineer -Original Message- From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org]on Behalf Of Alex Sent: Monday, April 26, 1999 1:44 PM To: Doug White Cc: freebsd-current@FreeBSD.ORG Subject: Re: file disappeared? Thank you for a quick response. pcayk:~/tmp$ df -k . Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/wd0s1f7621844 69756693642899%/usr pcayk:~/tmp$ ls -l -rw-r--r-- 1 ayk1 users 716247040 Apr 22 1999 bigcdimage.iso pcayk:~/tmp$ rm bigcdimage.iso pcayk:~/tmp$ df -k . Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/wd0s1f7621844 69756693642899%/usr How on earth did that happen?!!! Are you running soft updates? It takes ~30s for changes to take effect if you are. I noticed this myself last week. I believe not - doesn't that involve adding a SOFTUPDATES option to the kernel? I don't have that in my kernel; therefore, disc access should be synchronous by default, right? And it had definitely been longer than 30s before I decided to run fsck (or before the first run completed). What does it all mean? That I have a file occupying 700+ Mb on my hard drive that I can't get rid of? :-( By the way, rm returned almost instantaneously - normally it takes a few seconds to remove such a huge file (that was the reason I even noticed the problem in the first place.) If this is a bug, I would be glad to help, but this kind of error is hard to reproduce... Perhaps someone with an in-depth knowledge of ufs can tell me what really happened (and what exactly did fsck do to my drive, just to make things worse.) So I decided to run fsck, with -p at first: pcayk:/usr/home/ayk1# fsck -p -f /dev/wd0s1f /dev/rwd0s1f: UNREF FILE I=053 OWNER=ayk1 MODE=100644 /dev/rwd0s1f: SIZE=716247040 MTIME=Apr 22 20:36 1999 (CLEARED) /dev/rwd0s1f: SUMMARY INFORMATION BAD (SALVAGED) /dev/rwd0s1f: BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/rwd0s1f: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/rwd0s1f: 176217 files, 6275813 used, 1346031 free (39575 frags, 163307 blocks, 0.5% fragmentation) I assume this was in single user mode, otherwise you made a gigantic mess. :-) I did, didn't I? Alex --- A mathematician is a machine for converting coffee into theorems. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
RE: file disappeared?
Fscking a live system is a Bad Idea(tm) and should be avoided. Reboot into single-user and fsck it manually (while unmounted). Jason Young ANET Chief Network Engineer -Original Message- From: Alex [mailto:a...@ukc.ac.uk] Sent: Monday, April 26, 1999 2:06 PM To: Jason Young Cc: Doug White; freebsd-current@FreeBSD.ORG Subject: RE: file disappeared? A file's storage isn't freed until its last reference is removed. An open file descriptor is a reference. Do you perhaps have a hung CD burner process or something similar running? Nothing like that - I used a CD burner on another machine, and then ftp'ed the image to my home dir in case I needed more copies. After a few days, I decided that I didn't need it after all, and deleted it... or did I? The question is how badly did I screw things up by running fsck? It still reports pcayk:/etc# fsck -p -f /dev/wd0s1f /dev/rwd0s1f: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/rwd0s1f: SUMMARY INFORMATION BAD (SALVAGED) /dev/rwd0s1f: BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/rwd0s1f: 176225 files, 6278980 used, 1342864 free (39576 frags, 162911 blocks, 0.5% fragmentation) (I think with -p it doesn't actually salvage anything, just checks the disk). Worth a reboot? Alex --- A mathematician is a machine for converting coffee into theorems. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message