*** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816 'copy.o')

2012-11-03 Thread Hrvoje Popovski
Hello,

last few days I want to update the lastest current from cvs
(ftp5.eu.openbsd.org or anoncvs.spacehopper.org) and I allways had this
error.

cc -D_LOCORE -x assembler-with-cpp -mcmodel=kernel -mno-red-zone
-mno-sse2 -mno-sse -mno-3dnow  -mno-mmx -msoft-float
-fno-omit-frame-pointer -fno-builtin-printf -fno-builtin-snprintf
-fno-builtin-vsnprintf -fno-builtin-log  -fno-builtin-log2
-fno-builtin-malloc -fno-pie -nostdinc -I. -I../../../..
-I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
-DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
-DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O51 -DLKM -DFFS -DFFS2
-DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT
-DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK
-DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
-DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF
-DAPERTURE -DMTRR -DNTFS -DPCIVERBOSE -DUSBVERBOSE
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
-DWSDISPLAY_DEFAULTSCREENS=6 -DWSDISPLAY_COMPAT_PCVT -DX86EMU
-DONEWIREVERBOSE -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP -c
../../../../arch/amd64/amd64/copy.S
../../../../arch/amd64/amd64/copy.S: Assembler messages:
../../../../arch/amd64/amd64/copy.S:336: Error: no such instruction: `stac'
../../../../arch/amd64/amd64/copy.S:340: Error: no such instruction: `clac'
*** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816
'copy.o')


# dmesg
OpenBSD 5.2-current (GENERIC.MP) #1: Tue Oct 16 13:12:07 CEST 2012
r...@bcbnfw01.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3219914752 (3070MB)
avail mem = 3111780352 (2967MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf9920 (87 entries)
bios0: vendor Dell Computer Corporation version A07 date 04/25/2008
bios0: Dell Computer Corporation PowerEdge 1850
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET MCFG
acpi0: wakeup devices PCI0(S5) PALO(S5) PBLO(S5) VPR0(S5) PBHI(S5)
VPR1(S5) PICH(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(TM) CPU 3.40GHz, 3391.88 MHz
cpu0:
FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 1MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.40GHz, 3391.51 MHz
cpu1:
FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
cpu1: 1MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 7 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 7
ioapic1 at mainbus0: apid 8 pa 0xfec8, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apid 8
ioapic2 at mainbus0: apid 9 pa 0xfec83000, version 20, 24 pins
ioapic2: misconfigured as apic 0, remapped to apid 9
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PALO)
acpiprt2 at acpi0: bus 3 (DOBA)
acpiprt3 at acpi0: bus 2 (DOBB)
acpiprt4 at acpi0: bus 4 (PBLO)
acpiprt5 at acpi0: bus 8 (VPR0)
acpiprt6 at acpi0: bus 5 (PBHI)
acpiprt7 at acpi0: bus 6 (PXB1)
acpiprt8 at acpi0: bus 7 (PXB2)
acpiprt9 at acpi0: bus 9 (PICH)
acpicpu0 at acpi0
acpicpu1 at acpi0
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel E7520 Host rev 0x09
ppb0 at pci0 dev 2 function 0 Intel E7520 PCIE rev 0x09
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel 6700PXH PCIE-PCIX rev 0x09
pci2 at ppb1 bus 2
em0 at pci2 dev 11 function 0 Intel PRO/1000MT (82546GB) rev 0x03:
apic 7 int 17, address 00:1b:21:30:99:ba
em1 at pci2 dev 11 function 1 Intel PRO/1000MT (82546GB) rev 0x03:
apic 7 int 18, address 00:1b:21:30:99:bb
ppb2 at pci1 dev 0 function 2 Intel 6700PXH PCIE-PCIX rev 0x09
pci3 at ppb2 bus 3
mpi0 at pci3 dev 5 function 0 Symbios Logic 53c1030 rev 0x08: msi
scsibus0 at mpi0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: SEAGATE, ST373307LC, DS09 SCSI3 0/direct
fixed serial.SEAGATE_ST373307LC_3HZ9WFYH
sd0: 70007MB, 512 bytes/sector, 143374650 sectors
safte0 at scsibus0 targ 6 lun 0: PE/PV, 1x2 SCSI BP, 1.0 SCSI2
3/processor fixed
mpi0: target 0 Sync at 160MHz width 16bit offset 63 QAS 0 DT 1 IU 1
ppb3 at pci0 dev 4 function 0 Intel E7520 PCIE rev 0x09
pci4 at ppb3 bus 4
ppb4 at pci0 dev 5 function 0 Intel E7520 PCIE rev 0x09
pci5 at ppb4 bus 5
ppb5 at pci5 dev 0 function 0 Intel 6700PXH PCIE-PCIX rev 0x09
pci6 at ppb5 bus 6
em2 at pci6 dev 7 function 0 Intel PRO/1000MT (82541GI) rev 0x05: apic
9 int 0, address 00:11:43:d1:ea:8c
ppb6 at pci5 dev 0 function 2 Intel 6700PXH PCIE-PCIX rev 0x09
pci7 at ppb6 bus 7
em3 at 

Re: *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816 'copy.o')

2012-11-03 Thread Amit Kulkarni
try a cvs update again.


On Sat, Nov 3, 2012 at 9:29 AM, Hrvoje Popovski hrv...@srce.hr wrote:
 Hello,

 last few days I want to update the lastest current from cvs
 (ftp5.eu.openbsd.org or anoncvs.spacehopper.org) and I allways had this
 error.

 cc -D_LOCORE -x assembler-with-cpp -mcmodel=kernel -mno-red-zone
 -mno-sse2 -mno-sse -mno-3dnow  -mno-mmx -msoft-float
 -fno-omit-frame-pointer -fno-builtin-printf -fno-builtin-snprintf
 -fno-builtin-vsnprintf -fno-builtin-log  -fno-builtin-log2
 -fno-builtin-malloc -fno-pie -nostdinc -I. -I../../../..
 -I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
 -DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
 -DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O51 -DLKM -DFFS -DFFS2
 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT
 -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK
 -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP
 -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF
 -DAPERTURE -DMTRR -DNTFS -DPCIVERBOSE -DUSBVERBOSE
 -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
 -DWSDISPLAY_DEFAULTSCREENS=6 -DWSDISPLAY_COMPAT_PCVT -DX86EMU
 -DONEWIREVERBOSE -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP -c
 ../../../../arch/amd64/amd64/copy.S
 ../../../../arch/amd64/amd64/copy.S: Assembler messages:
 ../../../../arch/amd64/amd64/copy.S:336: Error: no such instruction: `stac'
 ../../../../arch/amd64/amd64/copy.S:340: Error: no such instruction: `clac'
 *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816
 'copy.o')


 # dmesg
 OpenBSD 5.2-current (GENERIC.MP) #1: Tue Oct 16 13:12:07 CEST 2012
 r...@bcbnfw01.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3219914752 (3070MB)
 avail mem = 3111780352 (2967MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf9920 (87 entries)
 bios0: vendor Dell Computer Corporation version A07 date 04/25/2008
 bios0: Dell Computer Corporation PowerEdge 1850
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S4 S5
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG
 acpi0: wakeup devices PCI0(S5) PALO(S5) PBLO(S5) VPR0(S5) PBHI(S5)
 VPR1(S5) PICH(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Xeon(TM) CPU 3.40GHz, 3391.88 MHz
 cpu0:
 FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
 cpu0: 1MB 64b/line 8-way L2 cache
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 6 (application processor)
 cpu1: Intel(R) Xeon(TM) CPU 3.40GHz, 3391.51 MHz
 cpu1:
 FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG
 cpu1: 1MB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 7 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 7
 ioapic1 at mainbus0: apid 8 pa 0xfec8, version 20, 24 pins
 ioapic1: misconfigured as apic 0, remapped to apid 8
 ioapic2 at mainbus0: apid 9 pa 0xfec83000, version 20, 24 pins
 ioapic2: misconfigured as apic 0, remapped to apid 9
 acpihpet0 at acpi0: 14318179 Hz
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PALO)
 acpiprt2 at acpi0: bus 3 (DOBA)
 acpiprt3 at acpi0: bus 2 (DOBB)
 acpiprt4 at acpi0: bus 4 (PBLO)
 acpiprt5 at acpi0: bus 8 (VPR0)
 acpiprt6 at acpi0: bus 5 (PBHI)
 acpiprt7 at acpi0: bus 6 (PXB1)
 acpiprt8 at acpi0: bus 7 (PXB2)
 acpiprt9 at acpi0: bus 9 (PICH)
 acpicpu0 at acpi0
 acpicpu1 at acpi0
 ipmi at mainbus0 not configured
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel E7520 Host rev 0x09
 ppb0 at pci0 dev 2 function 0 Intel E7520 PCIE rev 0x09
 pci1 at ppb0 bus 1
 ppb1 at pci1 dev 0 function 0 Intel 6700PXH PCIE-PCIX rev 0x09
 pci2 at ppb1 bus 2
 em0 at pci2 dev 11 function 0 Intel PRO/1000MT (82546GB) rev 0x03:
 apic 7 int 17, address 00:1b:21:30:99:ba
 em1 at pci2 dev 11 function 1 Intel PRO/1000MT (82546GB) rev 0x03:
 apic 7 int 18, address 00:1b:21:30:99:bb
 ppb2 at pci1 dev 0 function 2 Intel 6700PXH PCIE-PCIX rev 0x09
 pci3 at ppb2 bus 3
 mpi0 at pci3 dev 5 function 0 Symbios Logic 53c1030 rev 0x08: msi
 scsibus0 at mpi0: 16 targets, initiator 7
 sd0 at scsibus0 targ 0 lun 0: SEAGATE, ST373307LC, DS09 SCSI3 0/direct
 fixed serial.SEAGATE_ST373307LC_3HZ9WFYH
 sd0: 70007MB, 512 bytes/sector, 143374650 sectors
 safte0 at scsibus0 targ 6 lun 0: PE/PV, 1x2 SCSI BP, 1.0 SCSI2
 3/processor fixed
 mpi0: target 0 Sync at 160MHz width 16bit offset 63 QAS 0 DT 1 IU 1
 ppb3 at pci0 dev 4 function 0 Intel E7520 PCIE rev 0x09
 pci4 at ppb3 bus 4
 ppb4 at pci0 dev 5 function 0 Intel E7520 PCIE rev 0x09
 pci5 at ppb4 bus 5
 ppb5 at pci5 dev 0 function 0 Intel 6700PXH PCIE-PCIX rev 0x09
 pci6 at ppb5 bus 6

Re: *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816 'copy.o')

