Re: Which nVidea driver to install

2009-06-07 Thread Michael Powell
RW wrote:

> On Sun, 07 Jun 2009 20:13:30 -0400
> Michael Powell  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: IBM TSM server

2009-06-07 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: burncd

2009-06-07 Thread David M. Patronis

RW wrote:

On Sun, 7 Jun 2009 21:11:58 -0400 (EDT)
Chuck Bacon  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

___

  
I second that, cdrecord and growisofs (part of the dvd+rw-tools package) 
are essential for modern machines. Although using burncd works well 
enough on my ancient rigs, a recent attempt to use burncd with a SATA 
optical drive resulted in a kernel panic. I suspect, unlike cdrecord and 
growisofs, that burncd is no longer a modern utility, and is in serious 
need of an overhaul.


David

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


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

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: burncd

2009-06-07 Thread RW
On Sun, 7 Jun 2009 21:11:58 -0400 (EDT)
Chuck Bacon  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

___
freebsd-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-07 Thread RW
On Sun, 07 Jun 2009 20:13:30 -0400
Michael Powell  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 more a case that it can optionally
support OpenGL for Linux binaries, in which case it acquires some Linux
dependencies.

> Sometimes with laptop built-in chips it can be difficult to get
> things going because of a non-standard resolution requiring a
> non-standard modeline. In such situations the nv xorg driver will
> probably be easier to get going. The ultimate fallback is VESA mode,
> but nobody wants that if it can be avoided.

I've never had a problem with either, they both have their own
configuration program to generate xorg.conf

___
freebsd-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-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 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  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"


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
___
freebsd-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-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 >/tmp/patch.txt
diff -u umass.c.orig umass.c >>/tmp/patch.txt

and do sent-pr (by sent-pr program or FreeBSD webpage), describe a 
problem and attach /tmp/patch.txt


so maintainers can put this in FreeBSD sources.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


I just saw this post and need a link to the thread and a definition of 
the term "played around with the quirks". I have a just-re-installed 
7.2-RELEASE system (a bad SCSI cable trashed the original geom mirror 
install) and dmesg mentions at boot:


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


If I plug in a Lexar usb key I get:

Jun  7 19:27:24 bimbo kernel: uhub2: port 2 reset failed
Jun  7 19:27:56 bimbo last message repeated 30 times

The port number varies depending on which USB jack I have the cable 
plugged in to. My Canon Powershot A630 fails as well. As a probably 
unrelated aside, when trying to initialize and then talk to a serial 
interfaced temperature monitoring device, I get:


bimbo [103] [7:30pm] [/export/digitemp-3.4.0]$ ./digitemp_DS9097U -i 
-s/dev/cuad0

DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Error 5: DS2480B Adapter Not Detected
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed

My point here is that all of this worked properly before the reinstall. 
The only difference was that the earlier 7.2 install was an upgraded 7.1 
install which was itself once 7.0. The new install is from the 7.2 
Release CD. It fails using GENERIC as well as my kernel. CPU is an AMD 
X3 720 black on an Asus M4A79T motherboard running i386.


This too might help somebody:

bimbo [106] [7:40pm] [/export/digitemp-3.4.0]$ dmesg | grep usb
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0:  on usb0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1:  on usb1
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2:  on usb2
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3:  on ohci2
usb3: USB revision 1.0
uhub3:  on usb3
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4:  on ohci3
usb4: USB revision 1.0
uhub4:  on usb4
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5:  on ehci1
usb5: USB revision 2.0
uhub5:  on usb5
usb6: OHCI version 1.0, legacy support
usb6: SMM does not respond, resetting
usb6:  on ohci4
usb6: USB revision 1.0
uhub6:  on usb6
bimbo [107] [7:40pm] [/export/digitemp-3.4.0]$

Apologies for the shotgun, I'm pretty tired and frustrated.

r

___
freebsd-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-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 support call centre business is like an employee revolving
> >door, and they can't keep anyone longer than a few months.
> 
> I think there are people doing this that can work for years. just a matter 
> of personal character, they could completely don't care :)

In my experience, the people who remain in such positions for more than a
couple years and don't quit or get moved/promoted somewhere else tend to
turn into BOFH-types who have a sense of entitlement, enjoy making
others' lives difficult, and epitomize the very worst qualities of common
tech support personnel.  They basically turn into (or were, from the
beginning) people that should just get an ass-kicking about daily.

There are exceptions, of course, but they're few and far between, from
what I've seen.


> 
> Some still insist that it's our fault, they we have to go to them, run 
> some DVD-bootable linux distro with web browser and show that all is fine 

