Laptop HP Pavilion zv5445US and OpenBSD 3.8/3.9 (problems at boot sequence)

2006-04-22 Thread Leonardo Rodrigues
Hello again misc!

I'm dual-booting WindowsXP and OpenBSD on an HP Pavilion zv5445US
(zv5000 series) and have been using OpenBSD 3.8 for quite some time
now, but there's a little issue that's been annoying me ever since.

Sometimes the machine boots fine, and sometimes it doesn't.
It often hangs right at
"root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302"

However, if I restart the laptop and let it boot again, it boots just fine.
It often starts freezing again if I log on WindowsXP and try to boot
OpenBSD after that.

I've recently switched to OpenBSD 3.9-current from a snapshot to see
if things would get fixed, but they got worse. Now instead of
freezing, it just restarts right on the same msg "rootdev=0x0 blabla"

It only boots fine again, if I power the laptop down somewhere during
"fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef7d netmask ef7d ttymask 
pctr: user-level cycle counter enabled"
and try booting again. And even that isn't guaranteed to work.

And again, if I log on WindowsXP, and then try to start OpenBSD, it
restarts during boot, just as I described above.

I used to get some kernel errors right there too (that ddb prompt),
but this error hasn't appeared for a while now.

So, I would like to know some suggestions on what I should do. I'm
quite clueless about it. Maybe it's some issues with the sound adapter
(as it crashes right before the ac97 msg)? Or with the hard disk? Some
kernel module to disable on boot time?

Any help is welcome :)

Here's a dmesg of a successful boot:

OpenBSD 3.9-current (GENERIC) #693: Sat Apr 15 16:17:16 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 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,CNXT-ID
real mem  = 401633280 (392220K)
avail mem = 359100416 (350684K)
using 4278 buffers containing 20185088 bytes (19712K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(e6) BIOS, date 12/15/04, BIOS32 rev. 0 @ 0xfd710
pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1002 product 0x434c
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0xf000 0xd/0x6000! 0xd6000/0x1000 0xd7000/0x800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ATI Radeon IGP 9100 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "ATI Radeon IGP 9100 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Radeon Mobility IGP 9100" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 19 function 0 "ATI SB200 USB" rev 0x01: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1 "ATI SB200 USB" rev 0x01: irq 11,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
piixpm0 at pci0 dev 20 function 0 "ATI SB200 SMBus" rev 0x16: SMI
iic0 at piixpm0
pciide0 at pci0 dev 20 function 1 "ATI IXP200 IDE" rev 0x00: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
pcib0 at pci0 dev 20 function 3 "ATI SB200 PCI-ISA" rev 0x00
ppb1 at pci0 dev 20 function 4 "ATI SB200 PCI-PCI" rev 0x00
pci2 at ppb1 bus 2
"Texas Instruments TSB43AB21 FireWire" rev 0x00 at pci2 dev 0 function
0 not configured
"Broadcom BCM4306" rev 0x03 at pci2 dev 2 function 0 not configured
rl0 at pci2 dev 3 function 0 "Realtek 8139" rev 0x10: irq 11, address
00:0f:b0:4a:bc:aa
rlphy0 at rl0 phy 0: RTL internal PHY
cbb0 at pci2 dev 4 function 0 "Texas Instruments PCI1620 CardBus" rev
0x01: irq 10
cbb1 at pci2 dev 4 function 1 "Texas Instruments PCI1620 CardBus" rev
0x01: irq 10
"Texas Instruments PCI1620 Misc" rev 0x01 at pci2 dev 4 function 2 not
configured
ohci2 at pci2 dev 7 function 0 "NEC USB" rev 0x43: irq 10, version
1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ohci3 at pci2 dev 7 function 1 "NEC USB" rev 0x43: irq 5, version 1.0,
legacy support
usb3 at ohci3: USB revision 1.0
uhub3 at usb3
uhub3: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci2 dev 7 function 2 "NEC USB" rev 0x04:

Email f�r Dich?

2006-04-22 Thread SiusanEnid139
hier ist anja, bestimmt hast du mich schon vergeblich versucht zu erreichen, 
mein mailfach ist gesperrt, keine ahnung was ich da angestellt habe, das 
passwort wird einfach nicht akzeptiert, deswegen melde ich mich schnell vom 
rechner meiner kollegin, hier meine handynummer 0160-4591711 , meldest du dich 
gleich bei mir?



Re: Wireless NIC for soekris 4801

2006-04-22 Thread Rod.. Whitworth
On Sun, 23 Apr 2006 12:47:10 +1000, Nicholas Young wrote:

>On Fri, Apr 21, 2006 at 09:00:09PM +1100, Rod.. Whitworth wrote:
>> On Fri, 21 Apr 2006 08:46:14 +0200, Joakim Aronius wrote:
>> 
>> >Hi,
>> >
>> >Note that the PCI slot is 3.3V only, most WiFI PCI cards i have looked at 
>> >are 5V. My guess is that you have to go with MiniPCI (but i might be 
>> >wrong). 
>> >
>> >Cheers,
>> >/Joakim
>> 
>> Nup!
>> MSI PC54G2 is ral
>> Netgear WAG311 is atheros AR5212
>> both are universal (3.3 and 5V signalling)
>> Just look for the 2 key slots in the edge connector.
>> 
>> I have both and the MSI is going to replace the Netgear in a Net4801-50
>> Soekris.
>> 
>> Luckily here (in Australia) we can get Soekris boards in a neat black
>> case that takes PCI cards and looks much cooler than the original pale
>> greenl tight box.
>> 
>> There's even a 1RU case that takes 2 x 4801 cards but it's expensive .
>> 
>> We refer to the original as the SourKream Avocado Mousse unit. 8-)
>> 
>
>Where abouts are you getting the boards in Australia?
>

