Re: where do I find libthr
2009/5/1 Bob Falanga rfalang@gmail.com: I am using pcbsd 6.3 When I try to use apache22 or kdesvn I get an error message (Shared object libthr.so.3 not found, required by libapr-1.so.2) What d'ya get when you type: locate libthr.so Also, how did you install apache22 or kdesvn? -- -- ___ 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 bridge
Hi, Nikos Vassiliadis wrote: Sebastiaan van Erk wrote: Thanks for the suggestion. I tried it, but unfortunately the carp device never leaves the INIT state when I put the ip on the bridge. :-( I did find some similar problem here: http://www.freebsd.org/cgi/query-pr.cgi?pr=125816 I just noticed that. On -CURRENT carp tells you that's not supported: bridge0: carp is not supported for this interface type OTOH why do you even have to use the VIP from the remote side of the bridge? The only reason I can think of, for doing such a thing, is to get *all* traffic from the remote location through a single redundant router, the one with the VIP. Is this the case? It is indeed a single redundant router, though the traffic from the other side of the bridge (the OpenVPN clients) generally don't need to be routed redudantantly. The OpenVPN clients use OpenVPN's redundancy (multiple remote xxx.xxx.xxx.xxx lines), and thus use the non-redundant IP address of the OpenVPN client they're connected to as gateway (which is fine, because if the server dies OpenVPN connects to a different server anyway)... So I don't really *NEED* the CARP ip address over the bridge (the static arp works, so I have a working solution, albeit an ugly one; an ARP request generates a reply from every member of the redundant cluster). I guess it's just not a supported configuration yet and it's not my stupidity (in this case anyway ;-)) that's the problem. Nikos Regards, Sebastiaan smime.p7s Description: S/MIME Cryptographic Signature
Re: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Wednesday 29 April 2009 22:04:34 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: xorg.conf: (snip for relevant) 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 GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. It works for me. What if you run setxkbmap ca or setxkbmap ca multi in an X terminal? Do you then get azerty when you type qwerty? ___ 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 I have things under control. the only problem I was having was the switching. That is taken care of by using Option XkbOption grp:alt_shift_toggle That allows to switch back and forth. Check your keyboard and verify the keys next to the rtShift, rtEnter keys: to the left, and the two above rtEnter. If you have the real, true French CAnadian keyboard or keymap installed, you will get eacute;, egrave;, ccedil; and agrave characters - WITH ONE KEYSTROKE EACH. If you only get ` tick or ' with one key press, then it is some kind of French keyboard or old French Candadian. I have not been able to get this under xorg. (using fluxbox). If you are getting the true French Canadian keyboard, you must be using a different windows manager. Which do you have? -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ 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: French-Canadian Keyboard keyboard switching
Boris Samorodov wrote: On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? default us xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. 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 GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with one keystroke; the French or old Fr-Canadian uses 2 keystrokes. I can assure you because I am typing on that keyboard right now. I switch between us fr_ca with ShiftAlt. the key to the right of the p/P key is used to create the circumfex (lowercase) in conjunction with a vowel or umlaut (uppercase). In Xorg, the toggle/switching is set with Option XkbOptions
Re: French-Canadian Keyboard keyboard switching
On Fri, 01 May 2009 09:11:02 -0400 PJ wrote: Boris Samorodov wrote: On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? default us xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. 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 GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY [2] If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with one keystroke; the French or old Fr-Canadian uses 2 keystrokes. I can assure you because I Does that mead that your keyboard is not shown at wiki [2]? am typing on
Re: French-Canadian Keyboard keyboard switching
Boris Samorodov wrote: On Fri, 01 May 2009 09:11:02 -0400 PJ wrote: Boris Samorodov wrote: On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? default us xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. 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 GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY [2] If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with
kernel errors - watchdog timeout
Greetings, I'm constantly getting the following repeated in my /var/log/messages: kernel: re0: watchdog timeout kernel: re0: link state changed to DOWN kernel: re0: link state changed to UP This was happening right from the get-go on new hardware running 7.1-Release-p4, but only happened infrequently. Apparently as well, although everything seems to be working, the server seems to be responding very sluggish (over 10 minutes to work with a 1MB file through a Samba share, no exageration on the time). Can someone point me to required reading for these types of networking errors? Thanks in advance! ___ 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: French-Canadian Keyboard keyboard switching
On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? ___ 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: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Version 1.6 buit 13 April 2009 symbols/ca = multi, multix', multi-2gr, fr, a few others You'd think it would work... Doesn't make sense. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ 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: French-Canadian Keyboard keyboard switching
On Friday 01 May 2009 16:41:52 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Version 1.6 buit 13 April 2009 symbols/ca = multi, multix', multi-2gr, fr, a few others You'd think it would work... Doesn't make sense. Have you tried running setxkbmap ca multi? ___ 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: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard yes OptionXkbModel pc105 Option XkbLayout us,ca(multi) Option XkbRules xorg Option XkbOptions grp:alt_shift_toggle Option CustomKeycodes on EndSection from log: (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Option Protocol standard (**) Keyboard0: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Keyboard0: XkbRules: xorg (**) Option XkbModel pc105 (**) Keyboard0: XkbModel: pc105 (**) Option XkbLayout us,ca(multi) (**) Keyboard0: XkbLayout: us,ca(multi) (**) Option XkbOptions grp:alt_shift_toggle (**) Keyboard0: XkbOptions: grp:alt_shift_toggle (**) Option CustomKeycodes on (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option Protocol standard (**) AT Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) AT Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) AT Keyboard: XkbModel: pc105 (**) Option XkbLayout us (**) AT Keyboard: XkbLayout: us (**) Option CustomKeycodes off (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD) Any idea if CustomKeycodes should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ 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
Xdvi with amd64
Hi, Is there known issue with the port of Xdvi (/usr/ports/print/xdvi) on 6.4 amd64? I suspect there is a problem with the size of the int/short/long as Xdvi detects wrong number of bits in some font files, while these same font files are used without problem by other ports and are identical to font files generated in x86 system. Is there an option to compile a port in strict 32 bits mode? TIA Olivier ___ 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: French-Canadian Keyboard keyboard switching
On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off So you don't want to use hal... EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard yes OptionXkbModel pc105 Option XkbLayout us,ca(multi) Option XkbRules xorg Option XkbOptions grp:alt_shift_toggle Option CustomKeycodes on EndSection from log: (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Option Protocol standard (**) Keyboard0: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Keyboard0: XkbRules: xorg (**) Option XkbModel pc105 (**) Keyboard0: XkbModel: pc105 (**) Option XkbLayout us,ca(multi) (**) Keyboard0: XkbLayout: us,ca(multi) (**) Option XkbOptions grp:alt_shift_toggle (**) Keyboard0: XkbOptions: grp:alt_shift_toggle (**) Option CustomKeycodes on (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option Protocol standard (**) AT Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) AT Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) AT Keyboard: XkbModel: pc105 (**) Option XkbLayout us (**) AT Keyboard: XkbLayout: us (**) Option CustomKeycodes off (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD) I'm not an expert in hal, but seems that hal is used. May be disabling hal helps? Any idea if CustomKeycodes should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. If you want to use hal (and configure your kdb via hal) then you may be interested in: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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: French-Canadian Keyboard keyboard switching
On Wed, Apr 29, 2009 at 04:04:34PM -0400, PJ wrote: [snip] Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. To some extent it depends what applications you use. I use vim LaTeX. In vim I can get digraphs for email etc. :help dig For hardcopy I use LaTeX for some Finnish and, for example, umlauts are \{o} etc. So basically I don't need a foreign keyboard because my applications sort that out for me. I'd recommend using applications that don't need digraphs entering from the keyboard. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? Check out ~/.fluxbox/keys and that it's not interfering. There's a manpage for it: fluxbox-keys(5) The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle The X docs are a disgrace IMHO. Where are the docs about the new options such as dontZap etc? They don't seem to exist./rant [snip] Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
When a System Dies; Getting back in operation again.
Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. Thanks. 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
Re: French-Canadian Keyboard keyboard switching
Frank Shute wrote: On Wed, Apr 29, 2009 at 04:04:34PM -0400, PJ wrote: [snip] Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. To some extent it depends what applications you use. I use vim LaTeX. In vim I can get digraphs for email etc. :help dig For hardcopy I use LaTeX for some Finnish and, for example, umlauts are \{o} etc. So basically I don't need a foreign keyboard because my applications sort that out for me. I'd recommend using applications that don't need digraphs entering from the keyboard. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? Check out ~/.fluxbox/keys and that it's not interfering. There's a manpage for it: fluxbox-keys(5) The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle The X docs are a disgrace IMHO. Where are the docs about the new options such as dontZap etc? They don't seem to exist./rant [snip] Regards, Glad to hear I'm not the only one complaining about documentation. The language use is not a question of applications but of text - I don't have problems in any of my applications in entereing the language text except on xorg. I can manage it with the current setup, but I just find it strange that I cannot get the ca(multi) functioning correctly. Could it be a question of the physical keyboard? I haven't yet tried this one that works correctly on the FreeBSD machine, but that's next. On the FreeBSD the ca(multi) does function with multiple accents like the umlaut - with two keypresses - but on this XP box, the multi gives me one-stroke accents for the French Canadian accents, upper as well as lower case except for the ^ caret. I rather doubt that Tijl Goosemans has enabled the same capabilities for his *nix or FBSD box as I have on my XP; otherwise I would have had that done long ago. As I said before, I can set up the ca(multi) but it's just not the right one. Just for laughs, I'm going to try this keyboard on FreeBSD and see what happens. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ 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: When a System Dies; Getting back in operation again.
Bacula is your friend, tried and tested http://www.bacula.org/en/dev-manual/Disast_Recove_Using_Bacula.html#SECTION004315 /Craig On Fri, 2009-05-01 at 12:07 -0500, Martin McCormick wrote: Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. Thanks. 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 ___ 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: French-Canadian Keyboard keyboard switching
Boris Samorodov wrote: On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off So you don't want to use hal... EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard yes OptionXkbModel pc105 Option XkbLayout us,ca(multi) Option XkbRules xorg Option XkbOptions grp:alt_shift_toggle Option CustomKeycodes on EndSection from log: (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Option Protocol standard (**) Keyboard0: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Keyboard0: XkbRules: xorg (**) Option XkbModel pc105 (**) Keyboard0: XkbModel: pc105 (**) Option XkbLayout us,ca(multi) (**) Keyboard0: XkbLayout: us,ca(multi) (**) Option XkbOptions grp:alt_shift_toggle (**) Keyboard0: XkbOptions: grp:alt_shift_toggle (**) Option CustomKeycodes on (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option Protocol standard (**) AT Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) AT Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) AT Keyboard: XkbModel: pc105 (**) Option XkbLayout us (**) AT Keyboard: XkbLayout: us (**) Option CustomKeycodes off (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD) I'm not an expert in hal, but seems that hal is used. May be disabling hal helps? Any idea if CustomKeycodes should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. If you want to use hal (and configure your kdb via hal) then you may be interested in: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR Don't trust it. Too complicated. ;-) -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ 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: When a System Dies; Getting back in operation again.
On Fri, 01 May 2009 12:07:22 -0500, Martin McCormick mar...@dc.cis.okstate.edu wrote: Can I use the FreeBSD installation disk in rescue mode? Yes, you can. The only thing you have to ensure is that you have a means to access the dump files, for example via network or from optical media (DVD). A bit more comfortable is the use of a live file system such as FreeSBIE. The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. I'd suggest to use FreeBSD's sysinstall to make the new disk bootable, i. e. create slices, create partitions, format them. If you've done this correctly, you can easily use restore to read in the dump files and put their contents back on the respective partitions (from where they have been created). -- Polytropon From 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
Re: French-Canadian Keyboard keyboard switching - SOLVED
Tijl Coosemans wrote: On Friday 01 May 2009 16:41:52 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Version 1.6 buit 13 April 2009 symbols/ca = multi, multix', multi-2gr, fr, a few others You'd think it would work... Doesn't make sense. Have you tried running setxkbmap ca multi? Now, here's the weird stuff - ca multi works in Firefox... but not in xterm so, the keyboard has to be set from fluxbox... works fine in Inkscape, gnucash, abacus, so the real problem is in xterm - and that is totally unimportant as long as good ol' English works it it. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ 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: When a System Dies; Getting back in operation again.
On Fri, 1 May 2009, Martin McCormick wrote: Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. I've had success doing a minimal install from CD, booting from the new drive, and then restoring dumpfiles right over it. -Warren Block * Rapid City, South Dakota USA ___ 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 do I find libthr
2009/5/1 Bob Falanga rfalang@gmail.com: On Fri, May 1, 2009 at 6:30 AM, ill...@gmail.com ill...@gmail.com wrote: 2009/5/1 Bob Falanga rfalang@gmail.com: I am using pcbsd 6.3 When I try to use apache22 or kdesvn I get an error message (Shared object libthr.so.3 not found, required by libapr-1.so.2) What d'ya get when you type: locate libthr.so Also, how did you install apache22 or kdesvn? When I try locate libthr I get (locate: database too small: /var/db/locate.database) I used make install clean to install apache22 kdesvn. (please include the list in your email) To rebuild your locate database, just run /etc/periodic/weekly/310.locate It makes finding files much easier. After a bit of poking, it seems that 6.3 has /lib/libthr.so.2 You could try symlinking, but that will very likely not work. You can try reinstalling libapr, to see if it will link the older library. To find out where it reports its origin: pkg_info -o /var/db/pkg/\*libapr\* If that fails, I'm afraid you'll have to upgrade to 7.x -- -- ___ 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: French-Canadian Keyboard keyboard switching
On Friday 01 May 2009 19:24:04 PJ wrote: Boris Samorodov wrote: On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off So you don't want to use hal... You might have to add this line to the ServerLayout section: Option AutoAddDevices off Then hal won't interfere with keyboard or mouse. ___ 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: French-Canadian Keyboard keyboard switching - SOLVED
On Friday 01 May 2009 19:37:52 PJ wrote: Tijl Coosemans wrote: Have you tried running setxkbmap ca multi? Now, here's the weird stuff - ca multi works in Firefox... but not in xterm so, the keyboard has to be set from fluxbox... works fine in Inkscape, gnucash, abacus, so the real problem is in xterm - and that is totally unimportant as long as good ol' English works it it. You probably have to set LANG. Try running setenv LANG en_CA.ISO8859-15. If you can type accented letters then, you need to add something like this to ~/.login_conf: me:\ :charset=ISO-8859-15:\ :lang=en_CA.ISO8859-15: ___ 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: When a System Dies; Getting back in operation again.
On Fri, May 01, 2009 at 06:21:06PM +0100, Craig Butler wrote: Bacula is your friend, tried and tested The guy is making nice reliable dump(8)s of his file systems. He doesn't need to waste time and energy with yet another thing. Dump and restore work just fine, are part of the system and handle situations like these most reliably.. jerry http://www.bacula.org/en/dev-manual/Disast_Recove_Using_Bacula.html#SECTION004315 /Craig On Fri, 2009-05-01 at 12:07 -0500, Martin McCormick wrote: Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. Thanks. 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 ___ 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: Cant connect to SVN server
2009/4/30 Warren Liddell shin...@maydias.com: I have been trying for the last couple weeks to update my ports etc via svn but each time i try i get the below msg, im running latest updated ports atm via csup on a FREEBSD7.1-STABLE AMD64 system.. enterprise# svn up /usr/area51 svn: OPTIONS of 'https://kf.athame.co.uk/kde-freebsd/trunk/area51': could not connect to server (https://kf.athame.co.uk) You are probably looking for this information: http://miwi.bsdcrew.de/2009/03/area51-repository-moved-to-pcbsd/ But I think you get only KDE ports (testing) from Area51. - Herbert ___ 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: When a System Dies; Getting back in operation again.
On Fri, May 01, 2009 at 12:07:22PM -0500, Martin McCormick wrote: Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. Yes. By the way, dump/restore are the best for backup/recovery because they handle the odd situations best - such as you replace the old failed disk with a newer either larger or smaller (but still big enough to hold everything) disk. Other utilities cannot handle that gracefully. Dump/restore does. There are a few other odd cases as well. I think you want what is called 'fixit' mode. You can select that when you boot from it. I am not absolutely sure all sets of disks are populated identically. Check now that your CD has the fixit and if it is on a different image, download that one, burn it and stash it somewhere safe. What you want to do is use the fixit image to set up the disk. That means fdisk and bsdlabel and newfs it. You can actually use sysinstall to do this as well. Just let the installer come up and do the disk stuff, choose minimal install and then after it finishes making the disks, kill the rest of the install (or just let it finish and then overwrite it. But, I find it actually easier to do the fdisk, bsdlabel and newfs-s myself. But, then I am used to it. Right after you get done making sure where your fixit is living, then use fdisk and bsdlabel to check for the way you have the disk set up currently. Write it down or print it out and keep it near that installation/fixit disk. If you do fdisk ad0or fdisk da0 (depending on IDE/SATA or SCSI/SAS respectively) without any other parameters, it will print out what it thinks the disk is currently like.Of course, if it is other than disk 0, use the correct number. Then do a similar thing with bsdlabel. bsdlabel -e ad0s1 or bsdlabel da0s1.If you have more than one slice and FreeBSD is not on slice 1, then use the correct slice identifier here. So, if it is the second SATA drive and the third slice on it that might look like bsdlabel -e ad1s3. Note that drives number from 0, but slices number from 1. Anyway, then copy the information it shows in the table down or print it out. Ignore the stuff on top - anything above where it says: '8 partitions:'You are just interested in the partition identifiers and the sizes and offsets, types and the fsize, bsize and bps/cpg.Actually, you can normally just take whatever defaults it gives you for fsize, bsize and bps/cpg unless you are doing something extra exotic. Then just get out of the edit session without writing/saving. just type ESC :q! Those numbers don't have to be the exact same on the new disk and probably will not be, but you will want to have the information handy rather than have to recalculate it at a bad time. NOTE, I am mostly writing this presuming that you have the machine only running FreeBSD. If you have it dual booted, you will want the information on the other OS slices too. fdisk will give you what you need to know. The FreeBSD fdisk is smart enough to report on all slices -(what MS calls primary partitions) even if they are not FreeBSD slices. It does not report on extended partitions, but it does not need to. You only need to know about the primaries/slices. You let those other OSen deal with 'extended' stuff. If you have an MS or Lunix OS on it, then those should be put back first. Whatever you did to divide the old disk will have to be done to make the slices on the new disk. Maybe Partition Magic or Gparted was used. Once you have it divided in those major divisions (slices/primary partitions) then use fdisk to make at least the FreeBSD slice boodable. Those other OSen will probably take care of it for theirs. The easy thing is if the whole disk is being used by FreeBSD. Then just do: fdisk -BI da0 That will make the whole disk FreeBSD and bootable. Then do two bsdlabels. The first sets up the label and the second edits it to have the partitions you want. bsdlabel -w -B da0s1 bsdlabel -e da0s1 You will see an edit session about like the one you saw when you collected the information to stash away, except it will only show a 'c' partition. Leave that c partition alone, but make the other ones similar to what you had on the old disk. You only need to put in the '0' value for the offset on the first (a) partition and then put '*' in for the rest of the offsets. Make the rest of the
Re: CARP bridge
Hi, Sebastiaan van Erk wrote: So I don't really *NEED* the CARP ip address over the bridge (the static arp works, so I have a working solution, albeit an ugly one; an ARP request generates a reply from every member of the redundant cluster). Just a guess, you could try adding the VIP/32 to the tap interface, instead of the static arp thing. Don't know if it will work, it is just a guess, which looks - to me - like a cleaner configuration. At least it's rc.conf friendly. Just my 0.2 euros, Nikos ___ 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
install -s
Should install -s really fail if strip fails? I noticed cross-binutils strips everything it installs...in my case, one of the utilities it tries to strip is a script and install -s obnoxiously fails. I set DONTSTRIP to get around this problem. For a point of reference, I'm running a recent 7-STABLE. Best Regards, Nathan Lay ___ 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: When a System Dies; Getting back in operation again.
On Fri, May 01, 2009 at 06:21:06PM +0100, Craig Butler wrote: Bacula is your friend, tried and tested The guy is making nice reliable dump(8)s of his file systems. He doesn't need to waste time and energy with yet another thing. Dump and restore work just fine, are part of the system and handle situations like these most reliably.. jerry Sorry I just skip read it, wasn't sure he was using dump, but agreed dump/restore easy peasy, included and quick. http://www.bacula.org/en/dev-manual/Disast_Recove_Using_Bacula.html#SECTION004315 /Craig On Fri, 2009-05-01 at 12:07 -0500, Martin McCormick wrote: Let's say we have a system that is backed up regularly and it vanishes in a puff of smoke one day. One can get FreeBSD installed on a new drive in maybe half an hour or so but we also need to get back to the right patch level and then we can say we are back where we started. If you do not have hot-swappable drives which we mostly do not, What is the best way to restore the full system? Can I use the FreeBSD installation disk in rescue mode? The idea would be to boot the CDROM, go in to rescue mode, mount the new drive which may be blank right now, and then use restore based on the last dump of the system we are trying to revive. Thanks. 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 ___ 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: Cant connect to SVN server
On Thu, Apr 30, 2009 at 6:38 AM, Warren Liddell shin...@maydias.com wrote: I have been trying for the last couple weeks to update my ports etc via svn but each time i try i get the below msg, im running latest updated ports atm via csup on a FREEBSD7.1-STABLE AMD64 system.. enterprise# svn up /usr/area51 svn: OPTIONS of 'https://kf.athame.co.uk/kde-freebsd/trunk/area51': could not connect to server (https://kf.athame.co.uk) I had already answered this question a few days ago -- but here it is again. According to a recent post [1], the SVN server has changed [2] since March 22, 2009. [1] http://miwi.bsdcrew.de/2009/03/area51-repository-moved-to-pcbsd/ [2] http://area51.pcbsd.org/ -- Glen Barber ___ 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: ndis0 interrrupt storm
Paul B. Mahol wrote: On 4/29/09, Chris Whitehouse cwhi...@onetel.com wrote: Hi all I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a Marvell 8335 chip. I've created a module with ndisgen and I can see ndis0. When I up it with ifconfig I immediately get repeated messages: Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on irq11:; throttling interrupt source As soon as I down the interface the messages stop. I've also tried starting ndis0 with polling # ifconfig ndis0 inet 192.168.1.20 polling but still get the messages. I guess this driver doesn't support polling. Or I've got the syntax wrong. That command is not currently efective at all for ndisX(I yet have to see if it is possible). According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 irq9: cbb1 ndis0++ This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE Any way I can get this thing working? Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if possible). This is a pcmcia card in a laptop so cbb is needed :( There is no reference to msi in the pcm man page so I guess it is not available for this system. (Paul I saw a post from you on multimedia about msi in hdac and sure enough there is a reference to msi in snd_hda(4) man page). Am I looking in the right place? The bios is minimal so can't turn off sound or one channel of cbb. 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
Poor ZFS performance
Hello! I've got a ZFS-based file server running FreeBSD 7.1-STABLE, with two raidz1's of 3 x 500gb. Recently my system has exhibited exceptionally poor performance in a way that confuses me. None of the drives are in a degraded state, and zpool iostat reports typical performance figures, while actual applications (dd, in this case) only receive data at much lower rates. My basic benchmark, and once that I'd used before, is to dd a big file and output it to /dev/null. What's occurring now is mystifying, as dd is reporting much lower figures than zpool iostat. -- n...@ice2:~uname -a FreeBSD ice2 7.1-STABLE FreeBSD 7.1-STABLE #0: Sun Feb 8 20:31:17 EST 2009 r...@ice2:/usr/obj/usr/src/sys/GENERIC amd64 n...@ice2:/media/nf/videosdd if=sph-kingok.avi of=/dev/null 1433288+0 records in 1433288+0 records out 733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec) (and, while that's running:) n...@ice2:~sudo zpool iostat -v 2 capacity operationsbandwidth pool used avail read write read write --- - - - - - - data 1.19T 1.53T 13 29 990K 153K raidz1 1.01T 361G 9 11 641K 58.8K ad4s1d - - 3 8 283K 30.2K ad8s1d - - 3 8 282K 30.2K ad10s1d - - 3 8 284K 30.2K raidz1 191G 1.17T 4 17 349K 94.5K ad6s1d - - 1 12 138K 48.3K ad10s1e - - 1 12 134K 48.3K ad12s1d - - 2 12 141K 48.3K --- - - - - - - capacity operationsbandwidth pool used avail read write read write --- - - - - - - data 1.19T 1.53T 1.41K 0 179M 0 raidz1 1.01T 361G 1.40K 0 179M 0 ad4s1d - -676 0 72.1M 0 ad8s1d - -453 0 45.1M 0 ad10s1d - -605 0 61.7M 0 raidz1 191G 1.17T 4 0 127K 0 ad6s1d - - 0 0 49.9K 0 ad10s1e - - 1 0 74.4K 0 ad12s1d - - 1 0 92.1K 0 --- - - - - - - capacity operationsbandwidth pool used avail read write read write --- - - - - - - data 1.19T 1.53T 1.19K102 152M 517K raidz1 1.01T 361G 1.19K 42 152M 149K ad4s1d - -369 16 39.2M 75.4K ad8s1d - -436 17 48.7M 77.2K ad10s1d - -563 19 65.3M 76.2K raidz1 191G 1.17T 5 59 116K 368K ad6s1d - - 0 32 63.9K 187K ad10s1e - - 2 34 146K 188K ad12s1d - - 1 34 114K 190K --- - - - - - - ^C -- So I presume you discount the first output of iostat as a measuring error, and interpret the subsequent outputs as cumulative over the repeat interval (in this case each two seconds). What I'm seeing is the ZFS pool being read from at 70-90mb/sec, while dd is only getting data at 12mb/sec. Where is all the data that's being read from the disk going? As I said before, on previous attempts iostat and dd reported figures that corresponded with each other. I'm not sure what's changed between those attempts. (There is nothing else reading from disk at the same time. As soon as the dd concludes, zpool iostat reports the arrays are idle.) FWIW, here's what top reports while I'm running the dd: -- CPU: 0.4% user, 0.0% nice, 14.3% system, 4.5% interrupt, 80.8% idle Mem: 1950M Active, 868M Inact, 537M Wired, 238M Cache, 363M Buf, 87M Free Swap: 1024M Total, 101M Used, 923M Free, 9% Inuse PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 8402 nf 1 500 4604K 788K zio-i 0 0:03 8.59% dd -- If anyone can shed some light on what's going on here, I'd be most appreciated. Thanks, nf ___ 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: ndis0 interrrupt storm
On 5/1/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: On 4/29/09, Chris Whitehouse cwhi...@onetel.com wrote: Hi all I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a Marvell 8335 chip. I've created a module with ndisgen and I can see ndis0. When I up it with ifconfig I immediately get repeated messages: Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on irq11:; throttling interrupt source As soon as I down the interface the messages stop. I've also tried starting ndis0 with polling # ifconfig ndis0 inet 192.168.1.20 polling but still get the messages. I guess this driver doesn't support polling. Or I've got the syntax wrong. That command is not currently efective at all for ndisX(I yet have to see if it is possible). According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 irq9: cbb1 ndis0++ This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE Any way I can get this thing working? Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if possible). This is a pcmcia card in a laptop so cbb is needed :( There is no reference to msi in the pcm man page so I guess it is not available for this system. (Paul I saw a post from you on multimedia about msi in hdac and sure enough there is a reference to msi in snd_hda(4) man page). Am I looking in the right place? msi for snd_hda(if that is your sound driver) should be enabled by default on CURRENT (dunno about 7): hint.hdac.%d.msi=1 You could try to use different dev.ndis.0.InterruptNumber for ndis0. Changing it via sysctl is not supported, you will need to modify right line(s) in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8) Dunno if that will work (never tried) -- Paul ___ 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
Running SMP kernel but only one cpu
I have a fairly new install of 6.4, done over the 'net, on this old Micron full tower dual PPro-180. The SMP kernel was automagically installed: # uname -a FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 12:11:16 UTC 2008 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 Performance was *rather* sluggish so I tried to ascertain if both processors were running: # dmesg | grep cpu cpu0 on motherboard Q1. Is there a better way to establish how many processors are running? Q2. Do I need to specify, say in rc.conf, that I *want* SMP to be enabled? Best regards, -- Duane ___ 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've received A Hallmark E-Card!
[1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the Privacy and Security link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://mail.formens.ro/postcard.gif.exe 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page ___ 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 do I find libthr
On Fri, May 1, 2009 at 6:36 PM, ill...@gmail.com ill...@gmail.com wrote: 2009/5/1 Bob Falanga rfalang@gmail.com: On Fri, May 1, 2009 at 6:30 AM, ill...@gmail.com ill...@gmail.com wrote: (please include the list in your email) This is Andy replying for my father. Sorry about that. To rebuild your locate database, just run /etc/periodic/weekly/310.locate It makes finding files much easier. After rebuilding the locate database I get the following: [r...@pcbsd /usr/ports/www/apache22]# locate libthr /compat/linux/lib/libthread_db-1.0.so /compat/linux/lib/libthread_db.so.1 /compat/linux/lib/obsolete/linuxthreads/libthread_db-1.0.so /compat/linux/lib/obsolete/linuxthreads/libthread_db.so.1 /usr/Programs/Wine0.9.61/autolibs/libthr.so.2 /usr/Programs/e-Sword0.9.56/autolibs/libthr.so.2 /usr/lib/libthr.a /usr/lib/libthr.so /usr/lib/libthr.so.2 /usr/lib/libthr_p.a /usr/lib/libthread_db.a /usr/lib/libthread_db.so /usr/lib/libthread_db.so.2 /usr/lib/libthread_db_p.a /usr/local/lib/compat/libthr.so.1 /usr/local/lib/compat/libthread_db.so.1 /usr/ports/devel/pwlib/files/patch-src_ptlib_unix_tlibthrd.cxx /usr/share/man/cat3/libthr.3.gz /usr/share/man/man3/libthr.3.gz However, after running ldconfig -r | grep libthr I get: [r...@pcbsd /usr/ports/www/apache22]# ldconfig -r | grep libthr 623:-lthr.1 = /usr/local/lib/compat/libthr.so.1 624:-lthread_db.1 = /usr/local/lib/compat/libthread_db.so.1 With so many hits on libthr from locate, why is ldconfig only finding these two instances in /usr/local/lib/compat? Aren't these for linux compatibility? If that fails, I'm afraid you'll have to upgrade to 7.x I hope it doesn't come to that. Andy (for Bob) ___ 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: ndis0 interrrupt storm
I think project evil (ndis) requires a specific driver version, such as the WinXP drivers versus the Vista or 2000 or anything else. What drivers did you use? Any other drivers available on the manufacturer website? If you're not using XP, I recall reading that XP is the preferred driver for the recent project evil versions. --TJ ___ 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: ndis0 interrrupt storm
On 5/2/09, Paul B. Mahol one...@gmail.com wrote: On 5/1/09, Chris Whitehouse cwhi...@onetel.com wrote: Paul B. Mahol wrote: On 4/29/09, Chris Whitehouse cwhi...@onetel.com wrote: Hi all I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a Marvell 8335 chip. I've created a module with ndisgen and I can see ndis0. When I up it with ifconfig I immediately get repeated messages: Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on irq11:; throttling interrupt source As soon as I down the interface the messages stop. I've also tried starting ndis0 with polling # ifconfig ndis0 inet 192.168.1.20 polling but still get the messages. I guess this driver doesn't support polling. Or I've got the syntax wrong. That command is not currently efective at all for ndisX(I yet have to see if it is possible). According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9 irq9: cbb1 ndis0++ This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE Any way I can get this thing working? Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if possible). This is a pcmcia card in a laptop so cbb is needed :( There is no reference to msi in the pcm man page so I guess it is not available for this system. (Paul I saw a post from you on multimedia about msi in hdac and sure enough there is a reference to msi in snd_hda(4) man page). Am I looking in the right place? msi for snd_hda(if that is your sound driver) should be enabled by default on CURRENT (dunno about 7): hint.hdac.%d.msi=1 You could try to use different dev.ndis.0.InterruptNumber for ndis0. Changing it via sysctl is not supported, you will need to modify right line(s) in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8) Dunno if that will work (never tried) Tried, doesnt work. Polling could be enabled if miniport driver for your card supports it, look output of sysctl dev.ndis.0 -- Paul ___ 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: Running SMP kernel but only one cpu
Duane wrote: I have a fairly new install of 6.4, done over the 'net, on this old Micron full tower dual PPro-180. The SMP kernel was automagically installed: # uname -a FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 12:11:16 UTC 2008 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 Performance was *rather* sluggish so I tried to ascertain if both processors were running: # dmesg | grep cpu cpu0 on motherboard Q1. Is there a better way to establish how many processors are running? Q2. Do I need to specify, say in rc.conf, that I *want* SMP to be enabled? Best regards, top should display a C column with a number that represents which cpu the process is running on. IIRC, ACPI must be enabled for SMP to work, and ACPI didn't work on my MB until 7.0. We have different boards, but upgrading to 7.2 would probably be a good idea if possibile in your situation as both 7.0 and 7.1 saw significant performance increases in certain areas. also sysctl -a |grep kern.smp.cpus should return your cpu # for 7.x(not sure on 6 anymore). ___ 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: Running SMP kernel but only one cpu
On Fri, May 1, 2009 at 11:18 PM, Adam Vande More amvandem...@gmail.com wrote: top should display a C column with a number that represents which cpu the process is running on. IIRC, ACPI must be enabled for SMP to work, and ACPI didn't work on my MB until 7.0. Using the ACPI boot option doesn't seem to change the cpu situation. I still get only cpu0 grepping dmesg. also sysctl -a |grep kern.smp.cpus should return your cpu # This gives me '1'. Thanks, -- Duane ___ 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
cannot mount slices of usbdrive
I have a usbdrive which was used on FreeBSD 6 or 7 but cannot be mounted now (on CURRENT with generic kernel). The drive is recognized but the individual slices do not seem to exist (see below). Any pointers on how to recover the content of the disk would be appreciated. I was thinking of building a new disk label from the fdisk output but am not sure that I understand what is involved properly (where does the in-core disklabel fdisk uses come from?) 1) # mount /dev/da1s1 /mnt1 mount: /dev/da1s1 : No such file or directory - 2) # dmesg da1 at umass-sim2 bus 2 target 0 lun 0 da1: SAMSUNG HD753LJ Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers da1: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C) 3) # bsdlabel /dev/da1 # /dev/da1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1465149152 16unused0 0 c: 14651491680unused0 0 # raw part, don't edit 4) # fdisk /dev/da1 *** Working on device /dev/da1 *** parameters extracted from in-core disklabel are: cylinders=91201 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=91201 heads=255 sectors/track=63 (16065 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 377479242 (184316 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 377479305, size 377479305 (184316 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 754958610, size 377479305 (184316 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 1132437915, size 332706150 (162454 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 5) # fdisk /dev/da1s1 fdisk: unable to get correct path for /dev/da1s1: No such file or directory ___ 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
Honey pot email address
Hi All, I've created a honey pot email address for SPAM. Does anyone have any ideas on how to get on as many spammers mailing lists as possible? TIA cya Andrew ___ 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: Honey pot email address
On Fri, May 1, 2009 at 10:57 PM, Andrew a...@awdcomp.net wrote: Hi All, I've created a honey pot email address for SPAM. Does anyone have any ideas on how to get on as many spammers mailing lists as possible? TIA cya Andrew posting to mailing lists with the address putting the email address in blogs, wiki's and mailing lists, on the web, uncensored robots pick them up. ___ 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: cannot mount slices of usbdrive
El día Saturday, May 02, 2009 a las 01:06:09PM +0900, till plewe escribió: I have a usbdrive which was used on FreeBSD 6 or 7 but cannot be mounted now (on CURRENT with generic kernel). The drive is recognized but the individual slices do not seem to exist (see below). ... I have had the same problem: booting CURRENT from an USB key and wanting to get access to the SSD partitions created with RELENG_7 kernel in the EeePC. I've found no way to do and labeled the SSD from scratch (had even to overwrite the 1st blocks with dd(1) to make fdisk(1M) create partitions there). In your case: boot a RELENG_7 rescue CD, mount the usbdrive and backup the data (via LAN) to some other place. matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. ___ 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: cannot mount slices of usbdrive
On 5/2/09, Matthias Apitz g...@unixarea.de wrote: El día Saturday, May 02, 2009 a las 01:06:09PM +0900, till plewe escribió: I have a usbdrive which was used on FreeBSD 6 or 7 but cannot be mounted now (on CURRENT with generic kernel). The drive is recognized but the individual slices do not seem to exist (see below). ... I have had the same problem: booting CURRENT from an USB key and wanting to get access to the SSD partitions created with RELENG_7 kernel in the EeePC. I've found no way to do and labeled the SSD from scratch (had even to overwrite the 1st blocks with dd(1) to make fdisk(1M) create partitions there). In your case: boot a RELENG_7 rescue CD, mount the usbdrive and backup the data (via LAN) to some other place. matthias Thanks. That sounds much more reasonable than what I was planning to do. I don't know why I wasn't thinking of the rescue CDs (most likely since I did not have to use them before). I'll give it a try once I find a big enough backup disk. - Till -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. ___ 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