God, I *wish* I could find ISP tech support people who were knowledgeable
enough to do something like that -- then maybe when I have a connectivity
problem we'd actually be able to sort the problem out in one call,
instead of the tech support people I talk to being hampered by both lack
of knowledge and bureaucratic shackles so that nothing's going to get
fixed for at least three hours.

My at one point ISP actually had (I don't know if this is still the case)
a special telephone number to call for some stupid automated connectivity
test to be run, and when I called once to try to get troubleshooting for
my connection I was told to hang up, call that number, follow directions,
then call back with the case number it gave me if there was actually a
connectivity problem.  Seriously, this is what it has come to -- nobody
knows how to use ping or traceroute any longer, apparently.  This is
especially problematic when the problem I was having wasn't a complete
outage, but *intermittent* service failure, so the damned thing didn't
even detect a connection problem because there wasn't one at that exact
moment.

Anyway . . . my point is that I'd love to deal with tech support that
knows what a Linux distribution LiveCD is, rather than tech support that
doesn't know what ping and traceroute are.  I get the feeling modern
public corporation ISPs actually *want* their tech support personnel to
be ignorant morons so they can avoid having to fix problems, simply
snowing users in with stupidity long enough to see if the problem "goes
away" (even if only by the customer going away in annoyance).  Clearly,
individual customers aren't important to ISP management these days.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Martin Golding: "Always code as if the guy who ends up maintaining
your code will be a violent psychopath who knows where you live."


pgpqZcbXRBiLg.pgp
Description: PGP signature


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

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Robert Martin: "Would you rather Test-First, or Debug-Later?"


pgpO4IKR0s0Ds.pgp
Description: PGP signature


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 burncd.  HOWEVER, it failed during fixate.
I could boot from it, but the new OS said it couldn't mount root!
Later attempts to mount the DVD from previous 7.1 also failed.

Is there a better tool than burncd?  I resorted to using disc1, which
worked as always, and then copying the packages collection from 
the mounted DVD ISO (note the ISO could be mounted, but not the DVD)

before sysinstall could drive me crazy with its disc{1,2,3} swapping
insanity.

BTW I have a DSL connection, 768bps, 89.5Bps on a good day.  From
ftp10.freebsd.org it took me about 5 hours to get the DVD, plus another
2+ hours for disc1.  Beh.

Sorry if I'm dissembling.  Just that 7.2 has been more headache than
previous distros like 7.1, 7.0, 6.3 etc.  Mebbe I'll mention some of
the problems - like What is HAL, essential to getting X up?  Solved,
BTW, but no help during sysinstall.

Thanks for FreeBSD!  I've used it as a retired sysadmin since 386BSD.

Chuck Bacon -- c...@cape.com
ABHOR SECRECY -- DEFEND PRIVACY
___
freebsd-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: 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 zone files i do
not see records for the new host. I do see two .jnl files. In
/var/log/messages i do see the error about the working directory not being
writable, other than that that is it, named indicates it is running. I'm
wondering if it takes a while to update the records?


I have just set up ddns this week, to correctly update the records, bind
will update the zone files, if these are not writable it fails. I don't
know the role of the jnl files.

I created a directory dynamic/ with owner bind:bind for dynamically
updated zone files. I found it a  good idea to create separate zones
for the dynamic dns and static dns. For example I have for dynamic dns

dynamic/1-16-172-dyn.example.com
dynamic/1.16.172.in-addr.arpa

and for static dns

master/example.com
master/0.16.172.in-addr.arpa

You must create empty zone files for the dynamic dns zones just
including the SOA record.

If this doesn't help, post the log entry from your messages, and try
also running named in foreground to see what happens.

BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: 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 simple file.  If a client
doesn't update, you may need to tweak the dhcp client config file is
all.  recent windows (since 98 or so) always request it.  I've had to
tweak many others.


Good luck.

On 6/7/09, Dave  wrote:
> 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 files i do
> not see records for the new host. I do see two .jnl files. In
> /var/log/messages i do see the error about the working directory not being
> writable, other than that that is it, named indicates it is running. I'm
> wondering if it takes a while to update the records?
> Thanks.
> Dave.
>
> ___
> freebsd-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-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 i386 and not 64 bit. The nvidia 
driver doesn't work yet for 64 bit installs. The main reason to really want 
the nvidia driver is for desktop software such as KDE or Gnome. My 
experience with KDE is I wouldn't want to run it without the nvidia driver.

You can install the nv driver as well. The two don't really interact with 
one another. You may install the nv first if you wish, then work on getting 
Xorg going, as this sometimes entails manually editing xorg.conf the hard 
way. I know Xorg is supposedly "automagic" these days, but for some reason 
or another I always seem to end up editing xorg.conf myself to get it to do 
what I want.

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.

Sometimes with laptop built-in chips it can be difficult to get things going 
because of a non-standard resolution requiring a non-standard modeline. In 
such situations the nv xorg driver will probably be easier to get going. The 
ultimate fallback is VESA mode, but nobody wants that if it can be avoided.

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

http://us.download.nvidia.com/freebsd/180.60/README/appendix-e.html

Bottom line is you can start with the nv first and change up to the nvidia-
driver later. The two are not mutually exclusive, meaning even though you 
only utilize one, or the other, they can both coexist on the same system 
without difficulty.

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


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
___
freebsd-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: 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  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 your perl script.  What I should have added was that I was
looking for a better way in C.  It needs to fit into my ascii-to-markup
program.  The function to scotch ,  is more than a few 
lines
because of error-checking.  

In addition to a C function that would skip BEGIN and END delimiters, 
like
the one I cobbled together, is one possible with *any* fixed 
delimiters--
say, 3- or 4- to some reasonable N- characters?

My hunch is NO. Or at least nothing very simply for some small N, >= 7.
(I'm thinking of the java code blurbs that end in something like "//>"

For the php case, I could have used the "<" and ">" delimiters, but
thought better of it.  

gary


>#!/usr/bin/perl -w
># skip PHP stuff in a file
> 
>use strict;
>my ($prev, $match);
> 
># slurp up the entire file.
>undef $/;
>$_ = <>;
> 
>while (s/
>  (.*?) # get text that doesn't include delimiters...
>  (<\?.*?\?>)   # ... plus text in ONE set of delimiters...
>  //xsm)# ... matching across multiple lines
>{
>$prev = $1; # text before $match = $2;# text inside 
>print "$prev";
>}
> 
>print "$_\n";   # whatever's left over.
>exit(0);
> 
> -- 
> Karl Vogel  I don't speak for the USAF or my company
> 
> Programming is like sex:  one mistake and you have to
> support for a lifetime. --unknown
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


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 files i do
not see records for the new host. I do see two .jnl files. In
/var/log/messages i do see the error about the working directory not being
writable, other than that that is it, named indicates it is running. I'm
wondering if it takes a while to update the records?
Thanks.
Dave.

___
freebsd-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: enclose code and testfile.

2009-06-07 Thread Karl Vogel
>> On Sat, 6 Jun 2009 18:22:00 -0700, 
>> Gary Kline  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);

   # slurp up the entire file.
   undef $/;
   $_ = <>;

   while (s/
 (.*?) # get text that doesn't include delimiters...
 (<\?.*?\?>)   # ... plus text in ONE set of delimiters...
 //xsm)# ... matching across multiple lines
   {
   $prev = $1; # text before 
   print "$prev";
   }

   print "$_\n";   # whatever's left over.
   exit(0);

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

Programming is like sex:  one mistake and you have to
support for a lifetime. --unknown
___
freebsd-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-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: g_vfs_done():ad6s1e[READ(offset=63203147776,
>> length=16384)]error = 6
>> Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048,
>> length=16384)]error = 6
>>
>
>
> isn;t it trying to read past the end of disk?
>

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

And on both drives ?


Feels to me a problem for the developers. HDD's didn't give me one problem
since the day the got installed. I'm not saing that they are very good HDD's
(in fact they are quite cheap ones) but fail all of a sudden ? And leaving
this asside, they dnt give one error on masive transfers and still have very
good transfer speed. What I'm saing is that hdd failure could be a
posibility of course, but a unlikely one at this point.

My problem is that I do not know what tehnik TSM server uses for creating
those files because at some point it fails. Strainge thing is that it goes
over 1G. First it creates the file and then it populates the file up until
the given limit (25G in this case).

I will try something tomorow. I will again start the tsm server to add the
space (the 25G free space) to the pool and will monitor the file size up
until the OS crashes. I'm very curious what's the size of the file when the
OS crashes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 "kde/gnome way" i.e.


- adding hald as a "requirement" by default
- disabling CTRL-ALT-backspace by default - of course user should not 
leave X session, it's forbidden ;)


it's not funny, because while i don't use all these KDE/gnome things, i do 
need X.


Actually X11 isn't quite unix philosophy, it should be graphics support in 
console driver, but it's not possible to do it now with so many gfx cards.



I wonder how long it will take that we will have to build our own 
computer to be able to run unix normally. Maybe someone will do, using off 
the shelf CPUs, and quite simple gfx controller.
Actually not many unix users do need all these 3D functions. most just 
need framebuffer with 2D acceleration.

___
freebsd-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: 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
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-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: g_vfs_done():ad6s1d[READ(offset=86539010048,
length=16384)]error = 6



isn;t it trying to read past the end of disk?
___
freebsd-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-07 Thread Tim Judd
On 6/7/09, Mark Busby  wrote:
>
>
>
> --- On Sun, 6/7/09, Dave  wrote:
>
>> From: Dave 
>> 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 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.
>
>
> The samba howto's on the samba website cover this very well, the only step I
> can think of that is a bit diff on freebsd, is adding the $ to the machine
> account but it's stated on the website.
> Dhcp is covered in the handbook on the freebsd website.
>


dns/dnsmasq for DHCP and DNS (will provide dynamic DNS)
samba for windows networking shares.  Samba is still only a NT4-type
DC, no Active Directory type of function (Group Policies, u...@domain
logins, kerberos, ldap, etc)

Samba's own password db is quite advanced, but samba itself is still a
NT4-type of function.
___
freebsd-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: 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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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/ of=/dev/
> 
> forgot bs=1m or at least 64kB, unless you like to wait days with default 
> bs=512

Such things should be understood, more or less.  I didn't want to confuse the
issue with extra options.  But you are correct.  These options will greatly
speed up the process for dd.

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.

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


IBM TSM server

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 80GB ATA and is the one used by the actual OS. The second one (ad6) is a
WD 250 GB S-ATA2 and has some data on it. The server acts as a web server,
ftp server, NAS, samba svr, a p2p server (verlihub) and just about every
normal app a mental deranged person can have running :P (those kind that dnt
have money to buy the ultra ultimate bullshit in hardware or more than two 2
pc's. Leaving this asside here is my situation.

Ups, almost forgot. I have a FreeBSD-7.0-STABLE.

I have a Windows machine with vmware and solaris on it. In solaris there is
a IBM TSM (Tape Storage Management) Server. The server can use disks over
tapes to build pools. So I added the local windows disks, and have some 30 G
of free space on freebsd, so I thought, I would add them to the storage
pool. There's my mistake ... thinking :P

Every time I try to add that space to the storage pool the system crashes
with a kernel panic.

Here is the /var/log/messages file

Jun  7 21:03:45 da1 fsck: /dev/ad6s1d: INCORRECT BLOCK COUNT I=5652481 (0
should be 4) (CORRECTED)
Jun  7 21:03:45 da1 fsck: /dev/ad6s1d: 16137 files, 45577224 used, 15357050
free (2210 frags, 1919355 blocks, 0.0% fragmentation)
Jun  7 21:10:47 da1 syslogd: kernel boot file is /boot/kernel/kernel
Jun  7 21:10:47 da1 kernel: ad6: FAILURE - device detached
Jun  7 21:10:47 da1 kernel: subdisk6: detached
Jun  7 21:10:47 da1 kernel: ad6: detached
Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86540058624,
length=16384)]error = 6
Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1e[READ(offset=63203147776,
length=16384)]error = 6
Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048,
length=16384)]error = 6
[...]
[...]
[...]
Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=46438858752,
length=16384)]error = 6
Jun  7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=46252277760,
length=16384)]error = 6
Jun  7 21:10:47 da1 kernel: panic: vinvalbuf: dirty bufs
Jun  7 21:10:47 da1 kernel: cpuid = 0
Jun  7 21:10:47 da1 kernel: Uptime: 21m50s
Jun  7 21:10:47 da1 kernel: Physical memory: 1011 MB


