Mouse Issues
I'm not exactly sure what is going on here. Just about 10 minutes ago my mouse locked up and stopped responding, eventually forcing me to reboot because I couldn't get it to start responding again. I even had to unplug it from the USB port (it is a USB mouse) and plug it back in because it lost power for some reason. I tried restarting hald and dbus, figuring that was the problem, I also tried using sysinstall to configure the mouse to no luck. I have use of my mouse again, but my scroll wheel is no longer being recognized. I've once again tried using sysinstall and restarting hald and dbus to no avail. It's a fairly old (about 6-8 years) Logitech optical mouse (if I'm not mistaken, this is one with force feedback, but I'm not concerned about that feature). The applications I had running at the time were: OOo 3.1.1 WindowMaker FF 3.6 TB 3.0.1 Pidgin 2.6.5 Gkrellm2 with weather plugin I was actually on the phone talking with someone while trying to check up on some messages I had received via FaceBook when the mouse went out. At first I had thought that my computer had locked because nothing seemed to be responding, but a quick check showed me I could still alt+1-5 through my workspaces (keyboard is also USB and apparently suffered no such interruption). Both mouse and kb are on a PCI USB 2.0 expansion port because the builtins at the back of the box are on their way out (mobo is about as old as the mouse). -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscribed. signature.asc Description: OpenPGP digital signature
Mouse Issues
Resent: Originally sent over one hour ago. I'm not exactly sure what is going on here. Just about 10 minutes ago my mouse locked up and stopped responding, eventually forcing me to reboot because I couldn't get it to start responding again. I even had to unplug it from the USB port (it is a USB mouse) and plug it back in because it lost power for some reason. I tried restarting hald and dbus, figuring that was the problem, I also tried using sysinstall to configure the mouse to no luck. I have use of my mouse again, but my scroll wheel is no longer being recognized. I've once again tried using sysinstall and restarting hald and dbus to no avail. It's a fairly old (about 6-8 years) Logitech optical mouse (if I'm not mistaken, this is one with force feedback, but I'm not concerned about that feature). The applications I had running at the time were: OOo 3.1.1 WindowMaker FF 3.6 TB 3.0.1 Pidgin 2.6.5 Gkrellm2 with weather plugin I was actually on the phone talking with someone while trying to check up on some messages I had received via FaceBook when the mouse went out. At first I had thought that my computer had locked because nothing seemed to be responding, but a quick check showed me I could still alt+1-5 through my workspaces (keyboard is also USB and apparently suffered no such interruption). Both mouse and kb are on a PCI USB 2.0 expansion port because the builtins at the back of the box are on their way out (mobo is about as old as the mouse). -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscribed. signature.asc Description: OpenPGP digital signature
Mouse Issues
Resend: Sorry if this has appeared twice before. First time sent at 11:13 CST, sent a second time at 12:43 CST. Sending this one at approximately 21:37 CST, CCing owner because this (posting new mails to the list) is an on going problem I'm having. I would like to know what the problem is so I can have some hand in trying to solve it. Now on to the problem at hand. I'm not exactly sure what is going on here. Just about 10 minutes (more like several hours) ago my mouse locked up and stopped responding, eventually forcing me to reboot because I couldn't get it to start responding again. I even had to unplug it from the USB port (it is a USB mouse) and plug it back in because it lost power for some reason. I tried restarting hald and dbus, figuring that was the problem, I also tried using sysinstall to configure the mouse to no luck. I have use of my mouse again, but my scroll wheel is no longer being recognized. I've once again tried using sysinstall and restarting hald and dbus to no avail. It's a fairly old (about 6-8 years) Logitech optical mouse (if I'm not mistaken, this is one with force feedback, but I'm not concerned about that feature). I was actually on the phone talking with someone while trying to check up on some messages I had received via FaceBook when the mouse went out. At first I had thought that my computer had locked because nothing seemed to be responding, but a quick check showed me I could still alt+1-5 through my workspaces (keyboard is also USB and apparently suffered no such interruption). Both mouse and kb are on a PCI USB 2.0 expansion port because the builtins at the back of the box are on their way out (mobo is about as old as the mouse). Any ideas? -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. Original content copyright under the OWL http://owl.apotheon.org Please do not CC me. If I'm posting to a list it is because I am subscribed. signature.asc Description: OpenPGP digital signature
Handbook Index
I find it very hard to find the subject I am looking for in the handbook. The index only gets me to the general area in the handbook and then I have to (next page) through it looking for what I hope is there. The Index really needs to be expanded to display each and every sub-section of all the major sections now in the index. For example Installing from a "ms/dos partition" or "splash screen usage". These are both subjects in the handbook but are not in the index. What good is am index that does not index its content? The purpose of the index is to list all subjects documented in the handbook so the reader can skim through the index and click on the exact subject they want to read. Can not do that with the current handbook index. So what do other people think? Should I submit a Doc bug on this?? ___ 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: Lockups with USB disks on FreeBSD
David Jackson wrote: David Jackson wrote: David Jackson wrote: I am currently using FreeBSD 8.0. I have been, for a long time, been having problems with lockups of FreeBSD 8.0 when using USB hard disks. Sometimes certain applications lock up for several minutes, when they use the disk, file operations are very slow, and sometimes the entire operating system can lock up for several minutes. This can be a pretty painful thing and makes the system seem very unstable. I am using UFS filesystems on the disks. It seems to happen on multiple disks that i use. I was hopeful changes to the FreeBSD USB drivers might have improved things but they are as bad as ever. Help is appreciated. Are there perhaps diagnostic tools or an error log that can be enabled so I can see if maybe there is some sort of error occuring with the USB transmissions that might be causing this problem, or perhaps what part of the driver code it is getting locked up on?. Has anyone else experienced problems such as this with USB disks? If more information on my hardware is needed i will post dmesg output. Any help is appreciated. I have done some more thinking about this issue. Just an app freeze on USB access is one thing, however, the fact that the entire OS freezes up on access to the USB disk shows there are much more serious design problems in the FreeBSD kernel. A USB access should not cause the kernel to lock up for minutes. these are very serious flaws in the FreeBSD kernel and lead to an instable and unuseable system. With these problems, and the fact no one really seems to care that the FreeBSD kernel is unstable, freezes up, etc , really is shocking considering FreeBSD bills itself as a server OS. Freezes and lockups are not a sign of stability or good design, they are evidence of severe design flaws, especailly that the entire kernel would freeze. I would be glad to use diagnostic tools to help find the problem. Much of the FreeBSD kernel however seems to be a black box, I have tried to study it but it seems to be badly documented. I have not been able to penetrate it and i do not know enough, despite my efforts, about it to understand what is causing these problems. ___ 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" Your description about what is happening is lacking any detail. Tell us what is on the USB disk, How you are using it, How you created it ECT ECT ECT Booting your system from it is way different than writing small data files to it or containing a raid file system or some database. You have to help us help you. ___ 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"
RAID10 doen't boot
Hi, I'd really appreciate it if somebody could help me out! I have a box with a MB ASUS P5WDG2-WS Pro with two built-in SATA II RAID controllers (Intel ICH7R and Marvell 88SE614x). I installed 4 HDD WD WD5002ABYS (500GB each) on the 4 SATA ports of the Intel ICH7R and using the Intel Matrix Storage Manager I created a RAID10 (Strip 14KB, Size 931.5GB, Status Normal, Bootable Yes) out of these 4 HDD. Then in the BIOS I set the IDE Configuration to Configure SATA As [RAID], OnBoard Serial-ATA BOOTROM [Enabled] and disable the Marvell SATA controller, for I use only the Intel ICH7R. Then I successfully installed FreeBSD 7.1 on the RAID partition, ar0. The installation completed successfully but the system persistently didn't boot and gave this error message: F1 FreeBSD Default: F1 No /boot/loader FreeBSD/i386 boot Default: 0:ad (0,a)/boot/kernel/kernel boot: No /boot/kernel/kernel Thanks a lot, Alex ___ 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"
Lost audio after new Video card installation
I was attempting to upgrade a Gateway GT5220 PC. The machine was running FreeBSD-7.2 successfully. The sound system was functioning correctly and gMplayer and Mplayer worked fine. The machine was using a nVidia GeForce 6150 LE on-board card. I installed a nVidia GeForce GT 220 card. The old on-board card did not support DVI. Now, the video is fine; however, there is no audio. Mplayer and gMplayer both freeze when attempting to play or view anything. I have no idea how to debug this. Since I did not touch the audio, I cannot figure it out. I did have a script that ran upon boot-up: /sbin/sysctl hw.snd.pcm0.vchans=4 /sbin/sysctl dev.pcm.0.play.vchans=4 /sbin/sysctl dev.pcm.0.rec.vchans=4 /sbin/sysctl hw.snd.maxautovchans=16 mixer vol 100:100 pcm 100:100 speaker 100:100 line 100:100 mic 0:0 cd 100:100 =rec mic Previously, it ran without incident. Now, it produces this output: sysctl: unknown oid 'hw.snd.pcm0.vchans' dev.pcm.0.play.vchans: 4 -> 4 sysctl: dev.pcm.0.rec.vchans: Operation not supported by device hw.snd.maxautovchans: 16 -> 16 mixer: unknown device: vol usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ... mixer [-f device] [-s | -S] recsrc ... mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ... This is from 'dmesg' dmesg -a|grep -i -A8 -B2 220 pci3: on pcib3 vgapci0: port 0xbc00-0xbc7f mem 0xfb00-0xfbff,0xd000-0xdfff,0xee00-0xefff irq 16 at device 0.0 on pci3 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] hdac0: mem 0xfcffc000-0xfcff irq 16 at device 0.1 on pci3 hdac0: HDA Driver Revision: 20090624_0136 hdac0: [ITHREAD] I would really appreciate any assistance I could get. I really would like the audio to work on this machine again. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | So... did you ever wonder, do garbage men take showers before they go to work? ___ 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: Lockups with USB disks on FreeBSD
David Jackson wrote: David Jackson wrote: I am currently using FreeBSD 8.0. I have been, for a long time, been having problems with lockups of FreeBSD 8.0 when using USB hard disks. Sometimes certain applications lock up for several minutes, when they use the disk, file operations are very slow, and sometimes the entire operating system can lock up for several minutes. This can be a pretty painful thing and makes the system seem very unstable. I am using UFS filesystems on the disks. It seems to happen on multiple disks that i use. I was hopeful changes to the FreeBSD USB drivers might have improved things but they are as bad as ever. Help is appreciated. Are there perhaps diagnostic tools or an error log that can be enabled so I can see if maybe there is some sort of error occuring with the USB transmissions that might be causing this problem, or perhaps what part of the driver code it is getting locked up on?. Has anyone else experienced problems such as this with USB disks? If more information on my hardware is needed i will post dmesg output. Any help is appreciated. I have done some more thinking about this issue. Just an app freeze on USB access is one thing, however, the fact that the entire OS freezes up on access to the USB disk shows there are much more serious design problems in the FreeBSD kernel. A USB access should not cause the kernel to lock up for minutes. these are very serious flaws in the FreeBSD kernel and lead to an instable and unuseable system. With these problems, and the fact no one really seems to care that the FreeBSD kernel is unstable, freezes up, etc , really is shocking considering FreeBSD bills itself as a server OS. Freezes and lockups are not a sign of stability or good design, they are evidence of severe design flaws, especailly that the entire kernel would freeze. I would be glad to use diagnostic tools to help find the problem. Much of the FreeBSD kernel however seems to be a black box, I have tried to study it but it seems to be badly documented. I have not been able to penetrate it and i do not know enough, despite my efforts, about it to understand what is causing these problems. ___ 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: wireless setup
On 2/28/2010 3:10 PM, dacoder wrote: on a 2nd reading, i see from your ifconfig output that wlan0 is up. so instead of "ifconfig wlan0 up" i think you need "ifconfig wlan0 create wlandev ath0" (assuming your wireless nic is ath0), then "dhclient wlan0". that does it for me, anyway. i find it easiest to leave *all* my wireless commands out of rc.conf & run the 1st command given above once the system is up. hope this helps. +++ dacoder [28/02/10 15:52 -0500]: in 8.0 you need to use wlan0 as your wireless interface. are you doing that? so you need "ifconfig wlan0 up" & either "ifconfig wlan0 w.x.y.z" or "dhclient wlan0". +++ Derek Funk [28/02/10 12:51 -0600]: I am trying to setup a wireless nic on a machine I just installed pcbsd 8.0 on. Its not going well. output from ifconfig -a is: re0: flags=8843 metric 0 mtu 1500 options=389b ether 00:1e:33:99:a1:a3 inet6 fe80::21e:33ff:fe99:a1a3%re0 prefixlen 64 scopeid 0x1 media: Ethernet autoselect (100baseTX ) status: active ath0: flags=8843 metric 0 mtu 2290 ether 00:1e:33:99:a1:a3 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated pflog0: flags=0<> metric 0 mtu 33200 pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 lagg0: flags=8843 metric 0 mtu 1500 ether 00:1e:33:99:a1:a3 inet6 fe80::21e:33ff:fe99:a1a3%lagg0 prefixlen 64 scopeid 0x6 inet 10.254.239.136 netmask 0xff00 broadcast 10.254.239.255 media: Ethernet autoselect status: active laggproto failover laggport: wlan0 flags=0<> laggport: re0 flags=5 wlan0: flags=8843 metric 0 mtu 1500 ether 00:1e:33:99:a1:a3 inet6 fe80::21e:33ff:fe99:a1a3%wlan0 prefixlen 64 scopeid 0x7 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 12 (2467 Mhz 11g) regdomain 101 indoor ecm authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL bintval 0 lo1: flags=8049 metric 0 mtu 16384 options=3 inet 10.1.1.1 netmask 0xff00 and my rc.conf is:(with some unrelated info omitted) background_dhclient="YES" # Enable the pcbsd startup / shutdown scripts pcbsdinit_enable="YES" # Denyhosts Startup denyhosts_enable="YES" # Enable the firewall pf_rules="/etc/pf.conf" pf_enable="YES" pf_flags="" # Enable ipfw and open it by default since we have PF firewall_enable="YES" firewall_type="open" # Enable IPV6 support ipv6_enable="YES" # Auto-Enabled NICs from pc-sysinstall ifconfig_re0="up" ifconfig_ath0="`ifconfig re0 ether`" ifconfig_ath0="ether ${ifconfig_ath0##*ether }" wlans_ath0="wlan0" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport re0 laggport wlan0 DHCP" hostname="pcbsd-6415" ifconfig_wlan0="WPA" I have looked in the handbook and searched the net and tried what I found and still no go. I am trying to connect to open access points around me that a windows machine has no problem using. Any help is appreciated. Derek ___ 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" -- regards, david coder network engineer emeritus, verio/ntt telluride, co & washington, dc Nope didnt help, thx tho ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-que
Re: Compiler Flags problem with core2 CPU
> Date: Sun, 28 Feb 2010 22:37:27 +0800 > From: Aaron Lewis > Subject: Re: Compiler Flags problem with core2 CPU > To: Paul B Mahol > Cc: freebsd-questions@freebsd.org > Message-ID: <4b8a7fa7.1070...@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; > format=flowed > > Really ? It's bad to use custom flags to compile kernel , > why do you > think so ? > I'd like to know more about this : ) > > So setting optimize compiler flags is only useful for > userland stuff ? > I laughed at your question because I remember reading somewhere that using aggressive optimization options is a good way to find compiler bugs. I think that extends of optimizations for "new" CPU architectures as well. I also heard kernel code avoids MMX instructions for some reason: it may have to do with interrupt handling (fewer registers=faster?). x86 (and AMD64) processors are backwards compatible, so you don't strictly need the latest instructions. Regards, James Phillips __ The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ ___ 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 tell ports that perl5.8 should never be installed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2010 18:19:36, Matthew Seaman wrote: > On second thoughts, writing a small wrapper around pkg_add(1) that greps > through the @pkgdep lines in the +CONTENTS file from the package tarball > and bails if it finds the wrong version of perl would be a much cleaner > approach. The -M (--master) and -S (--slave) flags to pkg_add look > interesting in this context. Arrgh. This is so nearly workable. Unfortunately, -M or -S don't play nicely with options like -r or -v -- seems you're meant to have local copies of all of the dependencies already downloaded and in a directory on $PKG_PATH in that case. Given that, then this script will reject any attempt to install a pkg that depends on perl-5.8: #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin ; export PATH IFS=' ' ; export IFS umask 022 reject='^...@pkgdep perl-5.8' TMPFILE=$(mktemp -t mypkgadd) || exit 1 trap "rm $TMPFILE" KILL HUP EXIT if pkg_add -M ${...@} | sed -n -e '/^\/var\/tmp\/instmp/,$p' | \ tee $TMPFILE | grep "$reject" 2>&1 >/dev/null ; then echo "Error: found forbidden package dependency $reject" exit 1 fi pkg_add -S < $TMPFILE && rm -rf $( head -1 $TMPFILE ) # # That's All Folks! # Now, the only missing bit is 'pkg_add -r -S' not fetching dependency pkgs from the remote site. Also options like -r and -v seem to cause bogons to be emitted to stdout which screws up the -M action, but that has been worked around. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuMLZcACgkQ8Mjk52CukIwWeQCfSPZQBpoB1cM0ondxT0PfJYXF nZAAn3g18cY1mfa223gQzZDtusU1moxq =WbEf -END PGP SIGNATURE- ___ 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: sorry, email program ate my subject: Can't compile MySQL 5.0server on 7.2
-- Original Message -- From: Greg Larkin Reply-To: glar...@freebsd.org Date: Mon, 01 Mar 2010 14:46:54 -0500 >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Len Conrad wrote: >> -- Original Message -- >> From: "Len Conrad" >> Reply-To: lcon...@go2france.com >> Date: Mon, 1 Mar 2010 19:04:58 +0100 >> >>> FreeBSD 7.2 as ESXi virtual machine >>> >>> after portsnap fetch update >>> >>> cd /usr/ports/databases/mysql50-server >>> >>> make configure >>> >>> make >>> >>> blah blah >>> >>> mv -f .deps/ha_example.Tpo .deps/ha_example.Po >>> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER >>> -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" >>> -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include >>> -I../bdb/build_unix -I../innobase/include -I../innobase/include >>> -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex >>> -DDBUG_OFF -O2 -fno-strict-aliasing -pipe -fPIC -O2 >>> -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti >>> -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti >>> -DMYSQLD_NET_RETRY_COUNT=100 -MT ha_tina.o -MD -MP -MF >>> .deps/ha_tina.Tpo -c -o ha_tina.o ha_tina.cc >>> mv -f .deps/ha_tina.Tpo .deps/ha_tina.Po >>> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER >>> -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" >>> -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include >>> -I../bdb/build_unix -I../innobase/include -I../innobase/include >>> -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex >>> -DDBUG_OFF -O2 -fno-strict-aliasing -pipe -fPIC -O2 >>> -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti >>> -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti >>> -DMYSQLD_NET_RETRY_COUNT=100 -MT sql_yacc.o -MD -MP -MF >>> .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc >>> c++: Internal error: Killed: 9 (program cc1plus) >>> Please submit a full bug report. >>> See http://gcc.gnu.org/bugs.html> for instructions. >>> *** Error code 1 >>> 1 error >>> *** Error code 1 >>> 1 error >>> *** Error code 1 >>> 1 error >>> *** Error code 2 >>> 1 error >>> *** Error code 1 >>> >>> Stop in /usr/ports/databases/mysql50-server. >>> >>> >>> Thanks >>> Len >>> > >Hi Len, > >How much memory have you allocated to the VM? This error indicates that >the compiler didn't have enough memory to compile that source file. >Also, check the output of this command: > >sysctl -a | grep ^kern.maxd > >I have a VM with 1.5 GB allocated to it, and I've added the following >line to /boot/loader.conf.local: > >kern.maxdsize=1363148800 > >That gave me enough breathing room to use gcc (gcj, actually) to compile >some complex Java source files. > >Hope that helps, >Greg thanks Greg, I though that might be a problem. from top: Mem: 77M Active, 94M Inact, 57M Wired, 2956K Cache, 34M Buf, 7492K Free I gave up on compile and did pkg_add -r. thanks Len >- -- >Greg Larkin > >http://www.FreeBSD.org/ - The Power To Serve >http://www.sourcehosting.net/ - Ready. Set. Code. >http://twitter.com/sourcehosting/ - Follow me, follow you >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.4.7 (MingW32) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > >iD8DBQFLjBmu0sRouByUApARAi0vAJ96IfepBA5qhY0Tpbj7Mqu+ZMCFFACeOhKR >Ov0ynzi/gBt4HkF8qNoebUo= >=5q+5 >-END PGP SIGNATURE- > >___ >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" > ___ 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: Sendmail Configuration
On Mar 1, 2010, at 10:40 AM, Uzair Qadir wrote: Hi, i am new to the freebsd. and i have been trying to configure sendmail so that it would only send mails through a mail server . but i cant seem to get it right. wen i run sendmail. i get the following output. i would like to knw what could be the problem. Set SMART_HOST in /etc/mail/hostname.mc and then run make If you have not run make in /etc/mail yet, do that first. That will create hostname.mc In your case that may end up being domain.pk.mc Add a line like this define(`SMART_HOST', `[172.16.1.1]') using the correct IP address for the mail server. If the mail server has an FQDN use that without the square brackets define(`SMART_HOST', `mail.server.com') Run make That should do it. Dan WARNING: local host name (FreeBSD) is not qualified; see cf/README: WHO AM I? d...@domain.pk... Connecting to [127.0.0.1] via relay... 220 FreeBSD ESMTP Sendmail 8.14.3/8.14.3; Mon, 1 Mar 2010 18:37:13 +0500 (PKT) EHLO FreeBSD 250-FreeBSD Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP MAIL From: SIZE=46 250 2.1.0 ... Sender ok RCPT To: DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself . 250 2.0.0 o21DbDbk008201 Message accepted for delivery d...@domain.pk... Sent (o21DbDbk008201 Message accepted for delivery) Closing connection to [127.0.0.1] QUIT 221 2.0.0 FreeBSD closing connection Regards Uzair Qadir ___ 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" ___ 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: sorry, email program ate my subject: Can't compile MySQL 5.0 server on 7.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Len Conrad wrote: > -- Original Message -- > From: "Len Conrad" > Reply-To: lcon...@go2france.com > Date: Mon, 1 Mar 2010 19:04:58 +0100 > >> FreeBSD 7.2 as ESXi virtual machine >> >> after portsnap fetch update >> >> cd /usr/ports/databases/mysql50-server >> >> make configure >> >> make >> >> blah blah >> >> mv -f .deps/ha_example.Tpo .deps/ha_example.Po >> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" >> -DMYSQL_DATADIR="\"/var/db/mysql\"" >> -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix >> -I../innobase/include -I../innobase/include -I../include -I../include >> -I../sql -I../sql -I../sql/examples -I../regex -DDBUG_OFF -O2 >> -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC >> -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates >> -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -MT ha_tina.o -MD >> -MP -MF .deps/ha_tina.Tpo -c -o ha_tina.o ha_tina.cc >> mv -f .deps/ha_tina.Tpo .deps/ha_tina.Po >> c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" >> -DMYSQL_DATADIR="\"/var/db/mysql\"" >> -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix >> -I../innobase/include -I../innobase/include -I../include -I../include >> -I../sql -I../sql -I../sql/examples -I../regex -DDBUG_OFF -O2 >> -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC >> -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates >> -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -MT sql_yacc.o >> -MD -MP -MF .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc >> c++: Internal error: Killed: 9 (program cc1plus) >> Please submit a full bug report. >> See http://gcc.gnu.org/bugs.html> for instructions. >> *** Error code 1 >> 1 error >> *** Error code 1 >> 1 error >> *** Error code 1 >> 1 error >> *** Error code 2 >> 1 error >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql50-server. >> >> >> Thanks >> Len >> Hi Len, How much memory have you allocated to the VM? This error indicates that the compiler didn't have enough memory to compile that source file. Also, check the output of this command: sysctl -a | grep ^kern.maxd I have a VM with 1.5 GB allocated to it, and I've added the following line to /boot/loader.conf.local: kern.maxdsize=1363148800 That gave me enough breathing room to use gcc (gcj, actually) to compile some complex Java source files. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLjBmu0sRouByUApARAi0vAJ96IfepBA5qhY0Tpbj7Mqu+ZMCFFACeOhKR Ov0ynzi/gBt4HkF8qNoebUo= =5q+5 -END PGP SIGNATURE- ___ 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"
Sendmail Configuration
Hi, i am new to the freebsd. and i have been trying to configure sendmail so that it would only send mails through a mail server . but i cant seem to get it right. wen i run sendmail. i get the following output. i would like to knw what could be the problem. WARNING: local host name (FreeBSD) is not qualified; see cf/README: WHO AM I? d...@domain.pk... Connecting to [127.0.0.1] via relay... 220 FreeBSD ESMTP Sendmail 8.14.3/8.14.3; Mon, 1 Mar 2010 18:37:13 +0500 (PKT) >>> EHLO FreeBSD 250-FreeBSD Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From: SIZE=46 250 2.1.0 ... Sender ok >>> RCPT To: >>> DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 o21DbDbk008201 Message accepted for delivery d...@domain.pk... Sent (o21DbDbk008201 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 FreeBSD closing connection Regards Uzair Qadir ___ 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"
sorry, email program ate my subject: Can't compile MySQL 5.0 server on 7.2
-- Original Message -- From: "Len Conrad" Reply-To: lcon...@go2france.com Date: Mon, 1 Mar 2010 19:04:58 +0100 >FreeBSD 7.2 as ESXi virtual machine > >after portsnap fetch update > >cd /usr/ports/databases/mysql50-server > >make configure > >make > >blah blah > >mv -f .deps/ha_example.Tpo .deps/ha_example.Po >c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" >-DMYSQL_DATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\"" >-I. -I../include -I../bdb/build_unix -I../innobase/include >-I../innobase/include -I../include -I../include -I../sql -I../sql >-I../sql/examples -I../regex -DDBUG_OFF -O2 -fno-strict-aliasing -pipe >-fPIC -O2 -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti >-fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti >-DMYSQLD_NET_RETRY_COUNT=100 -MT ha_tina.o -MD -MP -MF .deps/ha_tina.Tpo >-c -o ha_tina.o ha_tina.cc >mv -f .deps/ha_tina.Tpo .deps/ha_tina.Po >c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" >-DMYSQL_DATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\"" >-I. -I../include -I../bdb/build_unix -I../innobase/include >-I../innobase/include -I../include -I../include -I../sql -I../sql >-I../sql/examples -I../regex -DDBUG_OFF -O2 -fno-strict-aliasing -pipe >-fPIC -O2 -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti >-fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti >-DMYSQLD_NET_RETRY_COUNT=100 -MT sql_yacc.o -MD -MP -MF .deps/sql_yacc.Tpo >-c -o sql_yacc.o sql_yacc.cc >c++: Internal error: Killed: 9 (program cc1plus) >Please submit a full bug report. >See http://gcc.gnu.org/bugs.html> for instructions. >*** Error code 1 >1 error >*** Error code 1 >1 error >*** Error code 1 >1 error >*** Error code 2 >1 error >*** Error code 1 > >Stop in /usr/ports/databases/mysql50-server. > > >Thanks >Len > > >___ >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" > ___ 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: Adding slice on existing disk
On 2010-03-01 17:49, Polytropon wrote: On Mon, 01 Mar 2010 10:25:48 +0100, Leslie Jensen wrote: On a dualboot system I've made some space available that I want to make a freebsd slice of. [...] Any suggestions on how to solve this? I would suggest to use sysinstall oder sade for this task, this is because I'm lazy. :-) In the slice editor, you create a slice covering the space you made free, or, if neccessary, you delete obsolete slices prior to creating a new one. In the label editor, you select the new slice (e. g. ad4s4) and create a partition covering the whole slice. You set the options "UFS2+S Y" (which means to use UFS2 file system plus soft updates, and "yes" to newfs, so the partition will be formatted), and set a mountpoint that you have already created (e. g. /data). Finally you confirm the settings and write them to the disk. At this screen: -- FreeBSD Disklabel Editor Disk: ad4 Partition name: ad4s4 Free: 0 blocks (0MB) Disk: ad4 Partition name: ad4s3 Free: 0 blocks (0MB) Part Mount Size Newfs Part Mount Size Newfs - - - - ad4s4d/data 30866MB UFS2+S Y ad4s3a 1024MB * ad4s3bswap 4096MB SWAP ad4s3d 2048MB * ad4s3e 4096MB * ad4s3f 20480MB * ad4s3g 28125MB * The following commands are valid here (upper or lower case): C = CreateD = Delete M = Mount pt.W = Write N = Newfs OptsQ = Finish S = Toggle SoftUpdates Z = Custom Newfs T = Toggle Newfs U = Undo A = Auto DefaultsR = Delete+Merge Use F1 or ? to get more help, arrow keys to select. -- Unfortunately at this point when I choose W to write the changes I get the following error: Unable to add /dev/ad4s3b as a swap device: the device is busy This is the existing swap partition so I do not quite understand why I get this error Then I choose OK and then I get: Error mounting /dev/ad4s4d on /data : No such file or directory This should work fine. Of course, you can do the same using the command line tools, in the same order: 1. create new slice, 2. create new partition inside slice, 3. format the partition, and finally 4. mount it. ___ 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: 8.0 on new hardware and a few errors, should I be worried?
On Saturday 27 February 2010 8:28:48 pm Dan Naumov wrote: > Hello > > I've very recently finished installing 8.0-RELEASE on some new > hardware and I noticed a few error messages that make me a bit uneasy. > This is a snip from my dmesg: > > -- > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of fee0, 1000 (3) failed > acpi0: reservation of 0, a (3) failed > acpi0: reservation of 10, bf60 (3) failed > -- > > What do these mean and should I worry about it? The full DMESG can be > viewed here: http://jago.pp.fi/temp/dmesg.txt You can ignore them. FreeBSD creates two psuedo-devices on x86 called apic0 and ram0. Their sole job is to reserve the memory ranges used by APIC devices and system RAM to prevent those address ranges being reused by anything else (such as PCI BARs). Many systems also reserve those ranges as a system resource via ACPI (or PnPBIOS for the non-ACPI case). What is happening is that the ACPI system resource driver isn't able to reserve these ranges because they are already claimed by apic0 and ram0. The important point is that some device claims them. It doesn't really matter which one does. -- John Baldwin ___ 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 tell ports that perl5.8 should never be installed?
On Mon, Mar 1, 2010 at 12:19 PM, Matthew Seaman < m.sea...@infracaninophile.co.uk> wrote: > > As far as I know, there isn't an official way to do this. What you > want sounds like a useful addition to the base system to me. > > You could do it in a fairly gross hacky way, like the following. This is > entirly untested, might not work at all and will certainly be at the > cost of some alarming error messages: > > # mkdir -p /var/db/pkg/perl-5.8.9_3 > # touch /var/db/pkg/perl-5.8.9_3/+IGNOREME > # chflags -R noschg /var/db/pkg/perl-5.8.9_3 > > Hopefully it chucks a spanner in the works before the package system > actually installs anything. Of course, you'll have to update that if > the perl5.8 port has any sort of version bump[*]. > > On second thoughts, writing a small wrapper around pkg_add(1) that greps > through the @pkgdep lines in the +CONTENTS file from the package tarball > and bails if it finds the wrong version of perl would be a much cleaner > approach. The -M (--master) and -S (--slave) flags to pkg_add look > interesting in this context. > > There is already enough dependency information available to portupgrade to know this. portupgrade simply doesn't act on it. However, as I already informed Mr. Schwartz, portmaster -P does work. -- Adam Vande More ___ 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: Remote Building of FreeBSD
On Mon, Mar 1, 2010 at 12:07 PM, Adam Vande More wrote: > On Mon, Mar 1, 2010 at 12:00 PM, Martin McCormick < > mar...@dc.cis.okstate.edu> wrote: > >> Adam Vande More writes: >> > This seems to be similar to the depenguinator. >> >> > Maybe there some approach in there to get you over the hump. >> >> It is exactly the right idea. Funny thing, I actually did turn >> swap off and the image is now sitting there because I thought >> this might be useful. Is there any way to tell the existing >> system to boot from /dev/ad0s1b next time? That would solve the >> problem completely. >> >> > Never tried it but this might work: > > bsdlabel -B diskslice > Since you need to specify a partition other than a, I think you may need to use boot.config http://www.freebsd.org/cgi/man.cgi?query=boot&sektion=8&apropos=0&manpath=FreeBSD+8.0-RELEASE -- Adam Vande More ___ 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 tell ports that perl5.8 should never be installed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2010 17:21:48, Randal L. Schwartz wrote: >> "Matthew" == Matthew Seaman writes: > > Matthew> For best results, install from ports rather than packages. If it's > Matthew> pure-perl code, then this should be hardly more onerous than > installing > Matthew> a compiled package. XS code however will chew up some CPU cycles. > > I don't mind installing from ports once I've been notified that the package > won't work because it wants perl5.8. > > What I want is a way to tell the port/package system that perl5.8 > doesn't exist so that it *will* fail. > > How do I do that? As far as I know, there isn't an official way to do this. What you want sounds like a useful addition to the base system to me. You could do it in a fairly gross hacky way, like the following. This is entirly untested, might not work at all and will certainly be at the cost of some alarming error messages: # mkdir -p /var/db/pkg/perl-5.8.9_3 # touch /var/db/pkg/perl-5.8.9_3/+IGNOREME # chflags -R noschg /var/db/pkg/perl-5.8.9_3 Hopefully it chucks a spanner in the works before the package system actually installs anything. Of course, you'll have to update that if the perl5.8 port has any sort of version bump[*]. On second thoughts, writing a small wrapper around pkg_add(1) that greps through the @pkgdep lines in the +CONTENTS file from the package tarball and bails if it finds the wrong version of perl would be a much cleaner approach. The -M (--master) and -S (--slave) flags to pkg_add look interesting in this context. Cheers, Matthew [*] You can register at freshports.org to get notifications of any updates to ports that particularly interest you. - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuMBTgACgkQ8Mjk52CukIwYtgCgh8SCPP+Xn+CrY2cCfgitwva+ xKAAmwXuyCDCQzCUVAmvNgqg3po57n5l =3S3V -END PGP SIGNATURE- ___ 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: Remote Building of FreeBSD
On Mon, Mar 1, 2010 at 12:00 PM, Martin McCormick wrote: > Adam Vande More writes: > > This seems to be similar to the depenguinator. > > > Maybe there some approach in there to get you over the hump. > > It is exactly the right idea. Funny thing, I actually did turn > swap off and the image is now sitting there because I thought > this might be useful. Is there any way to tell the existing > system to boot from /dev/ad0s1b next time? That would solve the > problem completely. > > Never tried it but this might work: bsdlabel -B diskslice -- Adam Vande More ___ 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"
(no subject)
FreeBSD 7.2 as ESXi virtual machine after portsnap fetch update cd /usr/ports/databases/mysql50-server make configure make blah blah mv -f .deps/ha_example.Tpo .deps/ha_example.Po c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix -I../innobase/include -I../innobase/include -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex -DDBUG_OFF -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -MT ha_tina.o -MD -MP -MF .deps/ha_tina.Tpo -c -o ha_tina.o ha_tina.cc mv -f .deps/ha_tina.Tpo .deps/ha_tina.Po c++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -I. -I../include -I../bdb/build_unix -I../innobase/include -I../innobase/include -I../include -I../include -I../sql -I../sql -I../sql/examples -I../regex -DDBUG_OFF -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -MT sql_yacc.o -MD -MP -MF .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See http://gcc.gnu.org/bugs.html> for instructions. *** Error code 1 1 error *** Error code 1 1 error *** Error code 1 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/databases/mysql50-server. Thanks Len ___ 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: Remote Building of FreeBSD
Adam Vande More writes: > This seems to be similar to the depenguinator. > Maybe there some approach in there to get you over the hump. It is exactly the right idea. Funny thing, I actually did turn swap off and the image is now sitting there because I thought this might be useful. Is there any way to tell the existing system to boot from /dev/ad0s1b next time? That would solve the problem completely. Martin McCormick ___ 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: Lockups with USB disks on FreeBSD
David Jackson wrote: I am currently using FreeBSD 8.0. I have been, for a long time, been having problems with lockups of FreeBSD 8.0 when using USB hard disks. Sometimes certain applications lock up for several minutes, when they use the disk, file operations are very slow, and sometimes the entire operating system can lock up for several minutes. This can be a pretty painful thing and makes the system seem very unstable. I am using UFS filesystems on the disks. It seems to happen on multiple disks that i use. I was hopeful changes to the FreeBSD USB drivers might have improved things but they are as bad as ever. Help is appreciated. Are there perhaps diagnostic tools or an error log that can be enabled so I can see if maybe there is some sort of error occuring with the USB transmissions that might be causing this problem, or perhaps what part of the driver code it is getting locked up on?. Has anyone else experienced problems such as this with USB disks? If more information on my hardware is needed i will post dmesg output. Any help is appreciated. ___ 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: Remote Building of FreeBSD
On Mon, Mar 1, 2010 at 11:19 AM, Martin McCormick wrote: > One can almost but not quite remotely build a FreeBSD system > using mfsbsd. The problem is that in order to install the > mfsboot.img data on the main boot drive, it is necessary to use > dd to write it there and a working system already has mounted > all partitions in the main drive. > >The systems I will be upgrading have 1 or more gigabytes > of RAM available so a memory disk could conceivably hold the > roughly 40-meg image that must be written to the boot sector of > the main drive. > >For this to work, one must unmount all main drive > partitions and still be able to do something like: > > dd if=mfsboot.img of=/dev/ad0 > >After that, the reboot will launch mfsbsd and the rest > appears to be manageable. > > Martin McCormick WB5AGZ Stillwater, OK > This seems to be similar to the depenguinator. http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html Maybe there some approach in there to get you over the hump. -- Adam Vande More ___ 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 tell ports that perl5.8 should never be installed?
> "Matthew" == Matthew Seaman writes: Matthew> For best results, install from ports rather than packages. If it's Matthew> pure-perl code, then this should be hardly more onerous than installing Matthew> a compiled package. XS code however will chew up some CPU cycles. I don't mind installing from ports once I've been notified that the package won't work because it wants perl5.8. What I want is a way to tell the port/package system that perl5.8 doesn't exist so that it *will* fail. How do I do that? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ 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"
carp ghosts
Hi! We have two Frontendserver with carpinterfaces. Now we need more of the carpinterfaces. When i use /etc/netstart to bring them online, there are error messages about misconfigured carpinterfaces. When i look with ifconfig to the list of interfaces, there are four "ghost" carpinterfaces. I haven't set them in the rc.conf and the errors came frome them. This interfaces are the following from the list of "real" carpinterfaces. Where could i have made a mistake or is it a bad idea using netstart with carpinterfaces? thanks in advance Alex ___ 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"
Remote Building of FreeBSD
One can almost but not quite remotely build a FreeBSD system using mfsbsd. The problem is that in order to install the mfsboot.img data on the main boot drive, it is necessary to use dd to write it there and a working system already has mounted all partitions in the main drive. The systems I will be upgrading have 1 or more gigabytes of RAM available so a memory disk could conceivably hold the roughly 40-meg image that must be written to the boot sector of the main drive. For this to work, one must unmount all main drive partitions and still be able to do something like: dd if=mfsboot.img of=/dev/ad0 After that, the reboot will launch mfsbsd and the rest appears to be manageable. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ 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"
spreculative: /bin2 & /usr/bin2 and alternative package/ports trees?
Just wondering if anyone cares to share their thoughts about this. There are a few ports that I would love to see included in the base tree such as OpenLDAP and the Openbsd pdksh or bash. But It hasn't happened and isn't likely to happen. So I was thinking about the pkg infrastructure. The location of the pkg file database I believe can be specified. And the installation directories I believe can also be specified. Other than that paths would have to be changed for binaries and libraries and probably share and other installation points. This should allow separate package trees meaning that when I delete and reinstall my main ports these programs will not be affected and the package database info for these will not be screwed up. Is it possible and if it is has anyone implemented it on their own systems? Or have people simply taken to installing ports in the main directories? Chris ___ 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: Adding slice on existing disk
On Mon, 01 Mar 2010 10:25:48 +0100, Leslie Jensen wrote: > On a dualboot system I've made some space available that I want to make > a freebsd slice of. > [...] > Any suggestions on how to solve this? I would suggest to use sysinstall oder sade for this task, this is because I'm lazy. :-) In the slice editor, you create a slice covering the space you made free, or, if neccessary, you delete obsolete slices prior to creating a new one. In the label editor, you select the new slice (e. g. ad4s4) and create a partition covering the whole slice. You set the options "UFS2+S Y" (which means to use UFS2 file system plus soft updates, and "yes" to newfs, so the partition will be formatted), and set a mountpoint that you have already created (e. g. /data). Finally you confirm the settings and write them to the disk. This should work fine. Of course, you can do the same using the command line tools, in the same order: 1. create new slice, 2. create new partition inside slice, 3. format the partition, and finally 4. mount it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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"
Bluetooth headset
Hello. I searched with Google, but all the threads I found are quite old, so... Is it possible to use any VoIP software with a bluetooth headset with FreeBSD? What about Skype? bye & Thanks av. ___ 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: USB 3.0
On Thu, 14 Jan 2010 10:39:09 -0500 Jerry said: > I just found this regarding USB 3.0: > Will FreeBSD be able to take advantage of this updated technology? > Looking over the FAQ http://www.everythingusb.com/superspeed-usb.html ... it seems to be a change in pinouts ... INAD, but FreeBSD probably already can take advantage of it. -- Don Readdon_r...@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. ___ 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: IBM DS4800 Storage
In the last episode (Mar 01), Omer Faruk Sen said: > Is there anyone here that have used SAN against IBM DS4800 (Fiber). I > can see disk but i can't fdisk it. > > fdisk /dev/da0 > fdisk: could not detect sector size > > and dmesg output when system boots: > > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > registered firmware set > isp0: port 0x6000-0x60ff mem > 0xc7efc000-0xc7ef irq 17 at device 0.0 on pci36 > isp0: [ITHREAD] > isp0: Board Type 2422, Chip Revision 0x3, loaded F/W Revision 4.0.20 > isp1: port 0x7000-0x70ff mem > 0xc5ffc000-0xc5ff irq 18 at device 0.0 on pci7 > isp1: [ITHREAD] > isp1: Board Type 2422, Chip Revision 0x3, loaded F/W Revision 4.0.20 > vgapci0: port 0x4000-0x40ff mem > 0xd000-0xd7ff,0xdfff-0xdfff irq 22 at device 6.0 on pci1 > isp1: 0.0.2 FCP RESPONSE: 0x2 > isp1: 0.0.2 FCP RESPONSE: 0x2 > > and afterwards: > > (da0:isp1:0:0:6): Vendor Specific ASC > (da0:isp1:0:0:6): Unretryable error > (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0 > (da0:isp1:0:0:6): CAM Status: SCSI Status Error > (da0:isp1:0:0:6): SCSI Status: Check Condition > (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 > (da0:isp1:0:0:6): Vendor Specific ASC > (da0:isp1:0:0:6): Unretryable error According to the "DS4000 Problem Determination Guide" at ftp://ftp.software.ibm.com/systems/support/system_x_pdf/gc27207600.pdf#page=104 , ASC/ASCQ 94/01 corresponds to "Invalid Request Due to Current Logical Unit Ownership". Maybe the DS4800 thinks that the lun has been assigned to a different host, and that's why it won't let the FreeBSD machine access it. Other web searches indicate that this may be an attempt to access the passive path of multipathed device on an active/passive RAID array. If that's the case, FreeBSD should have found another disk (da1 possibly?) that you should be able to use. -- Dan Nelson dnel...@allantgroup.com ___ 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"
FreeBSD-Compatible Multifunction Device
Hi, I've Googled this a bit and found lots of noise about different experiences with devices that -didn't- work or commentary from people about how multifunction devices are a bad idea, but no actual recommendations. I was wondering if anyone could make a recommendation for me about which networked multifunction device is most compatible with FreeBSD? Specifically, I'd like a printer/scanner/fax/copier that: - is network-enable out of the box (wired is preferred but wireless is ok) - has FreeBSD CUPS printer drivers - can be configured to send scans to FreeBSD somehow (either by mounting a samba share, or sending an e-mail, or whatever) - had a scanner hopper that would let me scan multiple pages at once - bonus points for a scanner that scans both sides of the page It would be further awesome if inbound faxes could be routed to e-mail too, but that's not a requirement. Has anyone found such a beast? Tim Gustafson t...@tgustafson.com http://tgustafson.com/ ___ 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 tell ports that perl5.8 should never be installed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2010 01:40:55, Randal L. Schwartz wrote: > I'd like the entire portage system to consider 5.8 to be dead, both ^^^ That's a gentoo-ism > for building from ports, and for installing packages that say they > depend on that. > > How do I get there? Wait. perl-5.10.1 the new default version since 3 weeks ago, but I guess the packages on the FTP sites have not yet been updated. http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.perl.mk.diff?r1=1.14;r2=1.15 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuLkbAACgkQ8Mjk52CukIycxwCfSvr0oqBLiFiCyxYnGyoKYhR+ 7ZMAmgNZFd3ggXTEtzbj2LGUusY0DmQv =lVWv -END PGP SIGNATURE- ___ 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 tell ports that perl5.8 should never be installed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2010 01:45:26, Randal L. Schwartz wrote: >> "Adam" == Adam Vande More writes: > > Adam> Can you attach your make.conf? > > WITHOUT_X11=yes > # added by use.perl 2010-02-28 17:41:39 > PERL_VERSION=5.10.1 > > The problem is not ports, it's packages. If a package specifies 5.8, > it installs the 5.8 package, and I'm toast. So make.conf doesn't matter. > Precompiled packages aren't going to work for this: the dependencies are compiled in. Also, specifically a perl thing: the perl version number is encoded into the library paths where modules are installed, which makes it ... challenging ... to use them with a different version of perl. For best results, install from ports rather than packages. If it's pure-perl code, then this should be hardly more onerous than installing a compiled package. XS code however will chew up some CPU cycles. Check out portmaster(8) or portupgrade(8) as the moral equivalents of the cpan(1) program to make dealing with ports more convenient. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuLjvQACgkQ8Mjk52CukIw7lQCeIhbfLGI/znN3NaUvtcJqsaJt /WMAnRXkdrdGN9vKc/MZ24hnhoiEv4Kb =Z8PX -END PGP SIGNATURE- ___ 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"
Adding slice on existing disk
On a dualboot system I've made some space available that I want to make a freebsd slice of. Following the instructions described here: http://forums.freebsd.org/showthread.php?t=2726 When using sysinstall label I get this when I try to write. Error mounting /dev/ad4s4d on /data : File or directory does not exist I have created drwxr-xr-x 2 root wheel 512 1 Mar 09:51 data/ I get the same error and I try to use bsdlabel manually but I get: bsdlabel -w /dev/ad4s4 bsdlabel: unable to get correct path for /dev/ad4s4: No such file or directory Any suggestions on how to solve this? Thanks /Leslie ___ 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"
IBM DS4800 Storage
Hi , Is there anyone here that have used SAN against IBM DS4800 (Fiber). I can see disk but i can't fdisk it. # camcontrol devlist -v scbus0 on isp0 bus 0: < > at scbus0 target -1 lun -1 () scbus1 on isp1 bus 0: at scbus1 target 0 lun 6 (pass0,da0) < > at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) fdisk /dev/da0 fdisk: could not detect sector size and dmesg output when system boots: registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set registered firmware set isp0: port 0x6000-0x60ff mem 0xc7efc000-0xc7ef irq 17 at device 0.0 on pci36 isp0: [ITHREAD] isp0: Board Type 2422, Chip Revision 0x3, loaded F/W Revision 4.0.20 isp1: port 0x7000-0x70ff mem 0xc5ffc000-0xc5ff irq 18 at device 0.0 on pci7 isp1: [ITHREAD] isp1: Board Type 2422, Chip Revision 0x3, loaded F/W Revision 4.0.20 vgapci0: port 0x4000-0x40ff mem 0xd000-0xd7ff,0xdfff-0xdfff irq 22 at device 6.0 on pci1 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 isp1: 0.0.2 FCP RESPONSE: 0x2 and afterwards: (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 10 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 80 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0:6): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:6): Vendor Specific ASC (da0:isp1:0:0:6): Unretryable error isp1: 0.0.6 FCP RESPONSE: 0x2 (da0:isp1:0:0:6): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:6): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:6): CAM Status: SCSI Status Error (da0:isp1:0:0:6): SCSI Status: Check Condition (da0:isp1:0:0: