Re: atheros - just curious, ot

2008-07-26 Thread bofh
On Sun, Jul 27, 2008 at 12:02 AM, Jacob Meuser <[EMAIL PROTECTED]>wrote:

> On Sat, Jul 26, 2008 at 11:01:33PM -0400, bofh wrote:
> > saw
> >
> http://madwifi.org/wiki/news/20080725/ath9k-atheros-unveils-free-linux-driver-for
> >
> > and was just curious if this is true 'open source' or is it full of magic
> > numbers...
>
> well, you can 'git' the sources yourself.


Apologies.  If openbsd authors are level 30 Gods, I'm a level 0 NPC.



-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity." --
Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted." -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0&feature=related



Re: atheros - just curious, ot

2008-07-26 Thread Jacob Meuser
On Sat, Jul 26, 2008 at 11:01:33PM -0400, bofh wrote:
> saw
> http://madwifi.org/wiki/news/20080725/ath9k-atheros-unveils-free-linux-driver-for
> 
> and was just curious if this is true 'open source' or is it full of magic
> numbers...

well, you can 'git' the sources yourself.

they used license.template for the license.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



atheros - just curious, ot

2008-07-26 Thread bofh
saw
http://madwifi.org/wiki/news/20080725/ath9k-atheros-unveils-free-linux-driver-for

and was just curious if this is true 'open source' or is it full of magic
numbers...

-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity." --
Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted." -- Gene Spafford
learn french: http://www.youtube.com/watch?v=j1G-3laJJP0&feature=related



Re: Performance issues with the DNS patch?

2008-07-26 Thread Florian Fuessl
Hi,

is there a particular reason, why you have to use bind as resolver? If not,
I would try out running a DNS-recursor (PowerDNS-recursor, djbdns, ...)
which may offer more performance and maybe less pain in the future ;)

