Re: dlsym can't use handle returned by dlopen?

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 09:00:21AM +0100, Markus Hoenicka wrote: Quoting Jeremy Chadwick [EMAIL PROTECTED]: I know that the .so's you're loading with dlopen() need to be built a specific way/with certain arguments, otherwise they won't work (I believe what I saw was dlsym() returning NULL).

Re: dlsym can't use handle returned by dlopen?

2008-11-13 Thread Markus Hoenicka
Quoting Jeremy Chadwick [EMAIL PROTECTED]: When I looked at the resulting symbol names using nm or objdump, certain characters were prepended to them. There's a gcc or ld flag which disables this behaviour. I'll have to dig around to remind myself what it is. Once I read about it, it made

Re: dlsym can't use handle returned by dlopen?

2008-11-13 Thread Markus Hoenicka
Quoting Jeremy Chadwick [EMAIL PROTECTED]: I know that the .so's you're loading with dlopen() need to be built a specific way/with certain arguments, otherwise they won't work (I believe what I saw was dlsym() returning NULL). My symbol names were getting stomped on, and there was a compiler

Re: dlsym can't use handle returned by dlopen?

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 09:20:59AM +0100, Markus Hoenicka wrote: Quoting Jeremy Chadwick [EMAIL PROTECTED]: When I looked at the resulting symbol names using nm or objdump, certain characters were prepended to them. There's a gcc or ld flag which disables this behaviour. I'll have to dig

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread VeeJay
Hi Guys I am running RAID 10. Here is the dmesg output: $ dmesg Copyright (c) 1992-2008 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 is a registered trademark of The

Re: tool to recover fat partition

2008-11-13 Thread Polytropon
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi [EMAIL PROTECTED] wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)?

Re: tool to recover fat partition

2008-11-13 Thread Polytropon
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi [EMAIL PROTECTED] wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)?

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 02:24:33AM -0800, Unga wrote: Hi all I have compiled and installed grub-0.97.tar.gz on FreeBSD 7.0 (i386). It shows the grub cannot recognize ufs2 file systems. grub root (hd1,0, Possible partitions are: Partition num: 0, [BSD sub-partitions immediately

Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Varshavchick Alexander
Booting into single-user via serial console, KVM, KVM-over-IP, or iLO/LOM (if HP/Compaq) is sufficient. If you have servers which are remote and you lack any of these features, I'm both surprised and not sure what to tell you. You'll encounter this problem with any OS, not just FreeBSD. I'm

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Unga
--- On Thu, 11/13/08, Jeremy Chadwick [EMAIL PROTECTED] wrote: How about asking the GNU GRUB folks if GRUB 0.97 supports UFS2? It seems some old version of GRUB on a old version of FreeBSD has worked: http://lists.freebsd.org/pipermail/freebsd-hackers/2004-May/006944.html Also, GRUB is up

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 03:16:40AM -0800, Unga wrote: --- On Thu, 11/13/08, Jeremy Chadwick [EMAIL PROTECTED] wrote: How about asking the GNU GRUB folks if GRUB 0.97 supports UFS2? It seems some old version of GRUB on a old version of FreeBSD has worked:

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 01:29:11PM +0100, VeeJay wrote: If it looks healthy, why there are these errors on the screen? Is it controller problem or disk? SCSI normally reports 3 things when it encounters an error (particularly disk errors): Sense Key (SK), Additional Sense Code (ASC), and

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 02:16:58PM +0100, VeeJay wrote: I have asked the system manufacturers (Dell) but they don't provide support for FreeBSD based systems [?] Thats why I have only hope here with FreeBSD List... I've CC'd Scott Long, who is the author of the mfi(4) driver. He should be

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Pieter de Goeje
On Thursday 13 November 2008, Unga wrote: --- On Thu, 11/13/08, Jeremy Chadwick [EMAIL PROTECTED] wrote: From: Jeremy Chadwick [EMAIL PROTECTED] Subject: Re: GRUB: Filesystem type unknown (ufs2) To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Thursday, November 13,

vnconfig virtual nodes - how is that done nowadays in 7.x?

2008-11-13 Thread Christoph Kukulies
There was a vnconfig way back in FreeBSD that allowed for managing virtual disks or disks as files. What is the means to handle that kind of situation? I have a couple of NTFS and UFS partitions on physical disks which I would like to dd to files and then mount them as virtual nodes or

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Unga
--- On Thu, 11/13/08, Pieter de Goeje [EMAIL PROTECTED] wrote: I've used GRUB in the past to boot FreeBSD. The GRUB boot directory was located on the FreeBSD root partition, so it can work. I did use the port though. Now the issue is the root partition itself cannot access. Were your

Re: tool to recover fat partition

2008-11-13 Thread Pieter de Goeje
On Wednesday 12 November 2008, Gonzalo Nemmi wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)? Thanks for you help :) Regards

