Re: fsck on 1.5TB drive

2009-06-07 Thread Wojciech Puchar
You are right Puchar, but sometimes (2 in 100 on powerfailure) the filesystem gets corrupted (database files opened, and being extended)... so when the fsck enters, the database get corrupted.. Filesystem will rather be not corrupted, but database file data. Non-journalled UFS with

Re: Date representation as YY/DDD or YYYY/DDD

2009-06-07 Thread Ruben de Groot
On Sat, Jun 06, 2009 at 02:05:39PM +0200, Wojciech Puchar typed: rsync isn't bloated and it's well written IMO. It still does only one job, and it does it well. As you say, most common tasks can still be done with only short options. This would change if some developer decided to add other,

dvd burning command growisofs fails

2009-06-07 Thread Yuri
Command: growisofs -dvd-compat -speed=4 -Z /dev/cd0=dvd.iso that used to work no fails. The difference is newer motherboard/cpu and updated ports. Here are logs: --- begin stdout/stderr log --- Executing 'builtin_dd if=orlando-2009-may26-june3.iso of=/dev/pass1 obs=32k seek=0'

please recommend a disk-exercising program?

2009-06-07 Thread John .
Hello list, Can anyone please recommend to me a program that will stress-test a disk? If it matters, two are connected by firewire, another via usb. Filesystem is ufs. I think I have a disk that might be about to fail, but it only sometimes errors when under stress. I need to see if it was a

Modbus I/O Module - Cost Effective

2009-06-07 Thread Exemys
This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. ___ freebsd-questions@freebsd.org mailing list

Re: please recommend a disk-exercising program?

2009-06-07 Thread Glen Barber
Hi, John On Sun, Jun 7, 2009 at 5:43 AM, John .comp.j...@googlemail.com wrote: Hello list, Can anyone please recommend to me a program that will stress-test a disk? If it matters, two are connected by firewire, another via usb. Filesystem is ufs. I think I have a disk that might be about to

Re: please recommend a disk-exercising program?

2009-06-07 Thread John .
Hi Glen, thanks for replying You can use dd(1) to stress test disk I/O.  Something like this should work: dd if=/dev/${YOURDISK} of=/dev/null bs=1024k That will show me thruput. I need to see if bad blocks or similar are happening. Something like scandisk for instance. Maybe I'm thinking the

Re: please recommend a disk-exercising program?

2009-06-07 Thread Glen Barber
On Sun, Jun 7, 2009 at 6:05 AM, John .comp.j...@googlemail.com wrote: Hi Glen, thanks for replying You can use dd(1) to stress test disk I/O.  Something like this should work: dd if=/dev/${YOURDISK} of=/dev/null bs=1024k That will show me thruput. I need to see if bad blocks or similar are

Re: please recommend a disk-exercising program?

2009-06-07 Thread Jerry
On Sun, 7 Jun 2009 10:43:40 +0100 John . comp.j...@googlemail.com wrote: Hello list, Can anyone please recommend to me a program that will stress-test a disk? If it matters, two are connected by firewire, another via usb. Filesystem is ufs. I think I have a disk that might be about to fail, but

Re: please recommend a disk-exercising program?

2009-06-07 Thread Michael David Crawford
Check the downloads section at the disk manufacturer's website. All the disk vendors have utilities that can test their disks. Generally these utilities can use proprietary commands to exercise self-test functions that generally aren't accessible to non-proprietary test code. Most of the

Re: Stale lockfile

2009-06-07 Thread Jos Chrispijn
I see; I think I change the 'Copy' shortcut key in Putty to something else than Ctrl-C. Thanks guys for your input. Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Samba3 domain controller howto?

2009-06-07 Thread Dave
Hello, I've found a lot of this for LInux, but am looking for something FreeBSD specific. I'm wanting to set up a FreeBSD 7.2 machine, samba3, dynamic dhcp and dns, to act as a domain controller. Has anyone done this and do you have some notes or a howto? Thanks. Dave.

Re[8]: fatal trap 12