So I'm guesing the script that adds the space to the pool is doing some
crap.

I tryed using both HDD's but the result is the same -> sistem crash. I have
no kernel dump file defined yet (dnt ask why, I've setted up long ago but
for some reason this time it didn't write to it)
.

REPRODUCE: The only way to reproduce the problem is by telling tsm server to
add the available 30G off free space.

What the tsm server doesm, is it creates a file of a given size, in this
case 25G out of the total of 30G, and then populates the file with whatever
data it is given as backup data.

I really have no ideea if this is the right mailing list for this matter. If
it is not, please advise in this matter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 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 <
woj...@wojtek.tensor.gdynia.pl> wrote:

> 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 list use the feature I'm
 describing.

 When Xorg was upgraded to version 7.4, the historic ability to shut
 down X
 with Control+Alt+Backspace became a non-default option.  The solution to
 re-enabling this behavior was to add
Option "DontZap" "off"
 to the ServerLayout or ServerFlags section of xorg.conf as documented in
 a note in the Handbook
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

 A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the
 solution
 in the Handbook is no longer sufficient.

 The new solution that gets Control+Alt+Backspace working for me
 again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
 to the "InputDevice" section of xorg.conf.



>>> Thanks for mentioning this. I have not yet upgraded to the new version
>>> of xkeyboard-config, but will try this and update the Handbook
>>> accordingly.
>>>
>>>
>>>
>> This gets even more complicated - the setting in xorg.conf will only be
>> effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
>> false).  On systems that totally rely on HAL for device detection, the
>> setting has to be moved to an XML file like this:
>>
>> 
>> 
>>  
>>
>>  kbd
>>  pc105
>>  us
>>  xorg
>>  > type="string">terminate:ctrl_alt_bksp
>>
>>  
>> 
>>
>> which should be named i.e. keyboard.fdi and placed in
>> /usr/local/etc/hal/fdi/policy
>>
>> In light of the above, I feel we probably need to add a section on
>> "Configuring Additional Options Using HAL" to the Handbook.
>>
>> ___
>> freebsd-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: 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 ability to shut
down X
with Control+Alt+Backspace became a non-default option.  The solution to
re-enabling this behavior was to add
Option "DontZap" "off"
to the ServerLayout or ServerFlags section of xorg.conf as documented in
a note in the Handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
in the Handbook is no longer sufficient.

