Re: IBM TSM server

2009-06-08 Thread claudiu vasadi
On Sun, Jun 7, 2009 at 11:26 PM, Miroslav Lachman 000.f...@quip.cz wrote:

 claudiu vasadi wrote:

 On Sun, Jun 7, 2009 at 9:38 PM, Wojciech Puchar 
 woj...@wojtek.tensor.gdynia.pl wrote:


  Jun  7 21:10:47 da1 kernel: ad6: detached

  Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86540058624,
 length=16384)]error = 6
 Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1e[READ(offset=63203147776,
 length=16384)]error = 6
 Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048,
 length=16384)]error = 6



 isn;t it trying to read past the end of disk?



 Hmm.. I guess you are correct. The question is why is it doing this ?


 It can be caused by wrong disk label (partitioning). Some partition made
 bigger then real media [disk].
 You can see the label by command disklabel ad6s1 and then compare size 
 offset values with `diskinfo -v ad6`


Here is the ad2:

[...@da1.ro /home/da1]# disklabel ad2s1
# /dev/ad2s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 2048 16384 8
  b:  4125328  1048576  swap
  c: 419295870unused0 0 # raw part, don't
edit
  d:  4159488  51739044.2BSD 2048 16384 28552
  e:  1048576  9924.2BSD 2048 16384 8
  f: 31547619 103819684.2BSD 2048 16384 28552
[...@da1.ro /home/da1]# diskinfo -v ad2
ad2
512 # sectorsize
80060424192 # mediasize in bytes (75G)
156368016   # mediasize in sectors
155127  # Cylinders according to firmware.
16  # Heads according to firmware.
63  # Sectors according to firmware.
ad:S00JJ30X533937   # Disk ident.




And the ad6:

[...@da1.ro /home/da1]# disklabel ad6s1
# /dev/ad6s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 4902234120unused0 0 # raw part, don't
edit
  d: 25165824004.2BSD0 0 0
  e: 167772160 2516582404.2BSD0 0 0
  f: 70793012 4194304004.2BSD0 0 0
[...@da1.ro /home/da1]# diskinfo -v ad6
ad6
512 # sectorsize
251000193024# mediasize in bytes (234G)
490234752   # mediasize in sectors
486344  # Cylinders according to firmware.
16  # Heads according to firmware.
63  # Sectors according to firmware.
ad:WD-WCANY2281832  # Disk ident.

[...@da1.ro /home/da1]#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which nVidea driver to install

2009-06-08 Thread Michael Powell
RW wrote:

 On Sun, 07 Jun 2009 20:13:30 -0400
 Michael Powell nightre...@verizon.net wrote:
 
 The nv can easily be installed along with Xorg. The nvidia driver is
 more complex as it relies on the linuxolator to function, so there is
 a larger number of dependencies.

This is incorrect:
 
 I think that's misleading, AFAIK it's more a case that it can optionally
 support OpenGL for Linux binaries, in which case it acquires some Linux
 dependencies.
 
[snip]

To install the nvidia-driver port a kernel module named nvidia.ko is 
compiled. This module requires linux.ko to be loaded first. The reason is 
the nvidia-driver itself is a linux binary blob, and consequently must 
utilize the linuxolator to run. Very simple concept. 

The OpenGL support is part of the install. It is not related to any so 
called 'optional support for Linux binaries'. Ask yourself this: when you 
run glxgears is glxgears a linux binary or was it compiled as a FreeBSD 
binary?

For example, you will see much improved performance in KDE with the nvidia-
driver installed. When you compiled and installed KDE it built FreeBSD 
binaries, not Linux ones. Enabling the use of the 3D hardware acceleration 
engineered into modern graphics cards works for things other than just linux 
binaries and/or OpenGL. 

But since the nvidia-driver is itself a Linux binary blob pre-compiled by 
Nvidia, you must have linuxolator support to use it. That does not mean that 
only Linux (e.g. - non FreeBSD) binaries will be able to take advantage.

-Mike



___
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: Opinion request about a file server

2009-06-08 Thread DA Forsyth
 I think my file/print/mail server is a bit overkill:
 http://w3.mutehq.net:8008/sysinfo/

Nice, esp when you compile world.   Last year I upgraded our server 
to a Core 2 Duo 1.8Ghz, Intel DG965 board.  2GB RAM.  Previous board 
was an ASUS P3 1.1GHz, which now hosts my backup server.  Both ran 
FreeBSD file/print/email/web services perfectly.  I upgraded to get 
the onboard SATA sockets so I could increase our available disk space 
(4x500GB in RAID5 for data).

However, a nice benefit is that the Core2 will compile world in 1/4 
the time, and user don't notice the server is 'busy'.

SO, to the original question, yes that motherboard will work just 
fine.   What are you doing for system backups?  A single drive is not 
enough.  I recommend a mirror pair at least, and suggest a second box 
for backups.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


___
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: What's wrong with this picture?

2009-06-08 Thread Jonathan McKeown
On Saturday 06 June 2009 05:43:15 Charlie Kester wrote:
 On Fri 05 Jun 2009 at 15:06:40 PDT Paul Chvostek wrote:
 If you elect to filter this person's traffic, and are concerned that
 you'll continue to be inundated with replies, I'd like to suggest a
 small procmail script I wrote years ago.
 
  http://www.it.ca/~paul/s/procmail-filter-msgid
 
 It caches the message-id of the troll's posts and filters the message
 (redirect or bitbucket).  It then caches the message-id of any message
 that includes a cached message-id in its headers (i.e. In-Reply-To,
 Refererences) and filters that too.  The effect is to hide not just the
 troll's mail, but all the conversations he starts.
 
 I haven't actively used this thing since 2003, but procmail hasn't
 changed much in that time either.  Hope it helps.

 Thanks, I'll give it a try.

 One thought however.  If I'd already filtered this thread, I would have
 missed helpful tips like yours.  I guess that's the price that has to be
 paid.

Unless you're absolutely certain someone is never going to talk sense, I 
reckon the backscatter is quite useful, to keep an eye on what the killfiled 
person is talking about and how people are reacting. Killfiling whole threads 
automatically because a particular person has joined in is a drastic step.

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


Re: IBM TSM server

2009-06-08 Thread Wojciech Puchar


isn;t it trying to read past the end of disk?


Hmm.. I guess you are correct. The question is why is it doing this ?


because partition/slice table is wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: usb device not recognised

2009-06-08 Thread Wojciech Puchar


sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

and, later:

...
GEOM_LABEL: Label ufsid/4a259f5253bef8ae removed.
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed
uhub2: port 2 reset failed


already here is a problem, not with device but usb controller/hub support.
___
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: Opinion request about a file server

2009-06-08 Thread Wojciech Puchar

the onboard SATA sockets so I could increase our available disk space
(4x500GB in RAID5 for data).

However, a nice benefit is that the Core2 will compile world in 1/4
the time, and user don't notice the server is 'busy'.


Core2 is actually only a bit faster per clock cycle than PIII, but you 
have 2 processors (cores) and much more cache and faster memory...



SO, to the original question, yes that motherboard will work just
fine.   What are you doing for system backups?  A single drive is not
enough.  I recommend a mirror pair at least, and suggest a second box


why? it's a backup system not main system.
___
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: Opinion request about a file server

2009-06-08 Thread Valentin Bud
On Mon, Jun 8, 2009 at 10:06 AM, DA Forsyth d.fors...@ru.ac.za wrote:

  I think my file/print/mail server is a bit overkill:
  http://w3.mutehq.net:8008/sysinfo/

 Nice, esp when you compile world.   Last year I upgraded our server
 to a Core 2 Duo 1.8Ghz, Intel DG965 board.  2GB RAM.  Previous board
 was an ASUS P3 1.1GHz, which now hosts my backup server.  Both ran
 FreeBSD file/print/email/web services perfectly.  I upgraded to get
 the onboard SATA sockets so I could increase our available disk space
 (4x500GB in RAID5 for data).

 However, a nice benefit is that the Core2 will compile world in 1/4
 the time, and user don't notice the server is 'busy'.

 SO, to the original question, yes that motherboard will work just
 fine.   What are you doing for system backups?  A single drive is not
 enough.  I recommend a mirror pair at least, and suggest a second box
 for backups.



Hello community,

 Thanks everybody for their thoughts. After reading your posts and some
articles over the
weekend I will take the gmirror(8) + gjournal(8) road.

 The backups will be done offsite because the company which I'm doing this
for
is a friend of my boss and we do have a lot of spare space or our servers.

thanks once again,
v



-- 
network warrior since 2005
___
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: Opinion request about a file server

2009-06-08 Thread Valentin Bud
On Mon, Jun 8, 2009 at 10:06 AM, DA Forsyth d.fors...@ru.ac.za wrote:

  I think my file/print/mail server is a bit overkill:
  http://w3.mutehq.net:8008/sysinfo/

 Nice, esp when you compile world.   Last year I upgraded our server
 to a Core 2 Duo 1.8Ghz, Intel DG965 board.  2GB RAM.  Previous board
 was an ASUS P3 1.1GHz, which now hosts my backup server.  Both ran
 FreeBSD file/print/email/web services perfectly.  I upgraded to get
 the onboard SATA sockets so I could increase our available disk space
 (4x500GB in RAID5 for data).

 However, a nice benefit is that the Core2 will compile world in 1/4
 the time, and user don't notice the server is 'busy'.

 SO, to the original question, yes that motherboard will work just
 fine.   What are you doing for system backups?  A single drive is not
 enough.  I recommend a mirror pair at least, and suggest a second box
 for backups.


The system will have 2x1TB HDD in mirroring and 500 GB HDD for another use
requested by the client.

v
-- 
network warrior since 2005
___
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: phidgets for FreeBSD?

2009-06-08 Thread Ian Smith
On Fri, 5 Jun 2009, Brooks Davis wrote:
  On Sat, Jun 06, 2009 at 01:25:09AM +1000, Ian Smith wrote:
   On Wed, 3 Jun 2009 15:07:53 +0300 Ghirai ghi...@ghirai.com wrote:
 Is there any (native) FreeBSD supoprt for Phidgets
 (http://www.phidgets.com?
 
 Someone seems to have attempted (and succeeded) to run things on 7.0,
 some time ago, but there doesn't seem to be any further info
 (http://www.phidgets.com/phorum/viewtopic.php?f=2t=507).
 
 Any ideas?
   
   No, but colour me interested too.  Thanks for the pointer.
   
   Copying this to Brooks, who started that thread in 2005 with a patch for 
   phidgets 2.0, which left me wondering if anything has become of that in 
   the 2.1 linux sources, which I'm just grabbing.
  
  I've not really found time to do much since then.  I think I've still
  got an ancient port around somewhere.  All my patch did was refactor the
  error handling which caused basic stuff to work for me.

Hi, 'scuse delay, been bogged down trying to (learn how to) resuccitate 
several old debian linux servers for a community radio station (eek!)

The thread mentioned above points to your patch, is that all of it?  I 
tried poking around your p4 area but didn't spot anything else related.

   I'm generally interested in whether linux applications using libusb are 
   more likely than not to work on FreeBSD, operational differences between 
   libusb on FreeBSD and linux, and whether our new USB stack has changed 
   anything in that equation at all?
  
  As a rule, libusb stuff will work.  Historically the function to allow
  a kernel driver (usually hid) to be detached hasn't been supported, but
  otherwise it's functional.

Thanks, but please humour my ignorance - would one install linux libusb 
in /compat/linux for linux apps, as well as the freebsd port for native?

Looks like I need to hang out in freebsd-emulation@ and read lots.  Any 
other pointers (anyone)?  I'm really hoping to use a FreeBSD box to talk 
and listen at 400kHz(+) iicbus with a small gadget we're designing, and 
everything I've seen, eg the Aardvark, is (apart from 'doze of course) 
linux-only using libusb, including phidgets.

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


Re: IBM TSM server

2009-06-08 Thread claudiu vasadi
On Mon, Jun 8, 2009 at 9:16 AM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:


 the type fdisk /dev/da1 and then compare the sectors values with what dmesg
 says


fdisk /dev/ad2 :

*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=155127 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=155127 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 41929587 (20473 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 41929650, size 114430995 (55874 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63



dmesg doesn't say anything usefull. only:
ad2: 76351MB SAMSUNG SP0802N TK200-04 at ata1-master UDMA100


I'm not pretty good at this but it seams ok. the disk has been 99% full
before and no problems. The slices were created a long time ago and ran some
random test that all came out ok.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which nVidea driver to install

2009-06-08 Thread Carmel
On Sun, 07 Jun 2009 20:13:30 -0400
Michael Powell nightre...@verizon.net wrote:

[snip]

The nv can easily be installed along with Xorg. The nvidia driver is
more complex as it relies on the linuxolator to function, so there is
a larger number of dependencies. But when it comes time to change from
nv to nvidia it is just a line or two in the xorg.conf.

Thanks for you assistance. BTW, what lines should I modify if I do
decide to install the nVidia driver at some point? I will install the
NV driver and get the desktop working.

-- 
Carmel
___
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: ISP questions

2009-06-08 Thread Jerry
On Sun, 7 Jun 2009 19:46:29 -0600
Chad Perrin per...@apotheon.com wrote:

On Thu, Jun 04, 2009 at 11:50:35PM -0400, itsemu wrote:
 if your dealing with a isp such as a cable/dsl company, remember the
 requirements to work there, they arent trained on anything besides
 windows.. probably dont really know what a static ip is or have any
 idea what hardware each different county they are supporting has in
 there headend because its all different, reverse dns will probably
 be a waste of ip space because of the way its assigned in classes
 and i seriously doubt they will do it via a ticket if its not that
 way. named registration if im catching that right godaddys probably
 going to be cheaper maybe im wrong who knows..

Use a better registrar than GoDaddy.  Price isn't everything, and
GoDaddy will as soon screw you over as look at you.

When searching for registrars to use, the first thing I do is look for
registrars that have donated domain registration and/or hosting
services to open source projects, because that always says something
nice about their level of customer service and knowledgeability.  The
second thing I look for is their conflict resolution policy, because I
never want to be in the position of having my service halted on
someone else's say-so for something that isn't my fault without anyone
letting me know there's a problem in time to fix it before service is
cut off -- and I *definitely* don't want to pay a
severeal-hundred-dollar ransom to get my domain name back (a favorite
dirty trick of GoDaddy's).

Price is somewhere down around concern five or six when I'm choosing a
domain name registrar.

I have used GoDaddy for 7 years now without a single problem. Maybe I
am just lucky. I have only contacted them twice; however, I received
a quick and courteous response to my inquiry.

I know nothing about their philanthropic practices, nor does it concern
me, unless I happen to be the beneficiary of such acts.

-- 
Jerry
ges...@yahoo.com

O'Reilly's Law of the Kitchen:
Cleanliness is next to impossible


signature.asc
Description: PGP signature


Re: Which nVidea driver to install

2009-06-08 Thread Mike Clarke
On Monday 08 June 2009, Michael Powell wrote:

 As to which of the ports you need - the regular nvidia-driver and not
 either of the 'legacy' versions should probably be used

I found that I had to use the legacy nvidia-driver-96 port to get my 
GeForce 6150 to function, as described in my post a couple of days ago 
in the Driver for nVidia Geforce 6150LE thread 
http://lists.freebsd.org/pipermail/freebsd-questions/2009-June/200251.html. 
I don't know if the problem will apply to other 6150 based systems or 
if it's just unique to my particular setup.

-- 
Mike Clarke
___
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: Samba3 domain controller howto?

2009-06-08 Thread Mister Olli
hi,

 yes, you are mis-understanding
 
 samba itself is a NT4-type domain.
not quite right. It depends on the samba version your using.
- samba3 only provides NT4-type domains
- samba4 provides active directory domain types including GPO (I have
such a setup running in 7.SOMETHING with around 10 users. It works
quite good, beside the fact that samba segfaults from time to time
(which I covered by running samba4 in foreground within an endless
bash.-loop)).

there is even a new build-option that creates the 'samba franky' release
which uses samba3  samba4 at the same time to make nearly all samba3
feature in combination with AD environments available, but it didn't
have the time to look into that. But it sounds quite promising, since
samba4 lacks some features samba3 already has.


Regards,
---
Mr. Olli


 samba can use authentication backends that include passwd files, LDAP
 and kerberos.  Active directory is a requirement to use LDAP, whereas
 samba is offering it as a auth backend only.
 
 fine line, I know.
 
 IOW, whereas Active Directory - as a technology:
   Uses kerberos for authorization
   Uses LDAP for a storage backend for Kerberos
   Uses u...@domain logins (thanks to Kerberos),
   Uses other techs not related to this thread
 
 NT4-style domains - as a technology:
   Not using Kerberos
   Not using LDAP storage
 
 Samba allows it's authorization backend to offer more possibilities
 than NT4's own methods.  Such as passwd files, LDAP, Kerberos, etc.
 
 
 It's technology vs technology, not product vs product.
 
 
 On 6/7/09, Olivier Nicole o...@cs.ait.ac.th wrote:
  Hi,
 
  Samba is still only a NT4-type
  DC, no Active Directory type of function (Group Policies, u...@domain
  logins, kerberos, ldap, etc)
 
  I am not sure if I understand you well, but my samba is authenticating
  users agaiinst LDAP.
 
  Best regards,
 
  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

___
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


SAN FreeBSD Server

2009-06-08 Thread Friedrich Locke
Dear gentleman,

i would like to configure a FreeBSD installation as storage server
solution. Iwould like to use iSCSI.
Is it possible to configure a server running FreeBSD as a iSCSI server
(i.e., i mean as a target)?

Thanks a lot for your time and cooperation.

Best regards,

FL.
___
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: SAN FreeBSD Server

2009-06-08 Thread Wojciech Puchar

solution. Iwould like to use iSCSI.
Is it possible to configure a server running FreeBSD as a iSCSI server
(i.e., i mean as a target)?


/usr/ports/net/iscsi-target
___
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: Which nVidea driver to install

2009-06-08 Thread RW
On Mon, 08 Jun 2009 02:26:34 -0400
Michael Powell nightre...@verizon.net wrote:


 To install the nvidia-driver port a kernel module named nvidia.ko is 
 compiled. This module requires linux.ko to be loaded first. The
 reason is the nvidia-driver itself is a linux binary blob, and
 consequently must utilize the linuxolator to run. Very simple
 concept. 

Simple, but wrong. 

The driver is not a Linux driver, if you go to the nVidia site you will
see that there are separate Linux and FreeBSD drivers. You don't need
to load linux.ko at all if you built nvidia.ko without Linux support.

 The OpenGL support is part of the install. It is not related to any
 so called 'optional support for Linux binaries'. Ask yourself this:
 when you run glxgears is glxgears a linux binary or was it compiled
 as a FreeBSD binary?

Clearly you don't need Linux support to run the native glxgears, but you
would if you wanted to run a Linux glxgears binary.

___
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: SAN FreeBSD Server

2009-06-08 Thread Vincent Hoffman
On 8/6/09 12:10, Friedrich Locke wrote:
 Dear gentleman,

 i would like to configure a FreeBSD installation as storage server
 solution. Iwould like to use iSCSI.
 Is it possible to configure a server running FreeBSD as a iSCSI server
 (i.e., i mean as a target)?
   

Indeed it is, although as yet I've never needed to.
(12:46:14 /usr/ports)
[jh...@crab] 0 $ make search key=iscsi
Port:   iscsi-target-20080207_2
Path:   /usr/ports/net/iscsi-target
Info:   Implementation of userland ISCSI target (from NetBSD)
Maint:  m...@foster.cc
B-deps:
R-deps:
WWW:http://www.netbsd.org/

Port:   istgt-20090428
Path:   /usr/ports/net/istgt
Info:   An iSCSI target for FreeBSD 7.x with ZFS
Maint:  aoy...@peach.ne.jp
B-deps:
R-deps:
WWW:http://shell.peach.ne.jp/aoyama/



 Thanks a lot for your time and cooperation.

 Best regards,

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

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


Re: freebsd-questions Digest, Vol 262, Issue 2

2009-06-08 Thread DA Forsyth
 Message: 22
 Date: Mon, 8 Jun 2009 08:10:50 -0300
 From: Friedrich Locke friedrich.lo...@gmail.com
 Subject: SAN FreeBSD Server
 To: freebsd-questions@freebsd.org
 Message-ID:
   e678d5750906080410k62cc551el8ff8c89e9555...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
 Dear gentleman,
 
 i would like to configure a FreeBSD installation as storage server
 solution. Iwould like to use iSCSI.
 Is it possible to configure a server running FreeBSD as a iSCSI server
 (i.e., i mean as a target)?

indeed it is as others have said.  However, if all you need is a 
bunch of disk space accessible over the network, then FreeNAS would 
be a lot simpler to setup and maintain.   Based on FreeBSD, iSCSI 
service built in, WEbGUI interface (but you can ssh in if you want 
to).  one caveat, don't use it with USB external drives as it will 
lose connections as soon as you mount the 2nd USB drive.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


___
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: SAN FreeBSD Server

2009-06-08 Thread beni
Hi,

Maybe FreeNAS is something ? From http://www.freenas.org/ :
FreeNAS is a free NAS (Network-Attached Storage) server,
supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI
protocols, S.M.A.R.T., local user authentication, Software
RAID (0,1,5) with a Full WEB configuration interface.
And also :
http://www.novell.com/communities/node/3447/using-freenas-netware-iscsi-target-aka-cheap-mass-storage

Beni.
- Original Message Follows -
From: Friedrich Locke friedrich.lo...@gmail.com
To: freebsd-questions@freebsd.org
Subject: SAN FreeBSD Server
Date: Mon, 8 Jun 2009 08:10:50 -0300

 Dear gentleman,
 
 i would like to configure a FreeBSD installation as
 storage server solution. Iwould like to use iSCSI.
 Is it possible to configure a server running FreeBSD as a
 iSCSI server (i.e., i mean as a target)?
 
 Thanks a lot for your time and cooperation.
 
 Best regards,
 
 FL.
 ___
 freebsd-questions@freebsd.org mailing list

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


Re: Opinion request about a file server

2009-06-08 Thread DA Forsyth
On 8 Jun 2009 , freebsd-questions-requ...@freebsd.org entreated about
 freebsd-questions Digest, Vol 262, Issue 2:

 Message: 13
 Date: Mon, 8 Jun 2009 09:18:09 +0200 (CEST)
 From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl

  SO, to the original question, yes that motherboard will work just
  fine.   What are you doing for system backups?  A single drive is not
  enough.  I recommend a mirror pair at least, and suggest a second box
 
 why? it's a backup system not main system.

From his original it seemd he would be using a single drive for the 
system and a mirror pair for data.  Seems I got it wrong and the 
single drive will be for 'some other purpose'.   Fine, but all the 
more reason to back it up.

A backup server is not the place to avoid data security.  From 
personal experience I can tell you that life is hell when your backup 
drives are needed but don't work.  My backup server has a mirror pair 
for the data, and that gets copied to an external drive which lives 
off site.  And I'm not sure I've got enough backups yet (-:


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


___
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: Samba3 domain controller howto?

2009-06-08 Thread Mister Olli
Hi,

I used the following procedure to install samba4 on a freebsd box:
http://wiki.samba.org/index.php/Samba4/HOWTO

in my current setup (which is about 4 months old) the following this do
not work:
- active directory groups did somehow not work as expected, but I didn't
had the time to look deeper into it
- updating DNS records within named, as the version freebsd comes with
does not support the GSSAPI. if someone finds a way to replace builtin
named with a newer version please drop me an email.
- stability (didn't had the time to examine the segfaults further.) I
already had contact about this issue with andrew bartlett from the
developer team and they are willing to fix this issues when they have
enough informations.

look here (http://wiki.samba.org/index.php/Franky) for informations
about the 'franky' release and how to compile it. seems to be simple if
you're a little bit familiar with samba.
I didn't had the time to look and test, and surely won't have any until
mid-august.

so it would be great to hear your experiences :-)

Regards,
---
Mr. Olli


On Mon, 2009-06-08 at 07:40 -0400, Dave wrote:
 Hi,
 Do you have a procedure for getting samba4 going? If it can do active
 directory i'd like to try it. And get it all going, with samba3 as well.
 Thanks.
 Dave.
  
 
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Mister Olli
 Sent: Monday, June 08, 2009 7:18 AM
 To: Tim Judd
 Cc: Olivier Nicole; freebsd-questions@freebsd.org; redt...@sbcglobal.net
 Subject: Re: Samba3 domain controller howto?
 
 hi,
 
  yes, you are mis-understanding
  
  samba itself is a NT4-type domain.
 not quite right. It depends on the samba version your using.
 - samba3 only provides NT4-type domains
 - samba4 provides active directory domain types including GPO (I have such a
 setup running in 7.SOMETHING with around 10 users. It works quite good,
 beside the fact that samba segfaults from time to time (which I covered by
 running samba4 in foreground within an endless bash.-loop)).
 
 there is even a new build-option that creates the 'samba franky' release
 which uses samba3  samba4 at the same time to make nearly all samba3
 feature in combination with AD environments available, but it didn't have
 the time to look into that. But it sounds quite promising, since
 samba4 lacks some features samba3 already has.
 
 
 Regards,
 ---
 Mr. Olli
 
 
  samba can use authentication backends that include passwd files, LDAP 
  and kerberos.  Active directory is a requirement to use LDAP, whereas 
  samba is offering it as a auth backend only.
  
  fine line, I know.
  
  IOW, whereas Active Directory - as a technology:
Uses kerberos for authorization
Uses LDAP for a storage backend for Kerberos
Uses u...@domain logins (thanks to Kerberos),
Uses other techs not related to this thread
  
  NT4-style domains - as a technology:
Not using Kerberos
Not using LDAP storage
  
  Samba allows it's authorization backend to offer more possibilities 
  than NT4's own methods.  Such as passwd files, LDAP, Kerberos, etc.
  
  
  It's technology vs technology, not product vs product.
  
  
  On 6/7/09, Olivier Nicole o...@cs.ait.ac.th wrote:
   Hi,
  
   Samba is still only a NT4-type
   DC, no Active Directory type of function (Group Policies, 
   u...@domain logins, kerberos, ldap, etc)
  
   I am not sure if I understand you well, but my samba is 
   authenticating users agaiinst LDAP.
  
   Best regards,
  
   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
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

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


Re: Samba3 domain controller howto?

2009-06-08 Thread Mister Olli
hi,



 Where did you get samba4? How did you download?
 How did you compile on FreeBSD? You can share your ./configure args?

have a look into the mail I just posted on freebsd-questions, it
includes links to the samba wiki where installation is explained in
detail.

 And your smb.conf and loop script?
the loop script is a bash with the following command running:
'while (true); do samba -i -M single; done'
this restarts samba4 whenever it crashes immediately.

my smb.conf is very simplistic as there aren't that may options you can
choose in samba4 (due to being in heavy development). 
maybe one thing that you should be aware of is, that UFS does not
support extend file attributes as linux does. so you need to save this
informations into a file. the correct procedure is described in the
samba4 howto article within the samba wiki
(http://wiki.samba.org/index.php/Samba4/HOWTO).

sorry for not providing my smb.conf, but the server is out of my reach
at the moment. If you have any questions about the setup drop me an
email, maybee I can help you.

Regards,
---
Mr. Olli


___
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


Cronjob

2009-06-08 Thread Jos Chrispijn
I would like to execute a script on every last day of the month in my 
crontab.
Can someone tell me how I should solve that as it doesn't know which 
month day is the last day of the month?

Solving this in the script to be executed is no option.

Thanks, Jos

___
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: Assign IP address and hostname via kernel parameter

2009-06-08 Thread Mister Olli
Hi,


thanks for the hint, this brought me to a (IMHO) good way to accomplish
this.
When using FreeBSD as domU and configuring the kernel in the domU config
file (rather than using pygrub) it's possible to append kernel
parameters, by defining them in the variable 'extras' within the domU
config file.

With 'kenv' I can read them from within the bootet domU, so this should
be just a simple shell script to setup all parameters.

Currently I'm not sure where this script should hook into freebsd's
internas. 
The greatest thing would be having a 'rc.conf' parameter to enable
configuration from the kernel parameters. Setting this to 'true' would
simply fire up the shell script to do all the stuff.

Any suggestions or hints on this???

Regards,
---
Mr. Olli

On Wed, 2009-05-06 at 17:52 +0100, Bob Bishop wrote:
 Hi,
 
 On 6 May 2009, at 16:20, Mister Olli wrote:
 
  is there a way to configure IP address and hostname on freebsd systems
  via kernel command line parameters? [etc]
 
 When running diskless, the loader sets kernel variables like:
 
 boot.netif.gateway=192.168.198.1
 boot.netif.hwaddr=00:15:17:47:14:fc
 boot.netif.ip=192.168.198.8
 boot.netif.netmask=255.255.255.0
 
 to values obtained from BOOTP or DHCP, and the right things happen. I  
 guess you could just set these in loader.conf or at the loader prompt.
 
 --
 Bob Bishop
 r...@gid.co.uk
 
 
 
 

___
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: Cronjob

2009-06-08 Thread Neal Hogan
On Mon, Jun 8, 2009 at 7:55 AM, Jos Chrispijn j...@webrz.net wrote:

 I would like to execute a script on every last day of the month in my
 crontab.
 Can someone tell me how I should solve that as it doesn't know which month
 day is the last day of the month?


If it really needs to be done on the last day of each month (eg, the 28th of
Feb . . . the 31st of Oct . . . etc.), I suppose you could set up 12
different jobs. Be aware of the dreaded leap year, though!



 Solving this in the script to be executed is no option.

 Thanks, Jos

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

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


Re: Cronjob

2009-06-08 Thread Steve Bertrand
Jos Chrispijn wrote:
 I would like to execute a script on every last day of the month in my
 crontab.
 Can someone tell me how I should solve that as it doesn't know which
 month day is the last day of the month?
 Solving this in the script to be executed is no option.

I've done this before. My script was in Perl.

Essentially, the script ran once every day. At the top of the script, it
did a DateTime check to see if tomorrow was the 1st of the month.

If it was, the script proceeded, else it exited.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Cronjob

2009-06-08 Thread Wojciech Puchar

put 12 lines, for each month and with the last day.

On Mon, 8 Jun 2009, Jos Chrispijn wrote:

I would like to execute a script on every last day of the month in my 
crontab.
Can someone tell me how I should solve that as it doesn't know which month 
day is the last day of the month?

Solving this in the script to be executed is no option.

Thanks, Jos

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



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


Re: Opinion request about a file server

2009-06-08 Thread Gabriel Lavoie
If you want to use gmirror + gjournal on the root filesystem (/), be
sure to use FreeBSD 7.2. A bug prevented the system to boot on unclean
shutdown because the replay of the journal took too much time and
FreeBSD wanted to mount non-existant (yet) devices. It caused me a lot
of trouble when I installed my server and finally I had to leave the
root filesystem without gjournal as a workaround.

Gabriel

2009/6/8 Valentin Bud valentin@gmail.com:
 On Mon, Jun 8, 2009 at 10:06 AM, DA Forsyth d.fors...@ru.ac.za wrote:

  I think my file/print/mail server is a bit overkill:
  http://w3.mutehq.net:8008/sysinfo/

 Nice, esp when you compile world.   Last year I upgraded our server
 to a Core 2 Duo 1.8Ghz, Intel DG965 board.  2GB RAM.  Previous board
 was an ASUS P3 1.1GHz, which now hosts my backup server.  Both ran
 FreeBSD file/print/email/web services perfectly.  I upgraded to get
 the onboard SATA sockets so I could increase our available disk space
 (4x500GB in RAID5 for data).

 However, a nice benefit is that the Core2 will compile world in 1/4
 the time, and user don't notice the server is 'busy'.

 SO, to the original question, yes that motherboard will work just
 fine.   What are you doing for system backups?  A single drive is not
 enough.  I recommend a mirror pair at least, and suggest a second box
 for backups.



 Hello community,

  Thanks everybody for their thoughts. After reading your posts and some
 articles over the
 weekend I will take the gmirror(8) + gjournal(8) road.

  The backups will be done offsite because the company which I'm doing this
 for
 is a friend of my boss and we do have a lot of spare space or our servers.

 thanks once again,
 v



 --
 network warrior since 2005
 ___
 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




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


Re: rsync colon in filename to MSWin fails

2009-06-08 Thread davetbo

Here's a good workaround.

This works for me from Linux to Win32.  In your rsync script, before the
rsync, do either

find ./ -name '*:*' | xargs tar -czvf colon_files.tgz 

or (if you're doing the whole box as an rsync backup, like I am) do 

updatedb
locate : | xargs tar -czvf colon_files.tgz

Make sure that colon_files.tgz is in the path that's getting backed up by
rsync.  Then you can do the --exclude '*:*' in your rsync job to skip the
files you just tarred.  I tested this with the locate version above and it
works.  Also, updatedb  locate should go much faster than find if you want
to do the whole box.  I'm not sure if there's a way to use locate to just
search a subdirectory, though.

Best,
Dave


Anton Shterenlikht wrote:
 
 I cannot trasfer a file with a colon via rsync to a Win box.
 I've rsync-3.0.4 on the FBSD (sending side) and rsync-2.6.9
 under cygwin on Win (receiving side). I'm not sure what the
 error message means:
 
 % rsync ./http:__en.wikipedia.org_favicon.ico me...@xxx.xxx.xxx.xxx:
 rsync: rename /cygdrive/c/Documents and Settings/mexas/My
 Documents/work/.http:__en.wikipedia.org_favicon.ico.8dBX2K -
 http:__en.wikipedia.org_favicon.ico: No such file or directory (2)
 rsync error: some files/attrs were not transferred (see previous errors)
 (code 23) at main.c(1040) [sender=3.0.4]
 
 Note the extra dot before the file name, and extra suffix at the
 end. Is this the expected behaviour?
 
 However, to another FBSD box transfer is fine:
 
 % rsync ./http:__en.wikipedia.org_favicon.ico me...@zzz.zzz.zzz.zzz:
 %
 
 Is this something to do with Windows, or old rsync version on cygwin?
 
 Even more bizzare, I get the same error even if I --exclude all
 such files from transfer.
 
 many thanks
 anton
 
 -- 
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/rsync-colon-in-filename-to-MSWin-fails-tp19571614p23925088.html
Sent from the freebsd-questions mailing list archive at Nabble.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: Cronjob

2009-06-08 Thread Paul Chvostek
Hi Jos,

On Mon, Jun 08, 2009 at 02:55:56PM +0200, Jos Chrispijn wrote:
 
 I would like to execute a script on every last day of the month in my 
 crontab.
 Can someone tell me how I should solve that as it doesn't know which 
 month day is the last day of the month?
 Solving this in the script to be executed is no option.

The only solutions I see are the three-cronjob approach:

  0 1 31 1,3,5,7,8,10,12 * /path/to/script
  0 1 28 2   * /path/to/script
  0 1 30 4,6,9,11* /path/to/script

Alternately, you could do this with a single cronjob by putting a little
scripting intelligence into the crontab itself:

  0 1 28-31 * * test `date -v+1d '+%d'` -eq 1  /path/to/script

That may be your easiest option.  The script only gets run on the
correct dates, but the cron job still gets run more frequently.

p

-- 
  Paul Chvostek p...@it.ca
  it.canadahttp://www.it.ca/

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


Re: Cronjob

2009-06-08 Thread Peter Andreev
may be this solution will help you:

* * 31 jan,mar,may,jul,aug,oct,dec *
* * 30 apr,jun,sep,nov *
* * 28 feb *

or:

* * 31 1/2 *
* * 30 4/2 *
* * 28 2 *

2009/6/8 Jos Chrispijn j...@webrz.net

 I would like to execute a script on every last day of the month in my
 crontab.
 Can someone tell me how I should solve that as it doesn't know which month
 day is the last day of the month?
 Solving this in the script to be executed is no option.

 Thanks, Jos

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

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


Re: Which nVidea driver to install

2009-06-08 Thread Carmel
On Mon, 8 Jun 2009 11:15:16 +0100
Mike Clarke jmc-freeb...@milibyte.co.uk wrote:

On Monday 08 June 2009, Michael Powell wrote:

 As to which of the ports you need - the regular nvidia-driver and not
 either of the 'legacy' versions should probably be used

I found that I had to use the legacy nvidia-driver-96 port to get my 
GeForce 6150 to function, as described in my post a couple of days ago 
in the Driver for nVidia Geforce 6150LE thread 
http://lists.freebsd.org/pipermail/freebsd-questions/2009-June/200251.html. 
I don't know if the problem will apply to other 6150 based systems or 
if it's just unique to my particular setup.


One last question; if I install the AMD 64 bit version of FBSD, will
the NV driver work? I know that the regular one won't since it doesn't
support 64 bit systems.

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


mkntfs

2009-06-08 Thread Samuel Martín Moro
Hi all.

I'm trying to format an USB key with mkntfs (I tried with 1.13.1_5 and
2.0.0).
Whatever I do, it never works.

Some of results I got:

(with 2.0.0)
~# mkntfs -F -p 63 -H 255 -S 63 /dev/da0s1
/dev/da0s1 is not a block device.
mkntfs forced anyway.
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes: 99%Failed to complete writing to /dev/da0s1
after three retries.
This should not happen.
~#mkntfs -f -F -p 63 -H 255 -S 63 /dev/da0s1/dev/da0s1 is not a block
device.
mkntfs forced anyway.
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
^C
~#

the only difference I noticed between 1.13.1_5 and 2.0.0 is that cluster
size is automaticaly set to 2048 instead of 4096.

when I tried fast format (-f), mkntfs print 'Creating NTFS volume', then I
wait for 40 minutes, before killing the process (1 minute is already too
long, for a 2G USB stick...).

during a fast format (with both versions), a truss -p `ps ax | awk
'/[m]kntfs /{print $1}'` gives me
preadv(0x3,0x28229800,0x1,0x76a4,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a4,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a4,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a4,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a4,0x0,0x2808a600) = 26112 (0x6600)
.


So... Is there a way to format a disk into NTFS ?!


Thanks all !



Samuel Martín Moro
CamTrace
{EPITECH.} tek3
___
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: Cronjob

2009-06-08 Thread Jerry McAllister
On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote:

 may be this solution will help you:
 
 * * 31 jan,mar,may,jul,aug,oct,dec *
 * * 30 apr,jun,sep,nov *
 * * 28 feb *
 
 or:
 
 * * 31 1/2 *
 * * 30 4/2 *
 * * 28 2 *

Don't forget leapyear.

jerry


 
 2009/6/8 Jos Chrispijn j...@webrz.net
 
  I would like to execute a script on every last day of the month in my
  crontab.
  Can someone tell me how I should solve that as it doesn't know which month
  day is the last day of the month?
  Solving this in the script to be executed is no option.
 
  Thanks, Jos
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which nVidea driver to install

2009-06-08 Thread Mike Clarke
On Monday 08 June 2009, Carmel wrote:

 One last question; if I install the AMD 64 bit version of FBSD, will
 the NV driver work? I know that the regular one won't since it
 doesn't support 64 bit systems.

I'm using i386 so have no direct experience of this but package versions 
of the xf86-video-nv port are available for both i386 and amd64 so you 
should have no problem.

-- 
Mike Clarke
___
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: Which nVidea driver to install

2009-06-08 Thread Jason Helfman

I am not exactly sure which driver I am using between these two, however I
have found that setting up the driver and display are great with these
packages installed. I guess I would be using the most recent :)

nvidia-driver-173.14.12
nvidia-driver-71.86.06
nvidia-settings-173.14.09
nvidia-xconfig-1.0_2

After you use the nvidia driver in your Xorg.conf file, I would suggest
running, nvidia-xconfig, and then nvidia-settings while in X to configure
the card.

-Jason

On Mon, Jun 08, 2009 at 05:05:42PM +0100, Mike Clarke thus spake:

On Monday 08 June 2009, Carmel wrote:


One last question; if I install the AMD 64 bit version of FBSD, will
the NV driver work? I know that the regular one won't since it
doesn't support 64 bit systems.


I'm using i386 so have no direct experience of this but package versions 
of the xf86-video-nv port are available for both i386 and amd64 so you 
should have no problem.


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


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


NO_PROFILE option in FBSD-7.2

2009-06-08 Thread Jerry
Unless I am missing it, I do not see any mention of NO_PROFILE listed
in the examples make.conf file. Has it been depreciated?

-- 
Jerry
ges...@yahoo.com

Serving coffee on an aircraft causes turbulence.


signature.asc
Description: PGP signature


Re: NO_PROFILE option in FBSD-7.2

2009-06-08 Thread Tim Judd
If that's related to 'world', all world-related build options should
be placed in src.conf now.  What make.conf was to world+ports, is now
src.conf = world, make.conf = ports


Was a new feature in 7.0, IIRC

On 6/8/09, Jerry ges...@yahoo.com wrote:
 Unless I am missing it, I do not see any mention of NO_PROFILE listed
 in the examples make.conf file. Has it been depreciated?

 --
 Jerry
 ges...@yahoo.com

 Serving coffee on an aircraft causes turbulence.

___
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: Cronjob

2009-06-08 Thread Warren Block

On Mon, 8 Jun 2009, Jerry McAllister wrote:


On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote:


may be this solution will help you:

* * 31 jan,mar,may,jul,aug,oct,dec *
* * 30 apr,jun,sep,nov *
* * 28 feb *

or:

* * 31 1/2 *
* * 30 4/2 *
* * 28 2 *


Don't forget leapyear.


0 0 1 * *

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: growing a graid3 array and growfs not growing ....

2009-06-08 Thread Tim Judd
Sorry to revive an old thread..  I am working with raid3 vs raid5 at
home to understand the difference better.  And this might help the OP.



RAID3 has a dedicated parity drive, and the number of consumers must be (2^n)+1
  (2^1)+1 = 3
  (2^2)+1 = 5
  (2^3)+1 = 9

RAID5 is a distributed parity, and what seems an unlimited number of consumers.


And about the fdisk error.  See under providers the line: sectorsize:
2048 - means that /boot/mbr (512 bytes) does not match the sectorsize
of the provider, 2048 bytes.  You'll have to append out the MBR file
with zeros to fit the provider's sectorsize before fdisk will even
consider placing it into the provider.



Now --
  A RAID array will only be as big as it's smallest member/consumer.
5x drives are probably rebuilding as the original size because of the
other 4 consumers being the smaller size.



Hope this helps paint a bigger picture for the OP.

On 5/29/09, Vikash Badal vikash.ba...@is.co.za wrote:
 Can someone please advise why growfs would return:
 growfs: we are not growing (8388607-4194303) ?


 I have a FreeBSD 7.2 server in a VM.
 I initially had 5 x 4G disks

 Created a raid
 graid3 label datavol da2 da3 da4 da5 da6

 I upgraded them to 5 x 8g disks

 swopped out the virtual disks one at a time

 graid3 remove -n 0 datavol
 graid3 insert -n 0 datavol da2
 [wait]
 ..
 graid3 remove -n 4 datavol
 graid3 insert -n 4 datavol da6
 [wait]

 graid3 stop datavol
 growfs /dev/raid3/datavol

 error message: growfs: we are not growing (8388607-4194303) ?

 vix-sw-raid# graid3 list
 Geom name: datavol
 State: COMPLETE
 Components: 5
 Flags: NONE
 GenID: 0
 SyncID: 1
 ID: 2704170828
 Zone64kFailed: 0
 Zone64kRequested: 0
 Zone16kFailed: 0
 Zone16kRequested: 0
 Zone4kFailed: 0
 Zone4kRequested: 524
 Providers:
 1. Name: raid3/datavol
Mediasize: 34359736320 (32G)
Sectorsize: 2048
Mode: r0w0e0
 Consumers:
 1. Name: da2
Mediasize: 8589934592 (8.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Flags: NONE
GenID: 0
SyncID: 1
Number: 0
Type: DATA
 2. Name: da3
Mediasize: 8589934592 (8.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Flags: NONE
GenID: 0
SyncID: 1
Number: 1
Type: DATA
 3. Name: da4
Mediasize: 8589934592 (8.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Flags: NONE
GenID: 0
SyncID: 1
Number: 2
Type: DATA
 4. Name: da5
Mediasize: 8589934592 (8.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Flags: NONE
GenID: 0
SyncID: 1
Number: 3
Type: DATA
 5. Name: da6
Mediasize: 8589934592 (8.0G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Flags: NONE
GenID: 0
SyncID: 1
Number: 4
Type: PARITY


 fdisk /dev/raid3/datavol
 *** Working on device /dev/raid3/datavol ***
 parameters extracted from in-core disklabel are:
 cylinders=1044 heads=255 sectors/track=63 (16065 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=1044 heads=255 sectors/track=63 (16065 blks/cyl)

 fdisk: invalid fdisk partition table found
 fdisk: /boot/mbr: length must be a multiple of sector size


 what am I missing ?









 Please note: This email and its content are subject to the disclaimer as
 displayed at the following link
 http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm.
 Should you not have Web access, send a mail to disclaim...@is.co.za and a
 copy will be emailed to 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

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


Re: NO_PROFILE option in FBSD-7.2

2009-06-08 Thread Jerry
On Mon, 8 Jun 2009 10:59:30 -0600
Tim Judd taj...@gmail.com wrote:

If that's related to 'world', all world-related build options should
be placed in src.conf now.  What make.conf was to world+ports, is now
src.conf = world, make.conf = ports

Please don't top post. It makes following a thread a lot harder than
necessary. I all ready know about 'src.conf'; it was the NO_PROFILE
option that I was inquiring about.

I just did some Googling and found this:

WITHOUT_PROFILE=true

I am wondering if that is a replacement for NO_PROFILE?

Interestingly enough, there does not seem to be a
'/usr/share/examples/etc/src.conf' file either.

-- 
Jerry
ges...@yahoo.com

Your wig steers the gig.

Lord Buckley


signature.asc
Description: PGP signature


Re: Which nVidea driver to install

2009-06-08 Thread Michael Powell
RW wrote:

[snip]
 
 Simple, but wrong.
 
 The driver is not a Linux driver, if you go to the nVidia site you will
 see that there are separate Linux and FreeBSD drivers. You don't need
 to load linux.ko at all if you built nvidia.ko without Linux support.
 
[snip]

Aha! You're right! Something has changed. I was describing how things used 
to be, not how they are now. Shows how long it's been since I was paying 
attention. Since I never even bothered to look at the Makefile in a long 
time I never noticed the WITHOUT_LINUX=yes, which is new and since the 
default is to build the Linux support it just passed by me.

 
But I stand corrected. Hadn't noticed how it had changed. Thanks for waking 
me up :-)

-Mike


___
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: General and specific make questions

2009-06-08 Thread Chuck Robey
Lars Eighner wrote:
 
 What I need most is to find (a) make tutorial(s) that do not suppose
 make is
 being used for compling c/c++ programs.  Yes, I know, that is mostly why
 make exists, but many tutorials plunge right into C examples with
 implicit C
 rules, while -- it seems to me -- make could be much more useful for a
 variety of things, and I could sure use more of the general and arbitrary
 examples.
 
 Second, it appears to me that the pmake document in the books section of
 the
 documentation is not longer in sync with make as actually installed in
 FreeBSD 7.x.  In particular, the pmake doc refers to switches which make no
 longer recognizes and which do not have clear replacements in man make.
 
 Now for my particular question.
 
 I have some sources which may or may not exist.  My target should be
 rebuilt
 if a source exists that is younger than the target.  But sources that do
 not exist should be ignored and make should not be perplexed over how to
 create them.  How do I express that kind of relationship?
 

OK, first, about those docs in /usr/share/doc/{psd|smm|usd|others}, they all
come from the original papers written by the CSRG folks well before FreeBSD was
created.  They are somewhat useful, so for that (and sheer historical interest)
they're kept around, but they aren't updated.  If you wanted to see updated
stuff, try the man page, which is both constantly updated and complete in it's
coverage.

OK, for your particular question, it's honestly not real clear what you're
asking ... are you asking how to tell make NOT to make something?  I'll make a
guess here, and lay the guess out for you to comment on, maybe asking you to
reconsider your question might have the side effect of making the answer be
obvious?  Anyhow, maybe you have a target that has a dependency listed for it,
but make(1) doesn't have rules on how to remake that dependency, and either
make(1) can't find it, or does find it, but finds that the time stamps of that
dependency shows it has to be remade.  One easy way to fix that would be to do a
touch (read the man page on touch for info) that dependency, which should
cause make(1) to lose interest in rebuilding it.  I couldn't get more exact
without having a better idea of what's happening.

Oh, BTW, about applications of make for other than C progs.  Using make(1) to
compile other things, like maybe python progs, or whatever, is fairly obvious
that it can be handled just like the C progs.  Yes, you CAN use make(1) for
non-compilation tasks, but I've never seen any documentation for that beyond the
make(1) man page.  In fact, the only example of doing that which  I've even seen
was helping NIS to maintain itself.  Two things about make(1): first, it's very
widely terrified programmers, but (secondly) it's really not all that complex,
so it's actually frightening everyone based upon it's reputation.  Well, that,
and the one truly poor makefile I've ever seen, that one defaulted to by all of
the autoconf tools (the gcc Makefile is an example of this, it's too bad to be
described without using foul language).  It doesn't have to be that way, but it
does a fine job of scaring everyone away from make(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: Which nVidea driver to install

2009-06-08 Thread Michael Powell
Carmel wrote:

 On Sun, 07 Jun 2009 20:13:30 -0400
 Michael Powell nightre...@verizon.net wrote:
 
 [snip]
 
The nv can easily be installed along with Xorg. The nvidia driver is
more complex as it relies on the linuxolator to function, so there is
a larger number of dependencies. But when it comes time to change from
nv to nvidia it is just a line or two in the xorg.conf.
 
 Thanks for you assistance. BTW, what lines should I modify if I do
 decide to install the nVidia driver at some point? I will install the
 NV driver and get the desktop working.
 

Section Device
#Driver nv
Driver nvidia

Just change nv to nvidia, and perhaps in Section Module
Load   glx if you need to.


Also notice what RW said; I am behind the times wrt to how things have 
changed.

-Mike


___
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


What server hardware are you buying from the big companies these days?

2009-06-08 Thread ericr
Hi,

I need to buy some new servers, and mgmt has decreed that we get them from
someplace which will provide service contracts with on-site h/w suppport,
which means HP, Dell, Sun, IBM, etc.

Has anyone bought servers from one of the big manufacturers lately and had
good luck with them?  It seems hard to get them to tell you what controllers
and chipsets they're using in servers, to compare against the supported
hardware list.

What I'm looking for isn't all that exotic:

rack mountable
RAID-5 controller
4-6 or more disks (hot swappable would be nice, but not mandatory)
dual power supplies (hot swappable would be nice, but not mandatory)
CDROM
2 ethernet ports
some RAM
a video card
an Intel or AMD CPU - single, two CPU, or multicore doesn't really matter.

and the all-important onsite service.

These things need to be pretty reliable, both of the data centers they're
going into are a couple  of hours from my house, so I don't want a dead
power supply to take out the server.  We've used SuperMicro's in the past,
and they've been wildly variable.  Some of them have run ok for years, some
died within weeks, and kept dying no matter what parts we put in. (yes, I
checked the power, it was clean.  My guess is just a bad run of
motherboards).  I've got 3 servers that have never been able to stay up for
more than a couple of days, we don't even use them.

Regardless, any one have suggestions on what current models of servers are
out there that run?

Thanks!

- ericr
___
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: Cronjob

2009-06-08 Thread Karl Vogel
 On Mon, 08 Jun 2009 14:55:56 +0200, 
 Jos Chrispijn j...@webrz.net said:

J I would like to execute a script on every last day of the month in my
J crontab.  Can someone tell me how I should solve that as it doesn't know
J which month day is the last day of the month?  Solving this in the script
J to be executed is no option.

   I have two scripts for this; one handles the last day of the month,
   and the other handles the last work/business day of the month.

   http://www.hcst.net/~vogelke/src/lastday/

-- 
Karl Vogel  I don't speak for the USAF or my company
Liberty means responsibility.  That is why most men dread it.  --G. B. Shaw
___
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: What server hardware are you buying from the big companies these days?

2009-06-08 Thread Frederique Rijsdijk
ericr wrote:
 I need to buy some new servers, and mgmt has decreed that we get them from
 someplace which will provide service contracts with on-site h/w suppport,
 which means HP, Dell, Sun, IBM, etc.

We use Dell almost exclusively. Although Dell doesn't officially support
FreeBSD, Dell hardware is tier-1 for FreeBSD. I think their hardware is
quite OK. The machines are built well. Haven't had too much to deal with
their onsite service (which is a good sign), but the times that I did I
think they handled it quite well, the parts were in house within 4 hours
and in a case where a motherboard had to be replaced, a Dell technician
was sent in as well and did his job fine.

Dell's RAID controllers (Perc/5i and Perc/6i) work fine in BSD, and some
tools are available although with Linux emulation which kind of sucks.

Here's a sample dmesg of a 1950:

 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE-p4 #0: Fri Apr  3 10:28:13 CEST 2009
 r...@hostname:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU5148  @ 2.33GHz (2327.52-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   
 Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA
   AMD Features=0x20100800SYSCALL,NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2
 usable memory = 4276400128 (4078 MB)
 avail memory  = 4114935808 (3924 MB)
 ACPI APIC Table: DELL   PE_SC3  
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: DELL PE_SC3 on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
 Timecounter HPET frequency 14318180 Hz quality 900
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci4: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci4
 pci5: ACPI PCI bus on pcib2
 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci5
 pci6: ACPI PCI bus on pcib3
 pcib4: PCI-PCI bridge at device 0.0 on pci6
 pci7: PCI bus on pcib4
 bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem 
 0xf400-0xf5ff irq 16 at device 0.0 on pci7
 miibus0: MII bus on bce0
 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-FDX, auto
 bce0: Ethernet address: 00:22:19:82:e8:45
 bce0: [ITHREAD]
 bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W 
 (0x04000305); Flags( MFW MSI )
 pcib5: ACPI PCI-PCI bridge at device 1.0 on pci5
 pci8: ACPI PCI bus on pcib5
 pcib6: PCI-PCI bridge at device 0.3 on pci4
 pci9: PCI bus on pcib6
 pcib7: ACPI PCI-PCI bridge at device 3.0 on pci0
 pci1: ACPI PCI bus on pcib7
 mfi0: Dell PERC 6 port 0xec00-0xecff mem 
 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1
 mfi0: Megaraid SAS driver Ver 3.00
 mfi0: 2031 (292323270s/0x0020/info) - Shutdown command received from host
 mfi0: 2032 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 
 0060/1000/1f0c/1028)
 mfi0: 2033 (boot + 3s/0x0020/info) - Firmware version 1.11.82-0473
 mfi0: 2034 (boot + 3s/0x0008/info) - Battery Present
 mfi0: 2035 (boot + 3s/0x0020/info) - Package version 6.0.3-0002
 mfi0: 2036 (boot + 21s/0x0004/info) - Enclosure (SES) discovered on PD 20(c 
 None/p0)
 mfi0: 2037 (boot + 21s/0x0002/info) - Inserted: Encl PD 20
 mfi0: 2038 (boot + 21s/0x0002/info) - Inserted: PD 20(c None/p0) Info: 
 enclPd=20, scsiType=d, portMap=09, sasAddr=5001e090e8810900,
 mfi0: 2039 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0)
 mfi0: 2040 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0) Info: 
 enclPd=20, scsiType=0, portMap=00, sasAddr=5000c5000d253121,
 mfi0: 2041 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1)
 mfi0: 2042 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1) Info: 
 enclPd=20, scsiType=0, portMap=01, sasAddr=5000c5000d25eb55,
 mfi0: 2043 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2)
 mfi0: 2044 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2) Info: 
 enclPd=20, scsiType=0, portMap=02, sasAddr=5000c5000d2420ed,
 mfi0: 2045 

Re: Which nVidea driver to install

2009-06-08 Thread LoH

Michael Powell wrote:

Section Device
#Driver nv
Driver nvidia

Just change nv to nvidia, and perhaps in Section Module
Load   glx if you need to.


Also notice what RW said; I am behind the times wrt to how things have 
changed.


-Mike
What I have found to work is to make the nvidia-driver port, but not 
install it (to get the dependencies). Then I would download the recent 
driver from nVidia's website (as of this email, 185.18.14), untar it and 
install that instead. If nvidia-xconfig doesn't work immediately, you 
can install it from ports w/o a problem (or do the configuration by hand).


It's a little involved, but it gets the job done.

nVidia's README for FreeBSD drivers:
http://us.download.nvidia.com/freebsd/185.18.14/README/index.html

-Joseph
___
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: Cronjob

2009-06-08 Thread Jos Chrispijn

Found another solution (for running @ 23:58):

58 23 * * * [ `date -d tomorrow +%d` -eq '01' ]  /myscript

thanks for all other suggestions,
Jos Chrispijn

___
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: Which nVidea driver to install

2009-06-08 Thread Michael Powell
LoH wrote:

[snip]
 What I have found to work is to make the nvidia-driver port, but not
 install it (to get the dependencies). Then I would download the recent
 driver from nVidia's website (as of this email, 185.18.14), untar it and
 install that instead. If nvidia-xconfig doesn't work immediately, you
 can install it from ports w/o a problem (or do the configuration by hand).
 
 It's a little involved, but it gets the job done.
 
 nVidia's README for FreeBSD drivers:
 http://us.download.nvidia.com/freebsd/185.18.14/README/index.html
 

Yes - I agree that these utilities should be considered the more proper 
approach. Editing the xorg.conf by hand should be where one ends up after 
everything else hasn't worked. Generally speaking, most of these get it 
either right or so very close to right that only a minor tweak or two is 
needed.

My config is somewhat non standard in that I use two monitors, one LCD 
flatscreen and the other an old 17 CRT. There are two methods for dual 
monitors, either multiple X screens or utilize the TwinView feature of the 
nvidia driver. Since the TwinView approach allows to drag windows from one 
monitor to the other with a mouse (what I wanted) I went that way. 
Ultimately in the end it took manual hackery to get it to work.

But yes - use the utilities first, that's what they're made for. Only resort 
to hackery as a last resort.

-Mike



___
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: What server hardware are you buying from the big companies these days?

2009-06-08 Thread Tim Judd
And I say you get what you pay for.  My organization uses Dell
exclusively and it's been a thorn in my side from day one.  The AC
power requirements (it seems) for Dells are about 3x as much as
Gateways (I know, Gateway doesn't provide servers).  The power draw
for the Dells don't seem to be any better for them, in fact, they seem
to run hotter.

iXsystems, the PC-BSD guys, build components and provide hardware
warranty like the big companies.

I would pick IBM or iXsystems.  IBM's warranty policy is written out,
the IBMs have had more overall success than any other big company
brand, and we're talking the pioneers of the PCs..  IBM or IBM
compatible.

IBMs are the highest priced units, but I've had zero problems with them.

I dream big, only because I can.

Good luck.

On 6/8/09, Frederique Rijsdijk frederi...@isafeelin.org wrote:
 ericr wrote:
 I need to buy some new servers, and mgmt has decreed that we get them from
 someplace which will provide service contracts with on-site h/w suppport,
 which means HP, Dell, Sun, IBM, etc.

 We use Dell almost exclusively. Although Dell doesn't officially support
 FreeBSD, Dell hardware is tier-1 for FreeBSD. I think their hardware is
 quite OK. The machines are built well. Haven't had too much to deal with
 their onsite service (which is a good sign), but the times that I did I
 think they handled it quite well, the parts were in house within 4 hours
 and in a case where a motherboard had to be replaced, a Dell technician
 was sent in as well and did his job fine.

 Dell's RAID controllers (Perc/5i and Perc/6i) work fine in BSD, and some
 tools are available although with Linux emulation which kind of sucks.

 Here's a sample dmesg of a 1950:

 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE-p4 #0: Fri Apr  3 10:28:13 CEST 2009
 r...@hostname:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU5148  @ 2.33GHz (2327.52-MHz K8-class
 CPU)
   Origin = GenuineIntel  Id = 0x6fb  Stepping = 11

 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

 Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA
   AMD Features=0x20100800SYSCALL,NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2
 usable memory = 4276400128 (4078 MB)
 avail memory  = 4114935808 (3924 MB)
 ACPI APIC Table: DELL   PE_SC3  
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: DELL PE_SC3 on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on
 acpi0
 Timecounter HPET frequency 14318180 Hz quality 900
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci4: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci4
 pci5: ACPI PCI bus on pcib2
 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci5
 pci6: ACPI PCI bus on pcib3
 pcib4: PCI-PCI bridge at device 0.0 on pci6
 pci7: PCI bus on pcib4
 bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem
 0xf400-0xf5ff irq 16 at device 0.0 on pci7
 miibus0: MII bus on bce0
 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
 1000baseT-FDX, auto
 bce0: Ethernet address: 00:22:19:82:e8:45
 bce0: [ITHREAD]
 bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W
 (0x04000305); Flags( MFW MSI )
 pcib5: ACPI PCI-PCI bridge at device 1.0 on pci5
 pci8: ACPI PCI bus on pcib5
 pcib6: PCI-PCI bridge at device 0.3 on pci4
 pci9: PCI bus on pcib6
 pcib7: ACPI PCI-PCI bridge at device 3.0 on pci0
 pci1: ACPI PCI bus on pcib7
 mfi0: Dell PERC 6 port 0xec00-0xecff mem
 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1
 mfi0: Megaraid SAS driver Ver 3.00
 mfi0: 2031 (292323270s/0x0020/info) - Shutdown command received from host
 mfi0: 2032 (boot + 3s/0x0020/info) - Firmware initialization started (PCI
 ID 0060/1000/1f0c/1028)
 mfi0: 2033 (boot + 3s/0x0020/info) - Firmware version 1.11.82-0473
 mfi0: 2034 (boot + 3s/0x0008/info) - Battery Present
 mfi0: 2035 (boot + 3s/0x0020/info) - Package version 6.0.3-0002
 mfi0: 2036 (boot + 21s/0x0004/info) - Enclosure (SES) discovered on PD
 20(c None/p0)
 mfi0: 2037 (boot + 21s/0x0002/info) - 

Re: NO_PROFILE option in FBSD-7.2

2009-06-08 Thread Michael Powell
Jerry wrote:

 On Mon, 8 Jun 2009 10:59:30 -0600
 Tim Judd taj...@gmail.com wrote:
 
If that's related to 'world', all world-related build options should
be placed in src.conf now.  What make.conf was to world+ports, is now
src.conf = world, make.conf = ports
 
 Please don't top post. It makes following a thread a lot harder than
 necessary. I all ready know about 'src.conf'; it was the NO_PROFILE
 option that I was inquiring about.
 
 I just did some Googling and found this:
 
 WITHOUT_PROFILE=true
 
 I am wondering if that is a replacement for NO_PROFILE?

Yes. Just WITHOUT_PROFILE in /etc/src.conf is all you need.

 Interestingly enough, there does not seem to be a
 '/usr/share/examples/etc/src.conf' file either.

The list can be found in man src.conf

-Mike
 


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


Re: NO_PROFILE option in FBSD-7.2

2009-06-08 Thread Roland Smith
On Mon, Jun 08, 2009 at 12:43:23PM -0400, Jerry wrote:
 Unless I am missing it, I do not see any mention of NO_PROFILE listed
 in the examples make.conf file. Has it been depreciated?

It has been moved to src.conf as WITHOUT_PROFILE. See src.conf(5). 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpdtyMRzBVXB.pgp
Description: PGP signature


Fwd: rsync colon in filename to MSWin fails

2009-06-08 Thread Kurt Buff
Dagnabbit! Meant to also send this to the list.

Kurt

On Fri, Sep 19, 2008 at 10:28, Giorgos
Keramidaskeram...@ceid.upatras.gr wrote:
 On Fri, 19 Sep 2008 13:37:50 +0100, Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
 I cannot trasfer a file with a colon via rsync to a Win box.
 I've rsync-3.0.4 on the FBSD (sending side) and rsync-2.6.9
 under cygwin on Win (receiving side). I'm not sure what the
 error message means:

 % rsync ./http:__en.wikipedia.org_favicon.ico me...@xxx.xxx.xxx.xxx:
 rsync: rename /cygdrive/c/Documents and Settings/mexas/My 
 Documents/work/.http:__en.wikipedia.org_favicon.ico.8dBX2K - 
 http:__en.wikipedia.org_favicon.ico: No such file or directory (2)
 rsync error: some files/attrs were not transferred (see previous errors) 
 (code 23) at main.c(1040) [sender=3.0.4]

 Note the extra dot before the file name, and extra suffix at the
 end. Is this the expected behaviour?

 Yes, this is the expected broken behavior of Windows.  The ':' character
 cannot be used in a normal filename in Windows.  The bug goes way back,
 when DOS developers chose to use ':' to denote 'drive names'.

 However, to another FBSD box transfer is fine:

 % rsync ./http:__en.wikipedia.org_favicon.ico me...@zzz.zzz.zzz.zzz:
 %

 UNIX only reserves '/' as the path separator (and in some cases the '\0'
 character for the end-of-fiename string marker).  So the ':' character
 is valid for file names or directory names.

 Is this something to do with Windows, or old rsync version on cygwin?

 Yes, it has to do with Windows.

It does indeed have to do with Windows - see this article:

http://msdn.microsoft.com/en-us/library/aa365247.aspx

However, there's another thing to know about the use of colons in file
names, and it's not simply to do with driver letters - NTFS has a
facility called Alternate Data Streams, which was implemented to
support Macintoshes, originally. See this article for a start:

http://msdn.microsoft.com/en-us/library/aa364404(VS.85).aspx
___
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


7.2-STABLE and iSCSI

2009-06-08 Thread FRLinux
Hello,

I am currently using a 7.2-STABLE with iSCSI enabled in the kernel. I
have tried to enable a file system which is 2.4TB in size (this is on
an amd64 architecture). I have followed different documentations I
found and can export an iSCSI target fine and initiate the iSCSI drive
either on a Linux or FreeBSD client.

I am using the /usr/ports/net/iscsi-target-20080207_2

The problem is concerning the size, as the maximum of the file system
I see is 800G out of 2.4TB. I have double checked the target (server)
and the initiator (client) and the cylinders is what does not match.
On the server I have a slice with 15000 cylinders whereas the client
sees only 4000 of them. All the other figures match.

So, did I hit a limitation or am I just doing something wrong?

Thanks for your help,
Steph
___
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


port for separation audio from video in mp4 file

2009-06-08 Thread Stefan Miklosovic
hi,

title says it, i downloaded mp4 file by youtube-dl,
but it downloaded video and audio as well. I would
like to separate audio from that file.

i try to find some port in /usr/ports/audio but nothing
reasonable occudred.

i tried find . -type f -name pkg-descr | xargs grep mp4
but these were only some offtopic programs :)

thank 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


Re: port for separation audio from video in mp4 file

2009-06-08 Thread Polytropon
On Mon, 8 Jun 2009 21:05:20 +0200, Stefan Miklosovic 
miklosovic.free...@gmail.com wrote:
 title says it, i downloaded mp4 file by youtube-dl,
 but it downloaded video and audio as well. I would
 like to separate audio from that file.

Maybe mplayer can do that for you. It has options -dumpvideo
and -dumpaudio. As you know, mplayer / mencoder can do everything
that you can imagine. :-)





-- 
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: What server hardware are you buying from the big companies these days?

2009-06-08 Thread Jerry McAllister
On Mon, Jun 08, 2009 at 11:56:35AM -0600, ericr wrote:

 Hi,
 
 I need to buy some new servers, and mgmt has decreed that we get them from
 someplace which will provide service contracts with on-site h/w suppport,
 which means HP, Dell, Sun, IBM, etc.

Our group has a lot of Dells from Poweredge 650-s to 2950-s and
some other groups in our department also run 46xx and some other
things.   They have been successful and reliable.  We have also
run a few HP servers with FreeBSD with no major problems, though
one came with a DOA motherboard.  But they came out and replaced
it right away.

jerry


 
 Has anyone bought servers from one of the big manufacturers lately and had
 good luck with them?  It seems hard to get them to tell you what controllers
 and chipsets they're using in servers, to compare against the supported
 hardware list.
 
 What I'm looking for isn't all that exotic:
 
 rack mountable
 RAID-5 controller
 4-6 or more disks (hot swappable would be nice, but not mandatory)
 dual power supplies (hot swappable would be nice, but not mandatory)
 CDROM
 2 ethernet ports
 some RAM
 a video card
 an Intel or AMD CPU - single, two CPU, or multicore doesn't really matter.
 
 and the all-important onsite service.
 
 These things need to be pretty reliable, both of the data centers they're
 going into are a couple  of hours from my house, so I don't want a dead
 power supply to take out the server.  We've used SuperMicro's in the past,
 and they've been wildly variable.  Some of them have run ok for years, some
 died within weeks, and kept dying no matter what parts we put in. (yes, I
 checked the power, it was clean.  My guess is just a bad run of
 motherboards).  I've got 3 servers that have never been able to stay up for
 more than a couple of days, we don't even use them.
 
 Regardless, any one have suggestions on what current models of servers are
 out there that run?
 
 Thanks!
 
 - ericr
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mkntfs

2009-06-08 Thread Roland Smith
On Mon, Jun 08, 2009 at 05:29:28PM +0200, Samuel Martín Moro wrote:
 Hi all.
 
 I'm trying to format an USB key with mkntfs (I tried with 1.13.1_5 and
 2.0.0).
 Whatever I do, it never works.
 
 Some of results I got:
 
 (with 2.0.0)
 ~# mkntfs -F -p 63 -H 255 -S 63 /dev/da0s1
 /dev/da0s1 is not a block device.

Are you using the version from the sysutils/ntfsprogs port? That is
patched to deal with the fact that FreeBSD doesn't have block devices
anymore and to align read/write operations to the media block size,
which is required on FreeBSD. 

Also if you want to mount the drive, use the fusefs-ntfs driver. It's
more recent.

 So... Is there a way to format a disk into NTFS ?!

If the port doesn't work, try using a windoze box.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpmJtDwfxcqF.pgp
Description: PGP signature


Re: port for separation audio from video in mp4 file

2009-06-08 Thread Wojciech Puchar


Maybe mplayer can do that for you. It has options -dumpvideo
and -dumpaudio. As you know, mplayer / mencoder can do everything
that you can imagine. :-)


-dumpaudio -vc dummy will dump audio and skip video decoding at all
___
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: General and specific make questions

2009-06-08 Thread Roland Smith
On Sun, Jun 07, 2009 at 11:52:17PM -0500, Lars Eighner wrote:
 
 What I need most is to find (a) make tutorial(s) that do not suppose make is
 being used for compling c/c++ programs.  Yes, I know, that is mostly why
 make exists, but many tutorials plunge right into C examples with implicit C
 rules, while -- it seems to me -- make could be much more useful for a
 variety of things, and I could sure use more of the general and arbitrary
 examples.

I use make to e.g. build complex LaTeX documents with included gnuplot
graphs. Works like a charm. But that it is not conceptually different
from compiling a C program.
 
 I have some sources which may or may not exist.  My target should be rebuilt
 if a source exists that is younger than the target.  But sources that do
 not exist should be ignored and make should not be perplexed over how to
 create them.  How do I express that kind of relationship?

I use the following to create PDFs from gnuplot files without
enumerating them beforehand. Maybe that is what you're looking for?

- Makefile fragment -
# See SPECIAL TARGETS in make(1)
.PHONY: all clean
.SUFFIXES: .eps .pdf .gp .d

# See VARIABLE ASSIGNMENTS in make(1)
GP!=ls *.gp|sed -e 's/\.gp/\.pdf/g'

all: ${GP}

# Suffix-transformation rule. See chapter 3 in the PMake tutorial 
# (/usr/share/doc/psd/12.make/paper.ascii.gz)
.gp.pdf: 
gnuplot $*.gp 2-
epstopdf $*.eps
rm -f $*.eps *.log

clean:
rm -f *.log *.pdf *.eps
- Makefile fragment -

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpgC8luAFOjC.pgp
Description: PGP signature


Re: What server hardware are you buying from the big companies these days?

2009-06-08 Thread John Almberg

Hi,

I need to buy some new servers, and mgmt has decreed that we get  
them from
someplace which will provide service contracts with on-site h/w  
suppport,

which means HP, Dell, Sun, IBM, etc.


I have two Intel servers that I like a lot. I don't have on-site  
support, but it might be available from one of Intel's official  
distributors.


-- John

___
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: ISP questions

2009-06-08 Thread Chad Perrin
On Mon, Jun 08, 2009 at 04:45:43AM -0400, Jerry wrote:
 
 I have used GoDaddy for 7 years now without a single problem. Maybe I
 am just lucky. I have only contacted them twice; however, I received
 a quick and courteous response to my inquiry.

I try to learn from others' mistakes to reduce the likelihood that I will
be forced to learn from my own.  If you really want to learn from your
own mistakes, though, go ahead and ignore the instances where GoDaddy has
screwed over other customers, and just keep using it in willful ignorance
until the day when your luck changes.  I guess that's your prerogative.


 
 I know nothing about their philanthropic practices, nor does it concern
 me, unless I happen to be the beneficiary of such acts.

I think you missed the import of what I said about supporting open source
projects, and how that seems a strongly correlated indicator of other
good business practices.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Paul Graham: Object-oriented programming offers a sustainable way
to write spaghetti code.


pgp5SadjwUTiM.pgp
Description: PGP signature


Re: tcllib error while installing tcllib on amd64 system running freebsd 7.0

2009-06-08 Thread Lowell Gilbert
Dino Vliet dino_vl...@yahoo.com writes:

 [*   ]  [8.6b1] comm    comm.test!Connect to remote failed: couldn't 
 open socket: connection timed out 

Taking a look in the comm.test file, it looks to me like you already had
something on port 12345, so an attempt to open such a port failed.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: General and specific make questions

2009-06-08 Thread Polytropon
On Mon, 8 Jun 2009 22:12:17 +0200, Roland Smith rsm...@xs4all.nl wrote:
 On Sun, Jun 07, 2009 at 11:52:17PM -0500, Lars Eighner wrote:
  
  What I need most is to find (a) make tutorial(s) that do not suppose make is
  being used for compling c/c++ programs.  Yes, I know, that is mostly why
  make exists, but many tutorials plunge right into C examples with implicit C
  rules, while -- it seems to me -- make could be much more useful for a
  variety of things, and I could sure use more of the general and arbitrary
  examples.
 
 I use make to e.g. build complex LaTeX documents with included gnuplot
 graphs. Works like a charm. But that it is not conceptually different
 from compiling a C program.

Correct. I do the same here. Additionally, I use make and
Makefile to process HTML to emulate SSI before uploading,
which I do with - you already guessed it - with make install
(uses ftp -u then), and make deinstall deletes stuff from
the webserver. :-)




-- 
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: ISP questions

2009-06-08 Thread Jerry
On Mon, 8 Jun 2009 14:55:49 -0600
Chad Perrin per...@apotheon.com wrote:

I try to learn from others' mistakes to reduce the likelihood that I
will be forced to learn from my own.  If you really want to learn from
your own mistakes, though, go ahead and ignore the instances where
GoDaddy has screwed over other customers, and just keep using it in
willful ignorance until the day when your luck changes.  I guess
that's your prerogative.

I believe you are over generalizing it. I have had two occasions where
FBSD crashed and I lost a considerable amount of data. According to
your statement, I should just say screw FBSD and move on to another OS.

Seriously though, if they have X number of clients and only .1% of them
have experienced a problem, is there really a problem? I don't know
since I don't have statistics on GoDaddy. Obviously you do. Would you
be kind enough to post them so I could inspect them myself.

Thanks!

-- 
Jerry
ges...@yahoo.com

They're unfriendly, which is fortunate, really.  They'd be difficult
to like.

Avon


signature.asc
Description: PGP signature


Re: PDF inventory software

2009-06-08 Thread LoH

Daniel Underwood wrote:

I'm looking for a way to manage my personal collection of research
articles.  Ideally I'd like some way to keep records on authors,
keywords, journals, and publication years of articles (PDF files)
downloaded onto my local drive.

 In the course of reading literature for research, it often happens
that I find myself wanted to return to something I have previously
read, but I only recall a few things about the article, often the
author and a keyword.  Is there some inventory/database software (for
local use only) that can be easily used for this purpose?  (The
closest things that comes to mind (conceptually) is image collection
software.)

What are some of my options here?

Thanks,
Daniel

  


First thing that comes to mind is abusing BibTeX/LaTeX. Keep a BibTeX 
file (under version control for safety) or other LaTeX-based citation 
solution as a file on your desktop. If you're using articles from 
journals, you should be able to get the BibTeX versions of the citation 
information from general research portals like IEEEXplore or ACM's 
library (and many other places). For each one, add another field and add 
your local path (of the file referencing the article) to it.


If you need to find something after that, grep the keyword or author's 
name with the option to display a couple lines up or down. A useful side 
effect is that if you know LaTeX (and it's a good skill to have), you 
have the citation information handy for easy inclusion in your own papers.


With some work, that approach could probably be expanded to an GUI app.

Like most things, it's a bit of up-front work and requires maintenance 
(mostly remembering to grab the cite info from documents as you add them 
to your collection). If you're going to be using any of them for 
citations, however, it's work you're already having to do.


--Joseph Lenox
___
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: PDF inventory software

2009-06-08 Thread Polytropon
On Mon, 8 Jun 2009 17:17:29 -0400, Daniel Underwood djuatde...@gmail.com 
wrote:
 I'm looking for a way to manage my personal collection of research
 articles.  Ideally I'd like some way to keep records on authors,
 keywords, journals, and publication years of articles (PDF files)
 downloaded onto my local drive.
 
  In the course of reading literature for research, it often happens
 that I find myself wanted to return to something I have previously
 read, but I only recall a few things about the article, often the
 author and a keyword.  Is there some inventory/database software (for
 local use only) that can be easily used for this purpose?  (The
 closest things that comes to mind (conceptually) is image collection
 software.)
 
 What are some of my options here?

One of your options - one of the most basic ones - is to use
a CSV file where you define the different fields you want to
be able to search.

This is an imaginable approach:
# inventory.csv
# =
# $1: $2: $3: $4: $5
# Author(s) : Title : Year  : Keywords  : File
# --:---:---:---:-
Foobar, J   : Foo and Bar   : 2000  : Foo Bar Baz Bleep : xyz12345.pdf
Klopps, M   : My Bratklops  : 1975  : Eat Food Meat Loaf: qwertzui.pdf
...

You can then use grep, cut, awk, sed, perl or any other scripting
language for postprocessing, like making a list of your collection
of a subset of it.

The File field could even contain the full path of the file, or
you use locate go get its location. This is handy for automating
tasks, like print all the articles by Foobar J.

One general advantage of this approach is that your favourite
editor, along with grep, sed, awk 'n stuff are your tools of
choice. You don't need to install lots of stuff. Even your bare
base system can handle it. Because it's pure text, it's human
readable and can be easily transfered between systems. It is
very versatile and not limited by the functionalities of one
certain program that you use.

I'm very sure there is already a tool or a whole GUI subsystem that
does indexing and taking care of arbitrary file collections, but
of course I don't know its name because I never used it. :-)




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


PDF inventory software

2009-06-08 Thread Daniel Underwood
I'm looking for a way to manage my personal collection of research
articles.  Ideally I'd like some way to keep records on authors,
keywords, journals, and publication years of articles (PDF files)
downloaded onto my local drive.

 In the course of reading literature for research, it often happens
that I find myself wanted to return to something I have previously
read, but I only recall a few things about the article, often the
author and a keyword.  Is there some inventory/database software (for
local use only) that can be easily used for this purpose?  (The
closest things that comes to mind (conceptually) is image collection
software.)

What are some of my options here?

Thanks,
Daniel
___
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: PDF inventory software

2009-06-08 Thread Daniel Underwood
Poly and LoH: Thanks, these are great ideas!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: PDF inventory software

2009-06-08 Thread Yuri Pankov
On Mon, Jun 08, 2009 at 05:17:29PM -0400, Daniel Underwood wrote:
 I'm looking for a way to manage my personal collection of research
 articles.  Ideally I'd like some way to keep records on authors,
 keywords, journals, and publication years of articles (PDF files)
 downloaded onto my local drive.
 
  In the course of reading literature for research, it often happens
 that I find myself wanted to return to something I have previously
 read, but I only recall a few things about the article, often the
 author and a keyword.  Is there some inventory/database software (for
 local use only) that can be easily used for this purpose?  (The
 closest things that comes to mind (conceptually) is image collection
 software.)
 
 What are some of my options here?
 
 Thanks,
 Daniel

Try using sysutils/tracker-client (http://projects.gnome.org/tracker/).
It should do what you and much more.


Yuri
___
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: PDF inventory software

2009-06-08 Thread Bill Moran
Daniel Underwood djuatde...@gmail.com wrote:

 I'm looking for a way to manage my personal collection of research
 articles.  Ideally I'd like some way to keep records on authors,
 keywords, journals, and publication years of articles (PDF files)
 downloaded onto my local drive.
 
  In the course of reading literature for research, it often happens
 that I find myself wanted to return to something I have previously
 read, but I only recall a few things about the article, often the
 author and a keyword.  Is there some inventory/database software (for
 local use only) that can be easily used for this purpose?  (The
 closest things that comes to mind (conceptually) is image collection
 software.)
 
 What are some of my options here?

Just to add one more to the already list of good ideas.

What about just using an RDBMS?  These days, everyone seems to think you
have to put some fancy web front-end on a RDBMS to make it useful, but SQL
is pretty user-friendly.

PostgreSQL, in particular, has some excellent full-text searching
capabilities in the latest version.  If you use a script to export the
text from the PDF and insert into postgres, you then have a searchable
database using word-stemming and all the other features of a full-blown
search engine on steroids.

-- 
Bill Moran
http://www.potentialtech.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: PDF inventory software

2009-06-08 Thread Polytropon
On Mon, 8 Jun 2009 17:45:38 -0400, Daniel Underwood djuatde...@gmail.com 
wrote:
 Poly and LoH: Thanks, these are great ideas!

I'd like to add that if you define your data fields well, you
can use it to generate BibTeX and other LaTeX entries from your
records.

You can even easily turn it into HTML.

But as I said: Keep in mind that it's very basic - but that
makes is so versatile and strong. You could add a script that
does some work (add, delete, modify, search or duplicate
entries) for you, if you don't want to spend much time in the
editor, and don't want to keep the pretty printing of the
file intact (it doesn't matter anyway).

The MOST important thing to pay attention to is NOT to use
the desired delimiter inside a data field. If you already
know that : will be in one of the fields, just use a less
common symbol as delimiter, such as | or even ~.

Of course, more comfortable solutions will surely keep
off this manual work from you, but in most cases, they
involve installing LOTS of dependencies.

Finally, the advice of using some version control for the
upcoming changes of the file is a good idea. You can even
have more than one file, e. g. for separating topics or
projects.


-- 
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: PDF inventory software

2009-06-08 Thread FRLinux
On Mon, Jun 8, 2009 at 10:17 PM, Daniel Underwooddjuatde...@gmail.com wrote:
 I'm looking for a way to manage my personal collection of research
 articles.  Ideally I'd like some way to keep records on authors,
 keywords, journals, and publication years of articles (PDF files)
 downloaded onto my local drive.

Hello,

Might be overkill for one person but this is the software our
scientists use in our place, quite a good application :
http://wikindx.sourceforge.net/features.html

Cheers,
Steph
___
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: Cronjob

2009-06-08 Thread Mike Jeays

-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

On June 8, 2009 02:56:31 pm Jos Chrispijn wrote:
 Found another solution (for running @ 23:58):

 58 23 * * * [ `date -d tomorrow +%d` -eq '01' ]  /myscript

 thanks for all other suggestions,
 Jos Chrispijn

 ___
 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

Isn't that a linuxism? Looking at the man pages for the date command for 
FreeBSD, it looks as if 'date -v+1d' will return tomorrow's date (and it does, 
I checked). The -d option is to do with daylight saving 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: /etc/hosts - how does that file work?? - was weird nfs issues.

2009-06-08 Thread Mel Flynn
On Saturday 06 June 2009 20:44:38 Tim Judd wrote:
 On 6/4/09, Peter fb...@peterk.org wrote:
  I do not think /etc/hosts does round robin, I always assumed first match
  wins...DNS/bind I would understand...

It's the same library call: gethostbyname(3) and friends.

  Why does ping always return the 172.20.6.1 address,
   and ftp,nc,ssh,telnet,fetch _always_ uses the 116 address?

Again: client implementation is allowed to pick whichever it wants.


 why are you so hung up on dual IPs for a single host?  would dnsmasq
 provide a solution to dual A records for one resource?

Gotta agree with Tim here. I don't see the point for having two nets on one 
interface. They'll be hard to keep secure with firewall rules if you run the 
same services on them.

 I'll help, when I can.  but forcing this on /etc/hosts is a dead end.

Problem is that nfs and DNS don't work well at all. For nfs best use IP or 
/etc/hosts. One drawback of using DNS with nfs is that if the hostname cannot 
be resolved (network down, typo), one can also not get a console when it goes 
to single user mode [1] and has to reboot via power button.

/etc/fstab is supposed to be static to begin with. It's supposed to provide 
the mountpoints the system can count on, so using IP's for nfs is preferred. 
For the more dynamic nfs mounts, one can use hostnames and use noauto in the 
options column.

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=128448
-- 
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: phidgets for FreeBSD?

2009-06-08 Thread Mel Flynn
On Sunday 07 June 2009 23:49:48 Ian Smith wrote:

 Thanks, but please humour my ignorance - would one install linux libusb
 in /compat/linux for linux apps, as well as the freebsd port for native?

If there's source, one would use native libusb. I'd go test with -current 
though. The libusb in the base there is the exact same as the devel/libusb 
port, with extras. If the source don't work out of the box, usb developers 
would definitely want to hear about it. Unfortunately, I lack the time (and 
interest for the moment) to try it out myself, even though I'd love to get my 
Sonix USB webcam working.
-- 
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


getting aux display on laptop to be the only display

2009-06-08 Thread Aryeh M. Friedman

I have following hardware on my laptop:

 dmesg|grep vga
vgapci0: VGA-compatible display port 0x6110-0x6117 mem 
0x9000-0x903f,0x8000-0x8fff irq 16 at device 2.0 on pci0

agp0: Intel GM45 SVGA controller on vgapci0
vgapci1: VGA-compatible display mem 0x9450-0x945f at device 
2.1 on pci0

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
drm0: Mobile Intel\M-B\M-. GM45 Express Chipset on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster

and I have an extrtnal 21 widescreen (vga) that when I hook it up the 
default x11.config  has it  at  1024x768 on *BOTH*  monitors How do 
I make it so X only considers the external (if attached) monitor?

___
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


flaw found....

2009-06-08 Thread Gary Kline
not surprisingly, i found a fla w in my getc(fp) program that
tried to read past ? and ? ...  the example i added to my
test file was simply the 2 bytes  and ?.  so if you have a 
stray 

?

with a matching close case, the binary hangs on a read.
so, again, can anybody suggest a better example, in C, to get
past two delimiters?

one thought is how gcc parses the /* and */ comment
delimiters.  any compiler gurus out there who know 
where this code is?

gary

?

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.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: flaw found....

2009-06-08 Thread Glen Barber
Gary,

On Mon, Jun 8, 2009 at 8:15 PM, Gary Klinekl...@thought.org wrote:
        not surprisingly, i found a fla w in my getc(fp) program that
        tried to read past ? and ? ...  the example i added to my
        test file was simply the 2 bytes  and ?.  so if you have a
        stray

        ?

        with a matching close case, the binary hangs on a read.
        so, again, can anybody suggest a better example, in C, to get
        past two delimiters?

        one thought is how gcc parses the /* and */ comment
        delimiters.  any compiler gurus out there who know
        where this code is?

        gary

        ?


What about having it check a char array, similar to how programs like
ls(1) does checking for command line arguments?

http://svn.freebsd.org/base/stable/7/bin/ls/ls.c - line 181 and on.

-- 
Glen Barber
http://www.dev-urandom.com
http://www.linkedin.com/in/glenjbarber
___
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: Lighttpd wedged and ignoring SIGKILL

2009-06-08 Thread Mel Flynn
On Thursday 04 June 2009 18:25:30 L Campbell wrote:

 PID   USERNAME THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 85542 www1  510   102M 85360K CPU6   6  16:34 100.00% lighttpd


 1) Should this be possible? What is going on here?


Change the write-backend. Look in google for lighttpd and sendfile to see why.
-- 
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: 7.2-RELEASE panics with snd_ds1 loaded.

2009-06-08 Thread Mel Flynn
On Thursday 04 June 2009 21:14:14 Ashish SHUKLA wrote:
 Hi all,

 I've recently installed 7.2-RELEASE few weeks ago and noticed that it
 panics after few minutes of loading snd_ds1 (driver for Yamaha PCI sound
 card), and playing music on it. I've not added snd_ds1 to my loader.conf
 so as soon as I explicitly kldload it and start playing music (or try to
 access sound card like using gnome-sound-recorder) it panics after few
 minutes.

 Following are the backtraces of the panics.

 ,

 | (kgdb) core-file /var/crash/vmcore.0
 |
 | Unread portion of the kernel message buffer:
 |
 |
 | Fatal trap 9: general protection fault while in kernel mode
 | cpuid = 0; apic id = 00
 | instruction pointer = 0x8:0x807c5f22
 | stack pointer   = 0x10:0xfffebf031a00
 | frame pointer   = 0x10:0x80420048
 | code segment= base 0x0, limit 0xf, type 0x1b
 | = DPL 0, pres 1, long 1, def32 0, gran 1
 | processor eflags= interrupt enabled, resume, IOPL = 0
 | current process = 72310 (sshd)
 | trap number = 9
 | panic: general protection fault
 | cpuid = 0
 | Uptime: 6h25m1s
 | Physical memory: 2025 MB
 | Dumping 386 MB: 371 355 339 323 307 291 275 259 243 227 211 195 179 163
 | 147 131 115 99 83 67 51 35 19 3
 |
 | Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from
 | /boot/GENERIC/geom_journal.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/geom_journal.ko
 | Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from
 | /boot/GENERIC/linprocfs.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/linprocfs.ko
 | Reading symbols from /boot/kernel/linux.ko...Reading symbols from
 | /boot/GENERIC/linux.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/linux.ko
 | Reading symbols from /boot/kernel/pf.ko...Reading symbols from
 | /boot/GENERIC/pf.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/pf.ko
 | Reading symbols from /boot/kernel/blank_saver.ko...Reading symbols from
 | /boot/GENERIC/blank_saver.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/blank_saver.ko
 | Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from
 | /boot/GENERIC/ng_socket.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_socket.ko
 | Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from
 | /boot/GENERIC/netgraph.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/netgraph.ko
 | Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from
 | /boot/GENERIC/ng_mppc.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_mppc.ko
 | Reading symbols from /boot/kernel/rc4.ko...Reading symbols from
 | /boot/GENERIC/rc4.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/rc4.ko
 | Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from
 | /boot/GENERIC/ng_iface.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_iface.ko
 | Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from
 | /boot/GENERIC/ng_ppp.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_ppp.ko
 | Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from
 | /boot/GENERIC/ng_tee.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_tee.ko
 | Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from
 | /boot/GENERIC/ng_ether.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_ether.ko
 | Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from
 | /boot/GENERIC/ng_pppoe.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/ng_pppoe.ko
 | Reading symbols from /boot/kernel/i915.ko...Reading symbols from
 | /boot/GENERIC/i915.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/i915.ko
 | Reading symbols from /boot/kernel/drm.ko...Reading symbols from
 | /boot/GENERIC/drm.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/drm.ko
 | Reading symbols from /boot/kernel/snd_ds1.ko...Reading symbols from
 | /boot/GENERIC/snd_ds1.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/snd_ds1.ko
 | Reading symbols from /boot/kernel/sound.ko...Reading symbols from
 | /boot/GENERIC/sound.ko.symbols...done. done.
 | Loaded symbols for /boot/kernel/sound.ko
 | #0  doadump () at pcpu.h:195
 | 195 pcpu.h: No such file or directory.
 | in pcpu.h
 | (kgdb) bt
 | #0  doadump () at pcpu.h:195
 | #1  0x0004 in ?? ()
 | #2  0x8050df19 in boot (howto=260) at
 | /usr/src/sys/kern/kern_shutdown.c:418 #3  0x8050e322 in panic
 | (fmt=0x104 Address 0x104 out of bounds) at
 | /usr/src/sys/kern/kern_shutdown.c:574 #4  0x807d2193 in
 | trap_fatal (frame=0xff00038bb370, eva=Variable eva is not
 | available. ) at /usr/src/sys/amd64/amd64/trap.c:757
 | #5  0x807d2ce5 in trap (frame=0xfffebf031950) at
 | /usr/src/sys/amd64/amd64/trap.c:558 #6  0x807b700e in calltrap ()
 | at 

Re: PDF inventory software

2009-06-08 Thread Olivier Nicole
Hi,

 I'm looking for a way to manage my personal collection of research
 articles.  Ideally I'd like some way to keep records on authors,
 keywords, journals, and publication years of articles (PDF files)
 downloaded onto my local drive.

Certainly overkill, but dspace(.org) can keep up a digital library for
you, with full indexation.

Bests,

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


Re: Lighttpd wedged and ignoring SIGKILL

2009-06-08 Thread L Campbell
On Mon, Jun 8, 2009 at 8:34 PM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Thursday 04 June 2009 18:25:30 L Campbell wrote:
 PID   USERNAME THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
 85542 www        1  51    0   102M 85360K CPU6   6  16:34 100.00% lighttpd

 1) Should this be possible? What is going on here?

 Change the write-backend. Look in google for lighttpd and sendfile to see why.

I was under the impression that that bug was fixed[1]. In any case,
I've switched from freebsd-sendfile to writev. I'll send another ping
if that doesn't fix it (and probably fiddle around with the
event-handler too -- I've read error reports suggesting that
freebsd-kqueue handling is broken in Lighttpd).

Thanks for the suggestion :)

