OT: web-based applications and security...

2009-07-24 Thread Modulok
This is completely off topic, (as indicated in the subject line):

Is it just me being paranoid, or is all this 'online' and 'live'  aka
web-based applications and data storage like... the biggest security
threat in the Universe? Not only from the perspective of the company
offering said services selling you out, but also in the fact that it
creates a high-value target (tons of data in one place) for the entire
world to try and exploit.

Thoughts?
-Modulok-
___
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: Restarting hal

2009-07-24 Thread Polytropon
On Thu, 23 Jul 2009 13:43:50 -0400, Bob Hall rjh...@gmail.com wrote:
 Is there a way to get hal to reload its
 configuration withou rebooting? I've tried sending a HUP signal and I've
 tried rc.d/hal restart, but so far rebooting is the only thing that
 works properly.

Maybe it's neccessary to restart DBUS as well - just a wild
guess, im not using DBUS or HAL because I like my X working. :-)



-- 
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: OT: web-based applications and security...

2009-07-24 Thread Polytropon
On Fri, 24 Jul 2009 00:05:00 -0600, Modulok modu...@gmail.com wrote:
 Is it just me being paranoid, or is all this 'online' and 'live'  aka
 web-based applications and data storage like... the biggest security
 threat in the Universe?

No. The biggest security threat is the human nature, participating
in operating these facilities.



 Not only from the perspective of the company
 offering said services selling you out, but also in the fact that it
 creates a high-value target (tons of data in one place) for the entire
 world to try and exploit.

Gaining information, especially those that have a certain worth (such
as corporate data), is one important goal of criminals across the whole
Internet. Offering opportunities, given by the fact that such online
live storage clients and servers run MICROS~1 software (which is very
well known for its high quality, haha), may turn such data silos into
interesting targets. I'm sure that criminals have already found out about
this fact, they're just waiting for more and more corporate decision
carriers to adopt to all these modern techniques: If we store our
valueable data on those web servers, it will save us backup costs!
Maybe they're just waiting for some data to arrive where conventional
espionage and sabotage would be too complicated. It's always nice when
your victim delivers the loot willingly, isn't it?

In fact, the situation you described isn't quite new. For many years
now, data is stored on servers that are connected to the Internet,
delivering certain services to the users. With the goal of decentralized
computing, processing and working, the in-house solution seems to
get less and less important.



 Thoughts?

Yes. :-)



-- 
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: OT: web-based applications and security...

2009-07-24 Thread Olivier Nicole
 servers run MICROS~1 software (which is very
 well known for its high quality, haha)

Isn't that high data availability (to the others) ?

Have a nice week-end,

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


need help: crashing appears to be caused by/within console screen saver

2009-07-24 Thread Edward Sanford Sutton, III
  I do not know where I should ask for help but I have core files from July 
24, 23, 21 (x2), 19, 16 (x2) and May 17. All of the July crashes appear 
similar. The May crash was unrelated but shows that things were relatively 
stable until the first of these glitches. I am currently using the nvidia 
driver version 180.60 from ports on FreeBSD 7.2-RELEASE #0.
  The crashes typically take place when running through port rebuilds and 
upgrades, which I often do from the 3rd terminal. It usually occurs when I am 
away, but I just saw it where it looked like it was going to load the 
terminal screen saver and the screen just sat blank for maybe 10 seconds and 
then the system was restarting. I have since unloaded logo_saver.ko but would 
still like to resolve the source of the crashes if possible.
  Any suggestions where I should go from here and what other information would 
be helpful? At the end I copied a kgdb with a backtrace; It is what lead me 
to see that it crashed each time as the screen saver was activating (or so it 
now seems likely).
Thanks again,
Edward Sutton


# kgdb kernel.debug /var/crash/vmcore.22
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...

Unread portion of the kernel message buffer:
panic: pmap_mapdev: Couldn't alloc kernel virtual memory
cpuid = 0
Uptime: 11h49m19s
Physical memory: 2031 MB
Dumping 233 MB: 218 202 186 170 154 138 122 106 90 74 58 42 26 10

Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols 
from /boot/kernel/splash_bmp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/splash_bmp.ko
Reading symbols from /boot/kernel/vesa.ko...Reading symbols 
from /boot/kernel/vesa.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/vesa.ko
Reading symbols from /boot/kernel/geom_vinum.ko...Reading symbols 
from /boot/kernel/geom_vinum.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_vinum.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols 
from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/snd_ich.ko...Reading symbols 
from /boot/kernel/snd_ich.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_ich.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols 
from /boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/aio.ko...Reading symbols 
from /boot/kernel/aio.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/aio.ko
Reading symbols from /boot/kernel/sem.ko...Reading symbols 
from /boot/kernel/sem.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sem.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/modules/kqemu.ko...done.
Loaded symbols for /boot/modules/kqemu.ko
Reading symbols from /boot/modules/ltmdm.ko...done.
Loaded symbols for /boot/modules/ltmdm.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols 
from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols 
from /boot/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/logo_saver.ko...Reading symbols 
from /boot/kernel/logo_saver.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/logo_saver.ko
Reading symbols from /usr/local/modules/rtc.ko...done.
Loaded symbols for /usr/local/modules/rtc.ko
#0  doadump () at pcpu.h:196
196 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc0590dbf in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0591084 in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc07ffc54 in pmap_mapdev_attr (pa=3489660928, size=268435456, mode=0)
at /usr/src/sys/i386/i386/pmap.c:4349
#4  0xc07ffcfe in pmap_mapdev (pa=3489660928, size=268435456)
at /usr/src/sys/i386/i386/pmap.c:4366
#5  0xc09b51d5 in vesa_set_mode (adp=0xc08e5620, mode=259)
at /usr/src/sys/modules/vesa/../../i386/isa/vesa.c:835
#6  0xc642ea58 in logo_saver (adp=0xc08e5620, blank=1)
at /usr/src/sys/modules/syscons/logo/../../../dev/syscons/logo/logo_saver.c:117
#7  0xc04909f6 in splash (adp=0xc08e5620, on=1)
at /usr/src/sys/dev/fb/splash.c:211
#8  0xc04da60c in scsplash_saver (sc=0xc08f2960, show=1)
at /usr/src/sys/dev/syscons/syscons.c:1957
#9  0xc04dc72e in scrn_timer (arg=0xc08f2960)
at /usr/src/sys/dev/syscons/syscons.c:1767
#10 0xc05a27af in softclock (dummy=0x0) 
at /usr/src/sys/kern/kern_timeout.c:274
#11 

Re: FreeBSD + HP Pavilion DV7-1299EF, Pre-install questions.

2009-07-24 Thread Wael Nasreddine (a.k.a eMxyzptlk)
From what I gathered on the net, the problem seems to be coming from
Firewire, or more specifically, the sdp module, They suggested disabling
Firewire from BIOS setup, install then build a custom kernel with sdp
commented, the problem is, There's no option to disable Firewire in my BIOS
setup so I'm back to square 1.

Anyone knows how can I boot (from DVD !!) with sdp disabled ??

Thanks

References:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/198376.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/198410.html
http://www.nabble.com/run_interrupt_driven_hooks:-still-waiting-after-300-seconds-for-xpt_config-td23492390.html


On Tue, Jul 21, 2009 at 10:52 PM, Wael Nasreddine (a.k.a eMxyzptlk) 
m...@nasreddine.com wrote:

 I have a problem booting the DVD on this laptop, with ACPI enabled, it
 crashes after the usb part, check the screenshot
 http://omploader.org/vMjBqbA

 I tried with ACPI disabled, the whole system stops responding even
 before the USB part.

 On Tue, Jul 21, 2009 at 4:58 PM, Wael Nasreddine (a.k.a eMxyzptlk)
 m...@nasreddine.com wrote:
 
  Hello,
 
  I recently bought an HP Pavilion DV7-1299EF, it's 2.4Ghz Core 2 DUO, 4G
 RAM, 2x250 Gb Hard Disk
 
  --- lspci
  00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory
 Controller Hub (rev 07)
  00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express
 Graphics Port (rev 07)
  00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #4 (rev 03)
  00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #5 (rev 03)
  00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
 Controller #2 (rev 03)
  00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
 Controller (rev 03)
  00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 1 (rev 03)
  00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 2 (rev 03)
  00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 3 (rev 03)
  00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 4 (rev 03)
  00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 5 (rev 03)
  00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 6 (rev 03)
  00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #1 (rev 03)
  00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #2 (rev 03)
  00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #3 (rev 03)
  00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #6 (rev 03)
  00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
 Controller #1 (rev 03)
  00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
  00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev
 03)
  00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller
 (rev 03)
  00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller
 (rev 03)
  01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M
 GT] (rev a1)
  02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN
 [Shiloh] Network Connection
  05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
 RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
  06:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host
 Controller
  06:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host
 Controller
  06:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host
 Controller
  06:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
  06:00.4 System peripheral: JMicron Technology Corp. xD Host Controller
  --- lspci
 
  What is critical for me is:
 
  Wifi: Intel 5100 AGN
  Graphics: Nvidia Geforce 9600M GT Resolution: 1440x900
  Sound: Intel High definition Audio, Codec: IDT 92HD71B7X
 
  Since I have 2x250Gb, I would like to use ZFS, I heard FreeBSD can boot
 from ZFS now, is it stable ?
 
  Thanks in advance for your feedback.
 
  --
  Wael Nasreddine
 
  Blog: http://wael.nasreddine.com
  E-mail  : wael.nasredd...@gmail.com
  gTalk   : wael.nasredd...@gmail.com
  Tel : +33.6.32.94.70.13
  Skype   : eMxyzptlk
  Twitter : @eMxyzptlk
 
  Sabayon Linux Chief Development Officer - http://www.sabayonlinux.org
 
  PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
 
  .: An infinite number of monkeys typing into GNU emacs,
would never make a good program. (L. Torvalds 1995) :.
 



 --
 Wael Nasreddine

 Blog: http://wael.nasreddine.com
 E-mail  : wael.nasredd...@gmail.com
 gTalk   : wael.nasredd...@gmail.com
 Tel : +33.6.32.94.70.13
 Skype   : eMxyzptlk
 Twitter : @eMxyzptlk

 Sabayon Linux Chief Development Officer - http://www.sabayonlinux.org

 PGP: 

jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Ewald Jenisch
Hi,

Updating one of my sytems I followed /usr/ports/UPDATING and did a
pkg_delete -r jpeg-6b_7 - only to discover that everything that
depends on jpeg-* is gone - this involves little wonders like the
complete gnome2 environment plus e.g. firefox, gimp,
openoffice. 

What's really bad however is that all information about the
dependencies that were there before is now gone, i.e. the system has
no clue that e.g. gnome2 was installed.

Fortunately, in my particular case, I did a pkg_info -Rx jpeg- prior
to that pkg_delete so at least I have clue as to the state of my ports
that depend on jpeg-* before that pkg_delete.

So here are my questions:

o) Do I really have to re-build every port that depends on jpeg-* from
scratch; i.e. make  make installing every port? (i.e. take the
list from pkg_info (see above) and build everything by hand)

o) Is there a less painful way to upgrade everything that depends on jpeg-*


Thanks much in advance for your help,
-ewald


PS: To my understanding the information in /usr/ports/UPDATING is a
little misleading without mentioning anything that pkg_delete
basically removing all dependencies leaving the system in a state with
the dependent packages deleted having no clue as to what was there
before. Maybe a little hint about this would possibly keep others from
falling into similar traps
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Anton Shterenlikht
On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
 Hi,
 
 Updating one of my sytems I followed /usr/ports/UPDATING and did a
 pkg_delete -r jpeg-6b_7 - only to discover that everything that
 depends on jpeg-* is gone - this involves little wonders like the
 complete gnome2 environment plus e.g. firefox, gimp,
 openoffice. 
 
 What's really bad however is that all information about the
 dependencies that were there before is now gone, i.e. the system has
 no clue that e.g. gnome2 was installed.
 
 Fortunately, in my particular case, I did a pkg_info -Rx jpeg- prior
 to that pkg_delete so at least I have clue as to the state of my ports
 that depend on jpeg-* before that pkg_delete.
 
 So here are my questions:
 
 o) Do I really have to re-build every port that depends on jpeg-* from
 scratch; i.e. make  make installing every port? (i.e. take the
 list from pkg_info (see above) and build everything by hand)
 
 o) Is there a less painful way to upgrade everything that depends on jpeg-*

try
portmaster -r jpeg

 PS: To my understanding the information in /usr/ports/UPDATING is a
 little misleading without mentioning anything that pkg_delete
 basically removing all dependencies leaving the system in a state with
 the dependent packages deleted having no clue as to what was there
 before. Maybe a little hint about this would possibly keep others from
 falling into similar traps

yes, this wasn't the best advice

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Daniel Bye
On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
 Hi,
 
 Updating one of my sytems I followed /usr/ports/UPDATING and did a
 pkg_delete -r jpeg-6b_7 - only to discover that everything that

Au contraire, Blackadder. UPDATING says to run either of 

portmaster -r jpeg*

OR

portupgrade -fr graphics/jpeg

It says nothing of pkg_delete.

 depends on jpeg-* is gone - this involves little wonders like the
 complete gnome2 environment plus e.g. firefox, gimp,
 openoffice. 

pkg_delete -r package - recursively delete package and all others that 
depend on it.

 
 What's really bad however is that all information about the
 dependencies that were there before is now gone, i.e. the system has
 no clue that e.g. gnome2 was installed.

Yep, because pkg_delete removed their entries from the registry.

 
 Fortunately, in my particular case, I did a pkg_info -Rx jpeg- prior
 to that pkg_delete so at least I have clue as to the state of my ports
 that depend on jpeg-* before that pkg_delete.
 
 So here are my questions:
 
 o) Do I really have to re-build every port that depends on jpeg-* from
 scratch; i.e. make  make installing every port? (i.e. take the
 list from pkg_info (see above) and build everything by hand)

That's going to be the best bet, yes.

 
 o) Is there a less painful way to upgrade everything that depends on jpeg-*

You could try installing prebuilt packages, but they might not all have been
updated yet to use the new version of jpeg. 

 PS: To my understanding the information in /usr/ports/UPDATING is a
 little misleading without mentioning anything that pkg_delete
 basically removing all dependencies leaving the system in a state with
 the dependent packages deleted having no clue as to what was there
 before. Maybe a little hint about this would possibly keep others from
 falling into similar traps

Read the relevant entry again. It mentions nothing about running pkg_delete.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpWdOudX4FgG.pgp
Description: PGP signature


Re: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Daniel Bye
Ooops! My apologies - it seems that an earlier version of UPDATING did indeed
say to pkg_delete.

Ewald, I'm sorry for sounding so patronising - I feel like a total fool now.

~blush

Dan


On Fri, Jul 24, 2009 at 01:55:42PM +0100, Daniel Bye wrote:
 On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
  Hi,
  
  Updating one of my sytems I followed /usr/ports/UPDATING and did a
  pkg_delete -r jpeg-6b_7 - only to discover that everything that
 
 Au contraire, Blackadder. UPDATING says to run either of 
 
 portmaster -r jpeg*
 
 OR
 
 portupgrade -fr graphics/jpeg
 
 It says nothing of pkg_delete.
 
  depends on jpeg-* is gone - this involves little wonders like the
  complete gnome2 environment plus e.g. firefox, gimp,
  openoffice. 
 
 pkg_delete -r package - recursively delete package and all others that 
 depend on it.
 
  
  What's really bad however is that all information about the
  dependencies that were there before is now gone, i.e. the system has
  no clue that e.g. gnome2 was installed.
 
 Yep, because pkg_delete removed their entries from the registry.
 
  
  Fortunately, in my particular case, I did a pkg_info -Rx jpeg- prior
  to that pkg_delete so at least I have clue as to the state of my ports
  that depend on jpeg-* before that pkg_delete.
  
  So here are my questions:
  
  o) Do I really have to re-build every port that depends on jpeg-* from
  scratch; i.e. make  make installing every port? (i.e. take the
  list from pkg_info (see above) and build everything by hand)
 
 That's going to be the best bet, yes.
 
  
  o) Is there a less painful way to upgrade everything that depends on jpeg-*
 
 You could try installing prebuilt packages, but they might not all have been
 updated yet to use the new version of jpeg. 
 
  PS: To my understanding the information in /usr/ports/UPDATING is a
  little misleading without mentioning anything that pkg_delete
  basically removing all dependencies leaving the system in a state with
  the dependent packages deleted having no clue as to what was there
  before. Maybe a little hint about this would possibly keep others from
  falling into similar traps
 
 Read the relevant entry again. It mentions nothing about running pkg_delete.
 
 Dan
 
 -- 
 Daniel Bye
  _
   ASCII ribbon campaign ( )
  - against HTML, vCards and  X
 - proprietary attachments in e-mail / \



-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpszwDjGvazU.pgp
Description: PGP signature


Re: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Ewald Jenisch
On Fri, Jul 24, 2009 at 01:58:28PM +0100, Daniel Bye wrote:
 Ooops! My apologies - it seems that an earlier version of UPDATING did indeed
 say to pkg_delete.
 
 Ewald, I'm sorry for sounding so patronising - I feel like a total fool now.
 

Hi Dan,

Now I understand - in my UPDATING that comes from a cvsup I did
yesterday it reads:

--  Cut here  --

20090719:
  AFFECTS: users of graphics/jpeg
  AUTHOR: din...@freebsd.org

  jpeg has been updated to 7.0.
  Quick instructions:
pkg_delete -r jpeg-6b_7
  Please rebuild all ports that depends on it.

--  Cut here  --


whereas the /usr/ports/UPDATING in a system I cvsup-ed just a minute
ago reads:

--  Cut here  --

20090719:
  AFFECTS: users of graphics/jpeg
  AUTHOR: din...@freebsd.org

  jpeg has been updated to 7.0.
  Please rebuild all ports that depends on it.

  If you use portmaster please use:
portmaster -r jpeg*
  If you use portupgrade please use:
portupgrade -fr graphics/jpeg

--  Cut here  --

At least this problem is sorted out now in UPDATING so others fall
into this trap. As for my problem I think I'm gonna rebuild my ports
by hand...

-ewald

___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Peter Boosten
Daniel Bye wrote:
 On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
 Hi,

 Updating one of my sytems I followed /usr/ports/UPDATING and did a
 pkg_delete -r jpeg-6b_7 - only to discover that everything that
 
 Au contraire, Blackadder. UPDATING says to run either of 
 
 portmaster -r jpeg*
 
 OR
 
 portupgrade -fr graphics/jpeg
 
 It says nothing of pkg_delete.


Not anymore, no. This is what's in my UPDATING:

quote
20090719:
  AFFECTS: users of graphics/jpeg
  AUTHOR: din...@freebsd.org

  jpeg has been updated to 7.0.
  Quick instructions:
pkg_delete -r jpeg-6b_7
  Please rebuild all ports that depends on it.
/quote

I thought it to be the most stupid upgrade strategy ever, but indeed it
was there in the beginning.

-- 
http://www.boosten.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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Daniel Bye
On Fri, Jul 24, 2009 at 03:16:54PM +0200, Peter Boosten wrote:
 Daniel Bye wrote:
  On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
  Hi,
 
  Updating one of my sytems I followed /usr/ports/UPDATING and did a
  pkg_delete -r jpeg-6b_7 - only to discover that everything that
  
  Au contraire, Blackadder. UPDATING says to run either of 
  
  portmaster -r jpeg*
  
  OR
  
  portupgrade -fr graphics/jpeg
  
  It says nothing of pkg_delete.
 
 
 Not anymore, no. This is what's in my UPDATING:
 
 quote
 20090719:
   AFFECTS: users of graphics/jpeg
   AUTHOR: din...@freebsd.org
 
   jpeg has been updated to 7.0.
   Quick instructions:
 pkg_delete -r jpeg-6b_7
   Please rebuild all ports that depends on it.
 /quote
 
 I thought it to be the most stupid upgrade strategy ever, but indeed it
 was there in the beginning.

Yes, now that I look at it, it does seem a little brain damaged... I must
admit that when I went through the update a few days ago, I automatically
used portupgrade - didn't even notice it said pkg_delete...

Here's a list of things I've learnt today:

* Don't gob off before you have all the facts to hand.
* Being a clever bastard has the unfortunate tendency to backfire, leaving one
looking like a prat.

*facepalm*

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpw7dDrOEX29.pgp
Description: PGP signature


Re: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread chris scott
2009/7/24 Daniel Bye danie...@slightlystrange.org

 On Fri, Jul 24, 2009 at 03:16:54PM +0200, Peter Boosten wrote:
  Daniel Bye wrote:
   On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
   Hi,
  
   Updating one of my sytems I followed /usr/ports/UPDATING and did a
   pkg_delete -r jpeg-6b_7 - only to discover that everything that
  
   Au contraire, Blackadder. UPDATING says to run either of
  
   portmaster -r jpeg*
  
   OR
  
   portupgrade -fr graphics/jpeg
  
   It says nothing of pkg_delete.
 
 
  Not anymore, no. This is what's in my UPDATING:
 
  quote
  20090719:
AFFECTS: users of graphics/jpeg
AUTHOR: din...@freebsd.org
 
jpeg has been updated to 7.0.
Quick instructions:
  pkg_delete -r jpeg-6b_7
Please rebuild all ports that depends on it.
  /quote
 
  I thought it to be the most stupid upgrade strategy ever, but indeed it
  was there in the beginning.

 Yes, now that I look at it, it does seem a little brain damaged... I must
 admit that when I went through the update a few days ago, I automatically
 used portupgrade - didn't even notice it said pkg_delete...

 Here's a list of things I've learnt today:

 * Don't gob off before you have all the facts to hand.
 * Being a clever bastard has the unfortunate tendency to backfire, leaving
 one
 looking like a prat.

 *facepalm*

 Dan

 --
 Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \



maybe it would be a good idea for ports to have an event log like yum does
on centos. Just a simple log of stuff added, removed, and upgraded. It would
be invaluable in this situation as you could see what was removed and it
would be fairly easy to recover. It just may take a little time.
___
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: (Maybe)OT: Apache22 mod_rewrite question

2009-07-24 Thread Gregory T Helton
On Thu, 23 Jul 2009 23:33:03 -0500
Jason Garrett kinged...@gmail.com wrote:

 I am starting up a wiki with moinmoin. Currently when I type in
 http://mydomain.com it brings me to the main page and the browser
 shows http://mydomain.com/moin.cgi.
 
 When I click on a link from the front page, the browser displays
 http://mydomain.com/moin.cgi/SearchedText
 
 
 Basically, I want to remove the moin.cgi and just end up with this
 being displayed http://mydomain.com/SearchedText. For a working
 example of what I want, just go to http://wiki.freebsd.org.
 
 
 Can this be done with mod_rewrite and/or with apache in general?
 ___
 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 do this with mercurial, it's quite simple.

ScriptAliasMatch ^(.*)/full/path/hg/www/hgwebdir.cgi$1

___
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: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread John Nielsen
On Thursday 23 July 2009 19:44:15 Steve Bertrand wrote:
 This message has a foot that has nearly touched down over the OT
 borderline.

 We received an HP Proliant DL360G5 collocation box yesterday that has
 two processors, and 8GB of memory.

 All the client wants to use this box for is a single instance of Windows
 web hosting. Knowing the sites the client wants to aggregate into IIS, I
 know that the box is far over-rated.

 Making a long story short, they have agreed to allow us to put their
 Windows server inside of a virtual-ized container, so we can use the
 unused horsepower for other vm's (test servers etc).

 My problem is performance. I'm only willing to make this box virtual if
 I can keep the abstraction performance loss to 25% (my ultimate goal
 would be 15%).

 The following is what I have, followed by my benchmark findings:

 # 7.2-RELEASE AMD64

 FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU5150  @ 2.66GHz (2666.78-MHz
 K8-class CPU)
   Origin = GenuineIntel  Id = 0x6f6  Stepping = 6

 usable memory = 8575160320 (8177 MB)
 avail memory  = 8273620992 (7890 MB)

 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7:

Did you give the VM 4 virtual processors as well? How much RAM did it have? 
What type of storage does the server have? Did the VM just get a .vmdk on 
VMFS? What version of ESX?

 Benchmarks:

 # time make -j4 buildworld (under vmware)

 5503.038u 3049.500s 1:15:46.25 188.1%   5877+1961k 3298+586716io 2407pf+0w

 # time make -j4 buildworld (native)

 4777.568u 992.422s 33:02.12 291.1%6533+2099k 25722+586485io 3487pf+0w

Note that the user time is within your 15% margin (if you round to the 
nearest percent). The system time is what's running away. My guess is that 
that is largely due to disk I/O and virtualization of same. What you can do 
to address this depends on what hardware you have. Giving the VM a raw 
slice/LUN/disk instead of a .vmdk file may improve matters somewhat. If you 
do use a disk file be sure that it lives on a stripe (or whatever unit is 
relevant) boundary of the underlying storage. Ways to do that (if any) depend 
on the storage. Improving the RAID performance, etc. of the storage will 
improve your benchmark overall, and may or may not narrow the divide.

The (virtual) storage driver (mpt IIRC) might have some parameters you could 
tweak, but I don't know about that off the top of my head.

 ...both builds were from the exact same sources, and both runs were
 running with the exact same environment. I was extremely careful to
 ensure that the environments were exactly the same.

 I'd appreciate any feedback on tweaks that I can make (either to VMWare,
 or FreeBSD itself) to make the virtualized environment much more efficient.

See above about storage. Similar questions come up periodically; searching the 
archives if you haven't already may prove fruitful. You may want to try 
running with different kernel HZ settings for instance.

I would also try to isolate the performance of different components and 
evaluate their importance for your actual intended load. CPU and RAM probably 
perform like you expect out of the box. Disk and network I/O won't be as 
close to native speed, but the difference and the impact are variable 
depending on your hardware and load.

A lightly-loaded Windows server is the poster child of virtualization 
candidates. If your decision is to dedicate the box to Winders or to 
virtualize and use the excess capacity for something else I would say it's a 
no-brainer if the cost of ESX isn't a factor (or if ESXi gives you similar 
performance). If that's already a given and your decision is between running 
a specific FreeBSD instance on the ESX host or on its own hardware then 
you're wise to spec out the performance differences.

HTH,

JN
___
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


X won't start after port upgrade

2009-07-24 Thread Leslie Jensen

I've followed every advice in /usr/ports/UPDATING

The portmaster -r jpeg* returns No match.

portmaster -r jpeg-7 rebuilds only jpeg-7 no other ports!

After this upgrade my X won't start :-(

Any hints?

Thanks

Leslie

-- snip ---

(II) LoadModule: synaptics
(WW) Warning, couldn't open module synaptics
(II) UnloadModule: synaptics
(EE) Failed to load module synaptics (module does not exist, 0)
(EE) No input driver matching `synaptics'
(**) default pointer: Device: /dev/sysmouse
(==) default pointer: Protocol: Auto
(**) Option AlwaysCore
(**) default pointer: always reports core events
(==) default pointer: Emulate3Buttons, Emulate3Timeout: 50
(**) default pointer: ZAxisMapping: buttons 4 and 5
(**) default pointer: Buttons: 9
(**) default pointer: Sensitivity: 1
(**) default pointer: (accel) keeping acceleration scheme 1
(**) default pointer: (accel) filter chain progression: 2.00
(**) default pointer: (accel) filter stage 0: 20.00 ms
(**) default pointer: (accel) set acceleration profile 0
(II) default pointer: SetupAuto: hw.iftype is 4, hw.model is 0
(II) default pointer: SetupAuto: protocol is SysMouse



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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: K3b-DVD

2009-07-24 Thread Norbert Papke
On July 20, 2009, ajtiM wrote:
 My system: FreeBSD 7.2, KDE 3.5.10

Same here.

 I did try to burn data DVD with my NEC DVD ND-1300A but I got an error:
 :-( Media is not formatted or unsupported

When I run cdrecord with an invalid option, I get the following output.  I 
draw attention to the line stating that there is no support for DVD-R/DVD-RW.  
I speculate that this may be related to the problem you are seeing.  I have 
not explored cdrecord-ProDVD.

# cdrecord xxx
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (amd64-unknown-freebsd7.1) Copyright (C) 1995-2004 J�rg 
Schilling
scsidev: '5,0,0'
scsibus: 5 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'HL-DT-ST'
Identifikation : 'DVD-RAM GH22NS30'
Revision   : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for 
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: No such file or directory. Cannot open 'xxx'.


Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
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: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread Steve Bertrand
John Nielsen wrote:
 On Thursday 23 July 2009 19:44:15 Steve Bertrand wrote:

 My problem is performance. I'm only willing to make this box virtual if
 I can keep the abstraction performance loss to 25% (my ultimate goal
 would be 15%).

 usable memory = 8575160320 (8177 MB)
 avail memory  = 8273620992 (7890 MB)

 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7:
 
 Did you give the VM 4 virtual processors as well? How much RAM did it have? 
 What type of storage does the server have? Did the VM just get a .vmdk on 
 VMFS? What version of ESX?

I gave it all four procs to use, and all available memory. See below
about storage system.

 The system time is what's running away. My guess is that 
 that is largely due to disk I/O and virtualization of same. What you can do 
 to address this depends on what hardware you have. Giving the VM a raw 
 slice/LUN/disk instead of a .vmdk file may improve matters somewhat. If you 
 do use a disk file be sure that it lives on a stripe (or whatever unit is 
 relevant) boundary of the underlying storage. Ways to do that (if any) depend 
 on the storage. Improving the RAID performance, etc. of the storage will 
 improve your benchmark overall, and may or may not narrow the divide.

The storage system is the following, with 512MB cache. I'm trying to
figure out if the cache has a battery backup installed, as I've read
that disk performance could be affected without it.

kernel: ciss0: HP Smart Array P400i

With six Fujitsu MHW2120BS 120GB 5.4k SATA laptop drives.

After performing multiple in-OS and outside-of-OS benchmark tests, the
maximum read speed I can achieve is ~7MBps. Before I reconfigured the
machine from the default RAID6 to RAID1+0, I was capped at ~5.

This is certainly a huge bottleneck. I'm not impressed in any way with
that type of performance, when a lesser system that I have running FBSD
7.2 and ZFS can achieve ~160MBps. I know the drives are only 5.4k, but
~7MB just isn't right.

I'm off to see what we can do about that.

Thanks John,

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


RE: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread Dean Weimer

 This message has a foot that has nearly touched down over the OT
 borderline.
 
 We received an HP Proliant DL360G5 collocation box yesterday that has
 two processors, and 8GB of memory.
 
 All the client wants to use this box for is a single instance of
 Windows
 web hosting. Knowing the sites the client wants to aggregate into IIS,
 I
 know that the box is far over-rated.
 
 Making a long story short, they have agreed to allow us to put their
 Windows server inside of a virtual-ized container, so we can use the
 unused horsepower for other vm's (test servers etc).
 
 My problem is performance. I'm only willing to make this box virtual if
 I can keep the abstraction performance loss to 25% (my ultimate goal
 would be 15%).
 
 The following is what I have, followed by my benchmark findings:
 
 # 7.2-RELEASE AMD64
 
 FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU5150  @ 2.66GHz (2666.78-MHz
 K8-class CPU)
   Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
 
 usable memory = 8575160320 (8177 MB)
 avail memory  = 8273620992 (7890 MB)
 
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7:
 
 Benchmarks:
 
 # time make -j4 buildworld (under vmware)
 
 5503.038u 3049.500s 1:15:46.25 188.1%   5877+1961k 3298+586716io
 2407pf+0w
 
 # time make -j4 buildworld (native)
 
 4777.568u 992.422s 33:02.12 291.1%6533+2099k 25722+586485io 3487pf+0w
 
 ...both builds were from the exact same sources, and both runs were
 running with the exact same environment. I was extremely careful to
 ensure that the environments were exactly the same.
 
 I'd appreciate any feedback on tweaks that I can make (either to
 VMWare,
 or FreeBSD itself) to make the virtualized environment much more
 efficient.
 
 Off-list is fine.
 
 Cheers,
 
 Steve

I haven't actually done any benchmarks to compare the performance, but I have 
been running production FreeBSD servers on VMware for a couple of years.  I 
currently have two 6.2 systems running CUPS, one on VMware Server, and the 
other on ESX 3.5.  I also have a 7.0 system and two 7.1 systems running Squid 
on ESX 3.5 as well.  The thing that I noticed as the biggest bottle neck for 
any guest within VMware is the Disk I/O (with the exception of video which 
isn't an issue for a server).  Compiling software does take longer, because of 
this, however if you tune your disks properly the performance under real 
application load doesn't seem to be an issue.  Using soft updates on the file 
system seems to help out a lot, but be aware of the consequences.
That being said, on the Systems I have running squid we average 9G of traffic a 
day on the busiest system with about 11% cache hit rate, These proxies sit 
close to idle after hours.  Looking at the information from systat -vmstat, the 
system is almost idle during the day under the full load as well, you just 
can't touch FreeBSD with only 2 DSL lines for web traffic.  Its faster than the 
old native system was, however there is an iSCSI SAN behind the ESX server for 
disk access, and we went from a Dell PowerEdge 850 to a Dell PowerEdge 2950.  
It does share that server with around 15 or more other servers (Mostly windows, 
some Linux) depending on the current load.  Which brings us to another point, 
It seems to do just fine when VMware VMotion moves it between servers.
Not sure if this information helps you out any, but my recommendation would be 
that if your application will be very disk intensive, avoid the Virtual 
machine.  In my case with the Squid, gaining the redundancy of the VMware 
coupled with VMotion was worth the potential hit in performance.  As we are 
soon implementing a second data center across town that will house additional 
VMware servers and thanks to a 10G fiber ring, will allow us to migrate servers 
while running between datacenters.  Also keep in mind that as of vSphere 4 (We 
will be upgrading to this once the new data center is complete, just waiting on 
the shipment of the racks at this point), VMware does officially support 
FreeBSD 7.1, so you might want to go with that instead of 7.2, as there may be 
a performance issue with 7.2, but it's also just as likely that it was a timing 
issue on releases that 7.1 is supported and 7.2 isn't.  As of ESXi 4.0 
(released 5-21-2009), I believe it has the same code base as vSphere 4, so the 
same guests should be supported.

Thanks,
 Dean Weimer
 Network Administrator
 Orscheln Management Co
___
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


linux emulator

2009-07-24 Thread PJ
Let's try 3 questions, all related.
1. Which linux emulator is one supposed to use or is this something that
should not be installed and left to be handled as a dependency by ports?

2. I am trying to install ogle on FreeBSD 7.2 running on amd64. I have
installed linux-base-fc4. Installation stops on linux-atk
(accessibility). It seems there exists an .so file from version 1.9.1_3
- needless to say, this is rather strange as I never installed
linux-atk. Now, maybe it was part of the base-fc4 port; but the
accessibility/linux-atk version is 1.9.1-1, something less than 1.9.1_3
I would think. What is going on here?

3. I have another FreeBSD 7.1 machine on which I have installed ogle and
it runs very, very nicely. But pkg_info tells me there is a
linux-atk-1.9.1_3 installed; yet, again, the accessibility/linux-atk
version is 1.9.1_3. Huh?
Funny, but there was not problem installing ogle - ran immediately
without problem.

Needless to say, I am a bit dismayed. There doesn't seem to be any clear
indication on Gaggle or the manual about which emulator to use or how to
use it.
Thanks for any clarifications, solutions, hints or suggestions.
PJ

-- 
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: Restarting hal

2009-07-24 Thread Bob Hall
On Fri, Jul 24, 2009 at 08:57:43AM +0200, Polytropon wrote:
 On Thu, 23 Jul 2009 13:43:50 -0400, Bob Hall rjh...@gmail.com wrote:
  Is there a way to get hal to reload its
  configuration withou rebooting? I've tried sending a HUP signal and I've
  tried rc.d/hal restart, but so far rebooting is the only thing that
  works properly.
 
 Maybe it's neccessary to restart DBUS as well - just a wild
 guess, 

Yea, someone already e-mailed me and suggested I restart dbus along with
hal. I've just recently made the switch to Xorg and I'm still a bit
fuzzy about how things interrelate , so it hadn't occurred to me to
restart dbus when I reconfigured hal.

 im not using DBUS or HAL because I like my X working. :-)

Aside from the ctrl-alt-bksp bug, this has been the easiest X setup I've
ever done. I've tried it with and without hal and both are easy to set
up. Given my level of ignorance, that's saying something. I've seen a
lot of complaints about Xorg's new system, but I like it.

Thanks for your response. It's great that there are so many helpful
people on this list.
___
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


intel atom mobo support; ASUS AT3GC ?

2009-07-24 Thread Henrik Hudson
Hey List,

I'm looking into running on of these:
ASUS AT3GC
http://usa.asus.com/products.aspx?modelmenu=2model=3129l1=3l2=192l3=0l4=0

Now it seems to differ from the stock intel Atom setup in that it's
using a Realtek 8112 NIC and I can't seem to find any documentation
showing support for that NIC. Anyone have any luck with that board
or know if it will work? From some forum posts it seems to be
similar to the 8111 series, but one never knows.

I'm picking this board because of the heatsink / fan setup over the
stock intel one.

I'd be using either 7-STABLE or if I have to 8-CURRENT. One will be
a dual-homed box, so I need both the onboard and the single PCI slot.


Thanks.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread Steve Polyack

John Nielsen wrote:

On Thursday 23 July 2009 19:44:15 Steve Bertrand wrote:
  

I'd appreciate any feedback on tweaks that I can make (either to VMWare,
or FreeBSD itself) to make the virtualized environment much more efficient.



See above about storage. Similar questions come up periodically; searching the 
archives if you haven't already may prove fruitful. You may want to try 
running with different kernel HZ settings for instance.
  


You should certainly try setting both kern.hz and vfs.read_max in the 
FreeBSD VM.  I would recommend:


In loader.conf:
kern.hz=100

In /etc/sysctl.conf:
vfs.read_max=32

You may also try increasing vfs.hirunningspace.  I've had good results 
with setting it to 32MB on write-intensive systems.  Tuning vfs.read_max 
can give some boosts to physical-hardware FreeBSD systems as well.


-Steve Polyack

___
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: linux emulator

2009-07-24 Thread RW
On Fri, 24 Jul 2009 10:58:05 -0400
PJ af.gour...@videotron.ca wrote:

 Let's try 3 questions, all related.
 1. Which linux emulator is one supposed to use or is this something
 that should not be installed and left to be handled as a dependency
 by ports?
 
 2. I am trying to install ogle on FreeBSD 7.2 running on amd64. I have
 installed linux-base-fc4.

What are you trying to do exactly? Ogle is in ports, and has no linux
dependencies.
___
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


disk encryption with geli

2009-07-24 Thread Stefan Miklosovic
hi all

i am going to encrypt my /home directory
which is mounted in /etc/fstab like

/dev/ad0s2f /home   ufs rw,noatime
2   2

I did like is wrote in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
everything looks good. ad0s2f.eli appears in /dev and so on. I can mount it,
umount and so.

but after reboot, I am dropped to single user mode because of en error
message which says that
there is an inconsistency at /dev/ad0s2f

do i have to encrypt whole ad0 or it is possible to encrypt only my /home?
___
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


Moxa 8-port serial multiplexor, how-to

2009-07-24 Thread Doug Poland
Hello,

I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
working in 7.2-RELEASE(i386).

I've recompiled a GENERIC kernel with

  options COM_MULTIPORT

and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
devices in /dev.

After reading the handbook(26.2) and man puc(4), sio(4).  man sio(4)
talks about adding /boot/device.hints but not for my particular
hardware.  I'm at a loss on how to continue.

Suggestions, pointers, URLs welcome.


-- 
Regards,
Doug

___
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: disk encryption with geli

2009-07-24 Thread Bill Moran
In response to Stefan Miklosovic miklosovic.free...@gmail.com:

 hi all
 
 i am going to encrypt my /home directory
 which is mounted in /etc/fstab like
 
 /dev/ad0s2f /home   ufs rw,noatime
 2   2
 
 I did like is wrote in
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
 everything looks good. ad0s2f.eli appears in /dev and so on. I can mount it,
 umount and so.
 
 but after reboot, I am dropped to single user mode because of en error
 message which says that
 there is an inconsistency at /dev/ad0s2f
 
 do i have to encrypt whole ad0 or it is possible to encrypt only my /home?

You can do what you're attempting, I'm doing it in several places without
problem.

I suspect that you have the startup config wrong in /etc/rc.conf or in
/etc/fstab.  Make sure you're mounting the encrypted partition in
/etc/fstab (i.e. /dev/ad0s2f.eli and not /dev/ad0s2f) and make sure
you have all the geli startup config in /etc/rc.conf per the document
you referenced.

If that's not enough to help you, please provide your /etc/rc.conf, and
/etc/fstab, along with copy/paste of the exact error message you're
seeing.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: disk encryption with geli

2009-07-24 Thread RW
On Fri, 24 Jul 2009 17:17:49 +0200
Stefan Miklosovic miklosovic.free...@gmail.com wrote:

 hi all
 
 i am going to encrypt my /home directory
 which is mounted in /etc/fstab like
 
 /dev/ad0s2f /home   ufs rw,noatime

I think that should be /dev/ad0s2f.eli in fstab.
___
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: linux emulator

2009-07-24 Thread PJ
RW wrote:
 On Fri, 24 Jul 2009 10:58:05 -0400
 PJ af.gour...@videotron.ca wrote:

   
 Let's try 3 questions, all related.
 1. Which linux emulator is one supposed to use or is this something
 that should not be installed and left to be handled as a dependency
 by ports?

 2. I am trying to install ogle on FreeBSD 7.2 running on amd64. I have
 installed linux-base-fc4.
 

 What are you trying to do exactly? Ogle is in ports, and has no linux
 dependencies.
   
You're right... I'm so out of it with all the problems of installing
that I got sidetracked.
It's mplayer that I'm trying to install, not ogle. Ogle is installed and
should be ok.
But the questions are still valid.
 ___
 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

   


-- 
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: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread Richard Mahlerwein
 From: John Nielsen li...@jnielsen.net
 Subject: Re: VMWare ESX and FBSD 7.2 AMD64 guest
 To: freebsd-questions@freebsd.org
 Cc: Steve Bertrand st...@ibctech.ca
 Date: Friday, July 24, 2009, 10:22 AM
 On Thursday 23 July 2009 19:44:15
 Steve Bertrand wrote:
  This message has a foot that has nearly touched down
 over the OT
  borderline.
 
  We received an HP Proliant DL360G5 collocation box
 yesterday that has
  two processors, and 8GB of memory.
 
  All the client wants to use this box for is a single
 instance of Windows
  web hosting. Knowing the sites the client wants to
 aggregate into IIS, I
  know that the box is far over-rated.
 
  Making a long story short, they have agreed to allow
 us to put their
  Windows server inside of a virtual-ized container, so
 we can use the
  unused horsepower for other vm's (test servers etc).
 
  My problem is performance. I'm only willing to make
 this box virtual if
  I can keep the abstraction performance loss to 25%
 (my ultimate goal
  would be 15%).
 
  The following is what I have, followed by my benchmark
 findings:
 
  # 7.2-RELEASE AMD64
 
  FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC
 2009
      r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: Intel(R) Xeon(R) CPU       
     5150  @ 2.66GHz (2666.78-MHz
  K8-class CPU)
    Origin = GenuineIntel  Id =
 0x6f6  Stepping = 6
 
  usable memory = 8575160320 (8177 MB)
  avail memory  = 8273620992 (7890 MB)
 
  FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
   cpu0 (BSP): APIC ID:  0
   cpu1 (AP): APIC ID:  1
   cpu2 (AP): APIC ID:  6
   cpu3 (AP): APIC ID:  7:
 
 Did you give the VM 4 virtual processors as well? How much
 RAM did it have? 
 What type of storage does the server have? Did the VM just
 get a .vmdk on 
 VMFS? What version of ESX?
 
  Benchmarks:
 
  # time make -j4 buildworld (under vmware)
 
  5503.038u 3049.500s 1:15:46.25
 188.1%   5877+1961k 3298+586716io 2407pf+0w
 
  # time make -j4 buildworld (native)
 
  4777.568u 992.422s 33:02.12 291.1%   
 6533+2099k 25722+586485io 3487pf+0w
 
 Note that the user time is within your 15% margin (if you
 round to the 
 nearest percent). The system time is what's running away.
 My guess is that 
 that is largely due to disk I/O and virtualization of same.
 What you can do 
 to address this depends on what hardware you have. Giving
 the VM a raw 
 slice/LUN/disk instead of a .vmdk file may improve matters
 somewhat. If you 
 do use a disk file be sure that it lives on a stripe (or
 whatever unit is 
 relevant) boundary of the underlying storage. Ways to do
 that (if any) depend 
 on the storage. Improving the RAID performance, etc. of the
 storage will 
 improve your benchmark overall, and may or may not narrow
 the divide.
 
 The (virtual) storage driver (mpt IIRC) might have some
 parameters you could 
 tweak, but I don't know about that off the top of my head.
 
  ...both builds were from the exact same sources, and
 both runs were
  running with the exact same environment. I was
 extremely careful to
  ensure that the environments were exactly the same.
 
  I'd appreciate any feedback on tweaks that I can make
 (either to VMWare,
  or FreeBSD itself) to make the virtualized environment
 much more efficient.
 
 See above about storage. Similar questions come up
 periodically; searching the 
 archives if you haven't already may prove fruitful. You may
 want to try 
 running with different kernel HZ settings for instance.
 
 I would also try to isolate the performance of different
 components and 
 evaluate their importance for your actual intended load.
 CPU and RAM probably 
 perform like you expect out of the box. Disk and network
 I/O won't be as 
 close to native speed, but the difference and the impact
 are variable 
 depending on your hardware and load.
 
 A lightly-loaded Windows server is the poster child of
 virtualization 
 candidates. If your decision is to dedicate the box to
 Winders or to 
 virtualize and use the excess capacity for something else I
 would say it's a 
 no-brainer if the cost of ESX isn't a factor (or if ESXi
 gives you similar 
 performance). If that's already a given and your decision
 is between running 
 a specific FreeBSD instance on the ESX host or on its own
 hardware then 
 you're wise to spec out the performance differences.
 
 HTH,
 
 JN

If I recall correctly from ESX (well, VI) training*, there may be a minor 
scheduling issue affecting things here.  If you set up the VM with 4 
processors, ESX schedules time on the CPU only when there's 4 things to execute 
(well, there's another time period it also uses, so even a single thread will 
get run eventually, but anyway...).  The physical instance will run one thread 
immediately even if there's nothing else waiting, whereas the VM will NOT 
execute a single thread necessarily immediately.  I would retry using perhaps 
-j8 or even -j12 to make sure the 4 CPUs see plenty of work to do and 

Re: linux emulator

2009-07-24 Thread PJ
RW wrote:
 On Fri, 24 Jul 2009 10:58:05 -0400
 PJ af.gour...@videotron.ca wrote:

 Let's try 3 questions, all related.
 1. Which linux emulator is one supposed to use or is this something
 that should not be installed and left to be handled as a dependency
 by ports?

 2. I am trying to install ogle on FreeBSD 7.2 running on amd64. I have
 installed linux-base-fc4.

 What are you trying to do exactly? Ogle is in ports, and has no linux
 dependencies.

It's rather strange that I now, when I tried to make install clean
mplayer after the first abort., the error is no longer with linux-atk,
but  linux ldconfig. 
/compat/llinux/sbin/ldconfig :
ELF binary type '3' not known syntax error: ( unexpected - error code 2


-- 
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: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread Steve Bertrand
Richard Mahlerwein wrote:

 If I recall correctly from ESX (well, VI) training*, there may be a minor 
 scheduling issue affecting things here.  If you set up the VM with 4 
 processors, ESX schedules time on the CPU only when there's 4 things to 
 execute (well, there's another time period it also uses, so even a single 
 thread will get run eventually, but anyway...).  The physical instance will 
 run one thread immediately even if there's nothing else waiting, whereas the 
 VM will NOT execute a single thread necessarily immediately.  I would retry 
 using perhaps -j8 or even -j12 to make sure the 4 CPUs see plenty of work to 
 do and see if the numbers don't slide closer to one another.  
 
 For what it's worth, if there were a raw LUN available and made available to 
 the VM, the disk performance of that LUN should very nearly match native 
 performance, because it IS native performance.  VMWare (if I understood right 
 in the first place and remember correctly as well, I supposed I should * this 
 as well. :) ) doesn't add anything to slow that down.  Plugging in a USB 
 drive to the Host and making it available to the guest would also be at 
 native USB/drive speeds, assuming you can do that (I've never tried to use 
 USB drives on our blade center!).

I've isolated the problem to the SATA RAID system (or subsystem).

Booting from CD/USB key and running a wide array of bench tests, I can
not read from the RAID setup faster than 10MBps.

Regardless of anything else, this is my priority.

RAID 0 is the only config where I can read faster than ~7MBps. The board
does not have any standard IDE interfaces, and I don't have any PCIe-IDE
cards that aren't in use, so I can't really bypass the HP RAID card.

I will however slap a 200GB USB drive against the box, and see if I can
get faster performance from USB than I can the native SATA setup.

FWIW, I do have the battery backed cache installed...

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


RE: VMWare ESX and FBSD 7.2 AMD64 guest

2009-07-24 Thread Richard Mahlerwein
 From: Dean Weimer dwei...@orscheln.com
 Subject: RE: VMWare ESX and FBSD 7.2 AMD64 guest
 To: freebsd-questions@freebsd.org
 Cc: st...@ibctech.ca
 Date: Friday, July 24, 2009, 10:49 AM

[snip]

 servers while running between datacenters.  Also keep
 in mind that as of vSphere 4 (We will be upgrading to this
 once the new data center is complete, just waiting on the
 shipment of the racks at this point), VMware does officially
 support FreeBSD 7.1, so you might want to go with that
 instead of 7.2, as there may be a performance issue with

Awesome news!  That's teach me to keep shuttling the nearly-spam I get from 
VMware into the trash can right away.  I'd love to hear about your experience 
with the upgrade and how things go later.  We're looking to do something very 
similar sometime in the next 6 to 9 months.



___
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: linux emulator-almost solved

2009-07-24 Thread PJ
PJ wrote:
 Let's try 3 questions, all related.
 1. Which linux emulator is one supposed to use or is this something that
 should not be installed and left to be handled as a dependency by ports?

 2. I am trying to install ogle on FreeBSD 7.2 running on amd64. I have
 installed linux-base-fc4. Installation stops on linux-atk
 (accessibility). It seems there exists an .so file from version 1.9.1_3
 - needless to say, this is rather strange as I never installed
 linux-atk. Now, maybe it was part of the base-fc4 port; but the
 accessibility/linux-atk version is 1.9.1-1, something less than 1.9.1_3
 I would think. What is going on here?

 3. I have another FreeBSD 7.1 machine on which I have installed ogle and
 it runs very, very nicely. But pkg_info tells me there is a
 linux-atk-1.9.1_3 installed; yet, again, the accessibility/linux-atk
 version is 1.9.1_3. Huh?
 Funny, but there was not problem installing ogle - ran immediately
 without problem.

 Needless to say, I am a bit dismayed. There doesn't seem to be any clear
 indication on Gaggle or the manual about which emulator to use or how to
 use it.
 Thanks for any clarifications, solutions, hints or suggestions.
 PJ

   
Looks like some of the problems were caused by an older version of
linux_base-fc4.
Reinstalling allowed the mplayer installation to continue.

I still would like to know what are all the other linux_base ports?
Which to use, how, when  why?


-- 
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: linux emulator

2009-07-24 Thread Mel Flynn
On Friday 24 July 2009 06:58:05 PJ wrote:
 Let's try 3 questions, all related.
 1. Which linux emulator is one supposed to use or is this something that
 should not be installed and left to be handled as a dependency by ports?

fc4 is the default. But Skype for example, really wants fc6 or higher. I would 
use fc6 on new installs.

 2. I am trying to install ogle on FreeBSD 7.2 running on amd64. I have
 installed linux-base-fc4. Installation stops on linux-atk
 (accessibility). It seems there exists an .so file from version 1.9.1_3
 - needless to say, this is rather strange as I never installed
 linux-atk. Now, maybe it was part of the base-fc4 port; but the
 accessibility/linux-atk version is 1.9.1-1, something less than 1.9.1_3
 I would think. What is going on here?

Could you not paraphrase but copy and paste the error?

-- 
Mel
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Mel Flynn
On Friday 24 July 2009 05:52:37 chris scott wrote:

 maybe it would be a good idea for ports to have an event log like yum does
 on centos. Just a simple log of stuff added, removed, and upgraded. It
 would be invaluable in this situation as you could see what was removed and
 it would be fairly easy to recover. It just may take a little time.

Err, this is available through cvs log/cvs diff.
-- 
Mel
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread RW
On Fri, 24 Jul 2009 08:28:14 -0800
Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:

 On Friday 24 July 2009 05:52:37 chris scott wrote:
 
  maybe it would be a good idea for ports to have an event log like
  yum does on centos. Just a simple log of stuff added, removed, and
  upgraded. It would be invaluable in this situation as you could see
  what was removed and it would be fairly easy to recover. It just
  may take a little time.
 
 Err, this is available through cvs log/cvs diff.

I believe he's referring to a log of package installs and deletes. 

What would probably be more useful, is to periodically write out an
ordered list of leaf-origins, then you can just diff today's file with
an older copy. I used to have a script for it, but it fell-off. I think
package-cut-leaves keeps a similar list.
___
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


Evolution 2.24.5 Exchange can't Subscribe to Other user's Calendar

2009-07-24 Thread Matthias Apitz

Hello,

I've already asked the below question in the Evolution mailing-list with
no response; maybe someone of the FreeBSD net folks can bring a bit
light into this.

Using the mentioned environment (on FreeBSD 8-CURRENT) I can't Subscribe
to Other user's Calendar in the Exchange server (don't blame me for
this, using Exchange :-)) . It fails with a more or less stupid message
about wrong password. 

I've watched with TCPDUMP what's happening when I access in the Menue
'Subscribe to Other user's Calendar': it does a DNS lookup for
kerberos.OCLC.org which is failing (yyy.yyy.yyy.yyy is our DNS server,
xxx.xxx.xxx.xxx is my laptop):


10:43:53.583797 IP xxx.xxx.xxx.xxx.34455  yyy.yyy.yyy.yyy.53: 43976+ SRV?  
_kerberos._udp.OCLC.ORG. (41)
10:43:53.585520 IP yyy.yyy.yyy.yyy.53  xxx.xxx.xxx.xxx.34455: 43976 NXDomain 
0/1/0 (91)
10:43:53.586181 IP xxx.xxx.xxx.xxx.51100  yyy.yyy.yyy.yyy.53: 48460+ SRV?  
_kerberos._tcp.OCLC.ORG. (41)
10:43:53.587866 IP yyy.yyy.yyy.yyy.53  xxx.xxx.xxx.xxx.51100: 48460 NXDomain 
0/1/0 (91)
10:43:53.588479 IP xxx.xxx.xxx.xxx.23102  yyy.yyy.yyy.yyy.53: 46661+ SRV?  
_kerberos._http.OCLC.ORG. (42)
10:43:53.590098 IP yyy.yyy.yyy.yyy.53  xxx.xxx.xxx.xxx.23102: 46661 NXDomain 
0/1/0 (92)
10:43:53.590505 IP xxx.xxx.xxx.xxx.57028  yyy.yyy.yyy.yyy.53: 45174+ A?  
kerberos.OCLC.ORG. (35)
10:43:53.592087 IP yyy.yyy.yyy.yyy.53  xxx.xxx.xxx.xxx.57028: 45174 NXDomain 
0/1/0 (85)
10:43:53.592241 IP xxx.xxx.xxx.xxx.54405  yyy.yyy.yyy.yyy.53: 45175+ ?  
kerberos.OCLC.ORG. (35)
10:43:53.593850 IP yyy.yyy.yyy.yyy.53  xxx.xxx.xxx.xxx.54405: 45175 NXDomain 
0/1/0 (85)

The domain OCLC.ORG is the part of my mail addr, i.e. my addr is 
xx...@oclc.org. 
The IT folks of my company gave me the hint that the above nslookup should not
be, for example, '_kerberos._udp.OCLC.ORG', but '_kerberos._udp.oa.OCLC.ORG'
(i.e. in the zone oa.OCLC.ORG) which indead is working with nslookup:

$ nslookup -type=SRV '_kerberos._udp.oa.OCLC.ORG'
Server: yyy.yyy.yyy.yyy
Address:yyy.yyy.yyy.yyy#53

Non-authoritative answer:
_kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc5server.oa.oclc.org.
_kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc01ewbe.oa.oclc.org.
_kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc1server.oa.oclc.org.
_kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc2server.oa.oclc.org.
...

Why Evo is asking for '_kerberos._udp.OCLC.ORG' and not for 
'_kerberos._udp.oa.OCLC.ORG'?

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w 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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread chris scott
2009/7/24 Mel Flynn
mel.flynn+fbsd.questi...@mailing.thruhere.netmel.flynn%2bfbsd.questi...@mailing.thruhere.net


 On Friday 24 July 2009 05:52:37 chris scott wrote:

  maybe it would be a good idea for ports to have an event log like yum
 does
  on centos. Just a simple log of stuff added, removed, and upgraded. It
  would be invaluable in this situation as you could see what was removed
 and
  it would be fairly easy to recover. It just may take a little time.

 Err, this is available through cvs log/cvs diff.
 --
 Mel


are you talking about cvs syncing the ports tree? I was refering to make
install, make deinstall, pkg_add, pkg_delete etc of packages
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread chris scott
2009/7/24 RW rwmailli...@googlemail.com

 On Fri, 24 Jul 2009 08:28:14 -0800
 Mel Flynn 
 mel.flynn+fbsd.questi...@mailing.thruhere.netmel.flynn%2bfbsd.questi...@mailing.thruhere.net
 wrote:

  On Friday 24 July 2009 05:52:37 chris scott wrote:
 
   maybe it would be a good idea for ports to have an event log like
   yum does on centos. Just a simple log of stuff added, removed, and
   upgraded. It would be invaluable in this situation as you could see
   what was removed and it would be fairly easy to recover. It just
   may take a little time.
 
  Err, this is available through cvs log/cvs diff.

 I believe he's referring to a log of package installs and deletes.

 What would probably be more useful, is to periodically write out an
 ordered list of leaf-origins, then you can just diff today's file with
 an older copy. I used to have a script for it, but it fell-off. I think
 package-cut-leaves keeps a similar list.
 ___
 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



yep i was i think portmanager can do stuff with leave
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Jerry
On Fri, 24 Jul 2009 13:55:42 +0100
Daniel Bye danie...@slightlystrange.org wrote:

 On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
  Hi,
  
  Updating one of my sytems I followed /usr/ports/UPDATING and did a
  pkg_delete -r jpeg-6b_7 - only to discover that everything that
 
 Au contraire, Blackadder. UPDATING says to run either of 
 
 portmaster -r jpeg*
 
 OR
 
 portupgrade -fr graphics/jpeg

Which, unfortunately, does not build /x11/kdelibs3 with the updated
jpeg library. I had to make a link from the old library to the new one
to get the update to work correctly. I know that some have suggested
that, that is not the proper way to do it; however, the fact that it
works is all I was interested in.


-- 
Jerry
ges...@yahoo.com

Conquering Russia should be done steppe by steppe.
___
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: X won't start after port upgrade

2009-07-24 Thread Jerry
On Fri, 24 Jul 2009 16:34:35 +0200
Leslie Jensen les...@eskk.nu wrote:

 
 I've followed every advice in /usr/ports/UPDATING
 
 The portmaster -r jpeg* returns No match.
 
 portmaster -r jpeg-7 rebuilds only jpeg-7 no other ports!
 
 After this upgrade my X won't start :-(
 
 Any hints?

Including the log output, it there is any, might be a good idea.

Personally, I like 'portmanager' for fixing problems like this. Since
you gave no indication of what the problem might be, you could try this
for starters. Rebuild the xorg-7.4_2 meta port. Be sure to update you
ports tree first, then run:

portmanager x11/xorg -p -y -l

If X still won't start, you may have to rebuild your window manager as
well.


-- 
Jerry
ges...@yahoo.com

If you could only get that wonderful feeling of
accomplishment without having to accomplish anything.
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Goksin Akdeniz
On Friday 24 July 2009 20:51:18 Jerry wrote:

 Which, unfortunately, does not build /x11/kdelibs3 with the updated
 jpeg library. I had to make a link from the old library to the new one
 to get the update to work correctly. I know that some have suggested
 that, that is not the proper way to do it; however, the fact that it
 works is all I was interested in.

I upgraded jpeg port. qt33 port had to be rebuilt in order to run KDE3 
applications properly. Also I ugraded kdebase3 and kdelib3 and all KDE3 ports 
I installed which all depend on qt33.


signature.asc
Description: This is a digitally signed message part.


Re: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Mel Flynn
On Friday 24 July 2009 09:51:18 Jerry wrote:
 On Fri, 24 Jul 2009 13:55:42 +0100

 Daniel Bye danie...@slightlystrange.org wrote:
  On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
   Hi,
  
   Updating one of my sytems I followed /usr/ports/UPDATING and did a
   pkg_delete -r jpeg-6b_7 - only to discover that everything that
 
  Au contraire, Blackadder. UPDATING says to run either of
 
  portmaster -r jpeg*
 
  OR
 
  portupgrade -fr graphics/jpeg

 Which, unfortunately, does not build /x11/kdelibs3 with the updated
 jpeg library.

It should, otherwise the tool you're using does the wrong thing and you should 
file a bug report for that tool. kdelibs3 uses libmng and qt33 and those 
should be rebuilt before kdelibs3 by the upgrade tool.
-- 
Mel
___
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


vim port have a lot of broken links ??

2009-07-24 Thread Kalle Møller
When I try to install vim from ports it tries 4-5 sites which all have to
time out... and with a 200 files.. thats a lot of timeouts.. Who should I
poke to, so the mirrors would be updated ??

-- 

Med Venlig Hilsen

Kalle R. Møller
___
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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Kent Stewart
On Friday 24 July 2009 10:51:18 am Jerry wrote:
 On Fri, 24 Jul 2009 13:55:42 +0100

 Daniel Bye danie...@slightlystrange.org wrote:
  On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
   Hi,
  
   Updating one of my sytems I followed /usr/ports/UPDATING and did a
   pkg_delete -r jpeg-6b_7 - only to discover that everything that
 
  Au contraire, Blackadder. UPDATING says to run either of
 
  portmaster -r jpeg*
 
  OR
 
  portupgrade -fr graphics/jpeg

 Which, unfortunately, does not build /x11/kdelibs3 with the updated
 jpeg library. I had to make a link from the old library to the new one
 to get the update to work correctly. I know that some have suggested
 that, that is not the proper way to do it; however, the fact that it
 works is all I was interested in.

There is the -L option for pkgdb, which fixes lost dependencies. I ran it on a 
system that I have been having problems upgrading and it seemed to fix all of 
the ones giving me grief. If the -fr didn't work, then you may need to use 
the -L option to get things back in order.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: INN configuration

2009-07-24 Thread Patrick Lamaiziere
Le Thu, 23 Jul 2009 23:11:47 -0400,
Tim Kellers timot...@wallnet.com a écrit :

 My server has a static IP  (optonline.net) that has no ports
 blocked. From my laptop client I can connect to news.optonline.net
 and grab a full feed of all the newsgroups.  What I'm trying to do is
 setup my own news server using news.optonline.net as a peer.  The
 error I get from my client when I connect to my local news server is:
 No newsgroups found even though I have the full list of newsgroups
 from isc.org installed. 

How? You should perform a ctlinnd newgroup with each group to add, or
use a checkgroup message.
Your server should reply the newsgroups list to a command list

baby-jane:~$ telnet news.davenulle.org 119
Trying 91.121.44.19...
Connected to news.davenulle.org.
Escape character is '^]'.
201 news.davenulle.org InterNetNews NNRP server INN 2.4.3 ready (no
posting).
list
215 Newsgroups in form group high low flags.
{.list.}
.

 I haven't been able to find a how-to on the internet (The
 FreeBSDDiary has a workable how-to that only addresses a local news
 server) and the instructions listed on the isc-inn site don't seem to
 address my issue.
 
 /var/log/messages show no errors that relate to inn*

INN logs are in /var/log/news, you may have to set syslog.conf (I don't
remember)

 Has anyone set up a n INN server on freebsd, successfuly?

Sure, works fine here. It's hard to say what problem you have without
precision. Note: with INN, *always* use the news account when you
work on 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: jpeg-7 - rebuild all dependencies - how?

2009-07-24 Thread Jerry
On Fri, 24 Jul 2009 10:57:42 -0800
Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:

 On Friday 24 July 2009 09:51:18 Jerry wrote:
  On Fri, 24 Jul 2009 13:55:42 +0100
 
  Daniel Bye danie...@slightlystrange.org wrote:
   On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
Hi,
   
Updating one of my sytems I followed /usr/ports/UPDATING and
did a pkg_delete -r jpeg-6b_7 - only to discover that
everything that
  
   Au contraire, Blackadder. UPDATING says to run either of
  
   portmaster -r jpeg*
  
   OR
  
   portupgrade -fr graphics/jpeg
 
  Which, unfortunately, does not build /x11/kdelibs3 with the updated
  jpeg library.
 
 It should, otherwise the tool you're using does the wrong thing and
 you should file a bug report for that tool. kdelibs3 uses libmng and
 qt33 and those should be rebuilt before kdelibs3 by the upgrade tool.

I used portupgrade exactly as shown above. Once I made the soft link
for the updated library, it built fine. I never got around to using
'portmanager' on it. I probably should have since it nearly always
works when portupgrade fails.

-- 
Jerry
ges...@yahoo.com

Your supervisor is thinking about you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to Benchmark zpool?

2009-07-24 Thread Drew Tomlinson

I'm familiar with testing read speed of regular hard drive like this:

dd if=/dev/daX of=/dev/null bs=65536

How would I go about testing the read speed of a version 13 zfs raid1z 
zpool?


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: vim port have a lot of broken links ??

2009-07-24 Thread Bob Hall
On Fri, Jul 24, 2009 at 09:13:43PM +0200, Kalle Mller wrote:
 When I try to install vim from ports it tries 4-5 sites which all have to
 time out... and with a 200 files.. thats a lot of timeouts.. Who should I
 poke to, so the mirrors would be updated ??
 
 -- 
 
 Med Venlig Hilsen

Hi Kalle,

If several servers are timing out, there's a good chance that the
problem is at your end. Either you or your ISP might be having a
problem. If you haven't changed anything (hardware, software,
configuration, ISP), then the problem is likely to be temporary.

If the problem is a spike in activity that's overburdoning the servers,
the following may help:
/usr/ports/ports-mgmt/fastest-sites

Med venlige hilser til deg ogsaa.
___
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


Restarting daemons after portupgrade/portmanager

2009-07-24 Thread Axel

Hello! I have a question concerning port upgrades.

mysql51-server stops automatically during upgrade (using portupgrade or 
portmanager), and is properly started again based on a AFTERINSTALL 
setting in pktools.conf.


So far, so good. But what about the other daemons that still seem to run 
after upgrade (Apache, Courier IMAP etc)? Are the new version running 
fine after the upgrade, or should I set AFTERINSTALL to do a restart of 
these daemons, to make sure they run the upgraded version?


Thanks!

Axel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to Benchmark zpool?

2009-07-24 Thread Steve Bertrand
Drew Tomlinson wrote:
 I'm familiar with testing read speed of regular hard drive like this:
 
 dd if=/dev/daX of=/dev/null bs=65536
 
 How would I go about testing the read speed of a version 13 zfs raid1z
 zpool?

To get a qd result, I usually install mkfile:

# pkg_add -r mkfile

...and then in a few terminal windows to get the write speed:

# mkfile 50g bigfile.1
# mkfile 50g bigfile.2
# mkfile 50g bigfile.3

while in another terminal window, I watch:

# zpool iostat 1

...to get the read speed while still having the iostat term open:

# dd if=bigfile.1 of=/dev/null bs=65536

amanda# zpool iostat 1
   capacity operationsbandwidth
pool used  avail   read  write   read  write
storage 1.53T   292G  1.02K  0   130M  0
storage 1.53T   292G  1.05K  0   134M  0
storage 1.53T   292G  1.02K  0   129M  0
storage 1.53T   292G  1.02K  0   129M  0
storage 1.53T   292G  1.05K  0   134M  0

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


Re: vim port have a lot of broken links ??

2009-07-24 Thread Kalle Møller
Well any other port works flawless. It's only the vim ports (other = screen
sudo wget bash apache22 mysql-server subversion etc)

And the ISP is not the problem - I works for them in the network department
(its on a 10 G link :D )

I just made a make distclean and make again

= vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
= Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
fetch: transfer timed out
= Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
00m00s

This takes 2-3 min And the 24-7 site only have to around 190  the last
40 needs to wait for both primary and 24-7 to timeout before the 3rd site
delivers


Looked a little deeper... It seems like I can

wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

But i cannont

fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

wget goes smoothly but fetch times out




On Sat, Jul 25, 2009 at 1:11 AM, Bob Hall rjh...@gmail.com wrote:

 On Fri, Jul 24, 2009 at 09:13:43PM +0200, Kalle Mller wrote:
  When I try to install vim from ports it tries 4-5 sites which all have to
  time out... and with a 200 files.. thats a lot of timeouts.. Who should I
  poke to, so the mirrors would be updated ??
 
  --
 
  Med Venlig Hilsen

 Hi Kalle,

 If several servers are timing out, there's a good chance that the
 problem is at your end. Either you or your ISP might be having a
 problem. If you haven't changed anything (hardware, software,
 configuration, ISP), then the problem is likely to be temporary.

 If the problem is a spike in activity that's overburdoning the servers,
 the following may help:
 /usr/ports/ports-mgmt/fastest-sites

 Med venlige hilser til deg ogsaa.
 ___
 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




-- 

Med Venlig Hilsen

Kalle R. Møller
___
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: vim port have a lot of broken links ??

2009-07-24 Thread Steve Bertrand
Kalle Møller wrote:
 Well any other port works flawless. It's only the vim ports (other = screen
 sudo wget bash apache22 mysql-server subversion etc)
 
 And the ISP is not the problem - I works for them in the network department
 (its on a 10 G link :D )
 
 I just made a make distclean and make again
 
 = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
 = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
 fetch: transfer timed out
 = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
 vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
 00m00s
 
 This takes 2-3 min And the 24-7 site only have to around 190  the last
 40 needs to wait for both primary and 24-7 to timeout before the 3rd site
 delivers

I don't know which network department you work in at your ISP, but in
this ISP's network department, we *never* disclaim the possibility of
having an issue until the problem has been resolved, and we know
*exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive
to blind claims that it's not our fault ;)

 Looked a little deeper... It seems like I can
 
 wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 
 But i cannont
 
 fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 
 wget goes smoothly but fetch times out

Both work here:

# fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
7.2.002   100% of 1462  B 9327 kBps

# wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
[...snip...]
2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462]

However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch
and wget time-out when trying to reach it over IPv6. eg:

# wget -6 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

--2009-07-24 22:02:13--  http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
Resolving ftp.vim.org... 2001:610:1:80aa:192:87:102:42,
2001:610:1:80aa:192:87:102:43
Connecting to ftp.vim.org|2001:610:1:80aa:192:87:102:42|:80... connected.
HTTP request sent, awaiting response...
^C

Are you IPv6 ready? If not, do you have v6 enabled in some fashion that
could be interfering with proper Internet communication?

Steve










smime.p7s
Description: S/MIME Cryptographic Signature


Re: vim port have a lot of broken links ??

2009-07-24 Thread Steve Bertrand
Steve Bertrand wrote:
 Kalle Møller wrote:
 Well any other port works flawless. It's only the vim ports (other = screen
 sudo wget bash apache22 mysql-server subversion etc)

 And the ISP is not the problem - I works for them in the network department
 (its on a 10 G link :D )

 I just made a make distclean and make again

 = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
 = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
 fetch: transfer timed out
 = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
 vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
 00m00s

 This takes 2-3 min And the 24-7 site only have to around 190  the last
 40 needs to wait for both primary and 24-7 to timeout before the 3rd site
 delivers
 
 I don't know which network department you work in at your ISP, but in
 this ISP's network department, we *never* disclaim the possibility of
 having an issue until the problem has been resolved, and we know
 *exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive
 to blind claims that it's not our fault ;)
 
 Looked a little deeper... It seems like I can

 wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 But i cannont

 fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 wget goes smoothly but fetch times out
 
 Both work here:
 
 # fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 7.2.002   100% of 1462  B 9327 kBps
 
 # wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 [...snip...]
 2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462]
 
 However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch
 and wget time-out when trying to reach it over IPv6.

To elaborate, the ftp.vim.org is reachable via IPv6:

# ping6 ftp.vim.org
PING6(56=40+8+8 bytes) 2607:f118::b6 -- 2001:610:1:80aa:192:87:102:42
16 bytes from 2001:610:1:80aa:192:87:102:42, icmp_seq=0 hlim=55
time=113.550 ms
^C

So that means that the issue is likely due to the FTP application's
interaction with v6 at the network layer that is the issue.

I've found this to be common, and very acceptable as IPv6 adoption moves
forward.

I'd suspect that your machine is trying v6 first, and failing after a
timeout.

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


A question for developers

2009-07-24 Thread Steve Bertrand
Forgive the verbosity.

Before anything else, I'd appreciate it if my requirements were actually
read before providing any feedback. I know that there are qualified
persons here to legitimately answer my question, so if a flame war does
ensue, I ask that you refrain from responding.

I'm looking for a new editor.

I continue to claim that I am not a programmer, but I'm getting to the
point where my current editor can not do what I need it to do for the
programming I have been doing (90% Perl, a bit of C and the rest is
shell/awk stuff if you want to call that programming).

Currently, I use ee. The ONLY reason I have outgrown it, is due to the
fact that I can't find an easy way to change my \t to four chars instead
of eight.

My normal work environment consists of a Windows XP workstation in a
dual-monitor setup. I normally use Poderosa (a tabbed SSH client) to
communicate with my work. It is not uncommon for me to have two
instances of the SSH client running, with multiple tabs open in each
one. When I am developing, one monitor displays the file I'm coding in,
and the other displays a screen in which I can run the program.

I know what my options are, and I'm willing to follow a learning curve.
However, I'm looking for valuable input from those who understand what
I'm looking for so I can hone in on specifics:

My desires/don't mind:

- easily set tab width
- fingers near home row
- I'm competent/comfortable with CTRL, SHFT etc
- *very* quick basic movements within a file (preferably a single
keyboard gesture will pg-up/dn, end of line, start of line, top, bot,
erase line, cp line, insert line etc)
- smooth copy/paste with a mouse if I want to transfer from devel box to
my workstation, and back into a different window
- syntax highlighting (opening/closing braces/brackets/parens) would be
really nice, but since my win32 client seems black/white, I think this
is a pipe dream. I can easily live without this. As a matter of fact, I
negate this statement
- simple in-editor search/replace would be a nice-have (especially if it
either understood everything as text, or comprehended Perl-type regexp
- be able to have multiple files open simultaneously for editing, and an
easy way to flip back and forth (a virtual 'tab' system, if you please)

Honestly, the only reason I want to switch is because I want a four char
tab...really. I don't want/need an excessive amount of features, just
something that will just work.

In the last few weeks, I've been leaning toward vim.

If you've read this far, then I very much welcome your feedback.

Thanks,

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: vim port have a lot of broken links ??

2009-07-24 Thread Mel Flynn
On Friday 24 July 2009 17:37:37 Kalle Møller wrote:
 Well any other port works flawless. It's only the vim ports (other = screen
 sudo wget bash apache22 mysql-server subversion etc)

 And the ISP is not the problem - I works for them in the network department
 (its on a 10 G link :D )

 I just made a make distclean and make again

 = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
 = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
 fetch: transfer timed out
 = Attempting to fetch from
 http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2   
100% of 7034 kB  254 kBps 00m00s

 This takes 2-3 min And the 24-7 site only have to around 190  the last
 40 needs to wait for both primary and 24-7 to timeout before the 3rd site
 delivers


 Looked a little deeper... It seems like I can

 wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 But i cannont

 fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 wget goes smoothly but fetch times out

Check your environment for the HTTP_PROXY value, aside from IPv6 like Steve 
said.
Additionally, you can sort various master sites to your preferences:
- /usr/ports/Mk/bsd.sites.mk lists various master sites for ports that have 
many.
- In there we see:
  .if !defined(IGNORE_MASTER_SITE_VIM)
MASTER_SITE_VIM+= \
http://ftp.vim.org/pub/vim/unix/ \
http://mirrors.24-7-solutions.net/pub/vim/unix/ \
  ... etc ..
- So we can put in /etc/make.conf:
IGNORE_MASTER_SITE_VIM=yes
MASTER_SITE_VIM=list_of_sites_that_work_best

I regularly change this master sites based on geographical location.
-- 
Mel
___
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: A question for developers

2009-07-24 Thread Mel Flynn
On Friday 24 July 2009 18:49:10 Steve Bertrand wrote:
 Forgive the verbosity.

Forgiven, yet snipped ;)

 My desires/don't mind:

 - easily set tab width
See securemodelines.vim below sig. Put in $LOCALBASE/share/vim/vim72/plugin.

And the modeline below in C-style comments, within the first or last 5 lines 
of a file will set the TabStop to 4, will use 4 for ShiftWith (Number of 
spaces to use for each step of (auto)indent.), set the TextWidth to 78, will 
NOt ExpandTabs to spaces, enable AutoIndent if syntax is recognized.

/*
 * vim: ts=4 sw=4 noet tw=78 ai
 */

Additionally you want to copy $LOCALBASE/share/vim/vim72/vimrc_example.vim to 
~/.vimrc so you're not stuck in vi compatible mode.

 - fingers near home row
Home/End works, as well as ctrl-a/crtl-e in edit mode.

 - I'm competent/comfortable with CTRL, SHFT etc
Ctrl-R is redo, Ctrl-L refresh screen, shift-; aka : activates command line, 
some useful ones:
:r /foo/bar
   Read file /foo/bar into current position
:r!make -C /usr/ports/editors/vim -V MAINTAINER
   Read output of command into current position (this particular one is handy 
for send-pr)
:set paste
:set nopaste
   Turn off/on auto indenting, so that the OS/Desktop buffer can be pasted 
unmodified.
:split
   Split current file into two windows, switchable with two times ctrl-w
:split ../include/foo.h
   Split current file into two windows, where the top one now loads 
../include/foo.h
:vsplit
   Split windows vertically, rather then horizontally

Split is repeatable and will keep adding virtual windows. Use :close or :quit 
to close a window.

 - *very* quick basic movements within a file (preferably a single
 keyboard gesture will pg-up/dn, end of line, start of line, top, bot,
 erase line, cp line, insert line etc)
pg-up/dn, works
$, for EOL, ^ for SOL
gg for top of file, G for EOF
dd for erase line, or S for erase and insert (Substitute)
yy for yank line, I for insert SOL, A for insert EOL
v for visual mode, which allows selecting regions to do stuff with.

 - smooth copy/paste with a mouse if I want to transfer from devel box to
 my workstation, and back into a different window
It's turned on by default in .vimrc, but I turned it off cause Konsole allows 
me to copy/paste to my desktop. By default vim uses it's own clipboard, which 
means it's limited to current instance or requires closing of vim, so that the 
new instance reads the clipboard contents from ~/.viminfo. If your client 
doesn't copy/paste smoothly, this might be an issue.

 - syntax highlighting (opening/closing braces/brackets/parens) would be
 really nice, but since my win32 client seems black/white, I think this
 is a pipe dream. I can easily live without this. As a matter of fact, I
 negate this statement

Syntax highlighting depends on what your client can support and what terminal 
emulation you're advertising. The default .vimrc mentioned above respects 
$TERM and checks it's termcap for color support. So, this depends more on how 
much time you want to spend figuring out why your terminal emulation doesn't 
support colors. Also, the default assumed background is light, if you're 
really using a dark background (white on black terminal), you will want to 
add:
set bg=dark

to .vimrc.
The used colorscheme then changes accordingly.

 - simple in-editor search/replace would be a nice-have (especially if it
 either understood everything as text, or comprehended Perl-type regexp

:%s/search/replace/g replaces all occurrences in a file, using a dialect of 
basic re. You will want to read :help sub-replace-special and :help pattern.

 - be able to have multiple files open simultaneously for editing, and an
 easy way to flip back and forth (a virtual 'tab' system, if you please)

ctrl-w ctrl-w you'll get used to.

To use securemodelines.vim, put in .vimrc:
set modelines=0
let g:secure_modelines_allowed_items = [
\ textwidth,   tw,
\ softtabstop, sts,
\ tabstop, ts,
\ shiftwidth,  sw,
\ expandtab,   et,   noexpandtab, noet,
\ filetype,ft,
\ foldmethod,  fdm,
\ readonly,ro,   noreadonly, noro,
\ backup,  bkp,  nobackup, nobkp,
\ autoindent,  ai,
\ syntax,  syn
\ ]

-- 
Mel

 vim: set sw=4 sts=4 et ft=vim :
 Script:   securemodelines.vim
 Version:  20070518
 Author:   Ciaran McCreesh ciar...@ciaranm.org
 Homepage: http://ciaranm.org/tag/securemodelines
 Requires: Vim 7
 License:  Redistribute under the same terms as Vim itself
 Purpose:  A secure alternative to modelines

if compatible || v:version  700
finish
endif

if (! exists(g:secure_modelines_allowed_items))
let g:secure_modelines_allowed_items = [
\ textwidth,   tw,
\ softtabstop, sts,
\ tabstop, ts,
\ shiftwidth,  sw,

Re: intel atom mobo support; ASUS AT3GC ?

2009-07-24 Thread perryh
Henrik Hudson li...@rhavenn.net wrote:

[snip Q about support of Realtek 8112 NIC]

 One will be a dual-homed box, so I need
 both the onboard and the single PCI slot.

Or, perhaps, a one-slot dual-port NIC using already-supported
devices -- provided someone still makes such.
___
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: Are all USB Flash Memory sticks bootable?

2009-07-24 Thread Fbsd1

Randi Harper wrote:

On Thu, Jul 23, 2009 at 6:27 AM, Sergio de Almeida Lenzi 
lenzi.ser...@gmail.com wrote:


Em Qui, 2009-07-23 às 12:52 +0800, Fbsd1 escreveu:
Hello

I found here that some bios does have problem with booting
from partitions they do not know

So first I initialize the USB stick with
==
dd count=100 if=/dev/zero of=/dev/da0
fdisk -BI da0
sade
==
than edit the partitions...
ls /dev/da* should show da0s1 da0s2
than
disklabel -wB da0s1
disklabel -wB da0s2
newfs -L Freebsd7 da0s1a
newfs -L Freebsd8 da0s2a
boot0cfg -vB da0

mount the partitions, copy the files
boot from the usb...  it will show you the F1 F2 chooser

for me, this worked


Sergio



Just to clarify, are you trying to boot from a USB stick that you've
installed FreeBSD onto, or is this a USB stick that you've dd'ed the
memstick.img to?

You should NOT use disklabel on a usb stick that you're dd'ing the
memstick.img to.

-- randi
___
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




Here I will try to re-state the problem.

I have two USB Flash Memory sticks. One is a 2GB stick and the other is 
a 8GB stick. I can install Freebsd 8.0 from disc1 cd onto the 2GB stick 
or dd the memstick.img to the 2GB stick and in both cases it will boot 
just fine.


When I repeat the same procedure using the 8GB stick it will not boot. 
AS a test I have fdisk'ed the 8GB stick under MS/XP and loaded files to 
it ok.


The only thing I see different between the 2 memsticks is in the 
messages 7.2 issues when the sticks get plugged in.


Take note of the revision level differences between them.
2.00/1.00 versus  rev 2.00/2.00

The only other guess I have is that the usb code in 7.2 has
am error in it.

Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0: Kingston DataTraveler 120, class 0/0, rev 2.00/1.00, addr 2 
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: Kingston DataTraveler 120 1.00 Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1: vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/2.00,
 addr 3 on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers




___
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