Re: Horrible installer
On Tue, Jan 24, 2012 at 7:42 AM, Stas Verberkt wrote: > On Mon, Jan 23, 2012 at 11:24:20PM +0100, claudiu vasadi wrote: > > >From my point of view, I would like to see 2 major things in bsdinstall: > > > > 1) ZFS support > > 2) an option, to use GUI or text mode installer (similar to RHEL, CentOS, > > Solaris) > 3) GELI disk encryption > > Ah ... that too. -- Best regards, Claudiu Vasadi ___ 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: Horrible installer
PS: would like to see option "2" in PC-BSD too (maybe I'm just melancholic to have a non-GUI installer :) ) -- Best regards, Claudiu Vasadi ___ 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: Horrible installer
>From my point of view, I would like to see 2 major things in bsdinstall: 1) ZFS support 2) an option, to use GUI or text mode installer (similar to RHEL, CentOS, Solaris) Other than that, I can use it just as I was using sysinstall, because we always have ZFS on root (need to drop to shell to run a script) or UFS (built-in). -- Best regards, Claudiu Vasadi ___ 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: TAB not jumping to OK in options screen
Hi, I've never experienced anything similar but one workaround is to edit the "Makefile:" and change the "Off" to "On" for the options you need, and the other way around for the options you don;t need. Still, the real problem eludes me and that;s the one that needs fixing. -- Best regards, Claudiu Vasadi ___ 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: ports vs packages
On Mon, Jan 9, 2012 at 6:17 PM, alexus wrote: > Ports vs Packages? > > /usr/ports vs pkg_* > > pros/cons > > -- > http://alexus.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" > you google-ing vs you google-ing pro/cons ? -- Best regards, Claudiu Vasadi ___ 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"
OT: looking for a datacenter in France and Italy that offers FreeBSD
Hi guys, I know this is a bit offtopic but I'm looking for a datacenter in France and Italy that can provide FreeBSD and I would appreciate some feedback and/or personal experience with any. We are looking to expand our business into these 2 countries so we need to rent some servers. Any feedback is welcome. -- Best regards, Claudiu Vasadi ___ 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: problem in changing serial console speed!
Hi, So basically you need the following: 1) Set the baud rate and the com interface in BIOS (ex: com1 and baud rate 19200) 2) /boot/loader.conf: ipmi_load="YES" 3) reboot 4) - use "dmesg | grep uart" and you will something like this: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart0: console (19200,n,8,1) Then, change /boot/loader.conf to reflect the serial interface found by the OS as ipmi-enabled (PS: if you find "uart1" with dmesg, use "uart1" in "loader.conf") # IPMI settings hint.uart.0.at="isa" < - use "dmesg" hint.uart.0.baud="19200" <- same as in BIOS hint.uart.0.port="0x3f8"< - use "dmesg" hint.uart.0.flags="0x10"< - use "dmesg" hint.uart.0.irq="4" < - use "dmesg" console="comconsole,vidconsole" comconsole_speed="19200" < - same as in BIOS boot_multicons="YES" boot_serial="YES" 5) /etc/ttys - if you found, for example, uart0 as ipmi-enabled, do the folowing: ttyu0 "/usr/libexec/getty std.19200" vt100 off secure - ex for uart1: ttyu1 "/usr/libexec/getty std.19200" vt100 off secure - make sure to match the BAUD-rate, it;s important :) 6) /etc/make.conf (you need to rebuild the boot blocks with IPMI-enabled) # IPMI boot block build options BOOT_COMCONSOLE_PORT=0x3f8 BOOT_COMCONSOLE_SPEED=19200 7) compile new boot-blocks: cd /usr/src/sys/boot make clean make make install 8) reboot and pray :) PS: with IPMI-console enabled, I was never able to see anything beyond the messages that the kernel displays when booting (ex: no "Starting apache. done" or "Starting ssh. done"). Maybe someone knows a workaround for 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: CARP related trivial question
What;s the reason for not being able to load the module ? ___ 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: ISC dhcp server
Then again, one can alway use "dhcpd -t" to test the configuration file. ___ 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: Installing FreeBSD 9 on an AMD 64 with 16 GB of memory
Hi, I installed FreeBSD8.2 amd64 the other day on a 98GB RAM machine with 24 CPU's (a supermicro 2U server). Due to this alone, I doubt that the bootloader is limited in any way by the amount of RAM the machine has. However, I experienced the same behavior on several "small" machines (normal PC's) and in most cases, the controller was the culprit. I see you have LSI raid module .. weird, I installed several 8.2's on several servers with LSI raid modules. I cannot think of anything right now as the situations I've experienced in the past were solved symply by removing the raid controller from the machine or configuring all hdd's as single disks. Reading your post again, I see you've already done this. Out of ideas at this point really. sorry. ___ 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: listing ZFS pool name in fixit mode
Hi, The problem was that I forgot to load the tws kernel module (for the 3ware raid controler). After I manually loaded the module, all was fine. Thx for the reply :) ___ 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"
listing ZFS pool name in fixit mode
Hi guys, I have a 8.2-amd64 machine on which I blew up the boot blocks (isn't booting any more). It's s supermicro server btw and we have a ZFSonRooT setup there. The way I want to go about fixing it is booting into single user mode, mounting all the datasets, undoing the modification I did to the boot blocks, recompiling and installing the "old" version of the boot blocks for the system to boot. The problem is that after I boot a 8.2-DVD and then go to fixit mode, load the opensolaris and the zfs modules, I cannot list the ZFS pool name (I don;t know the ZFS pool name because I didn;t setup this machine) and without the name, I cannot import the pool to fix the boot blocks. So, my question is if there is a way to list the zpool in single user mode so that I know which pool I have to import or if there might be another way of fixing this problem. I already tried "zpool list" but it was no good. -- Best regards, Claudiu Vasadi ___ 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: Where's my disk?
Try booting into single user mode and then: # mount -u / # tunefs -L root /dev/ad6s1a # reboot ___ 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: opera 11.11 and flash
Hi Paul, Have a look at section 6.2.3.2 from http://www.freebsd.org/doc/handbook/desktop-browsers.html, it works. If you still have problems, you can report back. ___ 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: Buildworld Benchmarks
Hi Devin, Have a look at ccache, it might help (if you do not clean the cache every time a buildworld is done). As a comparison, my Intel i7 (8 core) CPU, finished the buildworld (-j16) in ~19 minutes (if I remember correctly). Cheers. ___ 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"
hanging process
Hi guys, I have a amd64 8.2-RELEASE box running on a core2duo 2.2 GHz Intel with 6GB of RAM (ddr2). Earlier today I started "cvsup -g -L 2 -h `fastest_cvsup -q -c tld` /root/cvsup/kernel-supfile" and at some point, my ISP had a problem and my ssh connection dropped. Since that point, the server has a really low response time ("man top" takes ~1 minute to display). Besides this, I can't even reboot and a "shutdown -r now" halts the system with "some processes could not be killed" message. I manually killed the hanging ssh session and also flushed the pf state, reloading the rules (pfctl -F all -f /etc/pf.conf) but I have the same problem. CTRL+T after the "reboot" cmd shows: "load: 0.00 cmd: reboot 61080 [zilog->zl_cv_writer)] 49.39r 0.00u 0.00s 0% 1216k" but pretty much nothing happens. In the past, I had the same problem while running portmaster via ssh after my initial session dropped. It seems there is a hanging process but I cannot find it. Any help is appreciated. -- Best regards, Claudiu Vasadi ___ 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"
ipsec vpn - gif_if connection problem
Hello guys, I have 3x 8.1-RELEASE i386 machines with a custom kernel that consists of the GENERIC kernel plus: options IPSEC options IPSEC_DEBUG device crypto the 3 extra options needed for IPSEC/racoon VPN. All the setup was made according to [URL="http://www.freebsd.org/doc/handbook/ipsec.html";] http://www.freebsd.org/doc/handbook/ipsec.html[/URL] and it worked. I got to the racoon/setkey part and after I managed to get that working too, at some point, the gif interfaces stopped communicating (a.k.a no more connection between the 3 machines). At first, I thought it's a routing problem but I didn't see anything weird; then I turned to the firewall (pf) and I disabled it but with no effect. Step by step I disabled racoon, setkey and recreated the gif interfaces but still, no effect. For the sake of sanity, I will detail below only 2 machines: machine 1 (192.168.1.0/24 gw 192.168.1.1): [r...@mainserver1 ~]# ifconfig gif2 gif2: flags=8051 metric 0 mtu 1280 tunnel inet 79.113.55.0 --> 79.113.90.52 inet 192.168.1.1 --> 192.168.2.1 netmask 0xff00 options=1 [r...@mainserver1 ~]# netstat -f inet -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 79.113.48.1 UGS 0 123132 tun0 79.113.48.1 link#5 UHS 0 0 tun0 79.113.55.0 link#5 UHS 0 16 lo0 127.0.0.1 link#4 UH 0 1287 lo0 192.168.0.0/24 192.168.10.1 UGS 0 277 tap0 192.168.1.0/24 link#2 U 0 3249916 rl0 192.168.1.1 link#2 UHS 1 1 lo0 192.168.2.0/24 192.168.2.1 UGS 0 0 gif2 192.168.2.1 link#9 UH 0 3 gif2 192.168.10.0/24 link#8 U 0 0 tap0 192.168.10.2 link#8 UHS 0 0 lo0 machine 2 (192.168.2.0/24 gw 192.168.2.1): [r...@mainserver2 ~]# ifconfig gif1 gif1: flags=8051 metric 0 mtu 1280 tunnel inet 79.113.90.52 --> 79.113.55.0 inet 192.168.2.1 --> 192.168.1.1 netmask 0xff00 options=1 [r...@mainserver2 ~]# netstat -f inet -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.100.144.12 UGS 0 811847 tun0 10.100.144.12 link#5 UHS 0 0 tun0 79.113.90.52 link#5 UHS 0 175 lo0 127.0.0.1 link#4 UH 0 1043 lo0 192.168.0.0/24 192.168.0.1 UGS 0 16 gif0 192.168.0.1 link#6 UH 0 19 gif0 192.168.1.0/24 192.168.1.1 UGS 0 0 gif1 192.168.1.1 link#7 UH 0 4 gif1 192.168.2.0/24 link#2 U 0 5702099 rl0 192.168.2.1 link#2 UHS 2 0 lo0 machine 1 uses gif2 (as it goes to machine2) and machine 2 uses gif1 (as it goes to machine 1) Scenario: Both gif_if created. I run ping from machine 1 to ext_IP of machine 2 = works; but if I ping the internal IP of any machine from the other one, it does not. I started tcpdump on machine1 and started pinging from machine2. I can see the echo_reply if I ping the external_IP but not if I do the same with the internal_IP. From this, I am thinking there is a problem with the routing table but tbh, I cannot see it. If this would not be the case however, I would assume the firewall is blocking something (but the firewall is disabled). What am I missing here ? -- Best regards, Claudiu Vasadi ___ 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"
ipsec with dynamic IP
Hello fellas, I have 2x 8.1-RELEASE machines and I need to create a vpn between them. I've been reading the handbook on this subject and following the example there, I was able to establish a link. The only problem is that both my machines have dynamic (external) IP. My way of "solving" this little issue would be to create a script that would check each machine for a new external IP and if it finds it, replace it wherever it is needed (gif interface, racoon conf. file) My question to you is if there is another, cleaner, way of achieving this and if any of you faced the same situation, how did you come to solve it ? Also, is there a way to make the gif interface persistent over reboots ? I couldn;t find any so again, a script comes to mind. -- Best regards, Claudiu Vasadi ___ 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: The nightmarish problem of installing a printer
Hello, First things first, does cups see your printer ? Do you use "lpradmin" or the web-interface for adding the printer ? Second, did you try using http://foo2qpdl.rkkda.com/ for the driver ? Third, can you post error logs ? ___ 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: (no subject)
perhaps, but I reached speeds of up to 51MB constant write with it. what s-ata1 controller would you recommend in this case ? ___ 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: (no subject)
Bruce, Can you elaborate on that pls ? ___ 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: (no subject)
I have SiI 3512 SATA150 controller and it works ok ___ 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: i386 to amd64 migration
AFAIK,basically no x86 -> x86 and x64 -> x64 Non-basically ... yes but it's a real pain in the @$$ and you will definitely run in all kinds of trouble. ip you have KVM access, just put a x64 DVD inside and do a clean install (it will keep your sanity intact) ___ 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: two ata-related problems
Hi, For point no. "1" you can check if the drive is supported @ http://www.freebsd.org/releases/8.1R/hardware.html. Sorry, no idea about point no. "2" ___ 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"
jail devfs.rules not loaded at boot
Hello fellas, I have a 8.0-RELEASE, i386 box with 2 jails. Here is my rc.conf: jail_enable="YES" # Set to NO to disable starting of any jails jail_list="dns www" # Space separated list of names of jails jail_dns_rootdir="/jails/dns" # jail's root directory jail_dns_hostname="dns" # jail's hostname jail_dns_ip="192.168.0.254" # jail's IP address jail_dns_devfs_enable="YES" # mount devfs in the jail jail_dns_devfs_ruleset="dns_ruleset" # devfs ruleset to apply to jail jail_dns_exec_start="/bin/sh /etc/rc" # command to execute in jail for starting jail_dns_exec_stop="/bin/sh /etc/rc.shutdown" # command to execute in jail for stopping jail_www_rootdir="/jails/www" # jail's root directory jail_www_hostname="www" # jail's hostname jail_www_ip="192.168.0.253" # jail's IP address jail_www_devfs_enable="YES" # mount devfs in the jail jail_www_devfs_ruleset="www_ruleset" # devfs ruleset to apply to jail jail_www_exec_start="/bin/sh /etc/rc" # command to execute in jail for starting jail_www_exec_stop="/bin/sh /etc/rc.shutdown" # command to execute in jail for stopping /etc/devfs.rules: [www_ruleset=1] add hide add path null unhide add path zero unhide add path random unhide add path urandom unhide add path crypto unhide add path stdin unhide add path stdout unhide add path stderr unhide [dns_ruleset=2] add hide add path null unhide add path zero unhide add path random unhide add path urandom unhide add path crypto unhide add path stdin unhide add path stdout unhide add path stderr unhide df -h: devfs 1.0K 1.0K 0B 100% /jails/dns/dev devfs 1.0K 1.0K 0B 100% /jails/www/dev The problem: At boot, the devfs.rules rules are not loaded and if I drop into the jail and do a ls in /etc, I can see everything the host machine has. However, if I manually restart the jails, the devfs rules are loaded. I tried putting the rules in /etc/defaults/devfs.rules too (and removed them from /etc/devfs.rules) but didn't work. The behavior is the same. An I doing something wrong here ? -- Best regards, Claudiu Vasadi ___ 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"
cups - error while loading shared libraries: /usr/lib/libcups.so.2: ELF file OS ABI invalid
Hello fellas, I have a 8.0-RELEASE (i386) with the following make.conf: PERL_VERSION=5.8.9 WRKDIRPREFIX=/wrkdir NO_BIND = YES WITH_CUPS=YES CUPS_OVERWRITE_BASE=YES WITHOUT_LPR=YES and a custom kernel that has all the features of GENERIC + all required stuff for pf. Nothig special up to this point. I needed to install cups on this particular machine because the network it resides on has several printers. There is 1 network printer which I added without any problems but I also need to add a Samsung CLP-310_Series USB printer. cups-base-1.4.4 cups-client-1.4.4 cups-image-1.4.4 cups-pstoraster-8.15.4_6 gutenprint-cups-5.2.4_2 gutenprint-base-5.2.4_2 gutenprint-cups-5.2.4_2 and devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups add path 'usb/4.2.0' mode 0660 group cups <- this was added because cups did not see/detect my usb printer and after a restart of devfs and cups, I was able to add the Samsung printer (ppd was on the CD). All fine and dandy up to this point but when I tried to print a test page I got: [...] D [28/Aug/2010:11:44:14 +0300] [Job 29] Samsung_CLP-310_Series: error while loading shared libraries: /usr/lib/libcups.so.2: ELF file OS ABI invalid [...] D [28/Aug/2010:11:44:14 +0300] [Job 29] printer-state-message="/usr/local/libexec/cups/filter/rastertosamsungsplc failed" [...] So I have 2 problems. 1) /usr/lib/libcups.so.2 # ldd /usr/lib/libcups.so.2 /usr/lib/libcups.so.2: libm.so.5 => /lib/libm.so.5 (0x2830) libcrypt.so.5 => /lib/libcrypt.so.5 (0x2831a000) libz.so.5 => /lib/libz.so.5 (0x281ee000) libthr.so.3 => /lib/libthr.so.3 (0x28333000) libc.so.7 => /lib/libc.so.7 (0x28091000) 2) rastertosamsungsplc As far as problem 2 goes, I am guessing the file has some problems (although it worked on a centos with the same printer - wtf ? - or maybe it is some linux version of the file) I have the linux kernel module loaded and "linux_base-f10-10_2" installed My guess is that cups needs a linux version of "libcups.so.2" and not a native BSD one. This would explain the fact that it cannot find the file in the first place. I searched for "libcups.so.2" and the only place I could find it was in "/usr/lib" which means that this file is a BSD file. If anyone can pass my their "libcups.so.2" to try I would appreciate it (linux and/or BSD version - if one) . Any ideas and/or thought are highly welcomed -- Best regards, Claudiu Vasadi ___ 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: chunk 'ad1s4 ; ad1s2 ,ad1s3 does not start on a track boundary : install issue
you can make a hdd image and then play safely with the hdd. if things go bag, you can just restore the image ;) ___ 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: mountpoint not existent, droping to single user mode
I will write a rc.d script. It seems like the correct way to go. Manual mount is out of the question :) I will e-mail my end "product" ps: I know it's a dir and not a folder ;) ___ 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: mountpoint not existent, droping to single user mode
ok, so I will make a secondary mount script that would check and mount any "non-OS-related" mp's. This would include setting all "non-OS" mp's to "noauto" in fstab and creating a secondary script to read fstab, check if all is in order and finally mount, or exit in error. This way, the OS sticks to it's ideology and the "secondary" mp's do not interfere with that ideology in any way. ___ 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"
mountpoint not existent, droping to single user mode
Hello fellas, I have a 8.0 i386 vmware machine for the sake of testing the following behavior: What happened when a "secondary" hdd cannot be mounted at boot ? From experience I know the OS drops to single user mode, which I find incredibly stupid because a "non-OS" hdd should not stop the OS from booting up (imagine the hdd has a malfunction and then you get lucky enough to get a power surge - the OS won't come up because of a darn non-OS-important hdd). TEST scenario: 2 hdd's. The system is installed on the first one, and the second one has "/mnt/2" as mountpoin. The 2nd disk was labeled and a new ufs partition was created. I added the corresponding fstab entries and then I deliberately removed the "/mnt/2" folder. FYI: this "secondary" hdd has no data on it whatsoever. Then I rebooted and of course the system went in single user mode. And now my question: "WHY" (I know that "rc" finishes abnormally) The hdd has no relevant data on it, the OS has no files on it ... basically it does not get in the way of anything (except the perfect execution of the "rc" framework). Anyway, it seems to me that "secondary" hdd's mount failure should be "ignored" and an OS should be able to come up if one mountpoint does not exist or if an entry in fstab is wrong (again, I am talking about non-OS related hdd/mountpoints). To make things worst, I tested a RHEL5 and the system booted without any problems even if the "secondary" hdd's mp was missing. Can someone explain this "weird?" behavior ? ___ 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: IO fluctuation
Hello Steffen, How did you setup your drives in ZFS ? stripe ? what bsd version do you have and what platform ? Do you see this big fluctuation when copying some big file like say and iso or movie ? ___ 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"
Fwd: box reboot after hdd write error
How often is it rebooting? Only after the write failure. If I do read from the disks, everything is fine > If it's just data disks you could unplug them to see if the machine still > reboots. That would let you know for sure if they really are the problem or > if it's something else. I could try that but it will take some time since I am only administering the box and I have no access to it (fizicaly) > Are you sure the power surge didn't affect the power supply? Yes I am. The other 4 disks are ok and the system has no other symptoms of any kind > Also did you do anything to the system after the power surge (like open it > up for any reason where there may be a loose wire not plugged in all the > way). Nope. > The last thing I would mention is this could all be a coincidence and it > might be related to heat, make sure all your fans are working and that there > isn't any big dust buildup inside (gogo compressed air). > Crossed my mind too. I ran long and short smart test on it and it came up ok. Temp is ~37 degrees celsius. Like I said, the disks were ok before the power surge. All the fans are working fine. Sorry, I forgot to put the list in CC ___ 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"
box reboot after hdd write error
Hello fellas, My system is a 8.0-RELEASE with 6 hdd's. 2 days ago I had some power failures and 2 disks were affected. These 2 hdd;s are connected to "atapci0: port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f mem 0xfa4a-0xfa4a01ff irq 12 at device 4.0 on pci2" s-ata controller. Before the power surge, the disks were operating normally. I use them for storage, therefore no system data is kept on them. The issue here is that after the write failure, the box reboots. Up to this point I cannot figure out why it reboots, since the disks contain no "relevant" data (from a OS point of view). Do you think it's normal for an OS to reboot if 2 disks have write errors ? even more so, if the disks have no OS files on them ? ___ 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: hald freebsd8.0
from the top of my head maybe gamin can replace hald ? ___ 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: Qlogic FC controller
Arek, man isp shows: Qlogic 2422 Qlogic 2422 Optical Fibre Channel PCI cards (4 Gigabit) Qlogic 2432 Qlogic 2432 Optical Fibre Channel PCIe cards (4 Gigabit) and the hw list shows the same. What exactly are you trying to say here ? ___ 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: Qlogic FC controller
Hi, If you check http://www.freebsd.org/releases/8.1R/hardware.html you will see that both are supported by the isp(4) driver ___ 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: Skype
Hi Alex, In that case you can "make maintainer" and write an e-mail to that person. Of course, you can even lend a hand or take-over the port maintenance if the current maintainer has no time for it. Contributors are always welcomed. Another option would be to get the source from the skype website, compile and run 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"
gigabit LAN switching to 100Mb lan
Hello fellas, I have a 8.0-release system with 1 gigabit LAN and 1x 100Mb lan card. They are working fine until I add a second gigabit lancard. After I insert the second one, the first gigabit lan card drops to 100Mb. If I remove the second one, the first one goes back to gigabit. The network attached to the first one is running at 100Mb when both cards are inserted and gigabit when only 1 card is inserted. Anyone else encountered this before ? ___ 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"
rescan com ports
Hello guys, my system: 8.0-release i386 my question: Is there a way to manually rescan the com devices ? reason: yesterday I added a USR external modem on one com port and the system did not detect it until a reboot. Is this normal ? btw, is there a way to manually detect newly added hardware ? something like "cfgmgr" or "devfsadm" ? ___ 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"
8.1 jail - traceroute not working (allow_raw_sockets: 1)
Hello fellas, my system is a 8.0 release with 1 jail. I have set "security.jail.allow_raw_sockets: 1" and I can do ping but traceroute is still spitting our errors: dns# traceroute yahoo.com traceroute: Warning: yahoo.com has multiple addresses; using 72.30.2.43 traceroute: findsaddr: write: No such process Apparently, it looks up the IP but then it fails to continue. I was reading there was (or maybe there still is) some bug. I believe it is still "active" on 7.1 ( http://lists.freebsd.org/pipermail/freebsd-bugs/2009-October/036866.html ) any thoughts ? ___ 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"
Fwd: isc-dhcp leasing wrong IP's
Hi Rob, No. It did not. ___ 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"
isc-dhcp leasing wrong IP's
Hello guys, I have a F-BSD 8.0 box running isc-dhcp with the following simple config: authoritative; option domain-name-servers 192.168.0.1; option subnet-mask 255.255.255.0; default-lease-time 3600; max-lease-time 86400; ddns-update-style none; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.10 192.168.0.150; option routers 192.168.0.1; } as you can see, the lease range is between 192.168.0.10 and 192.168.0.150 but for some reason, another BSD box always gets 192.168.0.8. I can't explain this since this is the only DHCP server on the network and I see no error logs. The other BSD box says: Jul 29 00:25:04 mainserver2 dhclient[1292]: DHCPREQUEST on sk0 to 255.255.255.255 port 67 Jul 29 00:25:04 mainserver2 dhclient[1292]: DHCPACK from 192.168.0.5 Jul 29 00:25:04 mainserver2 dhclient: New IP Address (sk0): 192.168.0.8 Jul 29 00:25:04 mainserver2 dhclient: New Subnet Mask (sk0): 255.255.255.0 Jul 29 00:25:04 mainserver2 dhclient: New Broadcast Address (sk0): 192.168.0.255 Jul 29 00:25:04 mainserver2 dhclient: New Routers (sk0): 192.168.0.1 Jul 29 00:25:05 mainserver2 dhclient[1292]: bound to 192.168.0.8 -- renewal in 43200 seconds. It looks legit but still .. why is isc-dhcp handing out IP's ouside the lease range ? ___ 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"
apps update from ports
Hello fellas, I was wondering about your update strategy. Do you update your apps as soon as a new version is available in the ports ? Or do you follow the "if it works, don't touch it" strategy ? I'm guessing "portupgrade" is your preferred way of doing this hence, do you also choose -P or -PP ? ___ 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: cpu_reset: stopping other CPUs - machine stalls at halt or reboot
Rob, In the meantime I installed a "real" freebsd on my work T400 and I am experiencing the same thing. I believe that at this point I can rule out a vmware problem. PS: I also tried hard rebooting after I consider the sync done and I did not experience any weird behavior. Still is it intended to stall so long ? I hope not, because I don't like 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"
cpu_reset: stopping other CPUs - machine stalls at halt or reboot
Hello fellas, I have a vmware FreeBSD guest with 8 CPU's and 2GB RAM. I am a bit puzzled of the behaviour the system has when I issue "reboot" and/or "halt -p now". It shows "cpu_reset: stopping other CPUs" and stalls for ~2 minutes. I have a custom SMP kernel and at the moment I was unable to reveal any problems with the guest or the host (win 7). FreeBSD has all ports up to date and at the moment of reboot or shutdown, no "heavy" is running. Did any of you experience something similar ? ___ 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"
how does freebsd know which kernel to boot ?
hello ppl, I was wondering about the following: After I do "make build|install kernel" and reboot, the new kernel is automatically booted but the old one is still on the disk. Therefore, how does FreeBSD know which one to boot ? I'm guessing it's writing this info somewhere but I do not know where or how. Can anyone give me some short description ? ___ 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: [kde-freebsd] libiodbc build failure @ "configure" cmd
for others who may have the same issue -> http://forums.freebsd.org/showthread.php?t=10316 you need to replace your "base". PS: after you replace your "base" distribution and reboot, you will notice the system will not load and you will have to issue "boot GENERIC" at the "boot>" prompt. The workaround for this is to issue "nextboot -k GENERIC" after you upgraded the "base" distribution and BEFORE you reboot. This was very handy to me, since the system that was damaged is ~700km away from me. Hope this helps someone > ___ 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"
/usr/lib/libpthread.so: undefined reference to `__pselect'
Hello fellas, Lately, most compile from ports end up with the following: /usr/lib/libpthread.so: undefined reference to `__pselect' followed by the port exit error. Ex for jdk: gcc -g -c -o launcher.o launcher.c -m32 -march=i586 -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/launcher -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/prims -DFULL_VERSION=\"1.6.0_03-p4-root_23_jul_2010_13_39-b00\" -DARCH=\"i386\" -DGAMMA -DLAUNCHER_TYPE=\"gamma\" -DLINK_INTO_LIBJVM -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I../generated/adfiles -I../generated/jvmtifiles -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/asm -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/ci -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/code -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/compiler -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/shared -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/gc_interface -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/interpreter -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/libadt -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/memory -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/oops -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/opto -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/prims -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/runtime -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/services -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/utilities -I/usr/ports/java/jdk16/work/hotspot/src/cpu/i486/vm -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm -I/usr/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm -I../generated -DHOTSPOT_BUILD_VERSION="\"1.6.0_03-p4-root_23_jul_2010_13_39-b00\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_RELEASE_VERSION="\"1.6.0\"" { \ echo Linking launcher...; \ \ gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586 -export-dynamic -L`pwd` -o gamma launcher.o -ljvm -lm -pthread; \ \ } Linking launcher... /usr/lib/libpthread.so: undefined reference to `__pselect' gmake[5]: *** [gamma] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[4]: *** [the_vm] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[3]: *** [product] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/devel/apache-ant. *** Error code 1 Stop in /usr/ports/editors/openoffice.org-3. Ideas? ___ 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: rmconfig from all ports tree
in the meantime I wrote the following quick script: #!/bin/sh # Create a list of all dir's find /usr/ports/ -depth 2 -type directory -print > ports_structure # for each discovered dir, cd into it and do rmconfig file=ports_structure while read dr1 do cd $dr1;make rmconfig done<$file very simple script if you ask me. tested and working. Any suggestions/ideas/opinions are welcomed. ___ 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: rmconfig from all ports tree
Hi Greg, Thanks for the "rmconfig-recursive". I did not know about 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: rmconfig from all ports tree
one solution I just created would be: for i in `find /usr/ports/ -type directory -print`; do `cd $i && make rmconfig`;done but I am wondering if there is a "official way". man portsclean did not give me any options to do it. Another thing would be to make rmconfig in all dir's that are required to be installed by a particular meta-port, for instance kde/gnome/xfce. > ___ 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"
rmconfig from all ports tree
hello guys, is there a way to do "make rmconfig" for all ports at once ? ___ 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: startkde: Could not start kdeinit4. Check your installation.
hello fellas, can no one give me any ideas ? I reinstalled libthr.so.3 in the meantime but with no effect. > ___ 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"
startkde: Could not start kdeinit4. Check your installation.
Hello fellas, my system: FreeBSD [xxx] 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 [email]r...@almeida.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/GENERIC i386 my problem: - # startx xauth: creating new authority file /root/.serverauth.69910 X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 8.0-RELEASE i386 Current Operating System: FreeBSD mainserver.serveftp.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 21 October 2009 04:11:47AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 18 15:50:08 2010 (==) Using config file: "/etc/X11/xorg.conf" kcheckrunning: not found kbuildsycoca4 running... startkde: Starting up... /libexec/ld-elf.so.1: /lib/libthr.so.3: Undefined symbol "__pselect" startkde: Could not start kdeinit4. Check your installation. - at the moment the box has xfce4 on it and I decided to install kde4 (pkg_add -r kde4). all went flawlessly. I added "exec /usr/local/kde4/bin/startkde" to ~/.xinitrc but when I do "startx" I get the message above. The box is a remote one. After the error, startx does not exit and if I use x11vnc I see a black screen with a box that says "Could not start kdeinit4. Check your installation" and a "Okay" button. If I click it, "x11vnc" exits but "startx" does not. However, if I run "/usr/local/kde4/bin/startkde" and "x11vnc" with "-auth" option, I can see the kde4 login screen and after it accepts my credentials I see "Could not start kdeinit4. Check your installation". If I click "okay", x11vnc exits. I was unable to replicate this behaviour - it happened only once (kde does not run without a X server so I'm presuming I had some X process hanging somewhere) I've been google-ing for quite some time now and I am unable to find anything relevant. The machine is ~800 km away so direct interaction is impossible. Any ideas are welcomed. PS: nothing relevant in messages.log, all.log and Xorg.log. The video card is a nvidia FX5500. PS2: on a vmware machine, (fresh install of F-BSD 8.0 - kernel+base) I had no problems. PS3: I have reinstalled all kde4 packages (pkg_add) and rebuild libthr from source but with no effect :( ___ 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"
jail_list not working
Hello folks, I need you help about this issue. If I write more than 1 jail inside the "jail_list" in rc.conf, neither of the jails are started. my system is a vmware workstation machine, with guest os freebsd 8.0-release. nothing is changed in the OS. here is the rc.conf: hostname="freebsd2" ifconfig_em0="DHCP" ifconfig_em0_alias="192.168.0.21" #ifconfig_em0="inet 192.168.0.11 netmask 255.255.255.0 broadcast 192.168.0.255" #defaultrouter="192.168.0.1" moused_enable="YES" sshd_enable="YES" hald_enable="YES" dbus_enable="YES" zfs_enable="YES" #ifconfig_vxn0="dhcp" #pf_enable=YES #apache22_enable="YES" # Apache is running in jail # Jails jail_enable="YES"# Set to NO to disable starting of any jails jail_list="apache georgi" # Space separated list of names of jails # Apache Jail settings jail_apache_rootdir="/jails/apache" # jail's root directory jail_apache_hostname="apache.da1.ro" # jail's hostname jail_apache_interface="em0" jail_apache_ip="192.168.0.21" # jail's IP address jail_apache_devfs_enable="YES" # mount devfs in the jail #jail_apache_devfs_ruleset="apache_ruleset" # devfs ruleset to apply to jail # Georgi Jail settings jail_georgi_rootdir="/jails/georgi" # jail's root directory jail_georgi_hostname="georgi.da1.ro" # jail's hostname jail_georgi_interface="em0" jail_georgi_ip="192.168.0.22" # jail's IP address jail_georgi_devfs_enable="YES" # mount devfs in the jail #jail_georgi_devfs_ruleset="georgi_ruleset" # devfs ruleset to apply to jail If I write only 1 jail, it starts without any problems. but if I put more than 1, either none of them start, either the first one starts (always the first one). No errors in /var/log/messages and no errors in stdout while os load. googleing since this morning. any ideea ? ___ 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"
ifconfig -alias - removed wrong ip ?
Hello guys, I have a 7.2-stable Freebsd running on a 2.66 Ghz 478 socket mobo with 1 GB DDR1 ram. I added another ip on my rl0 interface, brought it up, everything was fine (until i screwed it up :( ). I wanted then to remove the alias IP but i wrote a wrong command (ifconfig rl0 -alias) and since then I have no access to the box. I then turned to my vmware FreeBSD to reproduce the situation and I was stuned to find out that that command I wrote, removes the "normal" IP and not the alias one. OK, normaly (I think) i should be able to connect to the alias IP. well, It's not the case 2 things here: 1.) Is it normal for the ifconfig rl0 -alias to remove the "normal" IP and not the alias one ? (I think that by this syntax it could be right but the parameter "-alias" is specified and the OS should know to remove the alias IP and not the normal IP) 2) I dnt really understand why am I not able to connect to the second (alias) ip? It seems that somehow it's dependant to the "normal" one I must say I was not really reading the handbook for the 2nd point here will do it now though PS: box is 3 countryes away from me so manual intervention is out of the question (although I have some sort of online-suport (If my 73 years old grandmother can be called that :)) ) ) ___ 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 TSM server
On Mon, Jun 8, 2009 at 9:16 AM, Wojciech Puchar < woj...@wojtek.tensor.gdynia.pl> wrote: > > the type fdisk /dev/da1 and then compare the sectors values with what dmesg > says > > fdisk /dev/ad2 : *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=155127 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=155127 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 41929587 (20473 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 41929650, size 114430995 (55874 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 dmesg doesn't say anything usefull. only: ad2: 76351MB at ata1-master UDMA100 I'm not pretty good at this but it seams ok. the disk has been 99% full before and no problems. The slices were created a long time ago and ran some random test that all came out ok. ___ 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 TSM server
On Sun, Jun 7, 2009 at 11:26 PM, Miroslav Lachman <000.f...@quip.cz> wrote: > claudiu vasadi wrote: > >> On Sun, Jun 7, 2009 at 9:38 PM, Wojciech Puchar < >> woj...@wojtek.tensor.gdynia.pl> wrote: >> >> >> Jun 7 21:10:47 da1 kernel: ad6: detached >>> >>> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86540058624, >>>> length=16384)]error = 6 >>>> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1e[READ(offset=63203147776, >>>> length=16384)]error = 6 >>>> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048, >>>> length=16384)]error = 6 >>>> >>>> >>> >>> isn;t it trying to read past the end of disk? >>> >>> >> >> Hmm.. I guess you are correct. The question is why is it doing this ? >> > > It can be caused by wrong disk label (partitioning). Some partition made > bigger then real media [disk]. > You can see the label by command disklabel ad6s1 and then compare size & > offset values with `diskinfo -v ad6` Here is the ad2: [...@da1.ro /home/da1]# disklabel ad2s1 # /dev/ad2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 4125328 1048576 swap c: 419295870unused0 0 # "raw" part, don't edit d: 4159488 51739044.2BSD 2048 16384 28552 e: 1048576 9924.2BSD 2048 16384 8 f: 31547619 103819684.2BSD 2048 16384 28552 [...@da1.ro /home/da1]# diskinfo -v ad2 ad2 512 # sectorsize 80060424192 # mediasize in bytes (75G) 156368016 # mediasize in sectors 155127 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. ad:S00JJ30X533937 # Disk ident. And the ad6: [...@da1.ro /home/da1]# disklabel ad6s1 # /dev/ad6s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 4902234120unused0 0 # "raw" part, don't edit d: 25165824004.2BSD0 0 0 e: 167772160 2516582404.2BSD0 0 0 f: 70793012 4194304004.2BSD0 0 0 [...@da1.ro /home/da1]# diskinfo -v ad6 ad6 512 # sectorsize 251000193024# mediasize in bytes (234G) 490234752 # mediasize in sectors 486344 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. ad:WD-WCANY2281832 # Disk ident. [...@da1.ro /home/da1]# ___ 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 TSM server
On Sun, Jun 7, 2009 at 9:38 PM, Wojciech Puchar < woj...@wojtek.tensor.gdynia.pl> wrote: > Jun 7 21:10:47 da1 kernel: ad6: detached >> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86540058624, >> length=16384)]error = 6 >> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1e[READ(offset=63203147776, >> length=16384)]error = 6 >> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048, >> length=16384)]error = 6 >> > > > isn;t it trying to read past the end of disk? > Hmm.. I guess you are correct. The question is why is it doing this ? And on both drives ? Feels to me a problem for the developers. HDD's didn't give me one problem since the day the got installed. I'm not saing that they are very good HDD's (in fact they are quite cheap ones) but fail all of a sudden ? And leaving this asside, they dnt give one error on masive transfers and still have very good transfer speed. What I'm saing is that hdd failure could be a posibility of course, but a unlikely one at this point. My problem is that I do not know what tehnik TSM server uses for creating those files because at some point it fails. Strainge thing is that it goes over 1G. First it creates the file and then it populates the file up until the given limit (25G in this case). I will try something tomorow. I will again start the tsm server to add the space (the 25G free space) to the pool and will monitor the file size up until the OS crashes. I'm very curious what's the size of the file when the OS crashes. ___ 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 TSM server
Hello again. About a week ago I cryed on your shoulders but since no one is answering I am crying again. This time with more accurate data. My sistem is a P4 2.66 Mhz (sk 478) Intel P4 processor with 1 GB DDR1 ram, mobo Asus p4p800-x with 2 HDD's. One of them (ad2 ) is a Samsing SpinPoint of 80GB ATA and is the one used by the actual OS. The second one (ad6) is a WD 250 GB S-ATA2 and has some data on it. The server acts as a web server, ftp server, NAS, samba svr, a p2p server (verlihub) and just about every normal app a mental deranged person can have running :P (those kind that dnt have money to buy the ultra ultimate bullshit in hardware or more than two 2 pc's. Leaving this asside here is my situation. Ups, almost forgot. I have a FreeBSD-7.0-STABLE. I have a Windows machine with vmware and solaris on it. In solaris there is a IBM TSM (Tape Storage Management) Server. The server can use disks over tapes to build pools. So I added the local windows disks, and have some 30 G of free space on freebsd, so I thought, I would add them to the storage pool. There's my mistake ... thinking :P Every time I try to add that space to the storage pool the system crashes with a kernel panic. Here is the /var/log/messages file Jun 7 21:03:45 da1 fsck: /dev/ad6s1d: INCORRECT BLOCK COUNT I=5652481 (0 should be 4) (CORRECTED) Jun 7 21:03:45 da1 fsck: /dev/ad6s1d: 16137 files, 45577224 used, 15357050 free (2210 frags, 1919355 blocks, 0.0% fragmentation) Jun 7 21:10:47 da1 syslogd: kernel boot file is /boot/kernel/kernel Jun 7 21:10:47 da1 kernel: ad6: FAILURE - device detached Jun 7 21:10:47 da1 kernel: subdisk6: detached Jun 7 21:10:47 da1 kernel: ad6: detached Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86540058624, length=16384)]error = 6 Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1e[READ(offset=63203147776, length=16384)]error = 6 Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048, length=16384)]error = 6 [...] [...] [...] Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=46438858752, length=16384)]error = 6 Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=46252277760, length=16384)]error = 6 Jun 7 21:10:47 da1 kernel: panic: vinvalbuf: dirty bufs Jun 7 21:10:47 da1 kernel: cpuid = 0 Jun 7 21:10:47 da1 kernel: Uptime: 21m50s Jun 7 21:10:47 da1 kernel: Physical memory: 1011 MB So I'm guesing the script that adds the space to the pool is doing some crap. I tryed using both HDD's but the result is the same -> sistem crash. I have no kernel dump file defined yet (dnt ask why, I've setted up long ago but for some reason this time it didn't write to it) . REPRODUCE: The only way to reproduce the problem is by telling tsm server to add the available 30G off free space. What the tsm server doesm, is it creates a file of a given size, in this case 25G out of the total of 30G, and then populates the file with whatever data it is given as backup data. I really have no ideea if this is the right mailing list for this matter. If it is not, please advise in this matter. ___ 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: system reboot because of hdd
ups, sorry. I forgot. I have 1GB ram, 1x module of DDR1 400 MHz (pc3200) ___ 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"
system reboot because of hdd
Hello ppl. Straight to business. FreeBSD 7.1-stable 2 hdd. 1 is ad2 and the other is ad6. ad2 is the BSD hdd, and ad6 is just for data (movies, music, etc). ad2 is a 80GB Samsung P-ata133 and ad6 is a WD 250GB S-ata2. While running a process that was trying to create a 25GB file on a 30 GB partition on the second hdd (ad2) I experienced ssh outage. Everything came back to life after a short perioud of ~2 minutes. So, again I started the process. This time, the outage was about 5 minutes. I was busy with something else and did not run the process again. 2 minutes after that i get a call from a customer that some thing is not working. so I check it and surprize, the OS rebooted itself. so, went to the logs and this is what i found out (/var/log/messages): May 29 22:26:30 da1 kernel: ad6: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=419468447 May 29 22:26:35 da1 kernel: ad6: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=419468447 May 29 22:26:41 da1 kernel: ad6: FAILURE - WRITE_DMA48 timed out LBA=419468447 May 29 22:26:41 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=19447808, length=16384)]error = 5 May 29 22:26:35 da1 syslogd: kernel boot file is /boot/kernel/kernel May 29 22:26:35 da1 kernel: ad6: FAILURE - device detached May 29 22:26:35 da1 kernel: subdisk6: detached May 29 22:26:35 da1 kernel: ad6: detached May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=36683776, length=16384)]error = 6 May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=16908288, length=16384)]error = 6 May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=36700160, length=16384)]error = 6 May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=114688, length=16384)]error = 6 May 29 22:26:35 da1 kernel: panic: vinvalbuf: dirty bufs May 29 22:26:35 da1 kernel: cpuid = 0 May 29 22:26:35 da1 kernel: Uptime: 45d22h15m29s May 29 22:26:35 da1 kernel: Physical memory: 1003 MB May 29 22:26:35 da1 kernel: Dumping 232 MB: 217 201 185 169 153 137 121 105 89 73 57 41 25 9 and (/var/log/all.log): May 29 22:54:49 da1 fsck: /dev/ad6s1f: 6 files, 12 used, 17132271 free (31 frags, 2141530 blocks, 0.0% fragmentation) exacly where the file was created. but it was 1 not 6 files that i wanted to create but 1. the process that I run is "dsmfmt" of TSM server for Sun. it creates a file volume of a specific size for use in tsm server itself for defining storage pool capacity. so, I know that the hdd was to the limit. It could be a hardware issue I know, but right now dnt have resources to try somewere else so I'm asking a oppinion. Has anyone dealt with this situation before ? OS reboot because of high hdd load ? ___ 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"