Re: PF, DNS, and internal network

2006-06-03 Thread Craig Skinner
On Fri, Jun 02, 2006 at 02:39:23PM -0700, Allen Theobald wrote:
 Greetings everyone!
 

   This question has to do with PF and DNS from my internal network to my ISP.
 
 Here is what I have done:
 
 Set /etc/sysctl.conf
 
net.inet.ip.forwarding=1
 
 Set /etc/rc.conf
 
pf=YES
 
 Used the pf.conf file from the FAQ 
 (http://www.openbsd.org/faq/pf/example1.html).  Except my internal is xl0 
 and my external is rl0.  rl0 gets its IP dynamically.
 
 My network looks exactly like the one in the FAQ 
 (http://www.openbsd.org/faq/pf/example1.html).
 
 I can ping www.google.com from the firewall.
 
 But I cannot ping www.google.com from any computers on the internal network.
 
 First, does the pf.conf in the FAQ route DNS requests from the internal 
 network?
 
 Second, if not would someone suggest a rule to accomplish that, so that DNS 
 can be handled by my ISP?

   I've tried a couple of rdr/pass combinations.  But no luck.

   Hell, I'm not even sure any rdr/pass combinations are requireddoesn't 
 seem like it.
 
 

The best thing to do is to setup a caching DNS server on your gateway,
and have your LAN clients query that:

On your gateway:

/etc/resolv.conf:
lookup file bind
nameserver 127.0.0.1
nameserver your.isps.dns2.ip
nameserver your.isps.dns3.ip

/etc/rc.conf.local:
named_flags=

/etc/pf.conf:
ext_if=rl0
int_if=rl1
lan_net=192.168.0.0/24

pass out on $ext_if inet proto {udp tcp} from ($ext_if) port  1023 \
to any port domain user named modulate state
pass in on $int_if inet proto udp from $lan_net port  1023 \
to $int_if port domain user named keep state

# cd /var/named/etc
cp -p named-simple.conf named.conf

change these lines:

options {
version ; // remove this to allow version queries
listen-on{ any; };
listen-on-v6 { any; };
allow-recursion { clients; };
};


to:

options {
version ; // remove this to allow version queries
listen-on{ 127.0.0.1; your.lan.ip; };
minimal-responses yes;
allow-recursion { clients; };
notify no;
allow-transfer { none; };
};


// Master zones
zone adimages.go.com { type master; file master/dummy-block.internal; };
zone admonitor.net { type master; file master/dummy-block.internal; };
zone ads.specificpop.com { type master; file master/dummy-block.internal; };
zone ads.web.aol.com { type master; file master/dummy-block.internal; };
zone ads.x10.com { type master; file master/dummy-block.internal; };
zone advertising.com { type master; file master/dummy-block.internal; };
zone amazingmedia.com { type master; file master/dummy-block.internal; };
zone clickagents.com { type master; file master/dummy-block.internal; };
zone commission-junction.com { type master; file master/dummy-block; };
zone doubleclick.net { type master; file master/dummy-block.internal; };
zone go2net.com { type master; file master/dummy-block.internal; };
zone infospace.com { type master; file master/dummy-block.internal; };
zone kcookie.netscape.com { type master; file master/dummy-block.internal; 
};
zone linksynergy.com { type master; file master/dummy-block.internal; };
zone msads.net { type master; file master/dummy-block.internal; };
zone qksrv.net { type master; file master/dummy-block.internal; };
zone yimg.com { type master; file master/dummy-block.internal; };
zone zedo.com { type master; file master/dummy-block.internal; };
zone adtech.de { type master; file master/dummy-block.internal; };
zone img.mediaplex.com { type master; file master/dummy-block.internal; };
zone msn.com { type master; file master/dummy-block.internal; };
zone kazaa.com { type master; file master/dummy-block.internal; };
zone messenger.hotmail.com { type master; file master/dummy-block.internal; 
};
zone msg.yahoo.com { type master; file master/dummy-block.internal; };
zone login.oscar.aol.com { type master; file master/dummy-block.internal; };
zone aimexpress.aol.com { type master; file master/dummy-block.internal; };
zone ru4.com { type master; file master/dummy-block.internal; };
zone poindextersystems.com { type master; file master/dummy-block.internal; 
};

# cat master/dummy-block.internal
; Zone file for dummy-block
; http://www.deer-run.com/~hal/sysadmin/dns-advert.html
; http://www.holland-consulting.net/tech/imblock.html

$TTL 7D ; client caching [RFC 2308]

@   SOA (
your.servers.hostname.  ; master name server
your.dotted.email.  ; zone maintainer's email [RFC 2142]
2006042200  ; serial, todays date + todays serial #
1D  ; refresh
2H  ; retry
5W  ; expire
2D ); client negative caching [RFC 2308]

A   127.0.0.1

NS  your.servers.hostname.

*   A   127.0.0.1




reload your pf rules:
# pfctl -nf /etc/pf.conf
# pfctl -f /etc/pf.conf
start named:
# named




On your LAN 

Welcome to our Newsletter

2006-06-03 Thread [EMAIL PROTECTED]
  Welcome to our Newsletter

  Please keep this email for later reference.

  Your email address has been added to the following newsletter(s):

 * None of them

  To update your details and preferences please go to
http://www.aheadsup.com/lists/?p=preferencesuid=9a383d20ed4f30df80bba687fe0f2676.
  If you do not want to receive any more messages, please go to
http://www.aheadsup.com/lists/?p=unsubscribeuid=9a383d20ed4f30df80bba687fe0f2676.

  Thank you



Re: apple usb modem

2006-06-03 Thread Jeffrey Lim

On 6/2/06, akonsu [EMAIL PROTECTED] wrote:

here is the relevant portion of dmesg that is output when i plug in the
modem:

uaudio0 at uhub1 port 2 configuration 1 interface 2: Motorola, Inc. Apple
USB Modem, rev 2.00/2.02, addr 3
uaudio0: ignored output endpoint of type async
uaudio0: audio rev 1.00, 0 mixer controls
audio0 at uaudio0


i guess no luck huh? i have no idea where audio gets in to the story...


is urs a pstn modem? then it has to convert from digital, to analog
(voice,/audio) waves for transmission over the pstn, and then
back. That's probably where the audio comes from.

-jf



Re: How to enable hw crypto?

2006-06-03 Thread Theo de Raadt
 On 6/2/06, Winston [EMAIL PROTECTED] wrote:
  I have tried the following command to get the hw crypto to work:
  openssl speed des-cbc -engine cryptodev
  But the result I got is pretty much the same if I don't specify the
  cryptodev engine.
  The crypto card I have is hifn7956.
 
 Who made the card you have with a hifn7956 processor?  Can you at
 least provide a bit more information/dmesg?

More information would not help.  We know you won't fix it.

The problem is that we know there is a bug of some sort.  We still
don't know if it is hardware, or more likely -- if it is software.  We
just don't know.  About a year ago HIFN policies changed and they
decided that they would no longer give us documentation.  They
insisted on a NDA for each developer.  Well, suffice to say this
changed our attitude, and we started caring a whole lot less.  Yes, at
the same time the various people who worked on the hifn driver had
already decided hifn is boring, but it sure does not help when a
vendor is openly hostile.  Yes, openly.  By rejecting us they were
saying they did not give a damn about you -- the users  buyers of
their products.  I can hardly think of any way a hardware manufacturer
could be more clear about how they feel about their customers.

So it does not really matter if you give further debugging
information.  There is some bug, and we don't know what it is, and I
wish it was fixed because in some way we find it embarrassing to have
something not work in OpenBSD, but hey, what can we really do?



Re: config(8) and ugen/uhidev

2006-06-03 Thread Stuart Henderson
On 2006/06/03 00:52, David Higgs wrote:
 Now I am looking to attach other USB items - camera, keyboard, mouse -
 that would undoubtedly require uhidev to work.  I have tried several
 different methods to get things to cooperate, without success.

Look at my recent posts in the list archives.



[ot] Security question from 2004 MCS 494

2006-06-03 Thread mal content

Hello.

djb published the exam paper from the 2004 UNIX security hole course:

http://cr.yp.to/2004-494/1209.pdf

I've been going through it, for something to do, and am stuck on
question 7:

---
Problem 7.

The system administrator, after learning that the /home disk is full, finds and
removes a 40-gigabyte file:

% find /home -ls | sort -n +6 | tail -1 | awk '{print $11}'
/home/joe/just-testing/rc
% ls -l /home/joe/just-testing/rc
-rw-r--r-- 1 joe joe 41162685334 Dec 9 10:00 /home/joe/just-testing/rc
% rm /home/joe/just-testing/rc
% ls -l /home/joe/just-testing/rc
ls: /home/joe/just-testing/rc: No such file or directory
%

The system administrator later discovers, to his surprise, that the important
16000-byte system file /etc/rc has disappeared. What exactly did joe do?
---

Anybody got any ideas? The rest of the questions seem quite easy but
this one has me scratching my head.

MC



Calling functions between .so modules crashes in 3.9 (worked in 3.8)

2006-06-03 Thread Federico Giannici

Upgrading an OpenBSD amd64 from 3.8 to 3.9 made a program always crash.

The program (OpenSER) load a lot of loadable modules (.so files). I 
found that if a loaded module calls a function of another loaded module, 
it crashes with a signal 11. No problem calling functions on the main 
program.


What is the problem?
Why the same binary worked perfectly with 3.8?
What I can do to solve the problem?

Thanks.


P.S.
Maybe the problem is related to the following note I found in the 
changes from 3.8 to 3.9. Unfortunately I cannot understand what it 
implies...


In ld.so(1), rework symbol lookup to more closely match sun's 
documentation and treat dlopens as load groups. Also cleanly handle the 
case where a dynamic object is opened, but one of it's dependent 
libraries is missing. Do not promote DT_NEEDED libs to RTLD_GLOBAL when 
being dlopen'ed. A few other simplifications and behaviour improvements 
and regression tests to match.



--
___
__
   |-  [EMAIL PROTECTED]
   |ederico Giannici  http://www.neomedia.it
___



Re: dynamic dns update

2006-06-03 Thread MikeM
On 6/2/2006 at 8:50 PM riwanlky wrote:

|Hi,
|
|I will like to know if OpenBSD have the capability to update my
dynamic ip 
|to www.dyndns.org.
|
|I am currently running myDYNIPPRO on Windows to update my dynamic ip.
I
|want to
|move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL
on
|the
|machine.
 =


As an alternative to dyndns.org, you might want to look at
www.zoneedit.com .   They also offer free DNS services, and my OpenBSD
home firewall happily updates my IP address when it changes.  The site
offers scripts and other details needed to perform the update.



Re: [ot] Security question from 2004 MCS 494

2006-06-03 Thread Matthew R. Dempsky
On Sat, Jun 03, 2006 at 01:35:21PM +0100, mal content wrote:
 % find /home -ls | sort -n +6 | tail -1 | awk '{print $11}'
 /home/joe/just-testing/rc
 % ls -l /home/joe/just-testing/rc
 -rw-r--r-- 1 joe joe 41162685334 Dec 9 10:00 /home/joe/just-testing/rc
 % rm /home/joe/just-testing/rc
 % ls -l /home/joe/just-testing/rc
 ls: /home/joe/just-testing/rc: No such file or directory
 %
 
 The system administrator later discovers, to his surprise, that the 
 important
 16000-byte system file /etc/rc has disappeared. What exactly did joe do?

One possibility is that between the first ls -l and the rm that joe 
changed just-testing to a symlink to /etc.  However, I think this attack 
scenario relies too much on joe's ability to blindly predict when the 
sysadmin is about to run rm.



choppy video playback

2006-06-03 Thread Simon Morgan
I'm getting choppy video playback with both Ogle and mplayer on an AMD
Athlon XP 2000 with 1GB of RAM. I am thinking it is possibly an X
problem but can't imagine what is causing it.

If anybody could offer some suggestions on how to start getting to the
root of the problem I would appreciate it. Thanks.

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.66 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 1073307648 (1048152K)
avail mem = 972660736 (949864K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bf) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xf1aa0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xd000 0xd/0x6000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 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)
ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
bce0 at pci0 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 4, address 
00:e0:18:a1:31:f0
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cmpci0 at pci0 dev 11 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 3
audio0 at cmpci0
ral0 at pci0 dev 14 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:0e:2e:5c:2d:0f
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 7
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 7
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 7
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
unknown at iic0 addr 0x18 not configured
asbtm0 at iic0 addr 0x2d
lm1 at iic0 addr 0x2f: W83791D
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC35L060AVVA07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-108, 1.20 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio1 at auvia0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask fba5 netmask ffb5 ttymask ffb7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, 
addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

X-Video Extension version 2.2
screen #0
  Adaptor #0: ATI Radeon Video Overlay
number of ports: 1
port base: 65
operations supported: PutImage 
supported visuals:
  depth 16, visualID 0x23
  depth 16, visualID 0x24
  depth 16, visualID 0x25
  depth 16, visualID 0x26
  depth 16, visualID 0x27
  depth 16, visualID 0x28
  depth 16, visualID 0x29
  depth 16, visualID 0x2a
number of attributes: 22
  XV_DEVICE_ID (range 0 to -1)
  client gettable attribute (current value is 108)
  XV_LOCATION_ID (range 0 to -1)
  client gettable attribute (current value is 109)
  XV_INSTANCE_ID (range 0 to -1)
  client gettable attribute 

poor cmpci sound quality

2006-06-03 Thread Simon Morgan
I have a HitPoint HCMI-5.1CH-OF which uses the cmpci chipset. I am not
an audiophile type (64kbps vorbis sounds good to me) but the sound
quality is particularly bad in that there is a lot of hissing in the
background even though I'm listening at a nominal volume. I would be
inclined to think it was a hardware problem if it weren't for the fact
that the sound quality is fine under Linux. Does anybody have any idea
what the problem could be? Are there any settings that might make a
difference (I've tried muting all the other channels)?

Thank.

OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(TM) XP 2000+ (AuthenticAMD 686-class, 256KB L2 cache) 1.66 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem  = 1073307648 (1048152K)
avail mem = 972660736 (949864K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bf) BIOS, date 04/21/04, BIOS32 rev. 0 @ 0xf1aa0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xd000 0xd/0x6000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8377 PCI rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8235 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)
ATI Radeon 9200 PRO Sec rev 0x01 at pci1 dev 0 function 1 not configured
bce0 at pci0 dev 9 function 0 Broadcom BCM4401 rev 0x01: irq 4, address 
00:e0:18:a1:31:f0
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cmpci0 at pci0 dev 11 function 0 C-Media Electronics CMI8738/C3DX Audio rev 
0x10: irq 3
audio0 at cmpci0
ral0 at pci0 dev 14 function 0 Ralink RT2560 rev 0x01: irq 10, address 
00:0e:2e:5c:2d:0f
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 7
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 7
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 7
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 7
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00
iic0 at viapm0
unknown at iic0 addr 0x18 not configured
asbtm0 at iic0 addr 0x2d
lm1 at iic0 addr 0x2f: W83791D
pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC35L060AVVA07-0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: PIONEER, DVD-RW DVR-108, 1.20 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio1 at auvia0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask fba5 netmask ffb5 ttymask ffb7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, 
addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

-- 
The bigger the theory the better.



Re: config(8) and ugen/uhidev

2006-06-03 Thread David Higgs

On 6/3/06, Stuart Henderson [EMAIL PROTECTED] wrote:

On 2006/06/03 00:52, David Higgs wrote:
 Now I am looking to attach other USB items - camera, keyboard, mouse -
 that would undoubtedly require uhidev to work.  I have tried several
 different methods to get things to cooperate, without success.

Look at my recent posts in the list archives.


Oops, oversight on my part.  The UQ_BAD_HID stuff isn't in -stable,
but it wasn't too hard to grab the appropriate parts of -current.  Now
the UPS is being detected as ugen without any config(8) needed.

Thanks!

--david



Re: Problems mounting a usb disk

2006-06-03 Thread Martin Vahi

On Thu, 1 Jun 2006, David Burau wrote:


Hi,

i've installed OpenBSD 3.9 on a IBM T20 notebook.
Everything is working fine.
Bit I'm not able to mount a usb disk.
dmesg output ist:
-
sd0 at scsibus1 targ 1 lun 0...
sd0: 76319MN, 76319 cyl, ...
--
and that's my disk.

The Problem is, that there is no sd0 in /dev and when I try to mount  sd0a 
(mount /dev/sd0a /mnt/usb) I get a note, that the device is not configured.


Does anybody have a clue, what the Problem might be?

Thanks!

David Burau


I don't know anything about USB disks, but on OpenBSD 3.8 I had to
reformat my USB memory stick to use filesystem msdos and then
mount the memory stick like that:

sbin/mount -t msdos /dev/sd0i /my_nice_targetfolder

Regards,
Martin Vahi



Issue after erroneous package update

2006-06-03 Thread Andrés Delfino

Hi, I updated my packages (pkg_add -u), two of them weren't updated
because they had several candidates, so I updated them manually
(pkg_add -iu pkg-name).

They were curl, and mozilla-firefox. curl updated ok, mozilla-firefox didn't.

The error was: Can't install mozilla-firefox-1.5.0.3 because of
conflicts (.libs-mozilla-firefox-1.5.0.1). For sanity, I decided to
delete mozilla-firefox-1.5.0.1 and reinstall it again (pkg_delete
mozilla-firefox ; pkg_add mozilla-firefox-1.5.0.1.tgz ).

Now, I receive the same error: Can't install mozilla-firefox-1.5.0.1
because of conflicts (.libs-mozilla-firefox-1.5.0.1).

How can I solve this? :S

Thanks



Re: Issue after erroneous package update

2006-06-03 Thread steven mestdagh
Andris Delfino [2006-06-03, 11:38:13]:
 Hi, I updated my packages (pkg_add -u), two of them weren't updated
 because they had several candidates, so I updated them manually
 (pkg_add -iu pkg-name).
 
 They were curl, and mozilla-firefox. curl updated ok, mozilla-firefox 
 didn't.
 
 The error was: Can't install mozilla-firefox-1.5.0.3 because of
 conflicts (.libs-mozilla-firefox-1.5.0.1). For sanity, I decided to
 delete mozilla-firefox-1.5.0.1 and reinstall it again (pkg_delete
 mozilla-firefox ; pkg_add mozilla-firefox-1.5.0.1.tgz ).
 
 Now, I receive the same error: Can't install mozilla-firefox-1.5.0.1
 because of conflicts (.libs-mozilla-firefox-1.5.0.1).
 
 How can I solve this? :S

pkg_delete .libs-mozilla-firefox-1.5.0.1

-- 
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: How to enable hw crypto?

2006-06-03 Thread Breen Ouellette

Theo de Raadt wrote:

So it does not really matter if you give further debugging
information.  There is some bug, and we don't know what it is, and I
wish it was fixed because in some way we find it embarrassing to have
something not work in OpenBSD, but hey, what can we really do?

  

Theo,

Does this apply to the 7955 as well? When did Hifn stop providing 
documentation?


Breeno



Re: Issue after erroneous package update

2006-06-03 Thread Andrés Delfino

That worked just fine, after uninstalling that I could install
mozilla-firefox-1.5.0.3.

Thanks ;)

