Re: my arquitecture is...

2007-07-20 Thread Norberto Meijome
On Thu, 19 Jul 2007 23:48:44 -0500
Sergio Andrés Ligregni Arredondo <[EMAIL PROTECTED]> wrote:

> 
> I have a COMPAQ Presario (laptop) V2615LA with an AMD Sempron 1.83Ghz, 40 GB 
> HD, 256 MB RAM, I have the i386 arquitecture CD-ROM, I tried to install it, I 
> see the FreeBSD boot menu (the one in console mode, with FreeBSD "drown" in 
> white), I choose 1 (default), and in the init scripts, it stuck in a line 
> that says:

You dont say what version of FreeBSD is the CD

i386 is the platform you need.

[...]

>  
> I saw the README file in the CD and it says:
>  
> FreeBSD supports COMPAQ/HP Alpha (alpha), Intel AMD (i386)...
>  
> so I tried downloading the alpha arquitecture ISO (because I have a COMPAQ), 
> but when I boot from CD it happens anything (well, like it tries to read 
> something but it doesn't appears anything) and it go right to Windows.

just because Compaq bought Alpha years ago doesn't make Compaq-made hardware of 
the alpha architecture. As a matter of fact, (unless I'm very mistaken) Compaq 
drove the last few nails in Alpha's coffin, which was a pity.

>  
> is there another arquitecture I should try? (like amd64 (but my CPU is not 
> 64))
> should I go to loader prompt and make some commands?
> is freeBSD not avaiable for some notebooks (because the drivers, or the 
> brand)?
> should I format all the HD and install FreeBSD in the hole disk?

you shouldn't have to do this.

>  
> Thank you and sorry my English, I'm from Mexico

Tu ingles esta muy bien, sergio, no te preocupes ;)

You may want to ask in [EMAIL PROTECTED] , which is a list solely for laptop  
related issues.

B
_
{Beto|Norberto|Numard} Meijome

"Always listen to experts.  They'll tell you what can't be done, and why.  
Then do it."
  Robert A. Heinlein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Possible devd bug

2007-07-20 Thread Bartłomiej Rutkowski
Hi all,

I have been playing with OpenOspf lately, and I came to a place, when I needed 
to ensure that an ethernet interface should always go into DOWN state when it 
loses its link (physically, for example the switch becames turned off). I have 
tried to hire the devd daemon to do the job with such small definitions:

notify 100 {
match "system"  "IFNET";
match "type""LINK_DOWN";
media-type  "ethernet";
action "/sbin/ifconfig $subsystem down";
};
 
notify 200 {
match "system"  "IFNET";
match "type""LINK_UP";
media-type  "ethernet";
action "/sbin/ifconfig $subsystem up";
};

And what is happening? Well, basically, when the interface detects that eth 
cable has been detached, devd triggers and makes it DOWN, which is ok. But, 
when the card got the cable attached once again (and interface detects the 
media type and gets ACTIVE state) devd never triggers the second rule, which 
should get the interface UP again. 
I have tried that with replacing action statements with ones with proper 
logging actions, and when interface is UP devd gets the proper state changes 
information. 

Now the question is: why devd doesent receive any information from interfaces 
in DOWN state? Is that proper behaviour, or a bug? Thanks for any reply, and 
for your attention.

-- 
Bartłomiej Rutkowski <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Raid monitoring - 6.2 RELEASEE - Dell SC440

2007-07-20 Thread Lars Olsson
I'm running FreeBSD 6.2 RELEASE on a Dell PowerEdge SC440 with a SAS 5/iR
Raid controller.

 

Is there any monitoring utility available for these adapters?

 

pciconf -lv:

 

[EMAIL PROTECTED]:8:0:  class=0x01 card=0x1f091028 chip=0x00541000 rev=0x01
hdr=0x00

vendor   = 'LSI Logic (Was: Symbios Logic, NCR)'

class= mass storage

subclass = SCSI

 

dmesg:

 

mpt0:  port 0xdc00-0xdcff mem
0xefdec000-0xefde,0xefdf-0xefdf irq 16 at device 8.0 on pci2

 

I will appreciate any help or hint I can get.  Thank you.

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


Re: Possible devd bug

2007-07-20 Thread Bartłomiej Rutkowski
On Fri, 20 Jul 2007 20:41:46 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:

> do you get the LINK_UP event at all? 
> Otherwise, you should be able to figure out what the issue is with your  
> config file ...
> 
> Good luck,

With rules as such:
http://rafb.net/p/TJvMJy48.html

I am getting output as such:
http://rafb.net/p/EZ8HGk42.html

What is going on?

-- 
Bartłomiej Rutkowski <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Possible devd bug

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 09:28:55 +0200 (CEST)
Bartłomiej Rutkowski <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I have been playing with OpenOspf lately, and I came to a place, when I 
> needed to ensure that an ethernet interface should always go into DOWN state 
> when it loses its link (physically, for example the switch becames turned 
> off). I have tried to hire the devd daemon to do the job with such small 
> definitions:
> 
> notify 100 {
> match "system"  "IFNET";
> match "type""LINK_DOWN";
> media-type  "ethernet";
> action "/sbin/ifconfig $subsystem down";
> };
>  
> notify 200 {
> match "system"  "IFNET";
> match "type""LINK_UP";
> media-type  "ethernet";
> action "/sbin/ifconfig $subsystem up";
> };
> 
> And what is happening? Well, basically, when the interface detects that eth 
> cable has been detached, devd triggers and makes it DOWN, which is ok. But, 
> when the card got the cable attached once again (and interface detects the 
> media type and gets ACTIVE state) devd never triggers the second rule, which 
> should get the interface UP again. 
> I have tried that with replacing action statements with ones with proper 
> logging actions, and when interface is UP devd gets the proper state changes 
> information. 
> 
> Now the question is: why devd doesent receive any information from interfaces 
> in DOWN state? Is that proper behaviour, or a bug? Thanks for any reply, and 
> for your attention.
> 

hi ,
What do you get when you run devd in debug mode :
/etc/rc.d/devd stop
/sbin/devd -d -D


in my case, i get the following on pulling the cat5 on bge0

[EMAIL PROTECTED] [Fri Jul 20 20:36:28 2007]
/usr/home/betom
# /sbin/devd -D -d
Parsing /etc/devd.conf
setting 
scsi-controller-regex=(aac|adv|adw|aha|ahb|ahc|ahd|aic|amd|amr|asr|bt|ciss|ct|dpt|esp|ida|iir|ips|isp|mlx|mly|mpt|ncr|ncv|nsp|stg|sym|trm|wds)[0-9]+
Parsing files in /etc/devd
Parsing files in /usr/local/etc/devd
Parsing /usr/local/etc/devd/ayiin.conf
Processing event '!system=IFNET subsystem=bge0 type=LINK_DOWN'
Pushing table
setting system=IFNET
setting subsystem=bge0
setting type=LINK_DOWN
Processing notify event
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^IFNET
Testing type=LINK_DOWN against ^ATTACH
Testing system=IFNET against ^IFNET
Testing type=LINK_DOWN against ^DETACH
Testing system=IFNET against ^IFNET
Testing type=LINK_DOWN against ^LINK_UP
Testing system=IFNET against ^IFNET
Testing type=LINK_DOWN against ^LINK_UP
Popping table

[AND HERE I PLUG IT BACK IN ]

Processing event '!system=IFNET subsystem=bge0 type=LINK_UP'
Pushing table
setting system=IFNET
setting subsystem=bge0
setting type=LINK_UP
Processing notify event
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^ACPI
Testing system=IFNET against ^IFNET
Testing type=LINK_UP against ^ATTACH
Testing system=IFNET against ^IFNET
Testing type=LINK_UP against ^DETACH
Testing system=IFNET against ^IFNET
Testing type=LINK_UP against ^LINK_UP
Testing media type of bge0 against 0x20
bge0 has media type 0x20
Executing '/etc/rc.d/dhclient start bge0'
Popping table

-
do you get the LINK_UP event at all? 
Otherwise, you should be able to figure out what the issue is with your  config 
file ...

Good luck,

_
{Beto|Norberto|Numard} Meijome

"Too bad ignorance isn't painful."
  Don Lindsay

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Possible devd bug

2007-07-20 Thread Bartłomiej Rutkowski
On Fri, 20 Jul 2007 20:41:46 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:

Well, I can confirm right now, that devd does not trigger, when you put eth 
interface into
DOWN state by "#ifconfig ifnameX down". Now, is that intentional behaviour or a 
bug? This 
makes those LINK_UP devd triggers totally unusable.

-- 
Bartłomiej Rutkowski <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.2-STABLE && apache 2.2.4 = bad performance. Help!

2007-07-20 Thread Stanislav Sedov
On Wed, 18 Jul 2007 23:12:57 +0100
"Michael Vaughn" <[EMAIL PROTECTED]> mentioned:

> Hello everyone,
> 
> I am contacting -performance, -questions, and -hackers in the hope someone
> helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4
> 

Try to run truss(1) on any of apache processes and look what it's doing.

-- 
Stanislav Sedov
ST4096-RIPE


pgptZ0CEO7yv2.pgp
Description: PGP signature


Re: Possible devd bug

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 12:53:23 +0200 (CEST)
Bartłomiej Rutkowski <[EMAIL PROTECTED]> wrote:

> On Fri, 20 Jul 2007 20:41:46 +1000
> Norberto Meijome <[EMAIL PROTECTED]> wrote:
> 
> > do you get the LINK_UP event at all? 
> > Otherwise, you should be able to figure out what the issue is with your  
> > config file ...
> > 
> > Good luck,
> 
> With rules as such:
> http://rafb.net/p/TJvMJy48.html
> 
> I am getting output as such:
> http://rafb.net/p/EZ8HGk42.html
> 
> What is going on?
> 

I'm sorry - I don't see what the problem is - you tell it to execute ifconfig
up/down on LINK_UP/DOWN, and that's what it says it's doing.

_
{Beto|Norberto|Numard} Meijome

Mind over matter: if you don't mind, it doesn't matter

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Possible devd bug

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 13:16:23 +0200 (CEST)
Bartłomiej Rutkowski <[EMAIL PROTECTED]> wrote:

> From: Bartłomiej Rutkowski <[EMAIL PROTECTED]>
> To: Norberto Meijome <[EMAIL PROTECTED]>
> Subject: Re: Possible devd bug
> Date: Fri, 20 Jul 2007 13:16:23 +0200 (CEST)
> X-Mailer: Sylpheed 2.4.0 (GTK+ 2.10.12; i386-portbld-freebsd6.2)

Please keep the list in CC.

> Well, I can confirm right now, that devd does not trigger, when you put eth 
> interface into
> DOWN state by "#ifconfig ifnameX down". Now, is that intentional behaviour or 
> a bug? 

well..i never expected devd to trigger a LINK_DOWN or UP event when one issues
an ifconfig down. The meanings are different - link up or down means the
physical layer, ifconfig [nic] up/down means 'enable the card in the OS' or, as
the man page puts it :

[...]
 downMark an interface ``down''.  When an interface is marked
 ``down'', the system will not attempt to transmit messages
 through that interface.  If possible, the interface will be reset
 to disable reception as well.  .

[...]
 up  Mark an interface ``up''.  This may be used to enable an inter-
 face after an ``ifconfig down''.  
[...]

---
you can have a card up or down, with or not link - they are independent. Either
link or interface down means you cannot transmit via it, but for different
reasons.

> This 
> makes those LINK_UP devd triggers totally unusable.

no, it makes them perfectly usable for the  intended objectives of devd :)

B
_
{Beto|Norberto|Numard} Meijome

Lack of planning on your part does not constitute an emergency on ours.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mail/horde

2007-07-20 Thread Jonathan Horne
i am trying to setup mail/horde on a test box, but so far i am not having much 
success.  can anyone direct me to a place where i might find tips or 
documentation for setting up the *current* port version of horde?  google 
yields documentation only for ancient versions of the port, or canonical 
sources.

or if anyone has successfully configured this, i could sure use some tips!

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any luck with Microsoft Wireless Optical Desktop USB mouse?

2007-07-20 Thread Rob

George Hartzell wrote:

I'm trying to get a Microsoft Wireless Optical Desktop working on a
Mac Pro running today's -STABLE amd64.


Wow...  A Micros$$t mouse, on an Apple-branded box, using an Intel CPU, that 
implements an AMD instruction set?!  I'm not sure if that's Good or Bad.  
Either way, it would have been a chilly day in hell not too long ago.

Sorry, I don't have any useful suggestions on your mouse problem.  The fact it is 
detected & appears in dmesg suggests the USB portion is working, at least.


Is it possible that the puck needs to somehow be told to route the mouse out 
the usb connector?


Might be;  tho most stuff is auto-detect these days.  Does microshaft's web 
site have any docs on it?

 -RW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail/horde

2007-07-20 Thread Jonathan Horne
On Friday 20 July 2007 08:36:38 Jonathan Horne wrote:
> i am trying to setup mail/horde on a test box, but so far i am not having
> much success.  can anyone direct me to a place where i might find tips or
> documentation for setting up the *current* port version of horde?  google
> yields documentation only for ancient versions of the port, or canonical
> sources.
>
> or if anyone has successfully configured this, i could sure use some tips!
>
> cheers,

sorry, i meant to say "www/horde-meta".
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Errors Upgrading from 5.4 to 6.2

2007-07-20 Thread Per olof Ljungmark

Jonathan Quist wrote:

I'm attempting to upgrade my system from 5.4 to 6.2 using sysinstall
after booting from the 6.2 cdrom. After I identify the mount points
on the existing slices and exit, I get this message: "Couldn't stat
directory /mnt/dev", followed by this message: "Unable to mount DEVFS
(error 5), and it won't continue with the upgrade. There isn't a
filesystem mounted at /mnt, and /dev is a just directory under the
root filesystemm, not a separate filesystem. Is there something I'm
doing wrong, or do I have something misconfigured? Any advice,
suggestions, pointers would be greatly appreciated.


I just did what you are trying to by following the instructions in 
/usr/src/UPDATING (from 6.2 of course, in the end of the doc). Went 
without a hitch.


/per olof
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Keyboard / Dell Optiplex 745 / FreeBSD 6.2

2007-07-20 Thread Reid Linnemann

Written by Nico -telmich- Schottelius on 07/20/07 09:45>>

Hello!

Just wanted to confirm that the usb-keyboard is not working in the
installer with Dell Optiplex 745 and FreeBSD 6.2.
Though it works in the boot loader, but stops working (num lock light
is set to off) when usb support is enabled by FreeBSD.

I also tried booting with verbose logging on, but did not
see an error, only that FreeBSD detects atkbd0, although there
is no ps/2 port (so bios ps/2 emulation).

There are many postings about the whole optiplex series out there
having that problem, but there seems no solution until today.

Or does anyone else know more about that?

Nico



I've never know what causes this, but in single user mode some USB 
keyboards on some systems refuse to work. I myself work on an Optiplex 
GX270 that exhibits the same behavior. You can get around it easily 
enough though; at the loader, set hint.atkbd0.disabled=1 and then boot, 
the problem should go away.

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


USB Keyboard / Dell Optiplex 745 / FreeBSD 6.2

2007-07-20 Thread Nico -telmich- Schottelius
Hello!

Just wanted to confirm that the usb-keyboard is not working in the
installer with Dell Optiplex 745 and FreeBSD 6.2.
Though it works in the boot loader, but stops working (num lock light
is set to off) when usb support is enabled by FreeBSD.

I also tried booting with verbose logging on, but did not
see an error, only that FreeBSD detects atkbd0, although there
is no ps/2 port (so bios ps/2 emulation).

There are many postings about the whole optiplex series out there
having that problem, but there seems no solution until today.

Or does anyone else know more about that?

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Re: Raid monitoring - 6.2 RELEASEE - Dell SC440

2007-07-20 Thread Brian A. Seklecki

On Fri, 20 Jul 2007, Lars Olsson wrote:


I'm running FreeBSD 6.2 RELEASE on a Dell PowerEdge SC440 with a SAS 5/iR


Hmmm, must be a software-assist RAID.  Does it probe a mega-volume / 
logical disk or individual components?


~BAS


Raid controller.




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


Re: portupgrade question

2007-07-20 Thread RW
On Thu, 19 Jul 2007 10:57:05 -0700
"Michael S. Eubanks" <[EMAIL PROTECTED]> wrote:

> Don't use the ``p'' option.  Use something like ``-afrRPv''.
>

-Rr doesn't  actually do anything in combination with -a 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


project-open on FreeBSD

2007-07-20 Thread Noah

Has anybody had luck installing project-open on FreeBSD?

Cheers,
Noah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installing RHEL 4 or Fedora Core 6 on FreeBSD

2007-07-20 Thread Noah

Hi,

is there a way to install RHEL 4 or Fedora Core 6 RPMs on FreeBSD?

Cheers,

 Noah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: project-open on FreeBSD

2007-07-20 Thread Giorgos Keramidas
On 2007-07-20 09:08, Noah <[EMAIL PROTECTED]> wrote:
> Has anybody had luck installing project-open on FreeBSD?

What is ``project-open''?

I don't see anything about it in the Ports Collection. Are we talking
about ?

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


Re: installing RHEL 4 or Fedora Core 6 on FreeBSD

2007-07-20 Thread Rob

Noah wrote:

is there a way to install RHEL 4 or Fedora Core 6 RPMs on FreeBSD?


rpm is in the FreeBSD ports under archivers/rpm.  IIRC, rpms are binary only, 
aren't they?  I guess if you loaded the Linux compatibility, and installed the 
rpm port, you could use it to install things to run in compat mode.  Unless you 
have need for Linux compatibility, you should use the ports or packages to 
install stuff as BSD native binaries.

 -RW

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


Re: installing RHEL 4 or Fedora Core 6 on FreeBSD

2007-07-20 Thread Boris Samorodov
On Fri, 20 Jul 2007 09:07:56 -0700 Noah wrote:

> is there a way to install RHEL 4 or Fedora Core 6 RPMs on FreeBSD?

Can't say about RHEL 4, but FC6 RPMS may be used at CURRENT with
linux_base-fc6. This is an experimental feature though. Some useful
info is located at /usr/ports/UPDATING.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: project-open on FreeBSD

2007-07-20 Thread Noah

yes


Giorgos Keramidas wrote:

On 2007-07-20 09:08, Noah <[EMAIL PROTECTED]> wrote:

Has anybody had luck installing project-open on FreeBSD?


What is ``project-open''?

I don't see anything about it in the Ports Collection. Are we talking
about ?

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


How to get best results from FreeBSD-questions

2007-07-20 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  Fr

"The Complete FreeBSD": errata and addenda

2007-07-20 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

Greg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SV: Raid monitoring - 6.2 RELEASEE - Dell SC440

2007-07-20 Thread Lars Olsson
The drives is detected as one logical drive. /dev/da0.


-Ursprungligt meddelande-
Från: Brian A. Seklecki [mailto:[EMAIL PROTECTED] 
Skickat: den 20 juli 2007 17:33
Till: Lars Olsson
Kopia: freebsd-questions@freebsd.org
Ämne: Re: Raid monitoring - 6.2 RELEASEE - Dell SC440

On Fri, 20 Jul 2007, Lars Olsson wrote:

> I'm running FreeBSD 6.2 RELEASE on a Dell PowerEdge SC440 with a SAS 5/iR

Hmmm, must be a software-assist RAID.  Does it probe a mega-volume / 
logical disk or individual components?

~BAS

> Raid controller.
>
>

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


Freeze During Boot With 6.2-RELEASE Install Disk

2007-07-20 Thread alex
I've got a machine that I'm trying to get 6.2-RELEASE installed on, in 
order to act as a backup/test config server for a production box I have 
running the same version of FreeBSD. The machine previously had 
5.3-RELEASE on a single SCSI disk, with a 4-drive SATA RAID that wasn't 
quite working right (according to the previous owner; I just got the 
system a few days ago); unfortunately, the system now refuses to 
recognize the SCSI disk, even in the Adaptec SCSI card's BIOS.


That said, when I pop in my 6.2-RELEASE boot disk, it comes up, loads 
devices, sees the SATA RAID...and then just hangs. I've tried booting 
in safe mode and with verbose logging...and it won't work either way, 
and I get no error messages.


FWIW, I took the same boot CD and popped it into an Acer laptop I had 
handy, and it went straight into the system setup menus, asking me to 
choose a country; so the CD itself seems unlikely to be the culprit. 
Additionally, I popped an OpenBSD 3.9 boot CD into the freezing 
machine, and it came right up to an install prompt -- though it saw the 
SATA disks as individual entities, and not a RAID.


Does anyone have any clue what might be causing this, and/or how to 
solve it? I'll be happy to provide additional details, I'm just not 
sure what would be helpful right now.


Thanks in advance for any help you can provide.

Alex Kirk

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


stop portmanager from building mysql-client-4.1.22

2007-07-20 Thread Noah

Hi there,

I am attempting to stop portmanager from installing mysql-client-4.1.22
so I added the following lines to my portmanager config file.

$ grep IGNORE /usr/local/etc/portmanager/pm-020.conf
#IGNORE|editors/openoffice*|
#IGNORE|java/jdk14|
IGNORE|www/apache13|
IGNORE|www/apache13*|
IGNORE|www/mod_perl|
IGNORE|net/openldap23-client|
IGNORE|net/openldap23-client*|
IGNORE|databases/mysql4*|
IGNORE|databases/mysql3*|
IGNORE|databases/postgresql*|


but still mysql-client-4.1.22 is being installed.

$ pkg_info | grep portmanager
portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility


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


Re: project-open on FreeBSD

2007-07-20 Thread Giorgos Keramidas
On 2007-07-20 09:32, Noah <[EMAIL PROTECTED]> wrote:
>
> yes
>
>Giorgos Keramidas wrote:
>> On 2007-07-20 09:08, Noah <[EMAIL PROTECTED]> wrote:
>>> Has anybody had luck installing project-open on FreeBSD?
>> What is ``project-open''?
>> I don't see anything about it in the Ports Collection. Are we talking
>> about ?

Please do not top-post :-)

There's no "port" for this piece of software, and their "simplified
installation guide" from [1] mentions a binary Linux installer.

[1] 
http://project-open.sourceforge.net/doc/manuals/PO-Unix-Simplified-Install-Guide.pdf

A binary Linux installer is not going to work for FreeBSD, so I'll have
a look at their "advanced unix installation guide" from [2],

[2] 
http://project-open.sourceforge.net/doc/manuals/PO-Unix-Advanced-Installation-Guide.pdf

but porting a big piece of software like this is probably going to
require at least a moderate amount of effort.  If our Ports team doesn't
have people experienced with project-open, would you be interested in
working with them and maintain the "project-open" port?

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


Re: SV: Raid monitoring - 6.2 RELEASEE - Dell SC440

2007-07-20 Thread Brian A. Seklecki


There might not even be one for Linux yet:

http://marc.info/?l=linux-poweredge&m=116657592817014&w=2
http://fedoraproject.org/wiki/DmraidStatus

It seems to be standards-based somehow, though:

http://people.redhat.com/~heinzm/sw/dmraid/readme

I know NetBSD ld(4) can extract that information at scan time, but I don't 
know about re-poll()'ing after boot:


mlx0 at pci0 dev 2 function 0: Mylex RAID (v2 interface)
mlx0: interrupting at dec 6600 irq 12
mlx0: DAC960P/PD, 3 channels, firmware 2.70-0-00, 8MB RAM
ld0 at mlx0 unit 0: RAID0, online
ld0: 4092 MB, 2078 cyl, 64 head, 63 sec, 512 bytes/sect x 8380416 sectors
ld1 at mlx0 unit 1: RAID0, online

( ld(4) attached to amr(4) for the MegaRAID 'lite' soft-raid HBAs)

~~BAS

On Fri, 20 Jul 2007, Lars Olsson wrote:


The drives is detected as one logical drive. /dev/da0.


-Ursprungligt meddelande-
Från: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
Skickat: den 20 juli 2007 17:33
Till: Lars Olsson
Kopia: freebsd-questions@freebsd.org
Ämne: Re: Raid monitoring - 6.2 RELEASEE - Dell SC440

On Fri, 20 Jul 2007, Lars Olsson wrote:


I'm running FreeBSD 6.2 RELEASE on a Dell PowerEdge SC440 with a SAS 5/iR


Hmmm, must be a software-assist RAID.  Does it probe a mega-volume /
logical disk or individual components?

~BAS


Raid controller.




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



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

"Guilty? Yeah. But he knows it. I mean, you're guilty.
You just don't know it. So who's really in jail?"
~Maynard James Keenan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Haskell and nox11

2007-07-20 Thread A.Rymkus
Hi, Tankko.

You wrote at 19 июля 2007 г., 18:36:24:

T> I need to install darcs on my server, and it requires Haskell (ghc)
T> which in turn seems to require the x11 system which is not installed
T> on my headless sever.

T> I have WITHOUT_X11=true set in /etc/make.conf

===>>  Extracting for darcs-1.0.9
=>> MD5 Checksum OK for darcs-1.0.9.tar.gz.
===>>   darcs-1.0.9 depends on file: /usr/local/sbin/pkg_info - found
===>>  Patching for darcs-1.0.9
===>>   darcs-1.0.9 depends on executable: ghc - not found
===>>Verifying install for ghc in /usr/ports/lang/ghc
===>>  ghc-nox11-6.6.1 unsupported at the moment.
T> *** Error code 1

T> Is this correct or I am doing something wrong?  It seems strange that
T> a programming language would require x11.

T> Is there a better was to get darcs and/or Haskell on my server without
T> installing x11?   Do most people that run backend server just install
T> x11 anyway?

T> Thanks, Tankko.
T> ___
T> freebsd-questions@freebsd.org mailing list
T> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
T> To unsubscribe, send any mail to
T> "[EMAIL PROTECTED]"

   You can try to install it as a precompiled package - you can try to
use following command 'pkg_add -r ghc-nox11-6.6.1' or 'pkg_add -r 
ghc-nox11-6.6.1.tbz' (it
will try to fetch that package). If pkg_add can't find that package,
you have to search over the net for ghc-nox11-6.6.1.tbz file and use
pkg_add without '-r' option.

-- 
WBR, A.Rymkus

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


runaway dialog processes

2007-07-20 Thread Noah

Hi there,

I am administrating a machine that has runaway dialog processes?

I am not sure what the applications are?


 3758 root   1 1320  1696K  1072K CPU1   0 290:23 98.58% dialog
 9689 root   1 1320  1696K  1060K RUN1 215:16 98.49% dialog


Any clues what could be creating this?

Cheers,

Noah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


64bit sysv ipc

2007-07-20 Thread Dan Gish

Hi,
We are working off the latest 6.2 amd64 snapshot.

# uname -a
FreeBSD anton 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Fri Jul
20 13:17:02 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/amd64/compile/MYKERNEL  amd64

The system has 8 gigs of memory.  We need to set a high SHMMAXPGS for
Postgresql, and we're unable to set it above 2 gigs.  This message
back in December mentions that "someone needs to go over the sysv ipc
code and make it 64-bit capable":

http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/137633.html

Does anyone have an update on this?  We are close to ditching FreeBSD
in order to use Postgresql in a high memory configuration.

Best Regards,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
Dear everyone on the list

On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine with
mouse wheel; ps/2 mouse do not work. Nothing happens when scrolling
mouse wheel.

As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer from
such problem or just this one, but I am sure this mouse works fine on
Windows and Ubuntu Linux with wheel.

By testing with xev it turns out no event is sent to X when scrolling
mouse wheel. By running 'moused -df -p /dev/psm0' it turns out mouse
daemon is not aware of scrolling at all (no message output when
scrolling wheel, a lot of message output when moving mouse or clicking).

Various parameter of moused is tried, including '-z 4' and various mouse
type (which always get me the message "mouse type mismatch (ps/2 !=
mouseman), ps/2 is assumed", as manual suggested there is only one type
for ps/2 mice).

Mouse section of xorg seems to be correct, and I think it's not useful
to tweak X configuration if moused cannot by itself detect mouse wheel
movement.

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "Buttons" "5"
Option  "ZAxisMapping" "4 5"
EndSection

xmodmap also shows there is no re-mapping of mouse buttons. Again if
moused isn't aware of scrolling, working on X level doesn't seem to be
helpful.

The box is thinkpad 380XD with an IBM red check-point on the keyboard,
which as far as I know is also /dev/psm0, probably something on hardware
level is done to merge signal of check-point and real ps/2 mouse
together, and mouse wheel movement might be dropped during this merge.

manual pages for psm0 suggested there are multiple operation level of
the driver, at level one wheel events are ignored, at level two wheel
events are included. The manual suggested how to set operation level in
C, but didn't say how to set or get current operation level with command
line (if it's possible at all).

If it's because the model if my mouse is happen not to be in the model
database of psm0 then what should I do to submit my mouse model to the
database to help FreeBSD have a larger coverage of hardware information?

Thanks. 

P.S. I can use USB mouse which is fine, just still like to ask about
PS/2 mouse out of curious. 

Best Regards

-- 
锐业软服(国内业务)  http://www.realss.cn
Real SoftService  http://www.realss.com
销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German, English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

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


Haskell on FreeBSD 5.3

2007-07-20 Thread Tankko

I am trying to install Haskell (no-x11) on a FreeBSD 5.3 system and
having no luck.  From looking at the Makefile, it seems that the
latest version of Haskel (6.6.1) can only be installed on FreeBSD 6.

I've tried tweaking the makefile to fudge version numbers, but all I
get is pain and errors.

Is there a way to install a previous version of Haskell using the
ports system?   Google has no good answers I can find.

I've looked into portdowngrade, but that doesn't seem to be what I
need.  I am not downgrading a previous version of Haskell, I just need
to install an old one.  Plus I can't really figure out how
portdowngrade works. :-)

Any help will be much appreciated.

Tankko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


speed of bzip2 versus gzip

2007-07-20 Thread James Long
Is it normal for bzip2 to be significantly slower than gzip?
If not, where can I look for things that might be causing
"bzip2 --fast" to take 50-60 times longer to compress a 
(sendmail log) file than gzip?

Thanks,

Jim


> ns : 07:52:06 /usr/tmp# time bunzip2 -c /var/log/maillog.0.bz2 > maillog
>
> real1m43.574s
> user1m26.846s
> sys 0m15.284s
> ns : 07:53:55 /usr/tmp# time gzip -c maillog > maillog.0.gz
>
> real1m1.092s
> user0m49.009s
> sys 0m6.682s
> ns : 07:56:56 /usr/tmp# time bzip2 -c maillog > maillog.0.bz2
> load: 1.00  cmd: bzip2 53621 [running] 1860.55u 1.82s 98% 8096k
> load: 1.00  cmd: bzip2 53621 [running] 5386.71u 5.30s 98% 8096k
>
> real133m25.236s
> user131m29.156s
> sys 0m7.744s
> ns : 10:10:36 /usr/tmp# time gzip -c maillog > maillog.1.gz
>
> real1m1.208s
> user0m52.356s
> sys 0m3.333s
> ns : 10:12:13 /usr/tmp# ls -l
> total 1576688
> -rw-r--r--  1 root  wheel  1590291797 Jul 20 07:53 maillog
> -rw-r--r--  1 root  wheel 1845620 Jul 20 10:10 maillog.0.bz2
> -rw-r--r--  1 root  wheel10761511 Jul 20 07:56 maillog.0.gz
> -rw-r--r--  1 root  wheel10761511 Jul 20 10:12 maillog.1.gz
> ns : 10:12:17 /usr/tmp# time bzip2 -1 -c maillog > maillog.1.bz2
> load: 1.02  cmd: bzip2 62522 [running] 3073.92u 8.02s 98% 1836k
>
> real55m48.149s
> user54m40.118s
> sys 0m8.028s
> ns : 11:08:34 /usr/tmp# ls -l
> total 1586944
> -rw-r--r--  1 root  wheel  1590291797 Jul 20 07:53 maillog
> -rw-r--r--  1 root  wheel 1845620 Jul 20 10:10 maillog.0.bz2
> -rw-r--r--  1 root  wheel10761511 Jul 20 07:56 maillog.0.gz
> -rw-r--r--  1 root  wheel10474338 Jul 20 11:08 maillog.1.bz2
> -rw-r--r--  1 root  wheel10761511 Jul 20 10:12 maillog.1.gz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mouse wheel doesn't work

2007-07-20 Thread Nikola Lecic
Hello,

On Sat, 21 Jul 2007 05:02:49 +0800
Zhang Weiwu <[EMAIL PROTECTED]> wrote:

> Dear everyone on the list
> 
> On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine
> with mouse wheel; ps/2 mouse do not work. Nothing happens when
> scrolling mouse wheel.
> 
> As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer
> from such problem or just this one, but I am sure this mouse works
> fine on Windows and Ubuntu Linux with wheel.

I think that then middle (wheel) click doesn't work; if it does, then
just copy Ubuntu xorg.conf entry or check if trackpoint and external
ps/2 mouse use different /dev.

> The box is thinkpad 380XD with an IBM red check-point on the keyboard,
> which as far as I know is also /dev/psm0, probably something on
> hardware level is done to merge signal of check-point and real ps/2
> mouse together, and mouse wheel movement might be dropped during this
> merge.

Yes, this is more likely -- the trackpoint and external ps/2 mouse
collide. 

> Mouse section of xorg seems to be correct, and I think it's not useful
> to tweak X configuration if moused cannot by itself detect mouse wheel
> movement.
> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/sysmouse"
> Option  "Buttons" "5"
> Option  "ZAxisMapping" "4 5"
> EndSection

Generally, using two parallel mouse devices calls for two separate
InputDevice mouse entries and for SendCoreEvents option.

> xmodmap also shows there is no re-mapping of mouse buttons. Again if
> moused isn't aware of scrolling, working on X level doesn't seem to be
> helpful.

Please read this page:

  http://salisburys.net/PetersNotes-TW.html
  (choose "External mouse wheels and wheel emulation...")

and consider experimenting with this:

  http://tpctl.sourceforge.net
  
It doesn't seem ported, but they claim it runs on *BSD. Read the man
page, --setup-pointing-device* options could maybe solve the problem.

(tpctl should be started _before_ X.)

Nikola Lečić
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: speed of bzip2 versus gzip

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 15:03:37 -0700
James Long <[EMAIL PROTECTED]> wrote:

> Is it normal for bzip2 to be significantly slower than gzip?
> If not, where can I look for things that might be causing
> "bzip2 --fast" to take 50-60 times longer to compress a 
> (sendmail log) file than gzip?

i never measured it to see if it is 50-60 times slower, but yes, gzip blows
bzip2 out of the water on speed. I wanted to use bzip2 to compress multi-GB
weblog files, but gzip beat it my miles, and bzip2 wasn't THAT much better @
compressing it to make it worth it.

The box I had tested this one was a Dual Opteron 250, 4 GB RAM, SATA drives
gmirrored, FreeBSD 6.1 (or 2), amd64. 

_
{Beto|Norberto|Numard} Meijome

"Any intelligent fool can make things bigger and more complex... 
 It takes a touch of genius - and a lot of courage to move in the opposite
direction." Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: stop portmanager from building mysql-client-4.1.22

2007-07-20 Thread Gerard
On July 20, 2007 at 01:09PM Noah wrote:


> Hi there,
> 
> I am attempting to stop portmanager from installing mysql-client-4.1.22
> so I added the following lines to my portmanager config file.
> 
> $ grep IGNORE /usr/local/etc/portmanager/pm-020.conf
> #IGNORE|editors/openoffice*|
> #IGNORE|java/jdk14|
> IGNORE|www/apache13|
> IGNORE|www/apache13*|
> IGNORE|www/mod_perl|
> IGNORE|net/openldap23-client|
> IGNORE|net/openldap23-client*|
> IGNORE|databases/mysql4*|
> IGNORE|databases/mysql3*|
> IGNORE|databases/postgresql*|
> 
> 
> but still mysql-client-4.1.22 is being installed.
> 
> $ pkg_info | grep portmanager
> portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility

Try:

IGNORE|databases/mysql4*-client|

This should prevent any 4x version from being installed:

IGNORE|databases/mysql4*-server*|


-- 
Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: speed of bzip2 versus gzip

2007-07-20 Thread Chuck Swiger

On Jul 20, 2007, at 5:37 PM, Norberto Meijome wrote:

Is it normal for bzip2 to be significantly slower than gzip?
If not, where can I look for things that might be causing
"bzip2 --fast" to take 50-60 times longer to compress a
(sendmail log) file than gzip?


i never measured it to see if it is 50-60 times slower, but yes,  
gzip blows
bzip2 out of the water on speed. I wanted to use bzip2 to compress  
multi-GB
weblog files, but gzip beat it my miles, and bzip2 wasn't THAT much  
better @

compressing it to make it worth it.


Thanks for the feedback, Norberto.

Of course, it all depends on what your priorities are, too-- if what  
you want is a final tarball which is being mirrored and downloaded  
frequently, then your goal is to obtain the absolute best  
compression, and how much CPU --best takes isn't important.


Comparing the default (-5 compression?) of gzip to bzip2 would  
probably be more reasonable if you care about reasonably timely  
compression.


--
-Chuck

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


Adjusting clock speed

2007-07-20 Thread Chris Jewell
We have a server running 5.3-RELEASE, whose clock varies somewhat, but
averages about 66 parts-per-million fast.  I know about both xntpd and
ntpdate, but our nominally-full-time Internet connection is not all
that reliable, so I'd like to adjust the speed of the time-of-day
clock so that only an occasional ntpdate, rather than an hourly one,
or the full-scale daemon, is needed to keep our email timestamps
accurate to the nearest second.

In a previously life, I had the same issue with a Linux box, and
discovered a command called adjtimex which helped, but there doesn't
seem to be anything like that on FreeBSD.  My current guess is that
the way to do this on FreeBSD is to tweek one of the sysctl settings,
perhaps increasing machdep.i8254_freq: 1193182 by something like
66 * (1193162/100),

since we're fast by about 66 ppm, or perhaps it's one of the
kern.timecounter.* variables that I need to change, or hw.clockrate, or


Anyway, can someone advise me which variable I really need to adjust?
When I try to read the kernel source and figure it out, I tend to get
confused.  Thank you.

(PS: Yeah, I know: I ought to upgrade to 6.2, or at least 5.5, and will
do that sometime soon. :-)  I've been in ``don't fix what's not broken''
mode.  :-) )

And a big thank you to all who make this excellent system possible.

-- 
Chris Jewell  [EMAIL PROTECTED]  PO Box 1396  Gualala CA USA 95445
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: speed of bzip2 versus gzip

2007-07-20 Thread James Long
On Fri, Jul 20, 2007 at 05:50:20PM -0700, Chuck Swiger wrote:
> On Jul 20, 2007, at 5:37 PM, Norberto Meijome wrote:
>>> Is it normal for bzip2 to be significantly slower than gzip?
>>> If not, where can I look for things that might be causing
>>> "bzip2 --fast" to take 50-60 times longer to compress a
>>> (sendmail log) file than gzip?
>> 
>> i never measured it to see if it is 50-60 times slower, but yes, gzip 
>> blows
>> bzip2 out of the water on speed. I wanted to use bzip2 to compress 
>> multi-GB
>> weblog files, but gzip beat it my miles, and bzip2 wasn't THAT much better 
>> @
>> compressing it to make it worth it.
> 
> Thanks for the feedback, Norberto.
> 
> Of course, it all depends on what your priorities are, too-- if what you 
> want is a final tarball which is being mirrored and downloaded frequently, 
> then your goal is to obtain the absolute best compression, and how much CPU 
> --best takes isn't important.
>
> Comparing the default (-5 compression?) of gzip to bzip2 would probably be 
> more reasonable if you care about reasonably timely compression.

If I read the man page correctly, bzip2 defaults to --best, which is why
I compared gzip to bzip2 --fast.  With the 1.5G sendmail log, bzip2 --fast 
compresses to just under 10M in about 55 minutes, give or take.  bzip2
--best compresses 1.5G to 1.8M, but takes about 2.25 hours.  gzip
compresses almost as well (with 3% or so) as --fast, but does it in 1 
minute instead of 55 on a dual P-III 1.4GHz (but of course, using only
one CPU).

Jim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adjusting clock speed

2007-07-20 Thread RW
On 20 Jul 2007 17:44:31 -0700
Chris Jewell <[EMAIL PROTECTED]> wrote:

> We have a server running 5.3-RELEASE, whose clock varies somewhat, but
> averages about 66 parts-per-million fast.  I know about both xntpd and
> ntpdate, but our nominally-full-time Internet connection is not all
> that reliable, so I'd like to adjust the speed of the time-of-day
> clock so that only an occasional ntpdate, rather than an hourly one,
> or the full-scale daemon,

Use ntpd, that's what it's there for. It doesn't  matter if your
connection is flakely, it'll learn your clock's frequency error. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:
> I think that then middle (wheel) click doesn't work; if it does, then

The middle click does work! However there is no middle key on thinkpad
track-point, thus it means at least some signal cannot be produced by
track-point is delivered to FreeBSD.

> just copy Ubuntu xorg.conf entry or check if trackpoint and external
> ps/2 mouse use different /dev.

Unfortunately it seems in dmesg only psm0 is discovered. dmesg attached

> > Mouse section of xorg seems to be correct, and I think it's not useful
> > to tweak X configuration if moused cannot by itself detect mouse wheel
> > movement.
> > 
> > Section "InputDevice"
> > Identifier  "Mouse0"
> > Driver  "mouse"
> > Option  "Protocol" "auto"
> > Option  "Device" "/dev/sysmouse"
> > Option  "Buttons" "5"
> > Option  "ZAxisMapping" "4 5"
> > EndSection
> 
> Generally, using two parallel mouse devices calls for two separate
> InputDevice mouse entries and for SendCoreEvents option.

Yes, if track-point and PS/2 have been discovered as two devices. 

> Please read this page:
> 
>   http://salisburys.net/PetersNotes-TW.html
>   (choose "External mouse wheels and wheel emulation...")

Very smart:)

> 
> and consider experimenting with this:
> 
>   http://tpctl.sourceforge.net
>   
> It doesn't seem ported, but they claim it runs on *BSD. Read the man
> page, --setup-pointing-device* options could maybe solve the problem.

compile failed with a lot of error messages. I'll try the good old
PS2.EXE later on DOS.

Thanks for all the info and help:)


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


duplicating a dvd video

2007-07-20 Thread Dave

Hello,
   I asked about this a while back and got some good feedback. The issue is 
it isn't happening.


   To recap i've got some family-made dvd videos that i've been asked to 
duplicate. They are quite lengthy and as i discovered won't fit on to a 
single layer dvd, so i got a three-pack, which i've already killed two, 
duel-layered dvds. My dvd writer can burn duel-layer dvds and the players 
can all play them so that's not an issue.
   What i did originally was to run dvdbackup on the original dvd video. I 
inserted it and ran:


dvdbackup -i /dev/cd1 -o /path/to/backup/area -M

which created a folder under there called video_ts. A segway i put in a 
movie in to the dvd drive, mounted it and checked it out that also has the 
video_ts folder so i'm sure that's what has to go on the dvd. I put in one 
of the blanks and do:


growisofs -Z /dev/cd1 -dvd-video /path/to/backup/area

   which upon mounting the resulting dvd i confirmed that it does have a 
video_ts folder on it. My issue is when i try to play them i'm getting disk 
read errors. The only thing i can think of is i have to make iso images 
first, but i'd like confirmation on this or an idea of what i've missed 
before i try this again, i'd really not like to burn another coaster.

Thanks.
Dave.

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


Re: mouse wheel doesn't work

2007-07-20 Thread Nikola Lecic
On Sat, 21 Jul 2007 09:33:53 +0800
Zhang Weiwu <[EMAIL PROTECTED]> wrote:

> On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:
> > I think that then middle (wheel) click doesn't work; if it does,
> > then
> 
> The middle click does work! However there is no middle key on thinkpad
> track-point, thus it means at least some signal cannot be produced by
> track-point is delivered to FreeBSD.

In Ubuntu? Please don't forget that Linux and FreeBSD use the same
Xorg, there is nothing Linux-specific about it. What can be the
difference, however, is that Linux maybe uses tpctl -- please check if
it is so.

But even so, maybe some functionality (of the trackpoint for example)
must be sacrified in order to get the external wheel working.
 
> > just copy Ubuntu xorg.conf entry or check if trackpoint and external
> > ps/2 mouse use different /dev.
> 
> Unfortunately it seems in dmesg only psm0 is discovered. dmesg
> attached

dmesg is not here :)

> > Please read this page:
> > 
> >   http://salisburys.net/PetersNotes-TW.html
> >   (choose "External mouse wheels and wheel emulation...")
> 
> Very smart:)

Well, have you tried that? (And I fotgot to ask: does wheel-click in
FreeBSD produce an X event?)

> > and consider experimenting with this:
> > 
> >   http://tpctl.sourceforge.net
> >   
> > It doesn't seem ported, but they claim it runs on *BSD. Read the man
> > page, --setup-pointing-device* options could maybe solve the
> > problem.
> 
> compile failed with a lot of error messages.

Ah, welcome to the realm of truth! A part of the world (very bad for
them) is gnu/linux-centic. I can't test it at the moment since
sourceforge is currently down, but please note two things:

  (a) configure script often can't find where libraries are installed;
  please take a look at './configure --help' and provide the
  correct paths where necessary;

  (b) don't forget that make (BSD make) is not fully compatible with the
  syntax of GNU Makefiles, so in that case you have to explicitly
  run 'gmake' when compiling something out of ports.

(If you can't compile it, start a thread about it, people will jump in
to help. Maybe you might even consider porting that peace of software to
FreeBSD :))

> I'll try the good old PS2.EXE later on DOS.

As you see, tpctl provides the same functionality as PS2.EXE and is
very feature-rich (much more beyond wheel functionality). I checked,
your Thinkpad model is listed as fully supported.

Nikola Lečić
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: speed of bzip2 versus gzip

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 18:24:55 -0700
James Long <[EMAIL PROTECTED]> wrote:

> On Fri, Jul 20, 2007 at 05:50:20PM -0700, Chuck Swiger wrote:
> > On Jul 20, 2007, at 5:37 PM, Norberto Meijome wrote:
> >>> Is it normal for bzip2 to be significantly slower than gzip?
> >>> If not, where can I look for things that might be causing
> >>> "bzip2 --fast" to take 50-60 times longer to compress a
> >>> (sendmail log) file than gzip?
> >> 
> >> i never measured it to see if it is 50-60 times slower, but yes, gzip 
> >> blows
> >> bzip2 out of the water on speed. I wanted to use bzip2 to compress 
> >> multi-GB
> >> weblog files, but gzip beat it my miles, and bzip2 wasn't THAT much better 
> >> @
> >> compressing it to make it worth it.
> > 
> > Thanks for the feedback, Norberto.
> > 
> > Of course, it all depends on what your priorities are, too-- if what you 
> > want is a final tarball which is being mirrored and downloaded frequently, 
> > then your goal is to obtain the absolute best compression, and how much CPU 
> > --best takes isn't important.
> >
> > Comparing the default (-5 compression?) of gzip to bzip2 would probably be 
> > more reasonable if you care about reasonably timely compression.
> 
> If I read the man page correctly, bzip2 defaults to --best, which is why
> I compared gzip to bzip2 --fast.  With the 1.5G sendmail log, bzip2 --fast 
> compresses to just under 10M in about 55 minutes, give or take.  bzip2
> --best compresses 1.5G to 1.8M, but takes about 2.25 hours.  gzip
> compresses almost as well (with 3% or so) as --fast, but does it in 1 
> minute instead of 55 on a dual P-III 1.4GHz (but of course, using only
> one CPU).

I don't have the exact numbers at hand, but yes, they were definitely in that 
range of crazy comparison.
BTW, i always compared using default bzip2 and gzip -9, because i was 
interested in making gzip work harder at achieving some more compression.

I ran some short tests... both systems are not doing much more than this simple 
test
Comparison using a 249 MB Apache web log file

First is my laptop running FreeBSD, single CPU.
2nd is a server with the same hardware as I had compressed those multi-GB log 
files in 2005...this one is running CentOS/64 bit. . I know, not Freebsd, but 
to see if there's a difference in the OS...
Both boxes have enough RAM to hold all the file in memory.

The numbers are quite similar, even given the difference in hardware...it may 
speak very well of FreeBSD speeds ;)

Compression ratios are the same in both Linux + FreeBSD, and Bzip2 compresses 
>THIS FILE< about 50% more than gzip -9

--


CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.02-MHz 686-class CPU)
1.5 GB RAM
$ uname -a
FreeBSD ayiin.octantis.com.au 6.2-STABLE FreeBSD 6.2-STABLE #12: Fri Jul 13 
17:45:09 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AYIIN  i386


$ time gzip -9 20070604-desktop.log 

real0m13.373s
user0m10.398s
sys 0m0.257s

[EMAIL PROTECTED] [Sat Jul 21 12:27:14 2007]
/usr/home/betom/Desktop
$ ls -lh 20070604-desktop.log.gz 
-rw-r--r--  1 betom  betom11M Jul 21 12:17 20070604-desktop.log.gz

$ time gunzip ./20070604-desktop.log.gz 

real0m13.926s
user0m1.455s
sys 0m0.525s


$ time bzip2 20070604-desktop.log 

real4m2.662s
user3m21.184s
sys 0m0.321s

$ ls -lh 20070604-desktop.log.bz2 
-rw-r--r--  1 betom  betom   5.2M Jul 21 12:17 20070604-desktop.log.bz2


$ time bunzip2 20070604-desktop.log.bz2 

real0m18.650s
user0m13.922s
sys 0m0.794s


==
Box 2 
# uname -a
Linux cerberus.octantis.com.au. 2.6.18-8.1.4.el5.centos.plus #1 SMP Sun May 20 
10:53:21 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
CPU :  2 x model name  : AMD Opteron(tm) Processor 250
stepping: 10
cpu MHz : 2400.000
 4 GB RAM

[EMAIL PROTECTED] [Sat 21 Jul 2007 12:22:39 PM EST]
~
# time gzip -9 20070604-desktop.log

real0m7.818s
user0m7.343s
sys 0m0.332s

[EMAIL PROTECTED] [Sat 21 Jul 2007 12:22:56 PM EST]
~
# ls -lh 20070604-desktop.log.gz 
-rw-r--r-- 1 numard numard 11M Jul 21 12:09 20070604-desktop.log.gz

# time gunzip 20070604-desktop.log.gz 

real0m2.502s
user0m1.049s
sys 0m1.044s

# time bzip2 20070604-desktop.log 

real3m22.587s
user3m17.566s
sys 0m1.741s

[EMAIL PROTECTED] [Sat 21 Jul 2007 12:29:19 PM EST]
~
# ls -lh 20070604-desktop.log.bz2 
-rw-r--r-- 1 numard numard 5.2M Jul 21 12:09 20070604-desktop.log.bz2

# time bunzip2 20070604-desktop.log.bz2 

real0m17.544s
user0m15.261s
sys 0m1.435s

_
{Beto|Norberto|Numard} Meijome

"They redundantly repeated themselves over and over again incessantly without 
end ad infinitum"
   ibid.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
ht

Re: speed of bzip2 versus gzip

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 17:50:20 -0700
Chuck Swiger <[EMAIL PROTECTED]> wrote:

> Of course, it all depends on what your priorities are, too-- if what  
> you want is a final tarball which is being mirrored and downloaded  
> frequently, then your goal is to obtain the absolute best  
> compression, and how much CPU --best takes isn't important.

of course ... in my case i had  to sacrifice the space in order to finish
the job in less than 24 hours :) 

The better compression on bzip2 part isn't linear (in my tests) with the amount
of time it takes to achieve it. I bet there are some knobs to modify amount of
buckets or other memory related settings in bzip2 to make work faster... 

if not, maybe another algorithm...but [bg]zip are so widespread they may become
the one choice if you have to distribute the files to a wider audience.

_
{Beto|Norberto|Numard} Meijome

"Everything should be made as simple as possible, but not simpler."
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:

> Yes, this is more likely -- the trackpoint and external ps/2 mouse
> collide. 

Thank you for the information! Now I have made it work.

0) edit /etc/rc.d/moused, remove '-t {$mytype}' from moused parameter
list:
#/usr/sbin/moused ${myflags} -p ${myport} -t ${mytype} ${_pidarg}
/usr/sbin/moused ${myflags} -p ${myport} ${_pidarg}
1) enter DOS mode with a Windows 98 rescue disk
2) use the PS2.EXE form Lenovo, run 'ps2.exe tpoint autodisable';
3) reboot, enter FreeBSD, mouse wheel is working now.


It's important to do step 0 because moused can only forward wheel scroll
to X if it's invoked without "-t" parameter. I think there are two bugs:

Bug A:

As manual of moused says:
 For the PS/2 mouse:
 ps/2 This is the only protocol type available for the
  PS/2 mouse and should be specified for any PS/2
  mice, regardless of the brand.
In fact, it is wrong! If I invoke moused with -t ps/2, mouse
wheel doesn't work.

This doesn't work (according to manual it should): 
"moused -p /dev/psm0 -t ps/2"
In fact, only this works: "moused -p /dev/psm0", no "-t"
parameter.

This must be a bug. 100% of all users who read the manual should
directly conclude they should get equal or better result with -t
ps/2 than with no "-t" parameter for their ps/2 mouse, this is
wrong, they get better result without "-t" parameter.

Bug B:

As said in the manual, -t is an optional
parameter. /etc/rc.d/moused should respect this.

If user didn't specify -t, then it should not assume to use "-t
microsoft", it should launch moused without "-t" parameter. Even
if there is a good reason to assume the device is microsoft
type, this assume logic should be placed in moused source code.
Moused should be the one knowing how to handle different
situation automatically and fall-back sanely. The rc.d script
tries to do too much and think it's smarter then device driver
on deciding device type without even communicating to device at
all.

This is a user's point of view and welcome developer with
background knowledge to correct me.

Thanks again Nikola for helping me out!

Best Regards

Zhang Weiwu

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


Re: duplicating a dvd video

2007-07-20 Thread Andrew Gould
In Chapter 18.6.6 of the FreeBSD Handbook, you'll find instructions for 
creating an iso image from a data CD using the program dd.   dd works for DVD's 
as well.  You can then burn the iso image to a DVD using growisofs (see: man 
growisofs).  You can find Chapter 18.6.6 at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

Good luck,

Andrew L. Gould

- Original Message 
From: Dave <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Sent: Friday, July 20, 2007 9:02:09 PM
Subject: duplicating a dvd video

Hello,
I asked about this a while back and got some good feedback. The issue is 
it isn't happening.

To recap i've got some family-made dvd videos that i've been asked to 
duplicate. They are quite lengthy and as i discovered won't fit on to a 
single layer dvd, so i got a three-pack, which i've already killed two, 
duel-layered dvds. My dvd writer can burn duel-layer dvds and the players 
can all play them so that's not an issue.
What i did originally was to run dvdbackup on the original dvd video. I 
inserted it and ran:

dvdbackup -i /dev/cd1 -o /path/to/backup/area -M

which created a folder under there called video_ts. A segway i put in a 
movie in to the dvd drive, mounted it and checked it out that also has the 
video_ts folder so i'm sure that's what has to go on the dvd. I put in one 
of the blanks and do:

growisofs -Z /dev/cd1 -dvd-video /path/to/backup/area

which upon mounting the resulting dvd i confirmed that it does have a 
video_ts folder on it. My issue is when i try to play them i'm getting disk 
read errors. The only thing i can think of is i have to make iso images 
first, but i'd like confirmation on this or an idea of what i've missed 
before i try this again, i'd really not like to burn another coaster.
Thanks.
Dave.

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



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


Re: project-open on FreeBSD

2007-07-20 Thread Outback Dingo

Ill maintain it if we can get thru an initial working port.

On 7/20/07, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:


On 2007-07-20 09:32, Noah <[EMAIL PROTECTED]> wrote:
>
> yes
>
>Giorgos Keramidas wrote:
>> On 2007-07-20 09:08, Noah <[EMAIL PROTECTED]> wrote:
>>> Has anybody had luck installing project-open on FreeBSD?
>> What is ``project-open''?
>> I don't see anything about it in the Ports Collection. Are we talking
>> about ?

Please do not top-post :-)

There's no "port" for this piece of software, and their "simplified
installation guide" from [1] mentions a binary Linux installer.

[1]
http://project-open.sourceforge.net/doc/manuals/PO-Unix-Simplified-Install-Guide.pdf

A binary Linux installer is not going to work for FreeBSD, so I'll have
a look at their "advanced unix installation guide" from [2],

[2]
http://project-open.sourceforge.net/doc/manuals/PO-Unix-Advanced-Installation-Guide.pdf

but porting a big piece of software like this is probably going to
require at least a moderate amount of effort.  If our Ports team doesn't
have people experienced with project-open, would you be interested in
working with them and maintain the "project-open" port?

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


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


Re: speed of bzip2 versus gzip

2007-07-20 Thread r17fbsd

At 06:03 PM 7/20/2007, James Long wrote:
Is it normal for bzip2 to be significantly slower than gzip? If not, 
where can I look for things that might be causing "bzip2 --fast" to 
take 50-60 times longer to compress a (sendmail log) file than gzip?


In my experience, Yes  --  It's dreadfully slow.  Some notes in the 
man page suggest it's designed to achieve very high compression but 
with correspondingly high cpu & memory demands.  I just stick with 
gzip personally.


  -RW

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


Re: Intel G965 chipset?

2007-07-20 Thread Bruce Caruthers

On Sat Jul 14, 2007, Antony Mawer wrote:
> On 14/07/2007 8:07 AM, Bruce Caruthers wrote:
> ...
> > === My Question:
> > So, can I use an Intel motherboard with the 965
> > chipset?  If not, what is the latest chipset I can
> > use which will meet my needs?
>
> We use the 965 based boards for many of our servers and they work fine -
> the only gotchas I have come across has been the onboard IDE controller
> is a Marvell ATA controller, and not supported by the drivers in
> 6.2-RELEASE. I made a back-port of the -CURRENT driver to 6.2 some
> months ago and have not had any problems (although the CD-ROM connected
> to said IDE channel is only used for the installation process!).
>
> I would imagine that the driver is likely present in 6-STABLE and the
> upcoming 6.3 release later this year.
>
> --Antony


Now that the parts have arrived and I actually have
the machine (physically) set up, I am trying to
install from the downloaded ISO images (6.2-Release,
downloaded 7/20).

Each boot option hangs at different places (standard
stops after identifying the disks as ad4 and ad8,
ACPI turned off stops at md0, and verbose logging
actually gets to the first menu, but no longer
accepts keyboard input at that point -- might be
hung, since couldn't warm boot from the keyboard,
either, at that point).

Were you able to do any of the install without the
backported driver, or did you generate a custom
install disk?

Or, would it be better if I try making the boot
floppies and installing over ftp?

Any suggestions, or perhaps a downloadable ISO
image, since you already went through this?  :)

I have 2xSATA300 disks as RAID-1, and an ATAPI DVD
drive for installing.  And an old 3.5" floppy drive
I found on one of my parts heaps.

(mobo: Intel DG965WH)

Thanks for any help!
   -bkc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Intel G965 chipset?

2007-07-20 Thread Garrett Cooper

Bruce Caruthers wrote:

On Sat Jul 14, 2007, Antony Mawer wrote:
  

On 14/07/2007 8:07 AM, Bruce Caruthers wrote:
...


=== My Question:
So, can I use an Intel motherboard with the 965
chipset?  If not, what is the latest chipset I can
use which will meet my needs?
  

We use the 965 based boards for many of our servers and they work fine -
the only gotchas I have come across has been the onboard IDE controller
is a Marvell ATA controller, and not supported by the drivers in
6.2-RELEASE. I made a back-port of the -CURRENT driver to 6.2 some
months ago and have not had any problems (although the CD-ROM connected
to said IDE channel is only used for the installation process!).

I would imagine that the driver is likely present in 6-STABLE and the
upcoming 6.3 release later this year.

--Antony




Now that the parts have arrived and I actually have
the machine (physically) set up, I am trying to
install from the downloaded ISO images (6.2-Release,
downloaded 7/20).

Each boot option hangs at different places (standard
stops after identifying the disks as ad4 and ad8,
ACPI turned off stops at md0, and verbose logging
actually gets to the first menu, but no longer
accepts keyboard input at that point -- might be
hung, since couldn't warm boot from the keyboard,
either, at that point).

Were you able to do any of the install without the
backported driver, or did you generate a custom
install disk?

Or, would it be better if I try making the boot
floppies and installing over ftp?

Any suggestions, or perhaps a downloadable ISO
image, since you already went through this?  :)

I have 2xSATA300 disks as RAID-1, and an ATAPI DVD
drive for installing.  And an old 3.5" floppy drive
I found on one of my parts heaps.

(mobo: Intel DG965WH)

Thanks for any help!
   -bkc
  


Try a 6.2 snapshot (if that's not what you meant by downloaded 7/20). If 
that fails, try 7-CURRENT snapshots (most recent ones, i.e. over the 
last month, are the best idea). There were a variety of fixes made to 
USB input and control (if you're using a USB keyboard instead of a PS/2 
one).

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Intel G965 chipset?

2007-07-20 Thread Garrett Cooper

Garrett Cooper wrote:

Bruce Caruthers wrote:

On Sat Jul 14, 2007, Antony Mawer wrote:
 

On 14/07/2007 8:07 AM, Bruce Caruthers wrote:
...
   

=== My Question:
So, can I use an Intel motherboard with the 965
chipset?  If not, what is the latest chipset I can
use which will meet my needs?
  
We use the 965 based boards for many of our servers and they work 
fine -

the only gotchas I have come across has been the onboard IDE controller
is a Marvell ATA controller, and not supported by the drivers in
6.2-RELEASE. I made a back-port of the -CURRENT driver to 6.2 some
months ago and have not had any problems (although the CD-ROM connected
to said IDE channel is only used for the installation process!).

I would imagine that the driver is likely present in 6-STABLE and the
upcoming 6.3 release later this year.

--Antony




Now that the parts have arrived and I actually have
the machine (physically) set up, I am trying to
install from the downloaded ISO images (6.2-Release,
downloaded 7/20).

Each boot option hangs at different places (standard
stops after identifying the disks as ad4 and ad8,
ACPI turned off stops at md0, and verbose logging
actually gets to the first menu, but no longer
accepts keyboard input at that point -- might be
hung, since couldn't warm boot from the keyboard,
either, at that point).

Were you able to do any of the install without the
backported driver, or did you generate a custom
install disk?

Or, would it be better if I try making the boot
floppies and installing over ftp?

Any suggestions, or perhaps a downloadable ISO
image, since you already went through this?  :)

I have 2xSATA300 disks as RAID-1, and an ATAPI DVD
drive for installing.  And an old 3.5" floppy drive
I found on one of my parts heaps.

(mobo: Intel DG965WH)

Thanks for any help!
   -bkc
  


Try a 6.2 snapshot (if that's not what you meant by downloaded 7/20). 
If that fails, try 7-CURRENT snapshots (most recent ones, i.e. over 
the last month, are the best idea). There were a variety of fixes made 
to USB input and control (if you're using a USB keyboard instead of a 
PS/2 one).

-Garrett


Another idea -- update your BIOS if possible via bootdisk. There were 
most likely some BIOS / chipset fixes done in the past couple months 
which will benefit your board.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Intel G965 chipset?

2007-07-20 Thread Bruce Caruthers

On Fri Jul 20, 2007, Garrett Cooper wrote:
> Garrett Cooper wrote:
> > Bruce Caruthers wrote:
> >> On Sat Jul 14, 2007, Antony Mawer wrote:
> >>
> >>> On 14/07/2007 8:07 AM, Bruce Caruthers wrote:
> >>> ...
> >>>
>  === My Question:
>  So, can I use an Intel motherboard with the 965
>  chipset?  If not, what is the latest chipset I can
>  use which will meet my needs?
> 
> >>> We use the 965 based boards for many of our servers and they work
> >>> fine -
> >>> the only gotchas I have come across has been the onboard IDE controller
> >>> is a Marvell ATA controller, and not supported by the drivers in
> >>> 6.2-RELEASE. I made a back-port of the -CURRENT driver to 6.2 some
> >>> months ago and have not had any problems (although the CD-ROM connected
> >>> to said IDE channel is only used for the installation process!).
> >>>
> >>> I would imagine that the driver is likely present in 6-STABLE and the
> >>> upcoming 6.3 release later this year.
> >>>
> >>> --Antony
> >>>
> >>
> >>
> >> Now that the parts have arrived and I actually have
> >> the machine (physically) set up, I am trying to
> >> install from the downloaded ISO images (6.2-Release,
> >> downloaded 7/20).
> >>
> >> Each boot option hangs at different places (standard
> >> stops after identifying the disks as ad4 and ad8,
> >> ACPI turned off stops at md0, and verbose logging
> >> actually gets to the first menu, but no longer
> >> accepts keyboard input at that point -- might be
> >> hung, since couldn't warm boot from the keyboard,
> >> either, at that point).
> >>
> >> Were you able to do any of the install without the
> >> backported driver, or did you generate a custom
> >> install disk?
> >>
> >> Or, would it be better if I try making the boot
> >> floppies and installing over ftp?
> >>
> >> Any suggestions, or perhaps a downloadable ISO
> >> image, since you already went through this?  :)
> >>
> >> I have 2xSATA300 disks as RAID-1, and an ATAPI DVD
> >> drive for installing.  And an old 3.5" floppy drive
> >> I found on one of my parts heaps.
> >>
> >> (mobo: Intel DG965WH)
> >>
> >> Thanks for any help!
> >>-bkc
> >>
> >
> > Try a 6.2 snapshot (if that's not what you meant by downloaded 7/20).
> > If that fails, try 7-CURRENT snapshots (most recent ones, i.e. over
> > the last month, are the best idea). There were a variety of fixes made
> > to USB input and control (if you're using a USB keyboard instead of a
> > PS/2 one).
> > -Garrett
>
> Another idea -- update your BIOS if possible via bootdisk. There were
> most likely some BIOS / chipset fixes done in the past couple months
> which will benefit your board.
> -Garrett


I already checked, and my board was shipped with the
latest BIOS updates (5/10). But thanks for the suggestion.

I had downloaded the 6.2-Release ISOs, I just mentioned
the date in case anything had been updated in the
versions online (although I assume they would have been
noted as such).

How stable/reliable will a 6.2 snapshot or 7-current be?
This machine is intended to replace my primary home server
(SAMBA to Windows and Mac, web development sandbox, name
server, etc.) so data integrity and reasonable uptime
reliability are key.  (My old 4.2 server is maxed out on
disks, and has slowly been failing erratically.)

Thanks!
   -bkc

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


RE: shared object needed by courier MTA

2007-07-20 Thread johan Hartono
Dear norberto,

Thanks a lot for your email. I tried your suggestion
and install 6.2-RELEASE
and it solved my problem. I just realize that they
don't include
libstdc++.so.5 in 5.5-RELEASE but put libstdc++.so.4
instead while they put
it in 6.2-RELEASE. Btw showmodules command is an
internal courier's command
to check whether my installation is complete or not.

I tried to build the whole package from the source
code but it gives me
error in configure phase. It says can't find
pcre/pcre.h in my system even
though I have installed PCRE-7.1. Any hint?

As you can see, I'm very newbie in this BSD stuff. A
lot more home works and
reading I need to do. But Thanks a lot once again for
your email though.

I'm from Semarang, Indonesia and I would be very happy
to be able to meet
another FreeBSD guru in my area.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Norberto Meijome
Sent: Thursday, July 19, 2007 12:52 PM
To: johan Hartono
Cc: freebsd-questions@freebsd.org
Subject: Re: shared object needed by courier MTA

On Tue, 17 Jul 2007 08:41:08 -0700 (PDT)
johan Hartono <[EMAIL PROTECTED]> wrote:

> 
> Dear all,
> 
>  
> 
> I was trying to make a working mail server using
freebsd5.5-release and
courier MTA suites.

(you should move up to 6.x if you can, specially since
it's a new
installation )

> 
> What I need from this box basically are pop3 server,
smtpserver, web admin
and webmail.
> 
> I install FreeBSD using ‘developer’
canned andpull out
‘ports’ packages.
> 
> After the installation, I add these packages using
pkg_addcommand in the
exact order.
> 
>  
> 
> 'libltdl-1.5.22_2'
> 
> 'libexecinfo-1.1_1.tbz'
> 
> 'mime-support-3.39.1'
> 
> 'pcre-7.1'
> 
> 'm4-1.4.9'
> 
> 'perl-5.8.8'
> 
> 'gmake-3.81_2'
> 
> 'gettext-0.16.1_3'
> 
> 'libiconv-1.9.2_2'
> 
> 'libtool-1.5.22_2'
> 
> 'help2man_1.36.4_1'
> 
> 'P5-gettext-1.05_1'
> 
> 'P5-Net-CIDR-0.11'
> 
> 'sysconftool-0.15'
> 
> 'autoconf-2.59_2'
> 
> 'automake-1.9.6_1'
> 
> 'pkg-config-0.21'
> 
> 'glib-2.12.12_2'
> 
> 'gamin-0.1.8_1'
> 
> 'courier-authlib-base-0.59.3'
> 
> 'courier-0.54.0'
> 
>  
> 
> Every time I try to check the installation using
showmodulescommand, I got
this message
> 

where is this command 'showmodules' from ? 

> 
> “/libexec/ld-elf.so.1: Shared
object"libstdc++.so.5" not found,
required by "showmodules"”

I'm running 6.2-STABLE and I have libstdc++ as part of
the base OS:

/usr/lib/libstdc++.so.5

I don't know whether 5.5 had libstdc++.so.5 - you can
check in /usr/lib/ to
see what version is there. I think the problem stems
from the fact that you
used binary packages (pkg_add -r) rather than building
from source via the
ports system. Other than upgrading the OS to 6.x, you
can try to see if
those packages you need are included in the 5.5 CD .
Or build from source.

> 
>  
> 
> Can anyone point out what sins I have done badly and
how towork around
this problem?
> 
>  
> 
> I’m very sorry for my poor language since
English isnot my native
language.

your English is fine :)

> 
>  
> 
> I very appreciate any help you could give me.
> 
>  
> 
> Best regards
> 
>  
> 
> Johan Hartono
> 
> 
>
> -
> Choose the right car based on your needs.  Check out
Yahoo! Autos new Car
Finder tool.
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


_
{Beto|Norberto|Numard} Meijome

Which is worse: ignorance or apathy?
Don't know. Don't care.

I speak for myself, not my employer. Contents may be
hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them
is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"




   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freeze During Boot With 6.2-RELEASE Install Disk

2007-07-20 Thread [EMAIL PROTECTED]

On 20/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I've got a machine that I'm trying to get 6.2-RELEASE installed on, in
order to act as a backup/test config server for a production box I have
running the same version of FreeBSD. The machine previously had
5.3-RELEASE on a single SCSI disk, with a 4-drive SATA RAID that wasn't
quite working right (according to the previous owner; I just got the
system a few days ago); unfortunately, the system now refuses to
recognize the SCSI disk, even in the Adaptec SCSI card's BIOS.

That said, when I pop in my 6.2-RELEASE boot disk, it comes up, loads
devices, sees the SATA RAID...and then just hangs. I've tried booting
in safe mode and with verbose logging...and it won't work either way,
and I get no error messages.

FWIW, I took the same boot CD and popped it into an Acer laptop I had
handy, and it went straight into the system setup menus, asking me to
choose a country; so the CD itself seems unlikely to be the culprit.
Additionally, I popped an OpenBSD 3.9 boot CD into the freezing
machine, and it came right up to an install prompt -- though it saw the
SATA disks as individual entities, and not a RAID.

Does anyone have any clue what might be causing this, and/or how to
solve it? I'll be happy to provide additional details, I'm just not
sure what would be helpful right now.



Does the machine still boot 5.3, or does the line:

the system now refuses to recognize the SCSI disk,
even in the Adaptec SCSI card's BIOS.

mean that the drive/controller is actually mussed up?

If you can boot 5.3, it would be very helpful to see a dmesg
from that.  If not, it might still be somewhat enlightening to
see where the 6.2 bootup stops, if you can capture that.

If the SCSI drive or controller really has gone south in
some fun, horrible way, you might try physically removing
them, as a malfunctioning controller can cause a rather
long* pause in the disk-probing sequence.

If you have already removed the SCSI stuff and the 6.2
disk still hangs after the SATA probe and you can't find
any way to capture the output, you might try posting the
make and model, as there are some dreadful pieces of
garbage out there that FreeBSD has some difficulty with.



* Potentially limited only by how long your machine continues
to have power connected.

NB:  In my experience OpenBSD is much better at
playing fast&loose with garbage hardware than
FreeBSD.  Whether this is a good thing I would not
hazard to guess.

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


Re: shared object needed by courier MTA

2007-07-20 Thread Norberto Meijome
On Fri, 20 Jul 2007 22:27:01 -0700 (PDT)
johan Hartono <[EMAIL PROTECTED]> wrote:

> From: johan Hartono <[EMAIL PROTECTED]>
> To: 'Norberto Meijome' <[EMAIL PROTECTED]>
> Cc: freebsd-questions@freebsd.org
> Subject: RE: shared object needed by courier MTA
> Date: Fri, 20 Jul 2007 22:27:01 -0700 (PDT)
> 
> Dear norberto,
> 
> Thanks a lot for your email. I tried your suggestion
> and install 6.2-RELEASE
> and it solved my problem. I just realize that they
> don't include
> libstdc++.so.5 in 5.5-RELEASE but put libstdc++.so.4
> instead while they put
> it in 6.2-RELEASE. Btw showmodules command is an
> internal courier's command
> to check whether my installation is complete or not.
> 
> I tried to build the whole package from the source
> code but it gives me
> error in configure phase. It says can't find
> pcre/pcre.h in my system even
> though I have installed PCRE-7.1. Any hint?

Hi johan,
when you say 'installing from source' - are you using the ports system ? 

as in /usr/ports 

If you are not, you are **STRONGLY** suggested you learn how to use it instead.
You can definitely build code from source by downloading some product tarball
and building it from scratch, but you need to know your way around the system.
That's what the ports are for - dead easy software management.

You can read about it here :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

you can also install from  precompiled binaries called 'packages', but you get
a standard build, rather than one you may want to configure to your needs:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html

> 
> As you can see, I'm very newbie in this BSD stuff. 

start by reading the Handbook. You can find it in your system under

/usr/share/doc/en_US.ISO8859-1/books/handbook/

or in freebsd.org ,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/


> A
> lot more home works and
> reading I need to do. But Thanks a lot once again for
> your email though.

np at all :)

> 
> I'm from Semarang, Indonesia and I would be very happy
> to be able to meet
> another FreeBSD guru in my area.

I am not a guru by far, but I am in the APAC area, in Sydney. :)
_
{Beto|Norberto|Numard} Meijome

"Always listen to experts.  They'll tell you what can't be done, and why.  
Then do it."
  Robert A. Heinlein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade question

2007-07-20 Thread Michael S. Eubanks
On Fri, 2007-07-20 at 17:12 +0100, RW wrote:
> On Thu, 19 Jul 2007 10:57:05 -0700
> "Michael S. Eubanks" <[EMAIL PROTECTED]> wrote:
> 
> > Don't use the ``p'' option.  Use something like ``-afrRPv''.
> >
> 
> -Rr doesn't  actually do anything in combination with -a 

Make sense.  I've been using these instructions for awhile now:

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

After all this time, go figure.


Cheers,
 Michael S. Eubanks
 [EMAIL PROTECTED]




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