The new solution that gets Control+Alt+Backspace working for me
again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
to the "InputDevice" section of xorg.conf.




Thanks for mentioning this. I have not yet upgraded to the new version
of xkeyboard-config, but will try this and update the Handbook accordingly.




This gets even more complicated - the setting in xorg.conf will only be
effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
false).  On systems that totally rely on HAL for device detection, the
setting has to be moved to an XML file like this:



  

  kbd
  pc105
  us
  xorg
  terminate:ctrl_alt_bksp

  


which should be named i.e. keyboard.fdi and placed in
/usr/local/etc/hal/fdi/policy

In light of the above, I feel we probably need to add a section on
"Configuring Additional Options Using HAL" to the Handbook.


Oh, okay.  I'm not running HAL and I do have "AllowEmptyInput" and
"AutoAddDevices" off, so just modifying the xorg.conf was enough
for me.
So far I've avoided HAL because it seems complicated and scary,
and I don't know what the benefits of using it would be aside
from some automounting tricks that I can live without.  It does seem
to be the wave of the future however, so any documentation that might
help ease me into that transition would be appreciated.
___
freebsd-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: 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/ of=/dev/


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 read the block(s), then attempt to
write them back, and if there are problems, the drive should re-map the sector



add conv=noerror,osync
___
freebsd-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: 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 list use the feature I'm
describing.

When Xorg was upgraded to version 7.4, the historic ability to shut
down X
with Control+Alt+Backspace became a non-default option.  The solution to
re-enabling this behavior was to add
Option "DontZap" "off"
to the ServerLayout or ServerFlags section of xorg.conf as documented in
a note in the Handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
in the Handbook is no longer sufficient.

The new solution that gets Control+Alt+Backspace working for me
again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
to the "InputDevice" section of xorg.conf.




Thanks for mentioning this. I have not yet upgraded to the new version
of xkeyboard-config, but will try this and update the Handbook accordingly.




This gets even more complicated - the setting in xorg.conf will only be
effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
false).  On systems that totally rely on HAL for device detection, the
setting has to be moved to an XML file like this:



  

  kbd
  pc105
  us
  xorg
  terminate:ctrl_alt_bksp

  


which should be named i.e. keyboard.fdi and placed in
/usr/local/etc/hal/fdi/policy

In light of the above, I feel we probably need to add a section on
"Configuring Additional Options Using HAL" to the Handbook.

___
freebsd-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: 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 sometimes errors when under stress. I need to see if it
> was a fluke or to really make it fail, so that I can get rid of it.

I believe that the "badblocks" util is what you're looking for.  It can
be found in the sysutils/e2fsprogs port.  It has both destructive and
non-destructive modes.  I've used it on Linux and FreeBSD, and it can
really exercise the disk well.

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/ of=/dev/

to "refresh" the drive.  That is, dd will read the block(s), then attempt to
write them back, and if there are problems, the drive should re-map the sector
to one without problems.  Though the dd_rescue/ddrescue/dd-rescue ports are
more tolerant of errors than the stock dd util.