On 6/3/06, steven mestdagh [EMAIL PROTECTED] wrote:

Andris Delfino [2006-06-03, 11:38:13]:
 Hi, I updated my packages (pkg_add -u), two of them weren't updated
 because they had several candidates, so I updated them manually
 (pkg_add -iu pkg-name).

 They were curl, and mozilla-firefox. curl updated ok, mozilla-firefox
 didn't.

 The error was: Can't install mozilla-firefox-1.5.0.3 because of
 conflicts (.libs-mozilla-firefox-1.5.0.1). For sanity, I decided to
 delete mozilla-firefox-1.5.0.1 and reinstall it again (pkg_delete
 mozilla-firefox ; pkg_add mozilla-firefox-1.5.0.1.tgz ).

 Now, I receive the same error: Can't install mozilla-firefox-1.5.0.1
 because of conflicts (.libs-mozilla-firefox-1.5.0.1).

 How can I solve this? :S

pkg_delete .libs-mozilla-firefox-1.5.0.1

--
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm





--
Andris Delfino



Re: Support Needed for GPS and Time Signal Station Receiver Development

2006-06-03 Thread Chris Kuethe

On 6/2/06, Will H. Backman [EMAIL PROTECTED] wrote:

Have you looked at gpsd, which is BSD licensed?  According to the author, they
have very good device detection, so maybe you could use their device info
database.


