Re: [kde-freebsd] ports, area51
Hi, 2013/2/3 ajtiM lum...@gmail.com: Hi! I have installed KDE 4.9.5 and Calligra 2.5.5 from area51. I am not sure how is working: I use portsnap which update ports and KDE 4.9.5 ports are merged. Last time I saw many update for KDE 4.8.4 which update KDE 4.9.5 ports and so on. Does anyone knows when KDE 4.9.5 will be out in ports? They said after FreeBSD 9.1 but when should be the date for after? I think the answer is now : http://www.freshports.org/commit.php?category=astroport=marblefiles=yesmessage_id=201302032010.r13kadmh024...@svn.freebsd.org Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org- against HTML email vCards X www: http://www.gid0.org- against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linphone-base conflicts with ortp and fails to install, it also fails to build: error: expected specifier-qualifier-list before 'UInt96'
2011/11/20 Yuri y...@rawbw.com: Hi, When I do portupgrade, I get this message (kdenetwork fails to update due to this): === linphone-base-3.2.1_1,1 conflicts with installed package(s): ^M ortp-0.13.0_1^M Hello, Please look at ports/UPDATING (20111016). ^M They install files into the same place.^M You may want to stop build with Ctrl + C.^M === Vulnerability check disabled, database not found^M === License check disabled, port has not defined LICENSE^M ^M === linphone-base-3.2.1_1,1 conflicts with installed package(s): ^M ortp-0.13.0_1^M ^M They will not build together.^M Please remove them first with pkg_delete(1).^M When I follow instruction in UPDATING and run this command 'portmaster -o net/linphone-base ortp', I get this messages: In file included from ../include/mediastreamer2/msrtp.h:25, from msrtp.c:20: ../include/mediastreamer2/ice.h:60: error: expected specifier-qualifier-list before 'UInt96' msrtp.c: In function 'receiver_process': msrtp.c:333: warning: implicit declaration of function 'rtp_get_payload' gmake[5]: *** [msrtp.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2/src' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2/src' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/net/linphone-base/work/linphone-3.2.1/mediastreamer2' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/linphone-base/work/linphone-3.2.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/net/linphone-base. === make failed for net/linphone-base === Aborting update I am not sure why linphone-base build fails. But it looks like linphone-base contains some version of ortp. And this creates a problem of the conflict: They install files into the same place. Sylvio, should you consider renaming conflicting files stemming from ortp copy into some other name to remove such conflict? Yuri ___ freebsd-po...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linphone-base conflicts with ortp and fails to install, it also fails to build: error: expected specifier-qualifier-list before 'UInt96'
2011/11/21 Yuri y...@rawbw.com: On 11/21/2011 01:43, Olivier Smedts wrote: Hello, Please look at ports/UPDATING (20111016). I did that, and wrote about this in my message (see below), but command 'portmaster -o net/linphone-base ortp' fails. Oops, sorry, I replied too fast ;-) I had the same caveat during kde install and pkg_deleted ortp so I did not have a problem with portmaster. Maybe you can pkg_delete -f ortp-\* before upgrading kde with portmaster ? When I follow instruction in UPDATING and run this command 'portmaster -o net/linphone-base ortp', I get this messages: In file included from ../include/mediastreamer2/msrtp.h:25, from msrtp.c:20: ../include/mediastreamer2/ice.h:60: error: expected specifier-qualifier-list before 'UInt96' Yuri -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.
2011/8/14 Hartmann, O. ohart...@zedat.fu-berlin.de: On 08/14/11 11:48, Niclas Zeising wrote: On 2011-08-13 12:08, Roland Smith wrote: On Sat, Aug 13, 2011 at 09:51:41AM +0200, Hartmann, O. wrote: On 08/13/11 09:26, Roland Smith wrote: On Sat, Aug 13, 2011 at 12:43:52AM +0200, Hartmann, O. wrote: On 08/12/11 22:54, Roland Smith wrote: On Fri, Aug 12, 2011 at 08:44:07PM +0200, Hartmann, O. wrote: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz Does this file actually exist if you extract the snapshot? And are the permissions et cetera OK? Roland No, it does not. What I did so far over night: I deleted /var/db/portsnap as well as /usr/ports/. Then I tried again. Again failure. After that it got the ports tree via CVS (make update in /usr/ports). Everything seems all right. I tried portsnap again. portsnap compalins about a non-portsnap-created /usr/ports and please me to use 'extract'. I do ... but then I run into the very same failure: (portsnap fetch extract:) /usr/ports/devel// /usr/ports/devel/ccdoc/ /usr/ports/devel/ccrtp/ /usr/ports/devel/cdash/ files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt. I've been looking at the portsnap shellscript. This error message is generated by the shell's built-in test command, specifically '[ -r'. It is looking for a file that was extracted with tar. So the place to look for the bug is IMO 1) the portsnap script itself (differences between 8.2 and 9?) 2) the sh(1)'s built-in test command (ditto) 3) tar (ditto) When you run 'portsnap fetch' it downloads a tgz archive and unpacks it with tar(1). What you could try is to comment out the line 'rm ${SNAPSHOTHASH}.tgz' in portsnap, and test if the tgz file extracts differently using an 8.2-RELEASE tar and the 9-CURRENT tar. If so, that would be a bug! Roland Just a me too!. It happens for me on a recently updated 9-current virtual machine, built with clang. Regards! Just got a notebook, build with the old gcc 4.2 of the system FreeBSD 9.0/amd64 -r224579: portsnap works as expected. I will build a most recent system on that box (with systems's outdated gcc 4.2) and I'll report if the problem is still present. By the way: My boxes of failure are all built with CLANG. Oliver Trying again today, with my 9.0-BETA1 amd64 box built with clang. Not the same error, but the same kind when using portsnap extract : /usr/ports/lang/p5-JavaScript-Value-Escape/ /usr/ports/lang/p5-JavaScript/ /usr/ports/lang/p5-List-MoreUtils/ /usr/ports/lang/p5-Modern-Perl/ /usr/ports/lang/p5-POE-Component-Hailo/ files/b54a58da6d23d31f19a9105f70af03ef797aba8db6bdbc03d6deb72e62011d56.gz not found -- snapshot corrupt. This file is not present in /var/db/portsnap/files/. # ll /var/db/portsnap/files/ | wc -l 22862 This was after removing /var/db/portsnap/files/ and /var/db/portsnap/t* and a fresh portsnap fetch, on the portsnap5 mirror. # fetch http://portsnap5.freebsd.org/s/c9a2c992e8bde0c98309f76a0ecfb00eb76558c7c3dcbd0405a88316b775e66b.tgz # tar tf c9a2c992e8bde0c98309f76a0ecfb00eb76558c7c3dcbd0405a88316b775e66b.tgz | grep b54a58 nothing... I tried on portsnap2 and the file was not present in c9a2c992e8bde0c98309f76a0ecfb00eb76558c7c3dcbd0405a88316b775e66b.tgz -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.
2011/8/14 Alexander Best arun...@freebsd.org: On Sun Aug 14 11, Niclas Zeising wrote: On 2011-08-13 12:08, Roland Smith wrote: On Sat, Aug 13, 2011 at 09:51:41AM +0200, Hartmann, O. wrote: On 08/13/11 09:26, Roland Smith wrote: On Sat, Aug 13, 2011 at 12:43:52AM +0200, Hartmann, O. wrote: On 08/12/11 22:54, Roland Smith wrote: On Fri, Aug 12, 2011 at 08:44:07PM +0200, Hartmann, O. wrote: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz Does this file actually exist if you extract the snapshot? And are the permissions et cetera OK? Roland No, it does not. What I did so far over night: I deleted /var/db/portsnap as well as /usr/ports/. Then I tried again. Again failure. After that it got the ports tree via CVS (make update in /usr/ports). Everything seems all right. I tried portsnap again. portsnap compalins about a non-portsnap-created /usr/ports and please me to use 'extract'. I do ... but then I run into the very same failure: (portsnap fetch extract:) /usr/ports/devel// /usr/ports/devel/ccdoc/ /usr/ports/devel/ccrtp/ /usr/ports/devel/cdash/ files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt. I've been looking at the portsnap shellscript. This error message is generated by the shell's built-in test command, specifically '[ -r'. It is looking for a file that was extracted with tar. So the place to look for the bug is IMO 1) the portsnap script itself (differences between 8.2 and 9?) 2) the sh(1)'s built-in test command (ditto) 3) tar (ditto) When you run 'portsnap fetch' it downloads a tgz archive and unpacks it with tar(1). What you could try is to comment out the line 'rm ${SNAPSHOTHASH}.tgz' in portsnap, and test if the tgz file extracts differently using an 8.2-RELEASE tar and the 9-CURRENT tar. If so, that would be a bug! Roland Just a me too!. It happens for me on a recently updated 9-current virtual machine, built with clang. same here: /usr/ports/databases/gigabase/ /usr/ports/databases/godis/ files/39644d98f9e9b9d9a362cbfc075a996683e8a611a4362d883247c9a2e2fa2658.gz not found -- snapshot corrupt. running r224841 on amd64 built with base clang. Aparently fixed with latest HEAD *kernel* : # svn log -v -r224842 r224842 | rwatson | 2011-08-13 18:03:40 +0200 (sam 13 aoû 2011) | 10 lignes Chemins modifiés : M /head/sys/kern/vfs_syscalls.c When falloc() was broken into separate falloc_noinstall() and finstall(), a bug was introduced in kern_openat() such that the error from the vnode open operation was overwritten before it was passed as an argument to dupfdopen(). This broke operations on /dev/{stdin,stdout,stderr}. Fix by preserving the original error number across finstall() so that it is still available. Approved by:re (kib) Reported by:cognet You won't be able to buildworld with the buggy kernel, but you can buildkernel and reboot on the new kernel. No problems with portsnap after that (don't know if you have to clean the old portsnap files, I did it). -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.
2011/8/12 Polytropon free...@edvax.de: On Fri, 12 Aug 2011 17:46:37 +0200, Hartmann, O. wrote: Since today, I can not update my ports tree due to this error as follows. This happens on all boxes running FreeBSD, the version of the OS (FBSD 8.2/9.0) doesn't matter. What's up with the ports collection? You're using portsnap? What if you try to update per CVS? /usr/ports/devel/cdash/ files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt. I think this last message got a bit de-arranged by quoting. The file with the long name belongs to /usr/ports/devel/cdash/files/ as it seems, but that doesn't exist (at least not on my local ports tree). A cdash port doesn't exist in the whole ports tree. No, the file does not belong in /usr/ports/devel/cdash/files/. You should read /var/db/portsnap/files/. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-po...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.
2011/8/12 Roland Smith rsm...@xs4all.nl: On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote: Since today, I can not update my ports tree due to this error as follows. This happens on all boxes running FreeBSD, the version of the OS (FBSD 8.2/9.0) doesn't matter. What's up with the ports collection? Probably nothing. files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt. This looks like a portsnap error. Remove everything in /var/db/portsnap, and run 'portsnap fetch extract'. Same error here and after removing all files in /var/db/portsnap/ except pub.ssl and serverlist*. # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap6.FreeBSD.org... done. Fetching snapshot metadata... done. Fetching snapshot generated at Fri Aug 12 02:12:43 CEST 2011: 2296564b5c42a1560759bece15b4c98074658e52fbed23100% of 63 MB 508 kBps 00m00s Extracting snapshot... done. Verifying snapshot integrity... done. Fetching snapshot tag from portsnap6.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Fri Aug 12 02:12:43 CEST 2011 to Fri Aug 12 19:03:17 CEST 2011. Fetching 3 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Fetching 54 patches. done. Applying patches... done. Fetching 27 new ports or files... done. # portsnap extract [...] /usr/ports/devel/ccache/ /usr/ports/devel// /usr/ports/devel/ccdoc/ /usr/ports/devel/ccrtp/ /usr/ports/devel/cdash/ files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS-Only FreeBSD and crashdump
2011/4/29 Marco van Tol ma...@tols.org: On Thu, Apr 28, 2011 at 10:14:08PM +0300, Vladislav V. Prodan wrote: 28.04.2011 19:40, Andriy Gapon wrote: At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what you are asking. And when do planning to add support? :) Option to use to dump the usb-flash has its limitations, both on disk size and write speed? Well, to be honest, how do you suppose dumping core to a software raid should work in a situation where the software has crashed? :-) Approximately the same way you suppose dumping core on a block device should work when the device driver has crashed ! -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: meory file system
2010/8/21 Steve Kargl s...@troutmask.apl.washington.edu: On Fri, Aug 20, 2010 at 03:08:30PM -0700, gahn wrote: Hi, All: I am running 8.1. under /dev, I don't see /dev/md0, so i am trying to add following lines in kernel file and got error messages: options MFS #Memory Filesystem /usr/src/sys/i386/conf/bn39_1: unknown option MFS *** Error code 1 Stop in /usr/src. *** Error code 1 any gurus here know what is happeny here? There isn't a MFS option. Try 'man mdconfig'. Also, have a look at tmpfs ! PS: Your message should have been sent for freebsd-questi...@freebsd.org. -- Steve ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
chrooting in a 32-bit world from a 64-bit kernel+world
Hello hackers, I'm trying to cross-compile an i386 FreeBSD system (kernel+world+ports) under my amd64 host : % uname -srm FreeBSD 8.0-CURRENT amd64 I updated my CURRENT sources yesterday. So far I've got a working FreeBSD (kernel+world) in a 512MB image I can dump on a CompactFlash card : # cd /usr/src # make buildworld TARGET=i386 # make buildkernel TARGET=i386 # mount /dev/md0a /mnt (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) # make installworld TARGET=i386 DESTDIR=/mnt # make distribution TARGET=i386 DESTDIR=/mnt # make installkernel TARGET=i386 DESTDIR=/mnt The problem is that I can't chroot in this 32-bit world. Say I want to install the sysutils/screen port in /mnt : # mkdir /mnt/usr/ports # mount -t nullfs /usr/ports /mnt/usr/ports # mount -t devfs devfs /mnt/dev # chroot /mnt /bin/sh -c cd /usr/ports/sysutils/screen make BATCH=yes \ install clean ELF interpreter /libexec/ld-elf.so.1 not found Abort trap Of course it's the same with the new (new since a year or so) ports DESTDIR since it's based on chroot : # cd /usr/ports/sysutils/screen # make DESTDIR=/mnt install clean === Creating some important subdirectories === Starting chrooted make in /mnt... ELF interpreter /libexec/ld-elf.so.1 not found Abort trap === Chrooted make in /mnt failed === Cleaning up... I can directly execute /mnt/bin/sh or any program in /mnt without problems. As expected, file gives me : /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), stripped /mnt/libexec/ld-elf.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped Host kernel with COMPAT_IA32 and world without WITHOUT_LIB32 didn't help. I tried temporarily replacing /mnt/libexec/ld-elf.so.1 with the 64-bit one, but the same problem occurs. Using ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/ is not an option because I don't use default OPTIONS. Is there a way or another to chroot in this i386 world from my amd64 host ? Olivier -- Olivier Smedts _ ASCII ribbon campaign( ) e-mail: [EMAIL PROTECTED] - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chrooting in a 32-bit world from a 64-bit kernel+world
On Tue, Sep 30, 2008 at 09:28:39PM +0200, Mel wrote: On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: So far I've got a working FreeBSD (kernel+world) in a 512MB image I can dump on a CompactFlash card : # cd /usr/src # make buildworld TARGET=i386 # make buildkernel TARGET=i386 # mount /dev/md0a /mnt (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) # make installworld TARGET=i386 DESTDIR=/mnt # make distribution TARGET=i386 DESTDIR=/mnt # make installkernel TARGET=i386 DESTDIR=/mnt The problem is that I can't chroot in this 32-bit world. Say I want to install the sysutils/screen port in /mnt : # mkdir /mnt/usr/ports # mount -t nullfs /usr/ports /mnt/usr/ports # mount -t devfs devfs /mnt/dev It's a guess, but at this point: chroot /mnt /etc/rc.d/ldconfig start First, thank you for replying so fast ! /etc/rc.d/ldconfig is a /bin/sh script, and I can't run /bin/sh in this chroot. Same errors. If that don't work: /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ /mnt/usr/lib After that command, the shared libraries are found, but ld refers to /mnt : # ldconfig -rf /mnt/var/run/ld-elf.so.hints /mnt/var/run/ld-elf.so.hints: search directories: /mnt/lib:/mnt/usr/lib 0:-lc.7 = /mnt/lib/libc.so.7 1:-lcrypt.4 = /mnt/lib/libcrypt.so.4 [...] And then when trying to chroot, still the same problem. I also can't launch ldconfig in the jail : # chroot /mnt/ /sbin/ldconfig -32 -s -f /var/run/ld-elf.so.hints /lib /usr/lib ELF interpreter /libexec/ld-elf.so.1 not found Abandon Cheers, Olivier Does that work / change the error or no change at all? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. -- Olivier Smedts _ ASCII ribbon campaign( ) e-mail: [EMAIL PROTECTED] - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chrooting in a 32-bit world from a 64-bit kernel+world
On Tue, Sep 30, 2008 at 10:38:10PM +0200, Mel wrote: On Tuesday 30 September 2008 21:57:22 Olivier Smedts wrote: On Tue, Sep 30, 2008 at 09:28:39PM +0200, Mel wrote: On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: So far I've got a working FreeBSD (kernel+world) in a 512MB image I can dump on a CompactFlash card : # cd /usr/src # make buildworld TARGET=i386 # make buildkernel TARGET=i386 # mount /dev/md0a /mnt (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) # make installworld TARGET=i386 DESTDIR=/mnt # make distribution TARGET=i386 DESTDIR=/mnt # make installkernel TARGET=i386 DESTDIR=/mnt The problem is that I can't chroot in this 32-bit world. Say I want to install the sysutils/screen port in /mnt : # mkdir /mnt/usr/ports # mount -t nullfs /usr/ports /mnt/usr/ports # mount -t devfs devfs /mnt/dev It's a guess, but at this point: chroot /mnt /etc/rc.d/ldconfig start First, thank you for replying so fast ! /etc/rc.d/ldconfig is a /bin/sh script, and I can't run /bin/sh in this chroot. Same errors. If that don't work: /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ /mnt/usr/lib After that command, the shared libraries are found, but ld refers to /mnt : # ldconfig -rf /mnt/var/run/ld-elf.so.hints /mnt/var/run/ld-elf.so.hints: search directories: /mnt/lib:/mnt/usr/lib 0:-lc.7 = /mnt/lib/libc.so.7 1:-lcrypt.4 = /mnt/lib/libcrypt.so.4 [...] Right. cd /mnt rmdir mnt ln -s . mnt The old chroot symlink hack. And then when trying to chroot, still the same problem. I also can't launch ldconfig in the jail : # chroot /mnt/ /sbin/ldconfig -32 -s -f /var/run/ld-elf.so.hints /lib /usr/lib ELF interpreter /libexec/ld-elf.so.1 not found Abandon If you have /rescue there, maybe chroot /mnt /rescue/ldconfig /lib /usr/lib will help you. I'm pretty sure it's the missing hints causing this. If all this fails, I'd try running /mnt as a jail. Thanks for the advices. At least statically compiled binaries in /rescue work. # chroot /mnt /rescue/sh # /rescue/ldconfig /lib /usr/lib # /rescue/ldconfig -r /var/run/ld-elf.so.hints: search directories: /lib:/usr/lib 0:-lc.7 = /lib/libc.so.7 1:-lcrypt.4 = /lib/libcrypt.so.4 [...] # sh ELF interpreter /libexec/ld-elf.so.1 not found Abort trap # No luck with the symlink hack or a jail : Configuring jails:. Starting jails:ELF interpreter /libexec/ld-elf.so.1 not found cannot start jail fanless: Abort trap . I'll try to boot directly in the 32-bit world with my 64-bit kernel. I think it should work. In that case, there's maybe something to configure in the amd64 host's ldconfig or ld-elf.so.1 before chrooting in a 32-bit world. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. -- Olivier Smedts _ ASCII ribbon campaign( ) e-mail: [EMAIL PROTECTED] - against HTML email vCards X www: http://www.gid0.org - against proprietary attachments / \ Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ps/2 mouse not detected when no keyboard is present
Hello all, Here is my problem. I've got a fanless computer with a FreeBSD 5.2.1 embedded in a CompactFlash card. On this appliance, I must plug a PS/2 mouse but NO keyboard. When I boot the appliance with a keyboard and a mouse, no problem, atkbdc0 is detected, with atkbd0 and psm0 on it. The problem is that when I boot with no keyboard, the controller (atkbdc0) isn't detected any more, so the mouse (psm0) isn't detected ; dmesg doesn't show atkbdc, atkbd or psm. Does anyone know what can I do ? I must be able to boot with a mouse but no keyboard. I tried setting different flags for atkbd0 in device.hints. Maybe there's a way with the kernel, sysctl or device.hints, or something else, to have an atkbd0 detected even with no keyboard plugged in. Or to force the detection of the controller atkbdc0, on which is the mouse. Thanks for any answer, I really need help, I didn't find something similar on google and I don't know what to do for now. I think it's a problem with the way atkbdc works so I didn't included a specific dmesg, but if you want more info, dont't hesistate to ask. Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: US Robotics WinModem
if the modem is connected to a COM port, it should work without any specific driver (almost all modems support standard Hayes commands). and i think that for Windows means drivers and support for windows, but the hardware part should be compatible with FreeBSD. try to send commands through the com port... but I don't know for a USB version. Matt Smith wrote: I recently ordered a modem, but the wrong one was delivered. The one I ordered claimed to support Windows + Linux, but the one I received is a US Robotics 56K V92 PCI FAX Modem for Windows. Before I send this back and go through the hassle of getting the right one, does anyone know if I can get this to work in FreeBSD? I know it's a winmodem, but it may be less painful to try and make it work, than to return it. Thanks all, -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
floppy drive doesn't work with -current
My floppy drive worked perfectly under 4.7R, but not under 5.0R (even with the GENERIC kernel). Motherboard : MSI K7T266 Pro2-RU Chipset : VIA KT266A Floppy drive : generic... dmesg : (you can see the problem with fdc0) Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-RELEASE #1: Tue Feb 4 20:05:50 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/COMPILED Preloaded elf kernel /boot/kernel/kernel at 0xc0409000. Preloaded elf module /boot/kernel/snd_via8233.ko at 0xc04090a8. Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc0409158. Preloaded elf module /boot/kernel/acpi.ko at 0xc0409204. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 1538822155 Hz CPU: AMD Athlon(tm) XP 1800+ (1538.82-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x662 Stepping = 2 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow! real memory = 536805376 (511 MB) avail memory = 517079040 (493 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface acpi0: AMIINT VIA_K7 on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 10 entries at 0xc00f7d30 acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-fast frequency 3579545 Hz acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 acpi_cpu0: CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA Generic host to PCI bridge mem 0xe000-0xe3ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) rl0: RealTek 8139 10/100BaseTX port 0xd800-0xd8ff mem 0xdffcff00-0xdffc irq 11 at device 9.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:50:fc:43:bd:dd miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: serial bus, USB at device 11.0 (no driver attached) pci0: serial bus, USB at device 11.1 (no driver attached) pci0: serial bus, USB at device 11.2 (no driver attached) atapci0: Promise ATA100 controller port 0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xdffe-0xdfff irq 10 at device 12.0 on pci0 ata2: at 0xec00 on atapci0 ata3: at 0xe400 on atapci0 isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 atapci1: VIA 8233 ATA100 controller port 0xfc00-0xfc0f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 uhci0: VIA 83C572 USB controller port 0xd000-0xd01f irq 5 at device 17.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. pcm0: VIA VT8233 (pre) port 0xd400-0xd4ff irq 12 at device 17.5 on pci0 acpi_button1: Sleep Button on acpi0 fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: cmd 3 failed at out byte 1 of 3 orm0: Option ROMs at iomem 0xca800-0xd2fff,0xc-0xca7ff on isa0 pmtimer0 on isa0 fdc0: cannot reserve I/O port range (6 ports) sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2% ad0: 14598MB SAMSUNG SV1533D [29660/16/63] at ata0-master UDMA66 acd0: CD-RW LITE-ON LTR-40125S at ata0-slave PIO4 acd1: DVD-ROM SAMSUNG DVD-ROM SD-616F at ata1-master PIO4 ar0: 38166MB ATA RAID0 array [4865/255/63] status: READY subdisks: 0 READY ad4: 38166MB ST340824A [77545/16/63] at ata2-master UDMA100 Opened disk ad4 - 16 Opened disk ad4 - 16 Mounting root from ufs:/dev/ar0s1a ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled Olivier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message