Well, due to having enough stock already bought from Soekris direct, I
haven't bought any here yet but I will be buying from
www.yawarra.com.au.

They sell Soekris and WRAP and various cases and wi-fi bits.
I hope we might, in time, get them to consider a selected few of
Commell's mobos. The ones that do serial console bios things and have
multiple NICs.

>From the land "down under": Australia.
Do we look  from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.



Re: Wireless NIC for soekris 4801

2006-04-22 Thread Nicholas Young
On Fri, Apr 21, 2006 at 09:00:09PM +1100, Rod.. Whitworth wrote:
> On Fri, 21 Apr 2006 08:46:14 +0200, Joakim Aronius wrote:
> 
> >Hi,
> >
> >Note that the PCI slot is 3.3V only, most WiFI PCI cards i have looked at 
> >are 5V. My guess is that you have to go with MiniPCI (but i might be wrong). 
> >
> >Cheers,
> >/Joakim
> 
> Nup!
> MSI PC54G2 is ral
> Netgear WAG311 is atheros AR5212
> both are universal (3.3 and 5V signalling)
> Just look for the 2 key slots in the edge connector.
> 
> I have both and the MSI is going to replace the Netgear in a Net4801-50
> Soekris.
> 
> Luckily here (in Australia) we can get Soekris boards in a neat black
> case that takes PCI cards and looks much cooler than the original pale
> greenl tight box.
> 
> There's even a 1RU case that takes 2 x 4801 cards but it's expensive .
> 
> We refer to the original as the SourKream Avocado Mousse unit. 8-)
> 

Where abouts are you getting the boards in Australia?

-- 
Nich



Re: problem with LSI Fibre Channel MPT AMD64 OpenBSD 3.9-current

2006-04-22 Thread Bryan Irvine
On 4/21/06, Marco Peereboom <[EMAIL PROTECTED]> wrote:
> So I really meant SC->LC.
>

ohhh ok, I'm really familiar with those.  I'm almost positive about
those.  I'll check on Monday.

--Bryan



Re: httpd crash

2006-04-22 Thread Pailloncy Jean-Gerard

Hmm, that is neat, but how about telling us what the problem is with
the normal httpd? You are more likely to get useful answers for that,
and it's more likely to be of use to the project.

Are you sure your script is not to blame?

I am not able to start standard http with mod_perl
As soon as the initialisation of httpd is done the daemon quits
no child is forked

With mod_perl statically link into httpd
the daemon starts but crashs as describe

I use this config to run the software eprints

Cordialement,
Jean-Girard Pailloncy



Re: OPENBSD_3_9 won't compile

2006-04-22 Thread Matthias Kilian
On Sat, Apr 22, 2006 at 10:36:00PM +0300, [EMAIL PROTECTED] wrote:
> I installed box booting from PXE and then with lastest snapshot. 
> After that I used:
> 
> # export [EMAIL PROTECTED]:/cvs
> # cd /usr; cvs checkout -P -rOPENBSD_3_9 src
[...]

snapshots already are far beyond the 3.9 release (i.e. point of no
return). You're now running on -CURRENT.

If you don't want to use -CURRENT, but -STABLE, get a CD set or wait
until 3.9 is officially released.

Ciao,
Kili

ps: there's no reason to ask the same question twice



SUCCESS Was: Problem with MPT when booting bsd.mp on Tyan S2895 Dual Opteron board

2006-04-22 Thread Diana Eichert
I just wanted to say thanks to Mark for taking time to work with me to
resolve issues with a post 3.9 GENERIC.MP kernel on a dual Opteron Tyan
system board I'd recently received.  After various e-mails with patches to
try Mark came to the conclusion the MP BIOS was broken.  It turned out
that a newer BIOS had been releaed after the system had shipped, after
upgrading to the most recent BIOS the system now boots with a MP kernel.

thank you again

diana

Follows is the dmesg with MPVERBOSE enabled:

OpenBSD 3.9-current (GENERIC.MPVERBOSE) #0: Fri Apr 14 10:19:54 MDT 2006

[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MPVERBOSE
real mem = 2146553856 (2096244K)
avail mem = 1835282432 (1792268K)
using 22937 buffers containing 214863872 bytes (209828K) of memory
mainbus0 (root)
mainbus0: scanning 0x9d400 to 0x9d7f0 for MP signature
mainbus0: scanning 0x9d000 to 0x9d3f0 for MP signature
mainbus0: scanning 0xf to 0x0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf77b0
mainbus0: MP config table at 0x9d9a1, 340 bytes long
mainbus0: Intel MP Specification (Version 1.4) (nVIDIA   CK804-2P)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 252, 2612.34 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 200MHz
cpu0: kstack at 0x800067d68000 for 20480 bytes
cpu0: idle pcb at 0x800067d68000, idle sp at 0x800067d6cff0
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Opteron(tm) Processor 252, 2612.04 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: kstack at 0x800067d6d000 for 20480 bytes
cpu1: idle pcb at 0x800067d6d000, idle sp at 0x800067d71ff0
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 8 is type PCI
mpbios: bus 10 is type PCI
mpbios: bus 128 is type PCI
mpbios: bus 129 is type ISA
ioapic0 at mainbus0 apid 2 pa 0xfec0, virtual wire mode, version 11, 24 pins
ioapic1 at mainbus0 apid 3 pa 0xd800, virtual wire mode, version 11, 4 pins
ioapic2 at mainbus0 apid 4 pa 0xd8001000, virtual wire mode, version 11, 4 pins
ioapic3 at mainbus0 apid 5 pa 0xd880, virtual wire mode, version 11, 24 pins
ioapic0: int0 attached to ExtINT (type 0x3 flags 0x5)
ioapic0: int1 attached to isa0 irq 1 (type 0x0 flags 0x5)
ioapic0: int2 attached to isa0 irq 2 (type 0x0 flags 0x5)
ioapic0: int3 attached to isa0 irq 3 (type 0x0 flags 0x5)
ioapic0: int4 attached to isa0 irq 4 (type 0x0 flags 0x5)
ioapic0: int5 attached to isa0 irq 5 (type 0x0 flags 0x5)
ioapic0: int6 attached to isa0 irq 6 (type 0x0 flags 0x5)
ioapic0: int7 attached to isa0 irq 7 (type 0x0 flags 0x5)
ioapic0: int8 attached to isa0 irq 8 (type 0x0 flags 0x5)
ioapic0: int9 attached to isa0 irq 9 (type 0x0 flags 0x5)
ioapic0: int10 attached to isa0 irq 10 (type 0x0 flags 0x5)
ioapic0: int11 attached to isa0 irq 11 (type 0x0 flags 0x5)
ioapic0: int12 attached to isa0 irq 12 (type 0x0 flags 0x5)
ioapic0: int13 attached to isa0 irq 13 (type 0x0 flags 0x5)
ioapic0: int14 attached to isa0 irq 14 (type 0x0 flags 0x5)
ioapic0: int15 attached to isa0 irq 15 (type 0x0 flags 0x5)
ioapic2: int2 attached to pci10 device 6 INT_A (type 0x0 flags 0xf)
ioapic2: int3 attached to pci10 device 6 INT_B (type 0x0 flags 0xf)
ioapic2: int1 attached to pci10 device 9 INT_A (type 0x0 flags 0xf)
ioapic2: int2 attached to pci10 device 9 INT_B (type 0x0 flags 0xf)
local apic: int0 attached to ExtINT (type 0x3 flags 0x5)
local apic: int1 attached to NMI (type 0x1 flags 0x5)
intr_cnt = 22, mp_nintr = 22
mainbus0: MP WARNING: 256 bytes of extended entries not examined
pci0 at mainbus0 bus 0: configuration mode 1
"NVIDIA nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce4 SMBus" rev 0xa2
iic0 at nviic0
iic1 at nviic0
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: apic 2 int 10 
(irq 10), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa3: apic 2 int 7 (irq 
7)
ehci0: timed out waiting for BIOS
usb1 at ehci0: USB revision 2.0
uhub1 at usb1

Re: OPENBSD_3_9 won't build

2006-04-22 Thread Brian
--- [EMAIL PROTECTED] wrote:

> Hello evrybody.
> 
> I installed box booting from PXE and then with lastest snapshot. 
> After that I used:
> 
> # export [EMAIL PROTECTED]:/cvs
> # cd /usr; cvs checkout -P -rOPENBSD_3_9 src
  

This is stable, not current.  You upgrade a snapshot with current; you don't
go backwards to stable.  The FAQ link I give belows shows the progression; it's
in 5.3.2.  5.3.3 goes into a lot more depth, but below is a simple update of
the source tree.  This does not update X or ports though.

# cd /usr/src
# cvs -q up -Pd  <-- to update your cvs to -current (afer you have an initial 
 /usr/src tree)

It's better to download from the ftp sites the gzipped tree instead of cvs'ing
the whole thing.  The FAQ goes into detail about this.


> 
> and then successfuly installed new kernel with;
> 
> # cd /usr/src/sys/arch/i386/conf
> # config GENERIC
> # cd ../compile/GENERIC
> # make depend
> # make
> # make install
>

To be safe, you want to:

# make clean && make depend && make

It's a good habit to make clean every time.
 
> And then rebooted PC. After than I tried to compile userland"
> 
> # rm -rf /usr/obj/
> # cd /usr/src
> # make obj
> # make build 
> 

You skipped a step:

# cd /usr/src/etc && env DESTDIR=/ make distrib-dirs

Please read this FAQ for details:

http://www.openbsd.org/faq/faq5.html#Bld

> But it won't compile. 

Of course it won't.
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: OPENBSD_3_9 won't build

2006-04-22 Thread Rogier Krieger
On 4/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I installed box booting from PXE and then with lastest snapshot.
> After that I used:
>
> # export [EMAIL PROTECTED]:/cvs
> # cd /usr; cvs checkout -P -rOPENBSD_3_9 src

You're going at it in a way that is not recommended (and thus
unsupported). The recommended way to go to -stable is starting at the
closest release and building -stable from there, as listed in the FAQ
[1].

In contrast, you're using a -current snapshot well past 3.9-release.
Your best bet is waiting until 3.9 comes out to try again.
Alternatively, dig up a snapshot dated around March 1 (just before
-release got branched off). Please beware that the latter option is
likely unsupported as well. It seemed work for me, though.

Unfortunately for you, once I received my 3.9 CD's, I deleted that snapshot.

Cheers,

Rogier


References:
1. OpenBSD FAQ 5 - Building the system from source
http://www.openbsd.org/faq/faq5.html#Bld
See the table under section 5.3.2

--
If you don't know where you're going, any road will get you there.



OPENBSD_3_9 won't compile

2006-04-22 Thread kuizbo
Hello evrybody.

I installed box booting from PXE and then with lastest snapshot. 
After that I used:

# export [EMAIL PROTECTED]:/cvs
# cd /usr; cvs checkout -P -rOPENBSD_3_9 src

and then successfuly installed new kernel with;

# cd /usr/src/sys/arch/i386/conf
# config GENERIC
# cd ../compile/GENERIC
# make depend
# make
# make install

And then rebooted PC. After than I tried to compile userland"

# rm -rf /usr/obj/
# cd /usr/src
# make obj
# make build 

But it won't compile. I tried removing /usr/src and get sources 
from CVS again after a while and even next day but it always stoped 
in place included below. So does anybody have any suggestions?

cc -O2 -pipe  -DHAVE_CONFIG_H -DBINDIR=\"/usr/bin\" -
DSBINDIR=\"/usr/sbin\" -DLIBEXECDIR=\"/usr/libexec\" -
DSYSCONFDIR=\"/etc/kerberosV\"  -I/usr/include/kerb
erosV  -I/usr/src/kerberosV/libexec/kdc/../../include -
I/usr/src/kerberosV/libexec/kdc/../../src/lib/roken -
I/usr/src/kerberosV/libexec/kdc/../../src/include
-I/usr/src/kerberosV/libexec/kdc/../../src/lib/sl -Wall -
DHAVE_DLOPEN -I/usr/src/kerberosV/libexec/kdc/../../src/lib/krb5 -
I/usr/src/kerberosV/libexec/kdc/../
.../src/kdc   -c /usr/src/kerberosV/src/lib/roken/parse_bytes.c
cc   -o kdc 524.o config.o connect.o kerberos5.o kerberos4.o log.o 
main.o misc.o print_version.o parse_bytes.o -lkrb5 -ldes -lcrypto -
lutil
524.o(.text+0x1f): In function `fetch_server':
: undefined reference to `principalname2krb5_principal'
524.o(.text+0x11b): In function `log_524':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0xd30): In function `as_rep':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0xd96): In function `as_rep':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0xf60): In function `as_rep':
: undefined reference to `KDCOptions_units'
kerberos5.o(.text+0x22c7): In function `tgs_make_reply':
: undefined reference to `krb5_principal2principalname'
kerberos5.o(.text+0x2994): In function `need_referral':
: undefined reference to `krb5_get_host_realm_int'
kerberos5.o(.text+0x2aa9): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x2fce): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x308c): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x30c6): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x30f2): In function `tgs_rep2':
: undefined reference to `KDCOptions_units'
kerberos4.o(.text+0x3f): In function `encode_v4_ticket':
: undefined reference to `principalname2krb5_principal'
kerberos4.o(.text+0xc5): In function `encode_v4_ticket':
: undefined reference to `principalname2krb5_principal'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/src/kerberosV/libexec/kdc (line 93 of 
/usr/share/mk/bsd.prog.mk).
*** Error code 1

Stop in /usr/src/kerberosV/libexec.
*** Error code 1

Stop in /usr/src/kerberosV.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src (line 73 of Makefile).





Concerned about your privacy? Instantly send FREE secure email, no account 
required
http://www.hushmail.com/send?l=480

Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485



OPENBSD_3_9 won't build

2006-04-22 Thread kuizbo
Hello evrybody.

I installed box booting from PXE and then with lastest snapshot. 
After that I used:

# export [EMAIL PROTECTED]:/cvs
# cd /usr; cvs checkout -P -rOPENBSD_3_9 src

and then successfuly installed new kernel with;

# cd /usr/src/sys/arch/i386/conf
# config GENERIC
# cd ../compile/GENERIC
# make depend
# make
# make install

And then rebooted PC. After than I tried to compile userland"

# rm -rf /usr/obj/
# cd /usr/src
# make obj
# make build 

But it won't compile. I tried removing /usr/src and get sources 
from CVS again after a while and even next day but it always stoped 
in place included below. So does anybody have any suggestions?

cc -O2 -pipe  -DHAVE_CONFIG_H -DBINDIR=\"/usr/bin\" -
DSBINDIR=\"/usr/sbin\" -DLIBEXECDIR=\"/usr/libexec\" -
DSYSCONFDIR=\"/etc/kerberosV\"  -I/usr/include/kerb
erosV  -I/usr/src/kerberosV/libexec/kdc/../../include -
I/usr/src/kerberosV/libexec/kdc/../../src/lib/roken -
I/usr/src/kerberosV/libexec/kdc/../../src/include
-I/usr/src/kerberosV/libexec/kdc/../../src/lib/sl -Wall -
DHAVE_DLOPEN -I/usr/src/kerberosV/libexec/kdc/../../src/lib/krb5 -
I/usr/src/kerberosV/libexec/kdc/../
.../src/kdc   -c /usr/src/kerberosV/src/lib/roken/parse_bytes.c
cc   -o kdc 524.o config.o connect.o kerberos5.o kerberos4.o log.o 
main.o misc.o print_version.o parse_bytes.o -lkrb5 -ldes -lcrypto -
lutil
524.o(.text+0x1f): In function `fetch_server':
: undefined reference to `principalname2krb5_principal'
524.o(.text+0x11b): In function `log_524':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0xd30): In function `as_rep':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0xd96): In function `as_rep':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0xf60): In function `as_rep':
: undefined reference to `KDCOptions_units'
kerberos5.o(.text+0x22c7): In function `tgs_make_reply':
: undefined reference to `krb5_principal2principalname'
kerberos5.o(.text+0x2994): In function `need_referral':
: undefined reference to `krb5_get_host_realm_int'
kerberos5.o(.text+0x2aa9): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x2fce): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x308c): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x30c6): In function `tgs_rep2':
: undefined reference to `principalname2krb5_principal'
kerberos5.o(.text+0x30f2): In function `tgs_rep2':
: undefined reference to `KDCOptions_units'
kerberos4.o(.text+0x3f): In function `encode_v4_ticket':
: undefined reference to `principalname2krb5_principal'
kerberos4.o(.text+0xc5): In function `encode_v4_ticket':
: undefined reference to `principalname2krb5_principal'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/src/kerberosV/libexec/kdc (line 93 of 
/usr/share/mk/bsd.prog.mk).
*** Error code 1

Stop in /usr/src/kerberosV/libexec.
*** Error code 1

Stop in /usr/src/kerberosV.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src (line 73 of Makefile).






Concerned about your privacy? Instantly send FREE secure email, no account 
required
http://www.hushmail.com/send?l=480

Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485



PCMCIA on a laptop with a Insyde Software MobilePRO BIOS not working

2006-04-22 Thread Henrik .
Hi everyone.

I have a Acer TravelMate 2400, on which i would like to install
OpenBSD. The installation of 3.8-release went without any problems and
most of the hardware also seems to work. But PCMCIA doesn't work.

The PCMCIA is a Texas Instruments PCI1410 PC card Cardbus Controller,
which other people - from what i can see - have had success getting to
work under OpenBSD, but i also have the BIOS's IRQ/adress handling
suspected, because of the following:

cbb0 at pci3 dev 4 function 0 "Texas Instruments PCI1410 CardBus" rev
0x02pci_intr_map: no mapping for pin A: couldn't map interrupt

The BIOS doesn't allow for any settings in regard to IRQ, so i can't
configure it manually and i haven't been able to locate any workaround
to access those options :(

I have originally tried with 3.8-release, then i updated to -current,
though that didn't change much (heck - i even tried a fresh install
from snapshots, just for the sake of it...)

I'm a little stuck here actually, and would really appreciate some help.

dmesg.boot with verbose pcibios (i also have a dmesg from -current at
http://www.bsdbandit.dk/pcmcia/current-dmesg.boot-pcibios-0x30.txt but
i don't think that adds anything):

OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 1.50GHz ("GenuineIntel"
686-class) 1.50 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,TM,SBF
real mem  = 259493888 (253412K)
avail mem = 229896192 (224508K)
using 3193 buffers containing 13078528 bytes (12772K) of memory
User Kernel Config
UKC> change pcibios
267 pcibios0 at bios0 flags 0x0
change (y/n) ?
flags [0] ? 0x30
267 pcibios0 changed
267 pcibios0 at bios0 flags 0x30
UKC> quit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+(21) BIOS, date 07/12/04, BIOS32 rev. 0 @ 0xea860
pcibios0 at bios0: rev 2.1 @ 0xe6000/0x6f9
pcibios0: config mechanism [1][x], special cycles [x][x], last bus 5
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfe840/288 (16 entries)
PIR Entry 0:
Bus: 5  Device: 0
INTA: link 0x68 bitmap 0x0e00
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 1:
Bus: 5  Device: 1
INTA: link 0x69 bitmap 0x0e00
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 2:
Bus: 5  Device: 2
INTA: link 0x6a bitmap 0x0e00
INTB: link 0x6b bitmap 0x0e00
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 3:
Bus: 5  Device: 4
INTA: link 0x60 bitmap 0x0e00
INTB: link 0x61 bitmap 0x0e00
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 4:
Bus: 0  Device: 1
INTA: link 0x60 bitmap 0x0e00
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 5:
Bus: 1  Device: 0
INTA: link 0x60 bitmap 0x0e00
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 6:
Bus: 5  Device: 8
INTA: link 0x68 bitmap 0x0e00
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 7:
Bus: 0  Device: 27
INTA: link 0x60 bitmap 0x0e00
INTB: link 0x00 bitmap 0x
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 8:
Bus: 0  Device: 28
INTA: link 0x60 bitmap 0x0e00
INTB: link 0x61 bitmap 0x0e00
INTC: link 0x62 bitmap 0x0e00
INTD: link 0x63 bitmap 0x0e00
PIR Entry 9:
Bus: 0  Device: 28
INTA: link 0x61 bitmap 0x0e00
INTB: link 0x62 bitmap 0x0e00
INTC: link 0x63 bitmap 0x0e00
INTD: link 0x60 bitmap 0x0e00
PIR Entry 10:
Bus: 0  Device: 29
INTA: link 0x6b bitmap 0x0e00
INTB: link 0x63 bitmap 0x0e00
INTC: link 0x62 bitmap 0x0e00
INTD: link 0x60 bitmap 0x0e00
PIR Entry 11:
Bus: 0  Device: 30
INTA: link 0x61 bitmap 0x0e00
INTB: link 0x68 bitmap 0x0e00
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x
PIR Entry 12:
Bus: 0  Device: 31
INTA: link 0x62 bitmap 0x0e00
INTB: link 0x63 bitmap 0x0e00
INTC: link 0x00 bitmap 0x
INTD: link 0x00 bitmap 0x

bgpd :: How to make a communitys and send them

2006-04-22 Thread Ben Ashton
How do you make a community, and send some of your neighbours routes for
you self and the routes in the selected community.

I've got this far.

# Set community
match from any prefix { 195.16.84.0/23 } set community 65103:789

Any help would be great,

Thanks,

Ben.



Re: httpd crash

2006-04-22 Thread Joachim Schipper
On Sat, Apr 22, 2006 at 07:54:45AM +0200, Pailloncy Jean-Gerard wrote:
> Hi,
> 
> I have strange crash in httpd.
> I use a modified version of httpd to include modperl, because some
> perl module are not happy with the dynamic loaded one.
> 
> I do not use SSL on this http server, so I do not understand why I
> got this kind of crash. Every few minutes a httpd child crashs. The bt
> command gives  all the time the same call path.
> 
> I take a look on Google and found
> http://article.gmane.org/gmane.comp.apache.mod-ssl.user/3987
> that look like my problem.
> I check http_main.c and the patch is already applied on OpenBSD 3.8.
> 
> I have build the system with stable patch and WDT activated.

Hmm, that is neat, but how about telling us what the problem is with
the normal httpd? You are more likely to get useful answers for that,
and it's more likely to be of use to the project.

Are you sure your script is not to blame?

Joachim



Re: Bad RAM (?) and freezes

2006-04-22 Thread Stuart Henderson
On 2006/04/22 14:29, Moritz Grimm wrote:
> Stuart, there's something weird about your MTA/DNS wrt delivering
> your mail directly to me. It arrived, but only as a bounce from
> aries.oic.lv:

Not me, oic.lv is broken.
http://archives.neohapsis.com/archives/openbsd/2006-03/1752.html



Re: New dell server

2006-04-22 Thread Brandon Mercer

Gaby vanhegan wrote:

On 14 Feb 2006, at 20:18, Brandon Mercer wrote:

  
Has anybody managed to get the CERC SATA raid controller running  
on  3.8 or 3.9-stable?  Alternatively, where's the cheapest source  
of LSI  SATA cards?  Can I boot from a system installed on an LSI  
card?
  
LSI cards, as has been talked to death in the archives, are GREAT  
cards, of course the work and boot properly.  :-)  Also, newegg  
usually has them at a good price. Brandon



Unfortunately:

http://www.newegg.com/Product/CustratingReview.asp?item=N82E16816118007

Looks like we'll be spending a bit more cash on this:

http://www.newegg.com/Product/CustratingReview.asp?item=N82E16816118015
  

The LSI Megaraid SATA is the way to go anyway. :-)

I'm intrigued by the comment:

  
Although it will function in a PCI slot,the throughput is marginal  
even with 4 x 36 gig raptors in RAID 0. I was expecting at least  
150 mbps transfer rates and Im only geting 80. Technical support  
was knowlegable and I didn't have to wait more than 5 minutes to  
talk to someone. The informed me that this card performs best in a  
64 bit/100 mhz slot such as a server board. IMHO its price is not  
justified vs the performance in a 32 bit system



  
Gaby they wouldn't really make it 64bit if it didn't need to be 64 
bit. Think about the PCI bus...
The application we have for the server does not require heavy data- 
throughput, so this bottleneck wouldn't be too much of a problem, 
If you were worried about this type of bottleneck you'd need to use 
scsi's anyway ;-)
but  
if I can spend a few more quid on a different mobo to get double the  
speed, I'd like to.  What am I looking for here, motherboards that  
will take a 64 bit CPU and have 100Mhz PCI slots?  That's a PCI-X  
card, no?

Tis a 64 bit pci card as shown in the pictures and description.
Brandon



Re: Bad RAM (?) and freezes

2006-04-22 Thread Moritz Grimm

Stuart Henderson wrote:

You missed the dmesg..


Sorry. Here it is, though I don't believe it really makes a difference. 
The messages come from the kernel, 3.9-current (GENERIC), though they do 
not end up in the dmesg buffer like other "blue" kernel messages. The 
logs come from /var/log/messages.


OpenBSD 3.9-current (GENERIC) #590: Mon Apr 17 20:58:47 CEST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) processor ("AuthenticAMD" 686-class, 256KB L2 
cache) 1.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR

real mem  = 536440832 (523868K)
avail mem = 482459648 (471152K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c0) BIOS, date 06/24/02, BIOS32 rev. 0 @ 0xfb470
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb8f8
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde30/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000! 0xcc000/0x800 0xcd000/0x2200
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd1 at pciide0 channel 0 drive 1: 
wd1: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
wd2 at pciide0 channel 1 drive 0: 
wd2: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd3 at pciide0 channel 1 drive 1: 
wd3: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x16: irq 11
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
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x40
vga1 at pci0 dev 8 function 0 "Matrox MGA Millenium 2064W (Storm)" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev 0x08, i82559: irq 10, 
address 00:02:b3:26:b8:40

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
pciide1 at pci0 dev 11 function 0 "HighPoint HPT302 IDE" rev 0x01: DMA
pciide1: (null) ignored (disabled)
pciide1: using irq 11 for native-PCI interrupt
wd4 at pciide1 channel 1 drive 0: 
wd4: 16-sector PIO, LBA48, 157066MB, 321672960 sectors
wd5 at pciide1 channel 1 drive 1: 
wd5: 16-sector PIO, LBA48, 157066MB, 321672960 sectors
wd4(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
wd5(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 5
skc0 at pci0 dev 12 function 0 "D-Link Systems DGE-530T" rev 0x11, 
Marvell Yukon (0x1): irq 10

sk0 at skc0 port A, address 00:13:46:99:38:6a
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
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
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask fb65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
dkcsum: wd3 matches BIOS drive 0x83
dkcsum: wd4 matches BIOS drive 0x84
dkcsum: wd5 matches BIOS drive 0x85
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 3 of object 0xd1429030 size 0x10 previous 
type packet tags (0xdeadbee7 != 0xdeadbeef)


Think I've seen this with some wireless drivers.


Nothing wireless in that box. In any case, this very much looks like a 
slow death of the RAM sticks to me. Shops close in about 30 minutes from 
now, so I mostly wanted to make sure that I'm not missing another 
important possibility here.


Stuart, there's something weird about your MTA/DNS wrt delivering your 
mail directly to me. It arrived, but only as a bounce from aries.oic.lv:


Reporting-MTA: dns; aries.oic.lv
X-Postfix-Queue-ID: 5CBAC23461
X

Re: Bad RAM (?) and freezes

2006-04-22 Thread Stuart Henderson
On 2006/04/22 13:19, Moritz Grimm wrote:
> my assumption is seriously busted RAM:

You missed the dmesg..

> Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 3 of object 
> 0xd1429030 size 0x10 previous 
> type packet tags (0xdeadbee7 != 0xdeadbeef)

Think I've seen this with some wireless drivers.



additional information needed

2006-04-22 Thread
[IMAGE]

[IMAGE]

Dear Customer:

We've noticed that you didn't completed the verification request,

Please log in below and complete the verification steps, if you dont
complete this verification in 3 days, we will have to close your account.
We modified the verification questions, since we have the most of the
information already.

To verify your identity please follow this link and sign in:

http://www.wellsfargo.com/webscr/login_submit

Sincerely,
Wells Fargo
Online Customer Service



Protect yourself from fraud and identity theft. To learn more, go to
http://wellsfargo.com/privacy_security/ fraud_prevention/

If you have a question about your account, please sign on to your secure
online banking session at wellsfargo.com, click the Sign On button and
then select "Contact Us."



Bad RAM (?) and freezes

2006-04-22 Thread Moritz Grimm

Hi,


my assumption is seriously busted RAM:

Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 0 of 
object 0xd1429030 size 0x10 previous type packet tags (invalid addr 
0xd14a7350)
Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 3 of 
object 0xd1429030 size 0x10 previous type packet tags (0xdeadbee7 != 
0xdeadbeef)
Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 0 of 
object 0xd1429030 size 0x10 previous type UVM amap (invalid addr 0xd14e0ff0)
Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 3 of 
object 0xd1429030 size 0x10 previous type UVM amap (0xceadbee7 != 
0xdeadbeef)
Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 0 of 
object 0xd1429030 size 0x10 previous type UVM amap (invalid addr 0x51461f10)
Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 3 of 
object 0xd1429030 size 0x10 previous type UVM amap (0xdeadbe6f != 
0xdeadbeef)
Apr 22 12:45:02 phoenix /bsd: Data modified on freelist: word 3 of 
object 0xd1429030 size 0x10 previous type UVM amap (0xceadbee7 != 
0xdeadbeef)



Can someone please confirm or give me a hint about what else could be wrong?


Thanks a lot,

Moritz



Re: advantages/disadvantages of kernel pppoe(4) vs userland pppoe(8)?

2006-04-22 Thread tony sarendal
On 22/04/06, Daniel Walrond <[EMAIL PROTECTED]> wrote:
>
> On Fri, Apr 21, 2006 at 02:30:00PM +0200, Jonathan Thornburg wrote:
> > I already have the (external) DSL modem, and from talking to other
> > Unix-savvy customers of my ISP (arcor.de), their setup is that the
> > DSL modem talks pppoe to me (in this case to my firewall/router/nat
> > box).  From looking at the FAQ section 6, it seems I have two basic
> > options available doing this in OpenBSD: pppoe(4) in the kernal, and
> > pppoe(8) in userland.  My question is, what are the relative
> > advantages/disadvantages of these?
>
> I've used pppoe(4) since 3.8, and I've never had an issues with it. It's
> been really stable and seems to be more reliable than any hardware ADSL
> router I've use. Looks like you're planning the same setup as I have.
>
> I can't comment at 6Mbit line speeds via the pppoe device. I do know
> that with a realtek network card it seems to top the CPU out with
> interupt at about 22Mbit of internal traffic.
>
> Dan
>
>
I've used pppoe(4) for a few months now. It works well and the config is as
easy
as it gets, man 4 pppoe.

The only issues I've seen is that it seems to ignore PADT and that MTU
doesn't seem
to correlate with the remote end MRU received during LCP neg. But since it
works
so well I haven't bothered with looking closer at it.

No idea about performance though, my almighty 2272/288 kbps line isn't
really enough
to make my firewall break a sweat.

/Tony

--
Tony Sarendal - [EMAIL PROTECTED]
IP/Unix
   -= The scorpion replied,
   "I couldn't help it, it's my nature" =-



Re: pf blocking nets in a way like *.google.com ?

2006-04-22 Thread Rod.. Whitworth
On Sat, 22 Apr 2006 11:09:29 +0100, Craig Skinner wrote:

>Nick Holland wrote:
>> I've been a fan of DNS mangling to deal with this problem for some time.
>> Technically, it is a horribly flawed system.  Practically, it works, and
>> works very easily.  More:
>>http://www.holland-consulting.net/tech/imblock.html
>> 
>
>And if you use BIND, see here:
>
>http://www.deer-run.com/~hal/sysadmin/dns-advert.html
>http://www.bleedingsnort.com/blackhole-dns/
>
>
Even easier: Use dnsspoof from the dsniff package.
It will even run on a firewal and do the trick on $int_if traffic.

There's always a catch though: One time I had trouble trying to browse
www.linksys.com - with good reason, the wild-card file list had
something like *.link*.com in it.

It is a really neat way of doing a few other things though. It can act
like a master hosts file and serve up local resolutions for RFC1918
hosts on your LAN which saves doing a split BIND setup when you  just
run the default caching-only setup.

It will also handle resolving www.example.com (where that is your
domain webserver) by serving up 192.168.x.y for a machine that has that
as its LAN IP and which the public reaches with rdr rules in pf.conf.

'Tain't perfect but it is really easy to do.

>From the land "down under": Australia.
Do we look  from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.



Re: advantages/disadvantages of kernel pppoe(4) vs userland pppoe(8)?

2006-04-22 Thread Daniel Walrond
On Fri, Apr 21, 2006 at 02:30:00PM +0200, Jonathan Thornburg wrote:
> I already have the (external) DSL modem, and from talking to other
> Unix-savvy customers of my ISP (arcor.de), their setup is that the
> DSL modem talks pppoe to me (in this case to my firewall/router/nat
> box).  From looking at the FAQ section 6, it seems I have two basic
> options available doing this in OpenBSD: pppoe(4) in the kernal, and
> pppoe(8) in userland.  My question is, what are the relative
> advantages/disadvantages of these?

I've used pppoe(4) since 3.8, and I've never had an issues with it. It's
been really stable and seems to be more reliable than any hardware ADSL
router I've use. Looks like you're planning the same setup as I have.

I can't comment at 6Mbit line speeds via the pppoe device. I do know
that with a realtek network card it seems to top the CPU out with
interupt at about 22Mbit of internal traffic.

Dan



Re: problem with LSI Fibre Channel MPT AMD64 OpenBSD 3.9-current

2006-04-22 Thread Per Fogelström
On Friday 21 April 2006 21.45, Diana Eichert wrote:
> Howdy
> 
> I'm having a problem with an LSI929 FC card on a Tyan dual Opteron board.
> 
> Here's the dmesg snippet specific to the 929 card:
> 
> mpt2 at pci5 dev 9 function 0 "Symbios Logic FC929" rev 0x02: irq 10
> mpt2: mpt_read_cfg_header: Config Info Status 22
> mpt2: Could not retrieve Manufacturing Page 4 Header.
> mpt2: could not retrieve manufacturingpages
> mpt3 at pci5 dev 9 function 1 "Symbios Logic FC929" rev 0x02: irq 5
> mpt3: mpt_read_cfg_header: Config Info Status 22
> mpt3: Could not retrieve Manufacturing Page 4 Header.
> mpt3: could not retrieve manufacturingpages
> 
> Reading the LSI Logic Fusion-MPT doc I see the error is related to not
> being able to read the Fusion-MPT Manufacturing Page 4.  Well duh, that's
> exactly what the kernel message was.
> 

I ran into the same thing a while ago and according to the protocol manual
it seems at least older version of the 929 FW does not provide a page 4.
Not sure if newer versions of the FC FW do, have not tried to update. Could
be that page 4 is only provided by SCSI controllers? Anyway i think there is
no need for the driver to error out on this condition although it can flag it.
When the driver is run under vmware the header retrieval is completely skipped.

Per



Re: pf blocking nets in a way like *.google.com ?

2006-04-22 Thread Craig Skinner
Nick Holland wrote:
> I've been a fan of DNS mangling to deal with this problem for some time.
> Technically, it is a horribly flawed system.  Practically, it works, and
> works very easily.  More:
>http://www.holland-consulting.net/tech/imblock.html
> 

And if you use BIND, see here:

http://www.deer-run.com/~hal/sysadmin/dns-advert.html
http://www.bleedingsnort.com/blackhole-dns/



Re: Patch for asynch sendmail vulnerability on OPENBSD_3_6 stable

2006-04-22 Thread O b s d

I run 3.5.  Sendmail in 3.7 sources compiled and installed cleanly.





From: Michael Flanagan <[EMAIL PROTECTED]>
To: misc@openbsd.org
Subject: Patch for asynch sendmail vulnerability on OPENBSD_3_6 stable
Date: Fri, 14 Apr 2006 05:03:29 -0700

I found myself needing up apply the recent patch for sendmail against  an 
aging 3.6 stable box.


I took the sendmail patch for the 3.7 stable branch and applied it  against 
3.6 stable. It applied cleanly with the exception of a half  dozen hunks in 
a couple of files. I merged those by hand and am up  and running with a 
rebuilt sendmail.


In case this saves anyone a little time, I've created a diff of what  I'm 
running against 3.6 stable. It applies cleanly. You can find it  here:


http://pokernut.net/wp-content/OPENBSD36_sendmail.patch

Michael

http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=689&referral=hotmailtagline&URL=http://partyfever.ninemsn.com.au/compintro.aspx?compid=209