Re: moving kernels between machines

2007-01-05 Thread Tasmanian Devil

- Machine A, a single i386 box without enough disk space to unpack the
source tree


http://openbsdbinpatch.sourceforge.net/ :-)

Tas.



i386/4.0-current: bsd.mp: msk and wpi troubles and crash

2007-01-05 Thread giovanni

hello,

anybody is experiencing the following troubles w/ bsd.mp 4.0-current 
(4.0 too)?


msk ethernet device does not work
wpi crashes the kernel when I try to up

ifconfig wpi0 up
...
ddb stopped at trap+0x55: movl %aex, 0x14c(%esi)

however w/ bsd msk works while wpi give me a wpi0: fatal firmware error
(if I start it before an AP is switched on)

hereinafter the dmesg for bsd and bsd.mp

[dmesg up]
OpenBSD 4.0-current (GENERIC) #1331: Wed Jan  3 09:48:30 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU T5500 @ 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,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16

real mem  = 1063415808 (1038492K)
avail mem = 961888256 (939344K)
using 4256 buffers containing 53293056 bytes (52044K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(95) BIOS, date 09/16/06, BIOS32 rev. 0 @ 
0xfd5f0, SMBIOS rev. 2.4 @ 0xdc010 (18 entries)

bios0: Sony Corporation VGN-C1S_H
pcibios0 at bios0: rev 2.1 @ 0xfd5f0/0xa10
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/288 (16 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1! 0xdc000/0x4000! 0xe/0x1800!
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2a06000a2a
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1667 MHz (1372 mV): speeds: 1667, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03: aperture 
at 0xd010, size 0x1000

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: irq 4
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x10ec (rev. 1.0), HDA version 1.0
azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8036 rev 0x13, Yukon-2 
FE (0x1): irq 7

msk0 at mskc0 port A, address 00:13:a9:60:1b:eb
eephy0 at msk0 phy 0: Marvell 88E3082 10/100 PHY, rev. 3
ukphy0 at msk0 phy 3: Generic IEEE 802.3u media interface, rev. 0: OUI 
0x121012, model 0x0004

ukphy0: no media present
ukphy1 at msk0 phy 6: Generic IEEE 802.3u media interface, rev. 0: OUI 
0x004c00, model 0x0013

ukphy1: no media present
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: irq 
11, address 00:18:de:ad:3e:96

ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02
pci4 at ppb3 bus 4
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 5
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: irq 3
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: 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: irq 7
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: irq 5
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
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci5 at ppb4 bus 5
cbb0 at pci5 dev 3 function 0 TI PCIXX12 CardBus rev 0x00pci_intr_map: 
no mapping for pin A

: couldn't map interrupt
vendor TI, unknown product 0x803a (class serial bus subclass Firewire, 
rev 0x00) at pci5 dev 3 function 1 not configured
TI PCIXX12 Multimedia Card Reader rev 0x00 at pci5 dev 3 function 2 
not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM 
disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: 

Re: qemu support for OpenBSD as a guest on sparc, mips, mipsel, arm, ppc, amd64

2007-01-05 Thread Rainer Giedat
On Fri, Jan 05, 2007 at 03:08:47AM +0530, Siju George wrote:
 Hi,
Hi!

 will the SGI port run under mips/mipsel?
'mipsel' not, since the SGI port uses big endian mips. On some parts
it has code for little endian too, but not everywhere. If you mean by
'mipsel' the gnu toolchain target then it is even harder, since
it is 32bit. SGI is mips64.
There are a lot of different mips designs. Don't get confused ;)
The different desings support different subsets of commands...
Besides that, you will need macebus/crimebus on the qemu to use the SGI port.

Sorry,
Rainer



uvm_fault

2007-01-05 Thread Florian Fuessl
Hi,

I have problems with an OpenBSD 3.9 GENERIC.MP#0 i386 machine causing
uvm_fault crashes:

uvm_fault(0xd05cc640, 0xedbe2000, 0, 3) - e
kernel page fault trap, code=0
Stopped at memset+0x33:   repe stosl  %es:(%edi)

The system in question is a Fujitsu Siemens Primergy P200 system with five
network cards, four Intel PRO/1000MT (82546GB) [em0-3] and one Intel 8255x
[fxp0]. It has an Adaptec 2100S RAID controller and 1.5 GB memory.
Real memory usage is usually between Memory: Real: 200M/336M.

Any ideas would be great, thanks for your time,
- Florian



Re: uvm_fault

2007-01-05 Thread Marcus Popp
On 2007-01-05T13:47, Florian Fuessl wrote:
 Hi,
 
 I have problems with an OpenBSD 3.9 GENERIC.MP#0 i386 machine causing
 uvm_fault crashes:
 
 uvm_fault(0xd05cc640, 0xedbe2000, 0, 3) - e
 kernel page fault trap, code=0
 Stopped at memset+0x33:   repe stosl  %es:(%edi)
 
 The system in question is a Fujitsu Siemens Primergy P200 system with five
 network cards, four Intel PRO/1000MT (82546GB) [em0-3] and one Intel 8255x
 [fxp0]. It has an Adaptec 2100S RAID controller and 1.5 GB memory.
 Real memory usage is usually between Memory: Real: 200M/336M.
 
 Any ideas would be great, thanks for your time,

please go to http://www.openbsd.org/report.html and read it.

thanks,

Marcus.



Re: uvm_fault

2007-01-05 Thread Tobias Ulmer
On Fri, Jan 05, 2007 at 01:47:19PM +0100, Florian Fuessl wrote:
 Hi,
 
 I have problems with an OpenBSD 3.9 GENERIC.MP#0 i386 machine causing
 uvm_fault crashes:
 
 uvm_fault(0xd05cc640, 0xedbe2000, 0, 3) - e
 kernel page fault trap, code=0
 Stopped at memset+0x33:   repe stosl  %es:(%edi)
 
 The system in question is a Fujitsu Siemens Primergy P200 system with five
 network cards, four Intel PRO/1000MT (82546GB) [em0-3] and one Intel 8255x
 [fxp0]. It has an Adaptec 2100S RAID controller and 1.5 GB memory.
 Real memory usage is usually between Memory: Real: 200M/336M.
 
 Any ideas would be great, thanks for your time,
 - Florian
 


Please read http://www.openbsd.org/report.html and provide a real bug
report*. uvm(9) is the kernel memory manager, basically everything from
hard- to software can cause an uvm_fault.

Tobias

* full dmesg, is it reproducable, output of trace and ps (attach a
  serial console), etc.



Re: compiling tools

2007-01-05 Thread Joachim Schipper
On Fri, Jan 05, 2007 at 12:49:59AM +, Stuart Henderson wrote:
   OK, I have a fair amount of experience with FreeBSD kernels, but none
   using OpenBSD.  My platform is a teeny little Zaurus, and I am trying
   to see if I could use some tools such as ccache to speed compilation.
 
  Yes - there is one big 'why' in all this. ccache is really useful if you
  repeatedly rebuild the same thing, and cannot afford to actually rely on
  make/the makefiles doing the right thing. However, unless you are going
  to do some hefty development work on that Zaurus, which I really
  wouldn't recommend, you are unlikely to need to build much of anything
  on it.
 
 Quite a few things need building from ports on the ARM arch's (zaurus
 and armish share packages; building on an N2100 is a reasonably easy
 and not horrendously expensive way to speed up builds of software to
 run on a Z).

You are, of course, right - and I shouldn't have written the above, as I
was well aware of this. Still, while one would need to build some ports
on zaurus, one wouldn't need to *rebuild* a lot of ports on a zaurus;
and only in the latter case is ccache useful.

 It's a good job some people did some hefty development work on them,
 or we wouldn't have OpenBSD/Zaurus which is a pretty useful thing.

Certainly, it's a good thing that we have OpenBSD/Zaurus; and yes, this
took some hefty development work, I am sure. However, given the
paragraph by the original poster quoted above, I don't think it likely
that he will be hacking OpenBSD/Zaurus soon; and general development
work is likely to be far more pleasant over an ssh link. (Of course, one
does not always have internet handy; but the whole `mount src and obj
directories from a big server' mentioned in the first post isn't going
to work in that case, either.)

I'm just trying to understand why ccache, which was written to solve a
very specific issue (recompiling the same code lots of times, without
being able to rely on make doing the right thing), would be useful in
this case; if it doesn't give a largish benefit, it's probably not worth
doing.

Joachim



SPEWS.ORG Gone away?

2007-01-05 Thread K.R. (Randy) Lewis
Oh crap!

SPEWS.ORG seems to have gone away!

Any news about this?

Randy
---

--
dns1-xxx# dig spews.org

;  DiG 9.2.2rc1  spews.org
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 63958
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;spews.org. IN  A

;; Query time: 1719 msec
;; SERVER: 216.26.234.248#53(216.xx.xxx.)
;; WHEN: Fri Jan  5 09:02:02 2007
;; MSG SIZE  rcvd: 27

dns1-xxx# dig www.spews.org

;  DiG 9.2.2rc1  www.spews.org
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 54164
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.spews.org. IN  A

;; Query time: 1615 msec
;; SERVER: 216.26.234.248#53(216.xx.xxx.xxx)
;; WHEN: Fri Jan  5 09:02:37 2007
;; MSG SIZE  rcvd: 31

dns1-xxx#

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



Re: SPEWS.ORG Gone away?

2007-01-05 Thread Craig Skinner
On Fri, Jan 05, 2007 at 09:06:48AM -0500, K.R. (Randy) Lewis wrote:
 Oh crap!
 
 SPEWS.ORG seems to have gone away!
 
 Any news about this?
 

whois shows the name is still registered, but no dns:

$ whois spews.org

Domain ID:D74783489-LROR
Domain Name:SPEWS.ORG
Created On:07-Jul-2001 19:50:12 UTC
Last Updated On:05-Dec-2006 12:37:17 UTC
Expiration Date:07-Jul-2008 19:50:12 UTC
Sponsoring Registrar:CSL Computer Service Langenbach GmbH (R25-LROR)
Status:CLIENT DELETE PROHIBITED
Status:CLIENT TRANSFER PROHIBITED
Status:CLIENT UPDATE PROHIBITED
Registrant ID:CORG-1195
Registrant Name:chip level domains
Registrant Organization:Visit Lake Biakal!
Registrant Street1:po box 61, Baikalsk-2
Registrant Street2:
Registrant Street3:
Registrant City:Irkutsk region, -- 665914
Registrant State/Province:
Registrant Postal Code:665914
Registrant Country:RU
Registrant Phone:+7.3952348335
Registrant Phone Ext.:
Registrant FAX:+7.3952348335
Registrant FAX Ext.:
Registrant Email:[EMAIL PROTECTED]
Admin ID:CORG-58588
Admin Name:Sergei ''Chip'' Didorenko
Admin Organization:Visit Lake Baikal! ~ http://baikal.irkutsk.org
Admin Street1:po box 61, Baikalsk-2
Admin Street2:
Admin Street3:
Admin City:Irkutsk region
Admin State/Province:
Admin Postal Code:665914
Admin Country:RU
Admin Phone:+7.3952348335
Admin Phone Ext.:
Admin FAX:+7.3952348335
Admin FAX Ext.:
Admin Email:[EMAIL PROTECTED]
Tech ID:CORG-58588
Tech Name:Sergei ''Chip'' Didorenko
Tech Organization:Visit Lake Baikal! ~ http://baikal.irkutsk.org
Tech Street1:po box 61, Baikalsk-2
Tech Street2:
Tech Street3:
Tech City:Irkutsk region
Tech State/Province:
Tech Postal Code:665914
Tech Country:RU
Tech Phone:+7.3952348335
Tech Phone Ext.:
Tech FAX:+7.3952348335
Tech FAX Ext.:
Tech Email:[EMAIL PROTECTED]
Name Server:NS1.TELSTRA.NET
Name Server:NS0.SORBS.NET
Name Server:NS2.SORBS.NET
Name Server:NS2.SPEWS.ORG




$ dig @NS1.TELSTRA.NET spews.org SOA +short
$ dig @NS0.SORBS.NET spews.org SOA +short
$ dig @NS2.SORBS.NET spews.org SOA +short
$ dig @NS2.SPEWS.ORG spews.org SOA +short
dig: couldn't get address for 'NS2.SPEWS.ORG': failure



Re: compiling tools

2007-01-05 Thread Janne Johansson

Joachim Schipper wrote:

I think that the best way for me to use ccache is to be able to
revector the CC and C++ compilers ... but I'm not certain, could I just
put something like

make CC=ccache build

as my main compilation command (after, of course, I do the dependencies)
and get the compioler revectored to my ccache tool?


http://marc.theaimsgroup.com/?l=openbsd-miscm=109043549403999w=2 seems
to suggest that putting the appropriate CC= line in /etc/mk.conf might
work; this is not documented in mk.conf(5).
http://marc.theaimsgroup.com/?l=openbsd-portsm=116060629621783w=2
suggests likewise, and points to another possible solution, provided you
have quite a few Zauruses.


Dont forget, ccache does a checksum of the preprocessed .c file and the 
compiler in order to not use old .o's if your compiler is replaced.
When doing a make build, the compiler is rebuilt _twice_, so you are 
definately guaranteed not to ever get any gain from ccache on make builds.


As for distcc, various parts of the build tree have makefiles that can 
handle -jX, whereas others might not. Noone seems to have researched 
which parts do as of now.




Re: SUN Fire x2200, anyone?

2007-01-05 Thread Toni Mueller
Hi,

On Fri, 05.01.2007 at 02:15:34 +0100, Ingo Schwarze [EMAIL PROTECTED] wrote:
 Toni Mueller wrote on Thu, Jan 04, 2007 at 10:50:01PM +0100:
  These are my main concerns: Will the hardware raid do any good in the
  x2200 series, and/or what's the current status with respect to the
  serial console? SAS is ok if that makes a difference.
 
 When building a firewall, also consider that RAID might not be
 useful at all, that it might even be better avoided.
 
 If you really need to avoid downtime caused by hardware failures, you
 ought to have two carp(4)ed machines, anyway - the disks are not the
 only part prone to failure, after all.

this all was not my idea but the idea of the person who wants to have
this machine. I'm interested in whether it works anyway because I might
be interested in such a box later, too, albeit perhaps for other
applications.

 When one of the machines fails, switch it off, swap out the (single)
 hard disk, install a new one, reinstall the system and go back to
 carp.

Ok, but experience shows that disks actually are the most common point
of failure. Also, the prospective user has a weird setup that makes
using CARP impossible (also not my idea).

 What else could it be required for?  Minimizing reinstallation time?
 Installing a firewall should be done in less than half an hour,

This is not my experience. Also, some travel would be incurred which
significantly increases your half an hour.

 And how often do you expect you will have to do that?

Frankly, my recent experiences with contemporary SATA disks (at least)
suggest that I should expect such a thing to happen every 2-3 months.

 In particular, how often compared to routine upgrades which have to
 be done a few times in each year, anyway?

Routine upgrades in this case are only done once per year unless
there's a patch to add.

 Hopefully, there is none, even if you plan some kind of combo
 style - you should probably not combine your firewall with any
 server processes handling valuable user data.

You assume that I have full control over what's happening there, and/or
unlimited budget, but I don't. Otherwise, there'd be quite a different
setup.


Best,
--Toni++



Re: x2100 M2

2007-01-05 Thread Toni Mueller
Hi,

On Thu, 04.01.2007 at 22:18:58 -0800, Dag Richards [EMAIL PROTECTED] wrote:
 You can use raidframe to do software raid, though I at least have not 
 been able to do an upgrade of a system with its root slices on a
 raidframe disk.

in theory, this should work in that you first upgrade your
non-raidframe'd root partitions, then reboot and proceed with the
normal upgrade. Or at least I've yet to find out how to make the
machine genuinely boot from a root partition on raid - including the
kernel...


Best,
--Toni++



Re: Slow RAID io

2007-01-05 Thread edgarz

can somebody can help me? :)

edgarz wrote:

Hi all!
Installed fresh CURRENT on intel NH/SR1475NH1, with Intel RAID SRCS16 
(SATA), running RAID5.
All hardware is recognised, but i have a problems with slow raid 
performance.

maximum what i saw in iostat was a 8.2MB/s

Any ideas?


DMESG:

OpenBSD 4.0-current (GENERIC) #1331: Wed Jan  3 09:48:30 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error 80clock_battery
cpu0: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16 


real mem  = 1071697920 (1046580K)
avail mem = 969449472 (946728K)
using 4256 buffers containing 53735424 bytes (52476K) of memory
RTC BIOS diagnostic error 80clock_battery
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/11/05, SMBIOS rev. 2.3 @ 
0xe4bd0 (33 entries)

bios0: Intel Corporation SE7230NH1LX
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 0%
apm0: AC off, battery charge unknown, estimated 0:00 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xb000 0xcb000/0x2400
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 Intel E7230 MCH rev 0x00
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci2 at ppb1 bus 2
ami0 at pci2 dev 1 function 0 Symbios Logic MegaRAID rev 0x01: irq 9
ami0: Intel RAID SRCS16, 64b/lhc, FW 713N, BIOS vG401, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus0 at ami0: 40 targets
sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct fixed
sd0: 312804MB, 312804 cyl, 64 head, 32 sec, 512 bytes/sec, 640622592 sec 
total

scsibus1 at ami0: 16 targets
ppb2 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01
pci4 at ppb3 bus 4
em0 at pci4 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: irq 
10, address 00:16:76:94:e8:34
pciide0 at pci4 dev 0 function 2 vendor Intel, unknown product 0x108d 
rev 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 
wired to native-PCI

pciide0: using irq 11 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel 82573E AMT rev 0x03 at pci4 dev 0 function 3 not configured
Intel 82573E KCS (Active Management) rev 0x03 at pci4 dev 0 function 4 
not configured

uhci0 at pci0 dev 29 function 0 Intel 82801GB 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
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: 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 0x01: 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 0x01: irq 9
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 0x01: irq 11
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
ppb4 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xe1
pci5 at ppb4 bus 5
vga1 at pci5 dev 4 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em1 at pci5 dev 5 function 0 Intel PRO/1000MT (82541GI) rev 0x05: irq 
10, address 00:16:76:94:e8:35
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM 
disabled
pciide1 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility

atapiscsi0 at pciide1 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: LITE-ON, DVDRW SHM-165P6S, MS0M SCSI0 
5/cdrom removable

cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide1: channel 1 ignored (disabled)
pciide2 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide2: using irq 11 for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: irq 11
iic0 at ichiic0
adt0 at iic0 addr 0x2c: emc6d100 rev 0x68
adt1 at iic0 addr 0x2d: lm96000 rev 0x68
adt2 at iic0 addr 0x2e: emc6d100 rev 0x68

Re: User authentication

2007-01-05 Thread Ryan Corder
On Thu, 2007-01-04 at 16:29 -0600, L. V. Lammert wrote:
 If you DID wish to use OpenLDAP for OBSD user authentication, it seems to
 be possible via Kerberos/heimdal:

  http://www.pdc.kth.se/heimdal/heimdal.html

 See the section on 'Using LDAP to store the database'.

this is quite different that using LDAP to store your user
information...this is when you want to use LDAP to actually store the
database Kerberos uses for it's passwords.

on Linux, I have done easily via nss_ldap, storing user and group
accounts (the equivalent of /etc/passwd and /etc/groups) in LDAP while
keeping all actual authentication in Kerberos.  It's fairly easy and
very, very, very convenient to have this centralized system to do AAA.

on the OpenBSD boxes here, I can only use the Kerberos side of things so
far.  Since I can't specify that OpenBSD should look in LDAP for it's
user and group accounts, I have to maintain them manually, but the
authentication piece is still centralized.

oh, and login_ldap doesn't help as it only allows you to store passwords
in LDAP, which I would never recommend -- the same as the above
mentioned Kerberos in LDAP, in a not so round-about way, but without the
benefits of a ticket system.

later.
ryanc

--
Ryan Corder [EMAIL PROTECTED]
Systems Engineer, NovaSys Health LLC.
501-219- ext. 646

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: moving kernels between machines

2007-01-05 Thread David Newman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/5/07 12:42 AM, Tasmanian Devil wrote:
 - Machine A, a single i386 box without enough disk space to unpack the
 source tree
 
 http://openbsdbinpatch.sourceforge.net/ :-)

Thanks much for this, and also for Nick Holland's excellent suggestion
about keeping updated with -release.

Paranoid question: How does a user know which binpatches to trust?

dn
iD8DBQFFnpCayPxGVjntI4IRAugUAJ4gN67UZGnyRgxfuvtk9BFvix2q5wCaA+gD
2Oe+vTwBToPP7J6IxDyf7vA=
=LtR5
-END PGP SIGNATURE-



disk space and inodes?

2007-01-05 Thread Toni Mueller
Hi,

I have some trouble with a machine that on one partition, I'm short of
inodes. Unfortunately, there seems no way to retrofit some more of
them, but what I find even more interesting is this:

/dev/wd0o   495646 36516434348 8%   16008   45430 26%   
/var/qmail/queue

Before reaching this point, the kernel logged this:

Jan  5 19:02:22 hostname /bsd: /var/qmail/queue: optimization changed from TIME 
to SPACE

This is 4.0-stable (on i386).

Seems like not having at least 80% of all inodes free makes the system
switch?!?


Best,
--Toni++



Re: Slow RAID io

2007-01-05 Thread Jacob Yocom-Piatt

edgarz wrote:

can somebody can help me? :)



perhaps this is a with/without battery problem? just a guess...


edgarz wrote:

Hi all!
Installed fresh CURRENT on intel NH/SR1475NH1, with Intel RAID SRCS16 
(SATA), running RAID5.
All hardware is recognised, but i have a problems with slow raid 
performance.

maximum what i saw in iostat was a 8.2MB/s

ami0 at pci2 dev 1 function 0 Symbios Logic MegaRAID rev 0x01: irq 9
ami0: Intel RAID SRCS16, 64b/lhc, FW 713N, BIOS vG401, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus0 at ami0: 40 targets
sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct 
fixed
sd0: 312804MB, 312804 cyl, 64 head, 32 sec, 512 bytes/sec, 640622592 
sec total

scsibus1 at ami0: 16 targets




Re: moving kernels between machines

2007-01-05 Thread Tasmanian Devil

Paranoid question: How does a user know which binpatches to trust?


I'd say you should at least trust the ones you've build yourself on
your Machine B. ;-)

Tas.



LANDISK: error message during install

2007-01-05 Thread Diana Eichert
I just installed the Jan 01, 2007 LANDISK snapshot on my Plextor PX-EH25L
and received these error messages at the end of the install:

Yes, there is no uucp group nor a tuner0 device.

(The system is running just fine.)

##

Making all device nodes...sh: stdin[1]: mknod: invalid file mode
sh: stdin[1]: mknod: non-numeric major number.
chgrp: group is invalid: uucp
chgrp: tuner0: No such file or directory
done.

##

$ dmesg
[ using 253164 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 4.0-current (GENERIC) #2: Sun Dec 31 06:25:19 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/landisk/compile/GENERIC
I-O DATA USL-5P
real mem = 67108864 (65536K)
avail mem = 59072512 (57688K)
using 844 buffers containing 3457024 bytes (3376K) of memory
mainbus0 (root)
cpu0 at mainbus0: HITACHI SH4 266.666 MHz PCLOCK 33.333 MHz
cpu0: 8KB/32B direct-mapped Instruction cache.
cpu0: 16KB/32B direct-mapped Data cache.
cpu0: P0, U0, P3 write-through; P1 write-through
cpu0: full-associative 4 ITLB, 64 UTLB entries
cpu0: multiple virtual storage mode, SQ access: kernel, wired 61
shb0 at mainbus0
scif0 at shb0
scif0: console
rsclock0 at shb0: RS5C313 real time clock
shpcic0 at mainbus0: HITACHI SH7751R
pci0 at shpcic0
re0 at pci0 dev 0 function 0 Realtek 8139 rev 0x20, RTL8139C+ (0x7480):
irq 5,
 address 00:d0:a9:01:0e:be
rlphy0 at re0 phy 0: RTL internal PHY
pciide0 at pci0 dev 1 function 0 Acard ATP865-R rev 0x07: DMA
pciide0: using irq 6 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: HDT722525DLAT80
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide0:0:0): using PIO mode 4
ohci0 at pci0 dev 2 function 0 NEC USB rev 0x43: irq 7, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 1 NEC USB rev 0x43: irq 8, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 2 function 2 NEC USB rev 0x04: irq 5
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
obio0 at mainbus0
wdc0 at obio0 port 0x1400-0x140f irq 10
boot device: unknown
rootdev=0x1000 rrootdev=0x1000 rawdev=0x1002



Re: disk space and inodes?

2007-01-05 Thread Ted Unangst

On 1/5/07, Toni Mueller [EMAIL PROTECTED] wrote:

I have some trouble with a machine that on one partition, I'm short of
inodes. Unfortunately, there seems no way to retrofit some more of
them, but what I find even more interesting is this:


no, there's not.


Jan  5 19:02:22 hostname /bsd: /var/qmail/queue: optimization changed from TIME 
to SPACE

This is 4.0-stable (on i386).

Seems like not having at least 80% of all inodes free makes the system
switch?!?


i wouldn't worry too much about that message.  ignore it.



acx and two channels

2007-01-05 Thread Maxim Bourmistrov
Hi!
I have the following setup on acx-card on NET4501 Soekris:

acx0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:11:95:81:ac:e1
groups: wlan
media: IEEE802.11 autoselect (autoselect mode 11b hostap)
status: active
ieee80211: nwid BSDnet chan 11 bssid 00:11:95:81:ac:e1
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::211:95ff:fe81:ace1%acx0 prefixlen 64 scopeid 0x1

Any ideas why do I see this card broadcasting two(2) channels in tcpdump:
19:17:14.308163 802.11: beacon, ssid (BSDnet), rates, ds, tim, tim, radiotap 
v0, chan 11, 11g, signal 105dB
19:17:14.411179 802.11: beacon, ssid (BSDnet), rates, ds, tim, tim, radiotap 
v0, chan 11, 11g, signal 105dB
19:17:14.513194 802.11: beacon, ssid (BSDnet), rates, ds, tim, tim, radiotap 
v0, chan 11, 11g, signal 104dB
19:17:14.616211 802.11: beacon, ssid (BSDnet), rates, ds, tim, tim, radiotap 
v0, chan 12, 11g, signal 104dB


acx0 at pci0 dev 16 function 0 TI ACX111 rev 0x00: irq 10
acx0: ACX111, radio Radia (0x16), EEPROM ver 5, address 00:11:95:81:ac:e1

Maxim



Re: User authentication

2007-01-05 Thread Dave Ewart
On Friday, 05.01.2007 at 09:33 -0600, Ryan Corder wrote:

 on Linux, I have done easily via nss_ldap, storing user and group
 accounts (the equivalent of /etc/passwd and /etc/groups) in LDAP while
 keeping all actual authentication in Kerberos.  It's fairly easy and
 very, very, very convenient to have this centralized system to do AAA.

I've been wondering about this too and haven't found any documentation.
I use nss_ldap and pam_ldap to provide users, groups and authentication
on my Debian boxes.

Is there any way to do this under OpenBSD?

Dave.
-- 
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED] - freenode: davee



Re: User authentication

2007-01-05 Thread Maxim Bourmistrov
check out login_ldap in ports.

On Friday 05 January 2007 20:05, Dave Ewart wrote:
 On Friday, 05.01.2007 at 09:33 -0600, Ryan Corder wrote:
 
  on Linux, I have done easily via nss_ldap, storing user and group
  accounts (the equivalent of /etc/passwd and /etc/groups) in LDAP while
  keeping all actual authentication in Kerberos.  It's fairly easy and
  very, very, very convenient to have this centralized system to do AAA.
 
 I've been wondering about this too and haven't found any documentation.
 I use nss_ldap and pam_ldap to provide users, groups and authentication
 on my Debian boxes.
 
 Is there any way to do this under OpenBSD?
 
 Dave.



Re: x2100 M2

2007-01-05 Thread Dag Richards

Toni Mueller wrote:

Hi,

On Thu, 04.01.2007 at 22:18:58 -0800, Dag Richards [EMAIL PROTECTED] wrote:

You can use raidframe to do software raid, though I at least have not 
been able to do an upgrade of a system with its root slices on a

raidframe disk.



in theory, this should work in that you first upgrade your
non-raidframe'd root partitions, then reboot and proceed with the
normal upgrade. Or at least I've yet to find out how to make the
machine genuinely boot from a root partition on raid - including the
kernel...



Yes that is the theory, and that I am sure would work.
What I was trying to do is have _every_ slice be raidframe raid1.
I was able to get that to work, with a custom kernel sitting on a small 
boot slice on each disk.


When it came time to upgrade...

Every solution I came up with seemed to be a kludge, and not conducive 
to a click and drool upgrade path. So we just do an rsync to the other 
disk daily and know that here will be a drive swap and reboot required 
in the event of  disk failure.


Hardware raid is very much preferred if possible, IBM has some nice low 
end x series servers with raid controllers.



We have six of these little x2100's and I have really liked them.
They are in my opinion the best inexpensive 1U servers generally available.


Best,
--Toni++




Re: User authentication

2007-01-05 Thread Joachim Schipper
On Fri, Jan 05, 2007 at 08:56:24PM +0100, Maxim Bourmistrov wrote:
 On Friday 05 January 2007 20:05, Dave Ewart wrote:
  On Friday, 05.01.2007 at 09:33 -0600, Ryan Corder wrote:
  
   on Linux, I have done easily via nss_ldap, storing user and group
   accounts (the equivalent of /etc/passwd and /etc/groups) in LDAP while
   keeping all actual authentication in Kerberos.  It's fairly easy and
   very, very, very convenient to have this centralized system to do AAA.
  
  I've been wondering about this too and haven't found any documentation.
  I use nss_ldap and pam_ldap to provide users, groups and authentication
  on my Debian boxes.
  
  Is there any way to do this under OpenBSD?
 
 check out login_ldap in ports.

See Ryan's original post for why this does not suffice (it only
authenticates, but does not store other information - like the existence
of a user).

To the best of my knowledge, no, there is not currently such a thing. It
would be easy enough to build a script to periodically sync
/etc/master.passwd and LDAP, but that's not quite the same...

Joachim



acpi?

2007-01-05 Thread Vim Visual

Hi,

I would like to know what the prospects of acpi support in OpenBSD 4.1
will be... if any?

I am looking forward to installing o'bsd on my laptop but I need acpi
since apm is not supported on it.

thanks,

Pau



Re: ipsecctl problems again

2007-01-05 Thread viq

On 04/01/07, viq [EMAIL PROTECTED] wrote:

On the almost-latest snapshots ipsecctl kept dumping core on me when
trying to start up the VPN, right now on the newest snapshot available
it doesn't, but only IPv6 traffic gets encapsulated.
Both boxes are:
OpenBSD 4.0-current (GENERIC) #1332: Wed Jan  3 21:24:57 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

Router ipsec.conf:
ike passive esp from any to any \
main auth hmac-sha1 enc aes group modp2048 \
quick auth hmac-ripemd160 enc aes group modp2048 \
srcid [EMAIL PROTECTED] dstid [EMAIL PROTECTED]

Laptop ipsec.conf:
ike dynamic esp from egress to any peer keibi.viq.ath.cx \
main auth hmac-sha1 enc aes group modp2048 \
quick auth hmac-ripemd160 enc aes group modp2048 \
srcid [EMAIL PROTECTED] dstid [EMAIL PROTECTED]



After recent fixes in the latest snapshot (i386 #1337) it works
fine... At least when the laptop has only IPv4 network available. In
my own network, which is IPv6 enabled, only IPv6-in-IPv6 encapsulation
happens, all IPv4 traffic doesn't enter the tunnel. Is that a bug, or
a feature?

--
viq



Re: LANDISK: error message during install

2007-01-05 Thread Diana Eichert
thanks for the fixes guys

http://marc.theaimsgroup.com/?l=openbsd-cvsm=116802804312698w=2

http://marc.theaimsgroup.com/?l=openbsd-cvsm=116802860813481w=2

diana



ntpd dies when run from /etc/rc when using trunk(4)

2007-01-05 Thread bofh

Hi,
When I use trunk, ntp doesn't start from /etc/rc.  /var/log/messages says:

Jan  5 15:58:16 chronos ntpd[16989]: fatal: bind: Can't assign requested address
Jan  5 15:58:16 chronos ntpd[15757]: Lost child: child exited

Starting ntpd by hand is fine.

# cat /etc/hostname.trunk0
trunkproto loadbalance trunkport bge0 trunkport bge1
inet AA.BB.CC.45 255.255.255.240 NONE

# cat /etc/hostname.bge0
up

# cat /etc/hostname.bge1
up

dmesg:
OpenBSD 4.0 (GENERIC.MP) #936: Sat Sep 16 19:27:28 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.06GHz (GenuineIntel 686-class) 3.06 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 2147028992 (2096708K)
avail mem = 1950351360 (1904640K)
using 4256 buffers containing 107454464 bytes (104936K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/31/99, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.3 @ 0xec000 (49 entries)
bios0: HP ProLiant DL380 G3
pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
pcibios0: PCI BIOS has 9 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks CSB5 rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xcc000/0x200 0xee000/0x2000!
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Xeon(TM) CPU 3.06GHz (GenuineIntel 686-class) 3.06 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20-HE Host (GC-LE) rev 0x32
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
pci1 at pchb1 bus 3
isp0 at pci1 dev 1 function 0 QLogic ISP2312 rev 0x02: irq 11
isp0: Polled Mailbox Command (0x2) Timeout
isp0: Polled Mailbox Command (0x8) Timeout
isp1 at pci1 dev 1 function 1 QLogic ISP2312 rev 0x02: irq 10
isp1: Polled Mailbox Command (0x2) Timeout
isp1: Polled Mailbox Command (0x8) Timeout
pchb2 at pci0 dev 0 function 2 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
pci2 at pchb2 bus 1
ciss0 at pci2 dev 3 function 0 Compaq Smart Array 5i/532 rev.2 rev
0x01: irq 15
ciss0: 1 LD, HW rev 1, FW 2.58/2.58
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.58 SCSI0
0/direct fixed
sd0: 34727MB, 34727 cyl, 64 head, 32 sec, 512 bytes/sec, 71122560 sec total
vga1 at pci0 dev 3 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Compaq iLO rev 0x01 at pci0 dev 4 function 0 not configured
Compaq iLO rev 0x01 at pci0 dev 4 function 2 not configured
piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
iic0 at piixpm0
pciide0 at pci0 dev 15 function 1 ServerWorks CSB5 IDE rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: TEAC, CD-224E, 9.9A SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: no compatibility interrupt for use by channel 1
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x05:
irq 7, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pchb3 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
pchb4 at pci0 dev 16 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
pchb5 at pci0 dev 16 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
pci3 at pchb5 bus 6
Compaq PCI Hotplug rev 0x14 at pci3 dev 30 function 0 not configured
pchb6 at pci0 dev 17 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
pchb7 at pci0 dev 17 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
pci4 at pchb7 bus 2
bge0 at pci4 dev 1 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2
(0x1002): irq 10, address 00:0b:cd:9e:52:6d
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
bge1 at pci4 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2
(0x1002): irq 11, address 00:0b:cd:9e:52:6c
brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
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
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
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask efed netmask efed ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



Erlangen mirror downtime

2007-01-05 Thread Alexander von Gernler
Hi crowd,

the 2nd level mirror at the University of Erlangen, Germany, will be
away for approx. 12 hours due to hardware maintenance, starting now.

Operations should continue normally after that.

Regards,
-- 
Alexander grunk von Gernler   PGP 0xEBC27515
http://www.de.openbsd.org/ -- Free, functional, secure



Re: ipsecctl problems again

2007-01-05 Thread Mathieu Sauve-Frankel
 After recent fixes in the latest snapshot (i386 #1337) it works
 fine... At least when the laptop has only IPv4 network available. In
 my own network, which is IPv6 enabled, only IPv6-in-IPv6 encapsulation
 happens, all IPv4 traffic doesn't enter the tunnel. Is that a bug, or
 a feature?

In the future could you please post the full output of 
ipsecctl -nvf /etc/ipsec.conf as well as your ipsec.conf with these reports 
to save us some time. 

-- 
Mathieu Sauve-Frankel



backing up windows hosts to openbsd

2007-01-05 Thread Jacob Yocom-Piatt
i've seen a number of solutions for backing up windows hosts to an 
openbsd backup server. there are ~50 windows hosts to backup with an 
average of ~10 GB of stuff on each machine. for my purposes a key 
feature of such a solution is that it makes FULL backups of the windows 
hosts that can be used to replace faulty hard drives with working 
bootable replacement drives.


the solutions i've seen offered on openbsd lists and elsewhere are

- amanda w/ cygwin
- rsync w/ cygwin
- bacula
- backuppc
- boxbackup

if anyone has experience with these programs and can vouch for their 
ease of use in the aforementioned context, i would like to hear about 
it. do let me know if i've missed any good ones that are not already listed.


i am to understand that backuppc cannot backup locked windows files nor 
can you generate full bootable restores, so it's out of the running 
pretty much off the bat. figured i'd mention it anyways...


cheers,
jake



Re: acpi?

2007-01-05 Thread jon

I was under the impression that it was just the boot cd kernel image that
did not have ACPI support, but there was some way to add it.

This same issue however has stopped me from getting 4.0 to install on
an intel core duo mac mini as well.

BTW I am a newb.  sorry :(

Vim Visual wrote:

Hi,

I would like to know what the prospects of acpi support in OpenBSD 4.1
will be... if any?

I am looking forward to installing o'bsd on my laptop but I need acpi
since apm is not supported on it.

thanks,

Pau




Re: acpi?

2007-01-05 Thread Marco S Hyman
  This same issue however has stopped me from getting 4.0 to install on
  an intel core duo mac mini as well.

$ sysctl hw  
hw.machine=i386
hw.model=Genuine Intel(R) CPU 1300 @ 1.66GHz (GenuineIntel 686-class)
hw.ncpu=2
hw.byteorder=1234
hw.physmem=1040629760
hw.usermem=1040621568
hw.pagesize=4096
hw.disknames=cd0,wd0
hw.diskcount=2
hw.cpuspeed=1667
hw.vendor=Apple Computer, Inc.
hw.product=Macmini1,1
hw.version=1.0
hw.serialno=G864806SW0C
hw.uuid=9cfe245e-d0c8-bd45-a79f-54ea5fbd3d97

I did this by 1) creating a bsd.rd with acpi support, and 2) blowing away
MacOS so it would boot from the CD without keyboard input.   There have
since been changes made that make the keyboard work from the boot loader
(but not DDB or UKC) so all you need to do is enable acpi.

// marc



Re: OBSD: OS Of The Rad

2007-01-05 Thread Steve Shockley

Artur Grabowski wrote:
# uptime
 6:45PM  up 9136 days,  5:29, 1 user, load averages: 0.26, 0.12, 0.09


I win.

http://www.blahonga.org/~art/diffs/epenis-enlargement.20060210


What's that patch do, adjust the insecurelevel?



Re: uvm_fault

2007-01-05 Thread Florian Fuessl
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
 Marcus Popp

 On 2007-01-05T13:47, Florian Fuessl wrote:
 Hi,
 
 I have problems with an OpenBSD 3.9 GENERIC.MP#0 i386 machine causing
 uvm_fault crashes:
 [...]
 Any ideas would be great, thanks for your time,

 please go to http://www.openbsd.org/report.html and read it.
 
 thanks, Marcus.

Hi, thanks for the many reply messages.

Today the machine in question caused one more kernel page fault with the
error message below. I now guess it's a hardware error and not an OpenBSD
bug in this case.

Many thanks for your help,
- Flo

+++ \\\ /// +++
   kernel: page fault trap, code=0
Stopped at  ip_output+0x7e0:testb   $0x5,0x34(%eax)

ddb{0} trace
ip_output(ec846000,0,0,2,d05e5bc8,0,ea436d80,d01e6f0d) at ip_outputx0x7e0
pfsync_sendout_mbuf(d05e5a00,ec846000,ea436db0,d01c3c56,ea436e40) at
pfsync_sen
dout_mbuf+0x106
pfsync_sendout(d05e5a00,ecb1c800,ea436dd0) at pfsync_sendout+0x57
pfsync_request_update(d904284c,ea436e40,8,d90428c) at
pfsync_request_update+0x
3c
pfsync_input(ec1e8800,14,0,0,4b0bbdde) at pfsync_input+0x1006
ipv4_input(ec1e8800,d028e557,8,286) at ipv4_input+0x4f1
ipintr(0,d034,10,10,ea435000) at ipintr+0x67
Bad frame pointer: 0xea436f20
ddb{0}



Re: backing up windows hosts to openbsd

2007-01-05 Thread Sam Fourman Jr.

Do any of these backup the winxp registry as well?

Sam Fourman Jr.

On 1/5/07, Joachim Schipper [EMAIL PROTECTED] wrote:

On Fri, Jan 05, 2007 at 05:05:37PM -0600, Jacob Yocom-Piatt wrote:
 i've seen a number of solutions for backing up windows hosts to an
 openbsd backup server. there are ~50 windows hosts to backup with an
 average of ~10 GB of stuff on each machine. for my purposes a key
 feature of such a solution is that it makes FULL backups of the windows
 hosts that can be used to replace faulty hard drives with working
 bootable replacement drives.

 the solutions i've seen offered on openbsd lists and elsewhere are

 - amanda w/ cygwin
 - rsync w/ cygwin
 - bacula
 - backuppc
 - boxbackup

 if anyone has experience with these programs and can vouch for their
 ease of use in the aforementioned context, i would like to hear about
 it. do let me know if i've missed any good ones that are not already listed.

 i am to understand that backuppc cannot backup locked windows files nor
 can you generate full bootable restores, so it's out of the running
 pretty much off the bat. figured i'd mention it anyways...

To the extent of my knowledge, the AMANDA in ports uses SAMBA to backup
Windows hosts, and (thus?) suffers from the same problem. I'd suppose
rsync has the same problem AMANDA has, but I never tried that. It does
need lots of disk, though.

Some bacula guys recently posted a port of their client (which promptly
got broken by a revision to the mt code, but that's fixed now); however,
I don't think the server currently works on OpenBSD.

I'm not familiar with any of the other things you mention.

Me, I just tell everyone that whatever isn't on the SAMBA server can,
and will, be eaten. If the network was a bit bigger, I'd probably use
install images of some sort for the Windows boxes.

Joachim




Nagios check_hw_sensors for the new two level sensors

2007-01-05 Thread andrew fresh
I am doing better this time, I saw that the sensors output changed, and
I am running -current on my laptop :-)  

However, that doesn't give me a lot of sensors to try, so if you are
using Nagios and -current or just want to try it, grab version 1.22 of
check_hw_sensors and let me know about anything that is broken.  

If you do have problems, if you could include the output from sysctl
hw.sensors with any reports, I can see what I can do.

The latest version is available here:
http://openbsd.somedomain.net/nagios/check_hw_sensors.html

and should still work on older versions of OpenBSD.

A direct download link for 1.22 is here:
http://openbsd.somedomain.net/nagios/check_hw_sensors-1.22.tar.gz

l8rZ,
-- 
andrew - ICQ# 253198 - JID: [EMAIL PROTECTED]

BOFH excuse of the day: The hardware bus needs a new token.



Re: acpi?

2007-01-05 Thread Tasmanian Devil

Because Apple screwed something else up -- unlike all other vendors they
fail to impliment legacy keyboard emulation directly at the device level.
Heck, even in the ROM, their keyboard handling is busted (and needs a
workaround).

Hardly surprising.  Apple.  They build crap and make you pay extra.


Regarding the boot process: There's even a bit more crap one could mention:

To fix booting without a monitor attached (at the bottom of the post):
http://marc.theaimsgroup.com/?l=openbsd-miscm=116493012410994w=2
To power on automatically after a power cut:
http://marc.theaimsgroup.com/?l=openbsd-miscm=116443142317676w=2
http://marc.theaimsgroup.com/?l=openbsd-miscm=116492864111707w=2

Though I can't resist to add that even though Apple builds this kind
of crap, they still have a few fans. At least as long as OpenBSD runs
on their hardware.

Tas.