-Florian 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of J Duke
> Sent: Sunday, July 27, 2008 12:13 AM
> To: misc@openbsd.org
> Subject: Performance issues with the DNS patch?
> 
> I wonder is anyone is seeing performance issues with the patched DNS in
> the
> late snapshots?
> I installed the July 22 snapshot on our DNS servers, which handle a
> pretty
> heavy load of lookups, mostly for anti-spam action.
> 
> It was running at 45% or higher cpu utilization after the July 22
> snapshot
> was
> installed.
> We run a couple of Ironport boxes, that handle about 200k emails per
> hour.
> They use the OpenBSD DNS servers to look up the sending IPs as a first
> defense
> against spammers, and drop about 98% of the inbound mail.
> With the snapshot installed the traffic went down to 70k per hour and
> people started complaining of DNS lookup failures for random sites.
> 
> I moved back to an earlier version of OpenBSD on the DNS server, and
> the Ironport traffic went up to normal, and the DNS lookup failures
> stopped.
> Cpu utilization went back down to around 9%. But I'm vulnerable.
> 
> I realize that the whole fix to this DNS cache poisoning is to have
> random
> ports and random query ids, and that generating good, strong, random
> numbers
> costs cpu cycles and time.  Has anyone else noticed the performance
> hit?
> Anything that I can do?  Particularly I am open to any suggestions on
> commands
> that would help identify if that is really the problem, systat, vmstat,
> etc.
> 
> The server was beefy enough, and had been doing the job for months
> before
> the upgrade:
> 
> OpenBSD 4.2-current (GENERIC) #593: Mon Dec 10 13:23:15 MST 2007
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
> ,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-
> ID,CX16,xTPR
> real mem  = 1073053696 (1023MB)
> avail mem = 1029713920 (982MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/20/04, BIOS32 rev. 0 @
> 0xffe90,
> SMBIOS
> rev. 2.3 @ 0xfa910 (75 entries)
> bios0: vendor Dell Computer Corporation version "A00" date 10/20/2004
> bios0: Dell Computer Corporation PowerEdge SC1425
> [...]
> em0 at pci2 dev 4 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq
> 11,
> i
> address xx:xx:xx:xx:xx:xx
> 
> Thanks for a great OS! And yes, I usually run snapshots, have for
> years,
> love it, and we buy
> plenty of CDs of each version..



Re: OpenBSD 4.4-beta compile error in /usr/src/gnu/lib/libiberty

2008-07-26 Thread Stuart Henderson
On 2008-07-26, Bernard Parinas <[EMAIL PROTECTED]> wrote:
> I'm having a problem building the userland. Compiling libc and libm was
> successful but not the libiberty.

Use a snapshot.



Performance issues with the DNS patch?

2008-07-26 Thread J Duke
I wonder is anyone is seeing performance issues with the patched DNS in the
late snapshots?
I installed the July 22 snapshot on our DNS servers, which handle a pretty
heavy load of lookups, mostly for anti-spam action.

It was running at 45% or higher cpu utilization after the July 22 snapshot
was
installed.
We run a couple of Ironport boxes, that handle about 200k emails per hour.
They use the OpenBSD DNS servers to look up the sending IPs as a first
defense
against spammers, and drop about 98% of the inbound mail.
With the snapshot installed the traffic went down to 70k per hour and
people started complaining of DNS lookup failures for random sites.

I moved back to an earlier version of OpenBSD on the DNS server, and
the Ironport traffic went up to normal, and the DNS lookup failures stopped.
Cpu utilization went back down to around 9%. But I'm vulnerable.

I realize that the whole fix to this DNS cache poisoning is to have random
ports and random query ids, and that generating good, strong, random numbers
costs cpu cycles and time.  Has anyone else noticed the performance hit?
Anything that I can do?  Particularly I am open to any suggestions on
commands
that would help identify if that is really the problem, systat, vmstat, etc.

The server was beefy enough, and had been doing the job for months before
the upgrade:

OpenBSD 4.2-current (GENERIC) #593: Mon Dec 10 13:23:15 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 1073053696 (1023MB)
avail mem = 1029713920 (982MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/20/04, BIOS32 rev. 0 @ 0xffe90,
SMBIOS
rev. 2.3 @ 0xfa910 (75 entries)
bios0: vendor Dell Computer Corporation version "A00" date 10/20/2004
bios0: Dell Computer Corporation PowerEdge SC1425
[...]
em0 at pci2 dev 4 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 11,
i
address xx:xx:xx:xx:xx:xx

Thanks for a great OS! And yes, I usually run snapshots, have for years,
love it, and we buy
plenty of CDs of each version..



mention YP maps in group(5), getgrent(3), getgrouplist(3)

2008-07-26 Thread Ingo Schwarze
Following the recent performance improvement

  lib/libc/gen/getgrouplist.c 1.13

i had a closer look at YP group support in 4.4-beta.

I suggest to explicitely state in the manual which YP maps are required
for proper YP group support.  Arguably, this is implementation
dependent, and on OpenBSD, all standard maps are built by default.
On the other hand, the use of YP is common in multi-OS settings,
and i think the following information can really come in handy.

Besides, group(5) already talks about one particular YP map,
not mentioning that two others are needed as well.
This might confuse people.


Index: lib/libc/gen/getgrent.3
===
RCS file: /cvs/src/lib/libc/gen/getgrent.3,v
retrieving revision 1.14
diff -u -p -r1.14 getgrent.3
--- lib/libc/gen/getgrent.3 31 May 2007 19:19:28 -  1.14
+++ lib/libc/gen/getgrent.3 26 Jul 2008 21:02:57 -
@@ -144,6 +144,19 @@ characters in size.
 .\" .Dv _SC_GETGR_R_SIZE_MAX
 .\" .Xr sysconf 2
 .\" parameter.
+.Sh YP SUPPORT
+If YP is active, the functions
+.Fn getgrent
+and
+.Fn getgrnam
+also use the
+.Pa group.byname
+YP map and the function
+.Fn getgrgid
+also uses the
+.Pa group.bygid
+YP map in addition to the group file,
+respecting the order of normal and YP entries in the group file.
 .Sh RETURN VALUES
 The functions
 .Fn getgrent ,
@@ -175,7 +188,9 @@ group database file
 .El
 .Sh SEE ALSO
 .Xr getpwent 3 ,
-.Xr group 5
+.Xr group 5 ,
+.Xr yp 8 ,
+.Xr ypclnt 3
 .Sh HISTORY
 The functions
 .Fn endgrent ,
Index: lib/libc/gen/getgrouplist.3
===
RCS file: /cvs/src/lib/libc/gen/getgrouplist.3,v
retrieving revision 1.10
diff -u -p -r1.10 getgrouplist.3
--- lib/libc/gen/getgrouplist.3 31 May 2007 19:19:28 -  1.10
+++ lib/libc/gen/getgrouplist.3 26 Jul 2008 21:02:57 -
@@ -48,6 +48,9 @@ The
 is automatically included in the groups list.
 Typically this value is given as
 the group number from the password file.
+If YP is active, the
+.Pa netid.byname
+YP map will be used in addition to the group file.
 .Pp
 The resulting group list is returned in the integer array pointed to by
 .Fa groups .
@@ -69,8 +72,11 @@ Here, the group array will be filled wit
 group database file
 .El
 .Sh SEE ALSO
+.Xr group 5 ,
 .Xr setgroups 2 ,
-.Xr initgroups 3
+.Xr initgroups 3 ,
+.Xr yp 8 ,
+.Xr yp_match 5
 .Sh HISTORY
 The
 .Fn getgrouplist
Index: share/man/man5/group.5
===
RCS file: /cvs/src/share/man/man5/group.5,v
retrieving revision 1.11
diff -u -p -r1.11 group.5
--- share/man/man5/group.5  31 May 2007 19:19:58 -  1.11
+++ share/man/man5/group.5  26 Jul 2008 21:02:57 -
@@ -118,6 +118,18 @@ form should be on the last line, for his
 Only the first group with a specific name encountered, whether in the
 .Nm
 file itself, or included via YP, will be used.
+.Pp
+Proper YP group support requires consistent
+.Pa group.byname ,
+.Pa group.bygid
+and
+.Pa netid.byname
+YP maps.
+See
+.Xr getgrent 3
+and
+.Xr getgrouplist 3
+for details.
 .Sh FILES
 .Bl -tag -width /etc/group -compact
 .It Pa /etc/group



Re: Dynamic filtering in PF based on httpd error log

2008-07-26 Thread Marc Balmer
* aeonsystems.com wrote:
> Hi,
>
> I saw this thread from 2003
>
> http://marc.info/?l=openbsd-pf&m=104540589312892&w=2
>
> This is a very nice idea which I'd like to implement in some form on my 
> network(s).
>
> One question though...
> Is there an easy and secure way to update a  table on the firewall 
> box (from the webserver), if my webserver and firewall are on two different 
> OpenBSD machines on a LAN?

yes.  use the tabled daemon and associated client program which is
provided in the tabled package (or sysutils/tabled port).

It does exactly what you want, in a secure manner, over IPv4 and IPv6.

>
> Thanks in advance for any info!
>
> Sarah

- Marc

>
> P.S.: Does anyone know of any other ideas or neat tricks related to Dynamic 
> Filtering based on logfiles?
> I'm having too much fun here.  :-)



Re: Can't scp, ssh is slow to authenticate.

2008-07-26 Thread Philip Guenther
On Sat, Jul 26, 2008 at 9:11 AM, Nuno Magalhces <[EMAIL PROTECTED]>
wrote:
...
> This is my ~/.bashrc (equal for the regular user and root):
>
> # setenv
> export PKG_PATH=ftp://ftp.fmed.uc.pt/pub/OpenBSD/4.3/packages/i386/
> # alias
> alias cl='clear'
> #alias l='ls -lh --time-style=+"[EMAIL PROTECTED]:%M"'
> alias date='date "+%d/%m/%y %T"'
>
> I oughta add #!/path/to/bash here...

(Why?  That line would have no use)


> I ssh to the BSD machine with the regular user (so i figure this is a
> login shell) but my aliases won't work;
> i su to get root and my aliases will work (not login?);
> i su again to the regular user and my aliases will work (no pass
> involved, so this is non-interactive?).

  What I wrote in my last message explains/predicts all the
above behavior:

>> Bash is different: a login shell reads a profile startup file (your
>> choice of three different names) and stops there, no $ENV processing,
>> while an interactive shell reads ~/.bashrc.

The shell started by ssh is indeed a login shell, which does *NOT*
read ~/.bashrc.  Thus, no aliases there.  "su user" starts an
interactive shell, which does read the (target user's) ~/.bashrc.

Whether su prompts for a password or not does not affect the mode of
the shell that it starts.  su only starts a non-interactive shell when
invoked with the -c option or with the name of a shell script, both of
which it just passes through to the shell, at which point this part of
my previous email says what happens:

>> A shell that processes a shell script or that was passed the -c option
>> is non-interactive.


> I'm not setting $variables
> here so i'd assume each .bashrc is valid for that session.

I'm not 100% sure what you're trying to say here.  It sounds like you
think bash should *always* parses the .bashrc when starting, but
that's *not true*.


> Also i must
> change to the regular user's home directory before issuing su,
> otherwise i'll get permission denied messages (makes sense).

Right.  By default, su does not change directories before executing
the new shell.  So, if you're currently root, and in ~root (which
isn't executable by other users), and use 'su', the new, non-root
shell will be unable to determine what its current directory is.


Philip Guenther



PF loading question

2008-07-26 Thread Duncan Patton a Campbell
Howdy List?

I'm trying to deal with the problem of dhcp assigned default routes
in a pf config file, and what I've come up with is a script to drive
dhclient on external interfaces and extract the routing info for use
in route-to (interface gateway) rules.

So then I have two ways of feeding this info to pf:

1. compose a new config file containing the new routes and feed it to pf,
in which case I use macros to define the gateways, e.g.

ext_gw1 = "1.2.4.5"
ext_gw2 = "5.6.7.8"

which gives me a rule like:

pass in on $int_if route-to { ($ext_if1 $ext_gw1) } proto tcp from $int_clients 
to any flags S/SA modulate state

2. use a pf config that carries these routes as  entries:

table  { 1.2.3.4 }
table  { 5.6.7.8 }
which gives rules like:
pass in on $int_if route-to { ($ext_if1 ) } proto tcp from 
$int_clients to any flags S/SA modulate state

that can then be modified by

#get and delete the current table value 
pfctl -t ext_gw1 -T show
pfctl -t ext_gw1 -T delete 1.2.3.4

#add the new value derived from dhclient
pfctl -t ext_gw1 -T add 4.3.2.1

So now to the question.. does the use of tables in the rulesets add a lot
of extra cpu load over the use of macros or do either of these approaches
have obvious advantages over the other?

Thanks,

Dhu



Setting Alternative Upstream using BGPd

2008-07-26 Thread Insan Praja SW

Hi Misc@,
Right now I'm simulating transit network using bgpd. So, I'd like to ask a  
few question.
Right now my network acting as a transit network. I got three routers, one  
is facing to the customer and two are facing to a different upstreams.  
Probably just like this:


--- -
| Rtr A |__  | RTR D  |_| RTR F |
| AS 1  |  | |  AS 3  | |  AS 4 |
-  | |---|   -- -
   |_| rtr C |___|
   | | AS 3  |   |
-  | |---|   -- -
| RTR B |__| | RTR E  |_| RTR G |
|  AS 2 || AS  3  | |  AS 5 |
--- -

RTR A and B are customer routers, router C, D and E are my routers and  
router F and G are upstream routers. How can I make traffic from router A  
goes to router B and traffic from router B went to router E, other than  
using multi-routing tables and pf rtable directive and route-to?, just  
plain bgp with all its attributes..

Any help, hints and clue appreciated,
Thanks,


Insan

--
insandotpraja(at)gmaildotcom



Re: Can't scp, ssh is slow to authenticate.

2008-07-26 Thread Chris Smith
On Saturday 26 July 2008, Nuno MagalhC#es wrote:
> And i don't even have X installed (although some suggested i
> install it so i can install cups...)

CUPS, itself, has no X requirement/dependency... I have it installed on
many servers with no X at all.

--
Chris



Re: /usr/bin/ssh: can't load library 'libcrypto.so.14.0' on ALIX board

2008-07-26 Thread Sean Cody

cp /usr/lib/libcrypto.so.13.0 /usr/lib/libcrypto.14

Don't knock it, it works.

As well if you are having libm issues (ie. things (like httpd) can't  
find isnan or isinf symbols) check to see if you have /usr/ibm.3.0 and  
of so just move /usr/lib/libm.so.2.4 out of the way (like to /root).   
The directions on openbsd.org/faq/current.html HELP but they don't  
give you the entire picture.


The snapshot was hosed all day yesterday and once I figured out the  
above I didn't bother trying again (as everything works as expected  
again).


These are the dangers of tracking -current and I enjoyed the challenge  
(though going through "make build" six times get to be on the annoying  
side when it take 1.5 hours each run :P ).


On 25-Jul-08, at 10:53 PM, Emilio Perea wrote:


I imagine the next snapshot will fix that (the one currently available
does not contain libcrypto.so.14.0).  If you have another PC available
to build a current release, that should also work.  I just did that
myself on an amd64.  (If you try that, note there are some additional
library building steps before the final build as shown on
http://www.openbsd.org/faq/current.html.)




genearte raw binary with 'as'

2008-07-26 Thread Jesus Sanchez

Hi, using 4.2.

Can I generate a raw binary file with 'as' without
doing the "objcopy -O binary elf_binary raw_binary" ??

Nasm generates raw binaries by default, and with the
'-f elf' option generates ELF files, can I do the same
with 'as' ??

Thanks 4 all.



Re: Can't scp, ssh is slow to authenticate.

2008-07-26 Thread Nuno Magalhães
Thank you very much for that info Philip! I'll fiddle with the bash files.

>> So i guess .bashrc is not the name
>> the file should have anyway 'cos only root will read it in regular
>> xterm sessions, not the regular user...
>
> Uh, what?  What does being root have to do with this?  You aren't
> logging into X as root, are you?!?!

No! And i don't even have X installed (although some suggested i
install it so i can install cups...). This is just an old machine i'm
using to goof around with servers (currently sshd and httpd, later ftp
and maybe print).

This is my ~/.bashrc (equal for the regular user and root):

# setenv
export PKG_PATH=ftp://ftp.fmed.uc.pt/pub/OpenBSD/4.3/packages/i386/
# alias
alias cl='clear'
#alias l='ls -lh --time-style=+"[EMAIL PROTECTED]:%M"'
alias date='date "+%d/%m/%y %T"'

I oughta add #!/path/to/bash here...
I ssh to the BSD machine with the regular user (so i figure this is a
login shell) but my aliases won't work;
i su to get root and my aliases will work (not login?);
i su again to the regular user and my aliases will work (no pass
involved, so this is non-interactive?). I'm not setting $variables
here so i'd assume each .bashrc is valid for that session. Also i must
change to the regular user's home directory before issuing su,
otherwise i'll get permission denied messages (makes sense).

Anyway i'll fiddle some more, thanks for the tips!

-- 
Nuno MagalhC#es



OpenBSD 4.4-beta compile error in /usr/src/gnu/lib/libiberty

2008-07-26 Thread Bernard Parinas
Greetings,

I'm having a problem building the userland. Compiling libc and libm was
successful but not the libiberty.

http://www.openbsd.org/faq/current.html -> 2008/07/24 - changes in libc and
libm

 Following -current I got this error:

*/usr/src/gnu/lib/libiberty/src/getpwd.c: In function `getpwd':
/usr/src/gnu/lib/libiberty/src/getpwd.c:75: error: storage size of `dotstat'
isn't known
/usr/src/gnu/lib/libiberty/src/getpwd.c:75: error: storage size of `pwdstat'
isn't known
/usr/src/gnu/lib/libiberty/src/getpwd.c:79: warning: assignment makes
pointer from integer without a cast
*** Error code 1*
*Stop in /usr/src/gnu/lib/libiberty (line 92 of
/usr/share/mk/**sys.mk*
*).*


 Kernel was build succesful.
OpenBSD 4.4-beta (GENERIC) #0: Sat Jul 26 19:10:34 PHT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

Please help.


Thank You,
Bernard



OpenBSD 4.3 AMD64 - DFi LP RDX200: Installation fine but failed on booting.

2008-07-26 Thread Ahmad Zulkarnain
Hi all, this is my 1st post here. Here's a brief description about my
system:

Athlon 3500+ s939
DFi LP RDX200 CF-DR motherboard
GeCube Radeon HD2600 PCIe
Built-in Realtek HD Audio
WD400 40Gb ATA - 27Gb xp, 12Gb OpenBSD 4.3 AMD64
GAG4.9 Boot Manager

I've installed the 4.3 AMD64 successfully. The layout is:

/ - 128M
swap - 512M
/usr - rest
/tmp - 512M
/var - 1G

When 4.3 is probing devices on booting, I notice that the probe displayed
"Ati EHCI root hub" then my LCD monitor went standby, the monitor's LED
turned orange and the pc rebooted back to POST. I tried booting with ACPI
disabled but the problem got worst, pressing RESET and POWER button does
nothing and I had to turn off the power from the plug. I tried "UKC>
verbose" but the display is too fast to catch anything. I managed to get a
dmesg, but only using 4.3 i386 CD. Here's the dmesg:

-- dmesg --

OpenBSD 4.3 (RAMDISK_CD) #645: Wed Mar 12 11:31:03 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: AMD Athlon(tm) 64 Processor 3500+ ("AuthenticAMD" 686-class, 512KB L2
cache) 2.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2
real mem  = 1072197632 (1022MB)
avail mem = 1030582272 (982MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/23/05, BIOS32 rev. 0 @ 0xfaa60,
SMBIOS rev. 2.3 @ 0xf (47 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 12/23/2005
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0xcf74
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfce00/352 (20 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 21 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 3 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xee00 0xd/0x4000! 0xd4000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x01
ppb0 at pci0 dev 2 function 0 "ATI RX480 PCIE" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 2600" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"ATI Radeon HD 2600 HD Audio" rev 0x00 at pci1 dev 0 function 1 not
configured
ppb1 at pci0 dev 4 function 0 "ATI RS480 PCIE" rev 0x00
pci2 at ppb1 bus 2
mskc0 at pci2 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x19, Yukon-2 EC
rev. A2 (0x1): irq 3
msk0 at mskc0 port A: address 00:01:29:d3:79:27
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
pciide0 at pci0 dev 17 function 0 "ATI IXP400 SATA" rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide1 at pci0 dev 18 function 0 "ATI IXP400 SATA" rev 0x80: DMA
pciide1: using irq 10 for native-PCI interrupt
ohci0 at pci0 dev 19 function 0 "ATI IXP400 USB" rev 0x80: irq 3, version
1.0, legacy support
ohci1 at pci0 dev 19 function 1 "ATI IXP400 USB" rev 0x80: irq 3, version
1.0, legacy support
ehci0 at pci0 dev 19 function 2 "ATI IXP400 USB2" rev 0x80: irq 3
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
"ATI IXP400 SMBus" rev 0x81 at pci0 dev 20 function 0 not configured
pciide2 at pci0 dev 20 function 1 "ATI IXP400 IDE" rev 0x80: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide2 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd1 at pciide2 channel 0 drive 1: 
wd1: 16-sector PIO, LBA, 19092MB, 39102336 sectors
wd0(pciide2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
wd1(pciide2:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
atapiscsi0 at pciide2 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide2:1:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
"ATI IXP450 HD Audio" rev 0x01 at pci0 dev 20 function 2 not configured
pcib0 at pci0 dev 20 function 3 "ATI IXP400 ISA" rev 0x80
ppb2 at pci0 dev 20 function 4 "ATI IXP400 PCI" rev 0x80
pci3 at ppb2 bus 3
pciide3 at pci3 dev 8 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA
pciide3: using irq 11 for native-PCI interrupt
"VIA VT6306 FireWire" rev 0x80 at pci3 dev 9 function 0 not configured
skc0 at pci3 dev 10 function 0 "Marvell Yukon 88E8001/8003/8010" rev 0x13,
Yukon Lite (0x9): irq 5
sk0 at skc0 port A: address 00:01:29:d3:78:f5
eephy1 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1

Re: SD card and IDE converter

2008-07-26 Thread Stuart Henderson
On 2008-07-26, Chris Bennett <[EMAIL PROTECTED]> wrote:
> I have tried to read an SD card using a usb adapter, which failed.

This "should" work but there may be a problem with your particular
adapter. Please include the information requested in "how to create
a problem report" on http://www.openbsd.org/report.html

> I saw an SD to IDE converter for sale.
> I was wondering if this might work with OBSD?

These are meant for running embedded systems from SD. It's likely
you'll be able to access the card, but it will be expensive and won't
be hot-swappable.

> I'd really like a way to get my pictures into OBSD without having to use 
> windows

Most USB SD adapters work, try some more and you should be able
to find one which does.



anyone want a SiS662 Intel motherboard?

2008-07-26 Thread Ted Walther

I have an Intel D201GLY motherboard, a Celeron using the SiS662 chipset.

For $200, you can buy it locally complete with case, mouse, and
keyboard.  It is a sweet little system with no fans or moving parts.
Much cheaper than a net5501, which cost more than $500 by the time UPS
got done charging "import fees".  It includes audio, video, network, and
USB ports.

I am offering one of these D201GLY SiS662 boxes to any OpenBSD developer
that is interested in making it work with OpenBSD.

version 4.2 installs over the network, install from cd fails with sense
key errors.

version 4.3 installs over the network, but when rebooting for the first
time, the kernel partially boots, then reboots.  over and over and over
again.

the 4.4 snapshots boot up to the point where it asks you whether you
want to install, upgrade, or grab a shell.  At that point, or sometime
before, the keyboard freezes

In the 4.4 snapshots, the dmesg gives lots of messages about not being
able to properly allocate IRQ's.

In 4.2, the IRQ's in the dmesg are allocated using a "legacy" mode.

Ted

--
   There's a party in your skull.  And you're invited!

Name:Ted Walther
Phone:   604-625-7635
Email:   [EMAIL PROTECTED]
Address: 26337 64 Ave, Langley, BC  V4W1M3



offering SiS662 Mini-ITX for inclusion of support in 4.4

2008-07-26 Thread Ted Walther

I have an Intel D201GLY motherboard, a Celeron using the SiS662 chipset.

For $200, you can buy it locally complete with case, mouse, and
keyboard.  It is a sweet little system with no fans or moving parts.
Much cheaper than a net5501, which cost more than $500 by the time UPS
got done charging "import fees".  It includes audio, video, network, and
USB ports.

I am offering one of these D201GLY SiS662 boxes to any OpenBSD developer
that is interested in making it work with OpenBSD, hopefully for the
big 4.4 release.

BIOS Version: LY66210M.86A.0122.2007.0822.2001
Processor Type: Intel (R) Celeron (R) CPU [EMAIL PROTECTED]
Intel (R) EM64T Capable
System Bus Speed: 533 MHz
System Memory Speed: 533 MHz
L2 Cache RAM: 512 KB
Total Memory: 1024 MB
Memory Mode: Single Channel
Memoray Channel A Slot 0: 1024 MB

Manufacturer: Intel Corporation
Product Name: D201GLY
Version: AAE14305-401

It has a SATA drive, and an IDE cdrom.  SATA seems to work without
problem, but accessing the cdrom gives kernel errors.

I have tested version 4.2, 4.3, and the last few weeks worth of 4.4
snapshots.

version 4.2 installs over the network, install from cd fails with sense
key errors.

version 4.3 installs over the network, but when rebooting for the first
time, the kernel partially boots, then reboots.  over and over and over
again.

the 4.4 snapshots boot up to the point where it asks you whether you
want to install, upgrade, or grab a shell.  At that point, or sometime
before, the keyboard freezes.  No input from the keyboard is recognized.

In the 4.4 snapshots, the dmesg gives lots of messages about not being
able to properly allocate IRQ's.

In 4.2, there are no problems with IRQ's, but the 662 chipset ID is
"unkown product".

Ted

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 220 @ 1.20GHz ("GenuineIntel" 686-class) 1.21 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,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR
real mem  = 1037070336 (989MB)
avail mem = 995094528 (948MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/22/07, SMBIOS rev. 2.4 @ 0xe4da0 (23 
entries)
bios0: vendor Intel Corp. version "LY66210M.86A.0122.2007.0822.2001" date 
08/22/2007
bios0: Intel Corporation D201GLY
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0x1 0xd/0xa000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "SiS", unknown product 0x0662 rev 0x01
ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x04: aperture at 0x4000, 
size 0x40
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 964 ISA" rev 0x36
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x01: 5597/5598: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: irq 11, SiS7012 AC97
ac97: codec id not read
audio0 at auich0
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 11, version 
1.0, legacy support
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 10, version 
1.0, legacy support
ohci2 at pci0 dev 3 function 2 "SiS 5597/5598 USB" rev 0x0f: irq 11, version 
1.0, legacy support
ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: irq 10
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: SiS EHCI root hub, rev 2.00/1.00, addr 1
sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: irq 11, address 
00:1c:c0:25:da:bc
ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x0050ef, model 0x0007
pciide1 at pci0 dev 5 function 0 "SiS 181 SATA" rev 0x01: DMA
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
dc0 at pci0 dev 6 function 0 "Davicom DM9102" rev 0x40: irq 10, address 
00:60:6e:75:7e:ed
amphy0 at dc0 phy 1: DM9102 10/100 PHY, rev. 1
ppb1 at pci0 dev 31 function 0 "SiS PCI-PCI" rev 0x00
pci2 at ppb1 bus 2
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627DHG
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq