error mounting USB disk: Invalid argument
Hi all, I am having difficulties mounting a USB drive under 7.0-STABLE. Running sysinstall, I can create a partition and format it. But sysinstall is unable to mount it: Error mounting /dev/da0s1d on /media/disk6 : Invalid argument The same error ocurrs when I try to mount it manually on the command line. I have tried various mount points, to no avail. Anyone have any ideas what is going wrong? Thanks. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh - connect to directory outside of /user/home - permission denied
Turner Litigation Services wrote: How do you allow ssh to permit connections to a folder outside of the /home folder of the user loggin in to ssh? For example, i want to sync two folders (using unison) on different machines and need to ssh to the remote folder .. but the folder is a shared folder outside of my home folder (i.e. /user/data/pub). ssh [EMAIL PROTECTED] works to get me into the user folder and I can cd to the folder I need to access (and have proper perms there) But, I need to connect to the folder directly to use unison (file/directory synchronization tool). ssh [EMAIL PROTECTED] /usr/data/pub/ gives permission denied errors. ^^ You are specifying a command to run once ssh connects, not the path to chdir to. I've heard the directory path needs to be relative to the home path but the following does not work either: ssh [EMAIL PROTECTED] ../../../usr/data/pub/ (where the default directory for ssh logins is /usr/home/[username]/.) I've tried formatting variations of the above themes to no avail and suspect there's a setting somewhere to allow what directories ssh connections can be made to, or creating a link in [users] home directory to the public directory. Your help would be appreciated. You could use something similar to: ssh [EMAIL PROTECTED] 'cd /usr/data/pub; unison .' HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error mounting USB disk: Invalid argument
On Sat, May 31, 2008 at 08:25:22AM +0200, Colin Brace wrote: Hi all, I am having difficulties mounting a USB drive under 7.0-STABLE. Running sysinstall, I can create a partition and format it. But sysinstall is unable to mount it: Error mounting /dev/da0s1d on /media/disk6 : Invalid argument The same error ocurrs when I try to mount it manually on the command line. I have tried various mount points, to no avail. Anyone have any ideas what is going wrong? Can you show us what is shown in the dmesg output when you plug this drive in, which devices are then created and the exact command that you used to mount it? 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) pgpM1OxEO3c2M.pgp Description: PGP signature
Re: Redirect email account in freebsd
man forward is great, but im running in virtual postfix? any idea how to do .forward in virtual postfix? On Sat, May 31, 2008 at 11:55 AM, Jon Radel [EMAIL PROTECTED] wrote: Ruel Luchavez wrote: ALL Hi, I dont know if its right to post my problem here.. Yes. How would you redirect an email account? Lets put it in this way, we have an existing account namely [EMAIL PROTECTED] ,[EMAIL PROTECTED] and [EMAIL PROTECTED] what i want is when someone send and email to account1 only (no cc: or bcc: from sender) , account3 can also receive the message being sent to account1? is it possible? If you're using sendmail (the default mail server in FreeBSD), probably the easiest way is to edit /etc/mail/aliases and put the following line in the file: account1: \account1, account3 and then run the newaliases command. While this will not send account3 two copies of e-mail that the sender sent to both account1 and account3, it will not check that account1 is the only recipient. If you need to strictly check that there are no cc: or bcc: recipients, I suspect you will have to install something more sophisticated, such as procmail from ports. I'm using the Thunderbird. Or, you could set up rules in Thunderbird to do the forwarding from there. Of course, this means that mail gets forwarded only when account1 checks for mail. --Jon Radel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Redirect email account in freebsd
man forward is great, but im running in virtual postfix? any idea how to do .forward in virtual postfix? On Sat, May 31, 2008 at 11:16 AM, Dhénin Jean-Jacques [EMAIL PROTECTED] wrote: 2008/5/31 Ruel Luchavez [EMAIL PROTECTED]: ALL Hi, I dont know if its right to post my problem here.. How would you redirect an email account? Lets put it in this way, we have an existing account namely [EMAIL PROTECTED] ,[EMAIL PROTECTED] and [EMAIL PROTECTED] what i want is when someone send and email to account1 only (no cc: or bcc: from sender) , account3 can also receive the message being sent to account1? is it possible? man forward. -- (° Dhénin Jean-Jacques / ) 48, rue de la Justice 78300 Poissy ^^ [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error mounting USB disk: Invalid argument
On Sat, 31 May 2008 09:29:55 +0200, Roland Smith [EMAIL PROTECTED] wrote: Can you show us what is shown in the dmesg output when you plug this drive in, which devices are then created and the exact command that you used to mount it? dmesg: [...] umass0: on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C) These nodes are created: # ls -1 /dev/da* /dev/da0 /dev/da0s1 /dev/da0s1c Then: # mount /dev/da0s1c /media/disk6 mount: /dev/da0s1c : Invalid argument # mount -t ufs /dev/da0s1c /media/disk6 mount: /dev/da0s1c : Invalid argument Thanks. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 upgrade compile error
Casey Scott wrote: I am trying to upgrade from 6.3 to 7.0. With latest source, buildworld dies with: ... /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 'uw_install_context_1': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: warning: incompatible implicit declaration of built-in function 'memcpy' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: warning: incompatible implicit declaration of built-in function 'memcpy' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: warning: incompatible implicit declaration of built-in function 'memcpy' In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function '_Unwind_RaiseException_Phase2': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function '_Unwind_Resume': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function '_Unwind_Resume_or_Rethrow': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: warning: incompatible implicit declaration of built-in function 'abort' These are all non-fatal warnings, so it doesn't explain why the build stopped. *** Error code 1 Stop in /usr/src/gnu/lib/libgcc. *** Error code 1 Please show us more context. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error mounting USB disk: Invalid argument
On Sat, May 31, 2008 at 10:27:50AM +0200, Colin Brace wrote: On Sat, 31 May 2008 09:29:55 +0200, Roland Smith [EMAIL PROTECTED] wrote: Can you show us what is shown in the dmesg output when you plug this drive in, which devices are then created and the exact command that you used to mount it? dmesg: [...] umass0: on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C) These nodes are created: # ls -1 /dev/da* /dev/da0 /dev/da0s1 /dev/da0s1c Then: # mount /dev/da0s1c /media/disk6 mount: /dev/da0s1c : Invalid argument This is caused by the nmount system call returning EINVAL. Quoting from mount(2): [EINVAL] The super block for the file system had a bad magic number or an out of range block size. After partitioning and labeling the disk, did you make filesystems on the partitions with newfs? 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) pgpL6c9GBu9gY.pgp Description: PGP signature
Re: error mounting USB disk: Invalid argument
On Sat, 31 May 2008 11:42:21 +0200, Roland Smith [EMAIL PROTECTED] wrote: After partitioning and labeling the disk, did you make filesystems on the partitions with newfs? Ah, no. According to Absolute FreeBSD, 2nd ed, which I have in front of me, newfs invoked by sysinstall, which I used to create the slice and partition it (p 241). Anyway, I now try running newfs in terminal, but it throws up some errrors: # newfs /dev/da0s1c /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size 2048 using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: newfs: wtfs: 65536 bytes at sector 160: Invalid argument # newfs /dev/da0s1c /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size 2048 using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032,newfs: wtfs: 65536 bytes at sector 4516384: Invalid argument I tried it several times; the errors seem kinda random, since they vary each time I run the command. Could it be that the chipset of this USB device, JMicron, is not entirely supported by FreeBSD? The reason I ask is because this appears to be an issue under Linux; cf, http://www.qbik.ch/usb/devices/showdev.php?id=3751 Yes, I am well aware it is a different OS (!); I only mention it in case there is overlap in the codebase for this particular chipset. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Looking for gurus willing to help write Freebsd tutorials
If you are honest for your site's objective, appreciate if could drop the penguin from the site's logo without a delay. It clearly shows your bias. Well, I am looking for a new logo, but I'd need someone who could help me design it since I'm not all that great at graphic design. ^_^;; Steven Lake Owner/Technical Writer Raiden's Realm www.raiden.net Bringing Linux and BSD to the World ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error mounting USB disk: Invalid argument
Then: # mount /dev/da0s1c /media/disk6 mount: /dev/da0s1c : Invalid argument mount_msdosfs ? This is caused by the nmount system call returning EINVAL. Quoting from mount(2): [EINVAL] The super block for the file system had a bad magic number or an out of range block size. After partitioning and labeling the disk, did you make filesystems on the partitions with newfs? 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) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error mounting USB disk: Invalid argument
On Sat, May 31, 2008 at 12:17:57PM +0200, Colin Brace wrote: On Sat, 31 May 2008 11:42:21 +0200, Roland Smith [EMAIL PROTECTED] wrote: After partitioning and labeling the disk, did you make filesystems on the partitions with newfs? Ah, no. According to Absolute FreeBSD, 2nd ed, which I have in front of me, newfs invoked by sysinstall, which I used to create the slice and partition it (p 241). Anyway, I now try running newfs in terminal, but it throws up some errrors: # newfs /dev/da0s1c /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size 2048 using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: newfs: wtfs: 65536 bytes at sector 160: Invalid argument # newfs /dev/da0s1c /dev/da0s1c: 194474.3MB (398283416 sectors) block size 16384, fragment size 2048 using 1059 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, 3387328, 3763680, 4140032,newfs: wtfs: 65536 bytes at sector 4516384: Invalid argument I tried it several times; the errors seem kinda random, since they vary each time I run the command. Could it be that the chipset of this USB device, JMicron, is not entirely supported by FreeBSD? The reason I ask is because this appears to be an issue under Linux; cf, http://www.qbik.ch/usb/devices/showdev.php?id=3751 I've only had trouble with JMicron when using geli(8) encrypted partitions on a machine that was underpowered. But not when just doing a newfs. You could try building a kernel without umass, but with atausb and atapifd. The disk will be attached as a floppy drive, /dev/afd* 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) pgprUVlUxIDWM.pgp Description: PGP signature
Re: error mounting USB disk: Invalid argument
On Sat, 31 May 2008 13:29:26 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: Then: # mount /dev/da0s1c /media/disk6 mount: /dev/da0s1c : Invalid argument mount_msdosfs ? Maybe. But then it'd likely be /dev/da0s1 .. Even if it's UFS, you wouldn't want to mount the 'c' partition. Perhaps? 'mount /dev/da0s1a /media/disk6' or da0s1d maybe .. Colin, what does 'fdisk da0' say? How about 'bsdlabel da0s1' ? This is caused by the nmount system call returning EINVAL. Quoting from mount(2): [EINVAL] The super block for the file system had a bad magic number or an out of range block size. After partitioning and labeling the disk, did you make filesystems on the partitions with newfs? Roland cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error mounting USB disk: Invalid argument
Hi again, It seems like a JMicron issue. I can mount a different USB drive, formatted for Linux, without problem: dmesg: [...] umass0: Myson Century, Inc. USB Mass Storage Device, class 0/0, rev 2.00/b0.08, addr 2 on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0:Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 38154MB (78140160 512 byte sectors: 255H 63S/T 4864C) GEOM_LABEL: Label for provider da0s1 is ext2fs//. [EMAIL PROTECTED] ~]# mount -t ext2fs /dev/da0s1 /media/disk6/ ls /media/disk6 [...] Works fine. Roland Smith wrote: You could try building a kernel without umass, but with atausb and atapifd. The disk will be attached as a floppy drive, /dev/afd* Thanks for the suggestion, but it isn't really worth my trouble at this point; I'll find a different solution. Somewhere there must be a list of which SATA to USB chipsets are supported by FreeBSD. - Colin Brace Amsterdam http://lim.nl -- View this message in context: http://www.nabble.com/error-mounting-USB-disk%3A-Invalid-argument-tp17572449p17575165.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Reverse proxy recommendation
Hello, We have three internal web servers that we make accessible to the internet. Right now we simply use pf and port redirection. Works great. But, we would like to tighten up security. I know you can do this with squid, apache and a few others. Could someone please make a recommendation on what solutions they have used or seen in the past? Thanks Shane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse proxy recommendation
I use Apache (2.2) with mod_proxy / mod_proxy_balancer ... works like a charm! On Sat, 2008-05-31 at 10:26 -0400, Thomas Mullins wrote: Hello, We have three internal web servers that we make accessible to the internet. Right now we simply use pf and port redirection. Works great. But, we would like to tighten up security. I know you can do this with squid, apache and a few others. Could someone please make a recommendation on what solutions they have used or seen in the past? Thanks Shane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse proxy recommendation
Thomas Mullins wrote: Hello, We have three internal web servers that we make accessible to the internet. Right now we simply use pf and port redirection. Works great. But, we would like to tighten up security. I know you can do this with squid, apache and a few others. Could someone please make a recommendation on what solutions they have used or seen in the past? I'm using squid as reverse proxy, for several internal hosts (just one squid reading the host-header), both as rp for 'normal' sites and as https front end. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 upgrade compile error
Kris, Please show us more context. These seems to be all the relevant output: ** cd /usr/src/etc; make buildincludes; make installincludes -- stage 4.2: building libraries -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE=pentium4 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE libraries cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs; make -f Makefile.inc1 _generic_libs; === gnu/lib/libgcc (obj,depend,all,install) make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h TARGET_CPU_DEFAULT= HEADERS=options.h i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h i386/freebsd.h defaults.h DEFINES= /bin/sh /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h echo '#define EXTRA_MODES_FILE i386/i386-modes.def' tm.h make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h TARGET_CPU_DEFAULT= HEADERS=auto-host.h ansidecl.h DEFINES=USED_FOR_TARGET /bin/sh /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt optionlist awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk optionlist options.h make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwind.h make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-default.h cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-dw2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: stddef.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: float.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: stdarg.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: errno.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: string.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: limits.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: time.h: No such file or directory In file
7.0-RELEASE panic
Hi, Apologies for the somewhat-generic subject line, not sure what else to call it. I have a new, fairly generic i386 box, with a fresh install of 7.0-RELEASE using pretty much the default options. I'm using a generic kernel with the addition of options GEOM_BDE. I have had a couple of panics with it over a day or two; I can't pinpoint what is causing it, it has panicked when I'm not there and nothing seems to be going on. I recompiled the kernel shortly after install, so don't know if it will panic on the generic kernel alone. There is a vmcore in /var/crash, and I followed the instructions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneld ebug-gdb.html However, I'm not sure if kgdb is telling me I have a physical memory problem, or if it is telling me it's not working properly, (or more likely I'm not using it properly): odin2008# kgdb kernel.debug /var/crash/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. Cannot access memory at address 0x2fd9 (kgdb) where #0 0x in ?? () (kgdb) quit odin2008# more /var/crash/info.1 Dump header from device /dev/ad4s1b Architecture: i386 Architecture Version: 2 Dump Length: 207388672B (197 MB) Blocksize: 512 Dumptime: Sat May 31 15:31:52 2008 Hostname: odin2008.asgard.movesmountains.com Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Panic String: page fault Dump Parity: 797791774 Bounds: 1 Dump Status: good Oddly, I'm also seeing typos in /var/log/messages, which may or may not be related - e.g. May 30 0:14:53 odin2008 savecore: rebot after panic: age fault May 3 10:14:3 odin2008 savecore: wrting core to vmcore.0 May 30 10:16:03 odin2008 sck: /dev/ad4s1: 8 files, 7 used, 253808 free 40 frag, 31721 blocks, 0.0% frgmentation) fsck isn't showing any problems. Can anyone advise me what to do from here? Does this look like a hardware problem? Any help appreciated! Yours, Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
downgrading /sys/src
This may sound wierd but let me explain why. On last may/26, I added a Sound Blaster Live to my machine and I wanted to activate the midi interface of the emu10kx driver. I know there were some memory and timming problems but I wanted to experiment. So I did a csup to 7_CURRENT (which is the tag I always use) then edited emu10kx to coment out the #if 0 that excludes the midi code. I took the oportunity to coment the drivers I did not need to make the kernel smaller. Recompiled and loaded emu10kx from loader.conf. the Kernel crashed right after the acpi_hpet driver load. But by loading emu10kx later, there was no crash and SB board worked fine. A hunch told me to save kernel.old so I moved it to kernel.good which is: FreeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LOBO i386 After that I went on to make some DVD backups with k3b which ALWAYS worked fine and now, after this upgrade, k3b keeps crashing without finishing. Software and device buffers usage behaved erratically, and even if it doesn't crash, it stops in around 30% with a write error. I lost a few DVDs, since I suspected the DVD+RW may have had something to do with the problem. I recompiled k3b (and the other ports around it) but results were the same. Anyway, after several unsuccessful attempts to correct the problem by removing/re-adding kernel drivers, recompiles and even removing the SB board, I decided to move /boot/kernel to kernel.new, and copied kernel.good to kernel and voilá ! Everything went back to normal and worked fine! What I want to do is to make a copy of my current /src/sys, revert it back to what it was in may/22 (kernel.good) and compare it with the current /src/sys to see what changed that provoked this behavior. I suspect of ata and memory handling changes but it's just a guess. I'd have to have both sources to compare. So my question is: How can I get my /src/sys back to what it was in may/22? can this be done? sorry for the long post and thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freeBSD PHP issues
Hi List; I'm fairly new to freeBSD, but a long time Linux biggot. I installed freeBSD7, then I installed PHP like this: # cd /usr/ports/lang/php5 # make config # make install Next I installed PostgreSQL and pgFouine However when I run pgfouine to generate a log report I get this error: $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log rept.html PHP Fatal error: Call to undefined function preg_replace() in /usr/ local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 preg_replace() I believe is a PHP built-in, anyone know how to correct this, or have thoughts on what I may be doing wrong. Maybe I've missed some sort of config step? Thanks in advance... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Simple DSN server
OS FreeBSD 7.0 Just got the idea to start a very simple local DNS server. For that I would like to use named. Some question I have regarding to this: Configuration files for named reside in /etc/namedb directory According to the manual, I might use the command 'sh make-localhost' but this script isn't in my /etc/namedb directory: triton# cd /etc/namedb triton# ll drwxr-xr-x 2 bind wheel 512 Feb 24 18:49 dynamic drwxr-xr-x 2 root wheel 512 May 24 08:44 master -rw-r--r-- 1 root wheel 581 Feb 21 2007 named.conf -rw-r--r-- 1 root wheel 2967 Feb 24 18:53 named.root -rw--- 1 bind wheel97 May 27 19:35 rndc.key drwxr-xr-x 2 bind wheel 512 Feb 24 18:49 slave Did something go wrong with installing named () or do I have to do an additional make install? -- Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD PHP issues
kevin kempter wrote: Hi List; I'm fairly new to freeBSD, but a long time Linux biggot. I installed freeBSD7, then I installed PHP like this: # cd /usr/ports/lang/php5 # make config # make install Next I installed PostgreSQL and pgFouine However when I run pgfouine to generate a log report I get this error: $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log rept.html PHP Fatal error: Call to undefined function preg_replace() in /usr/local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 preg_replace() I believe is a PHP built-in, anyone know how to correct this, or have thoughts on what I may be doing wrong. Maybe I've missed some sort of config step? You need to install the PCRE module: # cd /usr/ports/devel/php5-pcre # make install and similarly for all of the other PHP modules you will undoubtedly find yourself needing. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Simple DSN server
Jos Chrispijn wrote: OS FreeBSD 7.0 Just got the idea to start a very simple local DNS server. For that I would like to use named. Some question I have regarding to this: Configuration files for named reside in /etc/namedb directory According to the manual, I might use the command 'sh make-localhost' but this script isn't in my /etc/namedb directory: triton# cd /etc/namedb triton# ll drwxr-xr-x 2 bind wheel 512 Feb 24 18:49 dynamic drwxr-xr-x 2 root wheel 512 May 24 08:44 master -rw-r--r-- 1 root wheel 581 Feb 21 2007 named.conf -rw-r--r-- 1 root wheel 2967 Feb 24 18:53 named.root -rw--- 1 bind wheel97 May 27 19:35 rndc.key drwxr-xr-x 2 bind wheel 512 Feb 24 18:49 slave Did something go wrong with installing named () or do I have to do an additional make install? Nope. BIND has been updated and things have changed but the handbook hasn't caught up yet. You no longer need to run 'make-localhost' but can just use the provided zonefiles for forward and reverse lookups thereof. The rest is pretty much the same though. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: downgrading /sys/src
Hi, On 5/31/08, Mario Lobo [EMAIL PROTECTED] wrote: This may sound wierd but let me explain why. On last may/26, I added a Sound Blaster Live to my machine and I wanted to activate the midi interface of the emu10kx driver. I know there were some memory and timming problems but I wanted to experiment. So I did a csup to 7_CURRENT (which is the tag I always use) then edited emu10kx to coment out the #if 0 that excludes the midi code. I took the oportunity to coment the drivers I did not need to make the kernel smaller. Recompiled and loaded emu10kx from loader.conf. the Kernel crashed right after the acpi_hpet driver load. But by loading emu10kx later, there was no crash and SB board worked fine. A hunch told me to save kernel.old so I moved it to kernel.good which is: FreeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LOBO i386 After that I went on to make some DVD backups with k3b which ALWAYS worked fine and now, after this upgrade, k3b keeps crashing without finishing. Software and device buffers usage behaved erratically, and even if it doesn't crash, it stops in around 30% with a write error. I lost a few DVDs, since I suspected the DVD+RW may have had something to do with the problem. I recompiled k3b (and the other ports around it) but results were the same. Anyway, after several unsuccessful attempts to correct the problem by removing/re-adding kernel drivers, recompiles and even removing the SB board, I decided to move /boot/kernel to kernel.new, and copied kernel.good to kernel and voilá ! Everything went back to normal and worked fine! What I want to do is to make a copy of my current /src/sys, revert it back to what it was in may/22 (kernel.good) and compare it with the current /src/sys to see what changed that provoked this behavior. I suspect of ata and memory handling changes but it's just a guess. I'd have to have both sources to compare. So my question is: How can I get my /src/sys back to what it was in may/22? can this be done? You could use the 'date=' option in your stable-supfile: *default release=cvs tag=RELENG_7 date=2008052200 man 1 csup for more details Hope this helps Regards. sorry for the long post and thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple DSN server [SOLVED]
Hi Matthew, Matthew Seaman wrote: Nope. BIND has been updated and things have changed but the handbook hasn't caught up yet. You no longer need to run 'make-localhost' but can just use the provided zonefiles for forward and reverse lookups thereof. The rest is pretty much the same though. I didn't know this. Thanks for sharing, -- Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reverse proxy recommendation
great. But, we would like to tighten up security. I know you can do this with squid, apache and a few others. Could someone please make a recommendation on what solutions they have used or seen in the past? squid works fine for reverse proxy, is very fast, you may turn disk cache off a it doesn't make much sense (unless the servers behind are slow). in squid you may specify lots of rules as with forward proxy - it could be used for security. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stumped:: web HTML. Caution, may be OT.
On Sat, 2008-05-31 at 11:19 +0530, N. Raghavendra wrote: At 2008-05-30T21:28:58-07:00, Gary Kline wrote: Any guesses why things like this blowup:: !doctype html public -//w3c//dtd html 4.0 transitional//en The quoted string above is the so-called Formal Public Identifier (FPI) of the DTD, i.e., the standard, that your HTML page claims to conform to. However, the format of the FPI in your page is wrong. For instance, dtd should be the upper case DTD, and the ISO 639 language code en should be the upper case EN. In addition, the entire FPI is case-sensitive, so Transitional is different from transitional. The recommended FPI for W3C HTML 4.0 Transitional is -//W3C//DTD HTML 4.0 Transitional//EN. So, the above line should read !doctype html public -//W3C//DTD HTML 4.0 Transitional//EN Better still, follow the normal practice of writing doctype and public in upper case, and eliminating unnecessary whitespace, and make it !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN At 2008-05-29T19:39:02-07:00, Gary Kline wrote: I still have unread messages down-queue, but may as well ask if there are any HTML/XML checkers in ports that would help validate my mark. See my message earlier in this thread, where I mentioned textproc/opensp, and how to use it. In fact, the W3C validator is based on OpenSP, see http://validator.w3.org/docs/help.html#how Thanks much. This morning (or afternoon!) I'm replying using Evolution that makes clicking on links easier. There are a bunch of URL's I have to study. About the *only* place I use all caps is in my markup. I didn't know until now that the doctype//DOCTYPE tag **had** to be in caps. I don't see any rational for this exception, but am v glad to learn it!! I have your earlier mail and will re-read as well as check out textproc/opensp. gary PS:: to the list: Late last night I used tidy and tidy -h, so now have yet another tool in my bag:-) ...If there atr any books or websites on how to create a nice SIMPLE page, URL's please. (i Don't think design can be taught; that's like trying to teach art, isn't it?) --g Raghavendra. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Duplex printer advice
All, I'm looking to replace my current printer - a Dell 1700n - because I can't make it work with FreeBSD/Linux. To replace it, I'd like to get a duplex printer, as I really hate to waste paper. Does anyone have good experience with one that isn't terribly expensive (expensive to me means more than US$500) and that works with with FreeBSD? Even better if it has Ethernet. I'm only finding (on ostg.pricegrabber.com) the Lexmark Optra T622DN and T522DN, but don't know much about them. Anyone care to share? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound skipping problem; Asus A8V-X w/ VIA VT8251/8237A on-board HDA (sound)
Help, I've googled my fingers off up to the elbow and no luck:o) Sound works but skips or has gaps at about 1 second intervals. I'm running a fresh install of FreeBSD 7.0 Release (AMD64.) /boot/loader.conf contains: snd_hda_load=YES Other info: Main board = Asus A8V-X AMD64 w/ on-board sound: VIA VT8251/8237A High Definition Audio Controller $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: VIA VT8251/8237A High Definition Audio Controller at memory 0xff5fc000 irq 17 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v channels duplex default) Any help? Thanks, Byron C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD PHP issues
Matthew Seaman wrote: kevin kempter wrote: Hi List; I'm fairly new to freeBSD, but a long time Linux biggot. I installed freeBSD7, then I installed PHP like this: # cd /usr/ports/lang/php5 # make config # make install Next I installed PostgreSQL and pgFouine However when I run pgfouine to generate a log report I get this error: $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log rept.html PHP Fatal error: Call to undefined function preg_replace() in /usr/local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 preg_replace() I believe is a PHP built-in, anyone know how to correct this, or have thoughts on what I may be doing wrong. Maybe I've missed some sort of config step? You need to install the PCRE module: # cd /usr/ports/devel/php5-pcre # make install and similarly for all of the other PHP modules you will undoubtedly find yourself needing. A quicker way of doing this is cd /usr/ports/lang/php5-extensions make config then choose what extensions you need, and then make install clean Vince Cheers, Matthew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7-STABLE Watchdog Timeout
Hi, I'm in the process of moving a Subversion server from a 5-STABLE machine to a freshly installed 7-STABLE machine. I've moved the network card (a Linksys EG1032v3, RTL8169S/8110S/8211B based) from the old machine (where it worked before) to this new machine. Now, I get: re0: watchdog timeout Every time I attempt to check out a PARTICULAR path of my Subversion repository. (That path does happen to contain a binary file, about 40 MB - probably the largest in the repository.) It works when I check it out over the loopback (localhost) connection, but not when I check it out remotely. The network seems to work great in all other cases, as far as I can tell. I've tried a number of things: disabling the onboard LAN, disabling APIC, ACPI, setting PNP OS to no, disabling as many onboard devices as I can, and building a custom kernel. So far, nothing has made any difference. Honestly, I'm not entirely convinced it is a problem with FreeBSD. It might be a problem with HTTPD, or Subversion. But I'm out of ideas and I don't really know where to start. Does anyone have any suggestions? -- Jeremy 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 FreeBSD Foundation. FreeBSD 7.0-STABLE #1: Sat May 31 12:47:35 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: VIA Nehemiah (999.52-MHz 686-class CPU) Origin = CentaurHauls Id = 0x695 Stepping = 5 Features=0x380b03dFPU,DE,PSE,TSC,MSR,MTRR,PGE,CMOV,MMX,FXSR,SSE VIA Padlock Features=0x3dRNG real memory = 503250944 (479 MB) avail memory = 478543872 (456 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 5 Entries on motherboard pci0: PCI bus on pcib0 $PIR: No matching entry for 0.16.INTA $PIR: No matching entry for 0.16.INTB $PIR: No matching entry for 0.16.INTC $PIR: No matching entry for 0.16.INTD $PIR: No matching entry for 0.17.INTC $PIR: No matching entry for 0.18.INTA agp0: VIA 862x (CLE266) host to PCI bridge on hostb0 agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: bad aperture size agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) device_attach: agp0 attach returned 12 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xe000-0xe3ff, 0xe600-0xe6ff irq 5 at device 0.0 on pci1 cbb0: RF5C476 PCI-CardBus Bridge mem 0xe900c000-0xe900cfff irq 5 at device 10.0 on pci0 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 cbb0: [ITHREAD] cbb1: RF5C476 PCI-CardBus Bridge mem 0xe9004000-0xe9004fff irq 12 at device 10.1 on pci0 cardbus1: CardBus bus on cbb1 pccard1: 16-bit PCCard bus on cbb1 cbb1: [ITHREAD] uhci0: VIA 83C572 USB controller port 0xb000-0xb01f irq 5 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] 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 on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xb400-0xb41f irq 12 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xb800-0xb81f irq 7 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: VIA VT6202 USB 2.0 controller mem 0xe9009000-0xe90090ff irq 4 at device 16.3 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: VIA VT6202 USB 2.0 controller on ehci0 usb3: USB revision 2.0 uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb3 uhub3: 6 ports with 6 removable, self powered umass0: NOONTEC DX HDEN10, class 0/0, rev 2.00/0.01, addr 2 on uhub3 isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 8235 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbc00-0xbc0f at device 17.1 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] pci0: multimedia, audio at device 17.5 (no driver attached) vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xc800-0xc8ff mem 0xe900a000-0xe900a0ff irq 5 at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x74 miibus0: MII bus on vr0 ukphy0: Generic IEEE 802.3u media interface PHY
Re: Sound skipping problem; Asus A8V-X w/ VIA VT8251/8237A on-board HDA (sound)
On Sat, May 31, 2008 at 05:35:18PM -0400, [EMAIL PROTECTED] wrote: Help, I've googled my fingers off up to the elbow and no luck:o) Sound works but skips or has gaps at about 1 second intervals. I'm running a fresh install of FreeBSD 7.0 Release (AMD64.) /boot/loader.conf contains: snd_hda_load=YES Other info: Main board = Asus A8V-X AMD64 w/ on-board sound: VIA VT8251/8237A High Definition Audio Controller $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: VIA VT8251/8237A High Definition Audio Controller at memory 0xff5fc000 irq 17 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v channels duplex default) Any help? You might want to play with some hw.snd sysctls, especially; - hw.snd.latency_profile (set to zero) - hw.snd.latency (set to lower value) - hw.snd.feeder_buffersize (increase) 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) pgppKeJysTgmA.pgp Description: PGP signature
VPN (IPSEC)
Hello, I'm trying to establish a VPN tunnel over internet, I read a http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set it up, I'm some what strangeling if my setup will work at all. i have box #1 that have 1 primary IP, which is private IP but in front of my box, I have a device that translate a public IP address into private IP, so technicaly its a public IP not a private, yet system sees it as private, yet my box #2 has interface with real public ip and another interface with private ip, i created GIF0 interface, yet i can't ping private range on other box. box#1 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:0f:fe:aa:f4:61 inet 192.168.1.251 netmask 0xff00 broadcast 192.168.1.255 inet 172.16.172.16 netmask 0x broadcast 172.16.172.16 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1280 tunnel inet 38.96.123.42 -- 74.2.252.194 inet 192.168.1.251 -- 192.168.2.252 netmask 0x [EMAIL PROTECTED] ~ 503$ netstat -rn | grep gif0 192.168.2.252 192.168.1.251 UH 0 15 gif0 [EMAIL PROTECTED] ~ 504$ box#2 su-3.2# ifconfig dc0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:1a:70:10:e3:89 inet 74.2.252.194 netmask 0xfff8 broadcast 74.2.252.199 media: Ethernet autoselect (100baseTX) status: active fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:13:20:09:53:31 inet 192.168.2.252 netmask 0xff00 broadcast 192.168.2.255 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff00 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1280 tunnel inet 74.2.252.194 -- 38.96.132.42 inet 192.168.2.252 -- 192.168.1.251 netmask 0x su-3.2# netstat -rn | grep gif0 192.168.1.251 192.168.2.252 UH 0 602 gif0 su-3.2# any suggestions are welcome, thanks! -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gdb remote debugging
I am trying to set up remote debugging with gdb. I basically followed the handbook and several other guides I found online: building a custom kernel and setting the correct flags on sio.0. When I enter into ddb and type gdb I always get The gdb remote debugging backend could not be selected. Can someone please shed some light on what kind of fault is pointed in this message. Is it a connection problem to the remote gdb or an error in loading the backend in the kernel itself? I am running 7.0RELEASE. Oren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mono-addins-0.3.1 port fails with Error 1
I'm trying to get the software for an open source software defined radio project, which is written in c#, working on FreeBSD. I've applied to join the BSD# mailing list, but have not received a response as yet. I need mono-develop (it's actually merged into the ports framework after using the mono-merge script), but it depends on mono-addins which fails to install with the output below. I was wondering if anyone here has any suggestions. I'm running 6.3-release, all installed ports are up to date, as is the ports tree itself. === monodevelop-1.0 depends on executable: mautil - not found ===Verifying install for mautil in /usr/ports/devel/mono-addins === Building for mono-addins-0.3.1 Making all in Mono.Addins gmake[1]: Entering directory `/usr/ports/devel/mono-addins/work/mono-addins-0.3.1/Mono.Addins' Creating policy.0.2.Mono.Addins ILALINK 0.7.4 - IL Assembly Link Utility Copyright (c) 2001, 2002, 2003 Southern Storm Software, Pty Ltd. Usage: /usr/local/bin/al [options] input ... --output file or -o file Specify the output file to use. The default name is based on the name of the first input file. --format exeor -e Set the output format to executable. --format dllor -d Set the output format to dynamic link library. --format objor -j Set the output format to object file. --library name or -l name Link against the library `name'. --library-dir name or -L name Look for libraries in the directory `name'. --no-stdlib or -n Do not link against the standard library. -fstdlib-name=name or -S name Specify the name of the standard library (default is `mscorlib'). -flibc-name=nameor -C name Specify the name of the standard C library. --shared Link the output as a shared image (default). --static Link the output as a static image. -fassembly-name=nameor -a name Specify the name of the assembly to embed in the output. -fassembly-version=version or -A version Specify the assembly version to embed in the output. -fmodule-name=name or -M name Specify the name of the module to embed in the output. -fassembly-key=key or -K key Specify the assembly's public key value. --entry-point name or -E name Specify the name of the entry point for the program. -fresources=fileor -r file Link the specified resource file with the output. --resources-onlyor -R Create an output that only contains resources. -fprivate-resources or -p Mark the resources as private to the output assembly. -fminimize-parameters or -z Minimize the size of the parameter table in the output. -fwin32res=file or -W file Specify a Win32 resource file to add to the image. -fwin32icon=fileor -i file Specify a Win32 icon file to add to the image. -fhash-algorithm=name or -H name Specify the algorithm to use to hash files (SHA1 or MD5) -fmetadata-version=version or -V version Specify the metadata version to embed in the assembly. -fculture=name or -u name Specify the resource culture (e.g. en-US). -m32bit-onlyor -3 The resulting output file can only be used on 32-bit systems. -mcui-subsystem or -c Link for the command-line subsystem (default). -mgui-subsystem or -G Link for the GUI subsystem. --version or -v Print the version of the program --help Print this help message. gmake[1]: *** [policy.0.2.Mono.Addins.dll] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/mono-addins/work/mono-addins-0.3.1/Mono.Addins' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/devel/mono-addins. *** Error code 1 Stop in /usr/ports/devel/monodevelop. *** Error code 1 Stop in /usr/ports/devel/monodevelop. -- Thanks, John. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
small office backup hardware advice
Hey, Im working in a small office (4 PC with 80GB HD each and a server with a 200GB HD). We were working with no backups at all until now, we was just replicating some critical data in more than 1 PC all the time, back then there was no money for any hard copy of the data outside of the network (maybe a couple DVDR time to time). Now, they gave me some money for backup stuff. What will be a solid but cheap solution to keep some usefull backups? If i do full copy i got to keep 200GB aprox of data per month, if i can backup diffs, then it will be like 100GB. There is no big hurry on the backup time, since i can have a PC out of service for a whole day, maybe 2.5 in weekends. Im a real newbie on the backup world :-( Thanks for any suggestions. Sdav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_create v make package
Giorgos Keramidas wrote: On Thu, 29 May 2008 22:06:22 +0100, Chris Whitehouse [EMAIL PROTECTED] wrote: Hi What's the difference between packages made by these two methods? Eg I have youtube_dl installed. From within the youtube_dl port directory # make package-recursive resulted in -rw-r--r-- 1 root wheel 8389 29 May 21:14 /usr/ports/packages/All/youtube_dl-2008.04.20.tbz whereas from within my home directory % pkg_create -Rb youtube_dl-2008.04.20 resulted in -rw-r--r-- 1 chrisw chrisw 8281 29 May 21:22 youtube_dl-2008.04.20.tbz Packages are just 'tarballs with extra stuff'. You can extract the two tarballs and use `diff -r' to see where they differ :) Of course you can, thank you. Sometimes fear of magic stops me seeing obvious things. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2008-05-11 - 2008-05-31
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]