-- 
[1] http://redmine.lighttpd.net/issues/1913
___
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: flaw found....

2009-06-08 Thread Gary Kline
On Mon, Jun 08, 2009 at 08:20:22PM -0400, Glen Barber wrote:
 Gary,
 
 On Mon, Jun 8, 2009 at 8:15 PM, Gary Klinekl...@thought.org wrote:
         not surprisingly, i found a fla w in my getc(fp) program that
         tried to read past ? and ? ...  the example i added to my
         test file was simply the 2 bytes  and ?.  so if you have a
         stray
 
         ?
 
         with a matching close case, the binary hangs on a read.
         so, again, can anybody suggest a better example, in C, to get
         past two delimiters?
 
         one thought is how gcc parses the /* and */ comment
         delimiters.  any compiler gurus out there who know
         where this code is?
 
         gary
 
         ?
 
 
 What about having it check a char array, similar to how programs like
 ls(1) does checking for command line arguments?
 
 http://svn.freebsd.org/base/stable/7/bin/ls/ls.c - line 181 and on.
 


yes, this is one thing i was thinking about at around 04:30!
having a pointer to both the beginning and ending of the
delimiter pair.  if no ending was found, issue a warning and
error exit.  

FWIW, Google just pointed me at a snippet that showed how to get
past things like 

// comments

thankee!


 -- 
 Glen Barber
 http://www.dev-urandom.com
 http://www.linkedin.com/in/glenjbarber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.91a release of Jottings: http://jottings.thought.org/index.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


Need a filesystem with unlimited inodes

2009-06-08 Thread Kelly Jones
What UFS-like filesystem has unlimited inodes, but is a drop-in
replacement for ext3, and is fairly easy to configure?

Is UFS2 no longer considered the best general-use filesystem?

Reason I ask: I'm going to create many small (~1K) files on a 100G
disk and thus need at least 100M inodes.

newfs -i maxes out at ~52M inodes (862 groups * 60864 inodes =~ 52M inodes):

# newfs -N -i 1 /dev/da1;: same results as -i 2048

/dev/da1: 102400.0MB (209715200 sectors) block size 16384, fragment size 2048
using 862 cylinder groups of 118.88MB, 7608 blks, 60864 inodes.

I realize I can use f 512 -b 4096 to get 200M+ inodes, but I'm
willing to experiment w/ a new filesystem, provided it behaves mostly
like UFS. Thoughts?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NO_PROFILE option in FBSD-7.2

2009-06-08 Thread Jeffrey Goldberg

On Jun 8, 2009, at 11:59 AM, Tim Judd wrote:


If that's related to 'world', all world-related build options should
be placed in src.conf now.  What make.conf was to world+ports, is now
src.conf = world, make.conf = ports


What is the appropriate location for KERNCONF, which I still have in / 
etc/make.conf ?





--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
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: getting aux display on laptop to be the only display

2009-06-08 Thread Tim Judd
Laptop VGA cards are only two types: independently driven, or
mirrored.  The former is what allows the internal and external to
display different things simultaneously.  The latter is a 1:1 mirror
image on one and other.  All laptops I've seen when the external VGA
is enabled are mirrored.  Via VGA driver functions, you can make them
independent.

My guess for what you need is xrandr, to which I'm not very well
versed.  It seems to be the answer when it comes to video output
layout, size, orientation...  swiss army knife.

I'm welcome to corrections and learning myself, but I would shoot for
VGA driver and/or xrandr tweaking first.

On 6/8/09, Aryeh M. Friedman aryeh.fried...@gmail.com wrote:
 I have following hardware on my laptop:

   dmesg|grep vga
 vgapci0: VGA-compatible display port 0x6110-0x6117 mem
 0x9000-0x903f,0x8000-0x8fff irq 16 at device 2.0 on pci0
 agp0: Intel GM45 SVGA controller on vgapci0
 vgapci1: VGA-compatible display mem 0x9450-0x945f at device
 2.1 on pci0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 drm0: Mobile Intel\M-B\M-. GM45 Express Chipset on vgapci0
 vgapci0: child drm0 requested pci_enable_busmaster

 and I have an extrtnal 21 widescreen (vga) that when I hook it up the
 default x11.config  has it  at  1024x768 on *BOTH*  monitors How do
 I make it so X only considers the external (if attached) monitor?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: PDF inventory software

2009-06-08 Thread Karl Vogel
 On Mon, 8 Jun 2009 17:17:29 -0400, 
 Daniel Underwood djuatde...@gmail.com said:

D In the course of reading literature for research, it often happens that I
D find myself wanted to return to something I have previously read, but I
D only recall a few things about the article, often the author and a
D keyword.  Is there some inventory/database software (for local use only)
D that can be easily used for this purpose?  (The closest things that comes
D to mind (conceptually) is image collection software.)

   Are these PDF files generated by scanning journal pages, or do they
   contain text?  If the latter, you could use something like xapian or
   hyperestraier to make a full-text index of your files.

-- 
Karl Vogel  I don't speak for the USAF or my company
Top oxymorons #22:  Childproof
___
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: What server hardware are you buying from the big companies these days?

2009-06-08 Thread Karl Vogel
 On Mon, 8 Jun 2009 11:56:35 -0600, 
 ericr erobi...@gmail.com said:

E Has anyone bought servers from one of the big manufacturers lately and had
E good luck with them?

   I've always had good luck with Dell, especially the GX-260s.  I've used
   them for file-servers handling over 100 Samba connections at a time, and
   (considering they're just workstations) they work fine.

E We've used SuperMicro's in the past, and they've been wildly variable.
E Some of them have run ok for years, some died within weeks, and kept dying
E no matter what parts we put in.

   We have three SuperMicro blade servers.  One's worked like a champ, and
   the other two died.  The vendor we used tanked, so no warranty support.

   I got two IBM X3400 boxes to replace the SuperMicros; the drives were
   OK, so I got empty enclosures plus some rails, stuffed the drives in, and
   installed FreeBSD-7.1.  My only problem so far has been a BIOS issue, but
   IBM site-support has been great.

-- 
Karl Vogel  I don't speak for the USAF or my company

Golfer: Do you think I can get there with a 5-iron?
 Caddy: Eventually.
___
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: getting aux display on laptop to be the only display

2009-06-08 Thread Aryeh M. Friedman

Tim Judd wrote:

Laptop VGA cards are only two types: independently driven, or
mirrored.  The former is what allows the internal and external to
display different things simultaneously.  The latter is a 1:1 mirror
image on one and other.  All laptops I've seen when the external VGA
is enabled are mirrored.  Via VGA driver functions, you can make them
independent.

My guess for what you need is xrandr, to which I'm not very well
versed.  It seems to be the answer when it comes to video output
layout, size, orientation...  swiss army knife.
  


That did the trick for anyone else with the same setup put this in any 
of your personal rc's like .xsession:


xrander --output LCVDS --off --output VGA --auto


I'm welcome to corrections and learning myself, but I would shoot for
VGA driver and/or xrandr tweaking first.

On 6/8/09, Aryeh M. Friedman aryeh.fried...@gmail.com wrote:
  

I have following hardware on my laptop:

  dmesg|grep vga
vgapci0: VGA-compatible display port 0x6110-0x6117 mem
0x9000-0x903f,0x8000-0x8fff irq 16 at device 2.0 on pci0
agp0: Intel GM45 SVGA controller on vgapci0
vgapci1: VGA-compatible display mem 0x9450-0x945f at device
2.1 on pci0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
drm0: Mobile Intel\M-B\M-. GM45 Express Chipset on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster

and I have an extrtnal 21 widescreen (vga) that when I hook it up the
default x11.config  has it  at  1024x768 on *BOTH*  monitors How do
I make it so X only considers the external (if attached) monitor?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




  


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


Re: PDF inventory software

2009-06-08 Thread Daniel Underwood
Since all the PDFs contain text (none are scanned images), can I
simply use some command like grep to search for text within the
collection?  If so, how would I do this?  Can grep read text from
within PDFs?
___
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: What is the equivalent of Linux command 'ps --forest'?

2009-06-08 Thread Mel Flynn
On Friday 05 June 2009 09:12:08 Paul B. Mahol wrote:
 On 6/5/09, Yuri y...@rawbw.com wrote:
  How can I see processes in a hierarchical way?

 http://lists.freebsd.org/pipermail/svn-src-head/2009-May/006912.html

 or pstree from ports.

And if in a jail, you can use the patch below to add jail support via -j 
switch.
-- 
Mel

--- pstree.c.orig   2007-10-26 11:39:50.0 -0800
+++ pstree.c2008-09-20 00:30:53.0 -0800
@@ -189,7 +189,7 @@
   { qq,   qw,   `,q,t,x,m,\016, 
\017, \033(B\033)0 }  /*Vt100*/
 }, *C;
 
-int MyPid, NProc, Columns, RootPid;
+int MyPid, NProc, Columns, RootPid, jFlag;
 short showall = TRUE, soption = FALSE, Uoption = FALSE;
 char *name = , *str = NULL, *Progname;
 long ipid = -1;
@@ -464,6 +464,27 @@
 exit(1);
   }
   
+  /* If this is a FreeBSD jail(8), create a fake root process 'jailinit', 
which
+   * serves as starting point for the tree. */
+  if( jFlag )
+  {
+P = realloc(P, (i+1) * sizeof(struct Proc));
+if (P == NULL) {
+  fprintf(stderr, Problems with realloc.\n);
+  exit(1);
+}
+memset(P[i], 0, sizeof(*P));
+P[i].uid = 0;
+(void)strncpy(P[i].name, root, sizeof(P[i].name));
+P[i].pid = 1;
+P[i].ppid = 0;
+P[i].pgid = 1;
+P[i].thcount = 1;
+(void)strncpy(P[i].cmd, /sbin/jailinit, sizeof(P[i].cmd));
+P[i].parent = P[i].child = P[i].sister = -1;
+P[i].print = FALSE;
+i++;
+  }
   while (NULL != fgets(line, MAXLINE, tn)) {
 int len, num;
 len = strlen(line);
@@ -728,6 +749,7 @@
 -f file   read input from file (- is stdin) instead of 
running\n
   \%s\\n
 -g n  use graphics chars for tree. n=1: IBM-850, n=2: VT100\n
+-jAssume running in a FreeBSD jail (no root process)\n
 -l n  print tree to n level deep\n
 -u user   show only branches containing processes of user\n
 -Udon't show branches containing only root processes\n
@@ -756,7 +778,7 @@
   Progname = strrchr(argv[0],'/');
   Progname = (NULL == Progname) ? argv[0] : Progname + 1;
   
-  while ((ch = getopt(argc, argv, df:g:hl:p:s:u:Uw?)) != EOF)
+  while ((ch = getopt(argc, argv, df:g:hjl:p:s:u:Uw?)) != EOF)
 switch(ch) {
   /*case 'a':
align   = TRUE;
@@ -778,6 +800,9 @@
   }
   C = TreeChars[graph];
   break;
+case 'j' :
+  jFlag = 1;
+  break;
 case 'l': /* LOPTION */
   maxLdepth = atoi(optarg);   /* LOPTION */
   if(maxLdepth  1) maxLdepth = 1;/* LOPTION */

___
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: PDF inventory software

2009-06-08 Thread Olivier Nicole
 Since all the PDFs contain text (none are scanned images), can I
 simply use some command like grep to search for text within the
 collection?  If so, how would I do this?  Can grep read text from
 within PDFs?

pdftotext, comes with the port xpdf I think

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


Reproduce previous stdout output without running previous command

2009-06-08 Thread Daniel Underwood
OK, this is perhaps a weird question, capable of being very confusing.
 So let's take a for instance.

Suppose I run something like the Linux command fdupes on a directory
with many large files.  This operation will take considerable time to
complete.  When it completes, a lot of output is send to stdout
(displayed on the terminal).

Further suppose that after running the command, I decide I want to
save the output to a text file, so I can analyze the results outside
of the terminal.  What can I do? Well, I can do a traditional
copy-and-paste, or I could re-enter the previous command and send it
to a text file (which I ought to have done in the first place).

But is there another option?  Is there some variable (such as,
hypothetically, $output[n], where n=some integer index) that I could
use to store the results in a text file?  Such an option might look
like the following:

$ fdupes -r ~/directorywithlotsoflargefiles

(.lots of output, woops, should have sent to a text file!)

$ output[1]  ~/textfile.txt

Hopefully this has made (some) sense.
___
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: Reproduce previous stdout output without running previous command

2009-06-08 Thread Lord Of Hyphens
On Mon, Jun 8, 2009 at 10:44 PM, Daniel Underwood djuatde...@gmail.comwrote:

 OK, this is perhaps a weird question, capable of being very confusing.
  So let's take a for instance.

 Suppose I run something like the Linux command fdupes on a directory
 with many large files.  This operation will take considerable time to
 complete.  When it completes, a lot of output is send to stdout
 (displayed on the terminal).

 Further suppose that after running the command, I decide I want to
 save the output to a text file, so I can analyze the results outside
 of the terminal.  What can I do? Well, I can do a traditional
 copy-and-paste, or I could re-enter the previous command and send it
 to a text file (which I ought to have done in the first place).

 But is there another option?  Is there some variable (such as,
 hypothetically, $output[n], where n=some integer index) that I could
 use to store the results in a text file?  Such an option might look
 like the following:

 $ fdupes -r ~/directorywithlotsoflargefiles

 (.lots of output, woops, should have sent to a text file!)

 $ output[1]  ~/textfile.txt

 Hopefully this has made (some) sense.
 freebsd-questions@freebsd.org


Check the manpage for tee. That should give you a solution you're looking
for.

--Joseph Lenox

-- 
Nothing unreal exists. - Kiri-kin-tha's First Law of Metaphysics.
___
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: PDF inventory software

2009-06-08 Thread Lord Of Hyphens
On Mon, Jun 8, 2009 at 10:21 PM, Olivier Nicole o...@cs.ait.ac.th wrote:

  Since all the PDFs contain text (none are scanned images), can I
  simply use some command like grep to search for text within the
  collection?  If so, how would I do this?  Can grep read text from
  within PDFs?

 pdftotext, comes with the port xpdf I think

 Olivier


A partial solution would also to do a search on someone else's index (google
scholar, IEEEXplore, etc) to get the title of what you're looking for.



-- 
Nothing unreal exists. - Kiri-kin-tha's First Law of Metaphysics.
___
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: Reproduce previous stdout output without running previous command

2009-06-08 Thread Steven Schlansker


On Jun 8, 2009, at 8:48 PM, Lord Of Hyphens wrote:

On Mon, Jun 8, 2009 at 10:44 PM, Daniel Underwood djuatde...@gmail.com 
wrote:


$ fdupes -r ~/directorywithlotsoflargefiles

(.lots of output, woops, should have sent to a text file!)

$ output[1]  ~/textfile.txt

Hopefully this has made (some) sense.
freebsd-questions@freebsd.org



Check the manpage for tee. That should give you a solution you're  
looking

for.


I think the intention of the original question was for the case where  
you have
forgotten to set up a pipe/redirection properly before starting the  
long-
running command.  Tee would work fine if you have the foresight to use  
it...


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


  1   2   >