What we do in gpsd is a) try to protocol detection by running a sample
of the data stream through the various decoders and b) sending probe
packets to elicit chipset-specific messages.

What we don't have is a catalog of the behaviour of every firmware
revision with every message it actually sends. More than once I've
seen discrepancies between what the manual says should be coming out
at the receiver, and what actually comes out of the receiver. We make
best efforts at parsing what we do get, and fixing it when someone
reports funky results from such and such a device...

CK

--
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: Support Needed for GPS and Time Signal Station Receiver Development

2006-06-03 Thread Marc Balmer
* Graham Gower wrote:
 - GPS devices, serially and UPS attached (consumer grade)
 
 USB?

oh, sure, yes.  probably was already thinking about shipping ;)



OpenBGPd and show advertised-routes / show received-routes

2006-06-03 Thread Falk Brockerhoff
Hello,

is there an equivalent for cisco's

sh ip bgp neighbors neighbor advertised-routes

and

sh ip bgp neighbors neighbor received-routes

Regards,

Falk Brockerhoff

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of fb.6276DEFANGED-vcf]



Re: MAC - IP - MAC

2006-06-03 Thread Clint M. Sand
On Sat, Jun 03, 2006 at 12:10:55AM +0100, Gaby vanhegan wrote:
  From thinking about it more, it's just simpler to track which IP  
 address belongs to which login, and then when that user tries to  
 login on a second client, the first one is barred access.  This only  
 allows one IP address per client.  It does mean that the the IP  
 tracking software needs to know a little more about the IP address  
 that it created, and requires to be a bit more actively managed.
 


So all I have to do is *TRY* to login as you on another machine and your
original legit connection is dropped? 

Think about this. 



Re: MAC - IP - MAC

2006-06-03 Thread Gaby vanhegan
On 3 Jun 2006, at 17:03, Clint M. Sand wrote:

 So all I have to do is *TRY* to login as you on another machine and  
 your
 original legit connection is dropped?

 Think about this.

Only successful logins would update the IP associated with that  
login.  Failed login attempts would do nothing.  Sorry, my wording  
was a little unclear, what I actually meant was a successful login  
from a second machine would kick the first login off, as the most  
recent IP would be the one associated with that client.  If the first  
client successfully logged in again, that would kick the second login  
off.

The best I can do against somebody trying to use a stale IP is to  
check the MAC address that the successful login came from against  
what it claims to be at the time.  Any mis-match and the IP is kicked  
off.  If people want to go to the effort of spoofing a MAC address  
and finding a stale IP to use, there's little I can do.

Being that this is a service intended for the general public, I'm  
reckoning that 99.9% of users won't even know that a MAC could be  
spoofed, or know how to do it.  I suppose I could take it one step  
further and get a tcp OS fingerprint of the client at login time, and  
use that as a further aid to checking that the person that logged in  
is the person currently using this IP address.  Is there any way to  
protect against this?

