Re: Nvidia bug

2009-02-15 Thread Matthieu Herrb
On Sun, Feb 15, 2009 at 4:36 AM, Chris Bennett
ch...@bennettconstruction.biz wrote:


 I've got two (different) Nvidia cards that worked fine in multihead
 until the new libpciaccess
 Would love to get that working again. Will need to install an older
 version of OBSD to get working
 Xorg.0.log


Multi-card multi-head setups are indeed broken in the X server since
it switched to libpciaccess. There is some work going on to try to fix
it, but without success so far.

Complaining on X.Org lists (x...@lists.freedesktop.org, or
bugzilla.freedesktop.org/Xorg product) may help showing other
developpers that there is a real interest in those setups and that
support for it should be fixed and not dropped.

(The Intel X developpers lean toward dropping it since their chips do
not support multiple cards and they aren't supposed to support their
competitor's machines).
-- 
Matthieu Herrb



Re: How to serve NFSv6 ?

2009-02-15 Thread jean-francois
Thanks for answer.
Why is NFSv4 not used ? Is there any way to use it instead ?

JF

Le samedi 14 fC)vrier 2009 C  21:37 -0600, Aaron Poffenberger a C)crit :
 On Feb 14, 2009, at 18:23, jean-francois wrote:
 
  Hi All,
 
  Unfortunately it looks like I have mounted a NFS v2/3 server. Is'nt the
  standard nfs for OpenBSD 4.4 a v4 ? If so how is it I could not mount it
  as a V4 on the client but only as a v2 or v3 (i'm not sure which of 2 or
  3) ?
  Please help me to understand. Is it a good thing to go for NFSv4
  instead ?
 
  Thanks
  J-F
 
 
 OpenBSD's nfsd(8) is v3 only, though many of the client utils are able 
 to fallback to v2 when working with other servers (cf. mount_nfs(8), 
 showmount(8)).
 
 nfsd(8) has the following in the man page:
   nfsd listens for service requests at the port indicated in the NFS server
   specification; see Network File System Protocol Specification, RFC 1094
   and NFS: Network File System Version 3 Protocol Specification.
 
 Cheers,
 
 Aaron



Re: Nvidia bug

2009-02-15 Thread Lars Noodén
Matthieu Herrb wrote:
 Multi-card multi-head setups are indeed broken in the X server since
 it switched to libpciaccess. There is some work going on to try to fix
 it, but without success so far.
 
 Complaining on X.Org lists (x...@lists.freedesktop.org, or
 bugzilla.freedesktop.org/Xorg product) may help showing other
 developpers that there is a real interest in those setups and that
 support for it should be fixed and not dropped.

I've been interested in arranging multi-seat (not multi-head) kiosks and
stations, but only had time to attempt it once over a year ago.  Back
then I also ran into X problems, though I was able to get multiple X
sessions after some work.

 (The Intel X developpers lean toward dropping it since their chips do
 not support multiple cards and they aren't supposed to support their
 competitor's machines).

That sucks, but then I've been tired of Intel for years and really eager
to move on to ARM, Cell or back to Sparc.

-Lars



Re: How to serve NFSv6 ?

2009-02-15 Thread Peter Hessler
openbsd uses nfsv3 over ipv4.  nfsv4 is still being worked on, but is
not ready.  nfsv3 does not work over ipv6.

On 2009 Feb 15 (Sun) at 01:23:37 +0100 (+0100), jean-francois wrote:
:Hi All,
:
:Unfortunately it looks like I have mounted a NFS v2/3 server. Is'nt the
:standard nfs for OpenBSD 4.4 a v4 ? If so how is it I could not mount it
:as a V4 on the client but only as a v2 or v3 (i'm not sure which of 2 or
:3) ?
:Please help me to understand. Is it a good thing to go for NFSv4
:instead ?
:
:Thanks
:J-F
:

-- 
Psychiatrists say that one out of four people are mentally ill.  Check
three friends.  If they're OK, you're it.



Huawei Modem Setup

2009-02-15 Thread Tom Jones

I got a HUAWEI E169 usb modem on the three carrier, here in the UK.
I am completely lost on how to set the modem up, Ive been through the example
from the FAQ and from some Linux sources, but I would really appreciate if 
someone could give an example of their ppp.conf or similar that is working on 
three.


Thanks in advance



ppp.conf
default:
 set device /dev/cuaU0
 set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \\ ATZ OK-ATZ-OK AT+CGDCONT=1 AT+CPIN=,\\\IP\\\,\\\internet\\\ 
OK \\dATD\\T TIMEOUT 40 CONNECT
 set phone *99***1#
 set speed 115200
 set authname three
 set authkey three
 set login
 set timeout 120
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns

OpenBSD 4.4-current (GENERIC) #1672: Fri Feb  6 14:11:28 MST 2009
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 1064398848 (1015MB)
avail mem = 1020940288 (973MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/08/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06c0 (37 entries)
bios0: vendor American Megatrends Inc. version 0801 date 01/08/2008
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3) 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 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P3)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model 701 serial   type LION oem ASUS
acpiac0 at acpi0: AC unit offline
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 5)
drm0 at inteldrm0
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: apic 1 int 
16 (irq 5)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16 
(irq 5)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: apic 1 int 17 
(irq 11)
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 Attansic Technology L2 rev 0xa0: apic 1 int 17 
(irq 11), address 00:1f:c6:20:16:7f
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI 
0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: apic 1 int 18 
(irq 10)
pci3 at ppb2 bus 1
ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: apic 1 int 18 (irq 10)
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:88:73:7b
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 3)
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: apic 1 int 19 
(irq 7)
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: apic 1 int 18 
(irq 10)
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: apic 1 int 16 
(irq 5)
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: apic 1 int 23 
(irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: apic 1 int 19 
(irq 0)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI 

How to serve NFSv4 perfiormance

2009-02-15 Thread jean-francois
Thanks for clarification.
I have performances issues with current nfs disks, many laggs waiting
time for seconds.
Does anyone know if this is normal or the result of a misconfiguration ?
I could not look at a video properly when it is hosted distantly over
the NFS link.

Thnaks for help.
JF
Le dimanche 15 fC)vrier 2009 C  12:42 +0100, Peter Hessler a C)crit :
 openbsd uses nfsv3 over ipv4.  nfsv4 is still being worked on, but is
 not ready.  nfsv3 does not work over ipv6.
 
 On 2009 Feb 15 (Sun) at 01:23:37 +0100 (+0100), jean-francois wrote:
 :Hi All,
 :
 :Unfortunately it looks like I have mounted a NFS v2/3 server. Is'nt the
 :standard nfs for OpenBSD 4.4 a v4 ? If so how is it I could not mount it
 :as a V4 on the client but only as a v2 or v3 (i'm not sure which of 2 or
 :3) ?
 :Please help me to understand. Is it a good thing to go for NFSv4
 :instead ?
 :
 :Thanks
 :J-F
 :



Bluetooth on Zaurus SL-C3200

2009-02-15 Thread openbsd
Does anyone know of an overview-type (howto) document for doing
bluetooth on OBSD?  I'm running 4.4 (on a PC and a Zaurus SL-C3200) and
have plugged a bluetooth adapter that is at least 2 years old (but fully
functional on other machines) into the USB port of my Zaurus and looking
at dmesg, it seems to be fully recognized, but I don't know how to do in
OBSD some of the basic bluetoothy things like going into discoverable
mode and file transfer and things like that.  I've googled at length for
such documents, but have found nothing helpful.  Any suggestions?

Ultimately, I'd like to be able to use things like a bluetooth keyboard
and mouse with the Zaurus in OBSD when I have the physical desktop space
to allow for that.  Does anyone know whether that's currently possible
in 4.4?

Thanks.

Otis



Re: Huawei Modem Setup

2009-02-15 Thread Pedro la Peu
On Sunday 15 February 2009 15:28:17 Tom Jones wrote:
 I got a HUAWEI E169 usb modem on the three carrier, here in the UK.
 I am completely lost on how to set the modem up, Ive been through the
 example from the FAQ and from some Linux sources, but I would really
 appreciate if someone could give an example of their ppp.conf or
 similar that is working on three.

Perhaps if I suggest this a second time you'll actually read it.

http://marc.info/?l=openbsd-miscm=123217270119277w=2



Sun Ultra 2

2009-02-15 Thread Mark Kettenis
To improve X support on sparc64, I could really use an SBus-based
workstation.  A dual Ultra 2 would be really great (to be able to test
SMP support on these machines), but a single CPU Ultra 2 or Ultra 1
would work as well.

Thanks,

Mark



Odd dhclient stuck after line down problem - possibly rl related

2009-02-15 Thread Peter N. M. Hansteen
Summary: dhclient unable to retrieve configuration after several
hours' downtime, rl interface, OpenBSD 4.4-stable

A few days back the ADSL connection to a machine I'm sometimes called
upon to nurture went down for some hours, and when it came back up, it
looks to me like dhclient for whatever reason got stuck trying to ask
for a new IP address.  The machine runs OpenBSD 4.4-stable (dmesg at
the end here) and possibly complicating the picture, it's also
configured with no-ip.  

here's the time when the line went down, 

Feb 12 09:57:00 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 09:57:53 niflheim last message repeated 4 times
Feb 12 09:59:21 niflheim last message repeated 4 times
Feb 12 10:07:21 niflheim last message repeated 4 times
Feb 12 10:10:47 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 10:27:19 niflheim last message repeated 2 times
Feb 12 10:38:30 niflheim last message repeated 3 times
Feb 12 10:47:42 niflheim last message repeated 8 times
Feb 12 10:59:42 niflheim last message repeated 2 times
Feb 12 11:02:07 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 11:28:03 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 11:51:05 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 11:55:21 niflheim last message repeated 26 times
Feb 12 11:55:23 niflheim noip2[18129]: Can't gethostbyname for 
dynupdate.no-ip.com 
Feb 12 11:55:29 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 11:56:07 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 11:58:11 niflheim last message repeated 15 times
Feb 12 11:59:26 niflheim last message repeated 6 times
Feb 12 12:00:02 niflheim syslogd: restart
Feb 12 12:00:10 niflheim dhclient[25565]: send_packet: No route to host

and a few hours later, the line is live again, but apparently we're not quite 
there still:

Feb 12 15:53:05 niflheim noip2[18129]: Can't gethostbyname for 
dynupdate.no-ip.com 
Feb 12 15:53:08 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 15:53:15 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 15:55:09 niflheim last message repeated 13 times
Feb 12 15:59:52 niflheim last message repeated 26 times
Feb 12 16:00:01 niflheim syslogd: restart
Feb 12 16:00:02 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 16:00:49 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 16:02:53 niflheim last message repeated 11 times
Feb 12 16:03:04 niflheim last message repeated 6 times
Feb 12 16:03:26 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 16:13:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 16:23:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 16:33:26 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 16:33:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 16:33:27 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 16:33:56 niflheim last message repeated 5 times
Feb 12 16:36:04 niflheim last message repeated 5 times
Feb 12 16:43:07 niflheim last message repeated 5 times
Feb 12 16:43:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 16:47:21 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 16:53:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 16:54:40 niflheim dhclient[25565]: send_packet: No route to host
Feb 12 17:03:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 17:13:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 17:23:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 17:33:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 17:43:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 
Feb 12 17:53:28 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No 
route to host) 

After a reboot, the problem of course went away.  Has anybody here
seen anything similar?  Or even better, is it a known problem with a
possible workaround?

Cheers,
Peter

dmesg:
OpenBSD 4.4-stable (GENERIC) #2: Thu Jan  1 20:51:33 CET 2009
r...@niflheim.alfanett.no:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 586-class) 500 
MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 246919168 (235MB)
avail mem = 230285312 (219MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/02/07, BIOS32 rev. 0 @ 0xed720, SMBIOS 
rev. 2.3 @ 0xe3110 (19 entries)
bios0: vendor General Software, Inc. version Version 5.2 date 09/02/2007
bios0: CompuLab AMD CM-iGLX Geode LX/CS5536
apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) (BIOS 
managing devices)
apm0: battery life 

Re: IBM ServeRAID support [OpenBSD installs on IBM Netfinity 4500R)

2009-02-15 Thread richardtoohey
Quoting Alexander Yurchenko gra...@disorder.ru:

 as some of you might know the ips(4) driver aimed to support IBM
 ServeRAID SATA/SCSI controllers was here starting from 4.1. but due to
 a
 nasty bug in the code it was not enabled on any install media.
 
 the snap from the feb 11 contains the updated ips driver with that bug
 fixed and various other improvements. read the man page to see what
 controllers are supported. the driver enabled on the installation cd.
 
[cut]
 -- 
  Alexander Yurchenko
  
Thanks for your work on this, Alexander.

As per our private emails, the snapshot of the 11th panics on this,
machine but the snapshot of the 14th does not.

4.4 and below would not configure/install.

IBM ServeRAID-4L, RAID-1 with 2x18.2Gb drives
(divided into 2 logical drives.)

dmesg below, apologies for any copy-and-paste mess.

OpenBSD 4.5-beta (GENERIC) #1682: Sat Feb 14 16:03:26 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 732 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 939065344 (895MB)
avail mem = 899510272 (857MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/20/01, BIOS32 rev. 0 @ 0xfd2c1
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132MHz
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 4 is type PCI
mpbios0: bus 5 is type ISA
ioapic0 at mainbus0: apid 14 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 15 pa 0xfec01000, version 11, 16 pins
pcibios0 at bios0: rev 2.1 @ 0xf/0x
pcibios0: PCI BIOS has 11 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0xa000 0xca000/0x3400
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE Host rev 0x05
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x05
pci1 at pchb1 bus 1
vga1 at pci0 dev 1 function 0 S3 Savage 4 rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcn0 at pci0 dev 2 function 0 AMD 79c970 PCnet-PCI rev 0x44, Am79c975, rev 4:
apic 15 int 11 (irq 11), address 00:02:55
:91:df:6c
ukphy0 at pcn0 phy 30: Generic IEEE 802.3u media interface, rev. 0: OUI
0x1a, model 0x0036
ips0 at pci0 dev 9 function 0 IBM ServeRAID rev 0x00: apic 15 int 0 (irq 10)
ips0: ServeRAID 4L, firmware 6.10.70, bios 6.10.80, 64 CCBs, 2 units
scsibus0 at ips0: 2 targets, initiator 2
sd0 at scsibus0 targ 0 lun 0: IBM, RAID1 #00, 1.0 SCSI2 0/direct fixed
sd0: 8678MB, 512 bytes/sec, 17772544 sec total
sd1 at scsibus0 targ 1 lun 0: IBM, RAID1 #01, 1.0 SCSI2 0/direct fixed
sd1: 8679MB, 512 bytes/sec, 17774592 sec total
sis0 at pci0 dev 10 function 0 NS DP83815 10/100 rev 0x00, DP83815D: apic 15
int 2 (irq 15), address 00:09:5b:07:2d:15
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x4f: SMBus disabled
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus1 targ 0 lun 0: LG, CD-ROM CRN-8241B, 1.24 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04: apic 14
int 9 (irq 9), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 ServerWorks OHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b

Thanks again.



Re: Create a bootable usb key?

2009-02-15 Thread Theo de Raadt
  On 2009-01-10, Guillaume Thouvenin guillaume.thouve...@polymtl.ca wrote:
 
  Now next step is to have wired network working and so add support to my
  Attansic Technology L1E.
 
  This chip is not yet supported in OpenBSD. N.B. it is not the same
  as either Attansic L1 or L2.
 
 Yes right. I will have a look how driver are implemented in OpenBSD and
 I will try to add the support of Attansic L1E. Do you know if someone
 is working on it?

it will happen as soon as kevlo has a board with it.



Re: Bluetooth on Zaurus SL-C3200

2009-02-15 Thread michael enoma aghayere
2009/2/16  open...@eml.cc:
 Does anyone know of an overview-type (howto) document for doing
 bluetooth on OBSD?  I'm running 4.4 (on a PC and a Zaurus SL-C3200) and
 have plugged a bluetooth adapter that is at least 2 years old (but fully
 functional on other machines) into the USB port of my Zaurus and looking
 at dmesg, it seems to be fully recognized, but I don't know how to do in
 OBSD some of the basic bluetoothy things like going into discoverable
 mode and file transfer and things like that.  I've googled at length for
 such documents, but have found nothing helpful.  Any suggestions?

 Ultimately, I'd like to be able to use things like a bluetooth keyboard
 and mouse with the Zaurus in OBSD when I have the physical desktop space
 to allow for that.  Does anyone know whether that's currently possible
 in 4.4?
Hi,

Have you included your dmesg?
Have you tried bluetooth-tools from packages?

-- 
~michael
www.BSDqed.com



amd64 4.5-beta kernel hang with pciide timeouts

2009-02-15 Thread Craig Brozefsky
I was attempting to install a 4.5-beta kernel on my machine, which is
currently running an older 4.4 beta just fine.  The 4.5 boot hands
immediately after

softraid0 at root

With some wdo (pciide0:0:0) ata timeout messages which I unfrotunately
cannot capture from that machine.  I let it sit there for at least 15
minutes to see if it would get over it, maybe downgrading it's PIO
mode or something.  It did not.

The messages looked something like:

wd0(pciide1:0:0): timeout
  type: ata
  c_bcount: 512
  c_skip: 0

Any hints?


DMESG FROM WORKING KERNEL:

OpenBSD 4.4-beta (GENERIC) #1: Thu Jul 31 01:37:02 CDT 2008
r...@piracy.kokonino.net:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1060769792 (1011MB)
avail mem = 1029713920 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (39 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 01/19/2005
bios0: http://www.abit.com.tw/ AV8 (VIA K8T800P-8237)
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP BOOT APIC
acpi0: wakeup devices PCI0(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) AC97(S5) MC97(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 Processor 3500+, 2247.77 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required
cpu0: Cool'n'Quiet K8 2247 MHz: speeds: 2200 2000 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA K8HTB Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA K8HTB Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA K8HTB Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA K8HTB Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA K8HTB Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp at vga1 not configured
ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
VIA VT6306 FireWire rev 0x46 at pci0 dev 7 function 0 not configured
dc0 at pci0 dev 9 function 0 Lite-On PNIC rev 0x20: irq 11, address 
00:c0:f0:56:30:06
mtdphy0 at dc0 phy 1: MTD972 10/100 PHY, rev. 8
vge0 at pci0 dev 14 function 0 VIA VT612x rev 0x11: irq 10, address 
00:50:8d:d3:6b:86
ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST3160811AS
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide0 channel 1 drive 0: ST3160811AS
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 disabled (no drives)
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-ROM SR-8582, 0ACA ATAPI 5/cdrom 
removable
cd0(pciide1:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 5
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 5
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 11
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 11
ac97: codec id 0x414c4780 (Avance Logic ALC658 rev 0)
ac97: codec features 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auvia0
pchb6 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb7 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb8 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root 

CanSecWest 2009 Speakers and Dojo courses (Mar 14-20)

2009-02-15 Thread Dragos Ruiu
Final Speaker Lineup for CanSecWest 2009 (March 18-20):
===

The Smart-Phones Nightmare - Sergio 'shadown' Alvarez

Getting into the SMRAM: SMM Reloaded - Lomc Duflot

Network design for effective HTTP traffic filtering - Jeff rfp
Forristal, Zscaler

Ninja Scanning - Fyodor, Insecure.org

On Approaches and Tools for Automated Vulnerability Analysis - Tanmay
Ganacharya  Nikola Livic  Abhishek Singh  Swapnil Bhalode  Scott
Lambert, Microsoft

Kicking It Old School: No DNS Packets Were Harmed In The Making Of
This Presentation - Dan Kaminski, IOActive

Binary Clone Wars: Software Whitelisting for Malware Prevention and
Coordinated Incident Response. - Shane Macaulay, Sean Comeau, and
Derek Callaway, Security Objectives

.NET Rootkits - Erez Metula

The Evolution of Microsoft's Exploit Mitigations - Matt Miller and Tim
Burrell, Microsoft

An overview of the state of videogame console security. - Victor Muqoz

A Look at a Modern Mobile Security Model: Google's Android - Jon
Oberheide

Bug classes we have found in *BSD, OS X and Solaris kernels - Christer
Oberg and Neil Kettle, Convergent Network Solutions

Multiplatform Iphone/Android Shellcode, and other smart phone
insecurities - Alfredo Ortega and Nico Economou, Core

Platform-independent static binary code analysis using a meta-assembly
language - Sebastian Porst  Thomas halvar Dullien, zynamics

Persistent BIOS Infection - Anibal Sacco  Alfredo Ortega, Core

Decompiling Dalvik and other JavaFX - Marc Schoenefeld

Automated Real-time and Post Mortem Security Crash Analysis and
Categorization - Jason Shirk  Dave Weinstein, Microsoft

SSL, The Sequel: MD5 collisions and EV certificates - Alexander
Sotirov  Mike Zusman

Exploiting Unicode-enabled software - Chris Weber

Chinese Infosec  Malware Overview - Wei icbm Zhao, 365menshen

Hacking Macs for Fun and Profit - Dino Dai Zovi  Charlie Miller

...and a variety of lightning talks...


Security Masters Dojo courses (March 14-17):


Metasploit: Asymmetric Warfare - H D Moore, BreakingPoint Systems

Advanced Honeypots - Thorsten Holz

IPv6 Network Security - Nico Fishbach  Guillaume Valadon, COLT  CNRS

Ultimate Web Hacking (One Day Edition) - Mike Andrews, Foundstone

TCP/IP Network Security In Depth - Andrea Barisani, inverse path

Effective Fuzzing using the Peach Fuzzing Platform - Michael
Eddington, Leviathan Security

Secure Java Programming and Auditing - Marc Schoenefeld

Practical 802.11 WiFi (In)Security - Cidric Blancher, EADS

Q/SSE Qualified/ Software Security Expert Certification Bootcamp -
Security University

Q/SA Qualified Security Analyst Penetration Tester - Security University

Advanced Linux Hardening - Andrea Barisani  Jay Beale, inverse path 
Intelguardians

Physical Security and Lock Technology - Deviant Ollam

The Exploit Laboratory - Advanced Edition - Saumil Shah, Net-Square

Mastering the Network with Scapy - Phillipe Biondi, EADS


Pwn2Own Contests:


There will be TWO Pwn2Own contests this year.
Generous cash prize(s) for exploits will be sponsored by Tipping Point,
and  a Sony VAIO P fresh from Japan and a new loaded Apple Macbook
will be amongst the prizes.

The targets this year will be mobile smart-phones, and browsers.

Mobile targets:
iPhone
Android
Symbian
RIM/BlackBerry
Windows Mobile

Browser Targets:
IE8
FF3
Safari
Opera

The contest will like in previous years feature a progressively
expanding attack surface over the three day duration of the
conference. Final prizes and rules will be announced shortly.

Post-Conference Whistler Expedition:
=

We have secured some rooms at good rates at the Westin in Whistler
and reserved a cluster of four, 3-5 bedroom, cabins for the weekend
after the conference. Contact d...@kyx.net if you wish to be included
in the planning, final accommodation rates will be announced shortly.

Conference Hotel Block:
===

The room rates at the Sheraton Wall Center hotel where the conference
is being held have been reduced from $183 to $169, and still includes
a waived $15/day free internet access in the rate.


Tenth Anniversary Gala Event:


Since this is our tenth anniversary for the conference, we will
be having a party on Thursday night. Venue TBD. We're pretty
sure there will be a cake. No word yet on whether there will
be dancers inside it. ;-)


Day-Care Facilities will be available:
=

As a nod to the shifting demographic of early gen. security
researchers we will be trying a new experiment this year
and we will be providing day-care facilities for those
traveling with kids. We will try to arrange some group
discounts with our provider once we know how many
kids and what ages and times will have to be
accommodated. If you are interested in this service
please send a note to 

Re: amd64 4.5-beta kernel hang with pciide timeouts

2009-02-15 Thread Marco Peereboom
we need the dmesg from the NOT working kernel.

On Sun, Feb 15, 2009 at 08:05:19PM -0600, Craig Brozefsky wrote:
 I was attempting to install a 4.5-beta kernel on my machine, which is
 currently running an older 4.4 beta just fine.  The 4.5 boot hands
 immediately after
 
 softraid0 at root
 
 With some wdo (pciide0:0:0) ata timeout messages which I unfrotunately
 cannot capture from that machine.  I let it sit there for at least 15
 minutes to see if it would get over it, maybe downgrading it's PIO
 mode or something.  It did not.
 
 The messages looked something like:
 
 wd0(pciide1:0:0): timeout
   type: ata
   c_bcount: 512
   c_skip: 0
 
 Any hints?
 
 
 DMESG FROM WORKING KERNEL:
 
 OpenBSD 4.4-beta (GENERIC) #1: Thu Jul 31 01:37:02 CDT 2008
 r...@piracy.kokonino.net:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 1060769792 (1011MB)
 avail mem = 1029713920 (982MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (39 entries)
 bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 01/19/2005
 bios0: http://www.abit.com.tw/ AV8 (VIA K8T800P-8237)
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP BOOT APIC
 acpi0: wakeup devices PCI0(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
 USB5(S3) USB6(S3) AC97(S5) MC97(S5) UAR1(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpicpu0 at acpi0: PSS
 acpibtn0 at acpi0: PWRB
 cpu0 at mainbus0: (uniprocessor)
 cpu0: AMD Athlon(tm) 64 Processor 3500+, 2247.77 MHz
 cpu0: 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
 64b/line 16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required
 cpu0: Cool'n'Quiet K8 2247 MHz: speeds: 2200 2000 1000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1
 pchb0 at pci0 dev 0 function 0 VIA K8HTB Host rev 0x00
 pchb1 at pci0 dev 0 function 1 VIA K8HTB Host rev 0x00
 pchb2 at pci0 dev 0 function 2 VIA K8HTB Host rev 0x00
 pchb3 at pci0 dev 0 function 3 VIA K8HTB Host rev 0x00
 pchb4 at pci0 dev 0 function 4 VIA K8HTB Host rev 0x00
 pchb5 at pci0 dev 0 function 7 VIA K8HTB Host rev 0x00
 ppb0 at pci0 dev 1 function 0 VIA K8HTB AGP rev 0x00
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon 9200 PRO rev 0x01
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 agp at vga1 not configured
 ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
 VIA VT6306 FireWire rev 0x46 at pci0 dev 7 function 0 not configured
 dc0 at pci0 dev 9 function 0 Lite-On PNIC rev 0x20: irq 11, address 
 00:c0:f0:56:30:06
 mtdphy0 at dc0 phy 1: MTD972 10/100 PHY, rev. 8
 vge0 at pci0 dev 14 function 0 VIA VT612x rev 0x11: irq 10, address 
 00:50:8d:d3:6b:86
 ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2
 pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
 pciide0: using irq 11 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: ST3160811AS
 wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 wd1 at pciide0 channel 1 drive 0: ST3160811AS
 wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
 pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, 
 channel 0 configured to compatibility, channel 1 configured to compatibility
 pciide1: channel 0 disabled (no drives)
 atapiscsi0 at pciide1 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets, initiator 7
 cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-ROM SR-8582, 0ACA ATAPI 5/cdrom 
 removable
 cd0(pciide1:1:0): using PIO mode 4, DMA mode 2
 uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 5
 uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 5
 uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11
 uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 11
 ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
 viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
 iic0 at viapm0
 spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
 auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 11
 ac97: codec id 0x414c4780 (Avance Logic ALC658 rev 0)
 ac97: codec features 20 bit DAC, 18 bit ADC, No 3D Stereo
 audio0 at auvia0
 pchb6 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
 pchb7 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
 pchb8 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
 kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
 usb1 at uhci0: