Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 12:26:07 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        Tom Embt <tom@embt.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: linux_libs & ldconfig (Bad address) not working ?
Message-ID:  <Pine.BSF.3.96.990510122246.24802I-100000@cygnus.rush.net>
In-Reply-To: <3.0.3.32.19990510073014.009028d4@mail.embt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990510122246.24802I-100000>