Re: Identd question...

2008-09-25 Thread Agus
2008/9/26 Eric <[EMAIL PROTECTED]>:
> Agus wrote:
>>
>> Hi guys,
>>
>> Just wondering if i can have like a "central" ident server on my
>> LANthats cause my boxes are behind A NAT so i can only forward
>> identd requests to oneand i mean like a fake one..cause the
>> process may be on one of the other boxes that require de ident, is
>> clear?...i read about fakeidentdjust wanted to ask your opinion or
>> experience on this
>>
>
>
> i found liedent to work the best for me. i used it primarily for irc servers
> that wanted an ident response. just forward the port to your bsd box behind
> the firewall and it should work
>

Cool...
Exactly that will be the main use...IRC serversi will redirect the
port to one box where i will keep that liedent server...

Sahil,
The problem is that i have few boxes behind a NAT so IRC servers
asking for identd are blocke in the FWand i cant redirect/forward
port 113 to all boxes...i can only to one...so i need an identd that
would fake the response cause the process being asked by the identd
will not be in that box...So if its a common identd it will respond
with ERROR-USER UNKNOWN or sthg similar...

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


sound card and freebsd v7.0

2008-09-25 Thread jonathan michaels
greetings, freebsd-questions,

i recently got a handme-down box, some sort of hp desktop machine ? not
sure what it is called, the source was more or less vague about its
name/configuration ??? i put in a freebsd v7 cd and these bit fell out,

after pluging some speakers there was no sound, i suppose ?no driver
attached"  line explains that one ??

sorry for the lack of informations, this is my forst time with freebsd
v7 i had used freebsd v6.2 for the previous 6-7 months and for teh
previous 10 plus years freebsd v2.2.5-7 had looked after all of my
networking requirements pppd/mail/ethernet/x11 desktop/and so on. this
v7 world is completely new (and somewhat foreign) to me.

Sep 26 13:26:46 hostid kernel: pci0:  at device 4.3 (no driver attached)
Sep 26 13:26:46 hostid kernel: csa0:  mem 
0xf410-0xf4100fff,0xf400-0xf40f irq 10 at device 6.0 on pci0
Sep 26 13:26:46 hostid kernel: csa: card is Unknown/invalid SSID (CS4614)
Sep 26 13:26:46 hostid kernel: csa0: [GIANT-LOCKED]
Sep 26 13:26:46 hostid kernel: csa0: [ITHREAD]
Sep 26 13:26:46 hostid kernel: pcm0:  on csa0
Sep 26 13:26:46 hostid kernel: pcm0: 
Sep 26 13:26:46 hostid kernel: pcm0: [GIANT-LOCKED]
Sep 26 13:26:46 hostid kernel: pcm0: [ITHREAD]

i enabled all teh sound drivers on boot and this is what is in teh
/var/log/messages said aboutt he sound card.

failing that i had a go with scanpci and it found this ..

pci bus 0x cardnum 0x00 function 0x00: vendor 0x8086 device 0x7190
 Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge

pci bus 0x cardnum 0x01 function 0x00: vendor 0x8086 device 0x7191
 Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge

pci bus 0x cardnum 0x04 function 0x00: vendor 0x8086 device 0x7110
 Intel Corporation 82371AB/EB/MB PIIX4 ISA

pci bus 0x cardnum 0x04 function 0x01: vendor 0x8086 device 0x7111
 Intel Corporation 82371AB/EB/MB PIIX4 IDE

pci bus 0x cardnum 0x04 function 0x02: vendor 0x8086 device 0x7112
 Intel Corporation 82371AB/EB/MB PIIX4 USB

pci bus 0x cardnum 0x04 function 0x03: vendor 0x8086 device 0x7113
 Intel Corporation 82371AB/EB/MB PIIX4 ACPI

pci bus 0x cardnum 0x06 function 0x00: vendor 0x1013 device 0x6003
 Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator]

pci bus 0x cardnum 0x10 function 0x00: vendor 0x10b7 device 0x9055
 3Com Corporation 3c905B 100BaseTX [Cyclone]

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x102b device 0x0521
 Matrox Graphics, Inc. MGA G200 AGP

pciconf .. said this

[EMAIL PROTECTED]:0:0:0:class=0x06 card=0x chip=0x71908086 
rev=0x03 hdr=0x00
[EMAIL PROTECTED]:0:1:0:class=0x060400 card=0x chip=0x71918086 
rev=0x03 hdr=0x01
[EMAIL PROTECTED]:0:4:0:class=0x060100 card=0x chip=0x71108086 
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:4:1:class=0x010180 card=0x chip=0x71118086 
rev=0x01 hdr=0x00
[EMAIL PROTECTED]:0:4:2:class=0x0c0300 card=0x chip=0x71128086 
rev=0x01 hdr=0x00
[EMAIL PROTECTED]:0:4:3:class=0x068000 card=0x chip=0x71138086 
rev=0x02 hdr=0x00
[EMAIL PROTECTED]:0:6:0:class=0x040100 card=0x42801013 chip=0x60031013 
rev=0x01 hdr=0x00
[EMAIL PROTECTED]:0:16:0:   class=0x02 card=0x905510b7 chip=0x905510b7 
rev=0x24 hdr=0x00
[EMAIL PROTECTED]:1:0:0:class=0x03 card=0xff00102b chip=0x0521102b 
rev=0x03 hdr=0x00

i do not know what else to provide to help with this ..

apart from teh 
no sound' problem the only other oddity that this machine displays is
some mild confusion about the hard drive.

the drive is a 120 gb hitachi deskstar .. linux (several of teh most
recent distributions, ubuntu/centos/fedora sees it as a 120 gb, as
dose solaris v10/v11 but freebsd calls it a 114 gb drive and no
fiddling with teh geometry altres that outcome (several combinations
make it even less than teh 114 gb .. some come down to 85 gb.  i don't
have a freebsd v6 box anymore to test this drive in, it died, this is
why teh new (to me) box and teh sudden/abrupt move into freebsd v7.

if it helps .. this is teh details
 
> uname -a
FreeBSD hostid.domain.com.au 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 
19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> 
 
Sep 26 13:26:46 hostid kernel: ad0: 114440MB  at 
ata0-master UDMA33
Sep 26 13:26:46 hostid kernel: acd0: DVDROM  at 
ata1-master UDMA33
Sep 26 13:26:46 hostid kernel: acd1: CDROM  at ata1-slave PIO4
Sep 26 13:26:46 hostid kernel: Trying to mount root from ufs:/dev/ad0s1a

the machines bios is phoenix type and freebsd seems to be not botherd
by its ways and means (i've had freebsd turn tantrums over earleier
phoenix biosed boxen (some 8-10 years ago that is .. )

is there saome (easy/simple) i can make freebsd see, stop this sound
card from playing this game of 'hide and seek" so to speak ???

suggestionshints pointers veru much appreciated ..

much kind regards

jonathan

-- 

Pharoah Monch, Wajeed, Platinum Pied Pipers & more @ On The Real!

2008-09-25 Thread The Doctor's Orders

   [hea=]

   On The Real Pics
   On the real this Friday was seriously off the hook! Thanks to all of
   you that made it down!
   Just check all the superstars that were in the house!

   [="]
   Pharoah Monch

   [="]
   Benji B, Wajeed, Spin Doctor

   [="]
   Platinum Pied Pipers & Kyri R2

   [="]
   Bobbito

   [="]
   DJ Boogie Blind (X-Ecutioners) & Shortee Blitz<= /p>

   Also in the house on the night were Joel Ortiz, DJ 279, Billy Bizness
   & so many more!
   [1]Check out this pics on Facebook & make sure you do not miss out
   next time!

   [2]On The Real present Baby J album launch
   for more party details checkout [3]www= .thedoctorsorders.com
   & to be removed from the Doctors Orders list reply with unsubscribe as
   the subject

References

   1. 3D"http://www.new.facebook.com/photo_search.php?oid=1531891&v   2. 
3D"http://www.new.facebook.com/event.php?eid=27173833181";
   3. 3D"http://www.thedoctorsorders.com"/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why not GNU cmp?

2008-09-25 Thread Fraser Tweedale
On Thu, Sep 25, 2008 at 08:41:23AM -0400, Bob McConnell wrote:
> On Behalf Of Chad Perrin
> >On Thu, Sep 25, 2008 at 08:34:50AM +0100, Kris Kennaway wrote:
> >> Unga wrote:
> >> 
> >> >I was wondering why FreeBSD wrote their own version of cmp. If it
> just the 
> >> >license, then that's fine. I prefer the BSD versions of diff, etc.
> when 
> >> >available. 
> >> 
> >> You are asking the wrong questions: why did GNU write their own
> version 
> >> of cmp?  FreeBSD's dates to 1987.
> > 
> > Y'know -- that's a really good question.
> 
> The answer is simple. The BSD license does not guarantee freedom as
> defined by RMS.
> 
>  * The freedom to run the program, for any purpose (freedom 0).
>  * The freedom to study how the program works and adapt it to
>your needs (freedom 1). Access to the source code is a precondition.
>  * The freedom to redistribute copies so you can help your neighbor
>(freedom 2).
>  * The freedom to improve the program and release your improvements
>to the public, so that the whole community benefits (freedom 3).
>Access to the source code is a precondition.
> 
> For example, Microsoft uses many of the TCP applications and drivers
> from BSD, but will not allow access to their source code as required by
> freedoms 1 and 3.
> 
> Bob McConnell
>

The BSD license -is- a free software license as defined by the FSF.
It is not copyleft like the GPL, but it is satisfies the four essential
freedoms.  RMS agrees.

frase


pgpLZfwD677i8.pgp
Description: PGP signature


Re: NATD Reverse Proxy

2008-09-25 Thread Olivier Nicole
> I'm trying to build a server that will act as a gateway between my wireless
> network and the rest of the world.  Here's an overview of the current setup:
> 
> 1. FreeBSD 7.1
> 2. isc-dhcp3-server-3.0.5_2
> 3. natd configured to connect fxp0 (public network, dynamic IP) to fxp1
> (private network, static IP)
> 4. ipfw
> 5. bind
> 6. apache 2.2
> 7. php 5.2.6
> 
> Right now, when someone connects to the private net, they get an IP address
> and can connect to the Internet no problemo.  So, this is all working so
> far.
> 
> What I'd like to do next is this:
> 
> When someone obtains an IP address, I'm going to configure DHCP to block
> that IP using IPFW initially, and I'd like to redirect any requests that
> come from that IP to port 80 or 443 to be silently redirected to the local
> Apache installation, where the user can enter their login and password.
> Once they've been authenticated, the firewall will allow them to connect out
> to everywhere else.

I think that monowall (or pfsense) do that for you.

Best regards,

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


Re: NATD Reverse Proxy

2008-09-25 Thread Kevin Kinsey

Tim Gustafson wrote:

Hi,

I'm trying to build a server that will act as a gateway between my wireless
network and the rest of the world.  Here's an overview of the current setup:

1. FreeBSD 7.1
2. isc-dhcp3-server-3.0.5_2
3. natd configured to connect fxp0 (public network, dynamic IP) to fxp1
(private network, static IP)
4. ipfw
5. bind
6. apache 2.2
7. php 5.2.6

Right now, when someone connects to the private net, they get an IP address
and can connect to the Internet no problemo.  So, this is all working so
far.

What I'd like to do next is this:

When someone obtains an IP address, I'm going to configure DHCP to block
that IP using IPFW initially, and I'd like to redirect any requests that
come from that IP to port 80 or 443 to be silently redirected to the local
Apache installation, where the user can enter their login and password.
Once they've been authenticated, the firewall will allow them to connect out
to everywhere else.

So, it seems to me that I need to use natd again to do a silent proxy of
traffic from certain IPs on the private net to the server box.  But, since
I'm already using natd, I'm a little perplexed about how to set this up.  Do
I need to run a second instance of natd on a different port, and then update
the firewall rules to divert to one or the other based on the user's
authentication status?  Or can this all be configured in one natd instance?

Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
831-459-5354


Someone else's wheel, for perusal, at least:

http://www.shmoo.com/~bmc/software/wicap/announce.html

The tarball is still up there.

HTH,

Kevin Kinsey
--
If you do not think about the future, you cannot have one.
-- John Galsworthy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X server crashes on exit

2008-09-25 Thread Kevin Kinsey

Herman Te wrote:

Hi,

I installed 7.0 from the CD with X. Now this is the first time I ever used
FreeBSD or X, I know a bit from linux but I usually use command line only.
So when the system finished installing I logged in and typed startx. First
time it took over 2 mins (is this normal) but eventually worked, and loaded
3 green terminals and a small clock in the corner. I don't know what this is
and the mouse was not working so I tried to exit with the ctrl+alt+backspace
but screen went black and the entire system hung - I know this as my remote
session aborted and the keyboard led stopped responding too - still no
response after 30 mins.

I realise that i need a window manager so I tried to install gnome from CD.
However it is the same problem and the system hung when I tried to quit back
to command line mode. After hours on google I found how to fix the mouse and
decide to try building fluxbox wm from the ports. Before starting the X, I
ran Xorg -configure and echo exec startfluxbox > .xinitrc. So now it starts
up properly and works well but still I cannot exit the X. This is a big
problem because the machine has no case so I must bend down and touch the
reset pins with a penknife :P Also as the disks are not unmounted there are
errors and one of the times my user account was deleted, so I had to
reinstall the whole system.

As I said I have never configure or install an X windows system before, and
I was googling for ages. Could anyone give me some idea of how to diagnose
and fix this problem?
Thanks
Herman


Have you looked at the logfiles? (/var/log/Xorg.$n.log)


Kevin Kinsey
--
Let your conscience be your guide.
-- Pope
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Identd question...

2008-09-25 Thread Eric

Agus wrote:

Hi guys,

Just wondering if i can have like a "central" ident server on my
LANthats cause my boxes are behind A NAT so i can only forward
identd requests to oneand i mean like a fake one..cause the
process may be on one of the other boxes that require de ident, is
clear?...i read about fakeidentdjust wanted to ask your opinion or
experience on this




i found liedent to work the best for me. i used it primarily for irc 
servers that wanted an ident response. just forward the port to your bsd 
box behind the firewall and it should work

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


Re: Identd question...

2008-09-25 Thread Sahil Tandon
Agus <[EMAIL PROTECTED]> wrote:

> Just wondering if i can have like a "central" ident server on my
> LANthats cause my boxes are behind A NAT so i can only forward
> identd requests to oneand i mean like a fake one..cause the
> process may be on one of the other boxes that require de ident, is
> clear?...i read about fakeidentdjust wanted to ask your opinion or
> experience on this

Without more information about exactly what problem you're trying to
solve, I think yes it's possible.

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


Identd question...

2008-09-25 Thread Agus
Hi guys,

Just wondering if i can have like a "central" ident server on my
LANthats cause my boxes are behind A NAT so i can only forward
identd requests to oneand i mean like a fake one..cause the
process may be on one of the other boxes that require de ident, is
clear?...i read about fakeidentdjust wanted to ask your opinion or
experience on this

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


Re: X server crashes on exit

2008-09-25 Thread Glen Barber
I should note on my last message, that I specified Linux because some
don't install the proper drivers by default.  With FreeBSD + Xserver
on this box, it was always a habit for me to compile the drivers -- so
I never noticed if I would experience this undesired behavior in *BSD.

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


Re: X server crashes on exit

2008-09-25 Thread Glen Barber
No, a 2 minute startup of Xorg is not normal.

What kind of video card?  Do you have the proper drivers for your
video card installed?  I've noticed on several flavors of Linux with
my particular card (nVidia Geforce 8600 or something) that if I do not
have the correct nVidia drivers, exiting X results in a system lockup.

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


X server crashes on exit

2008-09-25 Thread Herman Te
Hi,

I installed 7.0 from the CD with X. Now this is the first time I ever used
FreeBSD or X, I know a bit from linux but I usually use command line only.
So when the system finished installing I logged in and typed startx. First
time it took over 2 mins (is this normal) but eventually worked, and loaded
3 green terminals and a small clock in the corner. I don't know what this is
and the mouse was not working so I tried to exit with the ctrl+alt+backspace
but screen went black and the entire system hung - I know this as my remote
session aborted and the keyboard led stopped responding too - still no
response after 30 mins.

I realise that i need a window manager so I tried to install gnome from CD.
However it is the same problem and the system hung when I tried to quit back
to command line mode. After hours on google I found how to fix the mouse and
decide to try building fluxbox wm from the ports. Before starting the X, I
ran Xorg -configure and echo exec startfluxbox > .xinitrc. So now it starts
up properly and works well but still I cannot exit the X. This is a big
problem because the machine has no case so I must bend down and touch the
reset pins with a penknife :P Also as the disks are not unmounted there are
errors and one of the times my user account was deleted, so I had to
reinstall the whole system.

As I said I have never configure or install an X windows system before, and
I was googling for ages. Could anyone give me some idea of how to diagnose
and fix this problem?
Thanks
Herman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NATD Reverse Proxy

2008-09-25 Thread Tim Gustafson
Hi,

I'm trying to build a server that will act as a gateway between my wireless
network and the rest of the world.  Here's an overview of the current setup:

1. FreeBSD 7.1
2. isc-dhcp3-server-3.0.5_2
3. natd configured to connect fxp0 (public network, dynamic IP) to fxp1
(private network, static IP)
4. ipfw
5. bind
6. apache 2.2
7. php 5.2.6

Right now, when someone connects to the private net, they get an IP address
and can connect to the Internet no problemo.  So, this is all working so
far.

What I'd like to do next is this:

When someone obtains an IP address, I'm going to configure DHCP to block
that IP using IPFW initially, and I'd like to redirect any requests that
come from that IP to port 80 or 443 to be silently redirected to the local
Apache installation, where the user can enter their login and password.
Once they've been authenticated, the firewall will allow them to connect out
to everywhere else.

So, it seems to me that I need to use natd again to do a silent proxy of
traffic from certain IPs on the private net to the server box.  But, since
I'm already using natd, I'm a little perplexed about how to set this up.  Do
I need to run a second instance of natd on a different port, and then update
the firewall rules to divert to one or the other based on the user's
authentication status?  Or can this all be configured in one natd instance?

Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
831-459-5354


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


FreeBSD and ISCSI, Strange Problem

2008-09-25 Thread Daniel Dias Gonçalves

I'm with a very strange problem in the FreeBSD 7.0R
I use the iscsi_initiator to mount two devices of a Dell MD3000i, the 
file system is UFS.
The problem occurs when I make a copy of a great directory for inside of 
the /data/email directory, passed some minutes of beginning of copy, the 
SSH connection stops to answer, when trying to open a new connection " 
Password: " it isn't requested, in the console, when typing the user 
"root" e to press enter, " Password: " also it isn't requested. The only 
way to come back is restarting the FreeBSD.


When press CTRL+T during the freeze it is shown:
# ssh [EMAIL PROTECTED]
load: 0.76  cmd: ssh 86930 [sbwait] 0.00u 0.01s 0% 2076k

In another freeze it showed state [ufs]
During freeze, send and receive pings work fine, but no service runing work.

I already verified for some related LOG, however not see nothing related.

MOUNT:
/dev/da0s1g on /home (ufs, local, soft-updates)
/dev/da0s1f on /tmp (ufs, local, soft-updates)
/dev/da0s1d on /usr (ufs, local, soft-updates)
/dev/da0s1e on /var (ufs, NFS exported, local, soft-updates)
/dev/da2s1d on /data/db (ufs, NFS exported, local, soft-updates)
/dev/da3s1d on /data/email (ufs, NFS exported, local, soft-updates)

DMESG:
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Mon Sep 15 20:00:35 BRT 2008
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz (2329.84-MHz 
686-class CPU)

 Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
 
Features=0xbfebfbff
 
Features2=0xce3bd>

 AMD Features=0x2010
 AMD Features2=0x1
 Cores per package: 4
real memory  = 3484745728 (3323 MB)
avail memory = 3405615104 (3247 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  2
cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 4
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Sep 15 2008 20:00:23)
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0:  iomem 0xfed0-0xfed003ff on 
acpi0

Timecounter "HPET" frequency 14318180 Hz quality 900
cpu0:  on acpi0
est0:  on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 720072006000720
device_attach: est0 attach returned 6
p4tcc0:  on cpu0
cpu1:  on acpi0
est1:  on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 720072006000720
device_attach: est1 attach returned 6
p4tcc1:  on cpu1
cpu2:  on acpi0
est2:  on cpu2
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 720072006000720
device_attach: est2 attach returned 6
p4tcc2:  on cpu2
cpu3:  on acpi0
est3:  on cpu3
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 720072006000720
device_attach: est3 attach returned 6
p4tcc3:  on cpu3
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci4:  on pcib1
pcib2:  at device 0.0 on pci4
pci5:  on pcib2
pcib3:  at device 0.0 on pci5
pci6:  on pcib3
pcib4:  at device 0.0 on pci6
pci7:  on pcib4
bce0:  mem 
0xf400-0xf5ff irq 16 at device 0.0 on pci7

miibus0:  on bce0
brgphy0:  PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto

bce0: Ethernet address: 00:1e:c9:b4:e5:2b
bce0: [ITHREAD]
bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W 
(0x04000305); Flags( MFW MSI )

pcib5:  at device 1.0 on pci5
pci8:  on pcib5
pcib6:  at device 0.3 on pci4
pci9:  on pcib6
pcib7:  at device 3.0 on pci0
pci1:  on pcib7
mpt0:  port 0xec00-0xecff mem 
0xfc8fc000-0xfc8f,0xfc8e-0xfc8e irq 16 at device 0.0 on pci1

mpt0: [ITHREAD]
mpt0: MPI Version=1.5.14.0
mpt0: mpt_cam_event: 0x16
mpt0: mpt_cam_event: 0x12
mpt0: mpt_cam_event: 0x12
mpt0: mpt_cam_event: 0x16
mpt0: mpt_cam_event: 0x16
mpt0: mpt_cam_event: 0x16
mpt0: mpt_cam_event: 0x21
mpt0: mpt_cam_event: 0x21
pcib8:  at device 4.0 on pci0
pci10:  on pcib8
em0:  port 
0xdce0-0xdcff mem 0xfc5e-0xfc5f,0xfc5c-0xfc5d irq 16 at 
device 0.0 on pci10

em0: Using MSI interrupt
em0: Ethernet address: 00:15:17:8b:23:12
em0: [FILTER]
pcib9:  at device 5.0 on pci0
pci11:  on pcib9
pcib10:  at device 6.0 on pci0
pci12:  on pcib10
em1:  port 
0xcce0-0xccff mem 0xfc3e-0xfc3f,0xfc3c-0xfc3d irq 16 at 
device 0.0 on pci12

em1: Using MSI interrupt
em1: Ethernet addre

RE: mount_unionfs for jails

2008-09-25 Thread David Polak
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Nejc S(koberne
> Sent: Thursday, September 25, 2008 6:13 PM
> To: David Polak
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mount_unionfs for jails
> 
> Hello,
> 
> > Well, it turns out that my problem was due to a typo in my host
> systems
> > rc.conf.
> 
> Thought so.
> 
> > Do you know if there is a way to "reset" the unionfs? I did notice
> this:
> 
> It is called "whiteout". When you delete the file which is on lower
> layer
> in unionfs, you actually create a file of type "whiteout" on the upper
> layer,
> which tells you that the file is not there. So it is a mark for a
> deleted file.
> To "reset" it, you just need to delete the whiteout. You can do this
> via
> "rm -W". Actually whiteouts seem to be a nice solution but sometimes
> you'll
> run into interesting problems. When you try to upgrade jails, for
> example.
> Also, the problem is, because very few programs "support" whiteouts,
> for
> example "find" utility doesn't know about them, so you have to
> reimplement
> it (we made a shell script).
> 
> We have created a lot of scripts which can do a lot of stuff with jails
> and
> unionfs on our server. If you are interested, let me know.
> 
> HTH,
> Nejc

It would be much appreciated, thank you.


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


Re: mount_unionfs for jails

2008-09-25 Thread koberne <[EMAIL PROTECTED]>
Hello,

> Well, it turns out that my problem was due to a typo in my host systems
> rc.conf.

Thought so.

> Do you know if there is a way to "reset" the unionfs? I did notice this:

It is called "whiteout". When you delete the file which is on lower layer
in unionfs, you actually create a file of type "whiteout" on the upper layer,
which tells you that the file is not there. So it is a mark for a deleted file.
To "reset" it, you just need to delete the whiteout. You can do this via
"rm -W". Actually whiteouts seem to be a nice solution but sometimes you'll
run into interesting problems. When you try to upgrade jails, for example.
Also, the problem is, because very few programs "support" whiteouts, for
example "find" utility doesn't know about them, so you have to reimplement
it (we made a shell script).

We have created a lot of scripts which can do a lot of stuff with jails and
unionfs on our server. If you are interested, let me know.

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


sysctl kern.msgbuf changed in 7.0?

2008-09-25 Thread snott

On my FreeBSD 6 box, "sysctl kern.msgbuf" shows the same content as "dmesg"

But on FreeBSD 7, kern.msgbuf is empty.

Has something changed?

Thanks,
Skye

-- 
View this message in context: 
http://www.nabble.com/sysctl-kern.msgbuf-changed-in-7.0--tp19679848p19679848.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


RE: mount_unionfs for jails

2008-09-25 Thread David Polak
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Nejc S(koberne
> Sent: Thursday, September 25, 2008 3:33 PM
> To: David Polak
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mount_unionfs for jails
> 
> Hello,
> 
> > Here is what I am trying to do:
> >
> > mount_unionfs -o below /usr/jails/basejail /usr/jail/jail1
> >
> > after I do that I edit /usr/jail/jail1/etc/rc.conf and add the
> appropriate
> > entries to the host system rc.conf, but when I start the jail it
> starts
> > using the settings from /usr/jails/basejail.
> 
> I have the same setup and it works for me.
> 
> > Is my mount_unionfs syntax wrong, is this a bug in unionfs (man page
> says
> > unionfs is broken, but doesn't specify how its broken) or is this
> expected
> > behavior?
> 
> It shouldn't be wrong. I have this in my fstab:
> 
> /jail/base   /jail/spl/nejcspl   unionfs rw,noatime,below 0
> 0
> 
> (noatime option is completely optional, of course.)
> 
> But, if I were you, I would update the RELEASE to STABLE. This will
> also fix
> some bugs in unionfs. However at least some other bugs still aren't
> fixed in 7-STABLE
> to this day (most notably the socket bug, which prevents mysql from
> running in a jail
> and writing socket file to /tmp/mysql.sock), so we had to MFC the patch
> from
> HEAD manually. If you need the patch, let me know.
> 
> However, I don't suggest running jails on top of unionfs where you need
> decent stability (i.e. in production). I am writing thesis at the
> moment which
> also covers this topic. We also stumbled upon these issues:
> 

-snip-

> 
> So, you can see that there are (still) many issues with unionfs on
> FreeBSD.
> Please let me know if you are able to solve your problem. Or else we
> can make
> this list a little longer. :)
> 
> HTH,
> Nejc
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"


Well, it turns out that my problem was due to a typo in my host systems
rc.conf.

I had duplicated the jail block and used a regex to rename it to the unionfs
jail, but missed the directory...

Right now, I am just testing things, but if it works, I'l use it. It seems a
lot more elegant that other solutions, as long as it actually works. 

Do you know if there is a way to "reset" the unionfs? I did notice this:

fsserver# mkdir dir1 dir2
fsserver# touch dir1/basefile.file
fsserver# mount_unionfs -o below dir1 dir2
fsserver# ls dir2/
basefile.file
fsserver# rm dir2/basefile.file
fsserver# ls dir2
fsserver# umount dir2
fsserver# ls dir1 dir2
dir1:
basefile.file

dir2:
fsserver# mount_unionfs -o below dir1 dir2
fsserver# ls dir1 dir2
dir1:
basefile.file

dir2:
fsserver#

seems useful, but where does it store that info in case you need to make
stuff show up again?

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


dmesg smart error

2008-09-25 Thread Ghirai
Hello list,

I'm getting this error in dmesg (7 times):

ad2: FAILURE - SMART status=51 error=4

I'm running FreeBSD 6.3-RELEASE, amd64.
HD is ad2: 152626MB  at ata1-master SATA150

Any ideas? Is the disk going to die?
Thanks.

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


Re: mount_unionfs for jails

2008-09-25 Thread koberne <[EMAIL PROTECTED]>
Hello,

> Here is what I am trying to do:
> 
> mount_unionfs -o below /usr/jails/basejail /usr/jail/jail1
> 
> after I do that I edit /usr/jail/jail1/etc/rc.conf and add the appropriate
> entries to the host system rc.conf, but when I start the jail it starts
> using the settings from /usr/jails/basejail.

I have the same setup and it works for me.

> Is my mount_unionfs syntax wrong, is this a bug in unionfs (man page says
> unionfs is broken, but doesn't specify how its broken) or is this expected
> behavior?

It shouldn't be wrong. I have this in my fstab:

/jail/base   /jail/spl/nejcspl   unionfs rw,noatime,below 0   0

(noatime option is completely optional, of course.)

But, if I were you, I would update the RELEASE to STABLE. This will also fix
some bugs in unionfs. However at least some other bugs still aren't fixed in 
7-STABLE
to this day (most notably the socket bug, which prevents mysql from running in 
a jail
and writing socket file to /tmp/mysql.sock), so we had to MFC the patch from
HEAD manually. If you need the patch, let me know.

However, I don't suggest running jails on top of unionfs where you need
decent stability (i.e. in production). I am writing thesis at the moment which
also covers this topic. We also stumbled upon these issues:

- socket file bug, mentioned before, still present in 7-STABLE, no ideas
  when it will be MFCed;

- "mv" bug (see freebsd-fs archives for August 2008, me and my friend posted
  a few posts there) which causes troubles when moving directories (files
  would appear as gone and then reappear again) which exist or don't exist
  on lower and upper levels;

- another "mv" bug which I discovered yesterday and seems to be very strange
  and hard to replay - I didn't even mess with the lower level, it seems that
  also just the upper layer can behave strangely sometimes (erros like
  "mv: invalid argument" when simply trying to move a big (>10 GB) directory -
  the error was gone after I restarted the jail (i.e. also remounting the
  unionfs);

- strange behaviour of some applications (apache in my case) not "seeing" the
  lower layer (/etc/hosts most notably) - we had to do "touch" (and then copy
  to all jails on change) on files we _really_ need to be visible. However,
  after we "fscked" our partition with unionfs directories, we weren't able
  to reproduce this error;

- UFS filesystem would get to inconsistent state (we don't know exactly when)
  so some commands would behave strangely and fsck (see above) is needed in
  single user mode;

- _most notably_: there hasn't been a single reply to our unionfs related
  problem reports and posts to freebsd-fs list. So I guess that people who
  are in charge for unionfs in FreeBSD aren't really responsive and that
  the future of unionfs in FreeBSD isn't really bright. It's a pity, though,
  since this is a very useful feature, especially for jailed systems. However,
  hope remains, that things will be fixed at least in 8.0 if not in 7.1.

So, you can see that there are (still) many issues with unionfs on FreeBSD.
Please let me know if you are able to solve your problem. Or else we can make
this list a little longer. :)

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


installing 7.0-release from .isos: endless mfi status msgs on console

2008-09-25 Thread Jacob Yocom-Piatt
am setting up a new fileserver on a poweredge 1950 and installing from 
the freebsd 7.0-release .isos but can't read anything on the console 
since the PERC 5/i or 5/e card(s) are dumping status messages to the 
console non-stop (~1000 lines / minute).


is there any way to disable these status messages so that i can get 
freebsd installed? AFAICT there is nothing broken with the battery on 
either of the PERC 5/i or 5/e cards installed.


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


Re: Why not GNU cmp?

2008-09-25 Thread Chad Perrin
On Thu, Sep 25, 2008 at 08:41:23AM -0400, Bob McConnell wrote:
> On Behalf Of Chad Perrin
> >On Thu, Sep 25, 2008 at 08:34:50AM +0100, Kris Kennaway wrote:
> >> Unga wrote:
> >> 
> >> >I was wondering why FreeBSD wrote their own version of cmp. If it
> just the 
> >> >license, then that's fine. I prefer the BSD versions of diff, etc.
> when 
> >> >available. 
> >> 
> >> You are asking the wrong questions: why did GNU write their own
> version 
> >> of cmp?  FreeBSD's dates to 1987.
> > 
> > Y'know -- that's a really good question.
> 
> The answer is simple. The BSD license does not guarantee freedom as
> defined by RMS.
> 
>  * The freedom to run the program, for any purpose (freedom 0).
>  * The freedom to study how the program works and adapt it to
>your needs (freedom 1). Access to the source code is a precondition.
>  * The freedom to redistribute copies so you can help your neighbor
>(freedom 2).
>  * The freedom to improve the program and release your improvements
>to the public, so that the whole community benefits (freedom 3).
>Access to the source code is a precondition.
> 
> For example, Microsoft uses many of the TCP applications and drivers
> from BSD, but will not allow access to their source code as required by
> freedoms 1 and 3.

As I pointed out to Ross Cameron, you don't have to rewrite BSD licensed
code to release it under the terms of the GPL -- and, in fact, you kinda
made the same point yourself without apparently intending to.  If you
include it as part of a larger package that's GPLed, there's no rewriting
needed.

Ironically, the intent to enforce sharing of code has in this case
prevented sharing code with another open source project such as FreeBSD.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Bill McKibben: "The laws of Congress and the laws of physics have grown
increasingly divergent, and the laws of physics are not likely to
yield."


pgpNnAsOG32HR.pgp
Description: PGP signature


Re: Why not GNU cmp?

2008-09-25 Thread Chad Perrin
On Thu, Sep 25, 2008 at 01:50:13PM +0200, Ross Cameron wrote:
> On Thu, Sep 25, 2008 at 10:48 AM, Chad Perrin <[EMAIL PROTECTED]> wrote:
> 
> > On Thu, Sep 25, 2008 at 08:34:50AM +0100, Kris Kennaway wrote:
> >
> > > You are asking the wrong questions: why did GNU write their own version
> > > of cmp?  FreeBSD's dates to 1987.
> >
> > Y'know -- that's a really good question.
> >
> 
> Not really its quite simple,... much like the *BSD camp prefers all their
> tools to be BSD licensed, the GNU camp want all their tools to be GPL
> licensed.
> They have their reason's for wanting to enforce the sharing of code
> improvements.

You don't have to rewrite something BSD-licensed to distribute it under
the GPL, though.  Just wrap it in a larger package with a GPL license
over the whole thing, and contribute development effort to the BSD
licensed code if you want it to improve.  That would have been a win for
everyone, as far as I can tell -- rather than trying to enforce sharing
code improvements by rewriting something from scratch and distributing it
under a license that prevents its code from being shared with the BSD
licensed version.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Rudy Giuliani: "You have free speech so I can be heard."


pgpS3G7Vgmoow.pgp
Description: PGP signature


Re: ccache on amd64

2008-09-25 Thread Mel
On Thursday 25 September 2008 21:03:12 Brian wrote:

> [EMAIL PROTECTED] /usr/ports/devel/ccache]# make
> ===>  Patching for ccache-2.4_7
> ===>  Applying FreeBSD patches for ccache-2.4_7
> patch:  malformed patch at line 9: sizeof(char *));
> => Patch patch-args.c failed to apply cleanly.

Result of long lines broken. Join line 8 and 9 and also a few lines down, that 
starts with sizeof(char *).

Additionally, found out why CC := ${CC:C,^cc...etc} works and without does 
not. The culprit is that CC is defined as:
CC="${CC} ${LIB32FLAGS}" in Makefile.inc1

Not sure why they don't mangle CFLAGS instead, but there are probably good 
reasons for it.

-- 
Mel

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


Re: using /dev/random

2008-09-25 Thread Kris Kennaway

RW wrote:

On Tue, 23 Sep 2008 11:52:07 -0400
Lowell Gilbert <[EMAIL PROTECTED]> wrote:


Robert Huff <[EMAIL PROTECTED]> writes:


What is the canonical way to get data from /dev/random?
Specifically: having opened the file, how do I read the stream?
I'm currently using


  union {
float f;
char c[4];
  } foo;

  foo.f = 0.0;

  fscanf(rand_fp,"%4c",foo.c);


which doesn't seem to produce anywhere near "random bytes"
as promised by the man page.

Have you turned off the "seeded" variable?  You'll fall back to a
software pseudorandom sequence if you don't.


kern.random.sys.seeded is just a flag that gets set to 1 on each
reseed. IIRC it's also initialized to 1 so it doesn't actually do
anything very useful.


Except tell you that the kernel random number generator has finished 
seeding ;)


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


Re: ccache on amd64

2008-09-25 Thread Brian


Ok, cracked it. ccache will dump core, if the argument list >255 arguments, 
most likely because the page size is 2048 bytes, but I'm guessing here. What 
happens in x_realloc is that it wants to copy the 2048+8 from the old pointer 
to the new, yet the old pointer is only 2040 bytes big.
I think it goes ok, till 2048, because 2048 is allocated regardless. You won't 
see this on 32-bits, because you don't hit this size as the pointer size is 
only 4 bytes. Most likely, you will hit this bug with argument list >510 
arguments.


The patch inlined below my sig will fix the problem. I'll file a PR so that 
ahze@ can fix it properly. Save it 
as /usr/ports/devel/ccache/files/patch-args.c and reinstall ccache.


  

here are my unfortunate results

[EMAIL PROTECTED] /usr/ports/devel/ccache]# make
===>  Patching for ccache-2.4_7
===>  Applying FreeBSD patches for ccache-2.4_7
patch:  malformed patch at line 9: sizeof(char *));
=> Patch patch-args.c failed to apply cleanly.
*** Error code 1

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


Re: Can't build all in /usr/src/crypto/openssh

2008-09-25 Thread Andrew Falanga
>
> Bad choice of words on my part. It won't rebuild openssl, if you still
> have /usr/obj/usr/src/* from last time. But it will go through the motions to
> see if stuff needs to be rebuilt. It will only rebuild libssh and anything
> that uses libssh:
> # find . -name 'Makefile' -exec grep channels.c {} \+
> ./secure/lib/libssh/Makefile:   canohost.c channels.c cipher.c cipher-acss.c
> cipher-aes.c \
>
> # find . -name 'Makefile' -exec grep -l 'DPADD.*LIBSSH' {} \+
> ./lib/libpam/modules/pam_ssh/Makefile
> ./secure/libexec/sftp-server/Makefile
> ./secure/libexec/ssh-keysign/Makefile
> ./secure/usr.bin/scp/Makefile
> ./secure/usr.bin/sftp/Makefile
> ./secure/usr.bin/ssh/Makefile
> ./secure/usr.bin/ssh-add/Makefile
> ./secure/usr.bin/ssh-agent/Makefile
> ./secure/usr.bin/ssh-keygen/Makefile
> ./secure/usr.bin/ssh-keyscan/Makefile
> ./secure/usr.sbin/sshd/Makefile
>
> The pam module is the only one outside secure that depends on libssh.
>
> --

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


mount_unionfs for jails

2008-09-25 Thread David Polak
Using freebsd 7.0-release, I am trying to use unionfs to simplify my jail
setup.

Here is what I am trying to do:

mount_unionfs -o below /usr/jails/basejail /usr/jail/jail1

after I do that I edit /usr/jail/jail1/etc/rc.conf and add the appropriate
entries to the host system rc.conf, but when I start the jail it starts
using the settings from /usr/jails/basejail.

Is my mount_unionfs syntax wrong, is this a bug in unionfs (man page says
unionfs is broken, but doesn't specify how its broken) or is this expected
behavior?

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


The Walls of Auschwitz

2008-09-25 Thread Jahanshah Rashidian
The Walls of Auschwitz
A Review of the Chemical Studies by Nicholas Kollerstrom, PhD

In his essay, Dr Nicholas Kollerstrom argues that the alleged massacre of 
Jewish people by gassing during World War II was scientifically impossible.

The distinguished academic was dismissed on April 22, 2008 without any 
explanation and a Holocaust conference held on 16-18 May in Berlin refused his 
article and warned that he would be arrested if he attended the conference and 
presented his essay.

The West punishes people for their scientific research on Holocaust but the 
same western countries allow insults to prophets and religious beliefs…


I. The Leuchter Report, 1988

In February 1988, Fred Leuchter came to the Auschwitz crematoria ruins, with 
his wife and a team, and took 32 samples chiseled out of the wall. His Report 
published in April of 1998 contained five maps as appendices which indicated 
where the samples had been taken from, and in addition a film was made of his 
sampling'. The locations are important, because some of the 'gas chamber' 
locations are postwar-reconstructed, and the obtaining of original brickwork 
was essential for his purpose.

Leuchter in effect tested the hypothesis, as to whether or not certain large 
rooms, designated in the Auschwitz design-plans as either morgues or washrooms, 
had in fact been used for large-scale human cyanide gassing on a daily and 
lethal basis. As America's only professional cyanide-gas execution expert, 
Leuchter was primarily concerned with whether it would have been feasible to 
perform such executions using the designated rooms; this however will not 
concern us here, our concern being solely with the wall samples he took. These 
were analyzed in March 1988 by Alpha Analytical Laboratories Ltd, in ignorance 
of their source.

He managed to take one one sample of a 'Disinfestation Chamber,' by breaking 
and entering a locked building: but prowling guards and snowy blizzards 
prevented further sampling from a second such chamber at camp Majdanek . His 
swiftly-published 'Report' in effect grouped his data into two, that of the 
sample 32 which he called perhaps unfortunately his 'control,' and all the 
others, as the graph shows. The latter came from five 'Crematoria' sites in the 
Auschwitz complex.

Duality of the 'Gas Chamber' concept in Leuchter's Report

The terms that will here be used, that are as far as possible non-judgmental, 
are AHGCs or alleged human gas chambers for what Leuchter called 'Crematoria' 
and DCs or disinfestation chambers for what in the German design-plans were 
called 'gas chambers' (gaskammers). The latter had been used in Germany since 
1924, much as we would ?nowadays use DDT, for killing the flea that carried the 
typhus bacillus.

They were operated using 'Zyklon-B' granules, composed of liquid hydrogen 
cyanide (boiling-point 27° C) that would evaporate over a couple of hours from 
its clay substrate. In the German labor-camps, clothing and bedding were 
repeatedly fumigated in such chambers. Prior to Leuchter's work, pro - 
Holocaust books had not acknowledged such chambers, and had rather carried the 
message of the Nuremberg trials, whereby any use of Zyklon-B was merely 
presumed to have been for human extermination.

After Leuchter, Pressac's magnum opus reproducing design-plans of 
Auschwitz-Birkenau located and described the 'Gaskammer' or DCs . These were 
quite a lot smaller than the AHGCs, and designed by the industrial-chemistry 
firm 'Degesh.' Pressac also observed that their walls tended to be blue: they 
had gradually developed that hue after the War, owing to their saturation with 
iron-cyanide.

Fred Leuchter found one thousand -fold difference in residual cyanide levels 
between these two types of 'gas chamber' - that designated in German 
design-plans as gas chambers but whose existence was ignored at Nuremberg, and 
the much larger rooms alleged to have functioned as gas chambers. Together with 
Pressac's acknowledgement of the DCs, this meant that all future pro-Holocaust 
books had to work with a duality: that the very same cans of ' Zyklon-B' were 
used for two extremely different purposes on the same campsite: for taking 
lives via the extermination procedure, whereby millions died, in the 
extraordinary manner described at Nuremberg, and also for saving them by 
combating the typhus epidemic.
This did not make a great deal of sense and some noted that one could more 
readily have not bothered and just let the typhus epidemic do its work.

There was controversy over the extent to which all of Leuchter's samples had 
indeed been taken from walls of chambers allegedly exposed to the cyanide, 
given that much of the 'gas chambers' are now acknowledged to be 
postwar-reconstructed; as likewise there was disagreement over the extent to 
which exposed walls may have had any cyanide leeched out from them over six 
decades, a theme we return later on with the work of Mr Dan Desjardins.

The iron-cyanid

Re: periodic not working?

2008-09-25 Thread Mel
On Thursday 25 September 2008 18:52:41 Kurt Buff wrote:
> On Thu, Sep 25, 2008 at 9:33 AM, Mel
>
> <[EMAIL PROTECTED]> wrote:
> > On Thursday 25 September 2008 17:55:39 Kurt Buff wrote:
> >> On Thu, Sep 25, 2008 at 2:35 AM, Mel
> >>
> >> <[EMAIL PROTECTED]> wrote:
> >> > On Thursday 25 September 2008 03:07:13 Kurt Buff wrote:
> >> >> I've got postfix installed for the MTA, and the main.cf, master.cf,
> >> >> alias db hash and transport.db hash all look fine
> >> >>
> >> >> crontab looks just fine, too.
> >> >>
> >> >> I've run 'periodic daily' by hand from a root prompt, and get
> >> >> nothing, whereas on the working machine I do get my email.
> >> >>
> >> >> Where might I start looking to fix this problem?
> >> >
> >> > They are in not in mailq? How about /var/mail/root then?
> >> >
> >> > --
> >> > Mel
> >>
> >> I've not found a directory called mailq. /var/mail/root does not exist
> >> either.
> >>
> >> I've also checked in /var/spool/postfix/* and all directories are
> >> empty or have zero-length files with dates from the installation of
> >> postfix.
> >>
> >> And, now I think I've found the problem - in /var/log/maillog, I find
> >> the following:
> >>
> >> Sep 25 03:01:21 loki postfix/smtp[24894]: D92DB1A4C67:
> >> to=<[EMAIL PROTECTED]>, relay=none, delay=0.12,
> >> delays=0.11/0.01/0/0, dsn=5.4.6, status=bounced (mail for
> >> loki.mycompany.com loops back to myself)
> >>
> >> All I have to do is figure this out, and I think I've got it.
> >
> > a) You run the relay_host in a jail, don't have inet_interfaces hardcoded
> > to the main IP, and postfix sees the jail IP on the local interface
> > (that's the tricky one).
> >
> > or
> >
> > b) Your /usr/local/etc/postfix/transport is not as correct as you think
> >
> > --
> > Mel
>
> Not a), certainly. Perhaps b), but it's a single line, and looks the
> same on both machines. Using spaces instead of tabs in both cases.
>
> I've posed the question on the postfix list. We'll see what happens.


host -t MX mycompany.com && postconf -n |grep -E '^(my|relay)'
should provide insight, if transport is correct.

-- 
Mel

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


Re: Flooded with emails to root -- URGG

2008-09-25 Thread Lowell Gilbert
David Southwell <[EMAIL PROTECTED]> writes:

> I am running postfix.
>
> Am receiving a flood of  emails that appear to emanate from Servers who have 
> received spam that has masqueraded [EMAIL PROTECTED] as the email source. 
>
> Could anyone please suggest the best way of dealing with these. Please bear 
> in 
> mind I am not all that familiar with postfix so if anyone feels treating me 
> like an idiot and spoonfeeding the actual command s to use I would be most 
> appreciative  

http://www.postfix.org/BACKSCATTER_README.html

> I have just installed procmail but not yet activated it. (Incidentally I do 
> have a number of virtual domains but the only one that seems to get flooded 
> is the primary hostname.
>
> There have also been numerous failed hacking attempts on to the system but as 
> they keep trying to get in using services that are not actually running they 
> have got nowhere (so far!!)

As far as you know. ;-)

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: periodic not working?

2008-09-25 Thread Kurt Buff
On Thu, Sep 25, 2008 at 9:33 AM, Mel
<[EMAIL PROTECTED]> wrote:
> On Thursday 25 September 2008 17:55:39 Kurt Buff wrote:
>> On Thu, Sep 25, 2008 at 2:35 AM, Mel
>>
>> <[EMAIL PROTECTED]> wrote:
>> > On Thursday 25 September 2008 03:07:13 Kurt Buff wrote:
>> >> I've got postfix installed for the MTA, and the main.cf, master.cf,
>> >> alias db hash and transport.db hash all look fine
>> >>
>> >> crontab looks just fine, too.
>> >>
>> >> I've run 'periodic daily' by hand from a root prompt, and get nothing,
>> >> whereas on the working machine I do get my email.
>> >>
>> >> Where might I start looking to fix this problem?
>> >
>> > They are in not in mailq? How about /var/mail/root then?
>> >
>> > --
>> > Mel
>>
>> I've not found a directory called mailq. /var/mail/root does not exist
>> either.
>>
>> I've also checked in /var/spool/postfix/* and all directories are
>> empty or have zero-length files with dates from the installation of
>> postfix.
>>
>> And, now I think I've found the problem - in /var/log/maillog, I find
>> the following:
>>
>> Sep 25 03:01:21 loki postfix/smtp[24894]: D92DB1A4C67:
>> to=<[EMAIL PROTECTED]>, relay=none, delay=0.12,
>> delays=0.11/0.01/0/0, dsn=5.4.6, status=bounced (mail for
>> loki.mycompany.com loops back to myself)
>>
>> All I have to do is figure this out, and I think I've got it.
>
> a) You run the relay_host in a jail, don't have inet_interfaces hardcoded to
> the main IP, and postfix sees the jail IP on the local interface (that's the
> tricky one).
>
> or
>
> b) Your /usr/local/etc/postfix/transport is not as correct as you think
>
> --
> Mel

Not a), certainly. Perhaps b), but it's a single line, and looks the
same on both machines. Using spaces instead of tabs in both cases.

I've posed the question on the postfix list. We'll see what happens.

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


Re: Can't build all in /usr/src/crypto/openssh

2008-09-25 Thread Mel
On Thursday 25 September 2008 18:33:52 Andrew Falanga wrote:
> On Thu, Sep 25, 2008 at 9:49 AM, Mel
>
> <[EMAIL PROTECTED]> wrote:
> > On Thursday 25 September 2008 17:33:56 Andrew Falanga wrote:
> >> Hi,
> >>
> >> I've just updated my sources for 6.2-RELEASE.  It took me from p11 to
> >> p12.  The changes were quite minor.  Only changes were to UPDATING
> >> (obviously), channels.c in the openssh directory and a newvers.sh file
> >> in /usr/src/conf.  So, instead of rebuilding world, since the UPDATING
> >> notes say that the changes only affect sshd, I'm following the
> >> instructions in the handbook for section, "23.4.14.1. Do I need to
> >> re-make the world for every change?."  The instructions state, "... go
> >> to the appropriate sub-directories and make all install."  However,
> >> when I do this I get, "make: don't know how to make all.  Stop."
> >>
> >> So, what do I tell it to do?  Especially, considering that the
> >> Makefile.in in this directory (/usr/src/crypto/openssh), appears to
> >> have a default rule of "all."
> >
> > Openssh/ssl is distributed accross the source tree. crypto/openssh only
> > contains the imported sources, not the files that FreeBSD actually uses
> > to build them.
> > cd /usr/src/secure && make all install should work for you (but will also
> > rebuild openssl and sendmail).
> Because this will rebuild OpenSSL, would it be advisable to rebuild
> the world or is this sufficient?

Bad choice of words on my part. It won't rebuild openssl, if you still 
have /usr/obj/usr/src/* from last time. But it will go through the motions to 
see if stuff needs to be rebuilt. It will only rebuild libssh and anything 
that uses libssh:
# find . -name 'Makefile' -exec grep channels.c {} \+
./secure/lib/libssh/Makefile:   canohost.c channels.c cipher.c cipher-acss.c 
cipher-aes.c \

# find . -name 'Makefile' -exec grep -l 'DPADD.*LIBSSH' {} \+
./lib/libpam/modules/pam_ssh/Makefile
./secure/libexec/sftp-server/Makefile
./secure/libexec/ssh-keysign/Makefile
./secure/usr.bin/scp/Makefile
./secure/usr.bin/sftp/Makefile
./secure/usr.bin/ssh/Makefile
./secure/usr.bin/ssh-add/Makefile
./secure/usr.bin/ssh-agent/Makefile
./secure/usr.bin/ssh-keygen/Makefile
./secure/usr.bin/ssh-keyscan/Makefile
./secure/usr.sbin/sshd/Makefile

The pam module is the only one outside secure that depends on libssh.

-- 
Mel

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


Re: Flooded with emails to root -- URGG

2008-09-25 Thread Chris Pratt


On Sep 25, 2008, at 9:34 AM, David Southwell wrote:


Hi

I am running postfix.

Am receiving a flood of  emails that appear to emanate from Servers  
who have

received spam that has masqueraded [EMAIL PROTECTED] as the email source.

Could anyone please suggest the best way of dealing with these.  
Please bear in
mind I am not all that familiar with postfix so if anyone feels  
treating me
like an idiot and spoonfeeding the actual command s to use I would  
be most

appreciative 



I have no idea what a command would be to stop receipt. Cutting off the
original generation of the emails being spoofed is more to the point.

You may want to look at SPF (openspf.org). If your domain is listed  
with an

spf entry in DNS, you become less tempting as a domain to spoof. Over
time, it will all but cease. Once you've created an SPF DNS record, many
servers receiving mail spoofed for your domain will begin to drop it  
rather

than backscatter emails back to your server.

You should study the information on their site but in a nutshell, you  
create
a TXT record in DNS that lists your servers IP as the only valid  
machine to
send mail for your domain. This tells the others to drop emails from  
other

IPs using your domain. It's relatively effective and painless.

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


Re: Can't build all in /usr/src/crypto/openssh

2008-09-25 Thread Andrew Falanga
On Thu, Sep 25, 2008 at 9:49 AM, Mel
<[EMAIL PROTECTED]> wrote:
> On Thursday 25 September 2008 17:33:56 Andrew Falanga wrote:
>> Hi,
>>
>> I've just updated my sources for 6.2-RELEASE.  It took me from p11 to
>> p12.  The changes were quite minor.  Only changes were to UPDATING
>> (obviously), channels.c in the openssh directory and a newvers.sh file
>> in /usr/src/conf.  So, instead of rebuilding world, since the UPDATING
>> notes say that the changes only affect sshd, I'm following the
>> instructions in the handbook for section, "23.4.14.1. Do I need to
>> re-make the world for every change?."  The instructions state, "... go
>> to the appropriate sub-directories and make all install."  However,
>> when I do this I get, "make: don't know how to make all.  Stop."
>>
>> So, what do I tell it to do?  Especially, considering that the
>> Makefile.in in this directory (/usr/src/crypto/openssh), appears to
>> have a default rule of "all."
>
>
> Openssh/ssl is distributed accross the source tree. crypto/openssh only
> contains the imported sources, not the files that FreeBSD actually uses to
> build them.
> cd /usr/src/secure && make all install should work for you (but will also
> rebuild openssl and sendmail).
>
> --
> Mel
>
> Problem with today's modular software: they start with the modules
>and never get to the software part.
>


Because this will rebuild OpenSSL, would it be advisable to rebuild
the world or is this sufficient?

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


Re: periodic not working?

2008-09-25 Thread Mel
On Thursday 25 September 2008 17:55:39 Kurt Buff wrote:
> On Thu, Sep 25, 2008 at 2:35 AM, Mel
>
> <[EMAIL PROTECTED]> wrote:
> > On Thursday 25 September 2008 03:07:13 Kurt Buff wrote:
> >> I've got postfix installed for the MTA, and the main.cf, master.cf,
> >> alias db hash and transport.db hash all look fine
> >>
> >> crontab looks just fine, too.
> >>
> >> I've run 'periodic daily' by hand from a root prompt, and get nothing,
> >> whereas on the working machine I do get my email.
> >>
> >> Where might I start looking to fix this problem?
> >
> > They are in not in mailq? How about /var/mail/root then?
> >
> > --
> > Mel
>
> I've not found a directory called mailq. /var/mail/root does not exist
> either.
>
> I've also checked in /var/spool/postfix/* and all directories are
> empty or have zero-length files with dates from the installation of
> postfix.
>
> And, now I think I've found the problem - in /var/log/maillog, I find
> the following:
>
> Sep 25 03:01:21 loki postfix/smtp[24894]: D92DB1A4C67:
> to=<[EMAIL PROTECTED]>, relay=none, delay=0.12,
> delays=0.11/0.01/0/0, dsn=5.4.6, status=bounced (mail for
> loki.mycompany.com loops back to myself)
>
> All I have to do is figure this out, and I think I've got it.

a) You run the relay_host in a jail, don't have inet_interfaces hardcoded to 
the main IP, and postfix sees the jail IP on the local interface (that's the 
tricky one).

or

b) Your /usr/local/etc/postfix/transport is not as correct as you think

-- 
Mel

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


Flooded with emails to root -- URGG

2008-09-25 Thread David Southwell
Hi

I am running postfix.

Am receiving a flood of  emails that appear to emanate from Servers who have 
received spam that has masqueraded [EMAIL PROTECTED] as the email source. 

Could anyone please suggest the best way of dealing with these. Please bear in 
mind I am not all that familiar with postfix so if anyone feels treating me 
like an idiot and spoonfeeding the actual command s to use I would be most 
appreciative  

I have just installed procmail but not yet activated it. (Incidentally I do 
have a number of virtual domains but the only one that seems to get flooded 
is the primary hostname.

There have also been numerous failed hacking attempts on to the system but as 
they keep trying to get in using services that are not actually running they 
have got nowhere (so far!!)

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


Re: AW: ethernet statistics

2008-09-25 Thread Mel
On Thursday 25 September 2008 17:52:07 Dan Nelson wrote:
> In the last episode (Sep 25), Vonarburg, David said:
> > netstat -i is ok for a user to get system statictics. I'd like get
> > exactly this information but as a function call inside a "C" language
> > application
>
> netstat -i still digs into kernel memory to get those stats, I think,
> so you can't directly access those numbers as a regular user.

All those vars are available through sysctl. For an example, look in 
src/in_sysctl.c from net/bmon port. 

-- 
Mel

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


Re: periodic not working?

2008-09-25 Thread Kurt Buff
On Thu, Sep 25, 2008 at 2:35 AM, Mel
<[EMAIL PROTECTED]> wrote:
> On Thursday 25 September 2008 03:07:13 Kurt Buff wrote:
>
>> I've got postfix installed for the MTA, and the main.cf, master.cf,
>> alias db hash and transport.db hash all look fine
>>
>> crontab looks just fine, too.
>>
>> I've run 'periodic daily' by hand from a root prompt, and get nothing,
>> whereas on the working machine I do get my email.
>>
>> Where might I start looking to fix this problem?
>
> They are in not in mailq? How about /var/mail/root then?
>
> --
> Mel

I've not found a directory called mailq. /var/mail/root does not exist either.

I've also checked in /var/spool/postfix/* and all directories are
empty or have zero-length files with dates from the installation of
postfix.

And, now I think I've found the problem - in /var/log/maillog, I find
the following:

Sep 25 03:01:21 loki postfix/smtp[24894]: D92DB1A4C67:
to=<[EMAIL PROTECTED]>, relay=none, delay=0.12,
delays=0.11/0.01/0/0, dsn=5.4.6, status=bounced (mail for
loki.mycompany.com loops back to myself)

All I have to do is figure this out, and I think I've got it.

More research...

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


Re: AW: ethernet statistics

2008-09-25 Thread Dan Nelson
In the last episode (Sep 25), Vonarburg, David said:
> netstat -i is ok for a user to get system statictics. I'd like get
> exactly this information but as a function call inside a "C" language
> application

netstat -i still digs into kernel memory to get those stats, I think,
so you can't directly access those numbers as a regular user.  You can
shell out and parse the output of "netstat -i", or do some snmp queries
to your local net-snmp daemon.  Checking the dev.em.0.stats sysctl node
is another option, and gives you some more hardware status counters
than netstat, but not all drivers support it (em does so you're okay).

-- 
Dan Nelson
[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: Can't build all in /usr/src/crypto/openssh

2008-09-25 Thread Mel
On Thursday 25 September 2008 17:33:56 Andrew Falanga wrote:
> Hi,
>
> I've just updated my sources for 6.2-RELEASE.  It took me from p11 to
> p12.  The changes were quite minor.  Only changes were to UPDATING
> (obviously), channels.c in the openssh directory and a newvers.sh file
> in /usr/src/conf.  So, instead of rebuilding world, since the UPDATING
> notes say that the changes only affect sshd, I'm following the
> instructions in the handbook for section, "23.4.14.1. Do I need to
> re-make the world for every change?."  The instructions state, "... go
> to the appropriate sub-directories and make all install."  However,
> when I do this I get, "make: don't know how to make all.  Stop."
>
> So, what do I tell it to do?  Especially, considering that the
> Makefile.in in this directory (/usr/src/crypto/openssh), appears to
> have a default rule of "all."


Openssh/ssl is distributed accross the source tree. crypto/openssh only 
contains the imported sources, not the files that FreeBSD actually uses to 
build them.
cd /usr/src/secure && make all install should work for you (but will also 
rebuild openssl and sendmail).

-- 
Mel

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


Re: Limiting closed port RST

2008-09-25 Thread Manolis Kiagias

Vlad GURDIGA wrote:

Hello,

I've started an Apache bechmark with ab today and a lot of such
messages from kernel appeared in /var/log/messages:

Sep 25 16:16:34 dev01 kernel: Limiting closed port RST response from
270 to 200 packets/sec
Sep 25 16:19:10 dev01 kernel: Limiting closed port RST response from
475 to 200 packets/sec
Sep 25 16:19:15 dev01 kernel: Limiting closed port RST response from
220 to 200 packets/sec
Sep 25 16:19:19 dev01 kernel: Limiting closed port RST response from
243 to 200 packets/sec

What do they mean?

  


This normally means someone is repeatedly attempting to connect to a 
closed port, i.e. you are getting port-scanned!
Normally the kernel limits this response so the connection is not 
overwhelmed by the replies


Maybe your benchmark attempts to also connect to a port other than 80? 
(i.e. 443 and you are not running https)


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


Re: freebsd 7.1 - Report Hardware

2008-09-25 Thread Fian Dracestar
Thanks to FreeBSD support 
FreeBSD 7.1 still cannot detect ethernet gigabit sis 191
report my hardware on laptop

localhost# pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x50501019 chip=0x06711039 
rev=0x00 hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
class  = bridge
subclass   = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x00031039 rev=0x00 
hdr=0x01
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS760 Virtual PCI to PCI Bridge (AGP)'
class  = bridge
subclass   = PCI-PCI
[EMAIL PROTECTED]:2:0: class=0x060100 card=0x5a001019 chip=0x09681039 rev=0x01 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
class  = bridge
subclass   = PCI-ISA
[EMAIL PROTECTED]:2:5:   class=0x01018a card=0x5a001019 chip=0x55131039 
rev=0x01 hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5513 EIDE Controller (A,B step)'
class  = mass storage
subclass   = ATA
[EMAIL PROTECTED]:3:0: class=0x0c0310 card=0x5a001019 chip=0x70011039 rev=0x0f 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5597/8 Universal Serial Bus Controller'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:3:1: class=0x0c0310 card=0x5a001019 chip=0x70011039 rev=0x0f 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5597/8 Universal Serial Bus Controller'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:3:3: class=0x0c0320 card=0x5a001019 chip=0x70021039 rev=0x00 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS7002 USB 2.0 Enhanced Host Controller'
class  = serial bus
subclass   = USB
[EMAIL PROTECTED]:4:0: class=0x02 card=0x5a001019 chip=0x01911039 rev=0x02 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SIS191 SIS191'
class  = network
subclass   = ethernet
[EMAIL PROTECTED]:5:0:   class=0x01018f card=0x11831039 chip=0x11831039 
rev=0x03 hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
class  = mass storage
subclass   = ATA
[EMAIL PROTECTED]:15:0: class=0x040300 card=0x5a001019 chip=0x75021039 rev=0x00 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
class  = multimedia
[EMAIL PROTECTED]:0:0: class=0x03 card=0x50501019 chip=0x63511039 rev=0x10 
hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
class  = display
subclass   = VGA



localhost# vi /var/run/dmesg.boot
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RC2 #30: Sun Jan  6 01:30:27 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU T5550  @ 1.83GHz (1833.31-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
  
Features=0xbfebfbff
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RC2 #30: Sun Jan  6 01:30:27 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU T5550  @ 1.83GHz (1833.31-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
  
Features=0xbfebfbff
  Features2=0xe39d
  AMD Features=0x2010
  AMD Features2=0x1
  Cores per package: 2
real memory  = 936968192 (893 MB)
avail memory = 894742528 (853 MB)
ACPI APIC Table: 
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Jan  6 2008 01:30:01)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
cpu0:  on acpi0
est0:  on cpu0
p4tcc0:  on cpu0
battery0:  on acpi0
acpi_acad0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
isab0:  at device 2.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1080-0x108f at device 2.5 on pci0
ata0:  on atapci0
ata1:  on atapci0
ohci0:  mem 0xb0104000-0xb0104fff irq 20 at device 3.0 
on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports wit

RE: Netprint perl script from Handbook doesn't work

2008-09-25 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jonathan
> McKeown
> Sent: Thursday, September 25, 2008 12:41 AM
> To: freebsd-questions@freebsd.org
> Subject: Re: Netprint perl script from Handbook doesn't work
>
>
> On Wednesday 24 September 2008 17:12:36 Dan Nelson wrote:
> > In the last episode (Sep 24), Andy Kosela said:
> > > The netprint perl script provided in the Handbook (9.4.3.2) is not
> > > working.. or am I missing something:
> > >
> > > plotinus:~> cat new.txt | lp.sh
> > > Can't contact 10.10.21.12: Address family not supported by protocol
> > > family at /usr/local/libexec/netprint line 21.
> >
> > Can you telnet to that ip address ("telnet 10.10.21.12 9100", or
> > whatever port you're using)?
> >
> > > plotinus:> cat /usr/local/libexec/netprint
> > > #!/usr/bin/perl
> > > #
> > > #  netprint - Text filter for printer attached to network
> > > #  Installed in /usr/local/libexec/netprint
> > > #
> > > $#ARGV eq 1 || die "Usage: $0  ";
> > >
> > > $printer_host = $ARGV[0];
> > > $printer_port = $ARGV[1];
> > >
> > > require 'sys/socket.ph';
> > >
> > > ($ignore, $ignore, $protocol) = getprotobyname('tcp');
> > > ($ignore, $ignore, $ignore, $ignore, $address)
> > >= gethostbyname($printer_host);
> > >
> > > $sockaddr = pack('S n a4 x8', &AF_INET, $printer_port, $address);
> > >
> > > socket(PRINTER, &PF_INET, &SOCK_STREAM, $protocol)
> > >
> > >|| die "Can't create TCP/IP stream socket: $!";
> > >
> > > connect(PRINTER, $sockaddr) || die "Can't contact $printer_host: $!";
> > > while () { print PRINTER; }
> > > exit 0;
> >
> > Wow.  That's a really complicated way to say
> >
> >   #! /bin/sh
> >   nc $1 $2
>
> It's also ugly (and very old-fashioned) Perl. Starting at (and
> replacing) the
> require 'sys/socket.ph' line (which is Perl 4, I think), it
> should look more
> like this (with appropriate error-checking added):
>
> use Socket;
> my $proto = getprotobyname('tcp');
> socket(my $socket, PF_INET, SOCK_STREAM, $proto);
> my $sock_in = sockaddr_in($printer_port, inet_aton($printer_host));
> connect($socket, $sock_in);
>
> Although this rewrite removes the need, if you want in general to
> ignore some
> of the return values of a function returning a list, the usual way is to
> assign to undef:
>
> (undef, undef, undef, undef, $address) = gethostbyname($printer_host);
>
> Although when you're throwing away that many, it makes more sense
> to index the
> returned list in the same way you would index an array:
>
> $address = (gethostbyname($printer_host))[4] # returns 5th element
>
> I really should submit a doc patch for this (incorporating Dan's sterling
> suggestion of nc $1 $2).
>

Jonathan,

  Submit a patch but rewrite the script as well as include use of
the nc utility.

  It is important that when possible the handbook contain solutions
that are portable to other UNIX variants.  Everything in the handbook
is indexed in search engines and we want people looking for solutions
to be able to use the Handbook, this can help them get interested
in FreeBSD.

Ted

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


Can't build all in /usr/src/crypto/openssh

2008-09-25 Thread Andrew Falanga
Hi,

I've just updated my sources for 6.2-RELEASE.  It took me from p11 to
p12.  The changes were quite minor.  Only changes were to UPDATING
(obviously), channels.c in the openssh directory and a newvers.sh file
in /usr/src/conf.  So, instead of rebuilding world, since the UPDATING
notes say that the changes only affect sshd, I'm following the
instructions in the handbook for section, "23.4.14.1. Do I need to
re-make the world for every change?."  The instructions state, "... go
to the appropriate sub-directories and make all install."  However,
when I do this I get, "make: don't know how to make all.  Stop."

So, what do I tell it to do?  Especially, considering that the
Makefile.in in this directory (/usr/src/crypto/openssh), appears to
have a default rule of "all."

Andy

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


AW: ethernet statistics

2008-09-25 Thread Vonarburg, David
Hi,
netstat -i is ok for a user to get system statictics.
I'd like get exactly this information but as a function call inside a "C"
language application
David

-Ursprüngliche Nachricht-
Von: Erik Osterholm [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 25. September 2008 17:24
An: Vonarburg, David
Cc: freebsd-questions@freebsd.org
Betreff: Re: ethernet statistics

On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:
> Hi,
> I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
> How can I read out the statistics of the card from software?
> (num bytes received, packets sent and more)
> 
> Thanks in advance
> David

Is netstat -i what you're looking for?

Erik
___
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: ethernet statistics

2008-09-25 Thread Wojciech Puchar

systat, then type :ifstat


On Thu, 25 Sep 2008, Vonarburg, David wrote:


Hi,
I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
How can I read out the statistics of the card from software?
(num bytes received, packets sent and more)

Thanks in advance
David


___
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: ethernet statistics

2008-09-25 Thread Gian Paolo Buono
Hi,

try systat and  :ifstat

bye

On Thu, Sep 25, 2008 at 5:23 PM, Erik Osterholm <
[EMAIL PROTECTED]> wrote:

> On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:
> > Hi,
> > I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
> > How can I read out the statistics of the card from software?
> > (num bytes received, packets sent and more)
> >
> > Thanks in advance
> > David
>
> Is netstat -i what you're looking for?
>
> Erik
> ___
> 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: ethernet statistics

2008-09-25 Thread Erik Osterholm
On Thu, Sep 25, 2008 at 04:39:35PM +0200, Vonarburg, David wrote:
> Hi,
> I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
> How can I read out the statistics of the card from software?
> (num bytes received, packets sent and more)
> 
> Thanks in advance
> David

Is netstat -i what you're looking for?

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


Limiting closed port RST

2008-09-25 Thread Vlad GURDIGA
Hello,

I've started an Apache bechmark with ab today and a lot of such
messages from kernel appeared in /var/log/messages:

Sep 25 16:16:34 dev01 kernel: Limiting closed port RST response from
270 to 200 packets/sec
Sep 25 16:19:10 dev01 kernel: Limiting closed port RST response from
475 to 200 packets/sec
Sep 25 16:19:15 dev01 kernel: Limiting closed port RST response from
220 to 200 packets/sec
Sep 25 16:19:19 dev01 kernel: Limiting closed port RST response from
243 to 200 packets/sec

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


Re: Wrong Build Environment

2008-09-25 Thread Martin McCormick
One of many greatly appreciated suggestions Boris Samorodov wrote:

> % grep  /var/db/pkg/p5-*/+CONTENTS

While looking in that directory, I noticed the good
system had net-snmp-5.2.2_1

The broken system had had the wrong version of net-snmp
earlier in the week but  I remember doing a deinstall which left
no net-snmp distribution at all, possibly the problem.

The broken system is newer and the net-snmp5x port there
is net-snmp5.3x so I installed that. It did lots of things to
perl5.8 but when done, I still had the same problem of wrong
files in /usr/local/lib/perl5/site_perl/5.8.8.

The make all-depends-list output from both systems was
identical.

Finally, more out of frustration than logical procedure,
I got an un-updated port of mrtg whose Makefile was dated in
2007. Next, I went to the broken system and for the
ten-thousandth time, did make deinstall. A ls -l of
/usr/local/lib/perl5/site_perl/5.8.8 verified that mrtg-related
files were gone.

I then did rm -r on the mrtg port I had been building
with and un-tar'd the older mrtg port.

make install ran and low and behold, the 5.8 directory
in /usr/local/lib/perl5/site_perl now had the proper list of
files.

I then put back the newer port of mrtg whose Makefile is
dated in June, did a make deinstall and make install cycle and
expected to see the problem again. Instead, the perl library
changes, most likely based upon the installation of the proper
net-snmp package survived and all now appears to be well.

Thanks to everybody who helped. This was one of the most
puzzling UNIX trouble-shooting adventures I have been on in
years.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ethernet statistics

2008-09-25 Thread Vonarburg, David
Hi,
I am using Intel PRO/1000PT Server adaptor with freeBSD 7.0.
How can I read out the statistics of the card from software?
(num bytes received, packets sent and more)

Thanks in advance
David


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


command line tool to format or display tab-separate-value?

2008-09-25 Thread Zhang Weiwu
Hello. (to read this email you probably need to have a font that can
display ideographs)

I wish to be able to glance over my datasheet in tab-separate-value
format. A typical data file is like this:

池田武 环境友好公益协会[EMAIL PROTECTED]   
蔡涛  世界自然基金会 [EMAIL PROTECTED]   
王香奕 中国民促会   [EMAIL PROTECTED]   
魏娟  世界自然保护联盟[EMAIL PROTECTED]   
吴若冰 美国环保协会  [EMAIL PROTECTED]   
熊昆  北京地球村   [EMAIL PROTECTED]   
[EMAIL PROTECTED]   
易懿敏 自然之友[EMAIL PROTECTED]   
费晓静 绿色大学生论坛 [EMAIL PROTECTED]   

A "Properly formatted" version readable on the console would be like this:

池田武   环境友… takesh…
蔡涛 世界自… [EMAIL PROTECTED]
王香奕   中国民… wangxi…
魏娟 世界自… weijua…
吴若冰   美国环… [EMAIL PROTECTED]
熊昆 北京地… kimxio…
 [EMAIL PROTECTED]
易懿敏   自然之… yiyimi…
费晓静   绿色大… yzxiao… 

Is there a tool to output the "properly formatted" version?

I guess I could easily write one with awk or C, but just in case someone
already wrote such tool...

Thanks for information in advance!

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


Re: ccache on amd64

2008-09-25 Thread Mel
On Thursday 25 September 2008 12:50:25 Mel wrote:
> On Monday 22 September 2008 04:55:39 Brian wrote:
> > Has there been any change in the above?  On a single core i386, the
> > documentation described notes work properly.  However, on a AM2 based
> > machine with the amd64 version of freebsd (both 6.4 Beta and 7.0 show
> > this behavior) I consistently get the below error.
>
> Ok - I can reproduce this, but not even the LIB32_COMPAT libs, but already
> earlier. The core dump shows an error in memcpy(). I'll rebuild ccache with
> debug symbols and see if I can figure this out.

Ok, cracked it. ccache will dump core, if the argument list >255 arguments, 
most likely because the page size is 2048 bytes, but I'm guessing here. What 
happens in x_realloc is that it wants to copy the 2048+8 from the old pointer 
to the new, yet the old pointer is only 2040 bytes big.
I think it goes ok, till 2048, because 2048 is allocated regardless. You won't 
see this on 32-bits, because you don't hit this size as the pointer size is 
only 4 bytes. Most likely, you will hit this bug with argument list >510 
arguments.

The patch inlined below my sig will fix the problem. I'll file a PR so that 
ahze@ can fix it properly. Save it 
as /usr/ports/devel/ccache/files/patch-args.c and reinstall ccache.

-- 
Mel

--- args.c.orig 2004-09-13 02:38:30.0 -0800
+++ args.c  2008-09-25 04:58:35.0 -0800
@@ -37,7 +37,13 @@

 void args_add(ARGS *args, const char *s)
 {
+#ifndef __FreeBSD__
args->argv = (char**)x_realloc(args->argv, (args->argc + 2) * 
sizeof(char *));
+#else
+   args->argv = reallocf((char *)args->argv, (args->argc + 2) * 
sizeof(char *));
+   if( args->argv == NULL )
+   fatal("out of memory in reallocf");
+#endif
args->argv[args->argc] = x_strdup(s);
args->argc++;
args->argv[args->argc] = NULL;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ScreenCapturing tool for FreeBSD-7.0 Release

2008-09-25 Thread Frank Shute
On Wed, Sep 24, 2008 at 09:09:23AM +, dhaneshk k wrote:
>
> 
> HI all ;
> 
> Can anyone recommend a working screencapturing tool such as XvidCap
> for FreeBSD-7.0 , 
> 
> I installed XvidCap but its not working any other tools OR
> Solutions for doing screen Capturing ..
> 
> It will be useful for  demo presentations  alot..
> 
> Thanks in advance Dhanesh
> 

Others have mentioned other tools. One that will do what you want is
graphics/xv 

Fire it up, right click on the splash screen and click "Grab".

xv is also a bit more lightweight than Gimp or ImageMagik.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


RE: Why not GNU cmp?

2008-09-25 Thread Bob McConnell
On Behalf Of Chad Perrin
>On Thu, Sep 25, 2008 at 08:34:50AM +0100, Kris Kennaway wrote:
>> Unga wrote:
>> 
>> >I was wondering why FreeBSD wrote their own version of cmp. If it
just the 
>> >license, then that's fine. I prefer the BSD versions of diff, etc.
when 
>> >available. 
>> 
>> You are asking the wrong questions: why did GNU write their own
version 
>> of cmp?  FreeBSD's dates to 1987.
> 
> Y'know -- that's a really good question.

The answer is simple. The BSD license does not guarantee freedom as
defined by RMS.

 * The freedom to run the program, for any purpose (freedom 0).
 * The freedom to study how the program works and adapt it to
   your needs (freedom 1). Access to the source code is a precondition.
 * The freedom to redistribute copies so you can help your neighbor
   (freedom 2).
 * The freedom to improve the program and release your improvements
   to the public, so that the whole community benefits (freedom 3).
   Access to the source code is a precondition.

For example, Microsoft uses many of the TCP applications and drivers
from BSD, but will not allow access to their source code as required by
freedoms 1 and 3.

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


Re: Why not GNU cmp?

2008-09-25 Thread Ross Cameron
On Thu, Sep 25, 2008 at 10:48 AM, Chad Perrin <[EMAIL PROTECTED]> wrote:

> On Thu, Sep 25, 2008 at 08:34:50AM +0100, Kris Kennaway wrote:
>
> > You are asking the wrong questions: why did GNU write their own version
> > of cmp?  FreeBSD's dates to 1987.
>
> Y'know -- that's a really good question.
>

Not really its quite simple,... much like the *BSD camp prefers all their
tools to be BSD licensed, the GNU camp want all their tools to be GPL
licensed.
They have their reason's for wanting to enforce the sharing of code
improvements.

I personally find that for different projects I prefer to use different OSs
as a base, some are GNU/Linux based and others are *BSD based.
Depends on the client and intended roadmap of the project.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ieyasu Tokugawa has invited you to join Friendster

2008-09-25 Thread Ieyasu Tokugawa
You're invited to join Ieyasu Tokugawa's network of friends. 

By joining Friendster, you can reconnect with old
friends, meet new friends, start a blog, build a custom
profile, keep track of birthdays, and so
much more!

You can even stay in touch if you move away, switch
email addresses, or lose your mobile phone.

Click below to join Ieyasu's network.

http://www.friendster.com/join.php?inviteref=49973858&invite=OjpOD3NsZbHdV6uQaDD0Y_LvznXcgyAPvZ5n1wMCj-k*&lang=en-US

*
If you do not wish to receive notification emails from Friendster, please click 
below:
http://www.friendster.com/blockemails.php?invite=ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


My unqualified host name

2008-09-25 Thread Sean Cavanaugh

> Dunno about the OP, but my FreeBSD machines do not have nor need
> valid FQDNs because they sit behind a NAT firewall (and therefore
> do not have externally-identifiable IP addresses). I want hostname
> to simply return the unqualified host name (say, foo), not foo.com
> nor foo.uucp nor even foo.bogus. I don't need sendmail to handle
> anything but purely local traffic, such as the periodic reports to
> root, and it's just fine for it to identify itself simply as foo.
> We were able to do things like this back in the days of SunOS 4, so
> why should it be difficult to accomplish today? Indeed, why should
> it not be the default mode of operation when hostname returns an
> unqualified name?
 
 
Common practice to handle naming was to use "computer.network.TLD" such as 
"workstation1.freebsd.org" for the internet facing side of your network. 
Internal, if you were not running a split-horizon DNS setup would be to use 
"network.local" or simply "local" for the effect of 
"workstation1.freebsd.local" or "workstation1.local". therefore if for some 
strange reason it ever did get the FQDN outside the local network, nothing 
would be able to resolve it to make it an issue since there is no TLD of .Local 
on the internet but could easily be added to an internal DNS server for 
personal use.
 
 -Sean 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ccache on amd64

2008-09-25 Thread Mel
On Monday 22 September 2008 04:55:39 Brian wrote:
> Has there been any change in the above?  On a single core i386, the
> documentation described notes work properly.  However, on a AM2 based
> machine with the amd64 version of freebsd (both 6.4 Beta and 7.0 show
> this behavior) I consistently get the below error.

Ok - I can reproduce this, but not even the LIB32_COMPAT libs, but already 
earlier. The core dump shows an error in memcpy(). I'll rebuild ccache with 
debug symbols and see if I can figure this out.

-- 
Mel

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


Re: ccache on amd64

2008-09-25 Thread Mel
On Thursday 25 September 2008 02:45:20 RW wrote:
> On Thu, 25 Sep 2008 01:00:07 +0200
>
> Mel <[EMAIL PROTECTED]> wrote:
> > Since it fails on the link, I wonder if the wrong linker is called by
> > ccache. I'll see what I can find out when it quiets down, right now
> > machine is under heavy load.
> >
> > (It might just be the path you set in /etc/profile. I use only
> > the /etc/make.conf version, not set the path additionally and
> > make -f /usr/src/Makefile.inc1 -V LIB32WMAKE shows it's mangeling the
> > path)
>
> world-cc does this:
>
> #!/bin/sh
> unset CCACHE_PATH
> export CCACHE_HASH_COMPILER
> exec /usr/local/libexec/ccache/cc "$@"
>
> So it unsets any ccache path variable set in /etc/profile.

Yes. But not PATH. I'm worried about PATH, not CCACHE_PATH.
From ccache-howto-freebsd.txt:
For Korn/Bourne shells Add the following to /etc/profile:
 export PATH=/usr/local/libexec/ccache:$PATH
 export CCACHE_PATH=/usr/bin:/usr/local/bin

I never set this bit as I don't want my path globally mangeled and still 
ccache works correctly for ports:
# ccache -s
cache directory /var/db/ccache/root
cache hit  68324
cache miss 62348
called for link 5376
multiple source files 22
compile failed  1260
preprocessor error  1969
not a C/C++ file1817
autoconf compile/link  14821
unsupported compiler option 1175
no input file   4364
files in cache124696
cache size   2.1 Gbytes
max cache size  15.0 Gbytes

>
> For the benefit of anyone that didn't follow the previous thread, the
> issue was that in building 32-bit libraries under amd64, extra
> arguments get passed to the compiler inside the CC variable
> definition, hence the problem with overriding CC/CXX. I doubt that those
> updated make.conf settings have had much testing, they were just
> something suggested in a thread.

Yeah, same here. The only difference is that they look for ccache binary and 
write the CC variable more fancy.

>
> BTW I would suggest CCACHE_HASH_COMPILER is set globally, otherwise
> building world invalidates any cache object built with the default
> compiler. Only having it on for world is the default, but it seems
> perverse to me - I see most of the benefit of ccache on port building.

Well, you can use world-cc for ports, like I do:
.if 
(!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*) || 
!empty(.CURDIR:M/usr/ports*)) 
&& !defined(NOCCACHE)
CC=/usr/local/libexec/ccache/world-cc
CXX=/usr/local/libexec/ccache/world-c++
.endif

The only things that choke are things configured by devel/scons, tho I have to 
find out why. I have it patched now by echo NOCCACHE=yes 
>cat/offending_port/Makefile.local.

-- 
Mel

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


Re: Wrong Build Environment

2008-09-25 Thread Boris Samorodov
On Wed, 24 Sep 2008 22:10:12 -0500 Martin McCormick wrote:

>   I can't think what bone-head thing I did to cause this,
> but I've ruled out problems with the mrtg port or perl5.8. I
> actually built perl5.8 from a slightly older port, once, and got
> the same results. The port of mrtg is fairly old and was
> installed successfully on the system that works and also
> installed successfully on the broken system except it can't find
> its libraries.

>   Any ideas?

1. Make sure that you really have only one perl version and all
dependent ports use the same version. A simple command may help:
-
% ls -l /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5:
total 6
drwxr-xr-x  46 root  wheel  3072 23 sep 19:06 5.8.8
drwxr-xr-x   3 root  wheel   512 23 sep 19:06 site_perl

/usr/local/lib/perl5/site_perl:
total 2
drwxr-xr-x  6 root  wheel  512 24 sep 13:53 5.8.8
-
You should get directories only for one perl version. If there are
others than find out which perl dependent ports were not updated.

2. Make sure that you really don't have that file at your system.
Find(1) may help here while locate(1) may have a stale database.

3. Make sure your pkg database doesn't register the meeded file as
installed. The following command may give some info:
-
% grep  /var/db/pkg/p5-*/+CONTENTS
-

4. Compare an output of the command "make all-depends-list" at both
systems for the mrtg port.

5. Not using "make clean" may give one a trouble. Ex., someone
deletted a port by a pkg_delete command but $WRKDIR contains a flag
that this port had been installed -- here is a problem!

6. Examine configure.log file for the mrtg port to find out what this
port is looking for to determine an existance of the needed port. My
customer got a problem after cancelling a port installation at a
middle of the process: header files were installed but libraries
were not and a port was not registered at a pkg database. But those
header files were used by other port's Makefiles to detect if a port
is installed...


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


Re: periodic not working?

2008-09-25 Thread Mel
On Thursday 25 September 2008 03:07:13 Kurt Buff wrote:

> I've got postfix installed for the MTA, and the main.cf, master.cf,
> alias db hash and transport.db hash all look fine
>
> crontab looks just fine, too.
>
> I've run 'periodic daily' by hand from a root prompt, and get nothing,
> whereas on the working machine I do get my email.
>
> Where might I start looking to fix this problem?

They are in not in mailq? How about /var/mail/root then?

-- 
Mel

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


Re: Why not GNU cmp?

2008-09-25 Thread Chad Perrin
On Thu, Sep 25, 2008 at 08:34:50AM +0100, Kris Kennaway wrote:
> Unga wrote:
> 
> >I was wondering why FreeBSD wrote their own version of cmp. If it just the 
> >license, then that's fine. I prefer the BSD versions of diff, etc. when 
> >available. 
> 
> You are asking the wrong questions: why did GNU write their own version 
> of cmp?  FreeBSD's dates to 1987.

Y'know -- that's a really good question.

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Paul Graham: "SUVs are gross because they're the solution to a gross
problem. (How to make minivans look more masculine.)"


pgpFp5MKuQQ2Y.pgp
Description: PGP signature


Re: Why not GNU cmp?

2008-09-25 Thread Unga
--- On Thu, 9/25/08, Kris Kennaway <[EMAIL PROTECTED]> wrote:

> From: Kris Kennaway <[EMAIL PROTECTED]>
> Subject: Re: Why not GNU cmp?
> To: [EMAIL PROTECTED]
> Cc: freebsd-questions@freebsd.org
> Date: Thursday, September 25, 2008, 3:34 PM
> Unga wrote:
> 
> > In my past experience, the GNU ncurses and Flex
> (http://flex.sourceforge.net/) are simple not compatible
> with FreeBSD even though Flex is licensed under BSD. I
> wanted to know whether the GNU cmp is also the same fate
> other than the license because all these GNU tools comes in
> one package, Diffutils.
> 
> Both simply are compatible with FreeBSD.
> 
Kris, thanks for confirming both GNU cmp and FreeBSD cmp are compatible with 
FreeBSD.

I wish FreeBSD guys can finalize the "Porting BSD-licensed text-processing 
tools from OpenBSD" soon.


> > I was wondering why FreeBSD wrote their own version of
> cmp. If it just the license, then that's fine. I prefer
> the BSD versions of diff, etc. when available. 
> 
> You are asking the wrong questions: why did GNU write their
> own version 
> of cmp?  FreeBSD's dates to 1987.
> 
Oops, I didn't know GNU restricted the **truely free** cmp and sugar-coated it 
as "Free" :)

Best 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: Netprint perl script from Handbook doesn't work

2008-09-25 Thread Jonathan McKeown
On Wednesday 24 September 2008 17:12:36 Dan Nelson wrote:
> In the last episode (Sep 24), Andy Kosela said:
> > The netprint perl script provided in the Handbook (9.4.3.2) is not
> > working.. or am I missing something:
> >
> > plotinus:~> cat new.txt | lp.sh
> > Can't contact 10.10.21.12: Address family not supported by protocol
> > family at /usr/local/libexec/netprint line 21.
>
> Can you telnet to that ip address ("telnet 10.10.21.12 9100", or
> whatever port you're using)?
>
> > plotinus:> cat /usr/local/libexec/netprint
> > #!/usr/bin/perl
> > #
> > #  netprint - Text filter for printer attached to network
> > #  Installed in /usr/local/libexec/netprint
> > #
> > $#ARGV eq 1 || die "Usage: $0  ";
> >
> > $printer_host = $ARGV[0];
> > $printer_port = $ARGV[1];
> >
> > require 'sys/socket.ph';
> >
> > ($ignore, $ignore, $protocol) = getprotobyname('tcp');
> > ($ignore, $ignore, $ignore, $ignore, $address)
> >= gethostbyname($printer_host);
> >
> > $sockaddr = pack('S n a4 x8', &AF_INET, $printer_port, $address);
> >
> > socket(PRINTER, &PF_INET, &SOCK_STREAM, $protocol)
> >
> >|| die "Can't create TCP/IP stream socket: $!";
> >
> > connect(PRINTER, $sockaddr) || die "Can't contact $printer_host: $!";
> > while () { print PRINTER; }
> > exit 0;
>
> Wow.  That's a really complicated way to say
>
>   #! /bin/sh
>   nc $1 $2

It's also ugly (and very old-fashioned) Perl. Starting at (and replacing) the 
require 'sys/socket.ph' line (which is Perl 4, I think), it should look more 
like this (with appropriate error-checking added):

use Socket;
my $proto = getprotobyname('tcp');
socket(my $socket, PF_INET, SOCK_STREAM, $proto);
my $sock_in = sockaddr_in($printer_port, inet_aton($printer_host));
connect($socket, $sock_in);

Although this rewrite removes the need, if you want in general to ignore some 
of the return values of a function returning a list, the usual way is to 
assign to undef:

(undef, undef, undef, undef, $address) = gethostbyname($printer_host);

Although when you're throwing away that many, it makes more sense to index the 
returned list in the same way you would index an array:

$address = (gethostbyname($printer_host))[4] # returns 5th element

I really should submit a doc patch for this (incorporating Dan's sterling 
suggestion of nc $1 $2).

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


Re: Why not GNU cmp?

2008-09-25 Thread Kris Kennaway

Unga wrote:


In my past experience, the GNU ncurses and Flex (http://flex.sourceforge.net/) 
are simple not compatible with FreeBSD even though Flex is licensed under BSD. 
I wanted to know whether the GNU cmp is also the same fate other than the 
license because all these GNU tools comes in one package, Diffutils.


Both simply are compatible with FreeBSD.

I was wondering why FreeBSD wrote their own version of cmp. If it just the license, then that's fine. I prefer the BSD versions of diff, etc. when available. 


You are asking the wrong questions: why did GNU write their own version 
of cmp?  FreeBSD's dates to 1987.


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


Re: Syslogd - Different Files

2008-09-25 Thread Laurence Mayer
This sends the logs of local and remote machines to both the 
/var/log/message AND TO /var/log/remote.


So it actually duplicates /var/log/messages.

Does this work in your environment?

Can you clarify the -a IP1/mask1 etc?

Thanks
Laurence


Wojciech Puchar wrote:

I have read the man pages:

 



However it is very confusing what exactly to add to the syslog.conf 
file. I have tried numerous variations but still no success.


example on serwer blah.AAA.com

+blah.AAA.com
*.* -/var/log/messages
*.* -/dev/ttyvb
*.* @blah2.BBB.com
-blah.AAA.com
*.* -/var/log/remote


this will log all OWN log to /var/log/messages, 12-th console and to 
server @blah2.BBB.com


and will log all incoming messages from other hosts to /var/log/remote

of course - in rc.conf don't forget to add

syslogd_flags="-a IP1/mask1 -a IP2/mask2 "



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