From owner-freebsd-questions Mon May 10 10: 4:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 1AB4215830 for ; Mon, 10 May 1999 10:04:09 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id MAA03521; Mon, 10 May 1999 12:26:08 -0500 (EST) Date: Mon, 10 May 1999 12:26:07 -0500 (EST) From: Alfred Perlstein To: Tom Embt Cc: freebsd-questions@FreeBSD.ORG Subject: Re: linux_libs & ldconfig (Bad address) not working ? In-Reply-To: <3.0.3.32.19990510073014.009028d4@mail.embt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 10 May 1999, Tom Embt wrote: > I don't recall exactly what I did to break it, but I am having trouble with > my linux_libs. Running the linux ldconfig gives the following: > > odin# /compat/linux/sbin/ldconfig > /compat/linux/sbin/ldconfig: warning: can't open /usr/lib (Bad address), > skipping > /compat/linux/sbin/ldconfig: warning: can't open /lib (Bad address), skipping > > If I completely remove and reinstall the linux_lib-2.6.1 port, I get > essentially the same error message during the installation phase. Running > a Linux binary of quake2 (which used to work perfectly) results in: > > odin# ./quake2 +set dedicated 1 > ./quake2: can't open cache '/etc/ld.so.cache' > ./quake2: can't load library 'libdl.so.1' > > Can anybody tell me what's going on? I'm quite sure your disk is horked, try this and see if it works: boot single user then: dd if=/dev/rwd0 of=/dev/null bs=512 note that "rwd0" above should be the raw disk name in /dev, if you have scsi disks it may be /dev/rda0, I'm quite sure "dd" will barf with a I/O error meaning that your drive is busted or you have some other disk failure. -Alfred > PS- I don't know if it's related but I seem to have UNREFerenced files on / > , and no matter how much I run fsck, it won't get rid of them or pronounce > the filesystem clean. I don't see how this could be directly related, as > /compat/linux is actually a symlink to /usr/compat/linux (for space > reasons). Have I F'ed up my system? It's probably a dying disk, by the way, you are only running fsck from single user mode right? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message