2009-06-07 Thread georg
Hello. After patch, whan make kernel I have this: /usr/src/sys/kern/vfs_vnops.c:750:37: error: macro vn_lock requires 3 arguments, but only 2 given /usr/src/sys/kern/vfs_vnops.c: In function 'vn_ioctl': /usr/src/sys/kern/vfs_vnops.c:750: error: 'vn_lock' undeclared (first use in this function)

Re: please recommend a disk-exercising program?

2009-06-07 Thread Wojciech Puchar
Hello list, Can anyone please recommend to me a program that will stress-test a disk? If it matters, two are connected by firewire, another via usb. Filesystem is ufs. I think I have a disk that might be about to fail, but it only sometimes errors when under stress. I need to see if it if it's

Re: please recommend a disk-exercising program?

2009-06-07 Thread Wojciech Puchar
That will show me thruput. I need to see if bad blocks or similar are happening. you will - dd will fail with error that case ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: please recommend a disk-exercising program?

2009-06-07 Thread Wojciech Puchar
Check the downloads section at the disk manufacturer's website. All the disk vendors have utilities that can test their disks. by doing the same as dd of=/dev/null :) as least seagate one. ___ freebsd-questions@freebsd.org mailing list

Re: please recommend a disk-exercising program?

2009-06-07 Thread John .
Hi everyone 2009/6/7 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: Check the downloads section at the disk manufacturer's website.  All the disk vendors have utilities that can test their disks. by doing the same as dd of=/dev/null :) as least seagate one. :D okok, dd it is. I'll remove

Re: usb device not recognised

2009-06-07 Thread jdbca
On Sáb Jun 6 14:42 , Wojciech Puch= ar sent: When the TL= -C300 is plugged in after boot, it produces the following console report:-= /span umass1: on uh= ub2 (probe0:umass-sim1:1:0:0): TEST UNIT READY= . CDB: 0 0 0 0 0 0 (probe0:umass-sim1:1:0:0): CAM

Re: Set Terminal title in xfce to pwd

2009-06-07 Thread Nikos Vassiliadis
Daniel Underwood wrote: How can I change the Terminal title (the title shown on open instances of Terminal on the panel in xfce) to display *only* the present working directory. Currently they all show Terminal - dan...@bsdbox: ~, for example. That's shell dependent. You can change an xterm's

No shutdown reboot

2009-06-07 Thread jdbca
I am running FreeBSD 7.2 - stable and update regularly. Following a recent update, I am now unable to shutdown or reboot my compute= r using reboot, shutdown -r now, halt -p or shutdown -p now. This has always worked before. Instead of shutting down or rebooting, the computer

Re: usb device not recognised

2009-06-07 Thread Wojciech Puchar
I played around with the quirks and found that it needs both these to create the device and make it mountable:- NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE Works fine now please make patch with diff -u diff -u usbdevs.orig usbdevs /tmp/patch.txt diff -u umass.c.orig

Re: please recommend a disk-exercising program?

2009-06-07 Thread Wojciech Puchar
:D okok, dd it is. I'll remove all data beforehand just in case. Thank you all for your replies. -- you may cure badblocks by dd if=/dev/zero of=/dev/disk bs=1m (but cleaning all data) Disk will try to remap badblocks then. But remember that it only make it's life a bit longer. this disk

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
Manolis Kiagias wrote: Luke Dean wrote: This is an answer to a question I started to post, but then decided to research instead. I know many readers of this list use the feature I'm describing. When Xorg was upgraded to version 7.4, the historic ability to shut down X with

Re: Samba3 domain controller howto?

2009-06-07 Thread Mark Busby
--- On Sun, 6/7/09, Dave dave.meh...@gmail.com wrote: From: Dave dave.meh...@gmail.com Subject: Samba3 domain controller howto? To: freebsd-questions@freebsd.org Date: Sunday, June 7, 2009, 6:28 AM Hello,     I've found a lot of this for LInux, but am looking for something FreeBSD

Re: please recommend a disk-exercising program?