Personally, I'd recommend badblocks before trying anything else.

-- Geoff
___
freebsd-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-07 Thread Mark Busby



--- On Sun, 6/7/09, Dave  wrote:

> From: Dave 
> 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 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.


The samba howto's on the samba website cover this very well, the only step I 
can think of that is a bit diff on freebsd, is adding the $ to the machine 
account but it's stated on the website.
Dhcp is covered in the handbook on the freebsd website.


> 
> ___
> freebsd-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: 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 Control+Alt+Backspace became a non-default option.  The solution to
>> re-enabling this behavior was to add
>> Option "DontZap" "off"
>> to the ServerLayout or ServerFlags section of xorg.conf as documented in
>> a note in the Handbook
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
>>
>> A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
>> in the Handbook is no longer sufficient.
>>
>> The new solution that gets Control+Alt+Backspace working for me
>> again is to add
>> Option  "XKbOptions" "terminate:ctrl_alt_bksp"
>> to the "InputDevice" section of xorg.conf.
>>
>> 
>
> Thanks for mentioning this. I have not yet upgraded to the new version
> of xkeyboard-config, but will try this and update the Handbook accordingly.
>
>   

This gets even more complicated - the setting in xorg.conf will only be
effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
false).  On systems that totally rely on HAL for device detection, the
setting has to be moved to an XML file like this:


 
   
 
   kbd
   pc105
   us
   xorg
   terminate:ctrl_alt_bksp
 
   
 

which should be named i.e. keyboard.fdi and placed in
/usr/local/etc/hal/fdi/policy

In light of the above, I feel we probably need to add a section on
"Configuring Additional Options Using HAL" to the Handbook.

___
freebsd-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: 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 will 
fail again.

___
freebsd-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-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 umass.c >>/tmp/patch.txt

and do sent-pr (by sent-pr program or FreeBSD webpage), describe a 
problem and attach /tmp/patch.txt


so maintainers can put this in FreeBSD sources.
___
freebsd-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 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 appears to halt,
   and st= ops with the
   "uptime" message. There are no error messages.
   Cheers
   DuncanB
 _

   Área de Clientes Clix – Toda a gestão dos seus
   servi�= �os online!
   http://cliente.clix.pt/. ___
freebsd-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: 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 title
by printing a specific character sequence. For example:

printf '\033]0;%s\007' 'The title goes here'

Then you have to alter the string - to include your working
directory - every time you change a line. Check the following
page for your shell:

http://www.faqs.org/docs/Linux-mini/Xterm-Title.html

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


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 Status: SCS= I Status Error
 > (probe0:umass-sim1:1:0:0): SCSI Status: Ch= eck Condition
 > (probe0:umass-sim1:1:0:0): NOT READY asc:3= a,0
 > (probe0:umass-sim1:1:0:0): Medium not pres= ent
 > (probe0:umass-sim1:1:0:0): Unretryable err= or
 > da0 at umass-sim1 bus 1 target 0 lun 0
 > da0: Removable Direct Access SCSI-0 device
 > da0: 40.000MB/s transfers
 > da0: 1900MB (3892224 512 byte sectors: 255= H 63S/T 242C)
 >
 doesn't look like too big blocksize problem...
 > but fails to create /dev/da0. Also, when i= t is plugged in, no
 other usb devices are recognised.
 >
 > Unplugging produces this:-
 >
 > umass1: at uhub2 port 2 (addr 2) disconnec= ted
 > (da0:umass-sim1:1:0:0): Synchronize cache = failed, status ==
 0x39, scsi status == 0x0
 > (da0:umass-sim1:1:0:0): lost device > (da0:umass-sim1:1:0:0): 
removing device en= try
 > umass1: detached
 If it's "Synchronize cache failed" problem, then adding entry in
 umass.c will fix it, as with my olympus FE-20
 But it's rather not main problem. maybe some other quirk?
 look at possible quirks
 Many thanks for putting me on the right track.
 I played around with the quirks and found that it needs both these
 to creat= e the
 device and make it mountable:-
 NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE
 Works fine now
 Thanks
 _

   Área de Clientes Clix – Toda a gestão dos seus
   serviÃ= §os online!
   http://cliente.clix.pt/. ___
freebsd-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: please recommend a disk-exercising program?

2009-06-07 Thread John .
Hi everyone

2009/6/7 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.

:D

okok, dd it is. I'll remove all data beforehand just in case. Thank
you all for your replies.
-- 
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: 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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 about to fail then simply read it

dd if=/dev/disk of=/dev/null bs=1m


if it will not - disk is most probably 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[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)
/usr/src/sys/kern/vfs_vnops.c:750: error: (Each undeclared identifier is 
reported only once
/usr/src/sys/kern/vfs_vnops.c:750: error: for each function it appears in.)
/usr/src/sys/kern/vfs_vnops.c:769: error: too few arguments to function 
'VOP_UNLOCK'
*** Error code 1

This problem with crashes I have after cPanel update perl to version
5.10.0...
Can some body tell me - is this global problem of FreeBSD or it only
with my installation?

> [Please, remove the questions@ on the reply, this is the topic for
> f...@].


> On Sat, Jun 06, 2009 at 08:16:00PM +0400, Chagin Dmitry wrote:
>> - Forwarded message from ge...@dts.su -
>> 
>> Date: Sat, 6 Jun 2009 10:58:11 +0400
>> From: ge...@dts.su
>> To: freebsd-questions@freebsd.org
>> Subject: Re[2]: fatal trap 12
>> 
>> Hello, Freebsd-questions.
>> 
>> After one of new crash I have this:
>> 
>> GNU gdb 6.1.1 [FreeBSD]
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you are
>> welcome to change it and/or distribute copies of it under certain conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB.  Type "show warranty" for details.
>> This GDB was configured as "amd64-marcel-freebsd"...
>> 
>> Unread portion of the kernel message buffer:
>> 
>> 
>> Fatal trap 12: page fault while in kernel mode
>> cpuid = 2; apic id = 02
>> fault virtual address   = 0x0
>> fault code  = supervisor read data, page not present
>> instruction pointer = 0x8:0x804c4eb8
>> stack pointer   = 0x10:0xff807a0478f0
>> frame pointer   = 0x10:0xff807a047930
>> 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 = 32668 (perl5.10.0)
>> Physical memory: 4082 MB
>> Dumping 1647 MB: 1632 1616 1600 1584 1568 1552 1536 1520 1504 1488 1472 1456 
>> 1440 1424 1408 1392 1376 1360 1344 1328 1312 1296 1280 1264 1248 1232 1216 
>> 1200 1184 1168 1152 1136 1120 1104 1088 1072 1056 1040 1024 1008 992 976 960 
>> 944 928 912 896 880 864 848 832 816 800 784 768 752 736 720 704 688 672 656 
>> 640 624 608 592 576 560 544 528 512 496 480 464 448 432 416 400 384 368 352 
>> 336 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16
>> 
>> Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from 
>> /boot/kernel/accf_http.ko.symbols...done.
>> done.
>> Loaded symbols for /boot/kernel/accf_http.ko
>> #0  doadump () at pcpu.h:195
>> 195 __asm __volatile("movq %%gs:0,%0" : "=r" (td));
>> (kgdb) list *0x804c4eb8
>> 0x804c4eb8 is in pfs_ioctl 
>> (/usr/src/sys/fs/pseudofs/pseudofs_vnops.c:265).
>> 260 static int
>> 261 pfs_ioctl(struct vop_ioctl_args *va)
>> 262 {
>> 263 struct vnode *vn = va->a_vp;
>> 264 struct pfs_vdata *pvd = vn->v_data;
>> 265 struct pfs_node *pn = pvd->pvd_pn;
>> 266 struct proc *proc;
>> 267 int error;
>> 268
>> 269 PFS_TRACE(("%s: %lx", pn->pn_name, va->a_command));
>> (kgdb) backtrace
>> #0  doadump () at pcpu.h:195
>> #1  0x801c8dac in db_fncall (dummy1=Variable "dummy1" is not 
>> available.
>> ) at /usr/src/sys/ddb/db_command.c:516
>> #2  0x801c92df in db_command (last_cmdp=0x80b30c88, 
>> cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:413
>> #3  0x801c94f0 in db_command_loop () at 
>> /usr/src/sys/ddb/db_command.c:466
>> #4  0x801cb0d9 in db_trap (type=Variable "type" is not available.
>> ) at /usr/src/sys/ddb/db_main.c:228
>> #5  0x80554e55 in kdb_trap (type=12, code=0, tf=0xff807a047840) 
>> at /usr/src/sys/kern/subr_kdb.c:524
>> #6  0x807fae80 in trap_fatal (frame=0xff807a047840, eva=Variable 
>> "eva" is not available.
>> ) at /usr/src/sys/amd64/amd64/trap.c:752
>> #7  0x807fb254 in trap_pfault (frame=0xff807a047840, usermode=0) 
>> at /usr/src/sys/amd64/amd64/trap.c:673
>> #8  0x807fbc02 in trap (frame=0xff807a047840) at 
>> /usr/src/sys/amd64/amd64/trap.c:444
>> #9  0x807df35e in calltrap () at 
>> /usr/src/sys/amd64/amd64/exception.S:209
>> #10 0x804c4eb8 in pfs_ioctl (va=0xff807a047a10) at 
>> /usr/src/sys/fs/pseudofs/pseudofs_vnops.c:264
>> #11 0x805bb1d3 in vn_ioctl (fp=Variable "fp" is not available.
>> ) at vnode_if.h:437
>> #12 0x80562d02 in kern_ioctl (td=0xff0006682000, fd=3, 
>> com=1076655123, data=0xff00ad2b7d40 "") at file.h:269
>> #13 0x80563029 

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.