Gaby

--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/sudoku/
http://weblog.vanhegan.net/



Re: poor cmpci sound quality

2006-06-03 Thread TeXitoi
Simon Morgan [EMAIL PROTECTED] writes:

 I have a HitPoint HCMI-5.1CH-OF which uses the cmpci chipset. I am not
 an audiophile type (64kbps vorbis sounds good to me) but the sound
 quality is particularly bad in that there is a lot of hissing in the
 background even though I'm listening at a nominal volume. I would be
 inclined to think it was a hardware problem if it weren't for the fact
 that the sound quality is fine under Linux. Does anybody have any idea
 what the problem could be? Are there any settings that might make a
 difference (I've tried muting all the other channels)?
 
 auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
 ac97: codec id 0x414c4720 (Avance Logic ALC650)
 ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
 audio1 at auvia0

read this thread:
http://www.monkey.org/openbsd/archive/misc/0409/msg00337.html

It could be great to say that auvia can have problems with non-48000Hz
sounds in the auvia man page.

-- 
Guillaume Pinot  http://wwwetu.utc.fr/~pinotgui/

+ L'amour, c'est comme le nombre Pi. Naturel, irrationnel et trhs
important. ; -- Lisa Hoffman

() Campagne du ruban ascii -- contre les mails en html
/\ Contre les pihces jointes Microsoft



X windows problem

2006-06-03 Thread akonsu
Hello,

I hope this is an appropriate list to post this question to.

the problem is that xset dpms force off does not do anything visible. my
laptop's screen does not switch off. does not even go blank.

the output of xset -q is below. dmesg, /var/log/Xorg.0.log and
/etc/X11/xorg.conf are attached.

please help!

thanks!
konstantin


Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  
  auto repeat delay:  500repeat rate:  30
  auto repeating keys:  00ffdbbf
fadfffdfffdfe5ef


  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  2/1threshold:  4
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  600cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0WhitePixel:  65535
Font Path:

/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/X11R6/lib/modules
  Log file: /var/log/Xorg.0.log
OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2
real mem  = 1063428096 (1038504K)
avail mem = 963563520 (940980K)
using 4278 buffers containing 53272576 bytes (52024K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(54) BIOS, date 03/16/06, BIOS32 rev. 0 @ 0xfd4a0
pcibios0 at bios0: rev 2.1 @ 0xfd4a0/0xb60
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd70/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xe600! 0xce800/0x1800 0xdf000/0x1000! 0xe/0x1800!
mainbus0: Intel MP Specification (Version 1.4) (INTELNapa ERB)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Enhanced SpeedStep 1000 MHz (1404 mV): unknown EST cpu, no changes 
possible
cpu0: apic clock running at 166 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2
mainbus0: bus 0 is type PCI   
mainbus0: bus 3 is type PCI   
mainbus0: bus 10 is type PCI   
mainbus0: bus 11 is type ISA   
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x27a0 rev 0x03
vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x27a2 rev 0x03: 
aperture at 0xb008, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor Intel, unknown product 0x27a6 (class display subclass miscellaneous, 
rev 0x03) at pci0 dev 2 function 1 not configured
Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 2
Intel PRO/Wireless 3945ABG rev 0x02 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 7)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 
(irq 11)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 
(irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 7)
ehci0: timed out waiting for BIOS
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci4 

Re: poor cmpci sound quality

2006-06-03 Thread Simon Morgan
On Sat, Jun 03, 2006 at 03:14:09PM +0100, Simon Morgan wrote:
 I have a HitPoint HCMI-5.1CH-OF which uses the cmpci chipset. I am not
 an audiophile type (64kbps vorbis sounds good to me) but the sound
 quality is particularly bad in that there is a lot of hissing in the
 background even though I'm listening at a nominal volume. I would be
 inclined to think it was a hardware problem if it weren't for the fact
 that the sound quality is fine under Linux. Does anybody have any idea
 what the problem could be? Are there any settings that might make a
 difference (I've tried muting all the other channels)?

After playing around a bit this only seems to happen with DVDs. CDs and
MP3s are OK. I am guessing this might have something to do with the fact
that DVD sound is encoded at 48KHz. Does this help?

-- 
Campus sidewalks never exist as the straightest line between two
points.
-- M. M. Johnston



malloc option 'G'

2006-06-03 Thread Kroty

Hi folks,

I'm running OpenBSD 3.9 and I have a program that is giving
some unexpected output.
But, if I run it with MALLOC_OPTIONS=G, I works fine.

What does it mean? I've read the malloc(3) manpage, but
I don't quite understand what the G option does.

Could you please give me some more details on what it does
or what would it be useful for?

Thanks in advance.



Re: poor cmpci sound quality

2006-06-03 Thread Simon Morgan
TeXitoi guillaume.pinot at tremplin-utc.net writes:
 Simon Morgan simon at 16hz.net writes:
  auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 6
  ac97: codec id 0x414c4720 (Avance Logic ALC650)
  ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
  audio1 at auvia0
 
 read this thread:
 http://www.monkey.org/openbsd/archive/misc/0409/msg00337.html
 
 It could be great to say that auvia can have problems with non-48000Hz
 sounds in the auvia man page.

Yes, but it's cmpci that I'm having problems with.

It's funny you should mention auvia because up until today I couldn't get it 
working at all, I had to disable the card just to get the machine to boot (I 
bought the cmpci card because of this). However, now that I have got it working 
(thanks to a number of people), the sound quality is fine playing both 48KHz 
and 
41KHz audio. Ugh!



Re: X windows problem

2006-06-03 Thread Bachman Kharazmi

first I don't consider your problem as an obsd related, anyway. below
you might find a solution.

o make sure your monitor support powersave mode.
o in case you've any crap like xscreensaver, uninstall it or it will
never allow you to set DPMS settings from xorg.conf.
o read
http://ftp.x.org/pub/X11R6.9.0/doc/html/xorg.conf.5.html#sect4
(BlankTime,StandbyTime,SuspendTime,OffTime)
http://ftp.x.org/pub/X11R6.9.0/doc/html/xorg.conf.5.html#sect9
read about the options there.

also pay attention to every sectionname above. make sure your config
is proper. If you still don't know if there are any errors, read the
log.

if you still don't understand the config layout, cp from my config
http://bkw.lindesign.se/tmp/xorg.conf
/bkw

On 03/06/06, akonsu [EMAIL PROTECTED] wrote:

Hello,

I hope this is an appropriate list to post this question to.

the problem is that xset dpms force off does not do anything visible. my
laptop's screen does not switch off. does not even go blank.

the output of xset -q is below. dmesg, /var/log/Xorg.0.log and
/etc/X11/xorg.conf are attached.

please help!

thanks!
konstantin


Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  
  auto repeat delay:  500repeat rate:  30
  auto repeating keys:  00ffdbbf
fadfffdfffdfe5ef


  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  2/1threshold:  4
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  600cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0WhitePixel:  65535
Font Path:

/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/X11R6/lib/modules
  Log file: /var/log/Xorg.0.log
OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar  2 02:37:06 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2
real mem  = 1063428096 (1038504K)
avail mem = 963563520 (940980K)
using 4278 buffers containing 53272576 bytes (52024K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(54) BIOS, date 03/16/06, BIOS32 rev. 0 @ 0xfd4a0
pcibios0 at bios0: rev 2.1 @ 0xfd4a0/0xb60
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd70/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xe600! 0xce800/0x1800 0xdf000/0x1000! 0xe/0x1800!
mainbus0: Intel MP Specification (Version 1.4) (INTELNapa ERB)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Enhanced SpeedStep 1000 MHz (1404 mV): unknown EST cpu, no changes 
possible
cpu0: apic clock running at 166 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2300 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2
mainbus0: bus 0 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 10 is type PCI
mainbus0: bus 11 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x27a0 rev 0x03
vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x27a2 rev 0x03: 
aperture at 0xb008, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor Intel, unknown product 0x27a6 (class display subclass miscellaneous, 
rev 0x03) at pci0 dev 2 function 1 not configured
Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 2
Intel PRO/Wireless 3945ABG rev 0x02 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 7)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 

SVideo Output

2006-06-03 Thread Dan Smythe
I would like to get hook my TV up to my OpenBSD system
using the S/Video and headphone ports. The sound plays
fine but I can't get the video to work.

I failed to get atitvout to compile, and I haven't had
any luck with gatos tv_output either. Isn't there some
modification to x.org for the s/video output
configuration?

My dmesg follows:

OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT
2005
   
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 752
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 133648384 (130516K)
avail mem = 115331072 (112628K)
using 1657 buffers containing 6787072 bytes (6628K) of
memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 11/07/02,
BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 47%
apm0: AC off, battery charge high, estimated 1:58
hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbd80/176
(9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel
82371 ISA and IDE rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev
0x03
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev
0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mobility M3 rev
0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100
emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 3 function 0 Texas Instruments
PCI1420 CardBus rev 0x00: irq 11
cbb1 at pci0 dev 3 function 1 Texas Instruments
PCI1420 CardBus rev 0x00: irq 11
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4
ISA rev 0x02
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE
rev 0x01: DMA, channel 0 wired to compatibility,
channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: IC25N020ATDA04-0
wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 3.7C
SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev
0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power rev 0x03 at pci0 dev 7 function
3 not configured
esa0 at pci0 dev 8 function 0 ESS Maestro 3 rev
0x10: irq 5
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel
3D
audio0 at esa0
xl0 at pci0 dev 16 function 0 3Com 3c556 100Base-TX
rev 0x10: irq 11, address 00:04:76:42:21:06
tqphy0 at xl0 phy 0: 78Q2120 10/100 PHY, rev. 11
3Com V.90 Modem rev 0x10 at pci0 dev 16 function 1
not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8,
lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8,
lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef4d netmask ef4d ttymask ffcf
pctr: 686-class user-level performance counters
enabled
mtrr: Pentium Pro MTRR support
rtw0 at cardbus1 dev 0 function 0 Realtek, Rtl8139,
\M^?\M^? irq 11
rtw0: ver RTL8180F, radio MAX2820, amp MAX2422,
address 00:0c:41:4a:de:96
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: How to enable hw crypto?

2006-06-03 Thread sebastian . rother
Theo wrote:

So it does not really matter if you give further debugging
information.  There is some bug, and we don't know what it is, and I
wish it was fixed because in some way we find it embarrassing to have
something not work in OpenBSD, but hey, what can we really do?

Answer: http://www.vendorwatch.org/index.php?title=Main_Page

Kind regards,
Sebastian



Re: Strange carp issues

2006-06-03 Thread Henning Brauer
* Steven S [EMAIL PROTECTED] [2006-06-03 02:01]:
 The self inflicted issue came when I added an alias IP to FW1:carp0 but not
 yet to FW2:carp0.  Both FW1 and FW2 became master for the interface, until I
 added the alias to FW2.

that can lead to master-master situations unfortunately. not too much 
we can do about it :(

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)