2009-06-07 Thread Geoff Fritz
On Sun, Jun 07, 2009 at 10:43:40AM +0100, John . wrote: Hello list, Can anyone please recommend to me a program that will stress-test a disk? If it matters, two are connected by firewire, another via usb. Filesystem is ufs. I think I have a disk that might be about to fail, but it only

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar
can older Xorg server be used with just updated drivers? drivers are separate modules. On Sun, 7 Jun 2009, Manolis Kiagias wrote: Manolis Kiagias wrote: Luke Dean wrote: This is an answer to a question I started to post, but then decided to research instead. I know many readers of this

Re: please recommend a disk-exercising program?

2009-06-07 Thread Wojciech Puchar
I've seen several mentions of dd in this thread, and I'll say that I've seen several recommendations elsewhere to use a simple: dd if=/dev/device of=/dev/device forgot bs=1m or at least 64kB, unless you like to wait days with default bs=512 to refresh the drive. That is, dd will

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Luke Dean
On Sun, 7 Jun 2009, Manolis Kiagias wrote: Manolis Kiagias wrote: Luke Dean wrote: This is an answer to a question I started to post, but then decided to research instead. I know many readers of this list use the feature I'm describing. When Xorg was upgraded to version 7.4, the historic

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Samuel Martín Moro
it may, dealing with portupgrade/portdowngrade but setting AllowEmptyInput (ServerLayout) works. hal is'nt well documented... it'ld be a good idea to explain its configuration in the handbook Samuel Martín Moro CamTrace {EPITECH.} tek3 On Sun, Jun 7, 2009 at 7:48 PM, Wojciech Puchar

IBM TSM server

2009-06-07 Thread claudiu vasadi
Hello again. About a week ago I cryed on your shoulders but since no one is answering I am crying again. This time with more accurate data. My sistem is a P4 2.66 Mhz (sk 478) Intel P4 processor with 1 GB DDR1 ram, mobo Asus p4p800-x with 2 HDD's. One of them (ad2 ) is a Samsing SpinPoint of

Re: please recommend a disk-exercising program?

2009-06-07 Thread Geoff Fritz
On Sun, Jun 07, 2009 at 07:49:41PM +0200, Wojciech Puchar wrote: I've seen several mentions of dd in this thread, and I'll say that I've seen several recommendations elsewhere to use a simple: dd if=/dev/device of=/dev/device forgot bs=1m or at least 64kB, unless you like to wait

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
Wojciech Puchar wrote: can older Xorg server be used with just updated drivers? drivers are separate modules. Never tried, but the way Xorg is going this looks kind of frightening ;) ___ freebsd-questions@freebsd.org mailing list

Re: Samba3 domain controller howto?

2009-06-07 Thread Tim Judd
On 6/7/09, Mark Busby redt...@sbcglobal.net wrote: --- On Sun, 6/7/09, Dave dave.meh...@gmail.com wrote: From: Dave dave.meh...@gmail.com Subject: Samba3 domain controller howto? To: freebsd-questions@freebsd.org Date: Sunday, June 7, 2009, 6:28 AM Hello, I've found a lot of this

Re: IBM TSM server

2009-06-07 Thread Wojciech Puchar
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:

Re: please recommend a disk-exercising program?

2009-06-07 Thread Wojciech Puchar
It's not like the badblocks command is particularly speedy, either. I imagine that *any* thorough drive test would take a long while given today's typical drive size. ca 2 hours on 500GB disk with bs=1m ___ freebsd-questions@freebsd.org mailing list

Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar
Wojciech Puchar wrote: can older Xorg server be used with just updated drivers? drivers are separate modules. Never tried, but the way Xorg is going this looks kind of frightening ;) that's why i'm asking. To do it that way in port system, because Xorg started to follow linux way and

Re: IBM TSM server

2009-06-07 Thread claudiu vasadi
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:

Re: enclose code and testfile.

2009-06-07 Thread Karl Vogel
On Sat, 6 Jun 2009 18:22:00 -0700, Gary Kline kl...@thought.org said: G I'm encloseing a brief C program that skips over php delimiters and a G 74-byte test file. Am wondering if there is a better way. #!/usr/bin/perl -w # skip PHP stuff in a file use strict; my ($prev, $match);

issue with dhcp and dns

