Re: pkg_add Problems

2007-08-31 Thread Richard Toohey

Or ...

1. Download packages.

2. pkg_add -v downloaded-package(s)

3. See what dependancies it fails on - note down the name(s) - GOTO  
step 1


4. Repeat steps 1 - 3 until it works.

[It's slow and dumb but it does work.  Option B - download all  
packages - I've done that in the past - but rather a waste of  
everyone's bandwidth.]


Speed up steps 1 - 3 by downloading the package for the main project  
you want (e.g. GIMP), and then pkg_add -n.


As always with OpenBSD - read the documentation (man pkg_info and man  
pkg_add in this case.)


Example from gimp package (4.0 box.)  The not found X11.9.0 is  
because the box does not have X installed.


# pkg_add -n gimp-2.2.12.tgz
Can't install aalib-1.2p0: lib not found X11.9.0		--- so for  
GIMP, you'll need this

Even by looking in the dependency tree:

Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Pretending to add gimp-2.2.12:libart-2.3.17
 --- and this
Pretending to add gimp-2.2.12:libexif-0.6.13p0 
 --- and this
Pretending to add gimp-2.2.12:jpeg-6bp3
 --- etc, etc, etc.
Pretending to add gimp-2.2.12:tiff-3.8.2p0
Pretending to add gimp-2.2.12:lcms-1.15
Pretending to add gimp-2.2.12:libmng-1.0.9p1
Pretending to add gimp-2.2.12:png-1.2.12
Pretending to add gimp-2.2.12:libxml-2.6.26
exec /usr/local/share/libxml2/rebuild
Can't install libwmf-0.2.8.3p2: lib not found ICE.8.1
Even by looking in the dependency tree:
jpeg-6bp3, png-1.2.12, libiconv-1.9.2p3, libxml-2.6.26
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install libwmf-0.2.8.3p2: lib not found SM.8.0
Can't install libwmf-0.2.8.3p2: lib not found X11.9.0
Can't install libwmf-0.2.8.3p2: lib not found freetype.13.1
Pretending to add gimp-2.2.12:wget-1.10.2p0
The file /etc/wgetrc would be installed from /usr/local/share/ 
examples/wget/sample.wgetrc

Pretending to add gimp-2.2.12:glib2-2.10.3
Pretending to add gimp-2.2.12:atk-1.10.3p1
Can't install glitz-0.4.4: lib not found GL.4.0
Even by looking in the dependency tree:

Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install glitz-0.4.4: lib not found X11.9.0
Can't install cairo-1.0.4p0: can't resolve glitz-0.4.4
Can't install pango-1.12.3: can't resolve cairo-1.0.4p0
Pretending to add gimp-2.2.12:hicolor-icon-theme-0.5p0
Can't install gtk+2-2.8.20: can't resolve pango-1.12.3
Can't install gimp-2.2.12.tgz: can't resolve libwmf-0.2.8.3p2
/dev/wd0a: 4204 bytes
/dev/wd0e: 5371 bytes
/dev/wd0g: 19047686 bytes


On 31/08/2007, at 8:59 AM, Osmany wrote:

I was thinking if there is a way that I can download all the  
packages at
once from just one link so that I can have them in my server? Kind  
of like a

local repository. I bet the pkg_add will work just fine with it.

Administrador del Nodo C.Habana
telefono: 863-1648
web: www.ciudad.jovenclub.cu
e-mail: [EMAIL PROTECTED]


-Mensaje original-
De: Maxim Belooussov [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 30 de agosto de 2007 16:42
Para: Osmany
Asunto: Re: pkg_add Problems

Osmany,



Now this is the error I get:

ftp: no address associated with name: user:[EMAIL PROTECTED]

This is driving me crazy. What's going on?!?!?!?!?!?


Could it be you have a Windows box doing your proxy service? In this
case you'd have to give your workgroup, too:

export http_proxy=http://WORKGROUP\user:[EMAIL PROTECTED]:3128

In case even this doesn't work for pkg_add, try to download packages
manually with lynx.

Max

__ NOD32 2492 (20070830) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




Re: pictures of Plextor serial console installation available here

2007-08-31 Thread Alexander Hall

Diana Eichert wrote:

Quite a while back I took pics of my original Plextor serial console
installation.  They were available on our local ftp mirror until the
h/w RAID array crashed.  Today I found the originals on my desktop
system.  So in the interest of longevity I've uploaded a zip file of
the pictures here:
http://www.hostclip.com/dl/2783e334b2e00295e6ce82c2766ac5a5

This original install used a max3232 level shifter chip cable but all
subsequent installs use a USB cell phone data cable from an Audiovox
9100.  Now I just just add pin headers to the system board, cut the
cable off the cell phone end of the cable and attach a connector to
the cable to mate to the pin header on the system board.  I snake the
USB side of the cable out the space where I'd installed the RJ10 on
the original setup.


Sweet! Thanks a lot.



diana




Re: OpenBSd or HP-UX?

2007-08-31 Thread frantisek holop
hmm, on Fri, Aug 31, 2007 at 10:50:46AM +0200, Toni Mueller said that
 Although JCR calls it FUD, my personal opinion is that HP-UX is quite
 dead, with today's commercial Unices being AIX or Solaris. The latter
 imho has the best prospects of surviving, now that IBM is also shipping
 it.

it's not as dead as some of us wished it to be...
but at the moment it is definitely a dying breed...
but it's not something netcraft could confirm :)
we are talking about machines deep inside data center
bowels...

-f
-- 
he has a train of thought.  you have a tricycle...



Re: OpenBSd or HP-UX?

2007-08-31 Thread Karl Sjödahl - dunceor
On 8/31/07, frantisek holop [EMAIL PROTECTED] wrote:
 hmm, on Fri, Aug 31, 2007 at 10:50:46AM +0200, Toni Mueller said that
  Although JCR calls it FUD, my personal opinion is that HP-UX is quite
  dead, with today's commercial Unices being AIX or Solaris. The latter
  imho has the best prospects of surviving, now that IBM is also shipping
  it.

 it's not as dead as some of us wished it to be...
 but at the moment it is definitely a dying breed...
 but it's not something netcraft could confirm :)
 we are talking about machines deep inside data center
 bowels...

 -f
 --
 he has a train of thought.  you have a tricycle...



Yeah there are installing a lot of Clearcase on HP-UX at work since HP
is the one administrating it. So it's not dead but it probobly should
be =)

dunceor



redirecting output to a file in the remote machine while executing command on the remote machine using ssh

2007-08-31 Thread Siju George
Hi

I wrote a script and am trying to run this command

/usr/bin/ssh 172.16.2.26 -l root diff /usr/logs/fw/squid/access.log
/usr/logs/fw/squid/access.log.bak  /usr/logs/fw/squid/access.log.`date
+%Y%m%d`

on 172.16.2.26 from another machine 172.17.2.0

However the file ( access.log.`date +%Y%m%d` ) gets created on the machine
where the script is executed ( i.e 172.17.2.0 ) and not on the machine where
the command is executed using ssh ( i.e 172.16.2.26 )

What should I do to get the redirected output to be got in a file on
172.16.2.26 ?

Thank you so much

Kind Regards

Siju



Re: redirecting output to a file in the remote machine while executing command on the remote machine using ssh

2007-08-31 Thread Antti Harri

On Fri, 31 Aug 2007, Siju George wrote:


/usr/bin/ssh 172.16.2.26 -l root diff /usr/logs/fw/squid/access.log
/usr/logs/fw/squid/access.log.bak  /usr/logs/fw/squid/access.log.`date
+%Y%m%d`

What should I do to get the redirected output to be got in a file on
172.16.2.26 ?


You need to escape the  char like this \
or IMHO better would be to just surround the whole
command with  so your local shell won't try
to interpret the stdout direction.

/usr/bin/ssh 172.16.2.26 -l root diff /usr/logs/fw/squid/access.log
/usr/logs/fw/squid/access.log.bak  /usr/logs/fw/squid/access.log.$(date 
'+%Y%m%d')


PS. I think $() for command execution is preferred
instead of backticks. And sorry about the line wrapping,
you can fix that yourself :-)

--
Antti Harri



Re: redirecting output to a file in the remote machine while executing command on the remote machine using ssh

2007-08-31 Thread Heinrich Rebehn

Siju George wrote:

Hi

I wrote a script and am trying to run this command

/usr/bin/ssh 172.16.2.26 -l root diff /usr/logs/fw/squid/access.log
/usr/logs/fw/squid/access.log.bak  /usr/logs/fw/squid/access.log.`date
+%Y%m%d`

on 172.16.2.26 from another machine 172.17.2.0

However the file ( access.log.`date +%Y%m%d` ) gets created on the machine
where the script is executed ( i.e 172.17.2.0 ) and not on the machine where
the command is executed using ssh ( i.e 172.16.2.26 )

What should I do to get the redirected output to be got in a file on
172.16.2.26 ?

Thank you so much

Kind Regards

Siju



$ ssh [EMAIL PROTECTED] 'remote_command  remote_logfile'

Note the single ticks, without them redirection is done by the local shell.

--Heinrich



OpenSSH: lost connection

2007-08-31 Thread Christoph Egger
Hi!

I trying to transfer a 1.8GB file with this command:

scp -c blowfish myfile.bz2   otho:/data/

After some retries, scp keeps failing at 58% with the error msg:

myfile.bz2  58% 1023MB   0.0KB/s - stalled -
Host key verification failed.
lost connection


Has anyone an idea, what is going wrong?



Intel 82801H HD Audio

2007-08-31 Thread Vim Visual
Hi,

many of you will have already read my last thread about a lenovo x61s.
Almost everything is working (but suspend, this is an only
acpi-machine and the wireless should be supported soon)

I installed a snapshot and my biggest problem now is the lack of
support of audio:

azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio

arktomis| mixerctl -a
outputs.dac02.source=hdaudio
inputs.dac03=126,126
inputs.dac04=126,126
record.adc05.mute=off
record.adc05=124,124
record.adc06.mute=off
record.adc06=124,124
inputs.mix07.sel22.mut=off
inputs.mix07.sel21.mut=off
inputs.mix0a.dac04.mut=off
inputs.mix0a.sel21.mut=off
inputs.mix0b.sel0f.mut=off
inputs.mix0b.sel21.mut=off
inputs.sel0c.source=red14
outputs.sel0c.mute=off
outputs.sel0c=124,124
inputs.sel0d.source=red14
outputs.sel0d.mute=off
outputs.sel0d=124,124
inputs.sel0e.source=dac03
inputs.sel0f.source=dac03
inputs.beep10.mute=off
inputs.beep10=119
outputs.green11.mute=off
outputs.green11.boost=off
outputs.unknown12.mute=off
outputs.unknown12.boost=off
outputs.unknown13.mute=off
outputs.unknown13=120
outputs.red14=85,85
outputs.unknown15=85,85
outputs.unknown16.mute=off
outputs.unknown16.dir=input
outputs.pow19.source=mix20
outputs.black1b.mute=off
outputs.black1b=126,126
outputs.red1c.mute=off
outputs.red1c.dir=input
outputs.widget1d.source=mix07
inputs.mix1e.sel0e.mut=off
inputs.mix1e.sel21.mut=off
inputs.mix20.red14.mut=off
inputs.mix20.black1a.m=off
inputs.mix20.sel25.mut=off
inputs.mix20.red14=120,120
inputs.mix20.black1a=120
inputs.mix20.sel25=120,120
outputs.sel21.mute=off
outputs.sel21=120,120
inputs.sel22.source=dac03
inputs.sel23.source=dac03
inputs.mix24.sel23.mut=off
inputs.mix24.sel21.mut=off
outputs.sel25=85,85
outputs.widget26.source=red14
inputs.usingdac=04
record.usingadc=05

I ran this

mixerctl -a | egrep '^(input|outputs)\.' | sed 's/=.*//' | while read
a; do case $a in *.mute) mixerctl ${a%.mute}=255 $a=off;; esac done

but nothing...

Can we expect sound support for this chip in 4.2?

Cheers,

Pau



Re: Intel 82801H HD Audio

2007-08-31 Thread Deanna Phillips
[EMAIL PROTECTED] writes:

 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio

Could we have a full dmesg?  Preferably with option
AZALIA_DEBUG.

 Can we expect sound support for this chip in 4.2?

No.  4.2 is already finished.  You can expect it eventually,
though - especially if you're willing to test.



Re: OpenSSH: lost connection

2007-08-31 Thread Craig Skinner - Sun Microsystems - Linlithgow - Scotland

Christoph Egger wrote:

Hi!

I trying to transfer a 1.8GB file with this command:

scp -c blowfish myfile.bz2   otho:/data/

After some retries, scp keeps failing at 58% with the error msg:

myfile.bz2  58% 1023MB   0.0KB/s - stalled -
Host key verification failed.
lost connection



Does it work with a small file?
--

Craig Skinner   [EMAIL PROTECTED]

Phone +44 (0) 1506 673024   5-digit shortdial:x73024

Sun Remote Support Centre, Linlithgow, Scotland, UK




Re: OpenSSH: lost connection

2007-08-31 Thread Antti Harri

On Fri, 31 Aug 2007, Christoph Egger wrote:


Has anyone an idea, what is going wrong?


Increase verbosity with -v to get more details.

--
Antti Harri



Re: spamd DB_SCAN_INTERVAL

2007-08-31 Thread Tom Bombadil
   Probably Bad things.

Oh-oh... I increased it to 2 minutes. Thing are a bit better now.

   Shouldn't be. What rev of openbsd are you running this spamd box on?
 I run it on a single ide drive, I'm probably bigger than your site. 

Really? We get mail for different companies... Even though it's not a
lot, we have about 600,000 entries in our DB, and IO is very saturated.


Did anybody try to offload spamd from the firewall to a server inside
the network? Something like:

internet - FW - spamd - mailserver

I haven't given much thought, but I guess when spamd translates the
packet, the mail server will reply to the gateway, not spamd, right?
Any way around it?



Re: Intel 82801H HD Audio

2007-08-31 Thread Vim Visual
Hi Deanna,

here you are a full dmesg. I have compiled in the past a couple of
times custom kernels but right now I do not really have the time to do
it. If you need more output, let me know and I'll do it.

Cheers,

Pau

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz (GenuineIntel
686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 1046761472 (998MB)
avail mem = 1004478464 (957MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/02/07, BIOS32 rev. 0 @
0xfdc80, SMBIOS rev. 2.4 @ 0xe0010 (63 entries)
bios0: vendor LENOVO version 7NET25WW (1.06 ) date 07/02/2007
bios0: LENOVO 766636G
pcibios0 at bios0: rev 3.0 @ 0xfdc10/0x3f0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/304 (17 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 17 Interrupt Routing table entries
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 0xe/0x1!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF!
SSDT SSDT SSDT SSDT
acpitimer at acpi0 not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 0 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 0 (EXP2)
acpiprt5 at acpi0: bus 0 (EXP3)
acpiprt6 at acpi0: bus 0 (EXP4)
acpiprt7 at acpi0: bus 5 (PCI1)
acpiec at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
acpitz at acpi0 not configured
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
acpibat at acpi0 not configured
acpibat at acpi0 not configured
acpibat at acpi0 not configured
acpiac at acpi0 not configured
acpidock at acpi0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0615092206000922
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1800 MHz (1244 mV): speeds: 1800, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82965GM MCH rev 0x0c
vga1 at pci0 dev 2 function 0 Intel 82965GM Video rev 0x0c: aperture
at 0xe000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82965GM Video rev 0x0c at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: irq 11,
address 00:16:d3:3e:4d:38
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: irq 11
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: irq 11
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: irq 11
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Analog Devices/0x1984 (rev. 4.0), HDA version 1.0
azalia0: codec: Conexant/0x2bfa (rev. 0.0), HDA version 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03
pci2 at ppb1 bus 3
Intel Wireless WiFi Link 4965AGN rev 0x61 at pci2 dev 0 function 0
not configured
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: irq 10
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: irq 11
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: irq 11
ehci1: timed out waiting for BIOS
usb1 at ehci1: USB revision 2.0
uhub1 at usb1: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3
pci3 at ppb2 bus 5
cbb0 at pci3 dev 0 function 0 Ricoh 5C476 CardBus rev 0xba: irq 10
Ricoh 5C832 Firewire rev 0x04 at pci3 dev 0 function 1 not configured
sdhc0 at pci3 dev 0 function 2 Ricoh 5C822 SD/MMC rev 0x21: irq 11
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 vendor Intel, unknown product 0x2811 rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 Intel 82801HBM SATA rev 0x03: irq 10, AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, HITACHI HTS54161, SB4I SCSI2 0/direct fixed
sd0: 152627MB, 19457 cyl, 255 head, 63 sec, 512 bytes/sec, 312581808 sec total
ichiic0 at 

IPSec

2007-08-31 Thread José Costa
Hello,

Anyone knows a really good IPSec howto besides the man pages?



OpenSSH and Nagle's?

2007-08-31 Thread Christian Weisgerber
Does OpenSSH employ some sort of Nagle's algorithm at the SSH
protocol level?
 
I just experienced a rather strange situation:
 
xterm running on host A.  From there, interactive ssh to host B.  
I run a program on B that generates lots of output to stdout.
 
Host A is equipped with a hifn(4) crypto accelerator used by ssh.
Traffic from B to A is on the order of 250,000 bytes/s and 200
packets/s.  I see on the order of 10,000 (!) interrupts/s from the
hifn card.  That seems very bizarre, unless there are lots of tiny
SSH packets in each IP packet.

(OpenBSD 4.2, ssh is all defaults.)

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Asus Striker Extreme does not support 4GB memory

2007-08-31 Thread Sam Fourman Jr.
hello misc@

I took the time to install OpenBSD -current on a new computer I just built

It does not see 4GB of memory out of the box, is there something I
have to compile in the kernel to get this to work?

The motherboard is an Asus Striker Extreme it has 4 1GB memory
modules, and an intel Quad Core cpu

below is a dmesg

OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (GenuineIntel 686-class) 2.41 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 3488116736 (3326MB)
avail mem = 3384631296 (3227MB)
User Kernel Config
UKC enable acpi
398 acpi0 enabled
UKC disable apm
307 apm0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/06/07, BIOS32 rev. 0 @
0xf1e30, SMBIOS rev. 2.4 @ 0xf (77 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS StrikerExtreme
ACPI BIOS Revision 1301 date 07/06/2007
bios0: ASUSTeK Computer INC. StrikerExtreme
apm at bios0 function 0x15 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0xd964
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd810/336 (19 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xce00 0xd/0x4000!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP HPET MCFG APIC
acpitimer at acpi0 not configured
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
cpu2 at mainbus0: apid 3 (application processor)
cpu2: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz
cpu2: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
cpu3 at mainbus0: apid 2 (application processor)
cpu3: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz
cpu3: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (HUB0)
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpitz at acpi0 not configured
acpibtn at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 NVIDIA C55 Host rev 0xa2
NVIDIA C55 Memory rev 0xa1 at pci0 dev 0 function 1 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 0 function 2 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 0 function 3 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 0 function 4 not configured
NVIDIA C55 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 0 function 6 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 0 function 7 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 0 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 1 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 2 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 3 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 4 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 5 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 1 function 6 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 2 function 0 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 2 function 1 not configured
NVIDIA C55 Memory rev 0xa1 at pci0 dev 2 function 2 not configured
ppb0 at pci0 dev 3 function 0 NVIDIA C55 PCIE rev 0xa1
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 8800 GTS rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP55 Memory rev 0xa1 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP55 ISA rev 0xa2
nviic0 at pci0 dev 10 function 1 NVIDIA MCP55 SMBus rev 0xa2
iic0 at nviic0
iic1 at nviic0
lm1 at iic1 addr 0x2d: W83791D
adt0 at iic1 addr 0x2e: adt7475 rev 0x69
ohci0 at pci0 dev 11 function 0 NVIDIA MCP55 USB rev 0xa1: apic 4
int 7 (irq 7), version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 NVIDIA MCP55 USB rev 0xa2: apic 4
int 5 (irq 5)
usb0 at ehci0: USB 

Re: Radeon X1300 mobile + WXGA - out of luck?

2007-08-31 Thread Matthieu Herrb
On 8/30/07, Eric Elena [EMAIL PROTECTED] wrote:
 Le mardi 28 aoC;t 2007 C  18:20 +0200, Joachim Schipper a C)crit :
  The following configuration works, albeit at the wrong resolution:
  http://jschipper.dynalias.net/~joachim/posts/20070828/Xorg.conf
 
  It also contains some failed attempts that might be interesting
  (ModeLine ...; Virtual 1200 800 and Option ShadowFB no).
 
Joachim

 I don't know how did you get the values for modeline option but I think
 they are false:
 ModeLine 1280x800 83.91 1280 1312 1624 1656 800 816 824 841
 I use gtf to get (in theory :) the good values.
 gtf horizontal-resolution vertical-resolution refresh
 So to match 83.91:
 $ gtf 1280 800 60.32

   # 1280x800 @ 60.32 Hz (GTF) hsync: 49.94 kHz; pclk: 83.91 MHz
   Modeline 1280x800_60.32  83.91  1280 1344 1480 1680  800 801 804 828
 -HSync +Vsync
 The other values are very different.

 You should try gtf with a refresh rate of 60Hz (refresh rate for lcd
 screens). And if there is still (II) VESA(0): Not using mode
 1280x800 (no mode of this name) in your log, probably your video bios
 is ugly and cannot display wide resolution with vesa driver.

 I'm also surprised by this warning (WW) VESA(0): remove MTRR 0 - 1000.
 In my log I have (==) VESA(0): Write-combining range (0x0,0x1000) was
 already clear. A problem with mtrr? I read there is a nomtrr option
 (man xorg.conf), perhaps it will fix it.


The vesa driver can only use modelines that are known to the BIOS. If
the laptop's video card bios doesn't have a 1280x800 modeline, X will
not work at this resolution.

I've seen some reports in the past that the i915resolution tool also
works with some ATI bioses. It patches the BIOS to replace an unused
mode by the one you need. But I never saw such a case mysel, so ymmw.

-- 
Matthieu Herrb



Re: Asus Striker Extreme does not support 4GB memory

2007-08-31 Thread Dustin Lundquist
Sam Fourman Jr. wrote:
 OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (GenuineIntel 686-class) 2.41 
 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
 real mem  = 3488116736 (3326MB)
 avail mem = 3384631296 (3227MB)
   
That looks normal for 32bit operating system trying to address 4GB, the
OS still needs address space to PCI devices. I'm not sure of the status
but the amd64 port might support of 4GB.


Dustin Lundquist



NFS regress

2007-08-31 Thread Alexey Vatchenko
Hi!

Does anyone notice some problems with NFS?
I had the following configuration and it worked: OpenBSD 3.9 server
exports fs to FreeBSD 5.x server.

But when i reinstall both servers to OpenBSD 4.1 NFS started hanging. From
time to time when i access mounted NFS volume the shell freezes.
Also i noticed that software that uses NFS started hanging... amd,
sharity-light.

Thanks.

-- 
Alexey Vatchenko
http://www.bsdua.org
E-mail: [EMAIL PROTECTED]
JID: [EMAIL PROTECTED]



Re: Asus Striker Extreme does not support 4GB memory

2007-08-31 Thread Sam Fourman Jr.
On 8/31/07, Dustin Lundquist [EMAIL PROTECTED] wrote:
 Sam Fourman Jr. wrote:
  OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
  cpu0: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (GenuineIntel 686-class) 2.41 
  GHz
  cpu0: 
  FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
  real mem  = 3488116736 (3326MB)
  avail mem = 3384631296 (3227MB)
 
 That looks normal for 32bit operating system trying to address 4GB, the
 OS still needs address space to PCI devices. I'm not sure of the status
 but the amd64 port might support of 4GB.

This may be a retarted question, but can a Intel quad core run amd64

 Dustin Lundquist



vmware cvs

2007-08-31 Thread Gábri Máté
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey there!

I'm trying to run OpenBSD under the latest VmWare server, but i've got
some problem: i can't use cvs to check out the repositories. It hangs at
the connecting phase. It's strange, cause ftp and http connection works,
like i can fetch the ports.tar.gz via wget or the ftp client...but thats
a bit outdated, so i want to use cvs. I've tried the simple cvs checkout
command with CVSROOT variable, and the login method with pserver, none
of them succeeded.
Any help would be appreciated!
- --
Gabri Mate
[EMAIL PROTECTED]
DUOSOL Bt.
http://www.duosol.hu
iD8DBQFG2IoY8najRxwF9nkRAic3AJ4kuOCm/nMBEcRXN6Nb/1BMVdjHeQCfaToX
W5Ja0EIyZLILrsgQWP1HABE=
=jkGg
-END PGP SIGNATURE-



Re: Asus Striker Extreme does not support 4GB memory

2007-08-31 Thread Constantine A. Murenin
On 31/08/2007, Sam Fourman Jr. [EMAIL PROTECTED] wrote:
 This may be a retarted question, but can a Intel quad core run amd64

just as i386 doesn't run on 80386, amd64 does run on Intel Core 2 processors

http://en.wikipedia.org/wiki/X86-64

C.



That whole Linux stealing our code thing

2007-08-31 Thread Theo de Raadt
[bcc'd to Eben Moglen so that people don't flood him]

I stopped making public statements in the recent controversy because
Eben Moglen started working behind the scenes to 'improve' what Linux
people are doing wrong with licensing, and he asked me to give him
pause, so his team could work.  Honestly, I was greatly troubled by
the situation, because even people like Alan Cox were giving other
Linux developers advice to ... break the law.  And furthermore, there
are even greater potential risks for how the various communities
interact.

For the record -- I was right and the Linux developers cannot change
the licenses in any of those ways proposed in those diffs, or that
conversation (http://lkml.org/lkml/2007/8/28/157).

It is illegal to modify a license unless you are the owner/author,
because it is a legal document.  If there are multiple owners/authors,
they must all agree.  A person who receives the file under two
licenses can use the file in either way  but if they distribute
the file (modified or unmodified!), they must distribute it with the
existing license intact, because the licenses we all use have
statements which say that the license may not be removed.

It may seem that the licenses let one _distribute_ it under either
license, but this interpretation of the license is false -- it is
still illegal to break up, cut up, or modify someone else's legal
document, and, it cannot be replaced by another license because it may
not be removed.  Hence, a dual licensed file always remains dual
licensed, every time it is distributed.

Now I've been nice enough to give Eben and his team a few days time to
communicate inside the Linux community, to convince them that what
they have proposed/discussed is wrong at a legal level.  I think that
Eben also agrees with me that there are grave concerns about how this
leads to problems at the ethical and community levels (at some level,
a ethos is needed for Linux developers to work with *BSD developers).
And there are possibilities that similar issues could loom in the
larger open source communities who are writing applications.

Eben has thus far chosen not to make a public statement, but since
time is running out on people's memory, I am making one.  Also, I feel
that a lot of Linux relicencing meme-talkin' trolls basically have
attacked me very unfairly again, so I am not going to wait for Eben to
say something public about this.

In http://lkml.org/lkml/2007/8/29/183, Alan Cox managed to summarize
what Jiri Slaby and Luis Rodriguez were trying to do by proposing a
modification of a Dual Licenced file without the consent of all the
authors.  Alan asks So whats the problem ?.  Well, Alan, I must
caution you -- your post is advising people to break the law.

I will attempt to describe in simple terms, based on what I have been
taught, how one must handle such licenses:

- If you receive dual licensed code, you may not delete the license
  you don't like and then distribute it.  It has to stay, because you
  may not edit someone's else's license -- which is a three-part legal
  document (For instance: Copyright notice, BSD, followed by GPL).

- If you receive ISC or BSD licensed code, you may not delete the
  license.  Same principle, since the notice says so.  It's the law.
  Really.

- If you add large pieces of originality to the code which are valid
  for copyright protection on their own, you may choose to put a different
  and seperate (must be non-conflicting...) license at the top of the file
  above the existing license.

(Warning: things become less clear as to what the combination of
licenses mean, though -- there are ethical traps, too).

- If you wish for everyone to remain friends, you should give code back.

  That means (at some ethical or friendliness level) you probably do
  not want to put a GPL at the top of a BSD or ISC file, because you
  would be telling the people who wrote the BSD or ISC file:

 Thanks for what you wrote, but this is a one-way street, you give
 us code, and we take it, we give you you nothing back.  screw off.

In either case, I think a valuable lessons has been taught us here in
the BSD world -- there are many many GPL loving people who are going
to try to find any way to not give back and share (I will mention one
name: Luis Rodriguez has been a fanatic pushing us for dual licensed,
and I feel he is to blame for this particular problem).  Many of those
same people have been saying for years that BSD code can be stolen,
and that is why people should GPL their code.

Well, the lesson they have really taught us is that they consider the
GPL their best tool to take from us!

GPL fans said the great problem we would face is that companies would
take our BSD code, modify it, and not give back.  Nope -- the great
problem we face is that people would wrap the GPL around our code, and
lock us out in the same way that these supposed companies would lock
us out.  Just like the Linux community, we have many 

carp: intermittent master/backup swapping

2007-08-31 Thread Jacob Yocom-Piatt
have 2 sun netra t1s running sparc64 4.1-release as my firewalls and am 
experiencing intermittent swapping of MASTER and BACKUP states on carp 
interfaces. i have carp working fine in a number of other places and do 
not see this behavior there, although the working setups are i386-based.


NOTE: i've included several tcpdumps and various outputs, so this is a 
long message. have spent several hours at this without a resolution and 
do appreciate folks taking the time to read through it =)


problems are most apparent when the internal interface drops packets, 
but the most serious case is that of the public IPs that are carp-ed. 
example:


- have the external interface on both machines, hme1, carp-ed and the 
ifconfig output for each machine's interfaces is as follows


FW #1

hme1: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST 
mtu 1500

   lladdr 08:00:20:c2:21:45
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fec2:2145%hme1 prefixlen 64 scopeid 0x2
   inet 208.70.19.203 netmask 0xfff8 broadcast 208.70.19.207
...
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:00:5e:00:01:01
   carp: MASTER carpdev hme1 vhid 1 advbase 1 advskew 0
   groups: carp
   inet 208.70.19.202 netmask 0xfff8 broadcast 208.70.19.207
   inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0xd

FW #2

hme1: 
flags=8b63UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST 
mtu 1500

   lladdr 08:00:20:f9:a8:8d
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet6 fe80::a00:20ff:fef9:a88d%hme1 prefixlen 64 scopeid 0x2
   inet 208.70.19.204 netmask 0xfff8 broadcast 208.70.19.207
...
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   lladdr 00:00:5e:00:01:01
   carp: BACKUP carpdev hme1 vhid 1 advbase 1 advskew 100
   groups: carp
   inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0xc
   inet 208.70.19.202 netmask 0xfff8 broadcast 208.70.19.207

the pf rules that are in place to allow carp traffic are

carp_if = { hme1 fxp0 vlan0 }
...
pass quick on $carp_if proto carp

running a tcpdump on each machine's hme1 interface while pinging from 
another public IP should only show packets going to the MASTER host, but 
they show up at both hosts every ~4 pings:


FW #1

# tcpdump -nettvi hme1 icmp
1188612639.360200 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:0) (ttl 245, id 10051, 
len 84)
1188612639.360459 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:0) (ttl 255, id 54830, 
len 84)
1188612640.367703 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:1) (ttl 245, id 16678, 
len 84)
1188612640.367845 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:1) (ttl 255, id 39539, 
len 84)
1188612641.377920 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:2) (ttl 254, id 34078, 
len 84)
1188612642.387150 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:3) (ttl 245, id 24763, 
len 84)
1188612642.387234 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:3) (ttl 255, id 34369, 
len 84)
1188612643.397651 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:4) (ttl 245, id 27355, 
len 84)
1188612643.397737 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:4) (ttl 255, id 63331, 
len 84)
1188612644.407624 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:5) (ttl 245, id 6342, len 84)
1188612644.407705 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:5) (ttl 255, id 42235, 
len 84)
1188612645.417367 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:6) (ttl 254, id 38737, 
len 84)
1188612646.427398 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:7) (ttl 245, id 11606, 
len 84)
1188612646.427537 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:7) (ttl 255, id 61344, 
len 84)
1188612647.437498 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo request (id:273d seq:8) (ttl 245, id 6757, len 84)
1188612647.437591 8:0:20:c2:21:45 0:d:88:db:90:c2 0800 98: 208.70.19.202 
 69.217.100.54: icmp: echo reply (id:273d seq:8) (ttl 255, id 47796, 
len 84)
1188612648.447103 0:d:88:db:90:c2 0:0:5e:0:1:1 0800 98: 69.217.100.54  
208.70.19.202: icmp: echo 

Re: vmware cvs

2007-08-31 Thread Nick Holland
Gabri Mati wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hey there!
 
 I'm trying to run OpenBSD under the latest VmWare server, but i've got
 some problem: i can't use cvs to check out the repositories. It hangs at
 the connecting phase. It's strange, cause ftp and http connection works,
 like i can fetch the ports.tar.gz via wget or the ftp client...but thats
 a bit outdated, so i want to use cvs. I've tried the simple cvs checkout
 command with CVSROOT variable, and the login method with pserver, none
 of them succeeded.
 Any help would be appreciated!

troubleshoot, troubleshoot, troubleshoot.

cvs uses ssh as its transport, so can you ssh into/out of the box?

can you ssh to your ssh repository?
  $ ssh [EMAIL PROTECTED]whatever.org
should return something semi-interesting.

  $ telnet anoncvs.whatever.org 22
should also try to work.

Almost certainly, however, you are doing something incorrect.  You have
provided a diagnosis, not a set of symptoms, so I can't say much else
other than I doubt your diagnosis, as I've done it, it works.  Most
likely, it is not at all VMware related (unless your vmware networking
is screwed up), but rather something like filtering or even incorrect
CVS usage messing you up.

Nick.