Re: Nvidia binary display drivers compat. w/ OpenBSD?

2008-03-08 Thread Uwe Dippel
On Fri, 07 Mar 2008 19:25:02 -0800, Anon Y. Mous wrote:

 Is there anyone who has had success using the Linux or
 FreeBSD Nvidia binary graphics drivers with OpenBSD
 i386
 4.x?

I don't think so.

 I cannot get Xorgconfig to recognize the 1680x1050
 resolution on my system. The max. resolution it sees
 is:
 
 1280x1024

I don't think so. I did have success with the 'nv' at exactly that
resolution. If you don't need the hardware acceleration, it might do the
right thing for you.

Uwe



Re: Compile jdk 1.5 on amd64 run out of memory

2008-03-08 Thread Dongsheng Song
Thanks,  when I set HOTSPOT_BUILD_JOBS=2, it builds smoothly.

What's PARALLEL_BUILD_JOBS, and their relationship?

2008/3/8, Kurt Miller [EMAIL PROTECTED]:
 Try editing the port Makefile and set HOTSPOT_BUILD_JOBS=4 or
  less.


  -Kurt



Re: ftp client behind pf firewall with ISP load balancing

2008-03-08 Thread Steven Surdock
Fratiman Vladut wrote:
 I think, that is not very clear. Sorry for my english.
 I want to connect, behind my firewall, to  an ftp server from
 internet. I don't have ftp server behind firewall.

Is ftpproxy running?

$ grep ftp /etc/rc.conf.local
ftpproxy_flags=

I sorry. I'm a little slow, but is this what you trying to do?
   FTP_Client---LAN---FW---Internet---FTP_Server

-Steve S.



Sensors support on proliant DL380 G2

2008-03-08 Thread Ruan Kendall
So, I've tried both 4.2 and 4.3 snapshot on this slightly aged proliant I've
obtained, and most things have worked very well but for the total
absense of any sensor information.

Is this because a) I've not done something terribly important that
would enable it for me, b) because all the sensor stuff is hidden
behind something like ACPI which isn't working on this machine or c)
because there is no driver for the bit of hardware that handles all
the sensor data?

The various bits of server firmware and the bios have been updated to
the most recent version, and the BIOS has been set up to boot as 'linux'.

It currently looks like my only hope is to give up and use something
like Centos 4 instead, but I'd rather not have to.

Dmesg for a recent 4.3 snapshot. I also have MP and 4.2 dmesgs if
they're likely to prove useful, which I assume they won't.

--

OpenBSD 4.3 (GENERIC) #695: Tue Mar  4 14:28:56 MST 2008
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) III CPU - S 1400MHz (GenuineIntel
686-class) 1.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 1341730816 (1279MB)
avail mem = 1287774208 (1228MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.3 @ 0xec000 (38 entries)
bios0: vendor Compaq version P24 date 05/01/2004
bios0: Compaq ProLiant DL380 G2
acpi0 at bios0: rev 0, can't enable ACPI
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xcc000/0x1800 0xee000/0x2000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
pci1 at pchb0 bus 1
ppb0 at pci1 dev 3 function 0 Intel S21152BB PCI-PCI rev 0x00
pci2 at ppb0 bus 2
vga1 at pci2 dev 0 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Compaq Netelligent ASMC rev 0x00 at pci2 dev 1 function 0 not configured
vendor Compaq, unknown product 0x005a (class memory subclass
miscellaneous, rev 0x00) at pci2 dev 2 function 0 not configured
vendor Compaq, unknown product 0x00b1 (class memory subclass
miscellaneous, rev 0x01) at pci2 dev 4 function 0 not configured
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20HE Host rev 0x01
pchb2 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
pchb3 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
pci3 at pchb3 bus 7
Compaq PCI Hotplug rev 0x12 at pci3 dev 7 function 0 not configured
ciss0 at pci0 dev 1 function 0 Compaq Smart Array 5i/532 rev.2 rev 0x01: irq 3
ciss0: 1 LD, HW rev 1, FW 2.62/2.62
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.62 SCSI0
0/direct fixed
sd0: 34719MB, 4426 cyl, 255 head, 63 sec, 512 bytes/sec, 71106240 sec total
fxp0 at pci0 dev 2 function 0 Intel 8255x rev 0x08, i82559: irq 5,
address 00:08:02:58:58:9c
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: irq 7,
address 00:08:02:58:58:9b
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
Compaq Netelligent ASMC rev 0x00 at pci0 dev 6 function 0 not configured
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x51: SMBus disabled
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: COMPAQ, CD-ROM SN-124, N104 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04:
irq 11, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 ServerWorks OHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef4d netmask efed ttymask ffef
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b



pfctl -t -T test output

2008-03-08 Thread Jose Fragoso
Hi,

The output of pfctl -t ... -T show goes to stdout by default.
But the output of pfctl -t ... -T test goes to stderr. Is there
a particular reason for this?

I am trying to write a perl script that in some moment tests
if an IP address is already whitelisted and I have not many
skills for doing this kind of redirection.

If anyone can help, I will be thankful.

Regards,

Jose

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!



Re: Nvidia binary display drivers compat. w/ OpenBSD?

2008-03-08 Thread Owain Ainsworth
On Fri, Mar 07, 2008 at 07:25:02PM -0800, Anon Y. Mous wrote:
 Is there anyone who has had success using the Linux or
 FreeBSD Nvidia binary graphics drivers with OpenBSD
 i386
 4.x?
 
 X.org Version 7.0 or greater is required.


HAHAHAHAHAHAHAHAHAHAHAHAHA..


..MWAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA


...No.

-- 
The rain it raineth on the just
And also on the unjust fella,
But chiefly on the just, because
The unjust steals the just's umbrella.
--Lord Bowen



Re: [OFFTOPIC] Naming convention for programs

2008-03-08 Thread Matthew Szudzik
 I was thinking of verb-subject, or verb_subject, or viceversa.

If you are writing a family of related programs, then the word that they
have in common should be first.  For example, in OpenBSD there are

 mount_cd9660
 mount_ffs
 mount_msdos

and so on.  The fact that these programs perform related operations is
immediately apparent, and it is easy to find all of the related programs
simply by typing

 mount_

followed by TAB on the command-line.

Note that the word that is common could be a verb or a subject.
Although it is a verb in the case of mount, it is a subject in the
case of pkg:

 pkg_add
 pkg_create
 pkg_delete
 pkg_merge

 no separator between subject and verb.

Historically, no separator seems to win.  The best example is the
World Wide Web.  When it started in the 1990's, there were a plethora of
hyphen-separated URLs, but over time they have disappeared and been
replaced with no separator.

Mathematicians (who have dealt with this issue for centuries) also
prefer no separator:  sinh for sine hyperbolic, ln for logarithm
natural, arcsin for arc sine, and arcsinh for arc sine
hyperbolic.

The oldest and most-used Unix commands also follow this convention:
lpq, lpr, lprm, whereis, mkdir, and so on.



Re: OpenBSD storage server

2008-03-08 Thread Lars Noodén
Douglas A. Tutty wrote:
 ...
 Depending on what you are serving, it may be beneficial to have the OS
 on a separate spindle.  If you're in the midst of serving a data stream
 you may not want the drive to have to seek to run something for the OS,
 or to fetch swap...

If the box is just a file server, would there even be a need for swap?
If not, then the system could be run off of a flash drive or usb stick
as a cheap (or space saving) alternative to an additional HD.

-Lars



Re: spamd logging question

2008-03-08 Thread Jose Fragoso
Hi,

I am assuming the lack of replies is due to the fact that
I was not clear enough in my questioning. So I will try
to rephrase my question.

I run opbsd 4.2 on a i386 machine. I am trying to analyse
the spamd log file (I changed syslog.conf so that it will
send logging information only to /var/log/spamd). I use
the option -v in rc.conf.local for spamd_flags.

During the analysis (which I am trying to do using a perl
script), I was faced with messages like

last message repeated X times.

In order to be acurate in my log analysis, I need to
understand exacly what these messages mean. Specially
when they show just after a message like:

 disconnected after Y seconds. lists: Z

These messages carry basically (with respect to my
analysis) four bits of information: date and time;
IP address; duration of the connection; blacklists.

What I want to know is what exacly was repeated from
the last message. All of last three bits of information
(not including date and time)? Or is there some kind
of generalization going on here?

Secondly, I would like to know if there some way of
disabling this kind of summarization by syslogd.

I would appreciate some comments or suggestions about
dealing with this situation.

Regards,

Jose



--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!



Re: pfctl -t -T test output

2008-03-08 Thread Darrin Chandler
On Sat, Mar 08, 2008 at 09:15:39AM -0500, Jose Fragoso wrote:
 Hi,
 
 The output of pfctl -t ... -T show goes to stdout by default.
 But the output of pfctl -t ... -T test goes to stderr. Is there
 a particular reason for this?
 
 I am trying to write a perl script that in some moment tests
 if an IP address is already whitelisted and I have not many
 skills for doing this kind of redirection.
 
 If anyone can help, I will be thankful.

Perhaps an easier way is to use the exit status of pfctl, which will be
0 on match, 2 if no match:

# pfctl -t foo -Tadd 10.1.1.1
1 table created.
1/1 addresses added.
# pfctl -t foo -Ttest 10.1.1.1; echo status $?
1/1 addresses match.
status 0
# pfctl -t foo -Ttest 10.1.1.2; echo status $? 
0/1 addresses match.
status 2


-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



Re: Singularity OS

2008-03-08 Thread Die Gestalt
  Are you sure you used the STL?

  http://www.microsoft.com/whdc/driver/kernel/KMcode.mspx

  Read the section about Libraries:

  Although much of the Standard Template Library is implemented as source
  code in headers, it occasionally uses library functions or other
  features that are not available or usable in the kernel environment.

  I'm guessing you must have had to do some serious mangling of the STL in
  order to shoehorn it into your driver. Sounds like far more trouble than
  it's worth.

The comment from Microsoft is correct. Basically you need to remove
exceptions support and write custom allocators. I have been
unsucessful with the Microsoft STL, I therefore used STLPort. The
problem with the provided STL headers is that there is a #define
nightmare for C++/CLI compatibility.

I think we are drafting toward OT...



PPPoE hanging on startup

2008-03-08 Thread Antti Harri

Hi,

I installed newest snapshot and I'm using kernel pppoe.
Sometimes the operator I'm connecting to doesn't authenticate
the pppoe requests and it can take a while, normally
it becomes connected in less than five minutes but
sometimes manual interference with the crappy dsl boxes
is required.

My question is, is the rc procedure supposed to hang
until the connection is established?

I pressed ^T to see what it is doing and I saw
ntpd there and nothing else. I tried to shut it
down with ^C, saw sh [pause] and soon after
the ntpd was back.

The rc scripts resumed to load right after the connection
had been established.

This is the uniprocessor dmesg, I'm normally using bsd.mp
but it's broken right now..

OpenBSD 4.3 (GENERIC) #696: Thu Mar  6 05:09:01 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 865 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 536375296 (511MB)
avail mem = 510599168 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/05/99, BIOS32 rev. 0 @ 0xec7e0, SMBIOS 
rev. 2.3 @ 0xfb378 (61 entries)
bios0: vendor Compaq version 686J4 v3.05 date 04/10/2001
bios0: Compaq Professional Workstation SP750
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SSDT SSDT SSDT SSDT
acpi0: wakeup devices HUB_(S4) COM1(S4) COM2(S4) USB0(S1) PCI0(S4) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (BUS1)
acpiprt2 at acpi0: bus 4 (HUB_)
acpiprt3 at acpi0: bus 3 (BUS3)
acpicpu0 at acpi0
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc/0x9c00 0xc9c00/0x1800 0xcb400/0x5e00 0xd1200/0x4400 
0xe/0x1!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82840 Host rev 0x01
agp0 at pchb0: aperture at 0xec00, size 0x200
ppb0 at pci0 dev 1 function 0 Intel 82840 AGP rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 Intergraph Expert3D rev 0x64
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intergraph Expert3D rev 0x01 at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 2 function 0 Intel 82840 PCI rev 0x01
pci2 at ppb1 bus 2
ppb2 at pci2 dev 31 function 0 Intel 82806AA rev 0x02
pci3 at ppb2 bus 3
Intel 82806AA APIC rev 0x01 at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 30 function 0 Intel 82801AA Hub-to-PCI rev 0x02
pci4 at ppb3 bus 4
fxp0 at pci4 dev 2 function 0 Intel 8255x rev 0x08, i82559: irq 11, address 
00:50:8b:cd:cd:79
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ahc0 at pci4 dev 7 function 0 Adaptec AIC-7899 U160 rev 0x01: irq 11
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 4 lun 0: SEAGATE, ST336706LW, 0108 SCSI3 0/direct fixed
sd0: 35003MB, 26302 cyl, 4 head, 681 sec, 512 bytes/sec, 71687370 sec total
ahc1 at pci4 dev 7 function 1 Adaptec AIC-7899 U160 rev 0x01: irq 11
scsibus1 at ahc1: 16 targets
xl0 at pci4 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, 
address 00:04:75:ca:2b:94
exphy0 at xl0 phy 24: 3Com internal media interface
pciide0 at pci4 dev 11 function 0 CMD Technology SiI3112 SATA rev 0x02: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: ST3200826AS
wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
ichpcib0 at pci0 dev 31 function 0 Intel 82801AA LPC rev 0x02
pciide1 at pci0 dev 31 function 1 Intel 82801AA IDE rev 0x02: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide1: channel 0 disabled (no drives)
atapiscsi0 at pciide1 channel 1 drive 1
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: LITE-ON, LTR-52327S, QS04 SCSI0 5/cdrom 
removable
cd0(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 Intel 82801AA USB rev 0x02: irq 11
ichiic0 at pci0 dev 31 function 3 Intel 82801AA SMBus rev 0x02: irq 11
iic0 at ichiic0
admtemp0 at iic0 addr 0x18: adm1021
admtemp1 at iic0 addr 0x1a: adm1021
thmc0 at iic0 addr 0x2e: thmc50
auich0 at pci0 dev 31 function 5 Intel 82801AA AC97 rev 0x02: irq 11, ICH AC97
ac97: codec id 0x41445340 (Analog Devices AD1881)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel 

ACPI breakage on 4.3

2008-03-08 Thread Antti Harri

Hi,

I just installed snapshot from the new eu-mirror
on one of my boxes and when I boot bsd.mp I get
kernel panic right after acpi stuff. Unfortunately
I could not save the contents of the panic (no serial cable and
I was in a hurry) but I'll try to cover all the details otherwise.

First dmesg of the bsd.mp without acpi:

OpenBSD 4.3 (GENERIC.MP) #585: Thu Mar  6 05:23:51 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III (GenuineIntel 686-class) 865 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 536375296 (511MB)
avail mem = 510541824 (486MB)
User Kernel Config
UKC disable acpi
419 acpi0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/05/99, BIOS32 rev. 0 @ 0xec7e0, SMBIOS 
rev. 2.3 @ 0xfb378 (61 entries)
bios0: vendor Compaq version 686J4 v3.05 date 04/10/2001
bios0: Compaq Professional Workstation SP750
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xec7e0/0x3820
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf6af0/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801AA LPC rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x9c00 0xc9c00/0x1800 0xcb400/0x5e00 0xd1200/0x4400 
0xe/0x1!
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III (GenuineIntel 686-class) 864 MHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
mainbus0: bus 0 is type PCI 
mainbus0: bus 1 is type PCI 
mainbus0: bus 2 is type PCI 
mainbus0: bus 3 is type PCI 
mainbus0: bus 4 is type PCI 
mainbus0: bus 9 is type ISA 
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins

ioapic0: misconfigured as apic 0, remapped to apid 8
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82840 Host rev 0x01
agp0 at pchb0: aperture at 0xec00, size 0x200
ppb0 at pci0 dev 1 function 0 Intel 82840 AGP rev 0x01
pci_intr_map: bus 0 dev 1 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 1 func 0 pin 2; line 11
pci_intr_map: no MP mapping found
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 Intergraph Expert3D rev 0x64
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intergraph Expert3D rev 0x01 at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 2 function 0 Intel 82840 PCI rev 0x01
pci_intr_map: bus 0 dev 2 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 2 func 0 pin 2; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 2 func 0 pin 3; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 2 func 0 pin 4; line 11
pci_intr_map: no MP mapping found
pci2 at ppb1 bus 2
ppb2 at pci2 dev 31 function 0 Intel 82806AA rev 0x02
pci3 at ppb2 bus 3
Intel 82806AA APIC rev 0x01 at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 30 function 0 Intel 82801AA Hub-to-PCI rev 0x02
pci_intr_map: bus 0 dev 30 func 0 pin 1; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 30 func 0 pin 2; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 30 func 0 pin 3; line 11
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 30 func 0 pin 4; line 11
pci_intr_map: no MP mapping found
pci4 at ppb3 bus 4
fxp0 at pci4 dev 2 function 0 Intel 8255x rev 0x08, i82559: apic 8 int 18 
(irq 11), address 00:50:8b:cd:cd:79
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ahc0 at pci4 dev 7 function 0 Adaptec AIC-7899 U160 rev 0x01: apic 8 int 19 
(irq 11)
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 4 lun 0: SEAGATE, ST336706LW, 0108 SCSI3 0/direct fixed
sd0: 35003MB, 26302 cyl, 4 head, 681 sec, 512 bytes/sec, 71687370 sec total
ahc1 at pci4 dev 7 function 1 Adaptec AIC-7899 U160 rev 0x01: apic 8 int 16 
(irq 11)
scsibus1 at ahc1: 16 targets
xl0 at pci4 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x78: apic 8 int 18 
(irq 11), address 00:04:75:ca:2b:94
exphy0 at xl0 phy 24: 3Com internal media interface
pciide0 at pci4 dev 11 function 0 CMD Technology SiI3112 SATA rev 0x02: DMA
pciide0: using apic 8 int 19 (irq 11) for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: ST3200826AS
wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
ichpcib0 at pci0 dev 31 function 0 Intel 82801AA LPC rev 0x02: 24-bit timer 
at 3579545Hz
pciide1 at pci0 dev 31 function 1 Intel 82801AA IDE rev 0x02: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide1: channel 0 disabled (no drives)
atapiscsi0 at pciide1 channel 1 drive 1
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: LITE-ON, LTR-52327S, QS04 SCSI0 

Re: ftp client behind pf firewall with ISP load balancing

2008-03-08 Thread Fratiman Vladut
Yes, is right
Ftp-proxy is running, with ftpproxy_flags= in rc.conf
In debug mod i have:
# ftp-proxy -d -D7
listening on 127.0.0.1 port 8021
#1 accepted connection from 10.0.0.10
#1 FTP session 1/100 started: client 10.0.0.10 to server  via 
proxy yyy
#1 server timeout
#1 ending session

Steven Surdock wrote:
 Fratiman Vladut wrote:
   
 I think, that is not very clear. Sorry for my english.
 I want to connect, behind my firewall, to  an ftp server from
 internet. I don't have ftp server behind firewall.
 

 Is ftpproxy running?

 $ grep ftp /etc/rc.conf.local
 ftpproxy_flags=

 I sorry. I'm a little slow, but is this what you trying to do?
FTP_Client---LAN---FW---Internet---FTP_Server

 -Steve S.



Re: spamd logging question

2008-03-08 Thread Stuart Henderson
On 2008-03-08, Jose Fragoso [EMAIL PROTECTED] wrote:
 These messages carry basically (with respect to my
 analysis) four bits of information: date and time;
 IP address; duration of the connection; blacklists.

 What I want to know is what exacly was repeated from
 the last message. All of last three bits of information
 (not including date and time)?

Yes, just that (see the source to syslogd; search for the text
last message repeated to find where in the file).

 Secondly, I would like to know if there some way of
 disabling this kind of summarization by syslogd.

See above re: the source...

But you know that the identical message was repeated, as many times
as mentioned in the message, with the first repeat sometime after
the previous log entry, and the last repeat at the time of the last
message repeated line. You lose a little precision in the timing
but probably good enough for most statistics, and it stops certain
failure modes from filling your logging disk quite so quickly.



Re: Compile jdk 1.5 on amd64 run out of memory

2008-03-08 Thread Kurt Miller
On Saturday 08 March 2008 6:53:08 am Dongsheng Song wrote:
 Thanks,  when I set HOTSPOT_BUILD_JOBS=2, it builds smoothly.

Great.

BTW, how much swap space did you configure on this system (swapctl -s)?

 What's PARALLEL_BUILD_JOBS, and their relationship?

HOTSPOT_BUILD_JOBS controls how many parallel build jobs occur during
the hotspot portion of the build (mostly c++ compiles).

PARALLEL_BUILD_JOBS controls how many parallel build jobs occur during
the rest of the build which I've left at the default.

-Kurt



Re: Sensors support on proliant DL380 G2

2008-03-08 Thread Constantine A. Murenin
On 08/03/2008, Ruan Kendall [EMAIL PROTECTED] wrote:
 So, I've tried both 4.2 and 4.3 snapshot on this slightly aged proliant I've
  obtained, and most things have worked very well but for the total
  absense of any sensor information.

  Is this because a) I've not done something terribly important that
  would enable it for me, b) because all the sensor stuff is hidden
  behind something like ACPI which isn't working on this machine or c)
  because there is no driver for the bit of hardware that handles all
  the sensor data?

  The various bits of server firmware and the bios have been updated to
  the most recent version, and the BIOS has been set up to boot as 'linux'.

  It currently looks like my only hope is to give up and use something
  like Centos 4 instead, but I'd rather not have to.

I totally agree that sensors is the most important part of the OS,
upon which OS selection should be made!


  Dmesg for a recent 4.3 snapshot. I also have MP and 4.2 dmesgs if
  they're likely to prove useful, which I assume they won't.

  --

  OpenBSD 4.3 (GENERIC) #695: Tue Mar  4 14:28:56 MST 2008
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Intel(R) Pentium(R) III CPU - S 1400MHz (GenuineIntel
  686-class) 1.40 GHz
  cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  real mem  = 1341730816 (1279MB)
  avail mem = 1287774208 (1228MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @
  0xf, SMBIOS rev. 2.3 @ 0xec000 (38 entries)
  bios0: vendor Compaq version P24 date 05/01/2004
  bios0: Compaq ProLiant DL380 G2
  acpi0 at bios0: rev 0, can't enable ACPI
  bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xcc000/0x1800 0xee000/0x2000!
  cpu0 at mainbus0
  pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
  pchb0 at pci0 dev 0 function 0 ServerWorks CNB20HE Host rev 0x23
  pci1 at pchb0 bus 1
  ppb0 at pci1 dev 3 function 0 Intel S21152BB PCI-PCI rev 0x00
  pci2 at ppb0 bus 2
  vga1 at pci2 dev 0 function 0 ATI Rage XL rev 0x27
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  Compaq Netelligent ASMC rev 0x00 at pci2 dev 1 function 0 not configured
  vendor Compaq, unknown product 0x005a (class memory subclass
  miscellaneous, rev 0x00) at pci2 dev 2 function 0 not configured
  vendor Compaq, unknown product 0x00b1 (class memory subclass
  miscellaneous, rev 0x01) at pci2 dev 4 function 0 not configured
  pchb1 at pci0 dev 0 function 1 ServerWorks CNB20HE Host rev 0x01
  pchb2 at pci0 dev 0 function 2 ServerWorks CNB20HE Host rev 0x01
  pchb3 at pci0 dev 0 function 3 ServerWorks CNB20HE Host rev 0x01
  pci3 at pchb3 bus 7
  Compaq PCI Hotplug rev 0x12 at pci3 dev 7 function 0 not configured
  ciss0 at pci0 dev 1 function 0 Compaq Smart Array 5i/532 rev.2 rev 0x01: 
 irq 3
  ciss0: 1 LD, HW rev 1, FW 2.62/2.62
  scsibus0 at ciss0: 1 targets
  sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.62 SCSI0
  0/direct fixed
  sd0: 34719MB, 4426 cyl, 255 head, 63 sec, 512 bytes/sec, 71106240 sec total
  fxp0 at pci0 dev 2 function 0 Intel 8255x rev 0x08, i82559: irq 5,
  address 00:08:02:58:58:9c
  inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
  fxp1 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: irq 7,
  address 00:08:02:58:58:9b
  inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
  Compaq Netelligent ASMC rev 0x00 at pci0 dev 6 function 0 not configured
  piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x51: SMBus disabled

It looks like SMBus is disabled on your box. If you can find a way to
enable it, you'll have a somewhat higher chance of finding some
sensors.

Cheers,
Constantine.


  pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
  atapiscsi0 at pciide0 channel 0 drive 0
  scsibus1 at atapiscsi0: 2 targets
  cd0 at scsibus1 targ 0 lun 0: COMPAQ, CD-ROM SN-124, N104 SCSI0
  5/cdrom removable
  cd0(pciide0:0:0): using PIO mode 4
  ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04:
  irq 11, version 1.0, legacy support
  usb0 at ohci0: USB revision 1.0
  uhub0 at usb0 ServerWorks OHCI root hub rev 1.00/1.00 addr 1
  isa0 at mainbus0
  isadma0 at isa0
  pckbc0 at isa0 port 0x60/5
  pckbd0 at pckbc0 (kbd slot)
  pckbc0: using irq 1 for kbd slot
  wskbd0 at pckbd0: console keyboard, using wsdisplay0
  pms0 at pckbc0 (aux slot)
  pckbc0: using irq 12 for aux slot
  wsmouse0 at pms0 mux 0
  pcppi0 at isa0 port 0x61
  midi0 at pcppi0: PC speaker
  spkr0 at pcppi0
  npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
  pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
  fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
  fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
  biomask ef4d netmask efed ttymask ffef
  mtrr: Pentium Pro MTRR support
  softraid0 at root
  root on sd0a swap on sd0b dump on sd0b



Needing a clue for compiling X

2008-03-08 Thread STeve Andre'
   So with the change of xenocara from /usr/src to /usr, I seem to
have lost the ability to compile it.  No problems in compiling the
system itself.  So far I have not found anything in the archives
that addresses this.

   For xenocara I can do a make bootstrap ; make obj   ok

   A make build results in

paladin /usr/xenocara make build
make distrib-dirs
mtree -qdef /usr/xenocara/etc/mtree/BSD.x11.dist -p / -U
cd /usr/xenocara/share/mk   exec  make X11BASE=/usr/X11R6 install
install -c -o root -g bin -m 444 automake.dep bsd.xorg.mk  /usr/X11R6/share/mk
cd /usr/xenocara/util/macros   make -f Makefile.bsd-wrapper   exec  
make -f Makefile.bsd-wrapper install
PKG_CONFIG_LIBDIR=/usr/X11R6/lib/pkgconfig  XMLTO=:  CFLAGS=-O2 -pipe  
MAKE=make exec 
sh /usr/xenocara/util/macros/configure --prefix=/usr/X11R6  --sysconfdir=/etc  
--mandir=/usr/X11R6/man  --cache-file=/usr/xobj/xorg-config.cache.i386
configure: creating cache /usr/xobj/xorg-config.cache.i386
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run make distclean 
there first
*** Error code 1

Stop in /usr/xenocara/util/macros (line 99 
of /usr/X11R6/share/mk/bsd.xorg.mk).
*** Error code 1

Thanks, STeve Andre'



OpenExpo 2008 Bern

2008-03-08 Thread Stephan A. Rickauer
like last year we'll be present at the OpenExpo event in Bern,
Switzerland on March 12/13 2008. It's completely free entrance, but you
have to get a ticket online.

Feel free to drop by.
http://www.openexpo.ch/

Stephan