2009-06-07 Thread Dave
Hello, I'm trying to get dhcp and dns going ddns on FreeBSD 7.2. In my dhcpd.leases file i see the forward and reverse information given on the lease. A host fqdn and a host IP address both return correct dns information on this host. My issue is if i check the forward and reverse zone

Re: enclose code and testfile.

2009-06-07 Thread Gary Kline
On Sun, Jun 07, 2009 at 04:52:10PM -0400, Karl Vogel wrote: On Sat, 6 Jun 2009 18:22:00 -0700, Gary Kline kl...@thought.org said: G I'm encloseing a brief C program that skips over php delimiters and a G 74-byte test file. Am wondering if there is a better way. tHanks for

Which nVidea driver to install

2009-06-07 Thread Carmel
I have an nVidia Geforce 6150LE chip on the motherboard. Should I install the x11/nvidia-driver or the NV driver in x11-drivers/xorg-drivers? Would it cause a conflict if I tried to install both and do I even need both of them? -- Carmel ___

Re: Which nVidea driver to install

2009-06-07 Thread Michael Powell
Carmel wrote: I have an nVidia Geforce 6150LE chip on the motherboard. Should I install the x11/nvidia-driver or the NV driver in x11-drivers/xorg-drivers? Would it cause a conflict if I tried to install both and do I even need both of them? Install the nvidia driver if your install is

Re: issue with dhcp and dns

2009-06-07 Thread Tim Judd
I've had a BIND/DHCP dynamic dns solution, but it was very frustrating to get it all working together. Security/ACL/various DHCP clients not requesting a DNS update, blah blah blah. If you've never used dnsmasq, look it up. It simplifies the DHCP, DNS and dynamic DNS functioning down to a

Re: issue with dhcp and dns

2009-06-07 Thread Erik Norgaard
Dave wrote: I'm trying to get dhcp and dns going ddns on FreeBSD 7.2. In my dhcpd.leases file i see the forward and reverse information given on the lease. A host fqdn and a host IP address both return correct dns information on this host. My issue is if i check the forward and reverse

burncd

2009-06-07 Thread Chuck Bacon
I have used burncd to burn both audio and data CDs, the latter almost always a FreeBSD d{oc,isc{1,2,3}} ; but I was stopped for quite a while when trying to burn the recent 7.2-RELEASE DVD iso. After losing three DVD+R blanks to mistakes, I bought a DVD-R pack, and found I could burn a DVD using

Re: ISP questions

2009-06-07 Thread Chad Perrin
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

Re: ISP questions

2009-06-07 Thread Chad Perrin
On Fri, Jun 05, 2009 at 06:23:56PM +0200, Wojciech Puchar wrote: The tech support people do what they are told to do. If you've ever had a job in which every single incoming call is someone who is frustrated, angry and is going to take it out on *you*, it might be understandable why the tech

Re: usb device not recognised

2009-06-07 Thread Reed Loefgren
Wojciech Puchar wrote: I played around with the quirks and found that it needs both these to create the device and make it mountable:- NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE Works fine now please make patch with diff -u diff -u usbdevs.orig usbdevs

Re: Samba3 domain controller howto?

2009-06-07 Thread Olivier Nicole
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

Re: Samba3 domain controller howto?

2009-06-07 Thread Tim Judd
yes, you are mis-understanding samba itself is a NT4-type domain. 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

Re: Which nVidea driver to install

2009-06-07 Thread RW
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. I think that's misleading, AFAIK it's

Re: burncd

2009-06-07 Thread RW
On Sun, 7 Jun 2009 21:11:58 -0400 (EDT) Chuck Bacon c...@cape.com wrote: Is there a better tool than burncd? I've used burncd for CD's, but for DVDs I follow the handbook, and have never had any problems: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

General and specific make questions

2009-06-07 Thread Lars Eighner
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

Re: burncd

2009-06-07 Thread David M. Patronis
RW wrote: On Sun, 7 Jun 2009 21:11:58 -0400 (EDT) Chuck Bacon c...@cape.com wrote: Is there a better tool than burncd? I've used burncd for CD's, but for DVDs I follow the handbook, and have never had any problems: