RE: wget / wput

2008-03-14 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jim Pazarena
> Sent: Friday, March 14, 2008 7:47 AM
> To: FreeBSD Mailing List
> Subject: wget / wput
> 
> 
> I began using wput recently.
> 
> While wput completes a transfer, it always ends with a
> 
> Segmentation fault: 11
> 
> if the wput is forced to fail (with an incorrect password for 
> instance) it issues
> what appears to be a correct response:
>   "login-Sequence failed .."
>   "Transmission of 1 file failed."
> 
> but if the transfer completes as expected, Seg fault every time!
> 
> suggestions would be appreciated.  This is on FreeBSD 7.0 i386, however
> I noticed the same error on 6.2 (and quit using wput for THAT reason).
> Now I *would* like to use it, but this is disconcerting.
> 

File a send-pr, this is obviously a bug with the port and the
port maintainer should correct it.  seg-faults happen when the
programmer makes a mistake in the code, the port manager should
have caught this and either corrected the bug or pursued it with
the developer of wput.  If a porter can't get a program to
build without segfaulting under FBSD and they cannot get help from
the developer, they should abandon the port.

In the meantime, try going to the site that the wput program is
hosted at and downloading the source, then compile it according
to the directions in the wput distribution, and see if it still
segfaults.

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


RE: FreeBSD bind performance in FreeBSD 7

2008-03-14 Thread Ted Mittelstaedt


> -Original Message-
> From: Peter Schuller [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 10, 2008 2:02 AM
> To: freebsd-questions@freebsd.org
> Cc: Ted Mittelstaedt; Chris; Adrian Chadd
> Subject: Re: FreeBSD bind performance in FreeBSD 7
>
>
> > The people complaining about hardware compatibility need
> > to pull their heads out.  If they are buying brand new systems
> > they are utter fools if they don't check out in advance
> > what works and what doesen't.  It's not like there's a
> > shortage of experienced people on this list who could
> > tell them what to buy.  And if after the fact they find out
> > their shiny new PC won't run FreeBSD - then they take it
> > back to the retailer and exchange it for a different model.
> > Why is this so difficult?
>
> The difficulty is not in checking out hardware before hand, the
> problem is
> FINDING hardware that satisfies your requirements. Just because I
> know that
> NIC so-and-so is recommended, it does not mean that I can find a complete
> server that:
>
> * Is within the budget.
> * Whose NIC is recommended for use in FreeBSD.
> * Whose disk/raid controller is recommended for use in FreeBSD
>   - Including proper handling of write caching, cache flushing, etc
> * Is being sold in a fashion that is acceptable with respect to hardware
> support / replacement parts.
> * Otherwise is known to work with well FreeBSD.
>
> If you are a large company buying 200 servers I'm sure it's not a
> problem to
> get sample servers to try things on, or go for more expensive
> options just
> because of perceived FreeBSD compatibility.
>
> If you're a poor sod trying to get *one* machine for personal or
> small-company
> use and you want something that works and is stable, especially
> if you want
> it rack mountable, it is NOT necessarily trivial. Part of it is
> the problem
> of finding a solution that meets the requirements, and parts of
> it is about
> figuring out whether a particular solution DOES meet the requirements.
>
> For example, once your cheaper Dell server has arrived and you
> suddenly notice
> that it's delivered without a BBU, and clearly has write caching
> turned on
> based on performance, try asking (remember, this is a lonely
> customer with a
> single service) Dell hardware support whether that particular
> controller will
> honor cache flush requests right down to the constituent
> drives... I did, and
> eventually got a response after 1-2 weeks. But the response was
> such that I
> could not feel confident that the question was accurately
> forwarded to the
> right individual.
>

That is exactly why computer consulting firms (like the one that
partly owns the ISP I work for) exist.  There's a list of them
on the FreeBSD website that sell hardware.

For the poor sod trying to get 1 machine, he has a choice:

pay a trivial couple hundred bucks to a consulting firm that
sells PCs to small businesses to supply the system he needs for
his business

do it himself and deal with all of the research beforehand,
and all the post-support hassles with Dell or HP or whatever.


You see, the problem is that the small business/home office
types see these consumer-adverts in the backs of the newspaper
for a $299.99 Dell, and they immediately assume a computer is
a computer is a computer, and that they shouldn't have to pay
a consultant more than $50 to provide everything with all the
trimmings to them - because after all a consultant is going to
do is just pick up the phone and place the order, eh?

(frankly, the FBSD folk have it easy - this attitude is 10 times
worse in the Mickeysoft consulting business)

For the home user, his choice is either spending the $300 and
crossing his fingers and hope the thing works at all, or actually
approaching it from a professional point of view and doing what
the businesses are supposed to be doing - that is, hiring a
consultant that knows what they are doing, or spending the
same amount of time and money that a knowledgeable consultant
spent.

You think I got my knowledge for free?  I have a basement
full of old computer hardware I bought over the years while
I learned that says otherwise. Care for an $80 CGA card?
Now do you see why consultants go crazy with that "your
knowledge ain't worth anything" attitude?

As long as the FreeBSD community cops the attitude that FBSD is
only for do-it-yourselfers, it's going to be largely ignored by
most of the business community.

In any case, I can count the number of people who have posted
"I'm planning on getting a system that is going to run FreeBSD
what should I get" questions on the mailing list in the last
year on the fingers of 1 hand, I think, so I really tend to
discount this argument.

I'll repeat, the vast majority of people complaining about
hardware problems with FreeBSD are the folks who bought first,
THEN when something didn't work, came running to the mailing
list.  And the vast majority of them claim they cannot take
it back because it's past the UCC-manda

Re: Low space on /

2008-03-14 Thread Alex de Kruijff
On Fri, Mar 14, 2008 at 06:07:47PM +0100, Alex de Kruijff wrote:
> On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote:
> > On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote:
> > 
> > > On Thu, 13 Mar 2008 16:15:22 -0400
> > > Robert Huff <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > Ghirai writes:
> > > > 
> > > > >  Can't remember exactly since when, or how, but atm. i see this:
> > > > >  
> > > > >  Filesystem SizeUsed   Avail Capacity  Mounted on
> > > > >  /dev/ad6s3a496M454M1.8M   100%/
> > > > 
> > > > Start with /tmp.
> > > > Also:
> > > > 
> > > > du -x / | sort -nr | head -n 25
> > > > 
> > > > 
> > > 
> > > Here's the output (removed a couple other < 100KiB ):
> > > 
> > > 986K/bin
> > > 512B/dev
> > > 366K/etc/rc.d
> > > 270K/lib/geom
> > > 250K/etc/mail
> > > 170K/libexec
> > > 138K/etc/ssh
> > > 137M/
> > > 121M/boot
> > > 118K/etc/periodic
> > > 116K/etc/defaults
> > > 112M/boot/kernel
> > > 
> > > /tmp is ~2MiB.
> > 
> > try doing a df -k to see what file systems are really
> > there and what they have in them.
> > Then go in to root (/) and do  ls -laF
> > That may provide some clues.
> > 
> 
> This seams to be be a partial account of /. 
> Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'.

The first command should be:
du -hx / | grep ^\[\ \.0-9\]\*M
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: C compiler issue perhaps?

2008-03-14 Thread Doug Hardie


On Mar 14, 2008, at 18:31, Derek Ragona wrote:


At 06:56 PM 3/14/2008, Doug Hardie wrote:

There is no code running at that point.  Its just sitting there
waiting for me to enter a gdb command.


On Mar 14, 2008, at 15:16, Derek Ragona wrote:


At 05:10 PM 3/14/2008, Doug Hardie wrote:
I have a program I was testing with gdb.  I was trying to figure  
out

why c.rmonths was always zero when it should have been 6.  Stepped
through using the gdb n command.  Here is the output:

(gdb)
215 c.rmonths = (edate - tdate) /
toMONTHS;
(gdb)
223 c.dial_in = u.dial_in[0];
(gdb)
224 c.dsl = u.dsl[0];
(gdb) p c.rmonths
$1 = 0
(gdb) p c
$2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
  type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
  dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0  
'\0',

  renewal = 89 'Y', program = "I\000\000"}
(gdb) p c->rmonths
$3 = 6
(gdb) p c.rmonths
$4 = 6


Notice, the first time i print it its zero.  The second time its 6.
What gives here?  I have seen this before but couldn't pin it down.
The program is not compiled with any optimization.  It is in a  
shared

library though.


It is hard to tell without the code you used.  I would put some
printf's in the code and see what and when that variable gets set to
in actual running code.

-Derek


I understand it is waiting at a breakpoint in gdb.  What I meant was  
put printf's in your code and run the program and look at the  
output.  You can use fprintf's to stderr if your prefer and just  
look at the stderr output.


It is hard to diagnose what could be a compiler error, or a coding  
error.  Remember in C you can do many things you really shouldn't.   
It is also advisable to run lint over your source code too.


All that lint shows is it doesn't like comments using // and lots of  
errors in /usr/include files.

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


Samba listing same file twice and omitting others

2008-03-14 Thread Rhomel Chinsio
Hi Everyone,

I've got freebsd 7.0 RELEASE AMD64 running with samba and ZFS. Everything
seems to work, except samba is incorrectly reporting a small chunk of files.


For certain files, the file appears twice on a windows machine but reading
from both files yields the same file. For other files, it does not report
the file at all. But if you copy the same file again, it will ask you if you
want to replace the existing file. Additionally if you go onto the freebsd
box and do an ls on the files, they will appear correctly (missing ones show
up and duplicates do not).

I tried two different windows boxes (vista and windows xp sp2) and both
behave the same way. All permissions are set to 777 on all files.

Any idea if this is a samba bug?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail: from virtual address changed to maindomain

2008-03-14 Thread Roberto Nunnari

Hi all.

This is driving me mad.. I hope a kind soul can help me out..
This is the relevant environment:

# uname -rms
FreeBSD 6.1-RELEASE-p23 i386

# hostname
jupiter.maindomain.com

# cat /etc/mail/local-host-names
maindomain.com
mydomain1.com

# cat /etc/mail/generics-domains
mydomain1.com

# cat /etc/mail/genericstable
md101[EMAIL PROTECTED]
md102[EMAIL PROTECTED]

# cat /etc/mail/virtusertable
[EMAIL PROTECTED]md101
[EMAIL PROTECTED]md102

entries in hostname.mc
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

MX hostnames are all A records.

well, as long as the users receive/send emails from/to external domains
everything works just fine, but when:

[EMAIL PROTECTED] sends to [EMAIL PROTECTED] or viceversa

the message gets to the right user, but the from header is
changed to [EMAIL PROTECTED], mailbox that doesn't exists!

Any hints/suggestions?

Please, help!

Thank you.
Robi


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


Re: C compiler issue perhaps?

2008-03-14 Thread Derek Ragona

At 06:56 PM 3/14/2008, Doug Hardie wrote:

There is no code running at that point.  Its just sitting there
waiting for me to enter a gdb command.


On Mar 14, 2008, at 15:16, Derek Ragona wrote:


At 05:10 PM 3/14/2008, Doug Hardie wrote:

I have a program I was testing with gdb.  I was trying to figure out
why c.rmonths was always zero when it should have been 6.  Stepped
through using the gdb n command.  Here is the output:

(gdb)
215 c.rmonths = (edate - tdate) /
toMONTHS;
(gdb)
223 c.dial_in = u.dial_in[0];
(gdb)
224 c.dsl = u.dsl[0];
(gdb) p c.rmonths
$1 = 0
(gdb) p c
$2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
  type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
  dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0',
  renewal = 89 'Y', program = "I\000\000"}
(gdb) p c->rmonths
$3 = 6
(gdb) p c.rmonths
$4 = 6


Notice, the first time i print it its zero.  The second time its 6.
What gives here?  I have seen this before but couldn't pin it down.
The program is not compiled with any optimization.  It is in a shared
library though.


It is hard to tell without the code you used.  I would put some
printf's in the code and see what and when that variable gets set to
in actual running code.

-Derek


I understand it is waiting at a breakpoint in gdb.  What I meant was put 
printf's in your code and run the program and look at the output.  You can 
use fprintf's to stderr if your prefer and just look at the stderr output.


It is hard to diagnose what could be a compiler error, or a coding 
error.  Remember in C you can do many things you really shouldn't.  It is 
also advisable to run lint over your source code too.


-Derek

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

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


Re: interactive stop on boot

2008-03-14 Thread Jason Barnes
These suggestions look really good -- thanks for your help everyone.
I'll let you know how they work :)

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


Re: C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
There is no code running at that point.  Its just sitting there  
waiting for me to enter a gdb command.



On Mar 14, 2008, at 15:16, Derek Ragona wrote:


At 05:10 PM 3/14/2008, Doug Hardie wrote:

I have a program I was testing with gdb.  I was trying to figure out
why c.rmonths was always zero when it should have been 6.  Stepped
through using the gdb n command.  Here is the output:

(gdb)
215 c.rmonths = (edate - tdate) /  
toMONTHS;

(gdb)
223 c.dial_in = u.dial_in[0];
(gdb)
224 c.dsl = u.dsl[0];
(gdb) p c.rmonths
$1 = 0
(gdb) p c
$2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
  type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
  dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0',
  renewal = 89 'Y', program = "I\000\000"}
(gdb) p c->rmonths
$3 = 6
(gdb) p c.rmonths
$4 = 6


Notice, the first time i print it its zero.  The second time its 6.
What gives here?  I have seen this before but couldn't pin it down.
The program is not compiled with any optimization.  It is in a shared
library though.


It is hard to tell without the code you used.  I would put some  
printf's in the code and see what and when that variable gets set to  
in actual running code.


-Derek

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


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


Re: 16GB AMD Opteron-machine - AMD64 or PAE?

2008-03-14 Thread Cesar Amaya

Ewald Jenisch wrote:

Hi,

For one of my machines (HP C-class Blade, 2 * AMD Opteron, 16GB RAM)
should I go for the i386 or the amd64 Version of FreeBSD 7.0?

As far as I've seen kernel and system isn't a problem with the amd64
version, but how about ports?

To be specific here's what I'd like to install on this machine:

o) mrtg
o) cacti
o) nfsen
o) named (caching DNS only)
o) ntpd
o) TSM-client (Client for IBM Backup-System running in Linux emulation mode)

Does anybody have experience with any of these applications under the
amd64-Version of FreeBSD? Caveats any?

Thanks in advance for any clue,
-ewald
  
Search for the subject "RAM not recognized". I  have  two  2 servers  
with  Quad Core Intel-Xeon running FreeBSD-7.0-AMD64 and I had no 
problem at all. I installed several ports such as Samba, LDAP,  Bind, 
Ntpd, Perl, Ruby, smbldap-tools.


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


Re: C compiler issue perhaps?

2008-03-14 Thread Derek Ragona

At 05:10 PM 3/14/2008, Doug Hardie wrote:

I have a program I was testing with gdb.  I was trying to figure out
why c.rmonths was always zero when it should have been 6.  Stepped
through using the gdb n command.  Here is the output:

(gdb)
215 c.rmonths = (edate - tdate) / toMONTHS;
(gdb)
223 c.dial_in = u.dial_in[0];
(gdb)
224 c.dsl = u.dsl[0];
(gdb) p c.rmonths
$1 = 0
(gdb) p c
$2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
  type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
  dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0',
  renewal = 89 'Y', program = "I\000\000"}
(gdb) p c->rmonths
$3 = 6
(gdb) p c.rmonths
$4 = 6


Notice, the first time i print it its zero.  The second time its 6.
What gives here?  I have seen this before but couldn't pin it down.
The program is not compiled with any optimization.  It is in a shared
library though.


It is hard to tell without the code you used.  I would put some printf's in 
the code and see what and when that variable gets set to in actual running 
code.


-Derek

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

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


C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
I have a program I was testing with gdb.  I was trying to figure out  
why c.rmonths was always zero when it should have been 6.  Stepped  
through using the gdb n command.  Here is the output:


(gdb)
215 c.rmonths = (edate - tdate) / toMONTHS;
(gdb)
223 c.dial_in = u.dial_in[0];
(gdb)
224 c.dsl = u.dsl[0];
(gdb) p c.rmonths
$1 = 0
(gdb) p c
$2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
  type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
  dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0',
  renewal = 89 'Y', program = "I\000\000"}
(gdb) p c->rmonths
$3 = 6
(gdb) p c.rmonths
$4 = 6


Notice, the first time i print it its zero.  The second time its 6.   
What gives here?  I have seen this before but couldn't pin it down.   
The program is not compiled with any optimization.  It is in a shared  
library though.

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


Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Wael Nasreddine <[EMAIL PROTECTED]> said, On Fri, 
Mar 14, 2008 at 08:42:03PM +0100:
> This One Time, at Band Camp, Kevin Downey <[EMAIL PROTECTED]> said, On Fri, 
> Mar 14, 2008 at 11:14:59AM -0700:
> > I had a similar problem. I fixed it my commenting out one of the
> > extensions listed in  /usr/local/etc/php/extensions.ini
> > I forgot which one. I currently have three of them commented out:

> > #extension=mcrypt.so
> > #extension=mbstring.so
> > #extension=mhash.so

> I have commented the same modules that you have... I will try with it
> this way and see if it happens again...

> Thanks
Ok that actually does work, I did more tests and the modules causing
this are
extension=mbstring.so
extension=mcrypt.so
both of them cause the Segfault(11) the nhash.so module is ok...

Thanks

> > On Fri, Mar 14, 2008 at 10:55 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> > > This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 
> > > 14, 2008 at 06:32:40PM +0100:


> > > > On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> > >  > > Hello,

> > >  > > I have this problem with apache 2.2.8, and I don't know the reason 
> > > yet.

> > >  > > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> > >  > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> > >  > > Timecounter "i8254" frequency 1193182 Hz quality 0
> > >  > > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
> > >  > >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

> > >  > > 
> > > Features=0xbfebfbff > >  > >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> > >  > > Features2=0x641d
> > >  > >   AMD Features=0x20100800
> > >  > >   Logical CPUs per core: 2
> > >  > > usable memory = 2139377664 (2040 MB)
> > >  > > avail memory  = 2064826368 (1969 MB)
> > >  > > ACPI APIC Table: 
> > >  > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> > >  > >  cpu0 (BSP): APIC ID:  0
> > >  > >  cpu1 (AP): APIC ID:  1
> > >  > > ioapic0: Changing APIC ID to 4
> > >  > > ioapic0  irqs 0-23 on motherboard
> > >  > > ioapic1  irqs 24-47 on motherboard
> > >  > > acpi0:  on motherboard
> > >  > > acpi0: [ITHREAD]
> > >  > > acpi0: Power Button (fixed)
> > >  > > acpi0: reservation of 0, a (3) failed
> > >  > > acpi0: reservation of 10, 7fde (3) failed
> > >  > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> > >  > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> > >  > > cpu0:  on acpi0
> > >  > > p4tcc0:  on cpu0
> > >  > > cpu1:  on acpi0
> > >  > > p4tcc1:  on cpu1
> > >  > > acpi_button0:  on acpi0
> > >  > > pcib0:  port 0xcf8-0xcff on acpi0
> > >  > > pci0:  on pcib0
> > >  > > pcib1:  at device 1.0 on pci0
> > >  > > pci1:  on pcib1
> > >  > > pcib2:  at device 3.0 on pci0
> > >  > > pci2:  on pcib2
> > >  > > em0:  port
> > >  > > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 
> > > at
> > >  > > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> > >  > > em0: [FILTER]
> > >  > > pcib3:  at device 28.0 on pci0
> > >  > > pci3:  on pcib3
> > >  > > vgapci0:  port 0xa000-0xa0ff mem
> > >  > > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on 
> > > pci3
> > >  > > pci0:  at device 29.0 (no driver attached)
> > >  > > pci0:  at device 29.1 (no driver attached)
> > >  > > pci0:  at device 29.4 (no driver attached)
> > >  > > pci0:  at device 29.7 (no driver attached)
> > >  > > pcib4:  at device 30.0 on pci0
> > >  > > pci4:  on pcib4
> > >  > > atapci0:  port
> > >  > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> > >  > > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on 
> > > pci4
> > >  > > atapci0: [ITHREAD]
> > >  > > atapci0: [ITHREAD]
> > >  > > ata2:  on atapci0
> > >  > > ata2: [ITHREAD]
> > >  > > ata3:  on atapci0
> > >  > > ata3: [ITHREAD]
> > >  > > ata4:  on atapci0
> > >  > > ata4: [ITHREAD]
> > >  > > ata5:  on atapci0
> > >  > > ata5: [ITHREAD]
> > >  > > isab0:  at device 31.0 on pci0
> > >  > > isa0:  on isab0
> > >  > > atapci1:  port
> > >  > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 
> > > 31.2 on
> > >  > > pci0 ata0:  on atapci1
> > >  > > ata0: [ITHREAD]
> > >  > > ata1:  on atapci1
> > >  > > ata1: [ITHREAD]
> > >  > > pci0:  at device 31.3 (no driver attached)
> > >  > > pci0:  at device 31.5 (no driver attached)
> > >  > > sio0: configured irq 4 not in bitmap of probed irqs 0
> > >  > > sio0: port may not be enabled
> > >  > > sio0: configured irq 4 not in bitmap of probed irqs 0
> > >  > > sio0: port may not be enabled
> > >  > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 
> > > on
> > >  > > acpi0 sio0: type 16550A
> > >  > > sio0: [FILTER]
> > >  > > sio1: configured irq 3 not in bitmap of probed irqs 0
> > >  > > sio1: port may not be enabled
> > >  > > sio1: configured irq 3 not in bitmap of probed irqs 0
> > >  > > sio1: port may not be enabled
> > >

Re: portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread Lowell Gilbert
RW <[EMAIL PROTECTED]> writes:

> On Fri, 14 Mar 2008 17:59:30 +0100
> bsd <[EMAIL PROTECTED]> wrote:
>
>  
>> Simply put, the question is: should I force recompile all my
>> installed ports since I have updated my system?
>
> In the long term it's a good idea to do it, but there's no hurry
> unless you see a specific library problem. You could just install
> misc/compat5x, wait a bit and then do a portupgrade -f '<2008-03-14'
> when most ports have been updated anyway.

The problem with that advice is that it's extremely likely to result
in some ports getting linked against some libraries from 5 and some
from 6, which will probably result in them breaking.  It's a much
better idea to do everything at once in dependency order, before doing
any other kind of port upgrades (or adding new ports, for that matter).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread Lowell Gilbert
bsd <[EMAIL PROTECTED]> writes:

> I have updated from 5.5 to 6.3 and wanted to know if It advisable to
> make a :
>
> # potupgrade -fa
>
>
> Knowing that I have kept my port tree up to date and have no outdated
> ports.
>
>
> Simply put, the question is: should I force recompile all my installed
> ports since I have updated my system?

Eventually, yes.  Make sure you do it before you add or update any of
yourinstalled ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA problems (Abit IP35-Pro)

2008-03-14 Thread Alexander Sack
On Fri, Mar 14, 2008 at 1:57 PM, Isaac Mushinsky <[EMAIL PROTECTED]> wrote:
>
> I can install with this AHCI setup, but have no idea what the implications
> are. Is there a known fix for SATA/IDE? Or is AHCI better?


If you can you should set it to AHCI which is a true native SATA mode
instead of IDE emulation.
AHCI is a true SATA hardware interface that exposes a fully featured
protocol stack (NCQ, hot-plug, staggered spin-up etc.).

Without it, you revert back to classical IDE over a SATA phy which doesn't
really slow down the physical connection but adds a lot of driver overhead,
i.e. by treating it as an IDE device, the driver performs a lot of
unnecessary I/O access such as having to select the drive even though its
point-to-point ("serial"), etc.

-aps

-- 
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[slightly off topic] Users of tikiwiki (on this list), question about the editors

2008-03-14 Thread Andrew Falanga
Hi,

I'm looking at possibly using tikiwiki.  First off, does anyone here
use it?  Second, if so, is there a WYSIWYG editor for editing pages in
it?  I'm very curious to know about that.  I've used wiki's before and
for my church, I don't think many who would keep content on the site
would like to use syntax like:

+++ item 1
+++ item 2

etc.
(The above is from memory, it's been quite a while and I didn't use it
much.)  Are there management interfaces that present users with rich
text editors and they simply type what they want and the editor
translates it to wiki?

Thanks,
Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sync or Soft Updates or gjournal for fileserver

2008-03-14 Thread David Wassman
All,

Here is the system specs:
OS: FreeBSD-amd64 7.0-Release
Processors: 2 Intel Xeon 5400 Quads
Storage: ~438 GB RAID 5 (LSI 85016E & 4 Seagate 15K Cheetahs)

My question is with this setup (Have not assembled or installed yet),
for a fileserver running Samba to share in mixed environment, what would
be better, sync, soft updates or gjournal. From my understanding, sync
is the most secure as far as data integrity but suffers from
performance. Soft Updates is a mix between the two but from reading
Lucas's Absolute FreeBSD, he says that it is best for drives under 80GB.
Gjournal sounds like the answer but it is new and from my understand
still considered experimental. As a file server, I would like to keep
snapshots for quick recovery of files but if I am not mistaken this
requires Soft Updates (I have additional backups, but I would like to
run them off snapshots to keep the system available). Does gjournal
support snapshots as well? Will Soft Updates work fine with this setup?
This is for a production environment (it is replacing a Windows 2000
fileserver), so would sync be the best bet to ensure data integrity over
the benefits of soft updates and gjournal? 

I have a fair amount of experience with FreeBSD (5+ years) and would
normally just use Soft Updates but with the size of the storage
involved, new features in 7, and both data integrity and performance
being a concern, I am just not sure which would be best here. 

Any advice would be helpful. 

David Wassman, MCP Net+
IT Network Administrator
Davis, Monk & Company
(800) 344-5034
(352) 372-6300
(352) 375-1583 FAX

The information contained in this electronic message is legally
privileged and confidential under applicable law, and is intended only
for the use of the individual or entity named above. If you are not the
intended recipient, you are hereby notified that any dissemination,
copying or disclosure of this communication is strictly prohibited. If
you have received this communication in error, please notify Davis, Monk
& Company (352) 372-6300 and delete this communication immediately
without reading it, making any copies of it or distributing it.
 

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


Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Kevin Downey <[EMAIL PROTECTED]> said, On Fri, Mar 
14, 2008 at 11:14:59AM -0700:
> I had a similar problem. I fixed it my commenting out one of the
> extensions listed in  /usr/local/etc/php/extensions.ini
> I forgot which one. I currently have three of them commented out:

> #extension=mcrypt.so
> #extension=mbstring.so
> #extension=mhash.so

I have commented the same modules that you have... I will try with it
this way and see if it happens again...

Thanks


> On Fri, Mar 14, 2008 at 10:55 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> > This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 
> > 2008 at 06:32:40PM +0100:


> > > On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> >  > > Hello,

> >  > > I have this problem with apache 2.2.8, and I don't know the reason yet.

> >  > > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> >  > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> >  > > Timecounter "i8254" frequency 1193182 Hz quality 0
> >  > > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
> >  > >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

> >  > > 
> > Features=0xbfebfbff >  > >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >  > > Features2=0x641d
> >  > >   AMD Features=0x20100800
> >  > >   Logical CPUs per core: 2
> >  > > usable memory = 2139377664 (2040 MB)
> >  > > avail memory  = 2064826368 (1969 MB)
> >  > > ACPI APIC Table: 
> >  > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> >  > >  cpu0 (BSP): APIC ID:  0
> >  > >  cpu1 (AP): APIC ID:  1
> >  > > ioapic0: Changing APIC ID to 4
> >  > > ioapic0  irqs 0-23 on motherboard
> >  > > ioapic1  irqs 24-47 on motherboard
> >  > > acpi0:  on motherboard
> >  > > acpi0: [ITHREAD]
> >  > > acpi0: Power Button (fixed)
> >  > > acpi0: reservation of 0, a (3) failed
> >  > > acpi0: reservation of 10, 7fde (3) failed
> >  > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> >  > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> >  > > cpu0:  on acpi0
> >  > > p4tcc0:  on cpu0
> >  > > cpu1:  on acpi0
> >  > > p4tcc1:  on cpu1
> >  > > acpi_button0:  on acpi0
> >  > > pcib0:  port 0xcf8-0xcff on acpi0
> >  > > pci0:  on pcib0
> >  > > pcib1:  at device 1.0 on pci0
> >  > > pci1:  on pcib1
> >  > > pcib2:  at device 3.0 on pci0
> >  > > pci2:  on pcib2
> >  > > em0:  port
> >  > > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
> >  > > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> >  > > em0: [FILTER]
> >  > > pcib3:  at device 28.0 on pci0
> >  > > pci3:  on pcib3
> >  > > vgapci0:  port 0xa000-0xa0ff mem
> >  > > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on 
> > pci3
> >  > > pci0:  at device 29.0 (no driver attached)
> >  > > pci0:  at device 29.1 (no driver attached)
> >  > > pci0:  at device 29.4 (no driver attached)
> >  > > pci0:  at device 29.7 (no driver attached)
> >  > > pcib4:  at device 30.0 on pci0
> >  > > pci4:  on pcib4
> >  > > atapci0:  port
> >  > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> >  > > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on 
> > pci4
> >  > > atapci0: [ITHREAD]
> >  > > atapci0: [ITHREAD]
> >  > > ata2:  on atapci0
> >  > > ata2: [ITHREAD]
> >  > > ata3:  on atapci0
> >  > > ata3: [ITHREAD]
> >  > > ata4:  on atapci0
> >  > > ata4: [ITHREAD]
> >  > > ata5:  on atapci0
> >  > > ata5: [ITHREAD]
> >  > > isab0:  at device 31.0 on pci0
> >  > > isa0:  on isab0
> >  > > atapci1:  port
> >  > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 
> > 31.2 on
> >  > > pci0 ata0:  on atapci1
> >  > > ata0: [ITHREAD]
> >  > > ata1:  on atapci1
> >  > > ata1: [ITHREAD]
> >  > > pci0:  at device 31.3 (no driver attached)
> >  > > pci0:  at device 31.5 (no driver attached)
> >  > > sio0: configured irq 4 not in bitmap of probed irqs 0
> >  > > sio0: port may not be enabled
> >  > > sio0: configured irq 4 not in bitmap of probed irqs 0
> >  > > sio0: port may not be enabled
> >  > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> >  > > acpi0 sio0: type 16550A
> >  > > sio0: [FILTER]
> >  > > sio1: configured irq 3 not in bitmap of probed irqs 0
> >  > > sio1: port may not be enabled
> >  > > sio1: configured irq 3 not in bitmap of probed irqs 0
> >  > > sio1: port may not be enabled
> >  > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> >  > > sio1: type 16550A
> >  > > sio1: [FILTER]
> >  > > orm0:  at iomem 0xc-0xc7fff on isa0
> >  > > atkbdc0:  at port 0x60,0x64 on isa0
> >  > > atkbd0:  irq 1 on atkbdc0
> >  > > kbd0 at atkbd0
> >  > > atkbd0: [GIANT-LOCKED]
> >  > > atkbd0: [ITHREAD]
> >  > > sc0:  at flags 0x100 on isa0
> >  > > sc0: VGA <16 virtual consoles, flags=0x300>
> >  > > vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on 
> > isa0
> >  > > Timecounters tick every 1.000 msec

Re: apache 2.2.8 uid 80: exited on signal 11 (was signal 4)

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Kevin Kinsey <[EMAIL PROTECTED]> said, On Fri, Mar 
14, 2008 at 01:25:52PM -0500:
> Wael Nasreddine wrote:
>> This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> 
>> said, On Fri, Mar 14, 2008 at 06:32:40PM +0100:
>>> On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
 pid 88487 (httpd), uid 80: exited on signal 4
 pid 98657 (httpd), uid 80: exited on signal 4
 pid 52780 (httpd), uid 80: exited on signal 4
 pid 58619 (httpd), uid 80: exited on signal 4
>>> #define SIGILL  4   /* illegal instr. (not reset when caught) 
>>> */
>>> If you're sure there are no CPU specific flags set during apache 
>>> compilation, you might want to get a core dump. Is apache the only 
>>> program creating SIGILL?
>> I'm having a similar issue, ny dmesg is filled with
>>  CUT
>> pid 63364 (httpd), uid 80: exited on signal 11
>>  CUT
>> my /etc/make.conf:
>>  CUT
>> CFLAGS+="-march=pentium4"
>> WITHOUT_X11=yes
>> WITHOUT_JAVA=yes
>> # Use Perl with threads
>> WITH_THREADS=yes
>> # added by use.perl 2008-03-13 22:04:11
>> PERL_VER=5.8.8
>> PERL_VERSION=5.8.8
>>  CUT
>> what could be the problem...
>
> Well, first, signal 11 isn't signal 4, so the
> problem isn't very *closely* related, but I'll
> bite anyway.
>
Sorry for being off-topic I thought the solution would be almost the
same or he could try whatever solution proposed to both of us, anyway
sorry again :$

> That said, I've little idea what could be
> causing your httpd to die with sig 11.  In
> my experience, signal 11s are generally caused
> by incompatible modules (*.so) loading along
> with httpd during Apache startup.  PHP, in
> particular, after a portupgrade.  Any resemblance
> to your situation?
>
Actuallly it's a fresh 7.0-RELEASE Installation, So I don't think a
module might be broken unless it's a bug.

> Kevin Kinsey


-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpMKKppEDe1g.pgp
Description: PGP signature


RE: interactive stop on boot

2008-03-14 Thread David Wassman
Jason,

If there isn't anything needed from the NFS mounts, you can add
intr,soft options to the /etc/fstab for each NFS share. Intr allows you
to interrupt the NFS process with CTRL-C. You may not be available to do
this, but you could call a user to do it. Soft allows the NFS client to
fail, instead of hang. 

Or you could just delete the entries or have them noauto.

Also, verify that the dump and pass# are set to zero. At least pass#, as
if it is any other number, the background fschk will try to run and hang
if not available (not ideal to run fschk on NFS mounts anyway)

Hope this helps.


David Wassman

Message: 13
Date: Fri, 14 Mar 2008 08:24:57 -0700
From: "Jason Barnes" <[EMAIL PROTECTED]>
Subject: interactive stop on boot
To: [EMAIL PROTECTED]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi -- I'm running a "Tombstone" machine that's functioning as a
server.  The machine is located somewhere with a fast connection, and
not somewhere that I have easy access to.  As such, I want this
machine to do its best to boot up and get onto the network, no matter
what happens on boot, so that I have a chance to actually fix the
problem.

Lately when it boots it runs into an NFS mounting error, claiming that
some of my NFS-mounted drives have unexpected inconsistencies.  It
says "unexpected error - help!" and then quits to a /bin/sh
single-user-mode prompt.  As I am 10 miles away, this is decidedly
unhelpful.  I don't care if it can't mount some irrelevant drive or
not; I want it to boot up and ask me questions later.

Is there a way that I can set the machine to do its best to boot no
matter what it finds at boot time?  Thanks in advance for any help you
can provide,

- Jason

PS -- Boot messages not available, as the machine is down at the
moment and I can't get over there to type "   exit"
until later this afternoon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread RW
On Fri, 14 Mar 2008 17:59:30 +0100
bsd <[EMAIL PROTECTED]> wrote:

 
> Simply put, the question is: should I force recompile all my
> installed ports since I have updated my system?

In the long term it's a good idea to do it, but there's no hurry
unless you see a specific library problem. You could just install
misc/compat5x, wait a bit and then do a portupgrade -f '<2008-03-14'
when most ports have been updated anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA problems (Abit IP35-Pro)

2008-03-14 Thread Isaac Mushinsky
On 3/14/08, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
>
> Isaac Mushinsky wrote:
>
> >If I set SATA controller to AHCI, the system boots (although with some
> ACPI
> >errors), and I was able to install. However, fdisk thinks that the
> geometry
> >is "incorrect", and insists on a different one
> >
> Sysinstall nearly always says this, and undoubtedly sysinstall is
> nearly* always correct.  Ignore it and move on.
>
> >(it says the drives have
> >476gb rather than 500gb).
> >
> Manufacturers like to make their disks look bigger by using 1000 instead
> of 1024 when scaling Kb to Gb so:
>
>476 Gb * 1024 * 1024   = 499122176K bytes
>
>500 "Gb" * 1000 * 1000 = 5K bytes
>
> which is near as dammit the same.
>
> --Alex
>
> *In ten years of FreeBSD I have seen the warning many times, and seen
> people asking about the warning many, many, many times.  What I never
> remember seeing is any case where someone needed to do anything about
> that warning.  That doesn't prove anything (my memory is of unknown
> reliability), but you have my word that it's not *that* bad :-)
>
>
>
>
Thanks. I thought so about the size, just wondered whether there is anything
wrong with the geometry warning. I don't remember encountering it before.
Although I use FreeBSD since 2.x, my last sysinstall was many years ago.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA problems (Abit IP35-Pro)

2008-03-14 Thread Alex Zbyslaw

Isaac Mushinsky wrote:


If I set SATA controller to AHCI, the system boots (although with some ACPI
errors), and I was able to install. However, fdisk thinks that the geometry
is "incorrect", and insists on a different one 

Sysinstall nearly always says this, and undoubtedly sysinstall is 
nearly* always correct.  Ignore it and move on.



(it says the drives have
476gb rather than 500gb).

Manufacturers like to make their disks look bigger by using 1000 instead 
of 1024 when scaling Kb to Gb so:


   476 Gb * 1024 * 1024   = 499122176K bytes

   500 "Gb" * 1000 * 1000 = 5K bytes

which is near as dammit the same.

--Alex

*In ten years of FreeBSD I have seen the warning many times, and seen 
people asking about the warning many, many, many times.  What I never 
remember seeing is any case where someone needed to do anything about 
that warning.  That doesn't prove anything (my memory is of unknown 
reliability), but you have my word that it's not *that* bad :-)




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


Re: SATA problems (Abit IP35-Pro)

2008-03-14 Thread Wojciech Puchar

errors), and I was able to install. However, fdisk thinks that the geometry
is "incorrect", and insists on a different one (it says the drives have
476gb rather than 500gb).


it says true. 500 billion bytes which is about 465GB - standard marketing 
trick today.


it's all right



I can install with this AHCI setup, but have no idea what the implications
are. Is there a known fix for SATA/IDE? Or is AHCI better?

use AHCI if you can.

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


Re: apache 2.2.8 uid 80: exited on signal 11 (was signal 4)

2008-03-14 Thread Kevin Kinsey

Wael Nasreddine wrote:

This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 
at 06:32:40PM +0100:

On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:

pid 88487 (httpd), uid 80: exited on signal 4
pid 98657 (httpd), uid 80: exited on signal 4
pid 52780 (httpd), uid 80: exited on signal 4
pid 58619 (httpd), uid 80: exited on signal 4



#define SIGILL  4   /* illegal instr. (not reset when caught) */


If you're sure there are no CPU specific flags set during apache compilation, 
you might want to get a core dump. Is apache the only program creating 
SIGILL?


I'm having a similar issue, ny dmesg is filled with
 CUT
pid 63364 (httpd), uid 80: exited on signal 11
 CUT

my /etc/make.conf:
 CUT
CFLAGS+="-march=pentium4"
WITHOUT_X11=yes
WITHOUT_JAVA=yes

# Use Perl with threads
WITH_THREADS=yes

# added by use.perl 2008-03-13 22:04:11
PERL_VER=5.8.8
PERL_VERSION=5.8.8
 CUT

what could be the problem...


Well, first, signal 11 isn't signal 4, so the
problem isn't very *closely* related, but I'll
bite anyway.

That said, I've little idea what could be
causing your httpd to die with sig 11.  In
my experience, signal 11s are generally caused
by incompatible modules (*.so) loading along
with httpd during Apache startup.  PHP, in
particular, after a portupgrade.  Any resemblance
to your situation?

Kevin Kinsey
--
Marry in haste and everyone starts counting the months.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Virtualized FreeBSD

2008-03-14 Thread Tech Valley Internet - Tony Kivits

Hello All,

I am currently running CentOS on a bunch of virtualized guest os's 
but need to upgrade them.  I see that FreeBSD 7.0 is 
virtualized.  Given a choice, I would rather use FreeBSD because of 
the ease of use of keeping the ports current.


I am just wondering if anyone has used the virtualized FreeBSD in a 
producton environment and if so what are the pros and cons?


Thanks,

Tony Kivits, i-Net+
Network Administrator
Tech Valley Internet Solutions
www.TechValley.ca
778.892.5251

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


Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Kevin Downey
I had a similar problem. I fixed it my commenting out one of the
extensions listed in  /usr/local/etc/php/extensions.ini
I forgot which one. I currently have three of them commented out:

#extension=mcrypt.so
#extension=mbstring.so
#extension=mhash.so


On Fri, Mar 14, 2008 at 10:55 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 
> 2008 at 06:32:40PM +0100:
>
>
> > On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
>  > > Hello,
>
>  > > I have this problem with apache 2.2.8, and I don't know the reason yet.
>
>  > > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
>  > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
>  > > Timecounter "i8254" frequency 1193182 Hz quality 0
>  > > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
>  > >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
>
>  > > 
> Features=0xbfebfbff  > >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>  > > Features2=0x641d
>  > >   AMD Features=0x20100800
>  > >   Logical CPUs per core: 2
>  > > usable memory = 2139377664 (2040 MB)
>  > > avail memory  = 2064826368 (1969 MB)
>  > > ACPI APIC Table: 
>  > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  > >  cpu0 (BSP): APIC ID:  0
>  > >  cpu1 (AP): APIC ID:  1
>  > > ioapic0: Changing APIC ID to 4
>  > > ioapic0  irqs 0-23 on motherboard
>  > > ioapic1  irqs 24-47 on motherboard
>  > > acpi0:  on motherboard
>  > > acpi0: [ITHREAD]
>  > > acpi0: Power Button (fixed)
>  > > acpi0: reservation of 0, a (3) failed
>  > > acpi0: reservation of 10, 7fde (3) failed
>  > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>  > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>  > > cpu0:  on acpi0
>  > > p4tcc0:  on cpu0
>  > > cpu1:  on acpi0
>  > > p4tcc1:  on cpu1
>  > > acpi_button0:  on acpi0
>  > > pcib0:  port 0xcf8-0xcff on acpi0
>  > > pci0:  on pcib0
>  > > pcib1:  at device 1.0 on pci0
>  > > pci1:  on pcib1
>  > > pcib2:  at device 3.0 on pci0
>  > > pci2:  on pcib2
>  > > em0:  port
>  > > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
>  > > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
>  > > em0: [FILTER]
>  > > pcib3:  at device 28.0 on pci0
>  > > pci3:  on pcib3
>  > > vgapci0:  port 0xa000-0xa0ff mem
>  > > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
>  > > pci0:  at device 29.0 (no driver attached)
>  > > pci0:  at device 29.1 (no driver attached)
>  > > pci0:  at device 29.4 (no driver attached)
>  > > pci0:  at device 29.7 (no driver attached)
>  > > pcib4:  at device 30.0 on pci0
>  > > pci4:  on pcib4
>  > > atapci0:  port
>  > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
>  > > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
>  > > atapci0: [ITHREAD]
>  > > atapci0: [ITHREAD]
>  > > ata2:  on atapci0
>  > > ata2: [ITHREAD]
>  > > ata3:  on atapci0
>  > > ata3: [ITHREAD]
>  > > ata4:  on atapci0
>  > > ata4: [ITHREAD]
>  > > ata5:  on atapci0
>  > > ata5: [ITHREAD]
>  > > isab0:  at device 31.0 on pci0
>  > > isa0:  on isab0
>  > > atapci1:  port
>  > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 
> on
>  > > pci0 ata0:  on atapci1
>  > > ata0: [ITHREAD]
>  > > ata1:  on atapci1
>  > > ata1: [ITHREAD]
>  > > pci0:  at device 31.3 (no driver attached)
>  > > pci0:  at device 31.5 (no driver attached)
>  > > sio0: configured irq 4 not in bitmap of probed irqs 0
>  > > sio0: port may not be enabled
>  > > sio0: configured irq 4 not in bitmap of probed irqs 0
>  > > sio0: port may not be enabled
>  > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
>  > > acpi0 sio0: type 16550A
>  > > sio0: [FILTER]
>  > > sio1: configured irq 3 not in bitmap of probed irqs 0
>  > > sio1: port may not be enabled
>  > > sio1: configured irq 3 not in bitmap of probed irqs 0
>  > > sio1: port may not be enabled
>  > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
>  > > sio1: type 16550A
>  > > sio1: [FILTER]
>  > > orm0:  at iomem 0xc-0xc7fff on isa0
>  > > atkbdc0:  at port 0x60,0x64 on isa0
>  > > atkbd0:  irq 1 on atkbdc0
>  > > kbd0 at atkbd0
>  > > atkbd0: [GIANT-LOCKED]
>  > > atkbd0: [ITHREAD]
>  > > sc0:  at flags 0x100 on isa0
>  > > sc0: VGA <16 virtual consoles, flags=0x300>
>  > > vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
>  > > Timecounters tick every 1.000 msec
>  > > ad0: 238475MB  at ata0-master SATA150
>  > > ad4: 238475MB  at ata2-master SATA150
>  > > ad6: 381554MB  at ata3-master SATA150
>  > > SMP: AP CPU #1 Launched!
>  > > Trying to mount root from ufs:/dev/ad0s1a
>  > > em0: link state changed to UP
>  > > pid 8458 (httpd), uid 80: exited on signal 4
>  > > pid 82334 (httpd), uid 80: exited on signal 4
>  > > pid 82374 (httpd), uid 80: exited on signal 4
>  > > pid 82375 (httpd), uid 80: exited on signal 4

SATA problems (Abit IP35-Pro)

2008-03-14 Thread Isaac Mushinsky
I am setting up a new system with Abit IP35-Pro (ich9r), 2 WD SATA drives on
the controller. There is also a SATA DVDRW to boot from.
With the default SATA setup (SATA/IDE) the system cannot find any SATA
drive. I was able to boot the install disk, attaching an old IDE CDROM, but
still could not make it see the hard drive.

If I set SATA controller to AHCI, the system boots (although with some ACPI
errors), and I was able to install. However, fdisk thinks that the geometry
is "incorrect", and insists on a different one (it says the drives have
476gb rather than 500gb).

I can install with this AHCI setup, but have no idea what the implications
are. Is there a known fix for SATA/IDE? Or is AHCI better?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 
at 06:32:40PM +0100:
> On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> > Hello,

> > I have this problem with apache 2.2.8, and I don't know the reason yet.

> > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
> >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

> > Features=0xbfebfbff >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> > Features2=0x641d
> >   AMD Features=0x20100800
> >   Logical CPUs per core: 2
> > usable memory = 2139377664 (2040 MB)
> > avail memory  = 2064826368 (1969 MB)
> > ACPI APIC Table: 
> > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> >  cpu0 (BSP): APIC ID:  0
> >  cpu1 (AP): APIC ID:  1
> > ioapic0: Changing APIC ID to 4
> > ioapic0  irqs 0-23 on motherboard
> > ioapic1  irqs 24-47 on motherboard
> > acpi0:  on motherboard
> > acpi0: [ITHREAD]
> > acpi0: Power Button (fixed)
> > acpi0: reservation of 0, a (3) failed
> > acpi0: reservation of 10, 7fde (3) failed
> > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> > cpu0:  on acpi0
> > p4tcc0:  on cpu0
> > cpu1:  on acpi0
> > p4tcc1:  on cpu1
> > acpi_button0:  on acpi0
> > pcib0:  port 0xcf8-0xcff on acpi0
> > pci0:  on pcib0
> > pcib1:  at device 1.0 on pci0
> > pci1:  on pcib1
> > pcib2:  at device 3.0 on pci0
> > pci2:  on pcib2
> > em0:  port
> > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
> > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> > em0: [FILTER]
> > pcib3:  at device 28.0 on pci0
> > pci3:  on pcib3
> > vgapci0:  port 0xa000-0xa0ff mem
> > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
> > pci0:  at device 29.0 (no driver attached)
> > pci0:  at device 29.1 (no driver attached)
> > pci0:  at device 29.4 (no driver attached)
> > pci0:  at device 29.7 (no driver attached)
> > pcib4:  at device 30.0 on pci0
> > pci4:  on pcib4
> > atapci0:  port
> > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
> > atapci0: [ITHREAD]
> > atapci0: [ITHREAD]
> > ata2:  on atapci0
> > ata2: [ITHREAD]
> > ata3:  on atapci0
> > ata3: [ITHREAD]
> > ata4:  on atapci0
> > ata4: [ITHREAD]
> > ata5:  on atapci0
> > ata5: [ITHREAD]
> > isab0:  at device 31.0 on pci0
> > isa0:  on isab0
> > atapci1:  port
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on
> > pci0 ata0:  on atapci1
> > ata0: [ITHREAD]
> > ata1:  on atapci1
> > ata1: [ITHREAD]
> > pci0:  at device 31.3 (no driver attached)
> > pci0:  at device 31.5 (no driver attached)
> > sio0: configured irq 4 not in bitmap of probed irqs 0
> > sio0: port may not be enabled
> > sio0: configured irq 4 not in bitmap of probed irqs 0
> > sio0: port may not be enabled
> > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> > acpi0 sio0: type 16550A
> > sio0: [FILTER]
> > sio1: configured irq 3 not in bitmap of probed irqs 0
> > sio1: port may not be enabled
> > sio1: configured irq 3 not in bitmap of probed irqs 0
> > sio1: port may not be enabled
> > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> > sio1: type 16550A
> > sio1: [FILTER]
> > orm0:  at iomem 0xc-0xc7fff on isa0
> > atkbdc0:  at port 0x60,0x64 on isa0
> > atkbd0:  irq 1 on atkbdc0
> > kbd0 at atkbd0
> > atkbd0: [GIANT-LOCKED]
> > atkbd0: [ITHREAD]
> > sc0:  at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x300>
> > vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> > Timecounters tick every 1.000 msec
> > ad0: 238475MB  at ata0-master SATA150
> > ad4: 238475MB  at ata2-master SATA150
> > ad6: 381554MB  at ata3-master SATA150
> > SMP: AP CPU #1 Launched!
> > Trying to mount root from ufs:/dev/ad0s1a
> > em0: link state changed to UP
> > pid 8458 (httpd), uid 80: exited on signal 4
> > pid 82334 (httpd), uid 80: exited on signal 4
> > pid 82374 (httpd), uid 80: exited on signal 4
> > pid 82375 (httpd), uid 80: exited on signal 4
> > pid 82423 (httpd), uid 80: exited on signal 4
> > pid 82520 (httpd), uid 80: exited on signal 4
> > pid 88487 (httpd), uid 80: exited on signal 4
> > pid 98657 (httpd), uid 80: exited on signal 4
> > pid 52780 (httpd), uid 80: exited on signal 4
> > pid 58619 (httpd), uid 80: exited on signal 4

> #define SIGILL  4   /* illegal instr. (not reset when caught) */

> If you're sure there are no CPU specific flags set during apache compilation, 
> you might want to get a core dump. Is apache the only program creating 
> SIGILL?

I'm having a similar issue, ny dmesg is filled with
 CUT
pid 63364 (httpd), uid 80: exited on signal 11
 CUT

my /et

Re: portsnap errors

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Wael Nasreddine <[EMAIL PROTECTED]> said, On Fri, 
Mar 14, 2008 at 06:42:50PM +0100:
> This One Time, at Band Camp, Brian <[EMAIL PROTECTED]> said, On Fri, Mar 14, 
> 2008 at 09:59:26AM -0700:
> > Anyone else seeing corrupt snapshot errors on the portsnap servers?  I 
> > tried a couple times and got the below.  I didnt allow it to complete.

> > Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
> > Fetching snapshot tag from portsnap3.FreeBSD.org... done.
> > Fetching snapshot metadata... done.
> > Updating from Thu Mar 13 06:10:47 PDT 2008 to Fri Mar 14 07:19:41 PDT 2008.
> > Fetching 4 metadata patches. done.
> > Applying metadata patches... done.
> > Fetching 4 metadata files... gunzip: (stdin): unexpected end of file
> > metadata is corrupt.

> > Fetching 587 new ports or files... /usr/sbin/portsnap: cannot open 
> > 1fcb6a83f53e20e2efc4dda71489275f065f73eed6c16dc422287ca081232112.gz: No 
> > such file or directory
> > snapshot is corrupt.

> > Brian

> I've had the same problem yesterday solved it with

> -CUT
> mv /usr/ports /usr/ports-old
> mv /var/db/portsnap /var/db/portsnap-old
> portsnap fetch extract
> mv /var/db/portsnap-old/distfiles/* /var/db/portsnap/distfiles/
> -CUT

> You could probably remove the old folders later

Oops sorry I've made a mistake above, the command
> mv /var/db/portsnap-old/distfiles/* /var/db/portsnap/distfiles/
Should be
mv /usr/ports-old/distfiles/* /usr/ports/distfiles/

Sorry :$

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpE7QZKwKljJ.pgp
Description: PGP signature


Re: portsnap errors

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Brian <[EMAIL PROTECTED]> said, On Fri, Mar 14, 
2008 at 09:59:26AM -0700:
> Anyone else seeing corrupt snapshot errors on the portsnap servers?  I 
> tried a couple times and got the below.  I didnt allow it to complete.
>
> Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
> Fetching snapshot tag from portsnap3.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Updating from Thu Mar 13 06:10:47 PDT 2008 to Fri Mar 14 07:19:41 PDT 2008.
> Fetching 4 metadata patches. done.
> Applying metadata patches... done.
> Fetching 4 metadata files... gunzip: (stdin): unexpected end of file
> metadata is corrupt.
>
> Fetching 587 new ports or files... /usr/sbin/portsnap: cannot open 
> 1fcb6a83f53e20e2efc4dda71489275f065f73eed6c16dc422287ca081232112.gz: No 
> such file or directory
> snapshot is corrupt.
>
> Brian

I've had the same problem yesterday solved it with

-CUT
mv /usr/ports /usr/ports-old
mv /var/db/portsnap /var/db/portsnap-old
portsnap fetch extract
mv /var/db/portsnap-old/distfiles/* /var/db/portsnap/distfiles/
-CUT

You could probably remove the old folders later

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpxSFsGoA2R9.pgp
Description: PGP signature


Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Mel
On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> Hello,
>
> I have this problem with apache 2.2.8, and I don't know the reason yet.
>
> FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
>  
> Features=0xbfebfbffA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Features2=0x641d
>   AMD Features=0x20100800
>   Logical CPUs per core: 2
> usable memory = 2139377664 (2040 MB)
> avail memory  = 2064826368 (1969 MB)
> ACPI APIC Table: 
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0: Changing APIC ID to 4
> ioapic0  irqs 0-23 on motherboard
> ioapic1  irqs 24-47 on motherboard
> acpi0:  on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a (3) failed
> acpi0: reservation of 10, 7fde (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> cpu0:  on acpi0
> p4tcc0:  on cpu0
> cpu1:  on acpi0
> p4tcc1:  on cpu1
> acpi_button0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pcib2:  at device 3.0 on pci0
> pci2:  on pcib2
> em0:  port
> 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
> device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> em0: [FILTER]
> pcib3:  at device 28.0 on pci0
> pci3:  on pcib3
> vgapci0:  port 0xa000-0xa0ff mem
> 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
> pci0:  at device 29.0 (no driver attached)
> pci0:  at device 29.1 (no driver attached)
> pci0:  at device 29.4 (no driver attached)
> pci0:  at device 29.7 (no driver attached)
> pcib4:  at device 30.0 on pci0
> pci4:  on pcib4
> atapci0:  port
> 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
> atapci0: [ITHREAD]
> atapci0: [ITHREAD]
> ata2:  on atapci0
> ata2: [ITHREAD]
> ata3:  on atapci0
> ata3: [ITHREAD]
> ata4:  on atapci0
> ata4: [ITHREAD]
> ata5:  on atapci0
> ata5: [ITHREAD]
> isab0:  at device 31.0 on pci0
> isa0:  on isab0
> atapci1:  port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on
> pci0 ata0:  on atapci1
> ata0: [ITHREAD]
> ata1:  on atapci1
> ata1: [ITHREAD]
> pci0:  at device 31.3 (no driver attached)
> pci0:  at device 31.5 (no driver attached)
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> acpi0 sio0: type 16550A
> sio0: [FILTER]
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> sio1: [FILTER]
> orm0:  at iomem 0xc-0xc7fff on isa0
> atkbdc0:  at port 0x60,0x64 on isa0
> atkbd0:  irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> Timecounters tick every 1.000 msec
> ad0: 238475MB  at ata0-master SATA150
> ad4: 238475MB  at ata2-master SATA150
> ad6: 381554MB  at ata3-master SATA150
> SMP: AP CPU #1 Launched!
> Trying to mount root from ufs:/dev/ad0s1a
> em0: link state changed to UP
> pid 8458 (httpd), uid 80: exited on signal 4
> pid 82334 (httpd), uid 80: exited on signal 4
> pid 82374 (httpd), uid 80: exited on signal 4
> pid 82375 (httpd), uid 80: exited on signal 4
> pid 82423 (httpd), uid 80: exited on signal 4
> pid 82520 (httpd), uid 80: exited on signal 4
> pid 88487 (httpd), uid 80: exited on signal 4
> pid 98657 (httpd), uid 80: exited on signal 4
> pid 52780 (httpd), uid 80: exited on signal 4
> pid 58619 (httpd), uid 80: exited on signal 4

#define SIGILL  4   /* illegal instr. (not reset when caught) */

If you're sure there are no CPU specific flags set during apache compilation, 
you might want to get a core dump. Is apache the only program creating 
SIGILL?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: interactive stop on boot

2008-03-14 Thread Mel
On Friday 14 March 2008 16:24:57 Jason Barnes wrote:

> Lately when it boots it runs into an NFS mounting error, claiming that
> some of my NFS-mounted drives have unexpected inconsistencies.  It
> says "unexpected error - help!" and then quits to a /bin/sh
> single-user-mode prompt.  As I am 10 miles away, this is decidedly
> unhelpful.  I don't care if it can't mount some irrelevant drive or
> not; I want it to boot up and ask me questions later.

man mount_nfs(8), specifically -R, -b, -i and -s. And indeed omit the fsck 
check as said earlier.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Headless Azureus with any X11 Dependencies ??

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Wojciech Puchar <[EMAIL PROTECTED]> said, On Fri, 
Mar 14, 2008 at 06:11:28PM +0100:
>> I have a server at home, I use it as a mail server, as well as P2P
>> instead of running P2P on my Laptop, I run it on the server and I just
>> use clients to control it...
>
> isn't azureus a torrent program.
>
Yes it is.

> use rtorrent, it's text mode and is fast
>
rtorrent is a fast text mode, but It has no WEB controller and no
multiuser :S

I require WEB Controler + Multiuser because my uncle uses my server to
download torrents as his ISP filter P2P packets...

Thanks.

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgp8oIautxTpc.pgp
Description: PGP signature


Re: Low space on /

2008-03-14 Thread Alex de Kruijff
On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote:
> On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote:
> 
> > On Thu, 13 Mar 2008 16:15:22 -0400
> > Robert Huff <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > Ghirai writes:
> > > 
> > > >  Can't remember exactly since when, or how, but atm. i see this:
> > > >  
> > > >  Filesystem SizeUsed   Avail Capacity  Mounted on
> > > >  /dev/ad6s3a496M454M1.8M   100%/
> > > 
> > >   Start with /tmp.
> > >   Also:
> > > 
> > >   du -x / | sort -nr | head -n 25
> > > 
> > > 
> > 
> > Here's the output (removed a couple other < 100KiB ):
> > 
> > 986K/bin
> > 512B/dev
> > 366K/etc/rc.d
> > 270K/lib/geom
> > 250K/etc/mail
> > 170K/libexec
> > 138K/etc/ssh
> > 137M/
> > 121M/boot
> > 118K/etc/periodic
> > 116K/etc/defaults
> > 112M/boot/kernel
> > 
> > /tmp is ~2MiB.
> 
> try doing a df -k to see what file systems are really
> there and what they have in them.
> Then go in to root (/) and do  ls -laF
> That may provide some clues.
> 

This seams to be be a partial account of /. 
Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'.

You can safely remove /boot/kernel/*.symbols

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


Re: interactive stop on boot

2008-03-14 Thread Grant Peel

Yeah, what CHris said.

Also, there is an option you can put in fstab to allow the automount, and 
background the NFS mounts ... so that if the mount fails the boot will 
continue. Again, as mentioned, this will only work if the OS and your 
connection method (ssh daemon?) are not dependant on the NFS mounts.


Here is what my fstab looks like. Note line 6 that specifies the "-t=10,-b" 
options (to timeout the mount after 10 seconds and to background the nfs 
mount).


# DeviceMountpoint  FStype  Options Dump 
Pass#

/dev/da0s1b noneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da0s1f /home   ufs userquota,rw0   2
/dev/da0s1d /usrufs rw  2   2
/dev/da0s1e /varufs rw  2   2
nfsserver:/mnt  /mntnfs -t=10,-b,rw 0   0

-Grant

- Original Message - 
From: "Christopher Sean Hilton" <[EMAIL PROTECTED]>

To: "Jason Barnes" <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2008 12:03 PM
Subject: Re: interactive stop on boot




On Mar 14, 2008, at 11:24 AM, Jason Barnes wrote:


Hi -- I'm running a "Tombstone" machine that's functioning as a
server.  The machine is located somewhere with a fast connection, and
not somewhere that I have easy access to.  As such, I want this
machine to do its best to boot up and get onto the network, no matter
what happens on boot, so that I have a chance to actually fix the
problem.

Lately when it boots it runs into an NFS mounting error, claiming that
some of my NFS-mounted drives have unexpected inconsistencies.  It
says "unexpected error - help!" and then quits to a /bin/sh
single-user-mode prompt.  As I am 10 miles away, this is decidedly
unhelpful.  I don't care if it can't mount some irrelevant drive or
not; I want it to boot up and ask me questions later.

Is there a way that I can set the machine to do its best to boot no
matter what it finds at boot time?  Thanks in advance for any help you
can provide,



Depends on the whether or not the system needs something from the NFS 
mount at boot time. If it doesn't then you would do well to use amd  (man 
8 amd) to handle the mount. The short of is that amd automates  the 
process of mounting a filesystem by presenting a directory. When a 
process requests a file within that directory amd performs the mount.  Amd 
helps by deferring the mount until something actually needs  something 
from the remote filesystem.


Simpler still would be to change the mounts entry to noauto in /etc/ 
fstab. However then you or someone else will have to perform the mount 
when you need the filesystem.


-- Chris
___
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]"


portsnap errors

2008-03-14 Thread Brian
Anyone else seeing corrupt snapshot errors on the portsnap servers?  I 
tried a couple times and got the below.  I didnt allow it to complete.


Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap3.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Thu Mar 13 06:10:47 PDT 2008 to Fri Mar 14 07:19:41 PDT 
2008.

Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... gunzip: (stdin): unexpected end of file
metadata is corrupt.

Fetching 587 new ports or files... /usr/sbin/portsnap: cannot open 
1fcb6a83f53e20e2efc4dda71489275f065f73eed6c16dc422287ca081232112.gz: No 
such file or directory

snapshot is corrupt.

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


Re: Headless Azureus with any X11 Dependencies ??

2008-03-14 Thread Wojciech Puchar

I have a server at home, I use it as a mail server, as well as P2P
instead of running P2P on my Laptop, I run it on the server and I just
use clients to control it...


isn't azureus a torrent program.

use rtorrent, it's text mode and is fast
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/local/www a tradition?

2008-03-14 Thread Mel
On Friday 14 March 2008 16:48:18 Alex Zbyslaw wrote:
> On Thu, Mar 13, 2008 at 07:29:55PM -0600, Modulok wrote:
> > Is there a compelling reason for placing subversion and web-server
> > data in /usr/local and not somewhere else? I was thinking of keeping
> > all user accounts (human and daemon alike) in one place like,
> > /home/www and /home/svn and so forth.
> >
> > Before I break convention, I just thought I'd see if placing said
> > files in /usr/local was just a tradition or if there was another
> > reason for it.
>
> Break the convention!
>
> Where apache or any other web server looks for its "home" is down to
> *your* apache config.  Different vhosts can look wherever they like for
> their own homes and you can put them wherever you like - no need for
> them to be in the same place at all.

Depends a bit on the user's defenition of 'data'. For some, 'data' includes 
apps like phpMyAdmin, for some it doesn't.
Anything installed by ports should remain in /usr/local. Self-respecting 
webservers support aliasing weblocations to physical directories, so in most 
cases it can be worked around.
In the event you need multiple installations of the same webapp, either use 
jails or don't use the ports to install them (and then also don't put them 
in /usr/local).

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread Derek Ragona

At 11:59 AM 3/14/2008, bsd wrote:

Hello,


I have updated from 5.5 to 6.3 and wanted to know if It advisable to
make a :

# potupgrade -fa


Knowing that I have kept my port tree up to date and have no outdated
ports.


Simply put, the question is: should I force recompile all my installed
ports since I have updated my system?



Thanks for your answer.


The libraries change extensively with version upgrades.  That is why you 
should rebuild all your ports.


-Derek

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

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


Re: 6.3 And VIA 8237S Controller - Also USB Drive Problem

2008-03-14 Thread Tim Daneliuk

Tim Daneliuk wrote:

I just bought a new MSI P4M900M2 mobo.  It works just fine with both
Windoze and SUSE Linux.  When I tried booting 6.2 on it, it refused to
set the drive (ad0 - I tried several different drives) into the
higher speed UDMA modes.  So, I downloaded 6.3, and it *seemed* to
be fine.  The drives come up as UDMA 100 or UDMA 133.

But ... under long disk operations - say untaring a 2G tarball
stored on a USB drive - I start to see this:

ad0: WARNING WRITE_DMA UDMA ICRC ERROR



I have resolved this and thought I'd share with the class in case
anyone else runs into the problem.

It occurred to me that this chipset has been around long enough that
it was very likely not a driver problem. I went back and replaced the
IDE cable with another one known to be good and, voila', problem
solved.

What's weird about this is that the "bad" cable is a more-or-less new
low profile round IDE cable I got from Tiger Direct a while back. It
is the 20" variety which may be contributing noise to the problem.
Weirder still is that neither Linux nor Windows seemed to have
problems with it, though I did not test as thoroughly with those OSs.
I'd guess that the FBSD driver is perhaps trying to squeeze the last
bit of optimization out of the controller and thus drives the IDE bus
to its limits, hence the problem shows up there.  Either that,
or I just didn't pound on the machine hard enough with Linux
especially to see the problem.

I should have guessed "cable problem" right away, but given the
relative newness of the cable, that seemed unlikely.

In a related note: I also discovered that the FreeBSD install CD Fixit
environment does flakey things when you try to untar a large file from
a USB drive plugged in through an external hub. Plugging the drive
directly into one of the mobo ports made that problem go away.




--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


"The Complete FreeBSD": errata and addenda

2008-03-14 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]"


How to get best results from FreeBSD-questions

2008-03-14 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

Re: Compile error, kde related?

2008-03-14 Thread Mel
On Friday 14 March 2008 10:43:29 Leslie Jensen wrote:
> > Ok, the error is generated by uic:
> > ./src/tools/qmutex_unix.cpp:qWarning("Mutex unlock failure: %s",
> > strerror(ret));
> >
> > Which fails on pthread_mutex_unlock call.
> > Could you show the output of:
> > ldd /usr/local/bin/uic
>
> bsdpc01# ldd /usr/local/bin/uic
> /usr/local/bin/uic:
>  libqt-mt.so.3 => /usr/local/lib/libqt-mt.so.3 (0x280d)
>  libmng.so.1 => /usr/local/lib/libmng.so.1 (0x287b2000)
>  libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28813000)
>  libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28832000)
>  libz.so.4 => /lib/libz.so.4 (0x28857000)
>  libXi.so.6 => /usr/local/lib/libXi.so.6 (0x28869000)
>  libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28871000)
>  libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x28879000)
>  libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x2888)
>  libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x28889000)
>  libXft.so.2 => /usr/local/lib/libXft.so.2 (0x2888c000)
>  libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2889e000)
>  libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1
> (0x2890c000)
>  libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28936000)
>  libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28944000)
>  libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28a31000)
>  libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28a39000)
>  libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28a5)
>  libm.so.5 => /lib/libm.so.5 (0x28b45000)
>  libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28b5a000)
>  libc.so.7 => /lib/libc.so.7 (0x28b65000)
>  libaudio.so.2 => /usr/local/lib/libaudio.so.2 (0x28c61000)
>  libXt.so.6 => /usr/local/lib/libXt.so.6 (0x28c77000)
>  liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28cc7000)
>  libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x28cf7000)
>  libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28cfc000)
>  libXau.so.6 => /usr/local/lib/libXau.so.6 (0x28d1c000)
>  libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28d1f000)
>  librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x28d24000)
>

There's your problem. I don't see a libpthread or better on 7.x a libthr.so 
linked in:

libthr.so.3 => /lib/libthr.so.3 (0x38b55000)

is what it shows on my 7.x system.

So the question is, why isn't qt built with thread support. I don't see how 
that's possible with the current ports makefile.
Do you have a file /lib/libthr.so*?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread bsd

Hello,


I have updated from 5.5 to 6.3 and wanted to know if It advisable to  
make a :


# potupgrade -fa


Knowing that I have kept my port tree up to date and have no outdated  
ports.



Simply put, the question is: should I force recompile all my installed  
ports since I have updated my system?




Thanks for your answer.




Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing  
this e-mail"



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


Re: Headless Azureus with any X11 Dependencies ??

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 
at 10:26:50AM +0100:
> On Friday 14 March 2008 03:48:39 Wael Nasreddine wrote:
> > This One Time, at Band Camp, Wael Nasreddine <[EMAIL PROTECTED]> said, On 
> Fri, Mar 14, 2008 at 02:58:08AM +0100:
> > > This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> 
> said, On Fri, Mar 14, 2008 at 02:08:43AM +0100:
> > > > On Friday 14 March 2008 01:43:28 Wael Nasreddine wrote:
> > > > > Anyway, I switched from Gentoo to FreeBSD like a month ago, I'm quite
> > > > > happy with it, very stable very reliable, but I'm having trouble
> > > > > installing azureus. Since it's a server, that doesn't even have a
> > > > > monitor attached to it, I have no use for any X11 dependencies, so
> > > > > I've added to make.conf

> > > > > CUT
> > > > > WITHOUT_X11=yes
> > > > > CUT

> > > > Unfortunately, that switch isn't working as "I don't want anything
> > > > pulled in that uses X11", but rather as "If this port can be built
> > > > without X11, then I will obey that, otherwise I will go ahead and
> > > > install X11".
> > > > Maybe that's a project for next google's summer of code.

> > > > Anyway, the port depends on x11-toolkits/swt, which is what pulls in X.
> > > > If you know that azareus can be built without X, you could request
> > > > support for it through the send-pr(1) mechanism, but it doesn't look
> > > > like that'd be an easy job.

> > > Oh that's too bad :S since I need it, I'll just install it with the X
> > > dependencies...

> > > Thanks anyway, I appreciate your help :)

> > I'm having a problem compiling libXext, here's the log:

> > CUT
> > ===>  Cleaning for libXext-1.0.3,1

> > ===>  Extracting for libXext-1.0.3,1
> > => MD5 Checksum OK for xorg/lib/libXext-1.0.3.tar.bz2.
> > => SHA256 Checksum OK for xorg/lib/libXext-1.0.3.tar.bz2.
> > ===>  Patching for libXext-1.0.3,1
> > ===>   libXext-1.0.3,1 depends on file:
> > /usr/local/libdata/pkgconfig/xextproto.pc - found ===>   libXext-1.0.3,1
> > depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===>  
> > libXext-1.0.3,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not
> > found ===>Verifying install for /usr/local/libdata/pkgconfig/x11.pc in
> > /usr/ports/x11/libX11 => No directory for
> > /usr/local/libdata/pkgconfig/x11.pc.  Skipping.. 

> Well, here's the weird part.
> Are you missing part of your ports tree? Like /usr/ports/x11/libX11?

Yep that was the problem, everytime I ran 'portsnap fetch update',
portsnap says the file is corrupted so I just emptied /usr/ports and
/var/db/portsnap and did 'portsnap fetch extract' and now it seems
fine...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgp1P6hbSuOgs.pgp
Description: PGP signature


Re: 16GB AMD Opteron-machine - AMD64 or PAE?

2008-03-14 Thread Wojciech Puchar


For one of my machines (HP C-class Blade, 2 * AMD Opteron, 16GB RAM)
should I go for the i386 or the amd64 Version of FreeBSD 7.0?


amd64 version was created exactly for x86-64 systems so why do you like to 
use another?





As far as I've seen kernel and system isn't a problem with the amd64
version, but how about ports?

To be specific here's what I'd like to install on this machine:

o) mrtg
o) cacti
o) nfsen
o) named (caching DNS only)
o) ntpd
o) TSM-client (Client for IBM Backup-System running in Linux emulation mode)

Does anybody have experience with any of these applications under the
amd64-Version of FreeBSD? Caveats any?


linux emulation runs fine, named, ntpd, mrtg runs ok too



Thanks in advance for any clue,
-ewald


___
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: interactive stop on boot

2008-03-14 Thread Christopher Sean Hilton


On Mar 14, 2008, at 11:24 AM, Jason Barnes wrote:


Hi -- I'm running a "Tombstone" machine that's functioning as a
server.  The machine is located somewhere with a fast connection, and
not somewhere that I have easy access to.  As such, I want this
machine to do its best to boot up and get onto the network, no matter
what happens on boot, so that I have a chance to actually fix the
problem.

Lately when it boots it runs into an NFS mounting error, claiming that
some of my NFS-mounted drives have unexpected inconsistencies.  It
says "unexpected error - help!" and then quits to a /bin/sh
single-user-mode prompt.  As I am 10 miles away, this is decidedly
unhelpful.  I don't care if it can't mount some irrelevant drive or
not; I want it to boot up and ask me questions later.

Is there a way that I can set the machine to do its best to boot no
matter what it finds at boot time?  Thanks in advance for any help you
can provide,



Depends on the whether or not the system needs something from the NFS  
mount at boot time. If it doesn't then you would do well to use amd  
(man 8 amd) to handle the mount. The short of is that amd automates  
the process of mounting a filesystem by presenting a directory. When a  
process requests a file within that directory amd performs the mount.  
Amd helps by deferring the mount until something actually needs  
something from the remote filesystem.


Simpler still would be to change the mounts entry to noauto in /etc/ 
fstab. However then you or someone else will have to perform the mount  
when you need the filesystem.


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


16GB AMD Opteron-machine - AMD64 or PAE?

2008-03-14 Thread Ewald Jenisch
Hi,

For one of my machines (HP C-class Blade, 2 * AMD Opteron, 16GB RAM)
should I go for the i386 or the amd64 Version of FreeBSD 7.0?

As far as I've seen kernel and system isn't a problem with the amd64
version, but how about ports?

To be specific here's what I'd like to install on this machine:

o) mrtg
o) cacti
o) nfsen
o) named (caching DNS only)
o) ntpd
o) TSM-client (Client for IBM Backup-System running in Linux emulation mode)

Does anybody have experience with any of these applications under the
amd64-Version of FreeBSD? Caveats any?

Thanks in advance for any clue,
-ewald


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


Re: interactive stop on boot

2008-03-14 Thread John Nielsen
On Friday 14 March 2008 11:24:57 am Jason Barnes wrote:
> Hi -- I'm running a "Tombstone" machine that's functioning as a
> server.  The machine is located somewhere with a fast connection, and
> not somewhere that I have easy access to.  As such, I want this
> machine to do its best to boot up and get onto the network, no matter
> what happens on boot, so that I have a chance to actually fix the
> problem.
>
> Lately when it boots it runs into an NFS mounting error, claiming that
> some of my NFS-mounted drives have unexpected inconsistencies.  It
> says "unexpected error - help!" and then quits to a /bin/sh
> single-user-mode prompt.  As I am 10 miles away, this is decidedly
> unhelpful.  I don't care if it can't mount some irrelevant drive or
> not; I want it to boot up and ask me questions later.

You probably want your NFS entries in fstab to have the "noauto" option, 
and you _definitely_ want the last two fields to be zeroes. Even if you 
_do_ want the NFS mounts to come up at boot I would still set them to be 
noauto and then write your own script to try to mount them later.

> Is there a way that I can set the machine to do its best to boot no
> matter what it finds at boot time?  Thanks in advance for any help you
> can provide,

The bootup rc script is just a sh script, you can hack it to do whatever 
you want. That said, it only bails out if there's a (potentially) 
significant problem. Given that this is a remote machine, you should be 
extra-careful when modifying anything to do with the startup process, 
especially fstab or any firewall rules. You could also look at options 
like a serial console, IP KVM, or something like a LightsOut card for 
your system.

JN

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


wget / wput

2008-03-14 Thread Jim Pazarena

I began using wput recently.

While wput completes a transfer, it always ends with a

Segmentation fault: 11

if the wput is forced to fail (with an incorrect password for instance) it 
issues
what appears to be a correct response:
 "login-Sequence failed .."
 "Transmission of 1 file failed."

but if the transfer completes as expected, Seg fault every time!

suggestions would be appreciated.  This is on FreeBSD 7.0 i386, however
I noticed the same error on 6.2 (and quit using wput for THAT reason).
Now I *would* like to use it, but this is disconcerting.

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


Re: bsdlabel offset

2008-03-14 Thread Jerry McAllister
On Fri, Mar 14, 2008 at 11:40:55AM +0100, Tektonaut wrote:

> Hi,
> 
> following bsdllabel output caught my attention:
> 
> #sizeoffsetfstype   [fsize bsize bps/cpg]
>  a:  2097152 04.2BSD 2048 16384 28552 
>  b:  4194304   2097152  swap
>  c: 3125766420unused0 0 # "raw" part, don't 
>  edit
>  d: 33554432   62914564.2BSD 2048 16384 28552 
> ...
> 
> I created this disk with sade or sysinstall. What I'm not sure
> about is that partition 'a' has an offset of 0. With an 8k big
> /boot/boot I would guess offset should be 16block large.
> 
> But since the disk is booting, some boot1 loader ist located at
> sector 0 (from the beginning of this slice). How is it assured,
> that the first block will never be overwritten? Where is boot1
> located, where boot2?
> 
> Comparing the first sector with boot and boot1 differs already
> at the first char. (and there were no updates so far)

That sector 0 lies outside of the slice block 0.   What you are
seeing is not an absolute disk offset, but the offset in to the slice.  

It is possible to create it otherwise but isn't done that
way by default.Nowdays, actually a whole track is held
out, instead of just sector 0 and that is where some of the
fancier MBRs such as GRUB get their extra space to work.
But, the standard FreeBSD MBR sticks to the official standard
of just one sector - which is why it is so plain vanilla.

jerry

> 
> 
> Little bemused regards,
> Adam
> 
> -- 
> ___
> 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]"


interactive stop on boot

2008-03-14 Thread Jason Barnes
Hi -- I'm running a "Tombstone" machine that's functioning as a
server.  The machine is located somewhere with a fast connection, and
not somewhere that I have easy access to.  As such, I want this
machine to do its best to boot up and get onto the network, no matter
what happens on boot, so that I have a chance to actually fix the
problem.

Lately when it boots it runs into an NFS mounting error, claiming that
some of my NFS-mounted drives have unexpected inconsistencies.  It
says "unexpected error - help!" and then quits to a /bin/sh
single-user-mode prompt.  As I am 10 miles away, this is decidedly
unhelpful.  I don't care if it can't mount some irrelevant drive or
not; I want it to boot up and ask me questions later.

Is there a way that I can set the machine to do its best to boot no
matter what it finds at boot time?  Thanks in advance for any help you
can provide,

- Jason

PS -- Boot messages not available, as the machine is down at the
moment and I can't get over there to type "   exit"
until later this afternoon.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/local/www a tradition?

2008-03-14 Thread Alex Zbyslaw

On Thu, Mar 13, 2008 at 07:29:55PM -0600, Modulok wrote:


Is there a compelling reason for placing subversion and web-server
data in /usr/local and not somewhere else? I was thinking of keeping
all user accounts (human and daemon alike) in one place like,
/home/www and /home/svn and so forth.

Before I break convention, I just thought I'd see if placing said
files in /usr/local was just a tradition or if there was another
reason for it.


Break the convention!

Where apache or any other web server looks for its "home" is down to 
*your* apache config.  Different vhosts can look wherever they like for 
their own homes and you can put them wherever you like - no need for 
them to be in the same place at all.  So one vhost could look in 
/home/project1 and another in /home/project2/Web, for example.  You 
could keep the default server in /usr/local/www and then you get the 
files the port installs by default, but still control where *your* data 
goes.


I don't know how tied subversion is to it's home in /usr/local but I 
would hope "not at all".  /home/cvs has been the home of my CVS 
repositories for a long time and if I switched VCS I'd certainly want to 
follow a pattern like that (certainly for anything that follows a 
CVS-like model, which subversion does.  Something like Hg might be 
another matter, but then I'd be looking at putting repositories in 
project-specific locations).


I dislike the notion of putting project-specific data under /usr/local.  
Config files and the like are easy to control, but large trees should be 
able to live wherever I want them to live.


One can usually work around any issue that arise, and if you hit 
trouble, just mail back here :-)


--Alex

PS You said "demons" and I'd certainly draw a line between a demon like, 
say, postfix or bind which has a system-role and ones like apache, 
subversion or a database which have a project-role.  Not sure it's a 
very firm line though - plenty of grey area.  For me, if it's manageable 
with a simple CVSed config file or ten, then it can stay in /usr/local.  
If it breeds data, then it belongs somewhere else.


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


apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Abdullah Ibn Hamad Al-Marri
Hello,

I have this problem with apache 2.2.8, and I don't know the reason yet.

FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbff
  Features2=0x641d
  AMD Features=0x20100800
  Logical CPUs per core: 2
usable memory = 2139377664 (2040 MB)
avail memory  = 2064826368 (1969 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 7fde (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
p4tcc0:  on cpu0
cpu1:  on acpi0
p4tcc1:  on cpu1
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 3.0 on pci0
pci2:  on pcib2
em0:  port 0x9000-0x901f 
mem 0xf902-0xf903,0xf900-0xf901 irq 18 at device 1.0 on pci2
em0: Ethernet address: 00:11:d8:ba:51:8d
em0: [FILTER]
pcib3:  at device 28.0 on pci0
pci3:  on pcib3
vgapci0:  port 0xa000-0xa0ff mem 
0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pci0:  at device 29.4 (no driver attached)
pci0:  at device 29.7 (no driver attached)
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
atapci0:  port 
0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem 
0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
atapci0: [ITHREAD]
atapci0: [ITHREAD]
ata2:  on atapci0
ata2: [ITHREAD]
ata3:  on atapci0
ata3: [ITHREAD]
ata4:  on atapci0
ata4: [ITHREAD]
ata5:  on atapci0
ata5: [ITHREAD]
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on pci0
ata0:  on atapci1
ata0: [ITHREAD]
ata1:  on atapci1
ata1: [ITHREAD]
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
orm0:  at iomem 0xc-0xc7fff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
ad0: 238475MB  at ata0-master SATA150
ad4: 238475MB  at ata2-master SATA150
ad6: 381554MB  at ata3-master SATA150
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
em0: link state changed to UP
pid 8458 (httpd), uid 80: exited on signal 4
pid 82334 (httpd), uid 80: exited on signal 4
pid 82374 (httpd), uid 80: exited on signal 4
pid 82375 (httpd), uid 80: exited on signal 4
pid 82423 (httpd), uid 80: exited on signal 4
pid 82520 (httpd), uid 80: exited on signal 4
pid 88487 (httpd), uid 80: exited on signal 4
pid 98657 (httpd), uid 80: exited on signal 4
pid 52780 (httpd), uid 80: exited on signal 4
pid 58619 (httpd), uid 80: exited on signal 4


here is my make.conf

KERNCONF=BB
PPP_NOSUID=true # to build ppp with normal permissions
NO_BLUETOOTH=true   # do not build Bluetooth related stuff
NO_I4B=true # do not build isdn4bsd package
NO_KERBEROS=true# do not build and install Kerberos 5 (KTH Heimdal)
NO_LPR=true # do not build lpr and related programs
NO_USB=true # do not build usbd(8) and related programs
NO_ATM=true # do not build ATM related programs and libraries
NO_GAMES=true   # do not build games (games/ subdir)
NO_UUCP=true # do not build uucp related programs
WITHOUT_X11=true# don't build X11 dependencies in ports
BATCH=yes
# added by use.perl 2008-03-02 17:37:37
PERL_VER=5.8.8
PERL_VERSION=5.8.8

 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
fr

Re: /usr/local/www a tradition?

2008-03-14 Thread Jerry McAllister
On Thu, Mar 13, 2008 at 07:29:55PM -0600, Modulok wrote:

> Is there a compelling reason for placing subversion and web-server
> data in /usr/local and not somewhere else? I was thinking of keeping
> all user accounts (human and daemon alike) in one place like,
> /home/www and /home/svn and so forth.
> 
> Before I break convention, I just thought I'd see if placing said
> files in /usr/local was just a tradition or if there was another
> reason for it.

You probably won't break anything, but it is the convention for
FreeBSD structure.   see: man hier
Some things are easier to install when following the conventions
because you have to do less special-casing and modifying config files.

There may be some badly written utility out there that does not
properly check config files and just assumes things are in the
conventional places.I don't know of any and FreeBSD tries to
avoid this problem.   But, the time you find out is usually the
most inconvenient time.

So, you pays your money and you takes your chances.

jerry

> 
> Thanks.
> -Modulok-
> ___
> 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: Using Install CD To Prepare Hard Disk

2008-03-14 Thread Alex Zbyslaw

On Thu, Mar 13, 2008 at 05:28:22PM -0500, Tim Daneliuk wrote:


I would like to use the CD install menus to only prepare the hard
disk (Partition, Label, Format) without actually installing anything on
the drive.  Can this be done?  There seems to be no "None" option for
Distributions, and I cannot find the right magic to make the installer
go ahead and prepare the drive w/o resorting to at least a minimal install.

Does the "Post install configuration" not give you all the menus you 
want?  It doesn't matter whether you have anything installed or not - 
you can fdisk, bsdlabel and newfs from the sysinstall interfaces you 
know and love.  And you won't be prompted to install any packages 
because you're not on a scripted install pathway.


If you have bsdlabel and fdisk files which you are trying to replicate 
then the live filesystem and native tools may be easier, but if you want 
to play around with sizes etc. without resorting to a calculator then 
sysinstall has always done the business for me,


--Alex

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


Re: Network programming question

2008-03-14 Thread Andrew Falanga
On Thu, Mar 13, 2008 at 11:57 PM, Patrick Mahan <[EMAIL PROTECTED]> wrote:
>
>
>
>  inet_pton() clobbered the fields you pointed out.  In fact the sin_family
>  field was being set to 0x01 which caused your initial EADDRNOTSUPPORT error
>  you were seeing.  You quick change fixed that problem.  However, (depending
>  on how sockaddr_in structure is actually allocated) the sin_addr field was
>  0.0.0.0.  This is actually an accepted form of the broadcast address for UDP
>  packets.  I forget exactly who the culprit was (Sun comes to mind) but there
>  was a need to allow broadcasts to 0.0.0.0 (which is also know as INADDR_ANY).
>  So, therefore, sendto() succeeded, just not in the way you expected.  Looking
>  at in_pcbconnect_setup() in the kernel shows that actually the packet is sent
>  to the local primary interface address.
>
>  Let's look at what really happen to that packet -
>
>"192.168.0.1" after being mangled by inet_pton() gives
>the field sin_addr.s_addr of 0x0100A8C0.  This should make
>your sockaddr_in structure look like -
>
>  sa.sin_len = 0x01
>  sa.sin_family = 0x00
>  sa.sin_port = 0xA8C0 (which is port 49320)
>  sa.sin_addr.s_addr = 0x
>
>  So the sendto() call was sending a packet to your local interface for port 
> 49320.
>  And since UDP is a connectionless protocol, you don't have a way (unless it 
> is
>  builtin to your application protocol) to determine an error.  For example, 
> TFTP
>  sends back notification for every dgram received.
>
>  I hope this helps with your understanding.  I highly recommend if you are 
> going
>  to do more network programming that you obtain at least some books on the 
> subject.
>
>
>  Patrick
>

Thanks much for this explanation.  Books would be good, yes.  I guys
got to learn somehow.  Thanks for taking the time to explain it.
That's interesting that a broadcast may be sent to 0.0.0.0.  I knew
that 0.0.0.0 is equal to INADDR_ANY.  However, I thought it wasn't
possible to send to that address, only to bind to it locally for a
server application.

Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using Install CD To Prepare Hard Disk

2008-03-14 Thread Jerry McAllister
On Thu, Mar 13, 2008 at 05:28:22PM -0500, Tim Daneliuk wrote:

> I would like to use the CD install menus to only prepare the hard
> disk (Partition, Label, Format) without actually installing anything on
> the drive.  Can this be done?  There seems to be no "None" option for
> Distributions, and I cannot find the right magic to make the installer
> go ahead and prepare the drive w/o resorting to at least a minimal install.
> 
> I assume if the answer is "no" then that means this has to be done
> manually from the fixit command line

That is the easiest way that I know.

I think you can get past the disk build and just turn off all
the stuff to install, but doing fdisk, bsdlabel and newfs is
really quite easy and less trouble.   

jerry

> 
> Thanks,
> -- 
> 
> Tim Daneliuk [EMAIL PROTECTED]
> PGP Key: http://www.tundraware.com/PGP/
> 
> ___
> 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: Major version binary upgrade 6.3-RELEASE -> 7-RELEASE

2008-03-14 Thread Aline de Freitas
Em Friday 14 March 2008 08:22:14 Daniel Demacek escreveu:
> Hi,
>
> in my testing environemnt I've tryied binary upgrade from 6.3-RELEASE ->
> 7-RELEASE by following Colin Percival's article at
> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.ht
>ml
>
> I am stuck at the step "portupgrade -f ruby":
>
> --->  Reinstalling 'ruby-1.8.6.111_1,1' (lang/ruby18)
> --->  Building '/usr/ports/lang/ruby18'
> ===>  Cleaning for ruby-1.8.6.111_1,1
> ===>  Found saved configuration for ruby-1.8.6,1
> ===>  Extracting for ruby-1.8.6.111_1,1
> => MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
> => SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
> /bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/ ===>  Patching for
> ruby-1.8.6.111_1,1
> ===>  Applying FreeBSD patches for ruby-1.8.6.111_1,1
> /usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g' 
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure /bin/rm -rf
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API /bin/rm -rf
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole /bin/mv
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm
> /usr/ports/lang/ruby18/work/ /bin/mv
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv
> /usr/ports/lang/ruby18/work/ /bin/mv
> /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk
> /usr/ports/lang/ruby18/work/ ===>  Configuring for ruby-1.8.6.111_1,1
> /usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure
> configure: WARNING: you should use --build, --host, --target
> checking build system type... i386-portbld-freebsd6
> checking host system type... i386-portbld-freebsd6
> checking target system type... i386-portbld-freebsd6
> checking for i386-portbld-freebsd6-gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... Bad system call (core dumped)
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
> "/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/config.log" including the
> output of the failure of your make command. Also, it might be a good idea
> to provide an overview of all packages installed on your system (e.g. an
> `ls
> /var/db/pkg`).
> *** Error code 1
>
> Stop in /usr/ports/lang/ruby18.
> *** Error code 1
>
> Stop in /usr/ports/lang/ruby18.
> ! lang/ruby18 (ruby-1.8.6.111_1,1)(configure error)
>
>
>
> Any suggestions? Thank you.
> Dan.
>
>
>
>
In my experience, when I moved from 6.2 to 7.0 I had to recompile portupgrade 
at hand first. To do this you need to recompile portupgrade and all his 
dependencies by doing 'make install clean' in each one. Yes, ruby is one of 
the portupgrade dependencies... And after, with a fresh portupgrade compiled 
in the new 7.0 environment, I've done portupgrade -fa.

-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016


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


Re: Major version binary upgrade 6.3-RELEASE -> 7-RELEASE

2008-03-14 Thread Hashimoto
my machine is 7.0-RELEASE

# portupgrade -f ruby
===>  Found saved configuration for ruby-1.8.6.111_1,1

===>  Extracting for ruby-1.8.6.111_1,1

=> MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.

=> SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.

/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/

===>  Patching for ruby-1.8.6.111_1,1

===>  Applying FreeBSD patches for ruby-1.8.6.111_1,1

/usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure

/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API

/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole

/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm
/usr/ports/lang/ruby18/work/

/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv
/usr/ports/lang/ruby18/work/

/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk
/usr/ports/lang/ruby18/work/

===>  Configuring for ruby-1.8.6.111_1,1

/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure

configure: WARNING: you should use --build, --host, --target

checking build system type... i386-portbld-freebsd7

checking host system type... i386-portbld-freebsd7

checking target system type... i386-portbld-freebsd7

checking for i386-portbld-freebsd7-gcc... cc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

...(continuing)...
===>  Cleaning for ruby-1.8.6.111_1,1

--->  Cleaning out obsolete shared libraries


successfully finished.
can you compile&run C program on your machine?

[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: Major version binary upgrade 6.3-RELEASE -> 7-RELEASE

2008-03-14 Thread Derek Ragona

At 06:22 AM 3/14/2008, Daniel Demacek wrote:

Hi,

in my testing environemnt I've tryied binary upgrade from 6.3-RELEASE -> 
7-RELEASE by following Colin Percival's article at 
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html


I am stuck at the step "portupgrade -f ruby":

--->  Reinstalling 'ruby-1.8.6.111_1,1' (lang/ruby18)
--->  Building '/usr/ports/lang/ruby18'
===>  Cleaning for ruby-1.8.6.111_1,1
===>  Found saved configuration for ruby-1.8.6,1
===>  Extracting for ruby-1.8.6.111_1,1
=> MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
=> SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb 
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/

===>  Patching for ruby-1.8.6.111_1,1
===>  Applying FreeBSD patches for ruby-1.8.6.111_1,1
/usr/bin/sed -i.bak -e 
's|-l$pthread_lib|-pthread|g' 
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure

/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk 
/usr/ports/lang/ruby18/work/

===>  Configuring for ruby-1.8.6.111_1,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6
checking host system type... i386-portbld-freebsd6
checking target system type... i386-portbld-freebsd6
checking for i386-portbld-freebsd6-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... Bad system call (core dumped)
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/ruby18.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
! lang/ruby18 (ruby-1.8.6.111_1,1)(configure error)



Any suggestions? Thank you.
Dan.



Try:

portupgrade -fP ruby

instead to install ruby from the 7.0 built package.

-Derek

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

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


Re: Help

2008-03-14 Thread Wojciech Puchar

so start reading manuals NOW


On Fri, 14 Mar 2008, Dedan Kiruri wrote:


I have a FreeBSD  5.0 mail server and I need  help on updating  on the
following



Updating  the antivirus

Updating the spam levels /spam assassin

Managing the interfaces

Basic commands lines



Thank you





Dedan Kiruri
IT Support Co-ordinator
African Palliative Care Association
PO Box 72518
Plot 850 Dr Gibbons Road
Kampala, Uganda
Mob: +256 752 664 514
Tel: +256 414 266251
Fax: +256 414 266217
email:   [EMAIL PROTECTED]

 www.apca.co.ug

APCA's Mission Statement is to promote and support affordable and culturally
appropriate Palliative Care throughout Africa

This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain private, confidential, and/or
privileged information.  If you are not the intended recipient, please
advise the sender ( 
[EMAIL PROTECTED]) immediately and destroy all copies of the original
e-mail message and any attachments.  Any use, distribution, amendment,
copying or any action taken or omitted to be taken in reliance of this
message or attachments is prohibited



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

2008-03-14 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Dedan Kiruri wrote:
> I have a FreeBSD  5.0 mail server and I need  help on updating  on the
> following 
> 
>  
> 
> Updating  the antivirus 
> 
> Updating the spam levels /spam assassin
> 
> Managing the interfaces
> 
> Basic commands lines
> 

Hmmm...

Have you read the FreeBSD handbook?  It has realms of good advice covering
all aspects of managing FreeBSD machines -- including updating software,
network configuration and quite a lot of example command lines for routine
operations -- and it is all presented in nice clear English accessible to
complete beginners with the OS.

It's online at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

If you have any questions arising from what you learn from the handbook,
then please feel free to ask again here.  For best results please tell us
as much as you can about the specifics of what you are trying to do: we
are neither omniscient nor telepathic, and unless we have some more detailed
information we won't be able to provide you any sensible or meaningful answers.
At least tell us what antivirus software,  what versions of spam assassin, what
MTA you're using (including version numbers). Also, a subject line of 'help'
really is not helping yourself at all.  Many readers of this list will skip
over your e-mail unread because of it.  Something like 'how do I update my
mail server?' would have been a better choice.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkfaa58ACgkQ3jDkPpsZ+VbqegCgmc0yWtBRG5uuFQ7Zy2x7eBRm
rIgAn0XrYn9D7KOFK5IDfgigG63HHsim
=2lB7
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DRI on radeon 9500 using too wide memory bus?

2008-03-14 Thread Tijl Coosemans
On Thursday 13 March 2008 22:45:35 Reid Linnemann wrote:
> Written by Reid Linnemann on 03/13/08 00:58>>
>> I've had DRI running on a radeon 9500 for a while now, and at some
>> point in time tracking 6-STABLE and continuing now on 7-STABLE I've
>> started seeing rendering artifacts in gl in the form of a
>> cross-hatch pattern of pixels that don't get filled. At first I
>> figured the card was failing, but I remembered a fact about the 9500
>> that made me doublethink that.
>> 
>> The radeon 9500 is an r300 chipset, and differs from the 9700 only
>> in the width of the memory bus (128 bit vs 256 bit) and possibly
>> clock speed. If memory serves, the chip itself had the capacity to
>> address 256 bits, but most 9500s just went out the door with 128 bit
>> memory. I remember at one point in time trying out a hack to the
>> 9500 driver that enabled the 256 bit bus to see if I had a rebadged
>> 9700, and had similar artifacts.
>> 
>> So I decided to peruse my X logs, and sure enough I see:
>> (--) RADEON(0): Mapped VideoRAM: 131072 kByte (256 bit DDR SDRAM)
>> 
>> Is it possible that the radeon driver is using the 256 bus? Is there
>> a way to force it to use a 128 bit bus? Has anyone else seen this?
> 
> On further investigation, I tried forcing the driver to switch to a
> 128 bit bus by setting the R300_MEM_NUM_CHANNELS_MASK bits on
> RADEON_MEM_CNTL to 0x1, but the problem did not go away.
> 
> I'll try describing it a little better.. only with gl acceleration,
> the entire gl context appears to have criss-crossing lines 4 pixels
> wide that are randomly filled correctly or black, so that they form
> roughly a chain link fence pattern of trash on the gl context. Anyone
> have an idea?

I can't help you with this, but I'm thinking you'll have a higher
chance getting an answer on some DRI/DRM mailinglist. You could also
ask the port maintainers (x11@). Some of them are also active
developers on DRI, and the r300 driver, or at least used to be in the
past.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Major version binary upgrade 6.3-RELEASE -> 7-RELEASE

2008-03-14 Thread Daniel Demacek
Hi,

in my testing environemnt I've tryied binary upgrade from 6.3-RELEASE -> 
7-RELEASE by following Colin Percival's article at 
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

I am stuck at the step "portupgrade -f ruby":   

--->  Reinstalling 'ruby-1.8.6.111_1,1' (lang/ruby18)
--->  Building '/usr/ports/lang/ruby18'
===>  Cleaning for ruby-1.8.6.111_1,1
===>  Found saved configuration for ruby-1.8.6,1
===>  Extracting for ruby-1.8.6.111_1,1
=> MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
=> SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb 
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/
===>  Patching for ruby-1.8.6.111_1,1
===>  Applying FreeBSD patches for ruby-1.8.6.111_1,1
/usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'  
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk 
/usr/ports/lang/ruby18/work/
===>  Configuring for ruby-1.8.6.111_1,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6
checking host system type... i386-portbld-freebsd6
checking target system type... i386-portbld-freebsd6
checking for i386-portbld-freebsd6-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... Bad system call (core dumped)
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/ruby18.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
! lang/ruby18 (ruby-1.8.6.111_1,1)(configure error)



Any suggestions? Thank you.
Dan.









  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vim insert mode requires 'i' three times

2008-03-14 Thread Giorgos Keramidas
On 2008-03-13 23:22, Troy <[EMAIL PROTECTED]> wrote:
> I'm not sure if anyone has seen this but it started a few months ago.
> When I startup vim I have to hit 'i' three times to get it to go into
> insert mode.  I started troubleshooting my .vimrc file and figured out
> that as long as I have a .vimrc file, even if it's completely blank it
> exhibits this behavior.  I notice that there is a 'c' letter in the
> buffer upon startup but again there is nothing that is in the .vimrc
> file that is causing this to load.

It sounds like you are using the wrong terminal type.

Is this a console-based session of VIM?  Is it under X11?

What is your TERM value?

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


Help

2008-03-14 Thread Dedan Kiruri
I have a FreeBSD  5.0 mail server and I need  help on updating  on the
following 

 

Updating  the antivirus 

Updating the spam levels /spam assassin

Managing the interfaces

Basic commands lines

 

Thank you

 

 

Dedan Kiruri
IT Support Co-ordinator
African Palliative Care Association
PO Box 72518
Plot 850 Dr Gibbons Road
Kampala, Uganda
Mob: +256 752 664 514 
Tel: +256 414 266251
Fax: +256 414 266217
email:   [EMAIL PROTECTED]

  www.apca.co.ug

APCA's Mission Statement is to promote and support affordable and culturally
appropriate Palliative Care throughout Africa

This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain private, confidential, and/or
privileged information.  If you are not the intended recipient, please
advise the sender ( 
[EMAIL PROTECTED]) immediately and destroy all copies of the original
e-mail message and any attachments.  Any use, distribution, amendment,
copying or any action taken or omitted to be taken in reliance of this
message or attachments is prohibited

 

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


bsdlabel offset

2008-03-14 Thread Tektonaut

Hi,

following bsdllabel output caught my attention:

#sizeoffsetfstype   [fsize bsize bps/cpg]
 a:  2097152 04.2BSD 2048 16384 28552 
 b:  4194304   2097152  swap
 c: 3125766420unused0 0 # "raw" part, don't edit
 d: 33554432   62914564.2BSD 2048 16384 28552 
...


I created this disk with sade or sysinstall. What I'm not sure
about is that partition 'a' has an offset of 0. With an 8k big
/boot/boot I would guess offset should be 16block large.

But since the disk is booting, some boot1 loader ist located at
sector 0 (from the beginning of this slice). How is it assured,
that the first block will never be overwritten? Where is boot1
located, where boot2?

Comparing the first sector with boot and boot1 differs already
at the first char. (and there were no updates so far)


Little bemused regards,
Adam

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


about mount mfs root on amd64

2008-03-14 Thread Luke Jee

Hi, guys,
   I want to make a minimal freebsd boot disc on i386 and amd64.
   I had created some folders and copyed somy files, include / 
boot/cdboot, /boot/kernel, etc  and then i made a mfs root file  
image, then copy /sbin/init to it, and make a iso for boot.
  it works on i386, mount root from md is ok, but when i test on  
amd64 system, after mount root from md, system hang and no more  
messsages display, so i reboot with boot -v, then see start_init: / 
sbin/init after mount root from md,


  how can i solve it?

  sorry about my poor english.

 Thanks

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


freebsd-update moving from GENERIC to SMP

2008-03-14 Thread bsd

Hello,


I have updated my server yesterday from 5.5 to 6.3 using the cvsup  
classical method.

Everything went fine but I forgot to deploy an SMP kernel :-(

Is there a way to deploy a 6.3 SMP using freebsd-update method (which  
is fantastic).



Thanks for your answer.



Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing  
this e-mail"



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


Re: Compile error, kde related?

2008-03-14 Thread Leslie Jensen


Ok, the error is generated by uic:
./src/tools/qmutex_unix.cpp:qWarning("Mutex unlock failure: %s", 
strerror(ret));


Which fails on pthread_mutex_unlock call.
Could you show the output of:
ldd /usr/local/bin/uic



bsdpc01# ldd /usr/local/bin/uic
/usr/local/bin/uic:
libqt-mt.so.3 => /usr/local/lib/libqt-mt.so.3 (0x280d)
libmng.so.1 => /usr/local/lib/libmng.so.1 (0x287b2000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28813000)
libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28832000)
libz.so.4 => /lib/libz.so.4 (0x28857000)
libXi.so.6 => /usr/local/lib/libXi.so.6 (0x28869000)
libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28871000)
libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x28879000)
libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x2888)
libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x28889000)
libXft.so.2 => /usr/local/lib/libXft.so.2 (0x2888c000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2889e000)
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 
(0x2890c000)

libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28936000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28944000)
libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28a31000)
libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28a39000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28a5)
libm.so.5 => /lib/libm.so.5 (0x28b45000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28b5a000)
libc.so.7 => /lib/libc.so.7 (0x28b65000)
libaudio.so.2 => /usr/local/lib/libaudio.so.2 (0x28c61000)
libXt.so.6 => /usr/local/lib/libXt.so.6 (0x28c77000)
liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28cc7000)
libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x28cf7000)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28cfc000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x28d1c000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28d1f000)
librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x28d24000)

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


Re: Compile error, kde related?

2008-03-14 Thread Mel
On Friday 14 March 2008 09:12:22 Leslie Jensen wrote:
> > I think you mixed some threading libraries. That string or variants of
> > it, is nowhere to be found in /usr/src anymore.
> >
> > I found this post:
> > http://lists.freebsd.org/pipermail/freebsd-threads/2004-March/001759.html
> >
> > Any of that relevant for you? like entries in libmap?
>
> I read the thread and checked my libmap.conf. There's none of the
> entries mentioned in the post.
>
> I'd like to add that my system is an upgraded 7.0 - release from 6.2.
> I made pkg_delete -a because I had a problem with libcrypt that I
> couldn't fix.
>
> I'll appreciate any hint.

Ok, the error is generated by uic:
./src/tools/qmutex_unix.cpp:qWarning("Mutex unlock failure: %s", 
strerror(ret));

Which fails on pthread_mutex_unlock call.
Could you show the output of:
ldd /usr/local/bin/uic


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Headless Azureus with any X11 Dependencies ??

2008-03-14 Thread Mel
On Friday 14 March 2008 03:48:39 Wael Nasreddine wrote:
> This One Time, at Band Camp, Wael Nasreddine <[EMAIL PROTECTED]> said, On 
Fri, Mar 14, 2008 at 02:58:08AM +0100:
> > This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> 
said, On Fri, Mar 14, 2008 at 02:08:43AM +0100:
> > > On Friday 14 March 2008 01:43:28 Wael Nasreddine wrote:
> > > > Anyway, I switched from Gentoo to FreeBSD like a month ago, I'm quite
> > > > happy with it, very stable very reliable, but I'm having trouble
> > > > installing azureus. Since it's a server, that doesn't even have a
> > > > monitor attached to it, I have no use for any X11 dependencies, so
> > > > I've added to make.conf
> > > >
> > > > CUT
> > > > WITHOUT_X11=yes
> > > > CUT
> > >
> > > Unfortunately, that switch isn't working as "I don't want anything
> > > pulled in that uses X11", but rather as "If this port can be built
> > > without X11, then I will obey that, otherwise I will go ahead and
> > > install X11".
> > > Maybe that's a project for next google's summer of code.
> > >
> > > Anyway, the port depends on x11-toolkits/swt, which is what pulls in X.
> > > If you know that azareus can be built without X, you could request
> > > support for it through the send-pr(1) mechanism, but it doesn't look
> > > like that'd be an easy job.
> >
> > Oh that's too bad :S since I need it, I'll just install it with the X
> > dependencies...
> >
> > Thanks anyway, I appreciate your help :)
>
> I'm having a problem compiling libXext, here's the log:
>
> CUT
> ===>  Cleaning for libXext-1.0.3,1
>
> ===>  Extracting for libXext-1.0.3,1
> => MD5 Checksum OK for xorg/lib/libXext-1.0.3.tar.bz2.
> => SHA256 Checksum OK for xorg/lib/libXext-1.0.3.tar.bz2.
> ===>  Patching for libXext-1.0.3,1
> ===>   libXext-1.0.3,1 depends on file:
> /usr/local/libdata/pkgconfig/xextproto.pc - found ===>   libXext-1.0.3,1
> depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===>  
> libXext-1.0.3,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not
> found ===>Verifying install for /usr/local/libdata/pkgconfig/x11.pc in
> /usr/ports/x11/libX11 => No directory for
> /usr/local/libdata/pkgconfig/x11.pc.  Skipping.. 

Well, here's the weird part.
Are you missing part of your ports tree? Like /usr/ports/x11/libX11?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vim insert mode requires 'i' three times

2008-03-14 Thread Mel
On Friday 14 March 2008 05:22:48 Troy wrote:

> I'm not sure if anyone has seen this but it started a few months ago.
> When I startup vim I have to hit 'i' three times to get it to go into
> insert mode.  I started troubleshooting my .vimrc file and figured out
> that as long as I have a .vimrc file, even if it's completely blank it
> exhibits this behavior.  I notice that there is a 'c' letter in the buffer
> upon startup but again there is nothing that is in the .vimrc file that is
> causing this to load.
>
> If I delete the .vimrc file and start the program, I can hit 'i' once and
> it will go into insert mode like it's supposed to.
>
> I have had this problem on 6.3 and just upgraded to 7.0 and it still is
> there. This is happening on two different FreeBSD machines.
>
> One machine is running:
>
> vim+ruby-7.1.242_5
> vim-lite-7.1.242
>
> Anyone have any idea why this is happening?

Never seen this, but the only thing consistent throughout installations is 
the .viminfo file, so maybe delete that?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting .info messages on console

2008-03-14 Thread Mel
On Friday 14 March 2008 06:29:30 Gene Bomgardner wrote:

> I'm running postfix with postgrey on FreeBSD 7.x.
>
> For some reason, postgrey is sending info messages such as
>
> acxtion=greylist, reason=new, client=xx, sender=, ...
>
> I've looked in syslog.conf and the postgrey docs without any success.
>
> Can anyone point me in the right direction?

syslog_facility  => 'mail',

See around line 567 how the Net::Server object is setup.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re: Compile error, kde related?

2008-03-14 Thread Leslie Jensen
I don't know if it can be of any help but if I ctrl-c the cli when the 
compiling hangs I get the following.



Mutex unlock failure: Operation not permitted
^Cgmake[2]: *** Deleting file `kdcopview.cpp'
gmake[2]: *** [kdcopview.cpp] Interrupt: 2
gmake[1]: *** [all-recursive] Interrupt: 2
gmake: *** [all] Interrupt: 2


/Leslie



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


Re: Compile error, kde related?

2008-03-14 Thread Leslie Jensen


I think you mixed some threading libraries. That string or variants of it, is 
nowhere to be found in /usr/src anymore.


I found this post:
http://lists.freebsd.org/pipermail/freebsd-threads/2004-March/001759.html

Any of that relevant for you? like entries in libmap?



I read the thread and checked my libmap.conf. There's none of the 
entries mentioned in the post.


I'd like to add that my system is an upgraded 7.0 - release from 6.2.
I made pkg_delete -a because I had a problem with libcrypt that I 
couldn't fix.


I'll appreciate any hint.

Thanks
/Leslie

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


Re: Noatun and Kaboodle Skips

2008-03-14 Thread panix panix
Hi,
Sorry for the cross posting, but i found the original
msg in -questions while the appropriate list i think
would be -multimedia.

I have the exact symptoms with E. J. Cerejo.
One can easily abandon noatun, kaboodle and run any
other player around (anything else i tried seem to
work fine, totem, amarok,mpg123,mpg321,etc...), but
noatun is the default player, and any non technical
users (children/wifes) using FreeBSD home machines
face problems playing sound thus creating a negative
feeling about the system.

Here is my bug report from kde.org, notice how the
problem can be twicked around when running both
noatun, kaboodle at the same time.

http://bugs.kde.org/show_bug.cgi?id=159256


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using Install CD To Prepare Hard Disk

2008-03-14 Thread Jonathan McKeown
On Friday 14 March 2008 00:49, Tim Daneliuk wrote:
> Chuck Swiger wrote:
> > On Mar 13, 2008, at 3:28 PM, Tim Daneliuk wrote:
> >> I would like to use the CD install menus to only prepare the hard
> >> disk (Partition, Label, Format) without actually installing anything on
> >> the drive.  Can this be done?
> >
> > There should be a "(W)rite" option on the various pages which let you at
> > least partition the drive without installing the software.
>
> Yup that was the magic - I missed it entirely.  The option appears
> in the label editor menu...
>
> Thanks!

From memory, isn't it also possible to do this by going into the Configuration 
menu rather than entering the Standard installation?

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


[Fwd: Re: Compile error, kde related?]

2008-03-14 Thread Leslie Jensen



Mutex unlock failure: Operation not permitted


I think you mixed some threading libraries. That string or variants of 
it, is

nowhere to be found in /usr/src anymore.

I found this post:
http://lists.freebsd.org/pipermail/freebsd-threads/2004-March/001759.html

Any of that relevant for you? like entries in libmap?

--
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.



Thank you Mel. I'll check it out.

By the way, I tried to CC your mailaddress but it bounced.

If you want the information from the bounced mail, Please let me know.

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


Re: 6.3 And VIA 8237S Controller

2008-03-14 Thread Tim Daneliuk

Tim Daneliuk wrote:

One point of clarification I neglected to mention in the 
description below.  I have not actually installed FreeBSD

on the disk.  I paritioned/labeled the disk with the install
disk, then rebooted the install disk, went into the Fixit
environment and manually mounted ad0x under the various 
/mnt directories.  I then insert the USB drive into the

system that has a full image of FreeBSD from another machine
on it, stored in a tarball, and mount it under /mnt/mnt.
I then start to untar it (to load that image onto my
newly labeled disk), and that's when I see the errors.
The OS running at that time is the FreeBSD 6.3 Fixit
environment.



I just bought a new MSI P4M900M2 mobo.  It works just fine with both
Windoze and SUSE Linux.  When I tried booting 6.2 on it, it refused to
set the drive (ad0 - I tried several different drives) into the
higher speed UDMA modes.  So, I downloaded 6.3, and it *seemed* to
be fine.  The drives come up as UDMA 100 or UDMA 133.

But ... under long disk operations - say untaring a 2G tarball
stored on a USB drive - I start to see this:

ad0: WARNING WRITE_DMA UDMA ICRC ERROR

And eventually:

ad0: FAILURE WRITE_DMA Status=51  Error=84

g_vfs_done():ad0s1f ...


What's going on here? Is there a known driver problem with the VIA
chipsets?  I took the two drives I tried this with, and stuck them
in another machine - no problem, so I kind of doubt this is a drive
problem.  I have replaced the IDE cables as well.  Again, this same
mobo and drive combo worked flawlessly doing the same thing under SUSE
Linux, so I'm thinking this is a software problem.

Any help much appreciated...



--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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