NFS version
Hello, I'm just wondering if only specified version of NFS can be started. (For instance, can I start only NFS version 3 while remaining NFS version 2 stopped?) Is it possible to do it by just adding some parameters in the config file such as rc.conf? Regards, Yuya _ 【BBが安い】ネット接続、乗り換えるなら今! http://campaign.live.jp/eaccess/Top/ ___ 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: Inserting PC card NIC, system stops
Thanks for your reply, Paul. >> $ uname -a >> FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 >> r201741: Fri Jan 8 01:01:18 JST 2010 >> r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> $ tail /var/log/messages >> Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 >> Jan 9 21:29:12 musca kernel: ed0: at port > ed(4) appears to be driver for that card Sure. I'm using GENERIC kernel, and it includes cbb(4), ed(4) device driver. But the system does not work fine with this PC card. -- 橋本紘希 hsm...@gmail.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"
Inserting PC card NIC, system stops
al consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 847429537 Hz quality 800 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ad0: 19077MB at ata0-master UDMA100 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 acd0: CDRW at ata1-master UDMA33 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered Trying to mount root from ufs:/dev/ad0s1a -- Kouki Hashimoto hsm...@gmail.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: Clock delays in FreeBSD guest VM on VirtualBox
Hello. > I am running several FreeBSD(8.0-BETA3) guest VMs > on VirtualBox on OpenSolaris. > On all hosts, I am configuring & running ntpd. > > However, only one host (naming HostX) can sync the clock. > All hosts except for HostX cannot sync the clock. > (The time delays about 10 minutes in an hour.) > What's the cause of this problem? > Regards. I found a tip in VirtualBox helps, and the trick seem to solve the problem. But, I am not sure this is the right solution. The trick is, on OpenSolaris (the host system), to type the command. $ VBoxManage setextradata "My VM name" "VBoxInternal/TM/TSCTiedToExecution" 1 The FreeBSD VMs no more need ntpd to sync the clock. Regards. -- Kouki Hashimoto hsm...@gmail.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"
Clock delays in FreeBSD guest VM on VirtualBox
Hello. I am running several FreeBSD(8.0-BETA3) guest VMs on VirtualBox on OpenSolaris. On all hosts, I am configuring & running ntpd. However, only one host (naming HostX) can sync the clock. All hosts except for HostX cannot sync the clock. (The time delays about 10 minutes in an hour.) What's the cause of this problem? Regards. /etc/rc.conf ntpd_enable="YES" ntpd_sync_on_start="YES" /etc/ntp.conf (default config file) server 0.freebsd.pool.ntp.org iburst maxpoll 9 server 1.freebsd.pool.ntp.org iburst maxpoll 9 server 2.freebsd.pool.ntp.org iburst maxpoll 9 -- Kouki Hashimoto hsm...@gmail.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: devel/ccache broken in BETA2?
> Is anyone able to compile just about anything with ccache on BETA2? I'm > experiencing a lot of breakage here. I had similar problem on 8.0-BETA2. And the patch solved the problem. http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202658.html http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090720/9bc71e56/patch-mmap.obj Does it help? -- Kouki Hashimoto hsm...@gmail.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: ccache "make buildworld" fails (mmap problem?)
>> I have a problem about ccache. >> I installed devel/ccache from ports. >> "make buildworld" stopped immediately and failed. >> In the ccache log file, I found the "Faild to mmap" message. > http://lists.freebsd.org/pipermail/freebsd-hackers/2009-July/029141.html Thanks Mel. Problem solved. I applied suggested patch to /usr/ports/devel/ccache/work/ccache-2.4_8/hash.c and buildworld finished successfully. http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090720/9bc71e56/patch-mmap.obj -- Kouki Hashimoto hsm...@gmail.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"
ccache "make buildworld" fails (mmap problem?)
Hello. I have a problem about ccache. I installed devel/ccache from ports. "make buildworld" stopped immediately and failed. In the ccache log file, I found the "Faild to mmap" message. I also tried to reinstall devel/libtool15 following /usr/local/share/doc/ccache/cchace-howto-freebsd.txt . But, again, it failed. When I disable ccache, "make buildworld" & installing devel/libtool15 successfully finishes. Any suggestions? Regeards. 1. "make buildworld" fails # cd /usr/src # make buildworld CC='/usr/local/libexec/ccache/world-cc' mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/tools/build/dummy.c /usr/local/libexec/ccache/world-cc -O2 -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/build/dummy.c *** Error code 1 2. my /etc/make.conf # cat /etc/make.conf .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE) CC=/usr/local/libexec/ccache/world-cc CXX=/usr/local/libexec/ccache/world-c++ .endif 3. my environemtal variables # cat /root/.zshenv export PATH=/usr/local/libexec/ccache:$PATH export CCACHE_PATH=/usr/bin:/usr/local/bin export CCACHE_DIR=/var/tmp/ccache export CCACHE_LOGFILE=/var/log/ccache.log $ uname -a FreeBSD hostname 8.0-BETA2 FreeBSD 8.0-BETA2 #8: Mon Jul 20 00:02:16 JST 2009 r...@hostname:/usr/obj/usr/src/sys/GENERIC i386 4. ccache log file # tail /var/log/ccache.log Failed to mmap /var/tmp/ccache/tmp.cpp_stderr.hostname.33893 FATAL: hash_file 5. ccache file # cat /var/tmp/ccache/dummy.tmp.hostname.33893.i # 1 "/usr/src/tools/build/dummy.c" # 1 "" # 1 "" # 1 "/usr/src/tools/build/dummy.c" 6. try to reinstall devel/libtool15 # pkg_delete -f libtool-1.5.26 # portinstall devel/libtool15 [Updating the pkgdb in /var/db/pkg ... - 340 packages found ( -0 +0) done][Gathering depends for devel/libtool15 done] ---> Installing 'libtool-1.5.26' from a port (devel/libtool15) ---> Building '/usr/ports/devel/libtool15' ===> Cleaning for libtool-1.5.26 ===> Vulnerability check disabled, database not found ===> Extracting for libtool-1.5.26 => MD5 Checksum OK for libtool-1.5.26.tar.gz. => SHA256 Checksum OK for libtool-1.5.26.tar.gz. ===> Patching for libtool-1.5.26 ===> Applying FreeBSD patches for libtool-1.5.26 ===> Configuring for libtool-1.5.26 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheelchecking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... ccchecking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... configure: error: cannot compute suffix o f object files: cannot compile See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to a...@freebsd.org [maintainer] and attach the "/usr/ports/devel/libtool15/work/libtool-1.5.26/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls/var/db/pkg`). *** Error code 1 Stop in /usr/ports/devel/libtool15. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20090720-33 926-15820ox-0 env make BATCH=yes ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/libtool15 (configure error) -- Kouki Hashimoto hsm...@gmail.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: To meke Desktop FreeBSD setting up by Xorg -- under VMWare?
> I installed xorg,ipa-ttfonts,xfce4 and sudo. And I make install clean. > I tried the next setting of xorg.conf, but failed. > please tell me how to rewrite the xorg.conf file or send me the file. Hello. Did you try "Xorg -configure" command? It will create xorg.conf.new automatically. Then, you can put it as /etc/X11/xorg.conf. This is my /etc/X11/xorg.conf. (But, this is for FreeBSD-current, so may not work in your environment.) Regards. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" Option "AllowEmptyInput" "off" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "xtrap" Load "dri" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "jp" Option "XkbModel" "jp106" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName"Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "probe_sparse" # [] #Option "accel" # [] #Option "crt_display" # [] #Option "composite_sync"# [] #Option "hw_cursor" # [] #Option "force_pci_mode"# [] #Option "dma_mode" # #Option "agp_mode" # #Option "agp_size" # #Option "local_textures"# [] #Option "buffer_size" # #Option "tv_out"# [] #Option "tv_standard" # #Option "mmio_cache"# [] #Option "test_mmio_cache" # [] #Option "panel_display" # [] #Option "reference_clock" # #Option "shadow_fb" # [] #Option "sw_cursor" # [] #Option "AccelMethod" # #Option "RenderAccel" # [] Identifier "Card0" Driver "mach64" VendorName "ATI Technologies Inc" BoardName "Rage Mobility P/M AGP 2x" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection -- Kouki Hashimoto hsm...@gmail.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: config as an exit of "IPv6 over IPv4 tunnel"
Thanks, Matthew ! I will try it, and report again. 2008/7/21 Matthew Seaman <[EMAIL PROTECTED]>: > Hashimoto wrote: >> >> Can I configure FreeBSD as an exit of "IPv6 over IPv4 tunnel"? >> >> Let me explain it in detail. >> Both hostA and hostB have global IPv4 address. >> And hostA has global IPv6 address. >> I have installed FreeBSD 7.0 on both hostA and hostB. >> Then, I want to config "IPv6 over IPv4 tunnel" from hostB to hostA. >> Is it possible? >> > > Yes, absolutely. I have a similar configuration for my IPv6 connectivity. > There are some alternatives (stf(4), faith(4)), but this is based I what > I have. > > This is mostly in terms of what you'ld add to /etc/rc.conf on HostB -- > HostA will be similar, but addresses will be reversed in the obvious > places. > > i) Create a gif(4) interface and configure the endpoints: > > gif_interfaces="gif0" > gifconfig_gif0="hostB-ipv4-number hostA-ipv4-number" > > ii) Enable IPv6 on HostB -- I'm assuming you've assigned a /64 net block to > HostB (perhaps a tad excessive, but pretty much the > default for an allocation of a chunk of IPv6 address space.) Adjust > the prefixlen to suit. > > ipv6_enable="YES" > ipv6_defaultrouter="-interface gif0" > ipv6_default_interface="gif0" > ipv6_ifconfig_gif0="1234:5678:9abc:def0::1 prefixlen 64" > > iii) Settings on HostA are slightly different -- HostA has to be a > router, and it only wants to route the HostB block via the gif(4) > tunnel: > > ipv6_enable="YES" > ipv6_defaultrouter="hostA-ipv6-gateway-address" > ipv6_gateway_enable="YES" > > ipv6_static_routes="hostB" > ipv6_route_hostB="1234:5678:9abc:def0:: -prefixlen 64 -interface gif0" > > iv) That should be everything you need to get point to point connectivity > working. Note: it's pretty easy now to make HostB an IPv6 router and > assign IPv6 addresses to anything on the same local subnet as HostB. > In fact, you can use rtadvd(8) on HostB to make that automatic: > > ipv6_network_interfaces="auto" > ipv6_prefix_em0="1234:5678:9acb:def0" > rtadvd_enable="YES" > rtadvd_interfaces="em0" > > Then just run rtsol(8) on all the other machines that will use HostB as > their IPv6 gateway. > >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 > > -- Hashimoto Kouki [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
config as an exit of "IPv6 over IPv4 tunnel"
Can I configure FreeBSD as an exit of "IPv6 over IPv4 tunnel"? Let me explain it in detail. Both hostA and hostB have global IPv4 address. And hostA has global IPv6 address. I have installed FreeBSD 7.0 on both hostA and hostB. Then, I want to config "IPv6 over IPv4 tunnel" from hostB to hostA. Is it possible? -- Hashimoto Kouki [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Difference between FreeBSD-FUSE and Linux-FUSE
2008/6/26 Dominic Fandrey <[EMAIL PROTECTED]>: > Hashimoto wrote: >> >> What is difference between FreeBSD-FUSE and Linux-FUSE ? >> I want to use FUSE, but I can't understand difference between >> http://fuse4bsd.creo.hu/ (FUSE for FreeBSD) >> and >> http://fuse.sourceforge.net/ (FUSE for Linux). >> >> Are there some performance differences? >> Or are there some implementation differences? >> Which one I should use? >> Please tell me anything. >> >> Regards. > > The kernel hooks are different (obviously). The userland stuff > is probably the same. > Thanks Dominic Fandrey. So, what is the "kernel hooks" ? Could you tell me some resources ? Dear freebsd-question everyone. I have another question. I read somewhere that "Linux-FUSE is file based, and FreeBSD-FUSE is vnode based". Is it true & What does it mean ? -- 橋本紘希 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Difference between FreeBSD-FUSE and Linux-FUSE
What is difference between FreeBSD-FUSE and Linux-FUSE ? I want to use FUSE, but I can't understand difference between http://fuse4bsd.creo.hu/ (FUSE for FreeBSD) and http://fuse.sourceforge.net/ (FUSE for Linux). Are there some performance differences? Or are there some implementation differences? Which one I should use? Please tell me anything. Regards. -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with default route
/etc/rc.conf defaultrouter="10.0.0.1" static_routes="route1" route1="-net 10.0.0.0/24 -iface ipw0" How about this? 2008/6/9 Matt Brennan <[EMAIL PROTECTED]>: > Well, I can't be sure without seeing your entire routing table, but I > would bet you need to do something more like this: > > route add -net 10.0.0.0/24 -iface ipw0 > route add default 10.0.0.1 > (or maybe route add default gw 10.0.0.1) > > If that doesn't work try giving us the output from your routing table > (netstat -rn). > > -Matt > > On Sun, Jun 8, 2008 at 10:27 AM, Svein Halvor Halvorsen > <[EMAIL PROTECTED]> wrote: >> Hi! >> >> I usually use the wired network at home, in which everything gets >> configured automatically as soon as I attach the cable to my network >> card. >> >> However, when using the wireless network, I need to run >> >> # route add default -iface ipw0 >> >> This will give me a route to the gateway (10.0.0.1), and I can ping >> the gateway, as well as other machines on our local network. But if >> I try to connect to anything outside of 10/24, I get a "no route to >> host" error. If I manually add a route, with >> >> # route add x.y.z.t 10.0.0.1 >> >> I can connect to that host. If I change my default route to anything >> but "-iface ipw0" I cannot connect to the gateway (10.0.0.1). I >> cannot keep adding routes to all hosts I need to connect to. >> >> I've solved the problem for web usage, by running a proxy on another >> machine on the local network (that's reachable) >> >> >> What am I doing wrong? >> I don't think I have a thorough understanding of network routes. >> >> >>Svein Halvor >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "[EMAIL PROTECTED]" >> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- 橋本紘希 東京大学工学部電子情報科4年生 江崎研究室所属 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xlock - where
xclock exists /usr/ports/x11/xclock on my machine(FreeBSD 7.0-RELEASE) [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Major version binary upgrade 6.3-RELEASE -> 7-RELEASE
my machine is 7.0-RELEASE # portupgrade -f ruby ===> Found saved configuration for ruby-1.8.6.111_1,1 ===> Extracting for ruby-1.8.6.111_1,1 => MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2. => SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2. /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/ ===> Patching for ruby-1.8.6.111_1,1 ===> Applying FreeBSD patches for ruby-1.8.6.111_1,1 /usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g' /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure /bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API /bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm /usr/ports/lang/ruby18/work/ /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv /usr/ports/lang/ruby18/work/ /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk /usr/ports/lang/ruby18/work/ ===> Configuring for ruby-1.8.6.111_1,1 /usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure configure: WARNING: you should use --build, --host, --target checking build system type... i386-portbld-freebsd7 checking host system type... i386-portbld-freebsd7 checking target system type... i386-portbld-freebsd7 checking for i386-portbld-freebsd7-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no ...(continuing)... ===> Cleaning for ruby-1.8.6.111_1,1 ---> Cleaning out obsolete shared libraries successfully finished. can you compile&run C program on your machine? [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"