Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-22 Thread Stephane Lapie
On Oct 21, 2008, at 8:01 PM, Alexey Suslikov wrote:

 Stephane Lapie wrote:

 Hello,

 I am currently working with a Portwell NAR-5530 (network appliance
 running off Intel hardware, can use regular HDs or CF cards as boot
 device).

 We want to use this at work for network appliances, but end up
 bumping in the following problem : the kernel detects any device
 plugged to the controller (SATA or CF) as UltraDMA-5, even though the
 BIOS specifies otherwise clearly.

 You definitely should try to install recent snapshot on a CF
 card and boot GENERIC.MP with APM disabled since that
 box may mis-behave on interrupts without APCI.

 Issue bsd.mp -c in UKC than disable apm and exit.

Since the Intel controller got two modes (Enhanced, which  
successfully activates, but provokes issues with wd0 being recognized  
as UDMA5 ; Compatible, which can't allocate properly an IRQ, probably  
due to an ACPI issue), I tried booting with both modes :

Here is the dmesg trace for a bsd.mp kernel (I'll build a full  
fledged MP based ramdisk once I confirm this works) in Enhanced mode :

OpenBSD 4.4-current (GENERIC.MP) #937: Sat Oct 18 21:14:41 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (GenuineIntel 686- 
class) 2.40 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  = 2138324992 (2039MB)
avail mem = 2059100160 (1963MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/15/07, BIOS32 rev. 0 @  
0xf0010, SMBIOS rev. 2.4 @ 0xfbc30 (27 entries)
bios0: vendor American Megatrends Inc. version 080014 date 03/15/2007
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG OEMB GSCI
acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S4) USB1(S4) USB2(S4)  
USB3(S4) EUSB(S4) USB4(S4) USB5(S4) USBE(S4) GBE_(S4) P0P4(S4) P0P5 
(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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 2 (application processor)
cpu2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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 3 (application processor)
cpu3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 7 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus 3 (P0P6)
acpiprt5 at acpi0: bus 4 (P0P7)
acpiprt6 at acpi0: bus 5 (P0P8)
acpiprt7 at acpi0: bus 6 (P0P9)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82Q965 Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd000, size 0x1000
inteldrm0 at vga1 Intel i965Q(0), 1.6.0 20080312
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: apic 4  
int 16 (irq 10)
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
apic 4 int 16 (irq 10), address 00:90:fb:12:b4:6d
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: apic 4  
int 17 (irq 11)
pci2 at ppb1 bus 2
em1 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
apic 4 int 17 (irq 11), address 00:90:fb:12:b4:6e
ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x02: apic 4  
int 18 (irq 5)
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
apic 4 int 18 (irq 5), address 00:90:fb:12:b4:6f
ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x02: apic 4  
int 19 (irq 15)
pci4 at ppb3 bus 4
em3 at pci4 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
apic 4 int 19 (irq 15), address 00:90:fb:12:b4:70
ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x02: apic 4  
int 16 (irq 10)
pci5 at ppb4 bus 5
em4 at pci5 dev 0 function 0 Intel PRO/1000MT (82573L) rev 

Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-22 Thread Alexey Suslikov
On Wed, Oct 22, 2008 at 9:15 AM, Stephane Lapie [EMAIL PROTECTED] wrote:
 On Oct 21, 2008, at 8:01 PM, Alexey Suslikov wrote:

 Stephane Lapie wrote:

 Hello,
 I am currently working with a Portwell NAR-5530 (network appliance
 running off Intel hardware, can use regular HDs or CF cards as boot
 device).
 We want to use this at work for network appliances, but end up
 bumping in the following problem : the kernel detects any device
 plugged to the controller (SATA or CF) as UltraDMA-5, even though the
 BIOS specifies otherwise clearly.

 You definitely should try to install recent snapshot on a CF
 card and boot GENERIC.MP with APM disabled since that
 box may mis-behave on interrupts without APCI.
 Issue bsd.mp -c in UKC than disable apm and exit.

 Since the Intel controller got two modes (Enhanced, which successfully
 activates, but provokes issues with wd0 being recognized as UDMA5 ;
 Compatible, which can't allocate properly an IRQ, probably due to an ACPI
 issue), I tried booting with both modes :
 Here is the dmesg trace for a bsd.mp kernel (I'll build a full fledged MP
 based ramdisk once I confirm this works) in Enhanced mode :

You need to sendbug about this (including your researches)
if you want this to be fixed in tree.

Alexey



Re: LDAP and OpenBSD

2008-10-22 Thread Gavin Norman

I attempted the steps based on your experience with ypldap.

I downloaded a snapshot 2 days ago and setup a fresh install on a 
virtual machine.


However I get the following after running ypldap:

# ypldap -dv
startup [debug mode]
configuration starting
applying configuration
connecting to directories
starting directory update
starting directory update
updates are over, cleaning up trees now
flattening trees

I never receive the pushing lines: ... output.

Here is my ypldap.conf:
interval 60  # how many seconds between retries
domain domain.net.au  # only one domain for now

provide map passwd.byname
provide map passwd.byuid
provide map group.byname
provide map group.bygid

directory ldap server {
   binddn cn=Manager,dc=domain,dc=net,dc=au
   bindcred 
   basedn ou=Users,dc=domain,dc=net,dc=au

   passwd filter (objectClass=posixAccount)
   attribute name maps to uid
   fixed attribute passwd *
   fixed attribute class ldap
   attribute uid maps to uidNumber
   attribute gid maps to gidNumber
   attribute gecos maps to cn
   attribute home maps to homeDirectory
   attribute shell maps to loginShell
   attribute change maps to shadowLastChange
   fixed attribute expire 0

   group filter (objectClass=posixGroup)
   attribute groupname maps to cn
   fixed attribute grouppasswd *
   attribute groupgid maps to gidNumber
   list groupmembers maps to memberUid
}

Thanks.

--
Gavin Norman
E: [EMAIL PROTECTED]



Multiple default gateways with different metrics?

2008-10-22 Thread Felipe Alfaro Solana
Hi openbsd-misc,

Is there a way to have two entries in the routing table for the
default gateway, one with a low metric (typically 0) and another one
with a higher metric? Usually, the route with the lowest metric should
be used unless marked invalid or removed.

I'm currently using AICCU in a active/active firewall environment.
AICCU sets up a default route for the IPv6 internet. If AICCU goes
down the entry is removed so a manual route has to be injected in the
routing table pointing to the other firewall in the HA group (AICCU
can only run in one of the firewalls due to limitations). It would be
nice to have a second default route with a higher metric such as that
if AICCU goes down and removes it's default route, the other default
route (the one with a higher) metric is left in the routing table and
used from there on. Then, the IPv6 internet can be reached over this
higher metric router. When AICCU is started again, a new entry will be
injected by AICCU using a very low metric, and the route with the high
metric won't be used anymore.

Is there a way to achieve this other than using ifstated or shell
scripts? OSPF won't do the job as it doesn't support IPv6.

Thanks for your time.


-- 
http://www.felipe-alfaro.org/blog/disclaimer/



A New Beginning for Oxygen Users

2008-10-22 Thread Portable Oxygen Experts
Staying Active is the Key To Good Health
That is why your doctor recommends Medicare approved Portable Oxygen 
Concentrators for people on oxygen therapy.
The all-in-one solution for your Home, Portable, and Travel Needs.

Visit Here:
http://MR2TECH.COM/ODKDkhiDHziiegkOkikihgCKOHezDk

Oxygen.
Anytime.
Anywhere.

Regards,
Open-Aire



Unsubscribe:
http://MR2TECH.COM/ODKDkhiDHziiegkOkgkihgCKOHezDk
PO Box 24082, Oakland Park, FL 33307

This email brought to you by:
Ahora Media Inc. - 906 SW St. Lucie W Blvd #137 - Port. St. Lucie, Florida 34986
Manage Your Account: http://MR2TECH.COM/ODKDkhiDHziiegkOkCkihgCKOHezDk



mp3 player USB issue (ehci0: port reset timeout)

2008-10-22 Thread Michael
Hi,

when attaching my Sansa USB player the kernel reports the following:

ehci0: port reset timeout
ehci_freex: xfer=0xd1b11000 not busy, 0x4f4e5155

Guess it is needless to say that I am not able to access the memory.
Loading the battery works however... also accessing it works just fine
with Windows.



$ dmesg
OpenBSD 4.4-current (GENERIC.MP) #942: Mon Oct 20 17:59:41 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3 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,CNXT-ID,CX16,xTPR
real mem  = 1063378944 (1014MB)
avail mem = 1019658240 (972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/31/06, BIOS32 rev. 0 @ 0xffe90,
SMBIOS rev. 2.3 @ 0xf0450 (73 entries)
bios0: vendor Dell Inc. version A07 date 03/31/2006
bios0: Dell Inc. OptiPlex GX620
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SSDT SSDT SSDT
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5)
PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3 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,CNXT-ID,CX16,xTPR
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 3 (PCI4)
acpiprt1 at acpi0: bus 1 (PCI2)
acpiprt2 at acpi0: bus 2 (PCI3)
acpiprt3 at acpi0: bus -1 (PCI1)
acpiprt4 at acpi0: bus -1 (PCI5)
acpiprt5 at acpi0: bus -1 (PCI6)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: FVS, 3000, 2400 MHz
acpicpu1 at acpi0: FVS, 3000, 2400 MHz
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc/0xa800! 0xca800/0x2000! 0xcc800/0x3800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: Intel i945G(0), 1.6.0 20080312
Intel 82945G Video rev 0x02 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 8 int
16 (irq 11)
pci1 at ppb0 bus 1
bge0 at pci1 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
(0x4001): apic 8 int 16 (irq 11), address 00:13:72:cf:5d:52
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: apic 8 int
17 (irq 10)
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 8 int
21 (irq 9)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 8 int
22 (irq 5)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 8 int
18 (irq 3)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 8 int
23 (irq 10)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 8 int
21 (irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
pci3 at ppb2 bus 3
auich0 at pci0 dev 30 function 2 Intel 82801GB AC97 rev 0x01: apic 8
int 23 (irq 10), ICH7 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CDRW/DVD TSL462C, DE06 ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 8 int 20 (irq 5) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: WDC WD800JD-75LSA0
wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: SMI
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-4200CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 

4.4 Release party in Vienna

2008-10-22 Thread Martin Reindl
A handful of developers are coming to Vienna after p2k8 in Budapest next week,
so we are going to have our 4.4 party on friday, 31st november, 8pm.

The event will happen in the Siebensternbraeu, Siebensterngasse 19A, 1070 Wien,
Austria (http://www.7stern.at).

Everyone is welcome to join us!

martin



Re: mp3 player USB issue (ehci0: port reset timeout)

2008-10-22 Thread Michael
Additional info...

...I am pretty sure that it still worked with 4.3.


Michael schrieb:
 Hi,
 
 when attaching my Sansa USB player the kernel reports the following:
 
 ehci0: port reset timeout
 ehci_freex: xfer=0xd1b11000 not busy, 0x4f4e5155
 
 Guess it is needless to say that I am not able to access the memory.
 Loading the battery works however... also accessing it works just fine
 with Windows.
 
 
 
 $ dmesg
 OpenBSD 4.4-current (GENERIC.MP) #942: Mon Oct 20 17:59:41 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3 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,CNXT-ID,CX16,xTPR
 real mem  = 1063378944 (1014MB)
 avail mem = 1019658240 (972MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 03/31/06, BIOS32 rev. 0 @ 0xffe90,
 SMBIOS rev. 2.3 @ 0xf0450 (73 entries)
 bios0: vendor Dell Inc. version A07 date 03/31/2006
 bios0: Dell Inc. OptiPlex GX620
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SSDT SSDT SSDT
 acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5)
 PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3 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,CNXT-ID,CX16,xTPR
 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 8
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 3 (PCI4)
 acpiprt1 at acpi0: bus 1 (PCI2)
 acpiprt2 at acpi0: bus 2 (PCI3)
 acpiprt3 at acpi0: bus -1 (PCI1)
 acpiprt4 at acpi0: bus -1 (PCI5)
 acpiprt5 at acpi0: bus -1 (PCI6)
 acpiprt6 at acpi0: bus 0 (PCI0)
 acpicpu0 at acpi0: FVS, 3000, 2400 MHz
 acpicpu1 at acpi0: FVS, 3000, 2400 MHz
 acpibtn0 at acpi0: VBTN
 bios0: ROM list: 0xc/0xa800! 0xca800/0x2000! 0xcc800/0x3800
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02
 vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 agp0 at vga1: aperture at 0xe000, size 0x1000
 inteldrm0 at vga1: Intel i945G(0), 1.6.0 20080312
 Intel 82945G Video rev 0x02 at pci0 dev 2 function 1 not configured
 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 8 int
 16 (irq 11)
 pci1 at ppb0 bus 1
 bge0 at pci1 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1
 (0x4001): apic 8 int 16 (irq 11), address 00:13:72:cf:5d:52
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: apic 8 int
 17 (irq 10)
 pci2 at ppb1 bus 2
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 8 int
 21 (irq 9)
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 8 int
 22 (irq 5)
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 8 int
 18 (irq 3)
 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 8 int
 23 (irq 10)
 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 8 int
 21 (irq 9)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb2 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
 pci3 at ppb2 bus 3
 auich0 at pci0 dev 30 function 2 Intel 82801GB AC97 rev 0x01: apic 8
 int 23 (irq 10), ICH7 AC97
 ac97: codec id 0x41445374 (Analog Devices AD1981B)
 ac97: codec features headphone, 20 bit DAC, No 3D Stereo
 audio0 at auich0
 ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM disabled
 pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA,
 channel 0 configured to compatibility, channel 1 configured to compatibility
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus0 at atapiscsi0: 2 targets, initiator 7
 cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CDRW/DVD TSL462C, DE06 ATAPI
 5/cdrom removable
 cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 ignored (disabled)
 pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA,
 channel 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide1: using apic 8 int 20 (irq 5) for native-PCI interrupt
 wd0 at pciide1 channel 0 drive 0: WDC WD800JD-75LSA0
 wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors
 wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
 ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: SMI
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x50: 

Re: 4.4 Release party in Vienna

2008-10-22 Thread Martin Reindl
Martin Reindl [EMAIL PROTECTED] wrote:

 A handful of developers are coming to Vienna after p2k8 in Budapest next week,
 so we are going to have our 4.4 party on friday, 31st november, 8pm.

oops, should say: 31st october



Two Video Cards and Monitors

2008-10-22 Thread Chris Bennett
I have two good monitors and two video cards that I am trying to get 
working at same time for two screens at once.

After I installed second card, I found that it was not configured.
If I change the BIOS setting to PCI first, the other card then works and 
first one is not configured.

I have made xorg.conf files that work fine for both, separately.
I mixed parts of the two, seems to work OK but no second monitor.

Tried boot -c to enable vga0 and vga1.
Didn't help

What do I need to do now?
One card is AGP the other is PCI.
Both are older Nvidia



Re: Two Video Cards and Monitors

2008-10-22 Thread kgodbold
On Wed, Oct 22, 2008 at 04:51:49PM -0500, Chris Bennett wrote:
 I have two good monitors and two video cards that I am trying to get 
 working at same time for two screens at once.
 After I installed second card, I found that it was not configured.
 If I change the BIOS setting to PCI first, the other card then works and 
 first one is not configured.
 I have made xorg.conf files that work fine for both, separately.
 I mixed parts of the two, seems to work OK but no second monitor.
 
 Tried boot -c to enable vga0 and vga1.
 Didn't help
 
 What do I need to do now?
 One card is AGP the other is PCI.
 Both are older Nvidia
 

I have that same setup working. It will only show console output on
one screen but both work in X. Just adjust the values to your setup.


# xorg.conf (xorg X Window System server configuration file)

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout us
Option  XkbVariantdvorak
Option  XkbOptionsctrl:nocaps
EndSection

Section Device
Identifier  Video Card1
Driver  nv
BusID   PCI:1:0:0
EndSection

Section Device
Identifier  Video Card2
Driver  nv
BusID   PCI:5:0:0
EndSection

Section Monitor
Identifier  Monitor1
EndSection

Section Monitor
Identifier  Monitor2
EndSection

Section Screen
Identifier  Screen1
Device  Video Card1
Monitor Monitor1
EndSection

Section Screen
Identifier  Screen2
Device  Video Card2
Monitor Monitor2
EndSection

Section ServerLayout
Identifier Multihead
Screen Screen1 LeftOf Screen2
Screen Screen2 RightOf Screen1
InputDevice Generic Keyboard
EndSection

Section ServerFlags
Option Xinerama true
Option DefaultServerLayout Multihead
EndSection



Tecnicas Efectivas de Inventarios

2008-10-22 Thread Vanesa Lopez
Ultima PresentaciC3n en el AC1o de...

10 TC)cnicas Efectivas para el Resurtido Eficiente de Inventarios
Monterrey: 29 de Octubre-MC)xico, D.F.: 30 de Octubre-
Guadalajara: 31 de Octubre


Asista a este seminario y aprenda cC3mo a travC)s de la selecciC3n,
implementaciC3n y operaciC3n de las tC)cnicas adecuadas y popularmente
utilizadas, puede lograr una alta rotaciC3n de inventarios, minimizando la
inversiC3n de capital sin afectar el servicio a clientes internos y externos,
consiguiendo una mezcla balanceada de inventarios donde no sobre lo que el
cliente o la lC-nea de producciC3n no necesita y no falte lo que cliente y
fabrica B!B! Piden a gritos!!

Establezca un plan para implementar las herramientas mC!s adecuadas de acuerdo
al tipo de producto, mercado, necesidades de su cliente y estrategia
competitiva de su empresa, incluyendo:

-CC3mo evitar inventarios desbalanceados, pC)rdida de ventas, pobre respuesta
al cliente y la oportunidad a la competencia de ganarnos el mercado. Si su
empresa no surte el pedido B!B!alguien mC!s lo harC! por usted!!!

-CC3mo resolver faltantes de materias primas, componentes, refacciones,
repuestos y subensambles que ponen en riesgo paros en la planta y ocasionan
enormes gastos y pC)rdidas por las urgencias en las que se incurre.

-CC3mo reducir sus riesgos y costos ante la utilizaciC3n de materias primas
defectuosas, paqueterC-as y fletes urgentes, corridas y tiempos extras B!B!por
falta de existencias!! debido a una mala programaciC3n de los pedidos
colocados al proveedor o las C3rdenes de la fC!brica.

-CC3mo evitar sobre saturaciC3n de inventarios que ocupan mayor espacio de
almacenamiento y con mayor posibilidad de pC)rdida por robo, obsolescencia o
deterioro.

-La utilizaciC3n correcta de dos o mC!s tC)cnicas que ofrezcan los resultados
mC!s sobresalientes para cada tipo de inventario - B!B!Un remedio puede no
servir para curar todas las enfermedades!!!

-DiseC1o e implementaciC3n de un plan que opere con las herramientas
aprendidas y su correcto sistema de evaluaciC3n.

-La correcta definiciC3n de las responsabilidades y polC-ticas en la
planeaciC3n de los inventarios, basadas en el nivel de inversiC3n autorizado,
coberturas, tiempos de entrega, tamaC1os de lote y objetivo de nivel de
servicio a clientes.



*Solicite un folleto gratuito con la informaciC3n Completa de este seminario


Responda este correo con los siguientes datos:

Seminario: 10 TC)cnicas Efectivas para el Resurtido Eficiente de Inventarios
Nombre:
Empresa:
Puesto:
Telefono:
Ciudad:


O llamenos al 01.800.250.10.20 (Lada sin costo)








.

Esta invitaciC3n fuC) enviada a: misc@openbsd.org
Si no desea correos futuros responda - ahorano



Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-22 Thread Stephane Lapie

On Oct 22, 2008, at 4:49 PM, Alexey Suslikov wrote:

On Wed, Oct 22, 2008 at 9:15 AM, Stephane Lapie [EMAIL PROTECTED] 
is.co.jp wrote:

On Oct 21, 2008, at 8:01 PM, Alexey Suslikov wrote:

Stephane Lapie wrote:

Hello,
I am currently working with a Portwell NAR-5530 (network appliance
running off Intel hardware, can use regular HDs or CF cards as boot
device).
We want to use this at work for network appliances, but end up
bumping in the following problem : the kernel detects any device
plugged to the controller (SATA or CF) as UltraDMA-5, even though the
BIOS specifies otherwise clearly.

You definitely should try to install recent snapshot on a CF
card and boot GENERIC.MP with APM disabled since that
box may mis-behave on interrupts without APCI.
Issue bsd.mp -c in UKC than disable apm and exit.

Since the Intel controller got two modes (Enhanced, which  
successfully

activates, but provokes issues with wd0 being recognized as UDMA5 ;
Compatible, which can't allocate properly an IRQ, probably due to  
an ACPI

issue), I tried booting with both modes :
Here is the dmesg trace for a bsd.mp kernel (I'll build a full  
fledged MP

based ramdisk once I confirm this works) in Enhanced mode :


You need to sendbug about this (including your researches)
if you want this to be fixed in tree.


FYI, I filed the bug under kernel/5961.

On another note, simply detecting proper mode for the disk doesn't  
fix all of the issues ; it still seems there is a problem with the  
pciide driver, as I have confirmed the following error :


wd0(pciide0:0:0): timeout
type: ata
c_bcount: 16384
c_skip: 0
pciide0:0:0: bus-master DMA error: status=0x22
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x22
wd0a: device timeout reading fsbn 1244032 of 1244032-1244063 (wd0 bn  
1244095; cn 308 tn 35 sn 34), retrying

wd0(pciide0:0:0): timeout
type: ata
c_bcount: 16384
c_skip: 0
pciide0:0:0: bus-master DMA error: status=0x22
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x22
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0a: device timeout reading fsbn 1244032 of 1244032-1244063 (wd0 bn  
1244095; cn 308 tn 35 sn 34), retrying

wd0: soft error (corrected)

Here is the preceding dmesg trace (kernel has apm disabled) :

OpenBSD 4.3 (RAMDISK_CD.MP) #1: Wed Oct 22 16:05:57 JST 2008
[EMAIL PROTECTED]:/var/work/src-portwell/sys/ 
arch/i386/compile/RAMDISK_CD.MP
cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (GenuineIntel 686- 
class) 2.40 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  = 2138324992 (2039MB)
avail mem = 2061094912 (1965MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/15/07, BIOS32 rev. 0 @  
0xf0010, SMBIOS rev. 2.4 @ 0xfbc30 (27 entries)

bios0: vendor American Megatrends Inc. version 080014 date 03/15/2007
acpi0 at bios0: rev 2, can't enable ACPI
bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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 2 (application processor)
cpu2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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 3 (application processor)
cpu3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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

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 5 is type PCI
mainbus0: bus 6 is type PCI
mainbus0: bus 7 is type PCI
mainbus0: bus 8 is type ISA
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02
agp at pchb0 not configured
vga1 at pci0 dev 2 function 0 Intel 82Q965 Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: apic 4  
int 16 (irq 10)

pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
apic 4 int 16 (irq 10), address 00:90:fb:12:b4:6d
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: 

oT - ffsdrv / ufs2tools free alternative , to read ffs AND/OR BSD SWAP in xp..

2008-10-22 Thread Neko
Hi,

after a few trial i haven't got much chance with the ffsdrv, and the code
seems kinda old,  i *think* some changes occured in the lasts version
that make this obsolete,  im about to have a poke at ufs2tools, anyways
this is what im hacking rite now. (tbc)

i didn't have any luck finding a nice
program like Swapfs for openbsd's swap (again to be open under m$).

if someone have seen some of these projects that are updated or new
around, it would be good to share the info , get the knowledge back
in google... (anything that would work and isn't a pretentious 499$).


in any case i will try and hack the rawfs/filefs code, and get as much
src on the table as i can, since this is becoming a necessity.


thanks

neko



Re: ftp-proxy and IP alias

2008-10-22 Thread Chris Smith
On Tue, Oct 21, 2008 at 2:04 PM, Chris Smith [EMAIL PROTECTED] wrote:
 OK, looks like this will work:

 rc.conf.local:
 ftpproxy_flags=-a r.s.t.u -p 8021
 ftpproxy_flags=-a r.s.t.v -p 8022

 pf.conf
 rdr pass on $int_if proto tcp from alias1_sys to any port ftp -
 127.0.0.1 port 8021
 rdr pass on $int_if proto tcp from alias2_sys to any port ftp -
 127.0.0.1 port 8022

 I started the second instance of ftp-proxy manually and it worked
 fine. As long as rc.conf.local starts up both instances on reboot
 (which I can test after hours) than should be good to go.

Was finally able to test the reboot scenario and two instances of
ftp-proxy do not get started from rc.conf.local. Needed to run the
second instance from rc.local.

Chris