2012-11-03 Thread Nick Holland
On 11/03/12 10:29, Hrvoje Popovski wrote:
 Hello,
 
 last few days I want to update the lastest current from cvs

um. no.  You compile for giggles, you update from binary.

 (ftp5.eu.openbsd.org or anoncvs.spacehopper.org) and I allways had this
 error.
...
 # dmesg
 OpenBSD 5.2-current (GENERIC.MP) #1: Tue Oct 16 13:12:07 CEST 2012
 r...@bcbnfw01.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP
...

You skipped the instructions about start from most recent snapshot.



Re: 5.2 SSD machine won't boot

2012-11-03 Thread Devin Ceartas
On Sat, Nov 3, 2012 at 12:38 AM, Tomas Bodzar tomas.bod...@gmail.comwrote:

 On Fri, Nov 2, 2012 at 11:50 PM, Devin Ceartas de...@nacredata.com
 wrote:
  On Fri, Nov 2, 2012 at 3:10 PM, Devin Ceartas de...@nacredata.com
 wrote:
 
  On Nov 2, 2012, at 3:04 PM, Tyler Morgan wrote:
 
   On 11/2/2012 6:39 AM, Devin Ceartas wrote:
   hp laptop with Intel SSD won't boot under 5.2 - the problem reported
 on
  
   screen appears to be the one described here:
  
  
 
 http://old.nabble.com/Re%3A-Fwd%3A--mSATA-failure-on-6501-w--OpenBSD-5.0-td32881415.html#a32884546
  
   ahci0: stopping the port, softreset slot 31 was still active.
  
   ahci0: failed to reset port during timeout handling, disabling it
  
   Does anyone have a patch to try or is there a way to boot into the
 full
  
   system starting from a CD or network boot?
  
   -- devin
 
 
   Boots reliably when running Current. Thanks, lesson learned.
  



Problem is back. Booted several times from the Oct. 30 snapshot. Did the
CVS sync to latest -current, and ports. Tried to install XFCE and found the
default disk layout didn't have room for all the dependencies to be built.
 So started over again from snapshot, rearranging the disk layout. Now I
have am back to repeated failures to boot with the AHCI error message. I
can find no where to toggle this in the very minimal BIOS (interface is
labeled InsydeH2) Setup Utility). Back to being stuck :-(

devin



Re: 5.2 SSD machine won't boot

2012-11-03 Thread Devin Ceartas
On Sat, Nov 3, 2012 at 11:35 AM, Devin Ceartas de...@nacredata.com wrote:

 On Sat, Nov 3, 2012 at 12:38 AM, Tomas Bodzar tomas.bod...@gmail.comwrote:

 On Fri, Nov 2, 2012 at 11:50 PM, Devin Ceartas de...@nacredata.com
 wrote:
  On Fri, Nov 2, 2012 at 3:10 PM, Devin Ceartas de...@nacredata.com
 wrote:
 
  On Nov 2, 2012, at 3:04 PM, Tyler Morgan wrote:
 
   On 11/2/2012 6:39 AM, Devin Ceartas wrote:
   hp laptop with Intel SSD won't boot under 5.2 - the problem
 reported on
  
   screen appears to be the one described here:
  
  
 
 http://old.nabble.com/Re%3A-Fwd%3A--mSATA-failure-on-6501-w--OpenBSD-5.0-td32881415.html#a32884546
  
   ahci0: stopping the port, softreset slot 31 was still active.
  
   ahci0: failed to reset port during timeout handling, disabling it
  
   Does anyone have a patch to try or is there a way to boot into the
 full
  
   system starting from a CD or network boot?
  
   -- devin
 
 
   Boots reliably when running Current. Thanks, lesson learned.
  



 Problem is back. Booted several times from the Oct. 30 snapshot. Did the
 CVS sync to latest -current, and ports. Tried to install XFCE and found the
 default disk layout didn't have room for all the dependencies to be built.
  So started over again from snapshot, rearranging the disk layout. Now I
 have am back to repeated failures to boot with the AHCI error message. I
 can find no where to toggle this in the very minimal BIOS (interface is
 labeled InsydeH2) Setup Utility). Back to being stuck :-(

 devin


If I wanted to hack on a solution to this AHCI (softraid related?) issue
with SSDs, where would I start?

devin



Re: *** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC.MP (Makefile:816 'copy.o')

2012-11-03 Thread Miod Vallat
You need to rebuild binutils first - this ought to be added to the
`following -current' faq, but hasn't been added yet.

Miod



Re: 5.2 SSD machine won't boot

2012-11-03 Thread Mihai Popescu
 If I wanted to hack on a solution to this AHCI (softraid related?) issue
 with SSDs, where would I start?

 devin

Not on misc@, that's for sure.



boot(8) on amd64 asks for passphrase but keydisk...?

2012-11-03 Thread Jiri B
This is totally fantastic what jsing@ did, boot(8) can now ask
for passphrase for root disk laying on softraid crypto volume.
It works OK.

But I didn't know it works with passphrase beforeso I first
tried with keydisk... What a surprise, boot(8) could not use key
disk for crypto volume (still printing 'Passphrase:').

Is this my PEBKAC/a bug or this feature is still WIP?

If boot(8) can ask for passphrase now, can we look forward for
dual authentication (keydisk + passphrase) in the future?

Is OpenBSD first opensource OS which can boot from totally
encrypted crypto volume _by default_? I'm not aware of any other
OS which can do it. (Linuxes use ramdisk...).

jirib



Re: OpenBSD does not initiate ipsec connection

2012-11-03 Thread Erwin Schliske
Hello,

I've now updated my gateways to 5.2 and have tested again.

If I start isakmpd in foreground mode with

isakmpd -K -d -S

and sasyncd in foreground mode with

sasyncd -d -v

and this sasyncd.conf

peer x.x.x.x
interface carp0
control isakmpd
sharedkey xxx

the tunnel never comes up. isakmpd stays in passive mode, even the output from 
sasyncd says that it is the master.

If I start isakmpd with

isakmpd -K -d

the tunnel comes up in seconds.


Any idea?


Regards,
Erwin


 Hello,
 
 Thanks for all responses. The hints like pinging not from gateway but from 
 the network, debug mode and so on were checked by me before I sent the email 
 to this list. Also is to mention that the tunnel which makes trouble is not 
 the only one on the gateway. Other tunnels work without problems.
 
 But now I have figured out what I have to change to bring up the tunnels 
 after loading the config with ipsecctl.
 
 I have to disable sasyncd, which if enabled causes to start isakmpd with 
 parameter S. If isakmpd starts without this parameter the tunnels come up and 
 work smoothly.
 
 So the question. Is this a know behaviour, that isakmpd switches to passive 
 if sasyncd is enabled? Or is this a bug?
 
 
 Thanks.
 
 Erwin
 
 Am 02.10.2012 um 11:01 schrieb Janne Johansson icepic...@gmail.com:
 
 2012/10/1 Erwin Schliske erwin.schli...@sevenval.com:
 Hello,
 
 I've set up an OpenBSD box as vpn gateway. The tunnel I have to establish is
 with a Cisco ASA 5505, which is not under my administration.
 
 Here is the ipsec.conf
 
 ike esp from { 172.30.77.0/24, 10.70.0.0/24, 10.83.0.0/24, 10.77.4.0/24 } 
 to {
 172.16.70.0/24, 172.16.71.0/24, 172.16.72.0/24 } \
 peer a.b.102.219 \
 local c.d.3.254 \
 main auth hmac-sha1 enc 3des group modp1024 \
 quick auth hmac-sha1 enc 3des group none \
 psk password
 
 If I try to ping one host on cisco side from OpenBSD side the tunnel doesn't
 come up. If I look with tcpdump on the external interface or in the tcpdump
 logging of isakmpd OpenBSD doesn't try to establish the tunnel. If I ping 
 from
 the Cisco side an host on OpenBSD side the tunnel comes up. In the logging 
 of
 isakmpd I see this loglines
 
 from the X side, does that mean you try to ping from the openbsd,
 OR, from one of the networks listed in the from-line?
 One of the common mistakes is to test from the ipsec-gw itself and not
 accounting for the fact that the ipsec.conf lines mostly are
 to talk from net A to net B, host X will do ipsec to peer Y. In such
 a case, testing from host X will not go through the tunnel, since the
 rule is from net A.
 Most of the time the host X has a leg on net A and can ping -I
 my-ip-at-NetA dest-on-net-B but not always.
 
 Then again, since active esp is the default for ipsec.conf when you
 write ike esp ..., it should start trying to set the tunnel up as
 soon as you load the rules, and not wait until packets want to
 traverse it.
 
 -- 
 To our sweethearts and wives.  May they never meet. -- 19th century toast



Re: 5.2 SSD machine won't boot

2012-11-03 Thread Tomas Bodzar
On Sat, Nov 3, 2012 at 6:30 PM, Devin Ceartas de...@nacredata.com wrote:
 On Sat, Nov 3, 2012 at 11:35 AM, Devin Ceartas de...@nacredata.com wrote:

 On Sat, Nov 3, 2012 at 12:38 AM, Tomas Bodzar tomas.bod...@gmail.comwrote:

 On Fri, Nov 2, 2012 at 11:50 PM, Devin Ceartas de...@nacredata.com
 wrote:
  On Fri, Nov 2, 2012 at 3:10 PM, Devin Ceartas de...@nacredata.com
 wrote:
 
  On Nov 2, 2012, at 3:04 PM, Tyler Morgan wrote:
 
   On 11/2/2012 6:39 AM, Devin Ceartas wrote:
   hp laptop with Intel SSD won't boot under 5.2 - the problem
 reported on
  
   screen appears to be the one described here:
  
  
 
 http://old.nabble.com/Re%3A-Fwd%3A--mSATA-failure-on-6501-w--OpenBSD-5.0-td32881415.html#a32884546
  
   ahci0: stopping the port, softreset slot 31 was still active.
  
   ahci0: failed to reset port during timeout handling, disabling it
  
   Does anyone have a patch to try or is there a way to boot into the
 full
  
   system starting from a CD or network boot?
  
   -- devin
 
 
   Boots reliably when running Current. Thanks, lesson learned.
  



 Problem is back. Booted several times from the Oct. 30 snapshot. Did the
 CVS sync to latest -current, and ports. Tried to install XFCE and found the
 default disk layout didn't have room for all the dependencies to be built.
  So started over again from snapshot, rearranging the disk layout. Now I
 have am back to repeated failures to boot with the AHCI error message. I
 can find no where to toggle this in the very minimal BIOS (interface is
 labeled InsydeH2) Setup Utility). Back to being stuck :-(

 devin


 If I wanted to hack on a solution to this AHCI (softraid related?) issue
 with SSDs, where would I start?


Look at sources, check who's mostly working on that part and ask him,
search in tech@ if something similar worked on or you can send patches
to that mailing list. Or are you asking more wider question about how
to develop on OpenBSD?

 devin