Re: FreeBSD 7.1 opencrypto --> kern.cryptodevallowsoft
Le Tue, 19 May 2009 14:25:24 +0100, Brendan Kennedy : > Agreed! The driver doesn't seem to be getting executed through > OpenSSH/OpenSSL for ssh session setup either (it used to work that way > on FreeBSD 6.2, I don't know if this feature has been left up to the > user to enable in FreeBSD 7.x??). This is a known problem, you must patch openssl to make it work with cryptodev on FreeBSD 7.x (8.x). There are some patchs, but I don't find them right now... Check the PR database and the mailing lists. ___ 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: ipnat port-range
Le Sun, 17 May 2009 16:16:51 -0400, alexus : > i dont see how things are obvious for you as they not so obvious for > me. first of all my ipf default policy to allow everything. > > so the original question is for ipnat and not for ipf > > now for non-passive (active) i put in these rules > > rdr bce0 0/0 port ftp-data -> lama port ftp-data tcp > rdr bce0 0/0 port ftp -> lama port ftp tcp > > and for pasv i still dont know what to do > > i've tried > > rdr bce0 0/0 port 49152-65534 -> lama port 65534 > > and in my ftp i said that this is range for pasv connections I don't think there is a way to redirect a ports ranges to a ports range with ipnat. For my ftp server I redirect each port (I use 3 to 30039 for FTP) with a rule: rdr vr0 0.0.0.0/0 port 21 -> 192.168.1.4 port 21 rdr vr0 0.0.0.0/0 port 3 -> 192.168.1.4 port 3 rdr vr0 0.0.0.0/0 port 30001 -> 192.168.1.4 port 30001 ... rdr vr0 0.0.0.0/0 port 30038 -> 192.168.1.4 port 30038 rdr vr0 0.0.0.0/0 port 30039 -> 192.168.1.4 port 30039 For ipnat see http://www.westworks.ch/~chris/netbsd/NetBSD-NAT-FTP-server.html Regards. ___ 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: FreeBSD 7.1 opencrypto --> kern.cryptodevallowsoft
Le Tue, 12 May 2009 19:14:38 +0100, Brendan Kennedy : > Hi All, Hello, > FreeBSD_26# sysctl -a | grep crypto > kern.cryptodevallowsoft: 1 > > However, when I try a test, I get the following: > > FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des > cipher 3des keylen 24 > CIOCGSESSION: Invalid argument > FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va des > cipher des keylen 8 > CIOCGSESSION: Invalid argument > > It seems the software crypto device is not available. Do I need to do > any other steps to enable it? Is there another config option that > makes sure it is build as part of Opencrypto framework? Do I need to > build some other software driver instead? Cryptodev fails because it checks that the requested crypto driver provides hardware crypto. function "checkforsoftware" in cryptodev.c And it does not take care about the sysctl kern.cryptodevallowsoft. Looks like a bug and not a feature. OpenBSD's cryptodev seems to take care about the sysctl and i think you can use the cryptosoft driver with it. Regards. ___ 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: FreeBSD and Intel PRO/Wireless 2200BG
Le Wed, 22 Apr 2009 17:04:41 -0400, Daniel Underwood : > After re-reading man iwi, I noticed that it says: > > "This driver requires firmware to be loaded before it will work. You > need to obtain iwicontrol(8) from the IWI web page listed below to > accomplish loading the firmware before ifconfig(8) will work." > > I'm going to look into this. Sounds like this may be the problem. Do > you think so? No, before FreeBSD 7 you needed to download the firmware. There is a port in /usr/ports/net/iwi-firmware but it is only for FreeBSD < 7 You don't need anything on FreeBSD 7.x and you it seems you are not using the right manual page for 7.1: http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html Regards. ___ 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: FreeBSD and Intel PRO/Wireless 2200BG
Le Wed, 22 Apr 2009 15:04:09 -0400, Daniel Underwood : > My /boot/loader.conf contains: > > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > wlan_wep_load="YES" > wlan_tkip_load="YES" > wlan_ccmp_load="YES" I do not use iwi anymore, but in the past you had to agree the firmware license. With a "legal.intel_iwi.license_ack=1" in bootloader.conf See man iwi. ___ 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: how to copy files without directories
Le Mon, 20 Apr 2009 13:24:42 +0200, "Zbigniew Szalbot" : > Ahh... I am sorry. Wrong subject. I want to copy directories without > files they contain. see mtree(8) Something like $ mtree -dc -p path1 | mtree -U -p path2 will copy path1 under path2 ___ 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: snd-hda no sound whatsoever
Le Sat, 18 Apr 2009 22:09:51 -0400, Eitan Adler : Hi, > > After upgrade upgrade my system to 7.2-PRERELEASE, my sound card > > works perfectly. > This is why my sound broke (I forgot to mention it was after an > upgrade). cd ~/stable7/sys/dev/sound/pci/hda && svn update -r182969 > "fixed" my problem. The sound unit may change between 7.1 and 7.2. You can try to change the sysctl hw.snd.default_unit If it still doesn't work put a verbose boot dmesg of snd_hda and pcm somewhere (see the man page of snd_hda) and ask on the freebsd-multimedia@ mailing list. Regards ___ 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: anybody know about a 3.01 package *With* browser?
Le Sun, 5 Apr 2009 15:49:20 -0700, Gary Kline : [OpenOffice] > I want any/all the addons or plugins, and the > mozilla browser would be a plus. What is the goal of this browser option in OOo? To speed up the compilation of OOo, you can use ccache (option WITH_CCACHE) ___ 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: [snd_hda] hear no sound if acpi=on
Le Fri, 3 Apr 2009 13:24:49 +0700, kyanh : > Hello all, > > I have FreeBSD-7.1-RELEASE on my Laptop (compaq presario cq40-401 > au). In formation of my devices can be found at > > * http://viettug.org/attachments/download/128/icy_pciconf.txt > (`pciconf -lbv`) > * http://viettug.org/attachments/download/132/icy_lspci_nn.txt > (`lspci -nn`) > * http://viettug.org/attachments/download/147/icy_kernel.txt (the > kernel configuration) > > When I boot the system with `acpi=off`, I can hear the sound > (snd_hda). But when `acpi` is used, I hear no sound though the driver > seems to work and `mplayer` detects /dev/sp and /dev/mixer > successfully. > > > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: >at memory 0x9241 irq 19 kld snd_hda [20080420_0052] [MPSAFE] > (mixer only) pcm1: at > memory 0x9250 irq 16 kld snd_hda [20080420_0052] [MPSAFE] > (1p:1v/1r:1v channels duplex) > > > I don't experience FreeBSD much. Could you help me to turn the sound > on? There were some changes in snd_hda just after the 7.1-RELEASE. You can try to update to a 7-STABLE. You can also take the files of snd_hda from current or from stable (/usr/src/sys/dev/sound/pci/hda/*) and rebuild the kernel module. Regards. ___ 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: Logcheck errors after cvsup
Le Sat, 14 Mar 2009 10:48:58 +0100, Marco Beishuizen : > I cvsupped my portstree yesterday and updated my system with > portupgrade -a. All went well except for logcheck. Since the cvsup I > don't receive the normal hourly mail with the results of the checking > in my mailbox but the following (the subject of the mail is: Cron > if [ -x /usr/local/sbin/logcheck ]; then nice > -n10 /usr/local/sbin/logcheck; fi): > > /usr/local/sbin/logcheck: command substitution: line 49: syntax error > near unexpected token `)' I guess it is related to the recent bash upgrade. Check the ports@ mailing list, there are some topics about bash4. Looks like it is broken. Regards. ___ 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: Is there a roadmap for FreeBSD ?
Le Wed, 11 Mar 2009 08:25:12 + (GMT), Saifi Khan : > > Personally I don't think roadmaps are all that usefull for open > > source projects that depend on volunteer work. Volunteers tend to > > work on an area that either scratches an itch for them or that > > interests them. > > Fine, may i have the list of 'itch'es ? Ivan Voras has a nice page "What's cooking for FreeBSD 8?" http://ivoras.sharanet.org/freebsd/freebsd8.html ___ 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: Determining scancodes for obscure keyboard to modify keymap
Le Tue, 24 Feb 2009 14:28:54 -0700, carnage : > I'm wondering how to go about determining the scancodes for keys on > keypress. > > I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 > volume control keys and an eject key but no scroll lock, num lock, > pause/break, etc. I'm wondering how I would go about changing some > of these not so useful keys into useful keys. > > The keymap files in /usr/share/syscons/keymaps seem easy enough to > modify but I am unsure of how to determine what the scancodes > associated with the actual keys on keypress are. I asked for this some times ago without any reply. Finally I added some printf in the kbd driver. I don't remember exactly where, I think it was in the function genkbd_keyaction() in kdb.c (something like printf("%i - ", keycode) That's ugly... Is there a better way to get the scancode? ___ 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: What is correct way to enable watchdog?
Le Tue, 24 Feb 2009 13:01:13 -0800 (PST), Peter Steele : > > If -e cmd is not specified, the daemon will > > perform a trivial file system check instead. > > So -e has to be provided for the system to reboot? No, if -e is provided, watchdogd execute the command 'cmd', if the command succeed it resets and restarts the watchdog. Without -e, watchdogd tests a stat("/etc",xxx) syscall. See http://ezine.daemonnews.org/200406/watchdog.html > >This smells more like a bug in watchdog. If that's the case, the > >crash dumps should point right at it, at which point I'd take it to > >freebsd-stable or -current, whichever applies to the OS version. > > Okay, we'll enable dumpdev/dumpdir and see what we get. If the watchdog is a hardware watchdog, you will not get any log or crash dump, just a hard reset. Which watchdog are you using? Regards. ___ 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: Can't use psm/synaptics with my touchpad
Le Tue, 17 Feb 2009 09:58:34 +0100, Lagrange Marc : > But i get a problem with the touchpad. > > The touchpad/keyboard are removable and detected as: > > ums0 2> on uhub2 ums0: 2 buttons. > > It works, but basically, like a normal mouse... > > I've tried psm with hw.psm.synaptic on /boot/loader.conf without > success, doesn't detect and no /dev/psm0 created, with xorg/synaptics > same problem, it doesn't detect any compatible touchpad. On FreeBSD synaptics handles only psm touchpads (ie on ps/2 bus), not usb. ___ 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: issues with X not loading
Le Wed, 28 Jan 2009 14:29:06 -0700 (MST), Keith Seyffarth a écrit : > (==) Using config file: "/etc/X11/xorg.conf" > Parse error on line 75 of section Files in file /etc/X11/xorg.conf > "RgbPath" is not a valid keyword in this section. > (EE) Problem parsing the config file > (EE) Error parsing the config file > Does anyone have any suggestions? Yes, please see /usr/ports/UPDATING, Xorg was updated. Regards. ___ 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: why printf() don't work?
Le Mon, 05 Jan 2009 15:29:23 +0800, Edward King a écrit : > I use FreeBSD7.0,and use signal,like follows: > signal(SIGHUP,sig_hup); > signal(SIGIO,sig_io); > > when I run call following code,it can run,but I find a puzzled > question,it should print some information,such as printf("execute > main()") will print execute main(),but in fact,printf fuction print > none!!! Why printf function do not go work? Just to be sure : You should not use printf() in a signal handler, it is not considered 'signal safe'. (See man sigaction) Regards. ___ 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: Memory Usage
Le Fri, 2 Jan 2009 10:47:32 -0500, "Grant Peel" a écrit : > Hi all, > > Does anyone have scripts they may be willing to share the parses any > FreeBSD utility (top, w, etc) suitable for using the output to use > mrtg to show memory and disk usage? Mrtg needs a script that returns four lines : - the first value - the second value (return 0 if only one value is used) - the Uptime - The legend By example a little script to return the number of processus using ps -xa net:/<1>local/libexec/mrtg# ./pn2mrtg 193 0 12 days, 10:20 net see http://user.lamaiziere.net/patrick/mrtg.tar.gz as examples. (The scripts are quite uggly...) http://lamaiziere.net/private/stat/net/ for the result OTH, regards. ___ 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: How do I obtain a copy of the FreeBSD operating system
Le Mon, 22 Dec 2008 18:59:50 -0500, "theresascottie" a écrit : > How can I download or obtain a copy of FreeBSD? http://www.freebsd.org No? Regards. ___ 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: mount DVD - invalid argument
Le Sat, 20 Dec 2008 11:45:49 +, "Max Russell" a écrit : > I have two DVD drives on my machine. > > m...@~: grep acd /var/run/dmesg.boot > acd0: DVDR at ata1-master UDMA66 > acd1: DMA limited to UDMA33, device found non-ATA66 cable > acd1: DVDROM at ata1-slave UDMA33 > > the optical section of my fstab is like this: > > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > /dev/acd1 /cdrom cd9660 ro,noauto 0 0 > > however, when I try and mount a DVD, I get the following: > > m...@~: sudo mount_cd9660 -s 0 /dev/acd0 /cdrom > mount_cd9660: /dev/acd0: Invalid argument > > I have been able to mount CDs. > > If I'm missing something really obvious, any help would be > appreciated. Some DVDs are in UDF format. Use mount_udf(8). ___ 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: use different mouse/input devices in X.org
Le Sat, 13 Dec 2008 13:53:02 +0100, Marco a écrit : > Hi List, Hello, > i've using a Notebook with touchpad which works perfeclty fine. > However, i'd like also to use in paralell an external via usb connect > mouse. If i configure this hard into X.org config > it will work but i stumble here on problems. First of all, i have to > shutdown the X.org Server to do so, and restart it. Secondly i was not > able to tell X.org to use both device, which > would be the touchpad and the external mouse. > Possibly there is a daemon i can run in backround which maybe handles > that? Anyone has a solution for that kind of problem or something to > hit me in the right direction? moused(8) is able to mix several mice. You can use devd to call moused when an usb mouse is inserted, with a rule in /etc/devd.conf like : attach 200 { device-name "ums0"; action "/usr/sbin/moused -a 5 -p /dev/ums0 -I /var/run/moused.ums0.pid ; /usr/sbin/vidcontrol -m on"; }; In Xorg.conf, use /dev/sysmouse for the mouse device. That's all. Regards. ___ 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: custom kernel
Le Fri, 05 Dec 2008 20:10:19 -0500, PJ <[EMAIL PROTECTED]> a écrit : > linking kernel > uvscom.o (.text+0x293): In function 'uvscom_attach' ; > :undefined reference to 'ucom_attach' etc. > *** Error code 1 > > did I do something wrong? system is still on and functioning but how > do I make the custom kernel? > > this is my kernel file: > #device ucom # Generic com ttys > device uvscom # USB serial support for DDI pocket's PHS The device uvscom needs ucom... Anyway you can use the GENERIC kernel and just kldload the necessary modules. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: QT4 compilation problem
Le Fri, 05 Dec 2008 23:39:14 +1000, Warren Liddell <[EMAIL PROTECTED]> a écrit : > I have been trying for quite a while now to try and get some > assistance from the various lists, google, forums an even man pages > and so far not a single piece of advise on how to solve my issue and > im getting desperate an ready to throw BSD in for goin back to > godforbid windows, so once i again i ask for some help with why QT > refuses to compile saying . > > I have used the little-endian an big-endian flag an it made no > difference, so plz someone have the kindness to help. Looks to be a known problem, see http://mail.kde.org/pipermail/kde-freebsd/2008-December/004094.html (please, use more accurate subject. Thanks). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
Le Wed, 3 Dec 2008 15:21:19 +0100 (CET), Wojciech Puchar <[EMAIL PROTECTED]> a écrit : > >>> I use gjournal since FreeBSD 7.0 and it seems to work fine. > >> is it really smart enough to not write everything twice or am i > >> wrong? > > > > It writes everything twice :) > > > > (but every journaling system has to write something twice) > > there is a big difference between something (metadata, short data > writes and everything (like huge file data) I don't know how Gjournal works, but it works below the filesystem (so i think it is not aware of metadata), see http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
Le Tue, 2 Dec 2008 08:57:58 -0800, "Don O'Neil" <[EMAIL PROTECTED]> a écrit : > With all the discussions of ZFS lately, I'm beginning to wonder if > it's really ready for a production environment. Concerns over memory > utilization, speed, stability, etc... > > So, my question is this... If you were building a brand new 6.3/7.0 > server with decent performance (dual core, 32 Bit OS - because of > known compatibility issues with specific software, 4 GB RAM, etc...) > what file system would you choose? What options are out there besides > UFS and ZFS? What FS's are least likely to have corruption issues > when there are power hits? May be UFS + gjournal. I use gjournal since FreeBSD 7.0 and it seems to work fine. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPsec's use of processors
Le Fri, 14 Nov 2008 13:37:58 +0200, "Riaan Kruger" <[EMAIL PROTECTED]> a écrit : > I would like to know how IPsec makes use of a multi processor machine? > > I have gateway (FreeBSD 7.0) with four SAs configured. When testing > throughput through the configured SAs, I see (with systat) that only > one cpu works really hard (+-10% idle min), two others work a bit > (+-70% idle min) and the fourth CPU does pretty much nothing. > > Is this normal, shouldn't at least the two cpus work hard because of > the high throughput? I guess that's because the cryptographic requests are dispatched and done by two kernel threads. The thread 'crypto' dispatches and processes the requests, the thread 'crypto-returns' returns the results. You can see these kernel threads with top S H Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is a recommended soundcard for FreeBSD?
Le Wed, 08 Oct 2008 22:42:43 +0200, Aniruddha <[EMAIL PROTECTED]> a écrit : > Because of the problems with my onboard Intel HDA audio chip I plan to > buy a soundcard that is supported by FreeBSD. There is a new hda driver in current, may be you can try it on RELENG_7? See http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html Good luck! Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB mouse problems
Le Mon, 06 Oct 2008 08:41:59 +0200, Aniruddha <[EMAIL PROTECTED]> a écrit : > I have one Razer Lachesis USB mouse attached to the rear usb ports of > my pc. This mouse has never worked, however when I plug in another USB > mouse in the front of my pc it works?! I wonder; how do I get the > Razer Lachesis working without plugging it in the front? I don't know. > Furthermore I wondered if there is a way to use both the mouse in a > terminal (gpm) and in xorg? Yes, see moused(8) and vidcontrol(1). Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade failure
Le Fri, 3 Oct 2008 13:26:33 -0400, "Michael P. Soulier" <[EMAIL PROTECTED]> a écrit : > So, I recently upgraded from 5.5 to 6.3, and as such, ran a > portupgrade -fa to rebuild my ports against 6.3. > > I just noticed this. > > ===> Cleaning for ruby-1.8.6.287,1 > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb in /var/db/pkg ... > Any idea what would cause this? Portupgrade is often confused with his database on upgrade. Delete /var/db/pkg/pkgdb.db and retry. May be you have to delete /usr/ports/INDEX-6.db too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Utility to extract iso files without burning
Le Fri, 3 Oct 2008 20:28:44 +1000, Warren Liddell <[EMAIL PROTECTED]> a écrit : > Im looking for a GUI or command line that will allow me to extract > information within an ISO file... im using FreeBSD 7.1-PRERELEASE I never tried it but bsdtar is able to extract an iso image. "tar creates and manipulates streaming archive files. This implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO 9660 cdrom images and can create tar, pax, cpio, ar, and shar archives." Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Driver debugging help
Le Thu, 11 Sep 2008 11:59:05 +0200, "Riaan Kruger" <[EMAIL PROTECTED]> a écrit : > I am looking for hints to debug a driver I am working on. I get a > page fault when running the driver intensively. The stack trace from > the kernel dump only goes up to a free command which I suspect is > being called from my driver. No matter what I do I cannot get a more > "complete" stack trace. kgdb says something about the stack being > corrupt when I do a backtrace/stack trace. > > Is there anything else I could use to help me pinpoint where I am > going wrong? > > I have tried memguard but it has given me no information. Maybe I am > using it incorrectly. Did you try redzone(9)? If the stack is corrupted it could be a buffer overflow. You can ask on freebsd-hackers or freebsd-drivers mailing lists. And may be show us the code? Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB modem: how to enable driver?
Le Sun, 31 Aug 2008 12:20:19 +0300, "Artur :)" <[EMAIL PROTECTED]> a écrit : > Hello! I am going to install FreeBSD on my desktop, currently running > M$ Windows. I have ZTE wireless USB modem, and there is no specific > driver provided for *NIX. But, this device can be used with generic > USB serial port driver. In Linux, device is not recognized > automatically, but can be enabled with command: "sudo modprobe > usbserial vendor=0x19d2 product=0xfffe". Which command can do same > effect in FreeBSD? The command to load a kernel module is kldload. For your modem, try the ubsa driver (I'm not sure) kldload ubsa See man ubsa, man kldload, man loader.conf and the FreeBSD Handbook. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, Ubuntu and Win XP on one system
Le Mon, 11 Aug 2008 18:05:10 +0200, "Jack Raats" <[EMAIL PROTECTED]> a écrit : > I would like to put FreeBSD, Ubuntu and WInXP on one system using a > boot manager. > > Which version do I have to put first on the harddisk, which second > and which last? > > I also want to know which bootmanager to use? By default, (the last time i tried Ubuntu) Ubuntu removes the bootmanager to put Grub. But with the "alternate" CD of Ubuntu you can choose to install Grub (or Lilo) on the Linux partition. For the bootmanager I use GAG, GAG is cool and very simple. I'm not sure is there is still an alternate CD for Ubuntu. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Having some problems with a FreeBSD mail server (SMTP)
Le Wed, 30 Jul 2008 18:35:17 -0600, Andrew Falanga <[EMAIL PROTECTED]> a écrit : > Hi, > > I run a mail server for my church. Today I was called that folks are > able to receive, but not send their mail. They are all currently > configured for POP3 (I use dovecot). > > At home I tried to send mail to two different e-mail accounts of mine > using the church e-mail server and was successful. I used KMail for > this. > > As I look through /var/log/maillog I do not even see > authid= in the mail log (I'm using TLS with > sendmail). One of the pastor's told me the error he's seeing is > "timeout." They are using Outlook, I'm not sure of the version. > What problems do people here usually encounter with Outlook mail > clients and their SMTP servers? > > At this point, I'd just like to have some leads. Any ideas what > might be keeping them from sending? They can all log in and receive > e-mail POP3. May be their ISPs filter the port 25 now? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD source code
Le Mon, 21 Jul 2008 08:08:26 +0530, "Madana" <[EMAIL PROTECTED]> a écrit : > Dear sir/madam.. > I am a student studying computers and would like to build unix > operating systems later on so i was browsing through your website for > the source code but could not find it so it would be very very nice > if you could give me the url of the page where i can get the source > code.. If you want to explore the source code of the kernel, the 'FreeBSD Kernel Cross-Reference' web site is very useful. http://fxr.watson.org/ Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PR - Incorrect confirmation code
Le Thu, 10 Jul 2008 20:35:38 -0700 (PDT), Unga <[EMAIL PROTECTED]> a écrit : > Hi > > I tried to submit a problem report over the web > (http://www.freebsd.org/send-pr.html) but on submit gives following > error: > > "Incorrect confirmation code > > You need to enter the correct code from the image displayed. Please > return to the form and enter the code exactly as shown. Thank you." > > Its really "Thank you" from my part also, this Problem Report wasted > lot of my time :( "Note: before hitting 'submit', please save your work. If your browser caches images, or if you take longer than 45 minutes to fill in the form, you may have a stale image shown on your page, and your submission will be rejected. Depending on your browser, you might lose work in this case. Help save yourself from this common frustration" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: locate:database too small
Le Thu, 10 Jul 2008 22:33:14 -0500, Paul Procacci <[EMAIL PROTECTED]> a écrit : > Type exactly that within a shell (as root): > > /usr/libexec/locate.updatedb > > or alternatively > > /etc/periodic/weekly/310.locate This is not the same thing, /etc/periodic/weekly/310.locate calls locate.updatedb with the user nobody. You should avoid to run locate.updatedb as root. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cant su to root
Le Tue, 1 Jul 2008 20:43:21 +1000, Warren Liddell <[EMAIL PROTECTED]> a écrit : Hi, > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this > may have done this an sadly now i cant run or do anything that > requires root access. > > Any thoughts? The user must be in the group wheel. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: debug.cpufreq.lowest doesn't work?
Le Sun, 29 Jun 2008 12:42:33 +0100, Kemian Dang <[EMAIL PROTECTED]> a écrit : > Hi all, Hi, > I set "sysctl debug.cpufreq.lowest=800" but sysctl -a still told me > that the CPU freq is at 300, though it will jump high if I am doing > some heavy work. > This reduce of performance makes me even have trouble on browsing > website. Did I miss something important? Just to be sure... This sysctl prevents cpufreq to decrease the frequency but if the frequency is lower than the sysctl, the frequency is not increased. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: No serial console input in loader
Le Sat, 28 Jun 2008 13:15:11 +0200, Anselm Strauss <[EMAIL PROTECTED]> a écrit : > Hi, Hello, > I have a small router that has no video output, it only supports a > serial console. I configured the serial console > in /boot/boot.config, / boot/loader.conf and /etc/ttys. It's working > in the BIOS, on the boot prompt before the loader starts, and when > logging in on the getty. The only place where it's not working > correctly is at the loader prompt. I can see the loader menu and the > logo, but I can't choose the boot entry or interrupt the timeout. I > can't make any input at all. What could this be? Coud you put here the related entries of /boot/loader.conf and /etc/tty ? I don't change anything in /boot/boot.config Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ppp reconnecting problem
Le Sun, 27 Apr 2008 09:13:06 +0200, Ivan Toman <[EMAIL PROTECTED]> a __crit : > >Hello! >I encountered big problem after switching router from gentoo to >freebsd. It does not properly reconnect ADSL link after loosing >connection, for example, when ISP cycle IP address or when I pull > out cable from ADSL switcher for testing purporse. I cannot realize > what's going on and really need help. >First problem get when ISP disconnect me after 24 hours due to IP >change. Link does not properly get reconnected. ppp tries to > connect, and appearenty is connected, but something is wrong because > no traffic is possible and after few seconds ppp goes down and > reconnects again. And again and again If you kill ppp and restart it, does-it work again ? When I was runing ppp on FreeBSD i saw few times this kind of "already in network phase" You can restart ppp each day with cron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: LOADER_TFTP_SUPPORT=YES and FreeBSD 6.3
Le Sat, 26 Apr 2008 20:56:26 +0300, "Omer Faruk Sen" <[EMAIL PROTECTED]> a écrit : > Hi, Hello, > I am trying to build a install server. I have used make > -DLOADER_TFTP_SUPPORT=YES in /usr/src/obj and copied it over to > my /pxeboot/ which I have copied contents from FreeBSD 6.3 Install > cd. But no matter what I have done pxeboot always tries to use nfs > but no tftp. There is a similar thread that states with FreeBSD 6.3 > and above LOADER_TFTP_SUPPORT=YES doesn't work: > > http://www.opensubscriber.com/message/freebsd-questions@freebsd.org/8560733.html > > > Does anyone successfully managed to use pxeboot with tftp ( and > mfsroot) but not with the nfs mount? It seems you must recompile the kernel without NFS_ROOT. See : http://www.ultradesic.com/?section=144 I've just did it to install FreeBSD 7.0 via tftp only on a litle Soekris box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Even more documentation?
Le Fri, 25 Apr 2008 22:32:37 -0400, "Edward Ruggeri" <[EMAIL PROTECTED]> a écrit : > Hi all, > > I've used FreeBSD for about two years now. Besides using Linux for > projects on school computers, I never had much experience with > Unix-like operating systems. While I get by nicely on FreeBSD, I > recently felt that I didn't have a very solid understanding of it's > organization or structure. I suppose one can't know everything about > an operating system with as much functionality as FreeBSD, but I > started to feel like my knowledge was really ad-hoc, and that I didn't > completely understand what I was doing (as if I had learned only by > example). > > To that end, I started reading the FreeBSD handbook front-to-back. > I've gotten to Part III, and while it's been very valuable, I still > feel like I'm learning by example, and not by understanding the > operating system. I'm starting to think I'm expecting something out > of the handbook it's not designed to do. I think you need a good book about UNIX concept and administration. Some spoke about "The design and implementation of the FreeBSD operating system", this is a good book but much more about the design of the kernel. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Freebsd-update and update of jails
EHLO, Is there a way to use freebsd-update and use it to update the main host and serveral jails ? To update my jails (from the main host) i make a buildworld and then : mergemaster -p -D /thejail make installworld DESTDIR=/thejail mergemaster -D /thejail How i can use binary update and then update the jails? I would like to avoid a make buildworld, so may be i can use freebsd-update for the main host and another method for the jails? (I just discovered freebsd-update, it is cool). Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xorg broken after using portupgrade
Le vendredi 30 mars 2007, E. J. Cerejo a écrit : > I'm running FBSD release 6.2 and after updating my ports with portupgrade > I can start xorg. I'm getting this error message: > > waiting for X server to shut down FreeFontPath: FPE > "/usr/X11R6/lib/X11/fonts/misc/:unscaled" refcount is 2, should be 1; > fixing. X connection to :0.0 broken (explicit kill or server shutdown). > > > Has anyone any idea what might be the problem? Look at : /var/log/Xorg.0.log Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[portupgrade] pkgdb -L
Hello, I'm asking about the goal of the new option -L of pkgdb : -L --fix-lost Check and restore lost dependencies against the ports tree. What is a lost dependency ? # pkgdb -L Look for lost dependencies: ImageMagick-6.3.2.0: found print/ghostscript-afpl -> Fixed. ORBit2-2.14.6: ok [...] But i use ghostscript-gnu-7.07_15 So : # pkgdb -F ---> Checking the package registry database Stale dependency: ImageMagick-6.3.2.0 -> ghostscript-afpl-8.54,1 (print/ghostscript-afpl): ghostscript-gnu-7.07_15 (score:70%) ? ([y]es/[n]o/[a]ll) [a] And then i've got the same lost dependency again. I do not understand the goal and the utility of this option -L, a sample ? Thanks, regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.2.1 won't run with ATI RADEON
Le dimanche 28 janvier 2007 03:11, [EMAIL PROTECTED] a écrit : > I am new to Unix and purchased a copy of FreeBSD 5.2.1 Well, FreeBSD 5.2.1 is outdated! You should update to a recent release i think. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: general question re: performance
Glenn Becker : > I'm running 6.2 on an old but not ancient Dell laptop, PIII 1000MHz, > which now has seven operating systems on it. I have noticed recently that > the graphics-heavy planetarium program Stellarium -- which runs great on > my Debian GNU/Linux system -- barely creaks along on FreeBSD and is > basically unusable. You need "direct rendering" to be enabled from Xorg. Check it with glxinfo $ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes <=== must be yes What is your graphics card ? > Is it generally accepted that a custom kernel with all the fat > trimmed will help? No. (stellarium is very nice!) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Improvement to IPFilter / nfsd in FBSD (6.2+?)
Garrett Cooper : Hello, > Just wondering if anyone has IPFilter / nfsd setup properly on their > boxes with any beta versions of FBSD. > > I am having loads of issues transferring large files (~300MB apiece) or > issues transferring a large number of smaller files (3MB ~ 10MB apiece) > from a FBSD 6.1 client to a FBSD 6.1 server, where it transfers part of > the files, then cp / mv get stuck indefinitely on the client system. The > stuck cp / mv processes cause the client to hang on reboot, and then > terminate before all of the buffers are written to disk (which forces > fsck on next boot). Did you try to use tcp transport with NFS ? See the '-T' option of mount_nfs(8). See also the -i option (Make the mount interruptible). Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: devd usage
Maxim Vetrov : > Hi, Hello, > I'm running 6.1 on Toshiba notebook SAtellite L100. Get stuck with > auto config of wireless cardbus adapter (D-Link DWL-G650). I want to > load kernel module (if_ath.ko) automatically when I insert it into the > slot. I found that I need /etc/devd.conf to be configured properly. > There is a Deqna example that is quite self-explaining excluding those > magic numbers assigned to "manufacturer" and "product". Where I can get > these? I think with the devd's socket : By sample i insert my usb mouse : # cat /var/run/devd.pipe ? at port=0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 release=0x0110 sernum="" on uhub1 +ums0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 release=0x0110 sernum="" intclass=0x03 intsubclass=0x01 at port=0 interface=0 vendor=0x0458 product=0x0036 devclass=0x00 devsubclass=0x00 release=0x0110 sernum="" intclass=0x03 intsubclass=0x01 on uhub1 There are two events here, first an unknown device is detected '?' and then a new device is inserted '+ums0'. See man devctl Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"