Re: tool to recover fat partition

2008-11-13 Thread Pieter de Goeje
On Thursday 13 November 2008, Pieter de Goeje wrote: On Wednesday 12 November 2008, Gonzalo Nemmi wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said

Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Varshavchick Alexander
On Wed, 12 Nov 2008, Adrian Penisoara wrote: What kind of applications are you running on the machine ? Are they mmap'ing files on the filesystem in quesiton (which one ?) ? mainly apache, sphinx's search daemon and several perl scripts AFAIR even if you delete a big file the disk space

Re: dlsym can't use handle returned by dlopen?

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 12:24:02AM -0800, Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 09:20:59AM +0100, Markus Hoenicka wrote: Quoting Jeremy Chadwick [EMAIL PROTECTED]: When I looked at the resulting symbol names using nm or objdump, certain characters were prepended to them. There's

Re: dlsym can't use handle returned by dlopen?

2008-11-13 Thread Markus Hoenicka
Quoting Jeremy Chadwick [EMAIL PROTECTED]: As promised: http://www.malkavian.com/~jdc/myprog.tar.gz I couldn't figure out what the gcc flag was that I needed to keep certain characters from getting prepended to the symbol names. I believe the char added was an underscore, but I could be

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread Scott Long
The sense data in the screen shot boils down to an ASC/ASCQ pair of 0x35/0x05. Looking this up in the ASC table found at t10.org gives the following: 35h/05h ENCLOSURE SERVICES CHECKSUM ERROR What this basically means is that the disk enclosure that you're using has some sort of an unknown

Re: vnconfig virtual nodes - how is that done nowadays in 7.x?

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 02:47:27PM +0100, Christoph Kukulies wrote: There was a vnconfig way back in FreeBSD that allowed for managing virtual disks or disks as files. What is the means to handle that kind of situation? mdconfig(8) nowadays. -- | Jeremy Chadwick

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Unga
--- On Thu, 11/13/08, Jeremy Chadwick [EMAIL PROTECTED] wrote: From: Jeremy Chadwick [EMAIL PROTECTED] Subject: Re: GRUB: Filesystem type unknown (ufs2) To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Thursday, November 13, 2008, 7:21 PM On Thu, Nov 13, 2008 at 03:16:40AM

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread VeeJay
If it looks healthy, why there are these errors on the screen? Is it controller problem or disk? Regards VJ On Thu, Nov 13, 2008 at 9:49 AM, VeeJay [EMAIL PROTECTED] wrote: Hi Guys I am running RAID 10. Here is the dmesg output: $ dmesg Copyright (c) 1992-2008 The FreeBSD Project.

GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Unga
Hi all I have compiled and installed grub-0.97.tar.gz on FreeBSD 7.0 (i386). It shows the grub cannot recognize ufs2 file systems. grub root (hd1,0, Possible partitions are: Partition num: 0, [BSD sub-partitions immediately follow] BSD Partition num: 'a', Filesystem type unknown,

Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 02:05:28PM +0300, Varshavchick Alexander wrote: Booting into single-user via serial console, KVM, KVM-over-IP, or iLO/LOM (if HP/Compaq) is sufficient. If you have servers which are remote and you lack any of these features, I'm both surprised and not sure what to tell

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread VeeJay
Thanks guys... I have forwarded the comments from Scott to the Dell and hope for the best Thank you again. VJ On Thu, Nov 13, 2008 at 2:51 PM, Scott Long [EMAIL PROTECTED] wrote: The sense data in the screen shot boils down to an ASC/ASCQ pair of 0x35/0x05. Looking this up in the

Re: Boot splash screen, was Disabling boot messages

2008-11-13 Thread Fbsd1
Daniel Bye wrote: On Wed, Nov 12, 2008 at 06:40:29PM +0800, Fbsd1 wrote: Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go from powering on the PC directly to the Gdm login screen. Don't want the users seeing all those boot message roll by. Can this be done?

Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET

2008-11-13 Thread VeeJay
I have asked the system manufacturers (Dell) but they don't provide support for FreeBSD based systems [?] Thats why I have only hope here with FreeBSD List... On Thu, Nov 13, 2008 at 1:41 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 01:29:11PM +0100, VeeJay wrote: If

port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
Hi, just cvsup my port tree and upgrade a few of them by portmaster, but somehow there is this error that blocks a lot of upgrades: shared object libncurses.so.5.6 not found, required by xgettext/msgmerge/msgfmt... if there something i missed these days? if was find a couple days ago when I

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Mel
On Thursday 13 November 2008 15:41:13 Tsu-Fan Cheng wrote: Hi, just cvsup my port tree and upgrade a few of them by portmaster, but somehow there is this error that blocks a lot of upgrades: shared object libncurses.so.5.6 not found, required by xgettext/msgmerge/msgfmt... FreeBSD only

Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread tfcheng
learned a new thing, here is the output: /usr/local/bin/xgettext: libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000) libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so (0x280de000) libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000) libxml2.so.5 =

Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 08:12:49AM -0800, [EMAIL PROTECTED] wrote: learned a new thing, here is the output: /usr/local/bin/xgettext: libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000) libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so (0x280de000)

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Mel
On Thursday 13 November 2008 17:47:34 Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 08:12:49AM -0800, [EMAIL PROTECTED] wrote: learned a new thing, here is the output: /usr/local/bin/xgettext: libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000) libgettextlib-0.17.so

Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
as I look into my system, under /usr/local/lib, I found out that I not only don't have libncurses.so.5.6, but instead I have libncurses.so.5.7. And this file was created this morning (Nov 13, 09:03) while I was trying to upgrade my ports. Odd I am running freebsd 7.0, as my uname tells me..

Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 12:03:14PM -0500, Tsu-Fan Cheng wrote: as I look into my system, under /usr/local/lib, I found out that I not only don't have libncurses.so.5.6, but instead I have libncurses.so.5.7. And this file was created this morning (Nov 13, 09:03) while I was trying to upgrade my

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
Mel, thank you for your help, here is the output: /usr/local/bin/xgettext: libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000) libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so (0x280de000) libcroco-0.6.so.3 =

Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
yes, I found libncurses.so under /usr/lib, which is actual linked to libncurses.so.7 under /lib. And I also have libncurses.so.6 too. I did upgrade my system from 5 to 6 to 7. I didn't do a clean install, since there is so many to back up. TFC On Thu, Nov 13, 2008 at 12:09 PM, Jeremy Chadwick

(no subject)

2008-11-13 Thread Dmitri Boltenkov
Good Day! I have The Sun Fire T1000 machine! I want to install Freebsd7.0 on it I am reading the paper about it on http://www.ee.freebsd.org/fr/relnotes/CURRENT/installation/sparc64/index.htmlbut i dont find any loader-nfs.gz or loader-tftp.gz

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Mel
On Thursday 13 November 2008 18:17:02 Tsu-Fan Cheng wrote: Mel, thank you for your help, here is the output: /usr/local/bin/xgettext: libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000) libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so

Openssl port upgrade (FreeBSD 6.2)

2008-11-13 Thread Brendan Kennedy
Hi All, I ran the openssl updgrade (to OpenSSL 0.9.8d), but it seems the original openssl libs are still being used for SSH session creation and other system crypto functionality. What are the final steps needed to allow all user space programs to use the upgraded OpenSSL? Is there a good guide

immediate reboot switching window (alt-tab) to google earth

2008-11-13 Thread Steve Franks
I figured I'd make my pain public, but I doubt we're ever going to find the cause, because there's no crashdump (and yes, unplugging a mounted usb stick causes a real panic and dump so it is configured correctly) - immediate freeze for 60 seconds, then skipped the panic went straight to the

Re: zfs on disk with ufs

2008-11-13 Thread Bjoern A. Zeeb
On Thu, 13 Nov 2008, Nicolas de Bari Embriz Garcia Rojas wrote: Hi all, I have 2 disk using raid 1 (hardware) ~ 250gb with default freebsd partition schema, I would like to resize /usr partition and to use ZFS on the space left on disk. It is posible to do so ? Or can I reinstall freebsd

Re: GRUB: Filesystem type unknown (ufs2)

2008-11-13 Thread Ezequiel Aguerre
I'm using GRUB and it has no problem recognizing UFS2 slices. Same version than you, GRUB 0.97. Regards Ezequiel R. Aguerre 2008/11/13 Unga [EMAIL PROTECTED] --- On Thu, 11/13/08, Pieter de Goeje [EMAIL PROTECTED] wrote: I've used GRUB in the past to boot FreeBSD. The GRUB boot directory

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
what would happen if I don't compile ports all over again? will my system crash? TFC On Thu, Nov 13, 2008 at 1:02 PM, Mel [EMAIL PROTECTED] wrote: On Thursday 13 November 2008 18:17:02 Tsu-Fan Cheng wrote: Mel, thank you for your help, here is the output: /usr/local/bin/xgettext:

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Lowell Gilbert
Tsu-Fan Cheng [EMAIL PROTECTED] writes: what would happen if I don't compile ports all over again? will my system crash? No, but any new program linked to some old libraries will. If you've rebuilt *any* ports, then (in practice) you really want to rebuild all of them. -- Lowell Gilbert,

SSH timeouts from remote connections on 7.1beta

2008-11-13 Thread Forrest Aldrich
This is a recent phenomenon. I use a Mac client (iTerm) to connect to all my hosts internally. Same network. My connections to the FreeBSD-7.1.x system continually timeout when idle, and I have to re-connect (thankfully, I use screen). It's becoming annoying, and though I've set

Re: 128 Bucket Failures?

2008-11-13 Thread Ivan Voras
Chris Pratt wrote: I have asked this before a couple of years ago but received no replies. I assumed that's because it's a somewhat obscure question. I'm still interested and thought I might try again in case someone new is watching this list who might know. A vmstat -z on my highest

Re: SSH timeouts from remote connections on 7.1beta

2008-11-13 Thread Mel
On Thursday 13 November 2008 22:29:40 Forrest Aldrich wrote: This is a recent phenomenon. I use a Mac client (iTerm) to connect to all my hosts internally. Same network. My connections to the FreeBSD-7.1.x system continually timeout when idle, and I have to re-connect (thankfully, I use

Re: Openssl port upgrade (FreeBSD 6.2)

2008-11-13 Thread Cameron Baillie
Brendan Kennedy wrote: Hi All, I ran the openssl updgrade (to OpenSSL 0.9.8d), but it seems the original openssl libs are still being used for SSH session creation and other system crypto functionality. What are the final steps needed to allow all user space programs to use the upgraded

Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Jerry
On Thu, 13 Nov 2008 15:41:25 -0500 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: what would happen if I don't compile ports all over again? will my system crash? I believe that the total stability of your system might be jeopardized. Personally, I use 'portmanager' to force an update of all my

Re: 128 Bucket Failures?

2008-11-13 Thread Chris Pratt
On Nov 13, 2008, at 1:34 PM, Ivan Voras wrote: Chris Pratt wrote: I have asked this before a couple of years ago but received no replies. I assumed that's because it's a somewhat obscure question. I'm still interested and thought I might try again in case someone new is watching this list who

error message eval: 1: Syntax error: | unexpected, [libglib-2.0.la] error 2 when I portupgrade glib-2\*

2008-11-13 Thread Johnson Fu
Hello ladies and gentlemen, In /usr/ports/UPDATING, you can see there is a glib upgrade issue on the date 20080323, I perform portupgrade glib-2\* , but get an error message ntf.o .libs/giounix.o .libs/gspawn.o libcharset/.libs/libcharset.a | | /usr/bin/sed 's/.* //' | sort | uniq

Looking information about CF files of LPD

2008-11-13 Thread Martin Alejandro Paredes Sanchez
Hi: I have the idea of had seen the description of the content of CF files, but I can't find anymore in the handbook. That information had been removed? maps ___ freebsd-questions@freebsd.org mailing list

Terminal vt220 to vt100

2008-11-13 Thread Martin Alejandro Paredes Sanchez
Hi: I use vt220 to acces aPc with FreeBSD, but I need to telnet to a divice in my network that only acept vt100 man telnet did not help. maps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Terminal vt220 to vt100

2008-11-13 Thread Bill Campbell
On Thu, Nov 13, 2008, Martin Alejandro Paredes Sanchez wrote: Hi: I use vt220 to acces aPc with FreeBSD, but I need to telnet to a divice in my network that only acept vt100 man telnet did not help. Telnet does not know anything about terminal emulations, that is controlled by your TERM