RE: Dell PE1850 kernel panic

2006-05-16 Thread Ted Mittelstaedt

Chris,

My experience with Dell is that in the past they have changed motherboard
revisions and chips in the system, within the same model number.  You
have
a situation here where you think you have 5 identical machines - well you
need
to start by making sure you really and truly do in fact have 5 identical
machines.
I would bet that once you start taking covers off and reading board
revision numbers
that you will find that you don't have identical machines, and that this
is why
some of them are working and others aren't.

Also, you need to compare BIOS and firmware revisions and compare BIOS
settings between all of them.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Chris Leung
>Sent: Tuesday, May 16, 2006 8:02 PM
>To: freebsd-questions@freebsd.org
>Subject: Dell PE1850 kernel panic
>
>
>Dear all,
>
>I have 5 pieces of the same configuration of Dell PE1850 dual Xeon 3Ghz
>machine excpet 2 of them is 2GB Ram instead of 1GB.  They are running
>similar set of application on FreeBSD 5.4 platform with custom
>kernel with
>IPFILTER, IPFIREWALL and SMP enabled.
>
>I have the problem as follow:
>
>1 machine running very well and stable with HTT enable.
>
>2 machines will be freeze when running around several hours but machines
>become stable when turn off HTT.
>
>2 machines will freeze when running around several hours whatever HTT
>setting.  And machine seem good if running with Kernel without
>option SMP.
>
>I would like to know if anyone having the similar experience as us?
>
>Thanks for your attention.
>
>
>
>The attached is the output of the dmesg of the HTT enabled machine
>
>Copyright (c) 1992-2005 The FreeBSD Project.
>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>The Regents of the University of California. All rights
>reserved.
>FreeBSD 5.4-RELEASE #1: Mon Apr  3 16:05:19 HKT 2006
>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/XXXDUAL
>Timecounter "i8254" frequency 1193182 Hz quality 0
>CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
>  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
>
>Features=0xbfebfbff
>  Hyperthreading: 2 logical CPUs
>real memory  = 1073479680 (1023 MB)
>avail memory = 1040932864 (992 MB)
>ACPI APIC Table: 
>FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> cpu0 (BSP): APIC ID:  0
> cpu1 (AP): APIC ID:  1
> cpu2 (AP): APIC ID:  6
> cpu3 (AP): APIC ID:  7
>ioapic0: Changing APIC ID to 8
>ioapic1: Changing APIC ID to 9
>ioapic1: WARNING: intbase 32 != expected base 24
>ioapic2: Changing APIC ID to 10
>ioapic2: WARNING: intbase 64 != expected base 56
>ioapic0  irqs 0-23 on motherboard
>ioapic1  irqs 32-55 on motherboard
>ioapic2  irqs 64-87 on motherboard
>npx0:  on motherboard
>npx0: INT 16 interface
>acpi0:  on motherboard
>acpi0: Power Button (fixed)
>Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
>cpu0:  on acpi0
>cpu1:  on acpi0
>cpu2:  on acpi0
>cpu3:  on acpi0
>pcib0:  port 0xcf8-0xcff on acpi0
>pci0:  on pcib0
>pcib1:  at device 2.0 on pci0
>pci1:  on pcib1
>pcib2:  at device 0.0 on pci1
>pci2:  on pcib2
>amr0:  mem
>0xfe9e-0xfe9f,0xf80f-0xf80f irq 46 at device
>14.0 on pci2
>amr0:  Firmware 521S, BIOS H430, 256MB RAM
>pcib3:  at device 0.2 on pci1
>pci3:  on pcib3
>pcib4:  at device 4.0 on pci0
>pci4:  on pcib4
>pcib5:  at device 5.0 on pci0
>pci5:  on pcib5
>pcib6:  at device 0.0 on pci5
>pci6:  on pcib6
>em0:  port
>0xecc0-0xecff mem 0xfe6e-0xfe6f irq 64 at device 7.0 on pci6
>em0: Ethernet address: 00:14:22:1b:94:45
>em0:  Speed:N/A  Duplex:N/A
>pcib7:  at device 0.2 on pci5
>pci7:  on pcib7
>em1:  port
>0xdcc0-0xdcff mem 0xfe4e-0xfe4f irq 65 at device 8.0 on pci7
>em1: Ethernet address: 00:14:22:1b:94:46
>em1:  Speed:N/A  Duplex:N/A
>pcib8:  at device 6.0 on pci0
>pci8:  on pcib8
>uhci0:  port
>0xbce0-0xbcff irq
>16 at
>device 29.0 on pci0
>usb0:  on uhci0
>usb0: USB revision 1.0
>uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub0: 2 ports with 2 removable, self powered
>uhci1:  port
>0xbcc0-0xbcdf irq
>19 at
>device 29.1 on pci0
>usb1:  on uhci1
>usb1: USB revision 1.0
>uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub1: 2 ports with 2 removable, self powered
>uhci2:  port
>0xbca0-0xbcbf irq
>18 at
>device 29.2 on pci0
>usb2:  on uhci2
>usb2: USB revision 1.0
>uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>uhub2: 2 ports with 2 removable, self powered
>pci0:  at device 29.7 (no driver attached)
>pcib9:  at device 30.0 on pci0
>pci9:  on pcib9
>pci9:  at device 13.0 (no driver attached)
>isab0:  at device 31.0 on pci0
>isa0:  on isab0
>atapci0:  port
>0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
>ata0: channel #0 on atapci0
>ata1: channel #1 on atapci0
>fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6
>drq 2 on acpi0
>atkbdc0:  port 0x64,0x60 irq 1 on acpi0
>atkbd0:  irq 1 on atkbdc0
>kbd0 at a

Re: New FreeBSD logo

2006-05-16 Thread Chad Leigh -- Shire.Net LLC


On May 16, 2006, at 11:15 PM, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chad
Leigh -- Shire.Net LLC
Sent: Monday, May 15, 2006 11:08 AM
To: Henry Lenzi
Cc: [EMAIL PROTECTED]; Ted Mittelstaedt
Subject: Re: New FreeBSD logo



On May 15, 2006, at 11:57 AM, Henry Lenzi wrote:


It was, I am sorry to say.  The core developer that pushed for all
this said he was tired of when presenting FreeBSD to have to field
a bunch of questions by people hung up over the devil image, it
distracted from the presentation of the operating system's  
features.


Ted



You're kidding, right? Say you're kidding.


Ted says lots of things.



In this case though, I am not "just saying a lot of things"

See the following:

http://lists.freebsd.org/pipermail/freebsd-advocacy/2005-February/ 
001592.

html

"...Unfortunately, the cute FreeBSD daemon is sometimes treated with
misunderstanding in the religious and cultural context. That's why The
FreeBSD Project is announcing a public competition for the new  
logo ..."


That was written by "Ricardo Alves dos Reis" who as far as I can tell 
[1] does not hold any official capacity at the FreeBSD Foundation or  
in the groups of people (committers etc) who had/have a say.  In  
other words, it was one outsider's personal opinion.  It in now way  
says anything about the real reasons for the whole thing.





Yes, Chad, we all know you love the new logo.  Just quit rewriting
history
to pretend that religion didn't have anything to do with the change.


Please read  which is  
the "Official" rules and explanation.  Nothing in there that I can find.


Stop rewriting history yourself.  Your post above is embarrassing as  
you try and claim official status for someone's (who appears to be an  
outsider) personal opinion.


Chad




Ted


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Multiple monitors with Dell Latitude D810

2006-05-16 Thread Greg 'groggy' Lehey
On Tuesday, 16 May 2006 at 10:02:07 -0400, Matt Juszczak wrote:
> Hi all,
>
> I'm trying to use a Dell D810 with xorg and multiple monitors.  The two
> monitors I have are the internal laptop screen, and an external Dell
> monitor hooked up through the docking station.
>
> Windows was able to display content on both monitors, so I'm sure there's
> a way to do it with xorg and freebsd.  However, I am not sure where to
> start because of the fact that I'm using a docking station

I'm having similar problems with an Inspiron 6000.  It can provide
output to the monitor, but I haven't found any way to persuade X.org
to use the scan rates I specify.  This is a Radeon card.  pciconf -vl
says:

[EMAIL PROTECTED]:0:0: class=0x03 card=0x20031028 chip=0x54601002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies Inc'
device   = 'Mobility Radeon X300'
class= display
subclass = VGA

Is this anything like what you have?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpzw4PqvsL9Y.pgp
Description: PGP signature


RE: New FreeBSD logo

2006-05-16 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Chad
>Leigh -- Shire.Net LLC
>Sent: Monday, May 15, 2006 11:08 AM
>To: Henry Lenzi
>Cc: [EMAIL PROTECTED]; Ted Mittelstaedt
>Subject: Re: New FreeBSD logo
>
>
>
>On May 15, 2006, at 11:57 AM, Henry Lenzi wrote:
>
>>> It was, I am sorry to say.  The core developer that pushed for all
>>> this said he was tired of when presenting FreeBSD to have to field
>>> a bunch of questions by people hung up over the devil image, it
>>> distracted from the presentation of the operating system's features.
>>>
>>> Ted
>>>
>>
>> You're kidding, right? Say you're kidding.
>
>Ted says lots of things.
>

In this case though, I am not "just saying a lot of things"

See the following:

http://lists.freebsd.org/pipermail/freebsd-advocacy/2005-February/001592.
html

"...Unfortunately, the cute FreeBSD daemon is sometimes treated with
misunderstanding in the religious and cultural context. That's why The
FreeBSD Project is announcing a public competition for the new logo ..."

Yes, Chad, we all know you love the new logo.  Just quit rewriting
history
to pretend that religion didn't have anything to do with the change.

Ted

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


"libm.so.4" not found

2006-05-16 Thread David Banning
I have been using portupgrade to update some of my packages. Now I have this 
error;

/usr/libexec/ld-elf.so.1: Shared object "libm.so.4" not found

when attempting to run webalizer and I also get it while attempting to 
to upgrade parts of the XFree86 system, specifically XFree86-4-clients

Looking around on Google it looks like libm.so.4 is a part of 
FreeBSD 6.X - that is strange, since my system is 4.8

I am wondering what I can do from here. The most recent version of 
libm I have is libm.so.2



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


Re: apache re-write?

2006-05-16 Thread Gary Kline
On Tue, May 16, 2006 at 12:32:00PM -0500, Kevin Kinsey wrote:
> Gary Kline wrote:
> > I thought I had my  rewrite lines set up correctly so that my
> > JWChat utility would work; so that it would be seen from outside
> > my localnet.  But, from outside servers, pointing my browser at
> >
> > http://sage.thought.org/jwchat/ 
> >
> > hits my 404.html wall.  So something is not configured correctly.
> > It looks as tho  my apache httpd.conf is set.  I've been going 
> > back and forth with this for a few days.  Any ideas??
> > I'm running apache-1.3.
> >
> > thanks much,
> >
> > gary
> 
> Show us the relevant config stuff?
> 
Things are still mis-configured, but the following entry in
httpd.conf at least gets rid of my 404 err.  



  ServerName sage.thought.org
  DocumentRoot /usr/local/www/jwchat
  ### Below: 3 lines are required.
  
Options  +Indexes +Multiviews
  
  ##AddDefaultCharset UTF-8  /// no effect...
  RewriteEngine on
  RewriteRule http-poll/ http://127.0.0.1:5280/http-poll/ [P]



This is the result of my own experimentation.  According to
the JWChat docs, it works with apache-2.x, but at least one
fellow in E. Europe has it working with 1.3.  It looks like
I'll have to start from square-zero.  But if anybody 
on-list has this working (w/ 1.3), I'd sure like to know!





> KDK
> 
> -- 
> A musician, an artist, an architect:
>   the man or woman who is not one of these is not a Christian.
>   -- William Blake
> 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Urchin

2006-05-16 Thread Bernt Hansson

bret lee wrote:

I need to find an installer for Urchin 4.9 and a registration Key.

any suggestions?


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


Re: Skype

2006-05-16 Thread Norberto Meijome
On Wed, 17 May 2006 00:50:08 -0300
Duane Whitty <[EMAIL PROTECTED]> wrote:

> Darn ol' linux.ko.  That was the problem.  For some reason that module
> didn't get loaded.  Sigh, I guess I need to say darn ol' operator, eh.
> 
> It worked immediately after I did kldload linux.
> 
> I always thought that that was what linux_enable="YES" in /etc/rc.conf did.

Excellent :)

I only have the line in rc.conf, and it gets loaded fine
B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Skype

2006-05-16 Thread Duane Whitty

Norberto Meijome wrote:

On Tue, 16 May 2006 21:02:20 -0300
Duane Whitty <[EMAIL PROTECTED]> wrote:

  

Hi,

Here is the procedure I used when trying to get skype to work:

dwpc@ /root# brandelf -t Linux /usr/X11R6/bin/skype_bin
dwpc@ /root# skype
ELF binary type "3" not known.
skype_bin: 1: Syntax error: "(" unexpected



Hi there,
Skype is running without a problem here.
6.1-STABLE FreeBSD 6.1-STABLE #3: Tue May 16 23:35:52 EST 2006 


skype-1.2.0.18  P2P VoIP software

[snip]
 81 0xc50fd000 19000linux.ko

  

Hi Beto,

Darn ol' linux.ko.  That was the problem.  For some reason that module
didn't get loaded.  Sigh, I guess I need to say darn ol' operator, eh.

It worked immediately after I did kldload linux.

I always thought that that was what linux_enable="YES" in /etc/rc.conf did.

I guess I'll need to load it out of /boot/loader.conf.  I don't remember 
doing this
before but maybe when I installed some linux program the installation 
took care

of it for me.

So anyway.  Thank you very much.

Most Respectfully,

Duane Whitty
--
[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: IPFW - Two External Interfaces

2006-05-16 Thread Dennis Olvany

PFS IT wrote:

I am complicating the use of IPFW...



Here is a pretty ascii picture. I drawed it meself.



ISP 1
   [192.168.2.254]
  |
  |
[bge1:192.168.2.1]
  FIREWALL[bge0:10.0.0.1]---[10.0.0.2]internal_system
 [em0:192.168.1.1]
  |
  |
   [192.168.1.254]
ISP 2





#Send traffic to natd
divert 8869 ip from any to any via bge1
divert 8868 ip from any to any via em0



#Send "special" traffic out via em0
fwd $isp2_gw ip from $internal_system to $remote_system 80



$internal_system# hping -STp 80 $remote_system

Should result in a trace across em0 to google

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


Dell PE1850 kernel panic

2006-05-16 Thread Chris Leung

Dear all,

I have 5 pieces of the same configuration of Dell PE1850 dual Xeon 3Ghz
machine excpet 2 of them is 2GB Ram instead of 1GB.  They are running
similar set of application on FreeBSD 5.4 platform with custom kernel with
IPFILTER, IPFIREWALL and SMP enabled.

I have the problem as follow:

1 machine running very well and stable with HTT enable.

2 machines will be freeze when running around several hours but machines
become stable when turn off HTT.

2 machines will freeze when running around several hours whatever HTT
setting.  And machine seem good if running with Kernel without option SMP.

I would like to know if anyone having the similar experience as us?

Thanks for your attention.



The attached is the output of the dmesg of the HTT enabled machine

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #1: Mon Apr  3 16:05:19 HKT 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XXXDUAL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
 
Features=0xbfebfbff
 Hyperthreading: 2 logical CPUs
real memory  = 1073479680 (1023 MB)
avail memory = 1040932864 (992 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  6
cpu3 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 10
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 32-55 on motherboard
ioapic2  irqs 64-87 on motherboard
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  at device 0.0 on pci1
pci2:  on pcib2
amr0:  mem
0xfe9e-0xfe9f,0xf80f-0xf80f irq 46 at device 14.0 on pci2
amr0:  Firmware 521S, BIOS H430, 256MB RAM
pcib3:  at device 0.2 on pci1
pci3:  on pcib3
pcib4:  at device 4.0 on pci0
pci4:  on pcib4
pcib5:  at device 5.0 on pci0
pci5:  on pcib5
pcib6:  at device 0.0 on pci5
pci6:  on pcib6
em0:  port
0xecc0-0xecff mem 0xfe6e-0xfe6f irq 64 at device 7.0 on pci6
em0: Ethernet address: 00:14:22:1b:94:45
em0:  Speed:N/A  Duplex:N/A
pcib7:  at device 0.2 on pci5
pci7:  on pcib7
em1:  port
0xdcc0-0xdcff mem 0xfe4e-0xfe4f irq 65 at device 8.0 on pci7
em1: Ethernet address: 00:14:22:1b:94:46
em1:  Speed:N/A  Duplex:N/A
pcib8:  at device 6.0 on pci0
pci8:  on pcib8
uhci0:  port 0xbce0-0xbcff irq
16 at
device 29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xbcc0-0xbcdf irq
19 at
device 29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xbca0-0xbcbf irq
18 at
device 29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib9:  at device 30.0 on pci0
pci9:  on pcib9
pci9:  at device 13.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0:  at iomem
0xec000-0xe,0xcc000-0xccfff,0xcb000-0xcbfff,0xc-0xcafff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
uhub3: Dell product 0xa001, class 9/0, rev 2.00/0.00, addr 2
uhub3: 2 ports with 2 removable, self powered
Timecounters tick every 10.000 msec
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default
to accept, logging limited to 1 packets/entry by default
acd0: CDROM  at ata0-master PIO4
amrd0:  on amr0
amrd0: 34680MB (71024640 sectors) RAID 1 (optimal)
ses0 at amr0 bus 0 t

Re: Skype

2006-05-16 Thread Norberto Meijome
On Tue, 16 May 2006 21:02:20 -0300
Duane Whitty <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Here is the procedure I used when trying to get skype to work:
> 
> dwpc@ /root# brandelf -t Linux /usr/X11R6/bin/skype_bin
> dwpc@ /root# skype
> ELF binary type "3" not known.
> skype_bin: 1: Syntax error: "(" unexpected

Hi there,
Skype is running without a problem here.
6.1-STABLE FreeBSD 6.1-STABLE #3: Tue May 16 23:35:52 EST 2006 

skype-1.2.0.18  P2P VoIP software

[EMAIL PROTECTED] [Wed May 17 12:45:01 2006]
~
$ pkg_info | grep -i linux | cut -d\  -f1
linux-XFree86-libs-4.3.99.902_7
linux-atk-1.8.0_2
linux-expat-1.95.7_1
linux-flashplugin-7.0r63
linux-fontconfig-2.2.3_4
linux-glib2-2.4.8_2
linux-gtk2-2.4.14_4
linux-jpeg-6b.33_1
linux-pango-1.6.0_2
linux-png-1.2.8_1
linux-realplayer-10.0.7.785.20060201
linux-tiff-3.6.1_6
linux_base-8-8.0_14
linux_dri-4.4.0
linuxpluginwrapper-20051113_2


[EMAIL PROTECTED] [Wed May 17 12:45:04 2006]
~
$ ps xa | grep skype
  879  ??  S  0:13.16 skype_bin --display :0.0 --sm-client-id
117f010001142853975001877 880  ??  S  0:00.06 skype_bin
--display :0.0 --sm-client-id 117f010001142853975001877 901  ??
I  0:00.12 skype_bin --display :0.0 --sm-client-id
117f010001142853975001877 902  ??  S  1:36.07 skype_bin
--display :0.0 --sm-client-id 117f010001142853975001877 903  ??
I  0:00.00 skype_bin --display :0.0 --sm-client-id
117f010001142853975001877 52103  p0  RL+0:00.00 grep skype

[EMAIL PROTECTED] [Wed May 17 12:45:28 2006]
~
$ kldstat
Id Refs AddressSize Name
 1   21 0xc040 4aaae4   kernel
 21 0xc08ab000 51e8 if_tap.ko
 32 0xc08b1000 63924acpi.ko
 41 0xc0915000 3f44 acpi_ibm.ko
 51 0xc0919000 4f08 atapicam.ko
 61 0xc4ed5000 a000 if_iwi.ko
 71 0xc4f38000 c000 ipfw.ko
 81 0xc50fd000 19000linux.ko
 91 0xc52ad000 1e000radeon.ko
101 0xc52cb000 f000 drm.ko

I *dont* have linprocfs mounted.

I can't think of any other related info you may need. let me know if you need
anything.
Best,
Beto

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


Re: php5 port error

2006-05-16 Thread Pablo Mora

Hi, i am trying to install mod_php5 but it doesnt work either, this is
the error:

proxy# portinstall mod_php5
[Updating the pkgdb  in /var/db/pkg ... - 26 packages
found (-1 +0) (...) done]
cd: can't cd to /usr/ports/www/mod_php5
** Port directory not found: www/mod_php5
** Listing the failed packages (*:skipped / !:failed)
! www/mod_php5  (port directory error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
proxy#


it  does seems like there is something seriously broken between the
index file in the ports and the real directory locations,
is there a way to begin from scratch?



mod_php5 directory was removed. check /usr/ports/MOVED

--
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iburst / Kyocera PCMCIA wireless broadband

2006-05-16 Thread Norberto Meijome
On Tue, 16 May 2006 08:27:59 +0200
[EMAIL PROTECTED] wrote:

> Have a look at www.myadsl.co.za (iBurst forums).  We also have the service
> here and have written various custom drivers for *nix and various modems.
> Not sure if yours are covered, but it might very well be.

-- 
Thanks Chris, i'll check and let you know.
regards,
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gxine cant start : mcop.

2006-05-16 Thread Norberto Meijome
hi guys,
I was using gxine on a Toshiba Tecra A2 (sound working ok). I moved that system
to a Thinkpad z60m (sound not working, Intel High Def Audio, panics on loading
OSS Drivers). 

Now, on the Thinkpad, everytime I try to start gxine I get:

[EMAIL PROTECTED] [Wed May 17 09:18:01 2006]
~
$ gxine
server: trying to connect to already running instance of gxine
(/home/betom/.gxine/socket)... connect: No such file or directory
server: socket '/home/betom/.gxine/socket' created
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /home/betom/.kde/socket-ayiin.sharmannetworks.com.
can't create mcop directory

[EMAIL PROTECTED] [Wed May 17 09:18:09 2006]
~
$ sudo gxine
server: trying to connect to already running instance of gxine
(/home/betom/.gxine/socket)... connect: Connection refused
server: socket '/home/betom/.gxine/socket' created
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Link points to "/tmp/ksocket-root"
can't create mcop directory

I don't see exactly where the problem is. Ktrace didnt show (to me) anything
that wouldnt be fixed by running as root.

Also, I recently changed from wdm to gdm, but I dont see how this would affect
it.

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


Re: Help to find cause of recurring crash

2006-05-16 Thread fbsd

Ted Mittelstaedt wrote:

Ron,

  Is this the HP Vectra server that has the onboard Adaptec
SCSI controller, and are you running SCSI drives on it?

  If so, there's another guy that has one of these servers
and was complaining about bugs in the adaptec driver sometime
last year causing a similar issue.  I told him to send-pr it
but I don't think anything came of that.

  I would say you have a 80% chance it's what they call:
"non-compliant hardware"  It is well known that HP has a microcode
license from Adaptec, they and Compaq have modified Adaptec's microcode
before.  It is really annoying when they do it and put their modded
microcode into Adaptec's cards - I have had before on my desk,
2 identical Adaptec SCSI cards, that when both placed in a Compaq
desktop will boot up with identical firmware version numbers with
one exception - one of them has a trailing "S" on the firmware version
number - and both work exactly the same in the Compaq, yet take
the Adaptec card that was purchased from retail and put it in
another system and it works fine, but take the adaptec card
that was purchased from Compaq/HP spares and it will not work in
any other system.

  It's enough to piss off an idiot.

Ted

  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of fbsd
Sent: Tuesday, May 16, 2006 4:09 AM
To: freebsd-questions@freebsd.org
Subject: Help to find cause of recurring crash


Hello All,

I'm  running a home email server and twice in the last week it has
rebooted itself and been unable to restart due to corruption of the
filesystem. I found the following in /var/log/messages

May 16 17:46:07 hpvectra syslogd: kernel boot file is
/boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
kernel mode
May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
page not present
May 16 17:46:07 hpvectra kernel: instruction pointer=
0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer=
0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer=
0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
0xf, type 0x1b
May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
enabled, resume, IOPL = 0
May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages)
1007 991
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
111 95 79 63 47 31 15 ... ok
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
a key on the console to abort
May 16 17:46:07 hpvectra kernel: Rebooting...

When I turn on the monitor I see that the reboot has not been
successful
due to "/ was not properly dismounted" and it is asking for fsck to be
run manually. When I do that everything is fine again.

Can anybody help me find the cause of the crash? What extra information
is needed and how do I find that information? I'm relatively
new to FreeBSD.

Thanks in advance,

Ron



PS Other information that may be of help:

I'm running 6.0 release,
X is not running
no users are logged in, cursor sits at the login screen
running programs include, fetchmail daemon, dovecot, procmail,
clamassassin, clamd,
only strange behaviour noted  is the following error messages

May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9AXd016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9Ahr016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9Amm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9A5E016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49H9AHZ016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49Hlokm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
cannot open ./dfk49HrgQC016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQU

Re: Help to find cause of recurring crash

2006-05-16 Thread fbsd

Bill Moran wrote:

On Tue, 16 May 2006 21:09:20 +1000
fbsd <[EMAIL PROTECTED]> wrote:

  

Hello All,

I'm  running a home email server and twice in the last week it has 
rebooted itself and been unable to restart due to corruption of the 
filesystem. I found the following in /var/log/messages


May 16 17:46:07 hpvectra syslogd: kernel boot file is /boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in 
kernel mode

May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write, 
page not present

May 16 17:46:07 hpvectra kernel: instruction pointer= 0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit 
0xf, type 0x1b

May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt 
enabled, resume, IOPL = 0

May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991 
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 
111 95 79 63 47 31 15 ... ok

May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press 
a key on the console to abort

May 16 17:46:07 hpvectra kernel: Rebooting...

When I turn on the monitor I see that the reboot has not been successful 
due to "/ was not properly dismounted" and it is asking for fsck to be 
run manually. When I do that everything is fine again.



You can save yourself some hassle by enabling fsck_y_enable="yes" in
/etc/rc.conf.  If the initial fsck fails, it will try again with fsck -y.
If that fails, you've got serious trouble.

That will make the reboots a _little_ less of a problem for you, but it's
only paint over the rust.  What you really need to do is set up your
system for kernel debugging:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
This will allow you to collect enough information that a developer can
help.

However, before doing that, I would upgrade to 6.1, in case the problem
has already been fixed.  Additionally, FreeBSD is heavily tested enough
that kernel panics are _usually_ the result of failing hardware.  I'd
get ahold of a memtest86 CD and test your RAM before doing much else.

  

Good tip Bill re fsck. I'll do that.

I'll also upgrade and run memtest.

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


Urchin

2006-05-16 Thread bret lee
I need to find an installer for Urchin 4.9 and a registration Key.

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


Skype

2006-05-16 Thread Duane Whitty

Hi,

Here is the procedure I used when trying to get skype to work:

dwpc@ /root# brandelf -t Linux /usr/X11R6/bin/skype_bin
dwpc@ /root# skype
ELF binary type "3" not known.
skype_bin: 1: Syntax error: "(" unexpected


Here's my info:

FreeBSD dwpc.dwlabs.ca 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May  9 
00:04:45 ADT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL  i386


/etc/rc.conf

# -- sysinstall generated deltas -- # Tue Feb 28 21:25:35 2006
# Created: Tue Feb 28 21:25:35 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="dwpc.dwlabs.ca"
ifconfig_fxp0="DHCP"
cupsd_enable="YES"
named_enable="YES"
linux_enable="YES"
usbd_enable="YES"
inetd_enable="YES"
smbd_enable="YES"
nmbd_enable="YES"
sendmail_enable="YES"
apache22_enable=1
mysql_enable=1

dwpc@ /root# pkg_info | grep linux
linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary
linux-expat-1.95.7_1 Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_3 Linux/i386 binary of Fontconfig
linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux
linux_base-8-8.0_14 Base set of packages needed in Linux mode (for 
i386/amd64)
linux_dri-4.4.0 Binary Linux DRI libraries for 3D hardware 
acceleration of

linuxdoc-1.1_1  The Linuxdoc SGML DTD
linuxpluginwrapper-20051113_2 A wrapper allowing use of linux-plugins 
with native applica
sgmlformat-1.7_2Generates groff and HTML from linuxdoc and docbook 
SGML doc



Does anyone have any ideas on how to make this work

Please CC me as I'm not tracking multimedia@

Thanks in advance

Duane Whitty
--
[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: IPFW - Two External Interfaces

2006-05-16 Thread Atom Powers

On 5/16/06, PFS IT <[EMAIL PROTECTED]> wrote:

I am attempting to use IPFW (and either IPNAT or natd) to do the following:

I have two connections to the outside world coming in to my firewall.
em0 has a static ip and is going to a bridged DSL connection, then
bge1 has a static ip and is going to a a few bonded DS1s. bge0 goes to
my internal network. I am attempting to have NAT on both external
interfaces, and have most outbound traffic move across bge1, while
traffic from/to a particular internal system (We'll call it
internal_system for purposes of this message) to/from a particular
remote  system (This we'll call remote_system) port 80 moves across
the DSL line on em0.



It was a situation similar to this that made me switch to pf. The NAT
features available to IPFW (at least in the past) are/were pretty
limited. If you are not committed to IPFW I would strongly recommend
pf.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions about monitoring Dell servers

2006-05-16 Thread Derek Ragona

You might want to look into using BigSister, in the ports:
/usr/ports/net-mgmt/bigsister

There are also binaries available for windows.

The sensors are configurable, with various alerting options.  I use it 
across both FreeBSD and Windows servers.


-Derek

At 11:33 AM 5/16/2006, Jason Lixfeld wrote:

I've got a couple of Dell PowerEdge 1850s, one of which has FreeBSD
6.1-RELEASE on it.

I'm trying to figure out the best way to monitor these boxes.  I'm
interested in RAID status more than anything else, but I'd like to
get as many of the sensors working as possible.

What I'm confused about is the difference between IPMI, Open Manage
and DRAC.  I don't quite understand what does what, and how FreeBSD
support is for either of these options.  I tried and failed to get
IMPI working, I tried to setup linux compatibility to get Open Manage
working (which I assume is the osabmcutil RPM) but I couldn't.  And
I'm not sure if any of these is dependent on the DRAC card or if the
DRAC card and these options are mutually exclusive and the DRAC card
just does "some other cool stuff"(tm).

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

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



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

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


Re: Questions about monitoring Dell servers

2006-05-16 Thread Jason Lixfeld



On 16-May-06, at 1:01 PM, Bill Moran wrote:


If it's the right type of driver, the megarc port might be helpful.
Works on our Dells.


This was a huge help!  Worked on both boxes, the FreeBSD box and the  
linux box.  Fantastic suggestion, thank you!



DRAC is irrelevant to FreeBSD.  Configure it in the BIOS (give it an
IP and the like) and you can use a web browser to get a console  
window.

(True console, so that you can access the BIOS during boot and
everything).


I can configure an IP address on the BMC, but that's obviously  
different than the DRAC.  Before, when I tried to configure an IP on  
the BMC, I couldn't see any IP info for it at all in the system.  
Couldn't ping it, couldn't see a mac address for it, nothing so I  
wasn't sure if the BMC networking portion would work without the DRAC  
or not.



Install ipmitool and use it to access IPMI over the network.


I tried that too, but based on above, I couldn't get the BMC to be  
seen on the network.



We have a central machine that monitors all our servers via a Nagios
plugin to ipmitool.  I can't offer any advice on getting OpenIPMI
working.


Is there a particular benefit to OpenIPMI vs. FreeIPMI?  I know the  
latter is all in userland as opposed to OpenIPMI which is partly  
comprised of kernel modules (or is that just in Linux land?)


DRAC and IPMI are completely seperate.  There is some overlap, for  
example
both DRAC and IPMI can be used to monitor sensors and reboot the  
hardware.


DRAC is nice in that it gives you a spiffy web interface, as well  
as the
whole console over IP thing.  IPMI is nice because it's a standard  
that

can be programmed to, with ipmitool, for example.


I'm still a little fuzzy on the IP capabilities of IPMI vs DRAC.


--
Bill Moran
Collaborative Fusion Inc.



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


how to temporarily override page style/appearance ?

2006-05-16 Thread martinko
hi!

i'm looking for an easy way of changing an html page appearance in
mozilla/seamonkey browsers.
i know i can change default colours in preferences->appearance->colors
but that is global and permanent.
i'd rather have something like there's in opera where you can easily
apply user defined theme/stylesheet per window/tab.
is there a similar extension for seamonkey/mozilla pls ??

cheers,

martin

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


Re: Is it recommended to allow all outgoing connections from your firewall??

2006-05-16 Thread Hunter Fuller


On  11 May 2006, at 1:56 AM, [EMAIL PROTECTED] wrote:

--On May 10, 2006 6:22:11 PM -0700 Mark Jayson Alvarez  
<[EMAIL PROTECTED]> wrote:
Because if the machine has been compromised, it doesn't *matter*  
what the outgoing ruleset is.  Or what anything else is, for that  
matter.
What if you're not in, but you can initiate an outgoing connection?  
From a buggy PHP script on a web server for example?


If I hack your box, one of the first things I'm going to do is  
install a rootkit.  Then I'm going to wipe the logs of any evidence  
of my entry (but leave them intact otherwise), clean my tracks from  
the shell history file and remove any other evidence of my  
presence.  "Bypassing" your firewall rules is the least of my worries.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


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


Re: Linux distro with ports/package type system?

2006-05-16 Thread Michael M.

Nikolas Britton wrote:

On 5/15/06, vayu <[EMAIL PROTECTED]> wrote:


On May 15, 2006, at 2:15 AM, Nikolas Britton wrote:

> I have an older 440MX based laptop that I'm fairly sure FreeBSD won't
> like, I don't want to run windows on this box... so I'm looking for a
> Linux distro that has a ports like system.
>
> I need KDE, X.org, and a 2.6 kernel installed by default... dammit...
> I don't want to #$%! with Linux, maybe I'll give FreeBSD another try
> first, anyways, thanks for the suggestions guys.
>
>


I've heard that Gentoo's package management system "Portage" is
inspired by FreeBSDs ports, but I believe it's a bit of work to
install and compile a working system.

I've been using Debian based Kubuntu on my laptop, and find the
package management excellent. The installation and maintenance is
easy.  It's my choice when I want to install and go.




Thanks, I didn't know Kubuntu / Ubuntu was Debian based. I like Debian
but the distribution always seems to be stuck in last year, It's still
using a 2.4 kernel, XFree86, and KDE 3.3!

Anyways, Kubuntu 6.06 Beta2 appears to meet most of my requirements so
I'll give it a whirl.





Debian Sid (unstable) and Debian Etch (testing) are at least as 
up-to-date as (K)Ubuntu Dapper 6.06 today, and Dapper isn't even 
released yet.  By the time the Dapper release is official (target date 
is 1st June), Debian Etch will have pulled farther ahead.  Debian Sid is 
already well ahead in terms of the "newness" of its packages.


An Ubuntu release (also, Kubuntu and Xubuntu) more-or-less starts with a 
snapshot of Debian Sid.  The package selection and versions in Dapper 
are already frozen and have been for a month or more, so you won't be 
seeing newer versions in Dapper than what you see now, and you won't be 
seeing new packages introduced.  By contrast, Debian Sid is continuously 
updated, as is Debian Etch (or whatever the current testing distribution 
happens to be).


What you're looking at (2.4 kernel, XFree86, etc.) is Debian Sarge 
(stable).  The stable Debian release is rock-solid and unchanging, 
except for security updates.  As such, it's great for servers, but I 
wouldn't use it for as a general purpose desktop/laptop OS.  Some people 
do, and they use backports to augment the package selection.  For 
example, if you were running Sarge, which has Firefox 1.04, you could 
easily swap that out for a backport of Firefox 1.5.03.  There are about 
450 or so pre-built backports for Sarge, so many of the most popular and 
common apps are available.  And of course you can always roll your own.  
But I still find Sarge to be too frustratingly old for a desktop system.


None of this is to suggest that I think you made the wrong choice -- 
Ubuntu is a fine Linux distro, and really geared to being a reasonably 
up-to-date solid and stable desktop distro.  I have it (Ubuntu Breezy 
5.10) installed as my "fallback" in case my Debian Sid installation gets 
hopelessly broken by some ill-considered update, but that hasn't 
happened yet.  (I fully expected at least X to be broken when Sid 
underwent the transition from xorg 6.9 to xorg 7.0, which is modular and 
makes quite a few significant changes to the layout of the server.  Much 
to my amazement, the upgrade proceeded without a hitch.)  You have to 
understand that "unstable" refers to the package selection, not to the 
state of the OS itself.  Debian Sid, honestly, is more solid than some 
distros' releases, and of all the Linux distros I've tried, it is the 
one that provides what I find to be the best balance between 
cutting-edge features and software, and stability and 
ease-of-administration.  Of course, that's completely a judgment call, 
and others would disagree.


I just wanted to chime in because I get tired of people tarnishing 
Debian with the old and moldy label.  For so long I kept reading that 
"FreeBSD isn't really appropriate for desktops," "FreeBSD doesn't 
support as much hardware as Linux," and other received opinions that 
kept me from trying any BSD for longer than it should have.  The notion 
that "Debian is too outdated" is, in my view, a similar received opinion 
that keeps some people from looking at it twice, which is a shame.


--
Michael M. ++ Portland, OR ++ USA
"No live organism can continue for long to exist sanely under conditions of absolute 
reality; even larks and katydids are supposed, by some, to dream." --S. Jackson

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


IPFW - Two External Interfaces

2006-05-16 Thread PFS IT

I am attempting to use IPFW (and either IPNAT or natd) to do the following:

I have two connections to the outside world coming in to my firewall.
em0 has a static ip and is going to a bridged DSL connection, then
bge1 has a static ip and is going to a a few bonded DS1s. bge0 goes to
my internal network. I am attempting to have NAT on both external
interfaces, and have most outbound traffic move across bge1, while
traffic from/to a particular internal system (We'll call it
internal_system for purposes of this message) to/from a particular
remote  system (This we'll call remote_system) port 80 moves across
the DSL line on em0.

Here is an attempt at a pretty ascii picture


ISP 1
   [192.168.2.254]
  |
  |
[bge1:192.168.2.1]
  FIREWALL[bge0:10.0.0.1]---[10.0.0.2]internal_system
 [em0:192.168.1.1]
  |
  |
   [192.168.1.254]
ISP 2

Here are the rules I've tried using in congunction with natd:

#Send incoming traffic to natd
00400 divert 8869 ip from any to any in via bge1
00450 divert 8868 ip from any to any in via em0
00500 check-state

#Check for internal_system port 80 traffic
0600 skipto 900 from $internal_system to $remote_system 80

#Send Most Traffic out via bge1
00700 divert 8869 ip from $local_net to any in
00750 divert 8869 ip from $local_net to any out

#Send "special" traffic out via em0
00900 divert 8868 ip from $internal_system to $remote_system 80 in
00950 divert 8868 ip from $remote_system to $remote_system 80 out

#policy route to get traffic to the correct ISP
02000 fwd $isp2_gw ip from $isp2_ip to any
02500 fwd $isp1_gw ip from $isp1_ip to any


Two instances of natd are running, one on port 8868 with an alias
address of $isp1_ip, the other is on port 8869 with an alias address
of $isp2_ip

With the above ipfw rules in place, a

$ping -S $isp2_ip google.com

Should result in a ping across em0 to google, however it acts as
though it cannot even reach the $isp2_gw.

I have been able to get everything to work exactly as I want it to
using pf on FreeBSD, but I've been told that ipfw is preferred within
the organization.


Any suggestions would be greatly appreciated.


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


Re: Gtk-Warning **: Cannot open display

2006-05-16 Thread Kevin Kinsey

Barnaby Scott wrote:

Kevin Kinsey wrote:

Barnaby Scott wrote:


(firefox-bin:582): Gtk-Warning **: Cannot open display



Q: Are you running an X display at the time this message is given,
or are you attempting to run Firefox from the console?



I have tried both. It is running from the console that gives the message 
 quoted - if I am running an X display at the time it fails with no 
message at all.


Barnaby


Try running "firefox" from an xterm during an X session.  The
message given is because it's being run from outside an X session,
and is therefore irrelevant, most likely.

KDK

--
Reality is just a convenient measure of complexity.
-- Alvy Ray Smith

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


Re: Gtk-Warning **: Cannot open display

2006-05-16 Thread Barnaby Scott

Kevin Kinsey wrote:

Barnaby Scott wrote:


So, I installed Firefox from ports, having made sure everything was 
bang up to date. Evrything seemed to go perfectly well, but lo and 
behold, first attempt to use it and I get this:


(firefox-bin:582): Gtk-Warning **: Cannot open display

What the..?

I have searched for this problem and found plenty of references 
similar error messages, but none of it seems to apply in my case. I am 
not trying to run Firefox as root, I am not doing it from a remote 
terminal, I am not standing in a bucket of water, I have the computer 
plugged in.


I think these are Good Things(tm), 'though I have been able to operate
a browser whilst standing in a bucket of water.

Q: Are you running an X display at the time this message is given,
or are you attempting to run Firefox from the console?

Kevin Kinsey

I have tried both. It is running from the console that gives the message 
 quoted - if I am running an X display at the time it fails with no 
message at all.


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


Re: X11 6.9 issue -- option "ZAxisMapping" -- "4 5" vs "4 5 6 7"

2006-05-16 Thread martinko
Dag-Erling Smørgrav wrote:
> martinko <[EMAIL PROTECTED]> writes:
>> if i scroll my mouse wheel too fast, i'm suddenly moving in history
>> instead of scrolling the page. one quick finger movement is enough to
>> trigger this. very annoying.
> 
> Here's an entry in Novell's bugzilla for a similar issue in Linux:
> 
> https://bugzilla.novell.com/show_bug.cgi?id=144682
> 
> I believe the information is equally applicable to FreeBSD.  To
> translate and summarize, ums(4) needs to learn to distinguish between
> IntelliMouse and IntelliMouse Explorer, becaue they have slightly
> different protocols; moused(8) already knows about this and handles it
> correctly, but only for PS/2 mice.
> 
> DES

DES,

i'm not quite sure this is the source of my issue as i have no an
intellimouse (pls see my original message).

m.

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


Re: Gtk-Warning **: Cannot open display

2006-05-16 Thread Kevin Kinsey

Barnaby Scott wrote:


So, I installed Firefox from ports, having made sure everything was bang 
up to date. Evrything seemed to go perfectly well, but lo and behold, 
first attempt to use it and I get this:


(firefox-bin:582): Gtk-Warning **: Cannot open display

What the..?

I have searched for this problem and found plenty of references similar 
error messages, but none of it seems to apply in my case. I am not 
trying to run Firefox as root, I am not doing it from a remote terminal, 
I am not standing in a bucket of water, I have the computer plugged in.


I think these are Good Things(tm), 'though I have been able to operate
a browser whilst standing in a bucket of water.

Q: Are you running an X display at the time this message is given,
or are you attempting to run Firefox from the console?

Kevin Kinsey

--
I THINK MAN INVENTED THE CAR by instinct.
-- Jack Handley, The New Mexican, 1988.

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


Gtk-Warning **: Cannot open display

2006-05-16 Thread Barnaby Scott

Oh dear!

I thought I was getting somewhere, but progress is painfully slow until 
I can istall a browser and get it to work, so that I can look up 
solutions to the avalanche of 'challenges' that seem to befalling this 
newbie!


So, I installed Firefox from ports, having made sure everything was bang 
up to date. Evrything seemed to go perfectly well, but lo and behold, 
first attempt to use it and I get this:


(firefox-bin:582): Gtk-Warning **: Cannot open display

What the..?

I have searched for this problem and found plenty of references similar 
error messages, but none of it seems to apply in my case. I am not 
trying to run Firefox as root, I am not doing it from a remote terminal, 
I am not standing in a bucket of water, I have the computer plugged in.


Any clues?

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


/bin/sh: wildcard expansion fails

2006-05-16 Thread [EMAIL PROTECTED]@mgEDV.net

i know things like "cat *lst|wc", but i don't want to type them.
when i try to use wildcards with "<" or ">" in /bin/sh, it fails:

my input (only one file with this name exists in the current dir):
wc <*lst

/bin/sh's output:
cannot open *lst: No such file or directory

is there a way to configure /bin/sh for "more/better" expansion?
btw, with csh it works fine ;-)

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


mozilla / seamonkey -- unable to install forecastfox for a regular user

2006-05-16 Thread martinko
hello!

since i discovered forecastfox extension i've been trying and unable to
install it on freebsd.  i've tried many times different versions of
mozilla suite and seamonkey now but to no avail.  i can install it for
root if the browser is run by root but when i try to install it as a
regular user the installation is canceled sometime in the end (that is
the extension is downloaded, maybe installation begin and then a window
displays a message saying installation canceled).  this has been the
case since freebsd 5.3 or 5.4, now i'm running 6.1.

does someone know how to solve this pls ??
any other thoughts or suggestions pls ??

cheers,

martin

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


Re: Newbie File system

2006-05-16 Thread James Long
> Date: Mon, 15 May 2006 21:38:57 -0700
> From: Garrett Cooper <[EMAIL PROTECTED]>
> Subject: Re: Newbie File system
> To: freebsd-questions@freebsd.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> James Long wrote:
> >> Date: Mon, 15 May 2006 17:20:33 +0200
> >> From: "Maan Jee" <[EMAIL PROTECTED]>
> >> Subject: Newbie File system
> >> To: freebsd-questions@freebsd.org
> >> Message-ID:
> >><[EMAIL PROTECTED]>
> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >>
> >> Can someone explane that at which filesystem is my "/home" directory
> >> located?
> >> 
> >
> > cd /home && df .
> >
> > will tell you.
> >   
> "df -h ~", "df -h $HOME", or "df -h `printenv HOME`" will do the trick.
> -Garrett

I'm not sure you read the post correctly.  He's asking where the "/home"
directory is on his system.

/home is typically a symlink to /usr/home, although it doesn't have to be.

My reply will definitively tell the user which filesystem the /home
directory (or symlink) resides on.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD-Update and 6.1

2006-05-16 Thread Matt Bostock
Colin Percival  freebsd.org> writes:
> I will be publishing a similar guide... ...for upgrading 6.0 to 6.1 in the
near future.

Great, thanks Colin. Any tips as to where I might have gone wrong in the
meantime? I followed the upgrade instructions for 5.4 -> 6.0, just using the 6.1
ISO instead.

Matt


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


Re: php5 port error

2006-05-16 Thread Miguel

Lowell Gilbert wrote:


Miguel <[EMAIL PROTECTED]> writes:

 


Luyt wrote:

   


On Tuesday 16 May 2006 16:00, Ashley Moran wrote:



 


Has anyone installed PHP5 on 6.1 yet?

I've tried fetching a file off a mirror and copying it to
/usr/ports/distfiles but I still get "php-5.1.4.tar.bz2 doesn't seem to
exist in /usr/ports/distfiles/"
  

   


I had a similar error.  I downloaded the "php-5.1.4.tar.bz2" file
manually, determined its size, MD5 and SHA256 hashes, and put all
that info into "/usr/ports/lang/php5/distinfo".  My "portupgrade -R
php5" then went OK.

My current /usr/ports/lang/php5/distinfo:

MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c
SHA256 (php-5.1.4.tar.bz2) =
b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5a32
SIZE (php-5.1.4.tar.bz2) = 6356171




 

thanks a lot Luyt, you saved my day, i was stuck trying to install php 
since yesterday,
   



You can always use "make makesum" to regenerate the checksums, but be
*very* careful about this; you are throwing away your only guarantee
(such as it is) that you are installing what you think you are.
 



Hi, i am trying to install mod_php5 but it doesnt work either, this is 
the error:


proxy# portinstall mod_php5
[Updating the pkgdb  in /var/db/pkg ... - 26 packages 
found (-1 +0) (...) done]

cd: can't cd to /usr/ports/www/mod_php5
** Port directory not found: www/mod_php5
** Listing the failed packages (*:skipped / !:failed)
   ! www/mod_php5  (port directory error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
proxy#


it  does seems like there is something seriously broken between the 
index file in the ports and the real directory locations,

is there a way to begin from scratch?

---
Miguel

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


Re: Is MAXFILES still valid in a kernel config option?

2006-05-16 Thread Giorgos Keramidas
On 2006-05-16 13:28, Bill Moran <[EMAIL PROTECTED]> wrote:
>On Tue, 16 May 2006 19:06:45 +0300
>Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
>>On 2006-05-16 11:35, Bill Moran <[EMAIL PROTECTED]> wrote:
>>>
>>> Using 6.1, is MAXFILES still honored in the kernel config?
>>>
>>> I know I can adjust this via sysctl, but setting it in the
>>> kernel config is more conducive to our deployment
>>> methodology.
>>
>> Yes.  The option is still valid even in CURRENT.
>>
>> The `src/sys/kern/subr_param.c' file contains:
>>
>>  64 #ifndef MAXFILES
>>  65 #define MAXFILES (maxproc * 2)
>>  66 #endif
>>
>> and the option is still present in `src/sys/conf/NOTES'.
>
> Thanks.  I thought it a little odd that NOTES groups it under
> this category:
> # Yet more undocumented options for linting.
>
> Seemed like something that was liable to silently break ...

I'm not sure what the real plans are around there, but (AFAIK) at
least for the RELENG_6 branch, now that the option is part of
RELENG_6 it should remain there for the entire lifetime of the
branch :)

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


RE: Help to find cause of recurring crash

2006-05-16 Thread Ted Mittelstaedt
Ron,

  Is this the HP Vectra server that has the onboard Adaptec
SCSI controller, and are you running SCSI drives on it?

  If so, there's another guy that has one of these servers
and was complaining about bugs in the adaptec driver sometime
last year causing a similar issue.  I told him to send-pr it
but I don't think anything came of that.

  I would say you have a 80% chance it's what they call:
"non-compliant hardware"  It is well known that HP has a microcode
license from Adaptec, they and Compaq have modified Adaptec's microcode
before.  It is really annoying when they do it and put their modded
microcode into Adaptec's cards - I have had before on my desk,
2 identical Adaptec SCSI cards, that when both placed in a Compaq
desktop will boot up with identical firmware version numbers with
one exception - one of them has a trailing "S" on the firmware version
number - and both work exactly the same in the Compaq, yet take
the Adaptec card that was purchased from retail and put it in
another system and it works fine, but take the adaptec card
that was purchased from Compaq/HP spares and it will not work in
any other system.

  It's enough to piss off an idiot.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of fbsd
>Sent: Tuesday, May 16, 2006 4:09 AM
>To: freebsd-questions@freebsd.org
>Subject: Help to find cause of recurring crash
>
>
>Hello All,
>
>I'm  running a home email server and twice in the last week it has
>rebooted itself and been unable to restart due to corruption of the
>filesystem. I found the following in /var/log/messages
>
>May 16 17:46:07 hpvectra syslogd: kernel boot file is
>/boot/kernel/kernel
>May 16 17:46:07 hpvectra kernel:
>May 16 17:46:07 hpvectra kernel:
>May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
>kernel mode
>May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
>May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
>page not present
>May 16 17:46:07 hpvectra kernel: instruction pointer=
>0x20:0xc062c5e8
>May 16 17:46:07 hpvectra kernel: stack pointer=
>0x28:0xe5079c50
>May 16 17:46:07 hpvectra kernel: frame pointer=
>0x28:0xe5079c64
>May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
>0xf, type 0x1b
>May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
>May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
>enabled, resume, IOPL = 0
>May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
>May 16 17:46:07 hpvectra kernel: trap number= 12
>May 16 17:46:07 hpvectra kernel: panic: page fault
>May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
>May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
>May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
>May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages)
>1007 991
>975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
>687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
>399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
>111 95 79 63 47 31 15 ... ok
>May 16 17:46:07 hpvectra kernel:
>May 16 17:46:07 hpvectra kernel: Dump complete
>May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
>a key on the console to abort
>May 16 17:46:07 hpvectra kernel: Rebooting...
>
>When I turn on the monitor I see that the reboot has not been
>successful
>due to "/ was not properly dismounted" and it is asking for fsck to be
>run manually. When I do that everything is fine again.
>
>Can anybody help me find the cause of the crash? What extra information
>is needed and how do I find that information? I'm relatively
>new to FreeBSD.
>
>Thanks in advance,
>
>Ron
>
>
>
>PS Other information that may be of help:
>
>I'm running 6.0 release,
>X is not running
>no users are logged in, cursor sits at the login screen
>running programs include, fetchmail daemon, dovecot, procmail,
>clamassassin, clamd,
>only strange behaviour noted  is the following error messages
>
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49H9AXd016830: No such file or directory
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49H9Ahr016830: No such file or directory
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49H9Amm016830: No such file or directory
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49H9A5E016830: No such file or directory
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49H9AHZ016830: No such file or directory
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49Hlokm016830: No such file or directory
>May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf:
>cannot open ./dfk49HrgQC016830: No such fil

jpilot core dumps on FreeBSD 6.1

2006-05-16 Thread Marco Beishuizen

Hi,

I recently upgraded to FreeBSD 6.1. The only program that suddenly 
has problems with it is JPilot. It aborts when starting it with:
...
jpilot in free(): error: modified (page-) pointer
Abort trap (core dumped)
...

I've synced my ports tree and reinstalled jpilot several times but nothing 
helps. Anyone else having this problem?

Marco

-- 
"My God!  Are we sure he was a liberal?"
"Pretty sure.  They pulled him from a Volvo."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: gmirror and partitioning

2006-05-16 Thread Gayn Winters
> From: Nagy László Zsolt [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 16, 2006 10:41 AM
> To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
> Subject: Re: gmirror and partitioning
> 
> > Hi Laszlo,
> >
> > Well it looks like you've got gm0 up and running.  I assume you've
> > edited /etc/fstab so that it boots cleanly.  My first 
> thought is that
> > you need to zero ad8 to make sure gmirror isn't confused.  
> Try that (dd
> > if=/dev/zero of=/dev/ad8) at least for several blocks.  
> Then reboot and
> > post dmesg.
> >   
> 
>   Hello Gayns,
> 
> Good to see you again. :-)
> 
> backupserver# dd if=/dev/zero of=/dev/ad8 count=4096
> 4096+0 records in
> 4096+0 records out
> 2097152 bytes transferred in 0.686872 secs (3053192 bytes/sec)
> 
> < then I rebooted >
> 
> backupserver# gmirror insert gm0 /dev/ad8
> Provider ad8 too small.
> 
> Here are the important parts from my dmesg:
> 
> ...
> 
> atapci0:  port 
> 0x9010-0x9017,0x9400-0x9403,0x9810-0x9817,0x9c00-0x9c03,0xa000-0xa00f 
> irq 22 at device 6.0 on pci4
> ata2:  on atapci0
> ata3:  on atapci0
> isab0:  at device 31.0 on pci0
> isa0:  on isab0
> atapci1:  port 
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 
> 31.1 on pci0
> ata0:  on atapci1
> ata1:  on atapci1
> atapci2:  port 
> 0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f 
> irq 19 at device 31.2 on pci0
> atapci2: failed to enable memory mapping!
> 
> 
> 
> acd0: CDROM  at ata0-master PIO4
> ad8: 152626MB  at ata4-master SATA150
> ad10: 152627MB  at ata5-master SATA150
> SMP: AP CPU #1 Launched!
> GEOM_MIRROR: Device gm0 created (id=934763830).
> GEOM_MIRROR: Device gm0: provider ad10 detected.
> GEOM_MIRROR: Device gm0: provider ad10 activated.
> GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
> Trying to mount root from ufs:/dev/mirror/gm0s1a
> bge0: link state changed to UP
> 
> 
> This is really wreid! The hard disks are the same: SAMSUNG HD160JJ 
> ZM100-33. But one is bigger than the other. How could this happen? 
> Should I reinstall everything from the beginning? :-(
> 
> 
> Best,
> 
>Laszlo

Sadly, yes; or buy a bigger second disk. You could do the install on the
smaller disk first, or you could make ad10s1 smaller.

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Fdisk error during 6.1-RELEASE cd installation

2006-05-16 Thread Ghis Gigi
Hello,
I have a problem during FreeBSD 6.1-RELEASE installation on a i386 machine with 
a boot CD. First, I found that FireWire desactivation is better to start the 
installation :-).
But my problem is when Fdisk try to write slice, in log vtty i get :
ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 66
ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 66
ad2: FAILURE - READ_DMA status = 51  error=84  LBA=66

Partitionning can't append because there is no valid entry in /dev.
My disk is ok.


Anyone as an idea or need more information??

Thanks in advance.

Ghislain

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


Re: gmirror and partitioning

2006-05-16 Thread Nagy László Zsolt



Hi Laszlo,

Well it looks like you've got gm0 up and running.  I assume you've
edited /etc/fstab so that it boots cleanly.  My first thought is that
you need to zero ad8 to make sure gmirror isn't confused.  Try that (dd
if=/dev/zero of=/dev/ad8) at least for several blocks.  Then reboot and
post dmesg.
  


 Hello Gayns,

Good to see you again. :-)

backupserver# dd if=/dev/zero of=/dev/ad8 count=4096
4096+0 records in
4096+0 records out
2097152 bytes transferred in 0.686872 secs (3053192 bytes/sec)

< then I rebooted >

backupserver# gmirror insert gm0 /dev/ad8
Provider ad8 too small.

Here are the important parts from my dmesg:

...

atapci0:  port 
0x9010-0x9017,0x9400-0x9403,0x9810-0x9817,0x9c00-0x9c03,0xa000-0xa00f 
irq 22 at device 6.0 on pci4

ata2:  on atapci0
ata3:  on atapci0
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0

ata0:  on atapci1
ata1:  on atapci1
atapci2:  port 
0xd000-0xd007,0xd400-0xd403,0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe00f 
irq 19 at device 31.2 on pci0

atapci2: failed to enable memory mapping!



acd0: CDROM  at ata0-master PIO4
ad8: 152626MB  at ata4-master SATA150
ad10: 152627MB  at ata5-master SATA150
SMP: AP CPU #1 Launched!
GEOM_MIRROR: Device gm0 created (id=934763830).
GEOM_MIRROR: Device gm0: provider ad10 detected.
GEOM_MIRROR: Device gm0: provider ad10 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Trying to mount root from ufs:/dev/mirror/gm0s1a
bge0: link state changed to UP


This is really wreid! The hard disks are the same: SAMSUNG HD160JJ 
ZM100-33. But one is bigger than the other. How could this happen? 
Should I reinstall everything from the beginning? :-(



Best,

  Laszlo

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


Re: FreeBSD 6.1 - nullfs not working with PAE

2006-05-16 Thread Kris Kennaway
On Wed, May 10, 2006 at 07:10:53PM +0200, tonix (Antonio Nati) wrote:
> 
> I'm trying to setup a system with 8GB of RAM, so I've enabled PAE option.
> 
> But when I try using a mount_nullfs, I always have this error:
> 
>   mount_nullsfs: Operation not supported by  device
> 
> No problem arises when I compile kernel without PAE.
> 
> I cannot find any documentation about nullfs and PAE.
> Why is a so simple filesystem (nullfs) incompatible with PAE?

Are you using nullfs from a module?  Modules are incompatible between
PAE and !PAE, so the easiest thing to do is compile them all into your
kernel.

Kris


pgp4FPywghTTq.pgp
Description: PGP signature


Re: apache re-write?

2006-05-16 Thread Kevin Kinsey

Gary Kline wrote:

I thought I had my  rewrite lines set up correctly so that my
JWChat utility would work; so that it would be seen from outside
my localnet.  But, from outside servers, pointing my browser at

	http://sage.thought.org/jwchat/ 


hits my 404.html wall.  So something is not configured correctly.
	It looks as tho  my apache httpd.conf is set.  I've been going 
	back and forth with this for a few days.  Any ideas??

I'm running apache-1.3.

thanks much,

gary


Show us the relevant config stuff?

KDK

--
A musician, an artist, an architect:
the man or woman who is not one of these is not a Christian.
-- William Blake

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


Re: Is MAXFILES still valid in a kernel config option?

2006-05-16 Thread Bill Moran
On Tue, 16 May 2006 19:06:45 +0300
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:

> On 2006-05-16 11:35, Bill Moran <[EMAIL PROTECTED]> wrote:
> >
> > Using 6.1, is MAXFILES still honored in the kernel config?
> >
> > I know I can adjust this via sysctl, but setting it in the kernel config
> > is more conducive to our deployment methodology.
> 
> Yes.  The option is still valid even in CURRENT.
> 
> The `src/sys/kern/subr_param.c' file contains:
> 
>  64 #ifndef MAXFILES
>  65 #define MAXFILES (maxproc * 2)
>  66 #endif
> 
> and the option is still present in `src/sys/conf/NOTES'.

Thanks.  I thought it a little odd that NOTES groups it under this category:
# Yet more undocumented options for linting.

Seemed like something that was liable to silently break ...

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


Re: FreeBSD-Update and 6.1

2006-05-16 Thread Colin Percival
Matt Bostock wrote:
> Understood; but Colin Percival (freebsd-update's author) does publish
> upgrade guides on his website for upgrading from one version to
> another (daemonology.net).

I will be publishing a similar guide (and maybe a shell script which
automates some of it...) for upgrading 6.0 to 6.1 in the near future.

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


Re: Newbie File system

2006-05-16 Thread Jerry McAllister
> 
> Maan Jee wrote:
> > Hi
> > 
> > Can someone explane that at which filesystem is my "/home" directory
> > located?
> > 
> > 
> > Filesystem  1K-blocksUsedAvail Capacity  Mounted on
> > /dev/ad0s1a50763055002   412018  12%/
> > devfs   1   1   0 100%/dev
> > /dev/ad0s1e507630  12   467008   0%/tmp
> > /dev/ad0s1f  34336100 1564298 30024914 5%/usr
> > /dev/ad0s1d   150619024892  1360804  2%/var
> > 
> > thanks/mj
> 
> Anything under /, that doesn't show up in 'df' is, of course, on the /
> file system. However, since /home is just a symlink to /usr, the
> answer to your question is it's under /usr.

Actually, the default is /home is a symlink to /usr/home
not just /home.

But, I think the poster really means where is the login home directory.
you can find that out many ways, most of which have been mentioned.

finger user_id

grep user_id /etc/passwd

  cd
  pwd

etc

jerry

> 
> Frank
> ___
> 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: gmirror and partitioning

2006-05-16 Thread Gayn Winters
> From: Nagy László Zsolt [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 16, 2006 8:27 AM
> To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
> Subject: Re: gmirror and partitioning
> 
> 
> 
> > Laszlo,
> >
> > You're making gmirror way too difficult.  In short, install 
> FreeBSD with
> > however many partitions you want, then install gmirror and replicate
> > your disk to the second disk.
> >
> > The standard howto documents are:
> >
> > http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/
> >
> > http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
> >
> > http://people.freebsd.org/~rse/mirror/
> >
> > I've used Danny's and Ralf's (the first and third).  
> Danny's is simpler,
> > but Ralf's has the advantage that it can be done remotely.  Danny's
> > website now recommends Dru's (the second).  You may want to try that
> > first.
> >
> > Let us know how it goes,
> >   
> I tried the second link, as you suggested. It does not work for me. I 
> have to identical disks on /dev/ad10 and /dev/ad8. I have installed 
> FreeBSD on /dev/ad10 and I initialized gmirror on that disk. Here is 
> what df says:
> 
> backupserver# df -h
> Filesystem Size Used Avail Capacity Mounted on
> /dev/mirror/gm0s1a 4.8G 34M 4.4G 1% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/mirror/gm0s1e 9.7G 12K 8.9G 0% /tmp
> /dev/mirror/gm0s1f 115G 261M 106G 0% /usr
> /dev/mirror/gm0s1d 9.7G 232K 8.9G 0% /var
> backupserver# swapinfo
> Device 1K-blocks Used Avail Capacity
> /dev/mirror/gm0s1b 5242880 0 5242880 0%Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 
> backupserver#
> 
> 
> Then I try to add the ad8 device:
> 
> backupserver# gmirror insert gm0 /dev/ad8
> Provider ad8 too small.
> backupserver#
> 
> But of course this is not true. ad8 and ad10 are identical 
> 160GB SATA disks.
> What am I doing wrong? Please help.
> 
> Laszlo

Hi Laszlo,

Well it looks like you've got gm0 up and running.  I assume you've
edited /etc/fstab so that it boots cleanly.  My first thought is that
you need to zero ad8 to make sure gmirror isn't confused.  Try that (dd
if=/dev/zero of=/dev/ad8) at least for several blocks.  Then reboot and
post dmesg.

-gayn

 


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


apache re-write?

2006-05-16 Thread Gary Kline
I thought I had my  rewrite lines set up correctly so that my
JWChat utility would work; so that it would be seen from outside
my localnet.  But, from outside servers, pointing my browser at

http://sage.thought.org/jwchat/ 

hits my 404.html wall.  So something is not configured correctly.
It looks as tho  my apache httpd.conf is set.  I've been going 
back and forth with this for a few days.  Any ideas??
I'm running apache-1.3.

thanks much,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


FreeBSD 6.1 - nullfs not working with PAE

2006-05-16 Thread tonix (Antonio Nati)


I'm trying to setup a system with 8GB of RAM, so I've enabled PAE option.

But when I try using a mount_nullfs, I always have this error:

mount_nullsfs: Operation not supported by  device

No problem arises when I compile kernel without PAE.

I cannot find any documentation about nullfs and PAE.
Why is a so simple filesystem (nullfs) incompatible with PAE?

Thanks,

Tonino

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


Re: Questions about monitoring Dell servers

2006-05-16 Thread Bill Moran
On Tue, 16 May 2006 12:33:50 -0400
Jason Lixfeld <[EMAIL PROTECTED]> wrote:

> I've got a couple of Dell PowerEdge 1850s, one of which has FreeBSD  
> 6.1-RELEASE on it.
> 
> I'm trying to figure out the best way to monitor these boxes.  I'm  
> interested in RAID status more than anything else, but I'd like to  
> get as many of the sensors working as possible.

If it's the right type of driver, the megarc port might be helpful.
Works on our Dells.

> What I'm confused about is the difference between IPMI, Open Manage  
> and DRAC.

DRAC = console over network
IPMI = hardware monitoring
Open Manage = I have no clue

> I don't quite understand what does what, and how FreeBSD  
> support is for either of these options.

DRAC is irrelevant to FreeBSD.  Configure it in the BIOS (give it an
IP and the like) and you can use a web browser to get a console window.
(True console, so that you can access the BIOS during boot and
everything).

> I tried and failed to get  
> IMPI working, I tried to setup linux compatibility to get Open Manage  
> working (which I assume is the osabmcutil RPM) but I couldn't.

Install ipmitool and use it to access IPMI over the network.

We have a central machine that monitors all our servers via a Nagios
plugin to ipmitool.  I can't offer any advice on getting OpenIPMI
working.

> And  
> I'm not sure if any of these is dependent on the DRAC card or if the  
> DRAC card and these options are mutually exclusive and the DRAC card  
> just does "some other cool stuff"(tm).

DRAC and IPMI are completely seperate.  There is some overlap, for example
both DRAC and IPMI can be used to monitor sensors and reboot the hardware.

DRAC is nice in that it gives you a spiffy web interface, as well as the
whole console over IP thing.  IPMI is nice because it's a standard that
can be programmed to, with ipmitool, for example.

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


Re: Newbie File system

2006-05-16 Thread Frank Steinborn
Maan Jee wrote:
> Hi
> 
> Can someone explane that at which filesystem is my "/home" directory
> located?
> 
> 
> Filesystem  1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad0s1a50763055002   412018  12%/
> devfs   1   1   0 100%/dev
> /dev/ad0s1e507630  12   467008   0%/tmp
> /dev/ad0s1f  34336100 1564298 30024914 5%/usr
> /dev/ad0s1d   150619024892  1360804  2%/var
> 
> thanks/mj

Anything under /, that doesn't show up in 'df' is, of course, on the /
file system. However, since /home is just a symlink to /usr, the
answer to your question is it's under /usr.

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


Re: Converting a zsh prompt to bash

2006-05-16 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Kyrre Nygard thusly...
>
> 
> This one, with a real nice color setting:
> 
> ([EMAIL PROTECTED])(09:58+16/05)
> (%:~)
> 
> Requires all this:
> 
> PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@'
> PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[01;36m%}('
> PROMPT+=$'%{\e[22;36m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;36m%}%D{%d/%m}'
> PROMPT+=$'%{\e[01;36m%})%{\e[01;30m\e[00m%}\n%{\e[01;36m%}('
> PROMPT+=$'%{\e[22;36m%}%#%{\e[01;30m%}:%{\e[22;36m%}%~%{\e[01;36m%})'
> PROMPT+=$'%{\e[01;30m\e[00m%} '
> 
> if [[ `whoami` = root ]] then
> PROMPT=$'%{\e[01;31m%}(%{\e[22;31m%}%n%{\e[01;30m%}@'
> PROMPT+=$'%{\e[22;31m%}%m%{\e[01;31m%})%{\e[01;31m%}%{\e[01;31m%}('
> PROMPT+=$'%{\e[22;31m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;31m%}%D{%d/%m}'
> PROMPT+=$'%{\e[01;31m%})%{\e[01;30m\e[00m%}\n%{\e[01;31m%}('
> PROMPT+=$'%{\e[22;31m%}%#%{\e[01;30m%}:%{\e[22;31m%}%~%{\e[01;31m%})'
> PROMPT+=$'%{\e[01;30m\e[00m%} '
> fi
> 
> I was wondering, were I to convert to bash, how would it then look like?

All you need to do is replace zsh provided format strings to that of
similar  bash escape sequences.  For example, zsh '%n' (for
username) corresponds to bash '\u', '%~' to '\w', and so on.

I personally put the color, bold, normal, etc. sequences in a
separate file, which is sourced inside the file setting prompt.
That gives less of gobbledygook to parse.  For zsh, i have somewhere
in ~/.zshrc ...

  #  http://www103.pair.com/parv/comp/unix/cf/sh/var/colors
  . ~/cf/sh/var/colors

  case $TERM in
*xterm* | *rxvt* )
  PS1="# ?:%? %j %l ${bold}${yellow_fg}%~${normal}${normal}"
  PS1="$PS1 %n.${bold}${cyan_fg}%m${normal}${normal}"
  PS1="
  $PS1 (%D{%a %b%d %I%M})
  #! "
  export PS1
;;

* )
  PS1="# %j [EMAIL PROTECTED] %l ${bold}%3~${normal}
  # "
  export PS1
;;
  esac


... similar thing is done for bash prompt.


  - Parv

-- 

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


Questions about monitoring Dell servers

2006-05-16 Thread Jason Lixfeld
I've got a couple of Dell PowerEdge 1850s, one of which has FreeBSD  
6.1-RELEASE on it.


I'm trying to figure out the best way to monitor these boxes.  I'm  
interested in RAID status more than anything else, but I'd like to  
get as many of the sensors working as possible.


What I'm confused about is the difference between IPMI, Open Manage  
and DRAC.  I don't quite understand what does what, and how FreeBSD  
support is for either of these options.  I tried and failed to get  
IMPI working, I tried to setup linux compatibility to get Open Manage  
working (which I assume is the osabmcutil RPM) but I couldn't.  And  
I'm not sure if any of these is dependent on the DRAC card or if the  
DRAC card and these options are mutually exclusive and the DRAC card  
just does "some other cool stuff"(tm).


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


APIC_IO removed?

2006-05-16 Thread User Gandalf


 Hello,

I upgraded to 6.1 and tried to recompile my kernel. It fails because it 
does not know this option:


options APIC_IO


Is this changed, or removed from 6.1? Is it enough to just use "options 
SMP"?


Thanks,

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


Re: php5 port error

2006-05-16 Thread Lowell Gilbert
Miguel <[EMAIL PROTECTED]> writes:

> Luyt wrote:
>
>>On Tuesday 16 May 2006 16:00, Ashley Moran wrote:
>>
>>  
>>
>>>Has anyone installed PHP5 on 6.1 yet?
>>>
>>>I've tried fetching a file off a mirror and copying it to
>>>/usr/ports/distfiles but I still get "php-5.1.4.tar.bz2 doesn't seem to
>>>exist in /usr/ports/distfiles/"
>>>
>>>
>>
>> I had a similar error.  I downloaded the "php-5.1.4.tar.bz2" file
>> manually, determined its size, MD5 and SHA256 hashes, and put all
>> that info into "/usr/ports/lang/php5/distinfo".  My "portupgrade -R
>> php5" then went OK.
>>
>>My current /usr/ports/lang/php5/distinfo:
>>
>>MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c
>> SHA256 (php-5.1.4.tar.bz2) =
>> b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5a32
>>SIZE (php-5.1.4.tar.bz2) = 6356171
>>
>>
>>  
>>
> thanks a lot Luyt, you saved my day, i was stuck trying to install php 
> since yesterday,

You can always use "make makesum" to regenerate the checksums, but be
*very* careful about this; you are throwing away your only guarantee
(such as it is) that you are installing what you think you are.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php5 port error

2006-05-16 Thread Miguel

Luyt wrote:


On Tuesday 16 May 2006 16:00, Ashley Moran wrote:

 


Has anyone installed PHP5 on 6.1 yet?

I've tried fetching a file off a mirror and copying it to
/usr/ports/distfiles but I still get "php-5.1.4.tar.bz2 doesn't seem to
exist in /usr/ports/distfiles/"
   



I had a similar error.  I downloaded the "php-5.1.4.tar.bz2" file manually, 
determined its size, MD5 and SHA256 hashes, and put all that info into 
"/usr/ports/lang/php5/distinfo".  My "portupgrade -R php5" then went OK.


My current /usr/ports/lang/php5/distinfo:

MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c
SHA256 (php-5.1.4.tar.bz2) = 
b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5a32

SIZE (php-5.1.4.tar.bz2) = 6356171


 

thanks a lot Luyt, you saved my day, i was stuck trying to install php 
since yesterday,

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


Re: php-5.1.4.tar.bz2: File unavailable

2006-05-16 Thread Lowell Gilbert
Ashley Moran <[EMAIL PROTECTED]> writes:

> On Tuesday 16 May 2006 15:16, César Amaya wrote:
>> Hello. I just made a fresh install of ports collection on freeBSD 6.1
>> RELEASE and trying to install pfw via the ports collection but the
>> process returns this error
>>
>> I ported manually the php-5.1.4.tar.bz2 file into /usr/ports/distfiles/
>> and try again but I still get the same error.
>>
>> could some body help me?
>> Thanks!
>
>
> I just made it work by replacing the distinfo file with this, based off the 
> tarball I downloaded:
>
> MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c
> SHA256 (php-5.1.4.tar.bz2) = 
> b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5
> a32
> SIZE (php-5.1.4.tar.bz2) = 6356171
>
> (three lines)
>
> It seems happy now.  I'm assuming this was just an oversight on behalf of the 
> port maintainer?

It wasn't an oversight; the maintainer did update the checksums and
size when the Makefile was changed.  Could be an error, or a change by
PHP developers (without changing the filename).  Or it could be that
the distribution system was hacked and you've just installed a
hacker's modified version of PHP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is MAXFILES still valid in a kernel config option?

2006-05-16 Thread Giorgos Keramidas
On 2006-05-16 11:35, Bill Moran <[EMAIL PROTECTED]> wrote:
>
> Using 6.1, is MAXFILES still honored in the kernel config?
>
> I know I can adjust this via sysctl, but setting it in the kernel config
> is more conducive to our deployment methodology.

Yes.  The option is still valid even in CURRENT.

The `src/sys/kern/subr_param.c' file contains:

 64 #ifndef MAXFILES
 65 #define MAXFILES (maxproc * 2)
 66 #endif

and the option is still present in `src/sys/conf/NOTES'.

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


Re: Some shell scripts; a more elegant approach?

2006-05-16 Thread Atom Powers

It is difficult to understand exactly what you want your script to do
without comments. You may get a better response if you can describe
what you want your scripts to do.

On 5/16/06, Kyrre Nygard <[EMAIL PROTECTED]> wrote:


Hello!

I have a bash script here to clean .txt files.

But I want to incorporate a feature where, if the .txt file is
less than 300 bytes, it will echo "$file: Corrupt".

I'm very new to scripting, but I know that this method is not really nice:

--

for file in `find -s . -type f -name "*.txt"`; do



This line is redundant, if you ">| $file.tmp" below. (or if you turn
"noclobber" off for your shell)

mv -f $file $file.tmp

tr -d '\r' < $file | cat -s | sed -E -e 's/[[:space:]]+$//' > $file.tmp



I don't see why you need an empty file here.

echo > blank


This line doesn't do anything.

echo >> $file.tmp



why not just "mv $file.tmp $file"?

cat blank $file.tmp >> $file

rm -f blank $file.tmp

done



You should probably do this on the .tmp file before you overwrite the original.

for file in `find . -type f -name "*.txt" -size -300c`; do

echo "$file: Corrupt"

done

--

I also have another script here that I'm wondering some about:

--

echo "Giving files to user $1, group $2."

chown -R $1:$2 *



if [ $3 -a $4 ] ; then


echo "Setting files to $3, folders to $4."

find -s . -type f -exec chmod $3 '{}' \;
find -s . -type d -exec chmod $4 '{}' \;



fi


--

It mass sets permissions and ownerships.

In it, I have to specify $1, $2, $3 and $4. If I just specify let's say
$1 and $2, it will error out because the finds in $3 and $4 aren't
given anything.

How do I avoid this?

Thanks people, I apologize for my ignorance,

-- Kyrre

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




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wpa_supplicant timeouts when trying to associate to AP

2006-05-16 Thread Dimiter Ivanov

Hello.

I have installed the driver for my card , and i made a config file for
the wpa_supplicant.
The config file parses without problem but i cannot connect.

When i try to associate i get the following error :

Trying to associate with 00:08:a1:52:d1:a3 (SSID='LUB' freq=2412 MHz)
Authentication with 00:00:00:00:00:00 timed out.

My system is :
# uname -a
FreeBSD erazor.home 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

And i have a Cardbus wireless card , from ASUS, which i use with the
driver ndisgen created for me from the windows drivers supplied with
the card.

When i searched the lists and googled before i post, i found few
people having the same issue, asking for help, but without any
response.

So, is it helpless ? Should i search for different wireless card to
use with FreeBSD ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is MAXFILES still valid in a kernel config option?

2006-05-16 Thread Bill Moran

Using 6.1, is MAXFILES still honored in the kernel config?

I know I can adjust this via sysctl, but setting it in the kernel config
is more conducive to our deployment methodology.

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


Re: php5 port error

2006-05-16 Thread Luyt
On Tuesday 16 May 2006 16:00, Ashley Moran wrote:

> Has anyone installed PHP5 on 6.1 yet?
>
> I've tried fetching a file off a mirror and copying it to
> /usr/ports/distfiles but I still get "php-5.1.4.tar.bz2 doesn't seem to
> exist in /usr/ports/distfiles/"

I had a similar error.  I downloaded the "php-5.1.4.tar.bz2" file manually, 
determined its size, MD5 and SHA256 hashes, and put all that info into 
"/usr/ports/lang/php5/distinfo".  My "portupgrade -R php5" then went OK.

My current /usr/ports/lang/php5/distinfo:

MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c
SHA256 (php-5.1.4.tar.bz2) = 
b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5a32
SIZE (php-5.1.4.tar.bz2) = 6356171


-- 

"The ability of the OSS process to collect and harness 
the collective IQ of thousands of individuals across 
the Internet is simply amazing." - Vinod Vallopillil
http://www.opensource.org/halloween/halloween4.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror and partitioning

2006-05-16 Thread Nagy László Zsolt



Laszlo,

You're making gmirror way too difficult.  In short, install FreeBSD with
however many partitions you want, then install gmirror and replicate
your disk to the second disk.

The standard howto documents are:

http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/

http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

http://people.freebsd.org/~rse/mirror/

I've used Danny's and Ralf's (the first and third).  Danny's is simpler,
but Ralf's has the advantage that it can be done remotely.  Danny's
website now recommends Dru's (the second).  You may want to try that
first.

Let us know how it goes,
  
I tried the second link, as you suggested. It does not work for me. I 
have to identical disks on /dev/ad10 and /dev/ad8. I have installed 
FreeBSD on /dev/ad10 and I initialized gmirror on that disk. Here is 
what df says:


backupserver# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/mirror/gm0s1a 4.8G 34M 4.4G 1% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/mirror/gm0s1e 9.7G 12K 8.9G 0% /tmp
/dev/mirror/gm0s1f 115G 261M 106G 0% /usr
/dev/mirror/gm0s1d 9.7G 232K 8.9G 0% /var
backupserver# swapinfo
Device 1K-blocks Used Avail Capacity
/dev/mirror/gm0s1b 5242880 0 5242880 0%
backupserver#


Then I try to add the ad8 device:

backupserver# gmirror insert gm0 /dev/ad8
Provider ad8 too small.
backupserver#

But of course this is not true. ad8 and ad10 are identical 160GB SATA disks.
What am I doing wrong? Please help.

Laszlo

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


RE: imagecreate command & PHP5

2006-05-16 Thread fbsd
Thank you.  That was the info I needed. Got it working now.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel A.
Sent: Tuesday, May 16, 2006 10:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: imagecreate command & PHP5


fbsd wrote:
> How do I add imagecreate command support to PHP5??
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
Firstly, you lookup the function on php.net and see what it depends
on.
In this case, imagecreate depends on GD. So, this means you have to
install the graphics/php5-gd port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


RE: php5 port error

2006-05-16 Thread fbsd
Yes I just went through this this morning. 
The md5 size count is not correct in the php5 port.
See /usr/ports/lang/php5/distro
I renamed the distro to distro.org and did 
"make install clean" and it found source to download.

Warning.  You have to download a new copy of the php5 
port config files to get version that changes back to 
defaulting to including the apache module. 

Do "make config" before "make install" so you can 
verify the compile time options are set to 
include the apache module.

Please submit bug PR on this.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ashley Moran
Sent: Tuesday, May 16, 2006 10:01 AM
To: freebsd-questions@freebsd.org
Subject: Re: php5 port error


Has anyone installed PHP5 on 6.1 yet?

I've tried fetching a file off a mirror and copying it to /usr/ports/distfiles 
but I still get "php-5.1.4.tar.bz2 doesn't seem to exist 
in /usr/ports/distfiles/"

Ashley

-- 
"If you do it the stupid way, you will have to do it again"
  - Gregory Chudnovsky
___
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: Loading php5 and apache 1.3

2006-05-16 Thread fbsd
I am fighting that same battle my self on a 6.1 system.
I use the packages to do this.
apache, php5, mysql5   Have no problem with the mysql5 part.

I reported the default had changed for php5 port not to
include the apache module on last Thursday. Today it looks
like the port default has been changed back to including
the apache module.  The package of php5 has not been recreated
yet so you have to use the port version.

Best to delete the /usr/ports/lang/php5 directories and
download the php5 port config files anew to get the most
current version from the cvsup server. Also saw some updates
to the ports base come down which may also effect the
correction of this problem

Then do "make config" to verify the apache module
build option is selected.

Then make install clean on php5.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ron Clark
Sent: Tuesday, May 16, 2006 10:40 AM
To: freebsd-questions@freebsd.org
Subject: Loading php5 and apache 1.3



   Hello all,


   Two weeks ago I buid a FreeBSD 5.x b=x for work and load apache
1.3
   and php5 with no issues. A week later, I tr= and build another
   server for the house and I am having all kinds of isues=ith php.
I
   understand the ports have changed and libphp5.so is no longer
compiled by default when ports/lang/php5-extensions is loaded, so
how
   does =ne go about setting up a web server with php5, easily? Has
   anyone done thi= yet, either 5.x or 6.x?


   I need help! Thanks in a=vance.

   Ron ___
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: php-5.1.4.tar.bz2: File unavailable

2006-05-16 Thread Ashley Moran
On Tuesday 16 May 2006 15:16, César Amaya wrote:
> Hello. I just made a fresh install of ports collection on freeBSD 6.1
> RELEASE and trying to install pfw via the ports collection but the
> process returns this error
>
> I ported manually the php-5.1.4.tar.bz2 file into /usr/ports/distfiles/
> and try again but I still get the same error.
>
> could some body help me?
> Thanks!


I just made it work by replacing the distinfo file with this, based off the 
tarball I downloaded:

MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c
SHA256 (php-5.1.4.tar.bz2) = 
b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5
a32
SIZE (php-5.1.4.tar.bz2) = 6356171

(three lines)

It seems happy now.  I'm assuming this was just an oversight on behalf of the 
port maintainer?

Ashley

-- 
"If you do it the stupid way, you will have to do it again"
  - Gregory Chudnovsky
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Loading php5 and apache 1.3

2006-05-16 Thread Ron Clark

   Hello all,


   Two weeks ago I buid a FreeBSD 5.x b= ox for work and load apache 1.3
   and php5 with no issues. A week later, I tr= y and build another
   server for the house and I am having all kinds of isues= with php. I
   understand the ports have changed and libphp5.so is no longercompiled by 
default when ports/lang/php5-extensions is loaded, so how
   does = one go about setting up a web server with php5, easily? Has
   anyone done thi= s yet, either 5.x or 6.x?


   I need help! Thanks in a= dvance.

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


php-5.1.4.tar.bz2: File unavailable

2006-05-16 Thread César Amaya
Hello. I just made a fresh install of ports collection on freeBSD 6.1 
RELEASE and trying to install pfw via the ports collection but the 
process returns this error


===>  Found saved configuration for php5-5.1.4
=> php-5.1.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://br.php.net/distributions/.
fetch: http://br.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://cn.php.net/distributions/.
fetch: http://cn.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://dk.php.net/distributions/.
fetch: http://dk.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://de.php.net/distributions/.
fetch: http://de.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://es.php.net/distributions/.
fetch: http://es.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

=> Attempting to fetch from http://fi.php.net/distributions/.
fetch: http://fi.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://fr.php.net/distributions/.
fetch: http://fr.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

=> Attempting to fetch from http://gr.php.net/distributions/.
fetch: http://gr.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://it.php.net/distributions/.
fetch: http://it.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://jp.php.net/distributions/.
fetch: http://jp.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://nl.php.net/distributions/.
fetch: http://nl.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

=> Attempting to fetch from http://se.php.net/distributions/.
fetch: http://se.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://uk.php.net/distributions/.
fetch: http://uk.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable

=> Attempting to fetch from http://us2.php.net/distributions/.
fetch: http://us2.php.net/distributions/php-5.1.4.tar.bz2: Requested 
Range Not Satisfiable
=> Attempting to fetch from 
http://ring.sakura.ad.jp/archives/net/www/php/distributions/.
fetch: 
http://ring.sakura.ad.jp/archives/net/www/php/distributions/php-5.1.4.tar.bz2: 
Requested Range Not Satisfiable
=> Attempting to fetch from 
http://ring.riken.jp/archives/net/www/php/distributions/.
fetch: 
http://ring.riken.jp/archives/net/www/php/distributions/php-5.1.4.tar.bz2: 
Requested Range Not Satisfiable
=> Attempting to fetch from 
http://ring.ip-kyoto.ad.jp/archives/net/www/php/distributions/.
fetch: 
http://ring.ip-kyoto.ad.jp/archives/net/www/php/distributions/php-5.1.4.tar.bz2: 
No route to host
=> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/php-5.1.4.tar.bz2: 
File unavailable (e.g., file not found, no access)

=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

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

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

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

Stop in /usr/ports/security/pfw.
*** Error code 1

Stop in /usr/ports/security/pfw.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall43488.0 make reinstall

** Fix the installation problem and try again.

I ported manually the php-5.1.4.tar.bz2 file into /usr/ports/distfiles/ 
and try again but I still get the same error.


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


Re: FreeBSD-Update and 6.1

2006-05-16 Thread Matt Bostock
Pietro Cerutti  gmail.com> writes:
> You just didn't get the point. freebsd-update is not aimed to upgrade
> a box from one version to another, but to apply security updates to a
> release.

Understood; but Colin Percival (freebsd-update's author) does publish
upgrade guides on his website for upgrading from one version to
another (daemonology.net).

With this in mind, could any one offer some advice as to how to upgrade
to 6.1 with freebsd-update?

Many thanks,
Matt

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


Re: Does NDISulator work on amd64? Has anyone made this work?

2006-05-16 Thread John Nielsen
On Tuesday 16 May 2006 00:33, Lorin Lund wrote:
> I have a Compac Presario V2607CL notebook with a Turion chip.  I have
> 6.1-RELEASE for amd64 loaded.
> It is running fine.  But I'm trying toget the built in Broadcom wireless
> working.
>
> I downloaded the driver from hp.com.  The .INF file was over 600K but
> most of that was multiple language
> support. (The INF file was in UNICODE).  I hacked out all the strings
> for languages I wasn't interested in and
> the whole thing shrunk down to around 47K after I stored it as text
> rather than as UNICODE.
>
> After thus fixing up the INF file ndiscvt had no complaint and created a
> header file.  The make on the
> kernel module proceeded without error messages.  There is now an
> "ndis.ko" file in /boot/kernel.

Since you're using FreeBSD 6.x, make sure you use ndisgen instead of running 
ndiscvt manually.

That said, I haven't ever played with amd64 and don't know if ndis is 
supported / functional on that platform.  Let us know what you find out!

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


Multiple monitors with Dell Latitude D810

2006-05-16 Thread Matt Juszczak

Hi all,

I'm trying to use a Dell D810 with xorg and multiple monitors.  The two 
monitors I have are the internal laptop screen, and an external Dell 
monitor hooked up through the docking station.


Windows was able to display content on both monitors, so I'm sure there's 
a way to do it with xorg and freebsd.  However, I am not sure where to 
start because of the fact that I'm using a docking station


Can anyone point me to any documentation or ideas?

Thanks!

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


Re: php5 port error

2006-05-16 Thread Ashley Moran
Has anyone installed PHP5 on 6.1 yet?

I've tried fetching a file off a mirror and copying it to /usr/ports/distfiles 
but I still get "php-5.1.4.tar.bz2 doesn't seem to exist 
in /usr/ports/distfiles/"

Ashley

-- 
"If you do it the stupid way, you will have to do it again"
  - Gregory Chudnovsky
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: imagecreate command & PHP5

2006-05-16 Thread Daniel A.

fbsd wrote:

How do I add imagecreate command support to PHP5??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Firstly, you lookup the function on php.net and see what it depends on.
In this case, imagecreate depends on GD. So, this means you have to 
install the graphics/php5-gd port.

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


USB mouse not working after move

2006-05-16 Thread Matt Juszczak

Hi all,

I moved, and now I can't seem to get my USB mouse to work.  I keep getting 
"/dev/psm0: no such file or directory" when trying to start moused.  dmesg 
shows proper detection of the mouse, with no errors.


Any ideas?

Thanks!

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


imagecreate command & PHP5

2006-05-16 Thread fbsd
How do I add imagecreate command support to PHP5??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Squid version 2.5 on freeBSD

2006-05-16 Thread Aguiar Magalhaes
List,

I´ve installed the squid in a freeBSD 6.1 machine. I'd
like to know where to tell to squid doesn't show the
version on error pages.

Thanks,

Aguiar



___ 
Novo Yahoo! Messenger com voz: Instale agora e faça ligações de graça. 
http://br.messenger.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: acquiring other versions of GCC (was no subject)

2006-05-16 Thread Bill Moran

[Please keep the conversation on the mailing list]

On Tue, 16 May 2006 06:23:55 GMT
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Wed, May 03, 2006 03:14 PMBill Moran wrote
> 
> > [Please wrap your lines at around 72 chars]
>   I do that if I can write the message in an editor that allows me
> that control.  This is written in Juno's reply window, I have no control
> there.

Then use a different MUA.

> 
> > Have a look through /usr/ports/devel
> 
>   Don't you think that the  gcc  I get in one place of a distribution
> will be the same as that which I get from another place of that
> distribution?  If there is a reason to believe not, please inform me.

Huh?  Did you look?  What does thinking and believing have to do with
anything?
ls /usr/ports/lang | grep gcc
gcc-objc
gcc-ooo
gcc28
gcc295
gcc30
gcc32
gcc33
gcc34
gcc40
gcc41
gcc41-withgcjawt
gcc42
linux-libgcc

It looks like every version of gcc from 2.8 to 4.2.

BTW: I was wrong, the gcc ports are in /usr/ports/lang, not /usr/ports/devel.

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


Re: Error in installing c++ API

2006-05-16 Thread snnn

On 5/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Please send me the process to install the c++ API,as i am facing problem
when typing make install is given .The error is makefile:68*** missing
separator stop,
all client libraries are loaded.



C++ API ?
what ?

how you find it?
Is it a port or contrib?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help to find cause of recurring crash

2006-05-16 Thread Bill Moran
On Tue, 16 May 2006 21:09:20 +1000
fbsd <[EMAIL PROTECTED]> wrote:

> Hello All,
> 
> I'm  running a home email server and twice in the last week it has 
> rebooted itself and been unable to restart due to corruption of the 
> filesystem. I found the following in /var/log/messages
> 
> May 16 17:46:07 hpvectra syslogd: kernel boot file is /boot/kernel/kernel
> May 16 17:46:07 hpvectra kernel:
> May 16 17:46:07 hpvectra kernel:
> May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in 
> kernel mode
> May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
> May 16 17:46:07 hpvectra kernel: fault code= supervisor write, 
> page not present
> May 16 17:46:07 hpvectra kernel: instruction pointer= 0x20:0xc062c5e8
> May 16 17:46:07 hpvectra kernel: stack pointer= 0x28:0xe5079c50
> May 16 17:46:07 hpvectra kernel: frame pointer= 0x28:0xe5079c64
> May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit 
> 0xf, type 0x1b
> May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
> May 16 17:46:07 hpvectra kernel: processor eflags= interrupt 
> enabled, resume, IOPL = 0
> May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
> May 16 17:46:07 hpvectra kernel: trap number= 12
> May 16 17:46:07 hpvectra kernel: panic: page fault
> May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
> May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
> May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
> May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991 
> 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 
> 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 
> 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 
> 111 95 79 63 47 31 15 ... ok
> May 16 17:46:07 hpvectra kernel:
> May 16 17:46:07 hpvectra kernel: Dump complete
> May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press 
> a key on the console to abort
> May 16 17:46:07 hpvectra kernel: Rebooting...
> 
> When I turn on the monitor I see that the reboot has not been successful 
> due to "/ was not properly dismounted" and it is asking for fsck to be 
> run manually. When I do that everything is fine again.

You can save yourself some hassle by enabling fsck_y_enable="yes" in
/etc/rc.conf.  If the initial fsck fails, it will try again with fsck -y.
If that fails, you've got serious trouble.

That will make the reboots a _little_ less of a problem for you, but it's
only paint over the rust.  What you really need to do is set up your
system for kernel debugging:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
This will allow you to collect enough information that a developer can
help.

However, before doing that, I would upgrade to 6.1, in case the problem
has already been fixed.  Additionally, FreeBSD is heavily tested enough
that kernel panics are _usually_ the result of failing hardware.  I'd
get ahold of a memtest86 CD and test your RAM before doing much else.

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


Re: Help to find cause of recurring crash

2006-05-16 Thread Pietro Cerutti

On 5/16/06, fbsd <[EMAIL PROTECTED]> wrote:

Pietro Cerutti wrote:
> On 5/16/06, fbsd <[EMAIL PROTECTED]> wrote:
>> Hello All,
>>
>> I'm  running a home email server and twice in the last week it has
>> rebooted itself and been unable to restart due to corruption of the
>> filesystem. I found the following in /var/log/messages
>>
>> May 16 17:46:07 hpvectra syslogd: kernel boot file is
>> /boot/kernel/kernel
>> May 16 17:46:07 hpvectra kernel:
>> May 16 17:46:07 hpvectra kernel:
>> May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
>> kernel mode
>> May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
>> May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
>> page not present
>> May 16 17:46:07 hpvectra kernel: instruction pointer=
>> 0x20:0xc062c5e8
>> May 16 17:46:07 hpvectra kernel: stack pointer=
>> 0x28:0xe5079c50
>> May 16 17:46:07 hpvectra kernel: frame pointer=
>> 0x28:0xe5079c64
>> May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
>> 0xf, type 0x1b
>> May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
>> May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
>> enabled, resume, IOPL = 0
>> May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
>> May 16 17:46:07 hpvectra kernel: trap number= 12
>> May 16 17:46:07 hpvectra kernel: panic: page fault
>> May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
>> May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
>> May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
>> May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991
>> 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
>> 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
>> 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
>> 111 95 79 63 47 31 15 ... ok
>> May 16 17:46:07 hpvectra kernel:
>> May 16 17:46:07 hpvectra kernel: Dump complete
>> May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
>> a key on the console to abort
>> May 16 17:46:07 hpvectra kernel: Rebooting...
>
> The only thing I can see (read: understand) is:
> the process that caused the kernel panic is "vnlru":
>
> "vnlru flushes and frees vnodes when the system hits the
> kern.maxvnodes limit. This kernel thread sits mostly idle, and only
> activates if you have a huge amount of RAM and are accessing tens of
> thousands of tiny files."
>
> (from http://www.unixguide.net/freebsd/faq/10.31.shtml)
>
> So, consider increasing kern.maxvnodes if your system deals with such
> a huge amount of files.
>
>>
>
>> Thanks in advance,
>
> Hope this helps,
>
>>
>> Ron
>
>
Thanks Pietro,

I will do that. However I don't think 1GB of RAM is so big and as a home
server I would be lucky to deal with more than a couple of hundred
emails per day.


I wouldn't trust in suppositions ;-)

check whether vfs.maxvnodes (max vnodes allowed) minus vfs.numvnodes
(number of actual vnodes) is nearly zero.


So if anyone can shed any more light it will be appreaciated.

Thanks

Ron



--
Pietro Cerutti
icq #117293691

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Has the port collection become to large to handle.

2006-05-16 Thread Bill Moran
On Mon, 15 May 2006 23:47:50 -0400
Robert Huff <[EMAIL PROTECTED]> wrote:
> 
> Chris Hill writes:
> 
> >  IMHO, your gripes are misdirected - complain to your ISP about
> >  the speed and reliability of your service. This should NOT take
> >  two hours. It could also be a matter of using the wrong server
> >  for your time and place.
> 
>   A data point:
>   I just pulled a fresh copy of the tree into virgin space.
>   Time (as reported by cvsup) : 46m42s
>   Size (as reported by du) : 301.2 mbytes
>   The mirror is 6 hops out, and located at M.I.T..  (Almost next
>   door.) 
>   My connection is 7 megabit cable.

Pulling down an entire tree into a virgin directory is not efficient
use of cvsup.  Not even a little.  While it _can_ be done (as you've
demonstrated) if you're looking for performance, pull down a tarball,
unpack it, then run cvsup to update it, and I bet it will be considerably
faster.

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


Re: looking for torsmo program replacement

2006-05-16 Thread Jimmie James

  >thanks!


>i've just installed it and it run w/o config file but since i copied the
>sample config file to ~/.conkyrc it crashes with segmentation fault. :-(
>i'll try to investigate tmrw or so what options if any makes it unhappy.
>the crash shouldn't happen, though, of course.


   > m

I've not had that problem,  maybe something in the config (mine follows),
all I've noticed is that after about a week, it's using quite a bit of
memory, and the developers on irc.freenode.net #conky have said that using
'tail' is a known memory issue they're working on.  Of course, if you tail
your logs, you're going to need read permissions on them.

Hope this helps

Jimmie


background yes
use_xft yes
xftfont Bitstream Vera Sans:size=10
xftalpha 0.8
mail_spool $MAIL
update_interval 2.0
total_run_times 0
own_window no
double_buffer yes
maximum_width 1024
minimum_size 620 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 1
gap_y 1
no_buffers yes
uppercase no
cpu_avg_samples 8
override_utf8_locale yes
use_spacer yes
TEXT
${alignc -110}${color #FFaa55}${top name 1}${top cpu 1}${top mem 1}
$color${font Bitstream Vera Sans:size=10} CPU: $cpu% ${cpubar 4,65}${font
Bitstream Vera Sans Mono:size=10}${alignc -120}${color #FFaa55}${top name
2}${top cpu 2}${top mem 2}
${color grey} RAM:$color $mem/$memmax ${color grey} Swap:$color
$swap/$swapmax${alignc -100}${color #aaFF55}${top name 3}${top cpu 3}${top
mem 3}
${color red} Up: $color ${upspeedf tun0}k/s${color green} Down: $color
${downspeedf tun0}k/s${alignc -100}${color #55ffdd}${top name 4}${top cpu
4}${top mem 4}
${color green} Uptime:${color green} $uptime ${color green} - Load:${color
green} $loadavg${alignc -100}${color #55ffdd}${top name 5}${top cpu 5}${top
mem 5}
Messages:
${color green}${execi 3 tail -n 3 /var/log/httpd-access.log}
${color red}${execi 3 tail -n 3 /var/log/messages}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: makeworld FAILURE on 5.4-STABLE

2006-05-16 Thread Donald J. O'Neill
On Tuesday 16 May 2006 05:30, Kyrre Nygard wrote:
> >Is /home on a slice of its own. Mine is, for the reason that if I
> > have to blow off the system and reinstall, I can safely do that, as
> > long as I don't make any changes to /home, just remount it as
> > /home. You can do this with sysinstall, very easlily.
> >
> >Send the output from 'df', I can tell from that.
> >
> >Don
>
> Hello!
>
> Actually, my /home is under /usr ... uh oh huh?
> No can do then?
>
> Thanks for the tip of having /home as a seperate slice though,
> I'll treasure it for the rest of my days!
>
> Peace,
> Kyrre

Not as you have it now. However, I read a possible solution that I think 
might work, to you from David Stanford. I think it will work, it just 
needs a couple of suggestions to flesh it out a bit.

I'll requote it here:
How large is your /var slice? If it's large enough to fit /home (or at 
least the files you'd like to save), maybe try booting into single-user 
mode, mount /usr and /var, wipe out /var, copy the files from /usr/home 
to /var, and just remember to document what slice /var was. Then you 
could just reinstall the base system around it using a 6.1-RELEASE CD, 
no?

Just a shot in the dark...
===

Not a bad shot in the dark, I think it will work if you do it this way:
1) Follow what David said above,  be sure to document what slice /var 
is. You're going to need that information when you reinstall with the 
6.1-RELEASE disc.

2) boot up the release disc. Use the standard install method. The first 
thing you come to is "fdisk" partitioning. The only thing you're going 
to do here is make an existing partition bootable, don't change 
anything else, don't make any new partitions, don't delete any. Just 
make the one partition bootable, then go on to the next step and 
install the boot manager.

3) BSDlabel is the next step. Since you didn't change any partitions on 
your disc, the existing slices should come up. You can remove and 
recreate all of them except the one you had for /var. You're going to 
mount that one as /home. At this point, you can create your other 
slices and mount points. Make sure that the slice you now have as /home 
is not going have 'newfs' run on it, all the others need to have it 
done, but not /home. Then go on with the installation.

Until you go through the disk label step, you haven't changed anything. 
Once you get through that step, you're committed, and what will be, 
will be. So, if you need any clarification, ask for it. Just remember, 
if you make a mistake, it's unpleasant and you'll be kicking yourself 
in the ass, but it's not the end of the world. 

Don


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


Re: FreeBSD logo

2006-05-16 Thread Jona Joachim
Adrian Pavone wrote:
> Albert Shih wrote:
> 
>> Hi all
>>
>> No no it's not a new troll for the new/old freebsd's logo ;-)
>>
>> No my question : Where can I find the FreeBSD logo (new or old) to put on
>> my xdm screen.
>>
>> Regards.
>>
>>
>> -- 
>> Albert SHIH
>> Universite de Paris 7 (Denis DIDEROT)
>> U.F.R. de Mathematiques.
>> 7 ième étage, plateau D, bureau 10
>> Heure local/Local time:
>> Mon May 15 22:44:30 CEST 2006
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>>
>>  
>>
> If you want Beastie, you can find him at either http://www.freebsd.org/
> or you can always do a search for beastie in http://images.google.com
> 
> In relation to the sex toy, I am not sure of any that don't have a
> background colour/image attached...

You can find it here:
http://www.freebsd.org/logo.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help to find cause of recurring crash

2006-05-16 Thread fbsd

Pietro Cerutti wrote:

On 5/16/06, fbsd <[EMAIL PROTECTED]> wrote:

Hello All,

I'm  running a home email server and twice in the last week it has
rebooted itself and been unable to restart due to corruption of the
filesystem. I found the following in /var/log/messages

May 16 17:46:07 hpvectra syslogd: kernel boot file is 
/boot/kernel/kernel

May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
kernel mode
May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
page not present
May 16 17:46:07 hpvectra kernel: instruction pointer= 
0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 
0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 
0x28:0xe5079c64

May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
0xf, type 0x1b
May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
enabled, resume, IOPL = 0
May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
111 95 79 63 47 31 15 ... ok
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
a key on the console to abort
May 16 17:46:07 hpvectra kernel: Rebooting...


The only thing I can see (read: understand) is:
the process that caused the kernel panic is "vnlru":

"vnlru flushes and frees vnodes when the system hits the
kern.maxvnodes limit. This kernel thread sits mostly idle, and only
activates if you have a huge amount of RAM and are accessing tens of
thousands of tiny files."

(from http://www.unixguide.net/freebsd/faq/10.31.shtml)

So, consider increasing kern.maxvnodes if your system deals with such
a huge amount of files.






Thanks in advance,


Hope this helps,



Ron




Thanks Pietro,

I will do that. However I don't think 1GB of RAM is so big and as a home 
server I would be lucky to deal with more than a couple of hundred 
emails per day. So if anyone can shed any more light it will be 
appreaciated.


Thanks

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


Re: Help to find cause of recurring crash

2006-05-16 Thread Pietro Cerutti

On 5/16/06, fbsd <[EMAIL PROTECTED]> wrote:

Hello All,

I'm  running a home email server and twice in the last week it has
rebooted itself and been unable to restart due to corruption of the
filesystem. I found the following in /var/log/messages

May 16 17:46:07 hpvectra syslogd: kernel boot file is /boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in
kernel mode
May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write,
page not present
May 16 17:46:07 hpvectra kernel: instruction pointer= 0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit
0xf, type 0x1b
May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt
enabled, resume, IOPL = 0
May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127
111 95 79 63 47 31 15 ... ok
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press
a key on the console to abort
May 16 17:46:07 hpvectra kernel: Rebooting...


The only thing I can see (read: understand) is:
the process that caused the kernel panic is "vnlru":

"vnlru flushes and frees vnodes when the system hits the
kern.maxvnodes limit. This kernel thread sits mostly idle, and only
activates if you have a huge amount of RAM and are accessing tens of
thousands of tiny files."

(from http://www.unixguide.net/freebsd/faq/10.31.shtml)

So, consider increasing kern.maxvnodes if your system deals with such
a huge amount of files.






Thanks in advance,


Hope this helps,



Ron



--
Pietro Cerutti
icq #117293691

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Help to find cause of recurring crash

2006-05-16 Thread fbsd

Hello All,

I'm  running a home email server and twice in the last week it has 
rebooted itself and been unable to restart due to corruption of the 
filesystem. I found the following in /var/log/messages


May 16 17:46:07 hpvectra syslogd: kernel boot file is /boot/kernel/kernel
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Fatal trap 12: page fault while in 
kernel mode

May 16 17:46:07 hpvectra kernel: fault virtual address= 0x1c
May 16 17:46:07 hpvectra kernel: fault code= supervisor write, 
page not present

May 16 17:46:07 hpvectra kernel: instruction pointer= 0x20:0xc062c5e8
May 16 17:46:07 hpvectra kernel: stack pointer= 0x28:0xe5079c50
May 16 17:46:07 hpvectra kernel: frame pointer= 0x28:0xe5079c64
May 16 17:46:07 hpvectra kernel: code segment= base 0x0, limit 
0xf, type 0x1b

May 16 17:46:07 hpvectra kernel: = DPL 0, pres 1, def32 1, gran 1
May 16 17:46:07 hpvectra kernel: processor eflags= interrupt 
enabled, resume, IOPL = 0

May 16 17:46:07 hpvectra kernel: current process= 52 (vnlru)
May 16 17:46:07 hpvectra kernel: trap number= 12
May 16 17:46:07 hpvectra kernel: panic: page fault
May 16 17:46:07 hpvectra kernel: Uptime: 5d7h4m50s
May 16 17:46:07 hpvectra kernel: Dumping 1023 MB (2 chunks)
May 16 17:46:07 hpvectra kernel: chunk 0: 1MB (159 pages) ... ok
May 16 17:46:07 hpvectra kernel: chunk 1: 1023MB (261872 pages) 1007 991 
975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 
687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 
399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 
111 95 79 63 47 31 15 ... ok

May 16 17:46:07 hpvectra kernel:
May 16 17:46:07 hpvectra kernel: Dump complete
May 16 17:46:07 hpvectra kernel: Automatic reboot in 15 seconds - press 
a key on the console to abort

May 16 17:46:07 hpvectra kernel: Rebooting...

When I turn on the monitor I see that the reboot has not been successful 
due to "/ was not properly dismounted" and it is asking for fsck to be 
run manually. When I do that everything is fine again.


Can anybody help me find the cause of the crash? What extra information 
is needed and how do I find that information? I'm relatively new to FreeBSD.


Thanks in advance,

Ron



PS Other information that may be of help:

I'm running 6.0 release,
X is not running
no users are logged in, cursor sits at the login screen
running programs include, fetchmail daemon, dovecot, procmail, 
clamassassin, clamd,

only strange behaviour noted  is the following error messages

May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9AXd016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9Ahr016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9Amm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9A5E016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49H9AHZ016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49Hlokm016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49HrgQC016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk49HrgiD016830: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45HuHZj028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q8H028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9QIF028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q2k028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q3g028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk45H9Q8I028031: No such file or directory
May 11 03:02:51 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44HetDK015554: No such file or directory
May 11 03:02:52 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44HkTLo015554: No such file or directory
May 11 03:02:53 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44HuiTU015554: No such file or directory
May 11 03:02:56 hpvectra sendmail[5729]: NOQUEUE: SYSERR(root): readqf: 
cannot open ./dfk44IA0GF016123: No such file or directory
M

Re: makeworld FAILURE on 5.4-STABLE

2006-05-16 Thread David Stanford

Kyrre,

How large is your /var slice? If it's large enough to fit /home (or at least
the files you'd like to save), maybe try booting into single-user mode,
mount /usr and /var, wipe out /var, copy the files from /usr/home to /var,
and just remember to document what slice /var was. Then you could just
reinstall the base system around it using a 6.1-RELEASE CD, no?

Just a shot in the dark...

-David

On 5/16/06, Kyrre Nygard <[EMAIL PROTECTED]> wrote:


At 11:12 16.05.2006, Donald J. O'Neill wrote:
>On Tuesday 16 May 2006 03:30, Kyrre Nygard wrote:
> >
> > Hello Don!
> >
> > Yes it's the `make buildworld' as far as I know.
> >
> > The /etc/make.conf contains PERL_VER=5.8.7 and PERL_VERSION=5.8.7.
> >
> > Is it possible, do you think, to use a FreeSBIE CD maybe to clean out
> > everything on my harddrive but my /home/kyrre where all my important
> > files are, and then reinstall the latest FreeBSD without
> > reformatting?
> >
> > It might be risky, let's say I hit the wrong switch and it does
> > format everything,
> > but you get my point right? To just lay a new FreeBSD on top of an
> > empty harddrive?
> >
> > I hope this is possible somehow ...
> >
> > Well, take care Don!
> >
> > -- Kyrre
>Is /home on a slice of its own. Mine is, for the reason that if I have
>to blow off the system and reinstall, I can safely do that, as long as
>I don't make any changes to /home, just remount it as /home. You can do
>this with sysinstall, very easlily.
>
>Send the output from 'df', I can tell from that.
>
>Don

Hello!

Actually, my /home is under /usr ... uh oh huh?
No can do then?

Thanks for the tip of having /home as a seperate slice though,
I'll treasure it for the rest of my days!

Peace,
Kyrre

___
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: Connecting to CISCO Devices

2006-05-16 Thread Yousef Raffah
On Tue, 2006-05-16 at 12:26 +0200, Wojciech Puchar wrote:

> > What kind of tools are there to connect to CISCO devices' console on
> > FreeBSD using the COM port? I'm sure there are a lot of you on the list
> > managing CISCO devices!
> tip may be OK
> 
> minicom for sure, after removing all "modem commands" in it, so it won't 
> "initialize modem" at startup.
> 
> i'm using minicom for connecting to other device's console like edimax 
> routers etc. for cisco it's the same.


Thank you all for the great replies, I will check these tools the moment
I finish updating to 6.1-STABLE


Sincerely,
Yousef Raffah
Senior Systems Administrator and Security Officer
SSIS - The Savola Group

--
Aren't you using Firefox? Get it at getfirefox.com
yousef.raffah.com


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


Re: not receiving own msg

2006-05-16 Thread Izwan Mohd

Felix Farcas wrote:


isn't it a probleme of gmail, didn't you filter out your e-mail address?

Felix




There are 3 essentials 2 leadership:
   humanity, clarity & courage

no filter at all, nvm then i changed my email better not use gmail with 
freebsd-mailinglist until it found the solution

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


Re: makeworld FAILURE on 5.4-STABLE

2006-05-16 Thread Kyrre Nygard

At 11:12 16.05.2006, Donald J. O'Neill wrote:

On Tuesday 16 May 2006 03:30, Kyrre Nygard wrote:
>
> Hello Don!
>
> Yes it's the `make buildworld' as far as I know.
>
> The /etc/make.conf contains PERL_VER=5.8.7 and PERL_VERSION=5.8.7.
>
> Is it possible, do you think, to use a FreeSBIE CD maybe to clean out
> everything on my harddrive but my /home/kyrre where all my important
> files are, and then reinstall the latest FreeBSD without
> reformatting?
>
> It might be risky, let's say I hit the wrong switch and it does
> format everything,
> but you get my point right? To just lay a new FreeBSD on top of an
> empty harddrive?
>
> I hope this is possible somehow ...
>
> Well, take care Don!
>
> -- Kyrre
Is /home on a slice of its own. Mine is, for the reason that if I have
to blow off the system and reinstall, I can safely do that, as long as
I don't make any changes to /home, just remount it as /home. You can do
this with sysinstall, very easlily.

Send the output from 'df', I can tell from that.

Don


Hello!

Actually, my /home is under /usr ... uh oh huh?
No can do then?

Thanks for the tip of having /home as a seperate slice though,
I'll treasure it for the rest of my days!

Peace,
Kyrre

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


Re: Sluggish system

2006-05-16 Thread Subhro

You can do a pkg_delete -a.
This will delete all the packages.

After that pkgdb -fF
This will rebuild the package database. However I dont think this is necessary.

then reinstall everything as required.

Thanks and Best Regards
Subhro

On 5/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Quoting Subhro <[EMAIL PROTECTED]>:

> Why do you want to NOT reinstall the OS?

Loads of data, loads of accounts / passwords, nothing wrong with the 'base' part
of the OS... There's no need to really.

My problems are generated from to many ports / inconsistencies in the ports, and
so forth.  So that's really the only part of the OS that actually needs some
serious work.

I also can't re-install the Base OS remotely...   Yes, I can make world to
upgrade it (which has already been done), but not reinstall it in the sense of
format / repartition / etc...

--
Chris


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




--
Subhro Kar
Security Engineer
iViZ Techno Solutions Pvt. Ltd.
Dhanshree Bldg, 1st Floor
Plot XI-16, Sector V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Connecting to CISCO Devices

2006-05-16 Thread Wojciech Puchar

What kind of tools are there to connect to CISCO devices' console on
FreeBSD using the COM port? I'm sure there are a lot of you on the list
managing CISCO devices!

tip may be OK

minicom for sure, after removing all "modem commands" in it, so it won't 
"initialize modem" at startup.


i'm using minicom for connecting to other device's console like edimax 
routers etc. for cisco it's the same.

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


Re: Reading UFS2 from Windows

2006-05-16 Thread Kyrre Nygard

At 10:40 16.05.2006, dawnshade wrote:

On Tuesday 16 May 2006 12:19, Kyrre Nygard wrote:
> Hello!
>
> I have an awkward setup right here.
>
> I have my first harddrive split into one NTFS partition which runs Windows,
> and one FAT32 partition which serves as a temporary docking station for all
> my files which I later secure into my 2nd harddrive running FreeBSD.
>
> Can I skip this temporary docking station somehow?
>
> I was thinking, since UFS2 is an open specification, it shouldn't be
> impossible creating a Win32 interface that will let me read and write to
> one.
>
> Does anyone know?
>

http://sourceforge.net/projects/ufs2tools
http://sourceforge.net/projects/ffsdrv


I'm fine with having this temporary docking station however since it's FAT32,
certain scripts (like rename scripts) make my FreeBSD lock up and freeze.

-- Kyrre

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


Re: Reading UFS2 from Windows

2006-05-16 Thread Kyrre Nygard

At 10:40 16.05.2006, dawnshade wrote:

On Tuesday 16 May 2006 12:19, Kyrre Nygard wrote:
> Hello!
>
> I have an awkward setup right here.
>
> I have my first harddrive split into one NTFS partition which runs Windows,
> and one FAT32 partition which serves as a temporary docking station for all
> my files which I later secure into my 2nd harddrive running FreeBSD.
>
> Can I skip this temporary docking station somehow?
>
> I was thinking, since UFS2 is an open specification, it shouldn't be
> impossible creating a Win32 interface that will let me read and write to
> one.
>
> Does anyone know?
>

http://sourceforge.net/projects/ufs2tools
http://sourceforge.net/projects/ffsdrv


Thanks man!

This is very, very cool.
Read only though?

All the best,
Kyrre

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


Re: not receiving own msg

2006-05-16 Thread idzuwan

Felix Farcas wrote:

you have to go to your options list where you subscribe and enable to 
get your posted e-mail.


Felix




There are 3 essentials 2 leadership:
   humanity, clarity & courage

already enable the "Receive your own posts to the list?" but still no 
email :-\ weird .**


**

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


Re: Sluggish system

2006-05-16 Thread cknipe
Quoting Subhro <[EMAIL PROTECTED]>:

> Why do you want to NOT reinstall the OS?

Loads of data, loads of accounts / passwords, nothing wrong with the 'base' part
of the OS... There's no need to really.

My problems are generated from to many ports / inconsistencies in the ports, and
so forth.  So that's really the only part of the OS that actually needs some
serious work.

I also can't re-install the Base OS remotely...   Yes, I can make world to
upgrade it (which has already been done), but not reinstall it in the sense of
format / repartition / etc... 

--
Chris


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


uscanner firmware upload? (w/ sane?)

2006-05-16 Thread Harald Schmalzbauer
Hello,

I changend usbdevs and uscanner.c a bit so my Epson Perfection 3490 PHOTO 
attaches to uscanner0 instead of ugen0. (See patch below)

If I use this scanner on another supported operating system I can connect it 
to my FreeBSD machine and "scanimage" works fine.
But if I repower the scanner "scanimage" just hangs with -L.
The problem is that the scanner needs firmware to be uploaded when repowered.
I have the correct firmware binary and I also configured sane to use that but 
it seems sane doesn't upload the binary.
Is there any method to upload the firmware to uscanner with on board 
utilities?
Any other hints?

Thanks a lot,

-Harry

--- sys/dev/usb/uscanner.c.orig Mon May 15 16:34:23 2006
+++ sys/dev/usb/uscanner.c  Mon May 15 16:28:16 2006
@@ -204,6 +204,7 @@
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1670 }, 0 },
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1260 }, 0 },
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3200 }, USC_KEEP_OPEN },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3490 }, 0 },
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9300UF }, 0 },

--- sys/dev/usb/usbdevs.origMon May 15 16:36:30 2006
+++ sys/dev/usb/usbdevs Mon May 15 16:36:05 2006
@@ -855,6 +855,7 @@
 product EPSON GT9700F  0x0112  GT-9700F scanner
 product EPSON GT9300UF 0x011b  GT-9300UF scanner
 product EPSON 3200 0x011c  Perfection 3200 scanner
+product EPSON 3490 0x0122  Perfection 3490 scanner
 product EPSON 1260 0x011d  Perfection 1260 scanner
 product EPSON 1660 0x011e  Perfection 1660 scanner
 product EPSON 1670 0x011f  Perfection 1670 scanner
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >