FreeBSD fdisk how to?

2008-06-20 Thread Unga
Hi all

I need to partition a new 250GB SATA disk.

BIOS Auto calculated disk geometry shows:
parameters extracted from in-core disklabel are:
cylinders=119706 heads=16 sectors/track=255 (4080 blks/cyl)

That is, Total sectors=488400480

Since the C/H/S values are not compatible with FreeBSD fdisk, I recalculated 
them as:
Sectors/track: 63
Heads: 255

Cylinders = 488400480 / 16065
  = 30401


I made a configfile as:
g c30401 h255 s63
p 1 165 63 488392002
a 1


I ran fdisk as follows:
fdisk -f configfile -itv /dev/ad2


I get following message:

*** Working on device /dev/ad2 ***
fdisk: invalid fdisk partition table found
fdisk: WARNING line 1: number of cylinders (30401) may be out-of-range
(must be within 1-1024 for normal BIOS operation, unless the entire disk
is dedicated to FreeBSD)
parameters extracted from in-core disklabel are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=30401 heads=255 sectors/track=63 (16065 blks/cyl)

Information from DOS bootblock is:
1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 488392002 (238472 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 704/ head 254/ sector 63
2: UNUSED
3: UNUSED
4: UNUSED


Now my questions:

1. Am I suppose to enter as c1024 instead of c30401, irrespective of the size 
of the disk?

2. Is it an error if I still enter as c30401?

3. Am I suppose to enter the c30401 h255 s63 values to the BIOS as user mode 
before run fdisk?

In case the way I use fdisk under FreeBSD is not correct, appreciate if you 
guys can point to some documentation. I followed the fdisk(8).

Many thanks in advance.

Kind regards
Unga


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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Wojciech Puchar

g c30401 h255 s63
p 1 165 63 488392002
a 1


I ran fdisk as follows:
fdisk -f configfile -itv /dev/ad2



is this disk FreeBSD only? don't use fdisk at all
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g4u

2008-06-20 Thread Wojciech Puchar

can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
drive only has 20 gigs of data?


what is G4U?

simply make partitions, newfs, copy files, install boot sector
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SAMBA 3.0.28a and CVE-2008-1105

2008-06-20 Thread O. Hartmann

Konrad Heuer wrote:


On Thu, 19 Jun 2008, O. Hartmann wrote:

We still have Samba R3.0.28a in the ports but regarding to 
CVE-2008-1105 shouldn't it be R3.0.30?


As far as I know the mentioned security patch gets applied when building 
Samba from ports.


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]



Oh, is that so ... then why isn't the version number bumped up? Slightly 
confusing, but if the patch has been incorporated it makes me feel better.


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


Re: LDAP Authentication questions...

2008-06-20 Thread Uwe Laverenz
On Wed, Jun 18, 2008 at 02:18:17PM -0500, Eric F Crist wrote:

 configured services like ssh.  Now, shouldn't it eventually fail over  
 to my secondary LDAP server?  I've even tried adding timelimit 10 to  
 the ldap.conf file to set a timeout, to no avail.

IIRC you have to change the parameter bind_timelimit to get what you
want. The default is 30 seconds, which is too high. This is documented
in the pam_ldap manpage.

Uwe

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


RE: SAMBA 3.0.28a and CVE-2008-1105

2008-06-20 Thread Johan Hendriks


Konrad Heuer wrote:
 
 On Thu, 19 Jun 2008, O. Hartmann wrote:
 
 We still have Samba R3.0.28a in the ports but regarding to 
 CVE-2008-1105 shouldn't it be R3.0.30?
 
 As far as I know the mentioned security patch gets applied when
building 
 Samba from ports.
 
 Best regards
 
 Konrad Heuer
 GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
 

Oh, is that so ... then why isn't the version number bumped up?
Slightly 
confusing, but if the patch has been incorporated it makes me feel
better.

Kindly regards,
Oliver

Reding this on freshports makes me think it is bumped!

29 May 2008 11:47:46
3.0.28a_1,1

This is a security update of Samba 3.0.28a, that address CVE-2008-1105.

Approved by:shaun (mentor, implicit)
Security:   CVE-2008-1105

Regards,
Johan Hendriks
Double L Automatisering


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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Unga
--- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote:

 From: Wojciech Puchar [EMAIL PROTECTED]
 Subject: Re: FreeBSD fdisk how to?
 To: Unga [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Friday, June 20, 2008, 3:57 PM
  g c30401 h255 s63
  p 1 165 63 488392002
  a 1
 
 
  I ran fdisk as follows:
  fdisk -f configfile -itv /dev/ad2
 
 
 is this disk FreeBSD only? don't use fdisk at all

Yep this hard disk is for FreeBSD only. Why I should not use fdisk? What should 
I use to partition a disk? I'm running FreeBSD 7.0.

Regards
Unga


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


Re: g4u

2008-06-20 Thread Odhiambo Washington
On Fri, Jun 20, 2008 at 3:48 AM, Jean-Paul Natola
[EMAIL PROTECTED] wrote:
 can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
 drive only has 20 gigs of data?


Yes!
You can then create a partition on the extra space.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
 --from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Frets on Fire from ports (short and sweet)

2008-06-20 Thread Martin Tournoij
On Thu, Jun 19, 2008 at 05:15:23PM -0300, Gonzalo Nemmi wrote:
 On Thursday 19 June 2008 16:07:48 Jona Joachim wrote:
  On 2008-06-19, Gonzalo Nemmi [EMAIL PROTECTED] wrote:
   in short: has anybody been able to get it working from ports?
  
   [..snip..]
  If you try to build glewpy it tells you something about pyrex not
  generating the right code. I don't know if that problem actually comes from
  pyrex or from glewpy.

If you use an old version of pyrex the port does seem to compile (I used the
tag RELEASE_6_0_0, pyrex 0.7.4).

A quick look at the Pyrex ChangeLog[1] reveals:

   0.8

- INCOMPATIBLE CHANGE: The type object of an external extension
type is now imported at run time using the Python import
mechanism. To make this possible, an 'extern' extension type
declaration must DECLARE THE MODULE from which the extension
type originates. See the new version of the Extension Types
documentation for details.

This change was made to eliminate the need for Pyrex to be 
told the C name of the type object, or for the Pyrex module 
to be linked against the object code providing the type object.
  
You will have to update any existing external extension type
declarations that you are using. I'm sorry about that, but it
was too hard to support both the old and new ways.

I'm not familiar with pyrex, so I'm not sure if this is the culprit ... But
maybe this will help someone else...

1: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/CHANGES.txt

-- 
Martin Tournoij
[EMAIL PROTECTED]
http://www.daemonforums.org

QOTD:
Necessity is the mother of invention is a silly proverb.
Necessity is the mother of futile dodges is much nearer the
truth.
-- Alfred North Whitehead
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD fdisk how to?

2008-06-20 Thread Wojciech Puchar


Yep this hard disk is for FreeBSD only. Why I should not use fdisk?


because it's not needed.





clean it up
dd if=/dev/zero of=/dev/disk bs=64k count=1

make initial label

bsdlabel -w disk

edit label to your needs

bsdlabel -e disk

newfs,mount,copy files,umount

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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Unga
--- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote:

 From: Wojciech Puchar [EMAIL PROTECTED]
 Subject: Re: FreeBSD fdisk how to?
 To: Unga [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Friday, June 20, 2008, 5:18 PM
 
  Yep this hard disk is for FreeBSD only. Why I should
 not use fdisk?
 
 because it's not needed.
 
 
 
 clean it up
 dd if=/dev/zero of=/dev/disk bs=64k count=1
 
 make initial label
 
 bsdlabel -w disk
 
 edit label to your needs
 
 bsdlabel -e disk
 
 newfs,mount,copy files,umount
 
 bsdlabel -B disk

But this does not create slices, does it? How to create multiple slices?

Regards
Unga



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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Wojciech Puchar


newfs,mount,copy files,umount

bsdlabel -B disk


But this does not create slices, does it?


yes. because slices are not needed if you want freebsd-only disk - that's 
why i asked for.



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


Restarting a driver?

2008-06-20 Thread Gilles
Hello

Out of curiosity, why can't I restart the Zaptel driver that is used
by Asterisk to communicate with a PCI telephony card?

# /usr/local/etc/rc.d/zaptel restart

 zaptelkldunload: can't find file wcte12xp.ko: No such file or
directory
kldunload: can't find file wcte11xp.ko: No such file or directory
kldunload: can't find file wct4xxp.ko: No such file or directory
kldunload: can't find file wct1xxp.ko: No such file or directory
kldunload: can't unload file: Device busy
kldunload: can't find file wcfxo.ko: No such file or directory
kldunload: can't find file tau32pci.ko: No such file or directory
kldunload: can't find file qozap.ko: No such file or directory
kldunload: can't unload file: Device busy
 zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File
exists

# tail /var/log/messages
[...]
 Jun 20 12:34:42 freebsd kernel: kldunload: attempt to unload file
that was loaded by the kernel

Do some device drivers require using special commands to
unload/reload?

Thank you.

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


xbox360?

2008-06-20 Thread Wojciech Puchar

i found here

http://www.freebsdos.com/news/2008/01/23/freebsd-and-the-xbox-360/

that

Some of you may be aware that since the middle of 2005 it is possible to 
run FreeBSD on the Microsoft Xbox and later also on the Xbox 360. 


does it mean that FreeBSD/xbox360 (3 powerPC cores) exist?

i can't find anything on FreeBSD WWW, except for older Xbox (pentium3) 
port

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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Unga
--- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote:

 From: Wojciech Puchar [EMAIL PROTECTED]
 Subject: Re: FreeBSD fdisk how to?
 To: Unga [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Friday, June 20, 2008, 6:32 PM
 
  newfs,mount,copy files,umount
 
  bsdlabel -B disk
 
  But this does not create slices, does it?
 
 yes. because slices are not needed if you want freebsd-only
 disk - that's 
 why i asked for.

IC, sorry may be I did not make myself clear enough then. The fdisk statement I 
ran only with one partition entry is to learn fdisk, that's why I ran in test 
mode.

I need at least 2 partitions, one for FreeBSD 7 and other for FreeBSD 8. I need 
two slices for that.

I still need to understand clearly how to create slices in FreeBSD. I know 4 
slices per disk can be created.

The question is, is what I posted on my first post sufficient to create slices 
correctly? 

Btw, thank you very much for so many replies without giving up :)

Unga





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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Erik Trulsson
On Fri, Jun 20, 2008 at 03:44:59AM -0700, Unga wrote:
 --- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote:
 
  From: Wojciech Puchar [EMAIL PROTECTED]
  Subject: Re: FreeBSD fdisk how to?
  To: Unga [EMAIL PROTECTED]
  Cc: freebsd-questions@freebsd.org
  Date: Friday, June 20, 2008, 6:32 PM
  
   newfs,mount,copy files,umount
  
   bsdlabel -B disk
  
   But this does not create slices, does it?
  
  yes. because slices are not needed if you want freebsd-only
  disk - that's 
  why i asked for.
 
 IC, sorry may be I did not make myself clear enough then. The fdisk statement 
 I ran only with one partition entry is to learn fdisk, that's why I ran in 
 test mode.
 
 I need at least 2 partitions, one for FreeBSD 7 and other for FreeBSD 8. I 
 need two slices for that.
 
 I still need to understand clearly how to create slices in FreeBSD. I know 4 
 slices per disk can be created.
 
 The question is, is what I posted on my first post sufficient to create 
 slices correctly? 
 
 Btw, thank you very much for so many replies without giving up :)
 

Well, fdisk(8) is somewhat cumbersome to use.  Personally I tend to invoke
sysinstall(8) to create new slices (can be done after install too.)  Much
easier to use.
Also, you can almost always ignore any warnings about the geometry of the
disk.  Once the kernel has booted FreeBSD does not make use of the geometry
anyway, so it is only if you need to boot from the disk or if you use the
disk from some other OS that it might matter (but it usually works just fine
without any adjustments.)



-- 
Insert your favourite quote here.
Erik Trulsson
[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: SAMBA 3.0.28a and CVE-2008-1105

2008-06-20 Thread O. Hartmann

Johan Hendriks wrote:



Konrad Heuer wrote:

On Thu, 19 Jun 2008, O. Hartmann wrote:

We still have Samba R3.0.28a in the ports but regarding to 
CVE-2008-1105 shouldn't it be R3.0.30?

As far as I know the mentioned security patch gets applied when
building 

Samba from ports.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]




Oh, is that so ... then why isn't the version number bumped up?
Slightly 

confusing, but if the patch has been incorporated it makes me feel

better.


Kindly regards,
Oliver


Reding this on freshports makes me think it is bumped!

29 May 2008 11:47:46
3.0.28a_1,1

This is a security update of Samba 3.0.28a, that address CVE-2008-1105.

Approved by:shaun (mentor, implicit)
Security:   CVE-2008-1105

Regards,
Johan Hendriks
Double L Automatisering




Well, sorry making this noise, I looked at www.samba.org and saw version 
3.0.30 out there and checked against the port and that what smbstatus 
reveals and tried to figure out ...


Somehow it would be much easier and for the 'stupid' among us (like me) 
to bump also version number - if that would be possible and without 
implications ino too much work ...


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


Re: JohnCompanies and RootBSD (was Re: FreeBSD based web hosting?)

2008-06-20 Thread Wojciech Puchar

My main concern is disk space; I have 2GB for ~$26 per month.


This too is my only gripe about JohnCompanies. For $29 a month, I only
get a VPS with 2GB of space -- and they don't allow you to add more
diskpace unless you upgrade to a higher ($49/month) plan.


while i live in Poland, where (in theory) internet services are more 
expensive than US and many west countries (we are told so at least), it 
looks like very expensive.


29$/month=348$/year for what i understand - Xen based servers with a bit 
of RAM allocated and 2GB disk space.


it's just funny in context of todays cheap 500-1000GB disks.

While i don't do this widely (too little money, too much work to 
advertise etc.) i have 20 clients on my servers just having their 
FreeBSD jail for 100$/month. There is 20GB soft limit - where soft means 
that you generally can keep more, but if i will have space problems i will 
ask to free some space.



The important question is traffic generated, not disk space, as this is 
what's expensive.


I just can't understand the basis of their offers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD as VOIP PBX

2008-06-20 Thread Thomas Mullins
Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
are you using?  And any recommendations for software to look at would be
greatly appreciated.

 

Shane

 

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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread OutBackDingo
Yes
FreeBSD 7
Asterisk
Asterisk-GUI

both from ports

On Fri, 2008-06-20 at 07:49 -0400, Thomas Mullins wrote:
 Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
 are you using?  And any recommendations for software to look at would be
 greatly appreciated.
 
  
 
 Shane
 
  
 
 ___
 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]


Using poptop and getting error message ipcp_InterfaceUp: unable to set ip address

2008-06-20 Thread assetburned

Hi,

I try to set up a POPTOP on a FreeBSD 7.0 machine. so far so good, I  
can connect with a client once. But when I disconnect and build up a  
new connection, I am getting an error message. The clients by the way  
are WinXPsp2


here is the section of the /var/log/messages:

Jun 20 12:59:14 t718-05-vm-fbds-shape-01 ppp[1316]: Warning:  
ff02:7::/32: Change route failed: errno: Network is unreachable
Jun 20 12:59:46 t718-05-vm-fbds-shape-01 pptpd[1317]: CTRL: Ignored a  
SET LINK INFO packet with real ACCMs!
Jun 20 12:59:46 t718-05-vm-fbds-shape-01 ppp[1318]: Warning:  
239.84.5.168: Cannot determine ethernet address for proxy ARP
Jun 20 12:59:46 t718-05-vm-fbds-shape-01 ppp[1318]: Warning: iface  
add: ioctl(SIOCAIFADDR, 192.168.5.5/24 - 192.168.5.20): File exists
Jun 20 12:59:46 t718-05-vm-fbds-shape-01 ppp[1318]: Warning: iface  
add: ioctl(SIOCAIFADDR, 192.168.5.5/24 - 192.168.5.20): File exists
Jun 20 12:59:46 t718-05-vm-fbds-shape-01 ppp[1318]: Error:  
ipcp_InterfaceUp: unable to set ip address
Jun 20 12:59:46 t718-05-vm-fbds-shape-01 ppp[1318]: Warning:  
ff02:7::/32: Change route failed: errno: Network is unreachable
Jun 20 12:59:47 t718-05-vm-fbds-shape-01 ppp[1318]: Warning:  
ipv4_Input: IPCP not open - packet dropped
Jun 20 12:59:47 t718-05-vm-fbds-shape-01 ppp[1318]: Warning:  
ipv4_Input: IPCP not open - packet dropped
Jun 20 12:59:47 t718-05-vm-fbds-shape-01 ppp[1318]: Warning:  
ff02:7::/32: Change route failed: errno: Network is unreachable


the /var/log/ppp.conf
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: Using  
interface: tun0
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: deflink:  
Created in closed state
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp: set  
timeout 1800
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
disable chap
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
disable pap
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
disable mschap
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
enable mschapv2
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
enable proxy
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
enable mssfixup
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
disable ipv6
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
accept mppe
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
accept dns
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp: set  
dns 172.21.108.21 172.21.224.21
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Command: pptp:  
enable proxy
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: PPP Started  
(direct mode).
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: bundle:  
Establish
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: deflink:  
closed - opening
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: deflink:  
Connected!
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: deflink:  
opening - carrier
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: Phase: deflink:  
carrier - lcp
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: FSM: Using  
deflink as a transport
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
State change Initial -- Closed
Jun 20 12:59:42 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
State change Closed -- Stopped
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
LayerStart
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
SendConfigReq(1) state = Stopped

Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  ACFCOMP[2]
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  PROTOCOMP[2]
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  ACCMAP[6]  
0x

Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  MRU[4] 1500
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  MAGICNUM[6]  
0x7879ca2e
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  AUTHPROTO[5]  
0xc223 (CHAP 0x81)
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
State change Stopped -- Req-Sent
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
RecvConfigReq(0) state = Req-Sent

Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  MRU[4] 1400
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  MAGICNUM[6]  
0x73563f94

Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  PROTOCOMP[2]
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  ACFCOMP[2]
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  CALLBACK[3]  
CBCP
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
SendConfigRej(0) state = Req-Sent
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP:  CALLBACK[3]  
CBCP
Jun 20 12:59:43 t718-05-vm-fbds-shape-01 ppp[1318]: LCP: deflink:  
RecvConfigReq(1) state = 

RE: FreeBSD as VOIP PBX

2008-06-20 Thread Johan Hendriks
Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
are you using?  And any recommendations for software to look at would
be
greatly appreciated.

Shane

Also you can try the following

http://www.askozia.com/

based on FreeBSD
working almost out of the box!

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


RE: FreeBSD as VOIP PBX

2008-06-20 Thread OutBackDingo
if you want to suffer alot of pain on an incomplete system you could go
this way, id still build my own from ports 

On Fri, 2008-06-20 at 14:43 +0200, Johan Hendriks wrote:
 Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
 are you using?  And any recommendations for software to look at would
 be
 greatly appreciated.
 
 Shane
 
 Also you can try the following
 
 http://www.askozia.com/
 
 based on FreeBSD
 working almost out of the box!
 
 Regards,
 Johan
 ___
 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: FreeBSD as VOIP PBX

2008-06-20 Thread Wojciech Puchar

Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software

yes


are you using?  And any recommendations for software to look at would be

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


RE: FreeBSD as VOIP PBX

2008-06-20 Thread Wojciech Puchar

if you want to suffer alot of pain on an incomplete system you could go


people often pay for using such shortcuts. but that case is 
special - they could end up paying REAL MONEY.

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


running nessus from inside of a jail

2008-06-20 Thread Reinhold
Hi

I've created a jail where only nessus lives in, the jail is working very
nicely but nessus keeps on crashing.

Here is what I see from the nessus.core file
(gdb) core nessusd.core
Core was generated by `nessusd'.
Program terminated with signal 4, Illegal instruction.
#0  0x280da85b in ?? ()

this is how I'm using nessus to scan the hosts
nessus -q -x -V -c /root/work/nessusrc -T html localhost 1241 root
password /root/work/work_temp/nessus_targets
/usr/local/www/apache22/data/results/nessus/2008-06-20/target_subnet.html

When I run nessus from the host system it works but from inside the jail
it cure dumps all the time.

here is my jail sysctl info
sysctl -a |grep jail
security.jail.jailed: 1
security.jail.mount_allowed: 0
security.jail.chflags_allowed: 0
security.jail.allow_raw_sockets: 1
security.jail.enforce_statfs: 2
security.jail.sysvipc_allowed: 0
security.jail.socket_unixiproute_only: 1
security.jail.set_hostname_allowed: 1

I had to change security.jail.allow_raw_sockets to one to get nmap to work.

Any help will be appreciated.

Thanks
Reinhold

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


RE: g4u

2008-06-20 Thread Jean-Paul Natola
Ghost for unix
 
 
http://www.feyrer.de/g4u/
 
 
The drives i'm working with are windows



From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
Sent: Fri 6/20/2008 3:57
To: Jean-Paul Natola
Cc: [EMAIL PROTECTED]
Subject: Re: g4u



 can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
 drive only has 20 gigs of data?

what is G4U?

simply make partitions, newfs, copy files, install boot sector


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


Finding temperature on intel 82845g chipset

2008-06-20 Thread Peter Iota

Hello, I have a dell gx260 with Pentium 4 processor and intel 82845g chipset on 
freebsd 7.0. If possible I would like to find out some
temperature sensor data.

What I have tried is:

sysctl hw.acpi  - but there is no support for hw.acpi.thermal so from what I 
understand  there is no thermal support with this.

mbmon complains that /dev/smb0 is not configured after I have loaded smbus smb 
(and ichsmb (I do not know if this really is correct since ichsmb man does not 
mention 82845 chipset))

ipmitool i get no /dev/ipmi0 but the ipmi module loads with no errors

from what I have heard on pcbsd forum trying to use linux emulation for 
lm-sensors would not give the right answers even if I got it to work (but I'm 
new to freebsd so it seems like a big project to get that working (I have 
upgraded linux compatibility to fc-6 but I do not know if I need the 
i2c-drivers, I also need to install some linux packages (but lm-sensors.org 
site is not available now so I cannot find out which it was).

also i installed some driver/library that was used with chm (I cannot remember 
now and I cannot find it when I look through pkg_info(perhaps if I could see 
the date packaged were installed)), anyhow that also complained that smb0 was 
not configured.


The dell manual mentions some ASF temperature alerts but I do not know if this 
is only for windows. Is it possible to do something with this in wine or is it 
the same as the linux thing mentioned above.

I'm sorry if I have overlooked something obvious, but I'm not that used to nor 
computers nor linux/unix to know what type of drivers I should search for.

_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


New to FreeBSD

2008-06-20 Thread nerd fan
Hello Every body,

I am a FreeBSD newbie, want to get started with BSD and have fun. Reading
Complete FreeBSD book. Interested in who uses FreeBSD and in what way
FreeBSD is better than Linux for servers.


Started having fun with FreeBSD 7.. Thanks for your responses.

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


Re: New to FreeBSD

2008-06-20 Thread dfeustel
On Fri, Jun 20, 2008 at 06:35:26PM +0530, nerd fan wrote:
 Hello Every body,
 
 I am a FreeBSD newbie, want to get started with BSD and have fun. Reading
 Complete FreeBSD book. Interested in who uses FreeBSD and in what way
 FreeBSD is better than Linux for servers.
 
 
 Started having fun with FreeBSD 7.. Thanks for your responses.
 
 ~ Sundar ~

Two other handy FreeBSD books:

BSD Hacks
The Best of FreeBSD Basics

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


Re: New to FreeBSD

2008-06-20 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

[EMAIL PROTECTED] wrote:
| On Fri, Jun 20, 2008 at 06:35:26PM +0530, nerd fan wrote:
| Hello Every body,
|
| I am a FreeBSD newbie, want to get started with BSD and have fun. Reading
| Complete FreeBSD book. Interested in who uses FreeBSD and in what way
| FreeBSD is better than Linux for servers.
|
|
| Started having fun with FreeBSD 7.. Thanks for your responses.
|
| ~ Sundar ~
|
| Two other handy FreeBSD books:
|
| BSD Hacks
| The Best of FreeBSD Basics
|
| both by Dru Lavigne


I would like to add the invaluable

Absolute BSD, by fellow Michael W. Lucas

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhbs94ACgkQwMJqmJVx944fjQCfbS0uiokdyb1kkGns7jToKqtj
bFsAn3RReohD7HfH6fdDzACqg1CPN4Xm
=NgNF
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g4u

2008-06-20 Thread D G Teed
On Thu, Jun 19, 2008 at 9:48 PM, Jean-Paul Natola 
[EMAIL PROTECTED] wrote:

 can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
 drive only has 20 gigs of data?


G4U does not work with data, it works with partitions or whole disks.
If you get that concept, it will help in planning what you do with it.

A partition normally has a file system which has a file access table.
If you want file lookups to work properly afterwards, you need the
target partition to be at least the same size as the original.

I've tried to keep my answer OS agnostic as this BSD based utility
is capable of doing the job for any OS.

For broader hardware support, I suggest consideration of udpcast, which is
Linux based.  gzipped disk clone image files made from g4u are compatible
with restoring the same to a new target from udpcast, in case you wondered.

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


Re: New to FreeBSD

2008-06-20 Thread Wojciech Puchar

I am a FreeBSD newbie, want to get started with BSD and have fun. Reading
Complete FreeBSD book. Interested in who uses FreeBSD and in what way


so start unix it and you'll answer the questions yourself
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clone a drive, no raid involved

2008-06-20 Thread D G Teed
On Thu, Jun 19, 2008 at 1:08 PM, Brad Mettee [EMAIL PROTECTED] wrote:

 I'm setting up a pair of machines with almost identical OS config, and
 completely identical hardware. One is a primary DNS server, the other is
 secondary. NS1 will also serve web, NS2 will be a mail server. Both are low
 volume/loads.

 It looks like I can use DD to copy an entire drive, but it's a 500G drive
 and that's going to take a really long time (especially since it's brand new
 with no data besides base OS).

 My question: Is there a better way to duplicate a drive including boot
 info?


You've got lots of useful answers on duplicating the system other ways,
but I thought I'd mention that dd's performance can be enhanced by
providing a blocksize.  You might want to time some reads and writes
with a set of numbers that divides evenly into the byte count of your disk.
Years ago I found I could write a 40 GB laptop (4200RPM) disk in
21 minutes rather than one hour.

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


Re: New to FreeBSD

2008-06-20 Thread Chess Griffin

Pietro Cerutti wrote:


I would like to add the invaluable

Absolute BSD, by fellow Michael W. Lucas



There is actually a new version of Michael's book with a slightly 
different title:  Absolute FreeBSD, 2nd Edition by No Starch Press 
released just a couple of months ago.  It's a really great book and I 
highly recommend it.


--
Chess Griffin
GPG Key:  0x0C7558C3
http://www.chessgriffin.com



signature.asc
Description: OpenPGP digital signature


Re: New to FreeBSD

2008-06-20 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Chess Griffin wrote:
| Pietro Cerutti wrote:
|
| I would like to add the invaluable
|
| Absolute BSD, by fellow Michael W. Lucas
|
|
| There is actually a new version of Michael's book with a slightly
| different title:  Absolute FreeBSD, 2nd Edition by No Starch Press
| released just a couple of months ago.  It's a really great book and I
| highly recommend it.
|

Oh I've missed that! Thanks!


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhbt0YACgkQwMJqmJVx9444hwCg1/bFAtygW59d9PP2VfNrpjH0
agwAnj9nAbvXdaxl2a83FAV1E8xmwFqj
=E2FP
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble shooting samba performance

2008-06-20 Thread worms
Hello,


Can anyone point me to a guide on trouble shooting samba performance
or a quick list of common issues I can check for.
I've been googling but haven't found much that referenced a recent
version of FreeBSD and Samba.

I am running FreeBSD 7.0 on VmWare Server 2.0 hosted on a CentOS Linux box.
I've used nttcp and iozone to verify that the performance of the
FreeBSD 7.0 VM is good and am able to copy 6.5GB on disk from one
location to another in about 2.5 minutes.

Copying to a Windows 2003 server yields a 45 minute transfer time.

Copying to a Windows XP workstation yields a 4 minute transfer time

Summary:
FreeBSD 7.0  -- FreeBSD 7.0  -- 2.5 minutes ( copying on disk )
FreeBSD 7.0 -- WinXP -- 4 minutes ( samba )
FreeBSD 7.0 - Windows 2003 -- 45 minutes ( samba )
WinXP -- Windows 2003 -- 5 minutes

Both windows machines are on the same domain.

I've used samba for a number of years and this is the first time I've
ran into a problem such as this.

So if someone could give me a good starting point on how to
troubleshoot this I'd appreciate it.

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


Re: How do they do their VPS product? [was Re: FreeBSD based web hosting?]

2008-06-20 Thread Nikos Vassiliadis
On Thursday 19 June 2008 19:29:35 George Hartzell wrote:
 Is/was there some proprietary virtualization technology in the 4.x
 days?

Not a proprietary one:
http://www.tel.fer.hr/zec/BSD/vimage-old/

http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf
The presentation pdf states:
Anecdotal evidence: FreeBSD 4.11 based version in
  production use by some US ISPs

 Is it still alive and kicking somewhere? 

Hopefully, it will be integrated to HEAD during
summer. You can follow the discussions here: 
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization

 Anyone have any insights into how these VPS products were built?

Maybe it was that, maybe not...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New to FreeBSD

2008-06-20 Thread Grammas, August

 
Absolute BSD is the 1st edition.
You'll want Absolute FreeBSD,
which is the 2nd ed, and includes
material for FreeBSD Rel 6.X.


   August
 
If you pick up a starving dog and make him prosperous,
he will not bite you; that is the principle difference bet-
ween a dog and a man.
 
Sam Clemens

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pietro Cerutti
Sent: Friday, June 20, 2008 9:43 AM
To: [EMAIL PROTECTED]
Cc: nerd fan; freebsd-questions@freebsd.org
Subject: Re: New to FreeBSD

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

[EMAIL PROTECTED] wrote:
| On Fri, Jun 20, 2008 at 06:35:26PM +0530, nerd fan wrote:
| Hello Every body,
|
| I am a FreeBSD newbie, want to get started with BSD and have fun.
Reading
| Complete FreeBSD book. Interested in who uses FreeBSD and in what way
| FreeBSD is better than Linux for servers.
|
|
| Started having fun with FreeBSD 7.. Thanks for your responses.
|
| ~ Sundar ~
|
| Two other handy FreeBSD books:
|
| BSD Hacks
| The Best of FreeBSD Basics
|
| both by Dru Lavigne


I would like to add the invaluable

Absolute BSD, by fellow Michael W. Lucas

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhbs94ACgkQwMJqmJVx944fjQCfbS0uiokdyb1kkGns7jToKqtj
bFsAn3RReohD7HfH6fdDzACqg1CPN4Xm
=NgNF
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running nessus from inside of a jail

2008-06-20 Thread Reinhold

I got it working by deinstalling the nessus port and install the latest
package from nessus that you can download from there site.

Any idea as to when this release will make its way into the ports tree?

Regards
Reinhold

On Fri, June 20, 2008 14:11, Reinhold wrote:
 Hi


 I've created a jail where only nessus lives in, the jail is working very
 nicely but nessus keeps on crashing.

 Here is what I see from the nessus.core file
 (gdb) core nessusd.core
 Core was generated by `nessusd'.
 Program terminated with signal 4, Illegal instruction.
 #0  0x280da85b in ?? ()


 this is how I'm using nessus to scan the hosts nessus -q -x -V -c
 /root/work/nessusrc -T html localhost 1241 root
 password /root/work/work_temp/nessus_targets
 /usr/local/www/apache22/data/results/nessus/2008-06-20/target_subnet.html


 When I run nessus from the host system it works but from inside the jail
 it cure dumps all the time.

 here is my jail sysctl info sysctl -a |grep jail security.jail.jailed: 1
 security.jail.mount_allowed: 0
 security.jail.chflags_allowed: 0
 security.jail.allow_raw_sockets: 1
 security.jail.enforce_statfs: 2
 security.jail.sysvipc_allowed: 0
 security.jail.socket_unixiproute_only: 1
 security.jail.set_hostname_allowed: 1


 I had to change security.jail.allow_raw_sockets to one to get nmap to
 work.

 Any help will be appreciated.


 Thanks
 Reinhold


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


ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Alexander Sack
Hello Folks:

I have a MSI-1710A (Megabook) which is Athlon X2 Turon based
notebook (4GB RAM,

Anyway during a 7.0-RELEASE-amd64 boot up I see:

ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (evregion-0427): No handler for Region [EC__]
(0xff00011cf680) [EmbeddedControl] [20070320]
ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler [20070320]
ACPI Error (psparse-0626): Method parse/execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST
ACPI Error (uteval-0309): Method execution failed
[\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
AE_NOT_EXIST

After looking at my ASL code, I noticed that YES this code was
generated by the MSFT devkit which means its probably NOT spec
compliant.

RSDT: Length=64, Revision=1, Checksum=83,
OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725,
Creator ID=MSFT, Creator Revision=0x97
Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430,
0xcffce040, 0xcffc42f0, 0xcffc4330 }

The pertinent section (DSDT) condensed is:

_SB.PCI0.SBRG:

Device (EC) {
  Device (BAT1) {
Name (_HID, EisaId (PNP0C0A))
Name (_UID, One)
Name (_PCL, Package (0x01)
{
  _SB
})
Method (_STA, 0, NotSerialized)
{
   If (MYEC)
   {
  If (MBTS)
  {
  Return (0x1F)
  }
  Else
  {
  Return (0x0F)
  }
   }
   Else
   {
  Return (0x0F)
   }
}
}

I've read http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html
which is very helpful.  In any event should I attempt to try to
rewrite my ASL to make it more spec conforming so Intel's CA likes it
OR would it be better to try to work around it in the CA directly.  I
believe I understand the problem but I'm still reading the spec
regarding embedded controller sections (which is a little different).

I believe I'm probably not the only MSI FreeBSD owner so I figured I
would share!

Thanks a lot!

-aps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send 

Re: Vsftpd rotate logs with newsyslog...

2008-06-20 Thread David Robillard
 Thank u all very much guysi will see if i do a graceful or simply a
 restart cause i dont think the apache will be getting too many connections
 all the timebut that clarifications was quite good Davidand thank u
 for the examplethat is always the best way to understand things...much
 appreciated...

 Will try bothjust a question about compression...What i understood
 from your mail is that as apache takes some time to let his children close
 all connections i shouldn zip those logs cause, newsyslog wont wait till
 apache finishes and probably will xip logs that are still being access by
 the children? if htat is the case using a HUP will close all and allow me to
 use compresion?

Yes it would. But if you go this route, you might loose some logs from
the childrens. If you don't run a busy server with lots of hits and
lots of VirtualHosts, then that might not be a problem for you. Like
Ruben said, YMMV.

IMHO, if the Apache Best Practices and documentation say you should
use USR1 and not compress the logs automatically via newsyslog(8) or
logrotate(8), then that's what I do.

Of course, you can compress the logs at a later time once the files
have been rotated of course. But with today's disk sizes and SAN
storage, I'd be surprised that a few Apache log files can pose a disk
space problem.

Think of it another way. If today you run a single very small site,
then you might want be tempted to use HUP and compression simply
because it's easier and, well, it works. Agreed that using USR1 seems
a little more complicated (a little) and might seem like an overkill
setup for a single small site.

But tomorrow you might end up working for a very large site that runs
a huge number of VirtualHosts with thousands of hits per seconds on a
three-tier web platform that has a cluster of web servers, application
servers and backend databases. If you've learned and used the Best
Practices back in the days when you had your single little web site,
then it won't be a secret to you and you'll be ready to tackle the
demands of a bigger site. Besides, it's not like using USR1 is some
form of arcane black sysadmin magic, right? :)

If you need more info on this topic, check out the official
documentation (i.e. RTFM ;-)

Apache 1.3
http://httpd.apache.org/docs/1.3/stopping.html

Apache 2.0
http://httpd.apache.org/docs/2.0/stopping.html

Apache 2.2
http://httpd.apache.org/docs/2.2/stopping.html


 Sorry guys...got one more doubtWhy do u use B (binary) if apache logs
 are simple text? any particular reason?

From the newsyslog.conf(5) man page:

 B  indicates that the log file is a binary file, or has some
 special format.  Usually newsyslog(8) inserts an ASCII
 message into a log file during rotation.  This message is
 used to indicate when, and sometimes why the log file was
 rotated.  If B is specified, then that informational mes-
 sage will not be inserted into the log file.

Indeed, the Apache logs are ASCII files. I use the B flag in
newsyslog.conf(5) simply because I don't want to have newsyslog(8) to
write anything in the Apache logs. Why? Because it confuses our Apache
log file analyzers. That's all. I mean, I know the reasons why the
logs are rotated and I know that it's newsyslog(8) that did it (I
should know, I'm the one who configured it). So I don't need a
reminder inside the logs about it. Once again, YMMV.

HTH,

David
-- 
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED: Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0 = perl: signal 11

2008-06-20 Thread Anton Shterenlikht
On Thu, Jun 19, 2008 at 03:59:31PM +0100, Anton Shterenlikht wrote:
 On Thu, Jun 19, 2008 at 09:41:01AM +0100, Anton Shterenlikht wrote:
  On Wed, Jun 18, 2008 at 08:23:20PM +0100, Chris Whitehouse wrote:
   Anton Shterenlikht wrote:
   
   my ImageMagick configuration:
   
   
   # cd /usr/ports/graphics/ImageMagick/
   # make showconfig
   === The following configuration options are available for 
   ImageMagick-6.4.1.5:
X11=on X11 support
IMAGEMAGICK_TESTS=on Run bundled self-tests after build
IMAGEMAGICK_OPENMP=off Enable OpenMP for SMP
IMAGEMAGICK_PERL=on Perl support
IMAGEMAGICK_MODULES=off Modules support (broken)
IMAGEMAGICK_BZLIB=on Bzlib support
IMAGEMAGICK_16BIT_PIXEL=on 16bit pixel support
IMAGEMAGICK_DJVU=off DJVU format support (needs threads)
IMAGEMAGICK_LCMS=on LCMS support
IMAGEMAGICK_HDRI=off High Dynamic Range Images (HDRI)
IMAGEMAGICK_TTF=on Freetype support
IMAGEMAGICK_FONTCONFIG=on Fontconfig support
IMAGEMAGICK_JPEG=on JPG format support
IMAGEMAGICK_OPENEXR=off OpenEXR support (needs threads)
IMAGEMAGICK_PNG=on PNG format support
IMAGEMAGICK_TIFF=on TIFF format support
IMAGEMAGICK_FPX=on FPX format support
IMAGEMAGICK_JBIG=on JBIG format support
IMAGEMAGICK_JPEG2000=on JPEG2000 format support
IMAGEMAGICK_DOT=on GraphViz dot graphs support
IMAGEMAGICK_WMF=on WMF format support
IMAGEMAGICK_SVG=on SVG format support
IMAGEMAGICK_PDF=on PDF format support
IMAGEMAGICK_GSLIB=on libgs (Postscript SHLIB) support
   === Use 'make config' to modify these settings
   #
   
   
   #make check
[skip]
   t/zlib/write.t  0   139 12 200.00%  1
   Failed 26/26 test scripts, 0.00% okay. 343/343 subtests failed, 0.00% 
   okay.

 
 I just noticed that test failures are accompanied with the following
 in dmesg:
 
 [skip]
 pid 79423 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79426 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79429 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79432 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79448 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79451 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79454 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79462 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79465 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79468 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79471 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79474 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 pid 79477 (perl5.8.8), uid 0: exited on signal 11 (core dumped)
 [skip]
 
 a lot of them, perhaps one message for each failed test.
 Does this mean there's something wrong with my perl installation?

I rebuilt perl and passed all tests:

#make check

[skip]

t/zlib/write..ok
All tests successful.
Files=26, Tests=343, 138 wallclock secs (97.92 cusr + 14.59 csys = 112.51 CPU)
#

I think the tests broke because I went from FBSD 6.3 to 7.0.
Apparently perl rebuild is necessary in this case. I didn't 
do it straight away because I was overwhelmed by gettext upgrade.
Since perl does not depend on gettext, I didn't touch it.

However when I realised that only perlmagick tests were failing
(all 697 ImageMagick tests would always pass), and after I
noticed perl exiting on signal 11 with core dumps (see above),
I realised that perl might be the problem.

many thanks to all who replied.
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wireless help

2008-06-20 Thread David Gurvich
Hello,
You say you've created a static ip for your computer.  What is the
actual ip?  If your router is on subnet 192.168.22.0, then your ip must
also be on that subnet.  Also, is your router configured as a gateway
or router and is DHCP enabled on the router?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Alexander Sack



Pietro Cerutti-4 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 Alexander Sack wrote:
 | Hello Folks:
 |
 | I have a MSI-1710A (Megabook) which is Athlon X2 Turon based
 | notebook (4GB RAM,
 |
 | Anyway during a 7.0-RELEASE-amd64 boot up I see:
 |
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (evregion-0427): No handler for Region [EC__]
 | (0xff00011cf680) [EmbeddedControl] [20070320]
 | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
 [20070320]
 | ACPI Error (psparse-0626): Method parse/execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 | ACPI Error (uteval-0309): Method execution failed
 | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
 | AE_NOT_EXIST
 |
 | After looking at my ASL code, I noticed that YES this code was
 | generated by the MSFT devkit which means its probably NOT spec
 | compliant.
 |
 | RSDT: Length=64, Revision=1, Checksum=83,
 | OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725,
 | Creator ID=MSFT, Creator Revision=0x97
 | Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430,
 | 0xcffce040, 0xcffc42f0, 0xcffc4330 }
 |
 | The pertinent section (DSDT) condensed is:
 |
 | _SB.PCI0.SBRG:
 |
 | Device (EC) {
 |   Device (BAT1) {
 | Name (_HID, EisaId (PNP0C0A))
 | Name (_UID, One)
 | Name (_PCL, Package (0x01)
 | {
 |   _SB
 | })
 | Method (_STA, 0, NotSerialized)
 | {
 |If (MYEC)
 |{
 |   If (MBTS)
 |   {
 |   Return (0x1F)
 |   }
 |   Else
 |   {
 |   Return (0x0F)
 |   }
 |}
 |Else
 |{
 |   Return (0x0F)
 |}
 | }
 | }
 |
 | I've read http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html
 | which is very helpful.  In any event should I attempt to try to
 | rewrite my ASL to make it more spec conforming so Intel's CA likes it
 | OR would it be better to 

Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Alexander Sack wrote:
|
|
| Pietro Cerutti-4 wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA512
|
| Alexander Sack wrote:
| | Hello Folks:
| |
| | I have a MSI-1710A (Megabook) which is Athlon X2 Turon based
| | notebook (4GB RAM,
| |
| | Anyway during a 7.0-RELEASE-amd64 boot up I see:
| |
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (evregion-0427): No handler for Region [EC__]
| | (0xff00011cf680) [EmbeddedControl] [20070320]
| | ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler
| [20070320]
| | ACPI Error (psparse-0626): Method parse/execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| | ACPI Error (uteval-0309): Method execution failed
| | [\\_SB_.PCI0.SBRG.EC__.BAT1._STA] (Node 0xff00011d24c0),
| | AE_NOT_EXIST
| |
| | After looking at my ASL code, I noticed that YES this code was
| | generated by the MSFT devkit which means its probably NOT spec
| | compliant.
| |
| | RSDT: Length=64, Revision=1, Checksum=83,
| | OEMID=MSI_NB, OEM Table ID=MEGABOOK, OEM Revision=0x7000725,
| | Creator ID=MSFT, Creator Revision=0x97
| | Entries={ 0xcffc0200, 0xcffc0390, 0xcffc03f0, 0xcffc0430,
| | 0xcffce040, 0xcffc42f0, 0xcffc4330 }
| |
| | The pertinent section (DSDT) condensed is:
| |
| | _SB.PCI0.SBRG:
| |
| | Device (EC) {
| |   Device (BAT1) {
| | Name (_HID, EisaId (PNP0C0A))
| | Name (_UID, One)
| | Name (_PCL, Package (0x01)
| | {
| |   _SB
| | })
| | Method (_STA, 0, NotSerialized)
| | {
| |If (MYEC)
| |{
| |   If (MBTS)
| |   {
| |   Return (0x1F)
| |   }
| |   Else
| |   {
| |   Return (0x0F)
| |   }
| |}
| |Else
| |{
| |   Return (0x0F)
| |}
| | }
| | }
| |
| | I've read 

Re: FreeBSD as VOIP PBX

2008-06-20 Thread Matthias Fechner

Hi Thomas,

Thomas Mullins wrote:

Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
are you using?  And any recommendations for software to look at would be
greatly appreciated.


I have here asterisk (from the port) running with 2 ISDN cards (HFC) 
using ISDN4BSD with capi.

The computer makes the connections from
external ISDN, SIP, IAX2 - internal ISDN, SIP, IAX2.

Works for more then 2 years absolutly stable.

Best regards,
Matthias

--
Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning. -- 
Rich Cook


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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread Jerry B. Altzman
On Fri, Jun 20, 2008 at 7:49 AM, Thomas Mullins
[EMAIL PROTECTED] wrote:
 Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
 are you using?  And any recommendations for software to look at would be
 greatly appreciated.

[EMAIL PROTECTED] ~]$ uname -a
FreeBSD iridium.xxx.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
04:32:43 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
[EMAIL PROTECTED] ~]$ ps auxww| grep asterisk|grep -v grep
root 439  0.0  8.4 39396 32312  ??  Ss4Jun08  63:35.57
/usr/local/sbin/asterisk
[EMAIL PROTECTED] ~]$ pkg_info |grep asterisk
asterisk-1.2.9.1_1  An Open Source PBX and telephony toolkit

Works reasonably well; I haven't updated to 1.4 yet because this is a
production server for my company. We have a digium TDM13 in there (3
inbound POTS, 1 outbound phone) + several VoIP providers (IAX) + a
hand-hacked callplan.

 Shane

//jbaltz
-- 
jerry b. altzman [EMAIL PROTECTED] www.jbaltz.com
foo mane padme hum
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACPI CA Embedded Controller (EC) error messages MSI notebook

2008-06-20 Thread Alexander Sack
On Fri, Jun 20, 2008 at 11:37 AM, Pietro Cerutti [EMAIL PROTECTED] wrote:
 | I have a MSI-1034 (M662) Core2 Duo. Attached is my (patched) asl. Dunno
 | if it can be of any use for you, though
 |
 |
 |
 | Thanks Pietro, I really appreciate this.  Can I ask by chance, does this
 | turn on your battery indicator light on your front panel on your MSI
 | notebook?

 This was working anyway, IIRC.

Ah yea well mine is now completely off charging or not  :(!  I
thought this could be related to the status handler for the battery
but on second thought this maybe something else.

 |
 | Also, what's the downside of changing ASL?  Can I brick my notebook?
 I just
 | have to ask since I am assuming I will be changing the underlying AML
 | generated which I suppose can cause chaos (i.e. I want to make sure I can
 | reset it).

 No, it just changes the ACPI code used by the operating system. It
 doesn't modify anything in your laptop. If it doesn't work, just disable
 it and reboot :)

Ah, I got it.  I get confused.  The ASL is groked by the core CA
(which provides the main table API for the kernel).  Duh!  (my ACPI is
rusty)

Ok, let me look at it some more and see if I can integrate it in for
the battery status section...I'd like to try to get this notebook to
be fully functional if possible!

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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
Em Sex, 2008-06-20 às 14:55 +0200, Wojciech Puchar escreveu:

  Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software

I work on a copany that does this

PABX (large ones) only using FreeBSD - http://www.levier.com.br

FreeBSD 7.0 asterisk 1.4 openvox hardware
it is incredible stable...  and using postgres as a database + dial
controller...
(the dial logic is done in sql stored procedures) the possibilities are
far beyond
the needs of the clients

We have several call centers using it... in a 24/7 basis... 
Using hardware from openvox (E1/ISDN) 

How much cpu
we use always AMD 64 X2 with 2Gb of memory for
up to 3 PCI boards of 4 E1 each, that is: 12 E1.
Each board trigges 2000 interrups/second... so
there are 6000 irqs/sec on the system
for an universe of 200 ATA's  (cisco PAP2...)  and 400 users...
on line, fulltime... 

On the bench mark, FreeBSD was superior performance over
other OS... including the new Linux kernels.. 

The asterisk  is 1.4.20 build from the ports with codec negotiation
disable

Hope you have an idea now


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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread Kirk Strauser
On Friday 20 June 2008, Thomas Mullins wrote:
 Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
 are you using?  And any recommendations for software to look at would be
 greatly appreciated.

I bought the book Asterisk: The Future of Telephony a little while ago, 
and it was an *excellent* introduction.  I used it to configure Asterisk on 
my FreeBSD server.

link: http://oreilly.com/catalog/9780596009625/
-- 
Kirk Strauser


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


Re: FreeBSD fdisk how to?

2008-06-20 Thread Jerry McAllister
On Fri, Jun 20, 2008 at 01:48:44AM -0700, Unga wrote:

 --- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote:
 
  From: Wojciech Puchar [EMAIL PROTECTED]
  Subject: Re: FreeBSD fdisk how to?
  To: Unga [EMAIL PROTECTED]
  Cc: freebsd-questions@freebsd.org
  Date: Friday, June 20, 2008, 3:57 PM
   g c30401 h255 s63
   p 1 165 63 488392002
   a 1
  
  
   I ran fdisk as follows:
   fdisk -f configfile -itv /dev/ad2
  
  
  is this disk FreeBSD only? don't use fdisk at all
 
 Yep this hard disk is for FreeBSD only. Why I should not use fdisk? What 
 should I use to partition a disk? I'm running FreeBSD 7.0.

He is making what was popularly called a 'dangerously dedicated' disk.
There are no slices, just partitions carved out of the raw disk.  It is
readable only by FreeBSD.
It works, but I prefer to have the flexibility of using fdisk and 
creating slices and then dividing them in to partitions.

jerry


 
 Regards
 Unga
 ___
 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: FreeBSD as VOIP PBX

2008-06-20 Thread Wojciech Puchar

How much cpu
we use always AMD 64 X2 with 2Gb of memory for
up to 3 PCI boards of 4 E1 each, that is: 12 E1.


what codec do you use? if no recoding (alaw) i think it uses very 
little CPU in order of few% of single or less.

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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread Wojciech Puchar

greatly appreciated.


I bought the book Asterisk: The Future of Telephony a little while ago,
and it was an *excellent* introduction.  I used it to configure Asterisk on


i must say it was *excellent* for me too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel amd64?

2008-06-20 Thread kalin m

hi all...

when building a custom kernel for an intel machine that identifies 
itself as amd64 which GENERIC file do i start with?


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


Re: kernel amd64?

2008-06-20 Thread Wojciech Puchar



hi all...

when building a custom kernel for an intel machine that identifies itself as 
amd64 which GENERIC file do i start with?


/usr/src/sys/amd64/conf/GENERIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New to FreeBSD

2008-06-20 Thread Mitja
On Friday 20 June 2008 08:05:26 nerd fan wrote:
 Hello Every body,

 I am a FreeBSD newbie, want to get started with BSD and have fun. Reading
 Complete FreeBSD book. Interested in who uses FreeBSD and in what way
 FreeBSD is better than Linux for servers.


 Started having fun with FreeBSD 7.. Thanks for your responses.

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

I am a newbie in the FreeBSD world too and books BSD Hacks, The Complete 
FreeBSD (Greg Lehey) help me a lot and FreeBSD book from their site too. I 
like Unix Power Tools a lot which help with Linux which user I was befor too.

-- 
To be or not to be.
-- Shakespeare
To do is to be.
-- Nietzsche
To be is to do.
-- Sartre
Do be do be do.
-- Sinatra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
Em Sex, 2008-06-20 às 19:19 +0200, Wojciech Puchar escreveu:

  How much cpu
  we use always AMD 64 X2 with 2Gb of memory for
  up to 3 PCI boards of 4 E1 each, that is: 12 E1.
 
 what codec do you use? if no recoding (alaw) i think it uses very 
 little CPU in order of few% of single or less.

We use ulaw (for the logarithm mode of the volume) so no recoding is done...


each board fires 2 irqs and 1000 irq/sec each...  so is 2000 irq per
board,
at a max of 6000 irq /sec

Cpu use (using top) is about 10%  only when receiving fax (because of
the spandsp), goes to 20%... when recieving 4 simultaneous fax

We use Hylafax  + iaxmodem...  works like a charm... the same way
24/7... 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Lime Spot LLC U.S. brings to you LimeExchange, a next generation Online Services Marketplace

2008-06-20 Thread info
Hi,

 

Wanted to take this opportunity and provide you with a brief overview on
LimeExchange, an online product launched recently by Lime Spot LLC U.S.. 

LimeExchange
http://www.limeexchange.com/?campaign_id=3cust_rel_man=45channel=Mail
is a new generation Online Services Marketplace, that allows professionals
and SMBs (Small Medium Businesses) to grow their business through cutting
edge business networking and knowledge sharing platform.  It is primarily a
global community of professionals enabling entrepreneurs, freelancers and
individuals expand their reach to outsource and find work.  

We already have more than 2000+ on demand subject matter experts in various
categories like to cater to your need:

. Logo Designing, Graphic Designing, Web Designing  Development,
Blog Design  Development, Software development

. Writing, Translation, Copywriters, Photo experts

. Audio/Video, Animation, 3D Modelling  Multimedia experts

. Networking  Information systems (DBA's, Network/Server Admin's,
ERP/CRM Experts)

. Misc Services like Data Entry, Research, Financial  Legal
consultants  Support

 

LimeExchange
http://www.limeexchange.com/?campaign_id=3cust_rel_man=45channel=Mail
helps professionals Communicate, Collaborate, Connect and build long term
relationships:

. Free Registration
http://www.limeexchange.com/?campaign_id=3cust_rel_man=45channel=Mail
and Unlimited Project Posting

. Delivery
http://www.limeexchange.com/help/provider_business_agreement_help/?campaign
_id=3cust_rel_man=45channel=Mail  Monitoring Tools (IM, Message Board,
Status Reporting, Milestone based projects/payments)

. Automated Notifications
http://www.limeexchange.com/help/provider_notifications_help/?campaign_id=3
cust_rel_man=45channel=Mail . (You do not get Spammed and you manage your
alerts)

. Multiple Payment
http://www.limeexchange.com/help/buyer_escrow_help/?campaign_id=3cust_rel_
man=45channel=Mail  methods 

. Invite friends, colleagues  Earn via Affiliations
http://www.limeexchange.com/help/affiliation_overview?campaign_id=3cust_re
l_man=45channel=Mail  Program 

. 24*7 Customer Care team ([EMAIL PROTECTED]) 

. Knowledge Forums - Blog Contests, Community driven knowledgebase

 

Thanks  Regards,

Partner  Relations - LimeExchange Team

Lime Spot LLC U.S.

 

Credentials:
http://www.limeexchange.com/?campaign_id=3cust_rel_man=45channel=Mail
LimeExchange.com is a product of Lime Spot LLC U.S., which in turn, is a
constituent of the Lime Group, an umbrella organization comprising companies
like Lime Wire, Lime Brokerage, and Tower Research Capital among others. 

 

 

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


Re: New to FreeBSD

2008-06-20 Thread Jerry McAllister
On Fri, Jun 20, 2008 at 01:15:36PM -0500, Mitja wrote:

 On Friday 20 June 2008 08:05:26 nerd fan wrote:
  Hello Every body,
 
  I am a FreeBSD newbie, want to get started with BSD and have fun. Reading
  Complete FreeBSD book. Interested in who uses FreeBSD and in what way
  FreeBSD is better than Linux for servers.
 
 
  Started having fun with FreeBSD 7.. Thanks for your responses.
 
  ~ Sundar ~
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 I am a newbie in the FreeBSD world too and books BSD Hacks, The Complete 
 FreeBSD (Greg Lehey) help me a lot and FreeBSD book from their site too. I 
 like Unix Power Tools a lot which help with Linux which user I was befor too.

All these books that have been mentioned, plus the FreeBSD Handbook, are
great helps.   But, there is nothing like installing FreeBSD on a machine
or two and loading them up with things you want to use and doing a lot
hands on - with these resources kept handily nearby.

jerry

 
 -- 
 To be or not to be.
   -- Shakespeare
 To do is to be.
   -- Nietzsche
 To be is to do.
   -- Sartre
 Do be do be do.
   -- Sinatra
 ___
 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: New to FreeBSD

2008-06-20 Thread Gonzalo Nemmi
On Friday 20 June 2008 10:05:26 nerd fan wrote:
 Hello Every body,

 I am a FreeBSD newbie, want to get started with BSD and have fun. Reading

All you need to read:

The Best of FreeBSD Basics by Dru Lavigne
http://www.freebsdmall.com/cgi-bin/fm/bsdbasics?id=akooQAWxmv_pc=38

(
while at it, don't miss the chance to subscribe to FreeBSD: 
FreeBSD Subscription, starting with FreeBSD 7.0
http://www.freebsdmall.com/cgi-bin/fm/bsdsub7.0?id=PoQR7Kuomv_pc=181
)

Absolute FreeBSD, 2nd Edition by Michael W. Lucas
http://nostarch.com/frameset.php?startat=abs_bsd2


Mandatory desktop icon pointing to:

FreeBSD Handbook
/usr/share/doc/handbook/index.html


Other nice reads:

BSD Hacks by Dru Lavigne; ISBN-13: 978-0596006792
BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD by 
Christopher Negus, Francois Caen; ISBN-13: 978-0470376034
The Complete FreeBSD by Greg Lehey
http://www.lemis.com/grog/Documentation/CFBSD/

 Complete FreeBSD book. Interested in who uses FreeBSD and in what way
 FreeBSD is better than Linux for servers.

In addition to the first two books (Lavigne and Lucas), add this one:

Building a Server with FreeBSD 7 by Bryan J. Hong
http://nostarch.com/frameset.php?startat=freebsdserver


 Started having fun with FreeBSD 7.. Thanks for your responses.

 ~ Sundar ~

And you'll probably never stop having fun with FreeBSD :)

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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread Wojciech Puchar



each board fires 2 irqs and 1000 irq/sec each...  so is 2000 irq per
board,
at a max of 6000 irq /sec

Cpu use (using top) is about 10%  only when receiving fax (because of


still quite a lot ;)

when i connected 56 cisco phones to my laptop (used 4*16 port switches 
;), and having all of them working (called from first to second, from third to 
fourth etc..) there was below 4% CPU load but it's 1200Mhz Pentium-3M.





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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread Chris St Denis

As well as the ever popular Asterisk, there is also

/usr/ports/net/sipxpbx

If all you want is SIP this will do nicely.


Thomas Mullins wrote:

Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
are you using?  And any recommendations for software to look at would be
greatly appreciated.

 


Shane

 


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

  



--
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200
---
Smart Internet Solutions For Businesses 


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


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
 when i connected 56 cisco phones to my laptop (used 4*16 port switches 
 ;), and having all of them working (called from first to second, from third 
 to 
 fourth etc..) there was below 4% CPU load but it's 1200Mhz Pentium-3M.
 
 

Yes... the cisco uses SIP, that is far more efficient...

the problem is the E1 boards... that all the processing of hdc and
blocking/deblocking/signalling 
is done by the main board processor... so the high irq rate

We think FreeBSD is a good choice for VOIP asterisks... BEsides put us
(the company) in a higher
level.. not because Linux is bad, but because the linux people did not
made good servers in the past,
so, we decided to link our name (the company) to UNIX (BSD) it is a
stronger name...

With the famous rock solid  of FreeBSD, our customers are satisfyed
whith the performance
of the machine and the quality of the product
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as VOIP PBX

2008-06-20 Thread sergio lenzi
Em Sex, 2008-06-20 às 21:45 +0200, Wojciech Puchar escreveu:

  when i connected 56 cisco phones to my laptop (used 4*16 port switches
  ;), and having all of them working (called from first to second, from 
  third to
  fourth etc..) there was below 4% CPU load but it's 1200Mhz Pentium-3M.
 
 
 
  Yes... the cisco uses SIP, that is far more efficient...
 
 i forget to say - SIP allows direct calls (data goes directly between 
 phones), SCCP doesn't (at least asterisk module).
 
 in tests i intentionally disabled this to make asterisk server loaded

we use sip the same way you do with sccp because we need tranfer calls
(,Tt) in the dial command
E1 boards, the best we tested are from the chinese openvox... 
without echo cancelation it seels for about U$750,00 for one port E1,
US$1800 for 2 ports, 
US$2800 for 4 ports...
in my country (brazil) you may think it is too expensive, but as
you 
think that ONE port for a siemens pabx is about US$4000  (yes, 4K
dollars)
you may imagine that for the price of only one board for a siemens you
can mount
the pbx, the cpu, the FreeBSD.

you mount a 100 phones pbx for less than half the price of a siemens
equipment
including the 50 ATAs linksys pap2.

The poor the country, the more you pay  that is the rule.

Philips, nortel, alcatel are even more expensive..

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


Re: Dual NIC routing (?) problem

2008-06-20 Thread The MadDaemon
On Fri, Jun 20, 2008 at 4:50 AM, Yuri Pankov [EMAIL PROTECTED] wrote:
 The MadDaemon wrote:

 On Tue, Jun 17, 2008 at 3:47 PM, Yuri Pankov [EMAIL PROTECTED]
 wrote:

 The MadDaemon wrote:

 List,

 I'm having a problem with a dual-homed host running 7.0-RELEASE with
 regards to traffic on one of the interfaces that I'm hoping someone
 knows something about.

 The goal of this box is to run Nessus on bge0 only (which is plugged
 into a trunk port on a switch), keeping fxp0 free as the admin
 interface and for serving web pages on my LAN.

 Here's ifconfig:

 bge0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
   options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
   ether 00:19:b9:22:a8:22
   inet 0.0.0.0 netmask 0xff00 broadcast 0.0.0.255
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   ether 00:02:b3:bb:59:17
   inet 10.20.10.24 netmask 0xff00 broadcast 172.20.10.255
   inet 10.20.10.28 netmask 0x broadcast 172.20.10.28
   inet 10.20.10.29 netmask 0x broadcast 172.20.10.29
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active

 /etc/rc.conf section:

 # Created: Mon Jun  9 09:32:52 2008
 defaultrouter=10.20.10.254
 hostname=darkhorse.mydomain.local
 ifconfig_fxp0=inet 10.20.10.24  netmask 255.255.255.0
 ifconfig_fxp0_alias0=inet 10.20.10.28 netmask 255.255.255.255
 ifconfig_fxp0_alias1=inet 10.20.10.29 netmask 255.255.255.255
 ifconfig_bge0=inet 0.0.0.0 netmask 255.255.255.0

 Try using ifconfig_bge0=up in /etc/rc.conf instead of assigning bogus
 (probably) address.

 Tried that as well and it didn't work.  I found a few different things
 regarding VLAN setup, so my new (and not working) configuration is
 this (in part):

 ##
 # VLAN Configuration #
 ##
 cloned_interface=vlan2
 ifconfig_vlan2=inet 10.21.1.245 netmask 255.255.255.0 vlan 2 vlandev
 bge0
 cloned_interface=vlan5
 ifconfig_vlan5=inet 10.20.8.245 netmask 255.255.255.0 vlan 5 vlandev
 bge0

 So 10.20.8.245 is in tagged vlan 5.

Yes..

 cloned_interface=vlan6
 ifconfig_vlan6=inet 10.20.7.245 netmask 255.255.255.0 vlan 6 vlandev
 bge0

 (I got the VLAN IDs straight from the router, so they are correct for
 each VLAN.)

 [EMAIL PROTECTED] [~]# ifconfig bge0 inet 10.20.8.245 netmask 255.255.255.0

 and here you are trying to set 10.20.8.245 on parent bge0 without 802.1q
 tagging, how do you expect it to work?

I didn't, actually - lack of sleep = brainfart :(

 [EMAIL PROTECTED] [~]# ifconfig bge0 up
 [EMAIL PROTECTED] [~]# ifconfig bge0
 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:19:b9:22:a8:22
inet 10.20.8.245 netmask 0xff00 broadcast 10.20.8.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
 [EMAIL PROTECTED] [~]# ping -c 2 10.20.8.4
 PING 10.20.8.4 (10.20.8.4): 56 data bytes

 --- 10.20.8.4 ping statistics ---
 2 packets transmitted, 0 packets received, 100.0% packet loss


 Sorry if I understood you incorrectly.

No problem..

I believe if fixed it by setting this in /etc/rc.conf:

cloned_interfaces=vlan2 vlan5 vlan6 vlan7 vlan107 vlan201 vlan212
ifconfig_vlan2=inet 10.21.1.245 netmask 255.255.255.0 vlan 2 vlandev bge0
ifconfig_vlan5=inet 10.20.8.245 netmask 255.255.255.0 vlan 5 vlandev bge0
ifconfig_vlan6=inet 10.20.7.245 netmask 255.255.255.0 vlan 6 vlandev bge0
ifconfig_vlan7=inet 10.20.253.245 netmask 255.255.255.0 vlan 7 vlandev bge0
ifconfig_vlan107=inet 10.21.7.245 netmask 255.255.255.0 vlan 107 vlandev bge0
ifconfig_vlan201=inet 10.20.1.245 netmask 255.255.255.0 vlan 201 vlandev bge0
ifconfig_vlan212=inet 10.21.2.245 netmask 255.255.255.0 vlan 212 vlandev bge0
##
# Bring up bge0 manually to make sure it's up:
ifconfig_bge0=up
##
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Circumstance leading up to removal of perl from base?

2008-06-20 Thread Dan Mahoney, System Admin

Hello all,

I know it was a long time ago, but I was talking with a co-worker about 
why perl was removed from the base in v5 -- I seem to recall a discussion 
on some mailing list about either the number of arguments or the format of 
the arguments and/or output of a base perl function having changed between 
5.005 and 5.6.1.


Thing is, that's a very vague thing to try to google for, and I can't seem 
to find it.  Are there any old-timers who remember the system call in 
question?


Please let me know,

-Dan Mahoney

--

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: Circumstance leading up to removal of perl from base?

2008-06-20 Thread Kris Kennaway

Dan Mahoney, System Admin wrote:

Hello all,

I know it was a long time ago, but I was talking with a co-worker about 
why perl was removed from the base in v5 -- I seem to recall a 
discussion on some mailing list about either the number of arguments or 
the format of the arguments and/or output of a base perl function having 
changed between 5.005 and 5.6.1.


Thing is, that's a very vague thing to try to google for, and I can't 
seem to find it.  Are there any old-timers who remember the system call 
in question?


I dont think it was that.  AFAICR the issue was mostly that it was a 
*lot* of work to mangle the perl build into bmake format so it would 
build with make world, and it was also difficult to avoid conflicts with 
other versions of perl that needed to be installed for port builds.  It 
was just too difficult to maintain in the base system, especially when 
nothing used it.


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


Donations

2008-06-20 Thread Nicole Orban
To Whom it May Concern:
 
Hello, I work for a large hotel and we recently upgraded our coffee makers that 
are in our guest rooms. They make an individual cup and the coffee that is to 
be bought for them comes individually wrapped with its own filter. We have 
approximately 450 of them in storage. They were purchased from Courtesy 
Products and they are CV1. Please let me know if you would have any intereset 
in these. 
 
Thank you 
Nicole
 
Nicole Orban
Assistant Executive Housekeeper
Hyatt Regency Crystal City
2799 Jefferson Davis HWY
Arlington, VA 22202
703-418-1234
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Donations

2008-06-20 Thread Nicole Orban
To Whom it May Concern:
 
Hello, I work for a large hotel and we recently upgraded all of our guest room 
coffee makers. We have 450 coffee makers of the old model in storage. I am 
wondering if you would have any use for them. They are individual coffee makers 
and the coffee that is used comes individually wrapped with its own filter. 
Please let me know if these would be any use to you. 
 
Thank you,
Nicole
 
Nicole Orban
Assistant Executive Housekeeper
Hyatt Regency Crystal City
2799 Jefferson Davis HWY
Arlington, VA 22202
703-418-1234
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Circumstance leading up to removal of perl from base?

2008-06-20 Thread DAve

Dan Mahoney, System Admin wrote:

Hello all,

I know it was a long time ago, but I was talking with a co-worker about 
why perl was removed from the base in v5 -- I seem to recall a 
discussion on some mailing list about either the number of arguments or 
the format of the arguments and/or output of a base perl function having 
changed between 5.005 and 5.6.1.


Thing is, that's a very vague thing to try to google for, and I can't 
seem to find it.  Are there any old-timers who remember the system call 
in question?


Please let me know,


IIRC it was removed for other reasons. I seem to remember that it was 
problematic as few used the base perl, most used the port build which 
was often installed as a dependency anyway. I viewed it as a good thing 
as I always ended up installing a module or two, or six, from ports.


No unused perl install, no issues with software getting confused about 
which perl to run, no need for... what was that command to use the port 
perl instead of the base perl? I cannot remember anymore.


DAve


--
Don't tell me I'm driving the cart!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Why doesn't cons25 have cs in termcap info?

2008-06-20 Thread Kitche
Since some ports actually need cs(change_scroll_region) to run for example
tmux is one. I believe tmux does not change the term correctly which could
be the issue as well. But according to the author the term needs cs to
even run.

I m just wondering why cons25 is missing this from it's termcap, since
I've been working on adding it to cons25 so that some ports will work
correctly.

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


error message when starting smartd: FAILURE - SMART status=51 ...

2008-06-20 Thread Steven Samuel Cole

Hello,

I see an error message every time I boot my AMD64 FreeBSD 7.0 system or 
when I restart smartd. These are the dmesg lines that seem relevant to 
the issue (shortened for clarity):


kernel: FreeBSD 7.0-RELEASE #0: Fri Jun  6 22:06:44 NZST 2008
kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2611.86-MHz 
K8-class CPU)

kernel: Origin = AuthenticAMD  Id = 0x60fb2  Stepping = 2
kernel: usable memory = 8576704512 (8179 MB)
   ...
kernel: atapci2: SiI SiI 3114 SATA150 controller port 
0xd480-0xd487,0xd400-0xd403,0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc0f 
mem 0xddeff400-0xddeff7ff irq 18 at device 10.0 on pci1

   ...
kernel: ata6: ATA channel 0 on atapci2
kernel: ata7: ATA channel 1 on atapci2
kernel: ata8: ATA channel 2 on atapci2
kernel: ata9: ATA channel 3 on atapci2
   ...
kernel: ad12: 476940MB Seagate ST3500320AS SD15 at ata6-master SATA150
kernel: ad14: 476940MB Seagate ST3500320AS SD15 at ata7-master SATA150
kernel: ad16: 476940MB Seagate ST3500320AS SD15 at ata8-master SATA150
kernel: ad18: 476940MB Seagate ST3500320AS SD15 at ata9-master SATA150

I am happy to provide more info if that helps.#
I am using the latest version of smartmontools (5.38).

The actual error messages are:

kernel: ad12: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED
kernel: ad14: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED
kernel: ad16: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED
kernel: ad18: FAILURE - SMART status=51READY,DSC,ERROR error=4ABORTED

Apart from that, the disks seem to be working fine.
I am running a ZFS pool on them and they perform great, no worries 
whatsoever; I am simply unsure what these error messages mean and if 
they should worry me.


Also, the disks are SATA300, the controller supports SATA150 only; there 
is a jumper on the disks that limits them to SATA150 which I removed. 
Could that be relevant ?


Thank you very much for your attention.

Kind regards,

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