___
freebsd-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: 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 unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 utilities are DOS boot disk images.  You make either a 
floppy or a CD from them, then boot off of it.


Mike
--
Michael David Crawford
m...@prgmr.com

   prgmr.com - We Don't Assume You Are Stupid.

  Xen-Powered Virtual Private Servers: http://prgmr.com/xen
___
freebsd-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: please recommend a disk-exercising program?

2009-06-07 Thread Jerry
On Sun, 7 Jun 2009 10:43:40 +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 sometimes errors when under stress. I need to see if it
>was a fluke or to really make it fail, so that I can get rid of it.
>
>thanks

The best one I know of is SpinRite . I have actually
used it to rebuild disks that I was told by professional technicians
were beyond hope. Of course, it is not free, so you might not be
interested.

One feature I like about it is that it creates its own start-up disk. It
is totally system independent.

-- 
Jerry
ges...@yahoo.com

Absence makes the heart forget.


signature.asc
Description: PGP signature


Re: please recommend a disk-exercising program?

2009-06-07 Thread Glen Barber
On Sun, Jun 7, 2009 at 6:05 AM, John . 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
> happening. Something like scandisk for instance.
>
> Maybe I'm thinking the wrong way. Maybe see if they have SMART and
> read from there?
>

Ah, I thought you wanted to stress test the throughput to get errors.

In that case, have a look at sysutils/smartmontools in ports.


-- 
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: 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 wrong way. Maybe see if they have SMART and
read from there?

cheers
-- 
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: please recommend a disk-exercising program?

2009-06-07 Thread Glen Barber
Hi, John

On Sun, Jun 7, 2009 at 5:43 AM, 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 sometimes errors when under stress. I need to see if it
> was a fluke or to really make it fail, so that I can get rid of it.
>

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

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


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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 fluke or to really make it fail, so that I can get rid of it.

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


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'   
/dev/pass1: "Current Write Speed" is 
4.1x1352KBps.
   1605632/3335168000 ( 0.0%) @0.0x, remaining 138:24 RBU 100.0% UBU   
2.0%  
   1605632/3335168000 ( 0.0%) @0.0x, remaining 276:49 RBU 100.0% UBU 100.0%

   1605632/3335168000 ( 0.0%) @0.0x, remaining 380:37 RBU 100.0% UBU 100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 519:02 RBU 100.0% UBU 100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 622:51 RBU 100.0% UBU 100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 726:39 RBU 100.0% UBU 100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 865:04 RBU 100.0% UBU 100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 968:52 RBU 100.0% UBU 100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1107:17 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1211:05 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1349:30 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1453:19 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1591:43 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1695:32 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1833:56 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 1937:45 RBU 100.0% UBU 
100.0%
   1605632/3335168000 ( 0.0%) @0.0x, remaining 2041:33 RBU 100.0% UBU 
100.0%

:-( unable to wr...@lba=310h: Input/output error
:-( write failed: Input/output error
/dev/pass1: flushing cache
:-[ FLUSH CACHE failed with SK=6h/POWER ON, RESET, OR BUS DEVICE RESET 
OCCURRED]: Input/output error

/dev/pass1: updating RMA
/dev/pass1: closing disc
--- end stdout/stderr log ---

--- begin dmesg log ---
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - WRITE_BIG timed out
--- end dmesg log ---

What might be wrong?

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: 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,
> >unrelated functionality. But that's harder if you want to maintain short 
> >options
> >for the common tasks.
> >Having only long options would place no such restrictions on bloating.
> >
> what program you mean about having only long options?

Wasn't referring to any particular program's. mplayer is an example though.
But that's not my point.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"