Re: Building READMEs

2005-07-05 Thread viq
ok, NOW i'm baffled - it finished building them without a problem - which 
makes me think the problem before was not with hardware...

viq

--
Na randke, na randke, na randke... >>> http://link.interia.pl/f189c 



Problem with ste-interface

2005-07-05 Thread Fridtjof Busse
Hi
I recently switched from several rl-NICs to one quad ste-NIC (D-Link
DFE-580tx) since I was running out of PCI-slots.
The new NIC works very well except for one problem with kernel-pppoe.
The SDSL-modem is connected to ste0 and hostname.pppoe0 is configured
as described in the docs (and this configuration worked flawless with
a rl-NIC).
But now I only get 1/100 of the bandwidth over the pppoe-link it should
have and the only way to fix this I found so far is to repower the
modem. After that, pppoe reastablishes the link and I get full
bandwidth. 
No idea what might cause this, so how can can I debug this?

ste0 at pci2 dev 4 function 0 "D-Link Systems 550TX" rev 0x12: irq 11
address 00:05:5d:5e:93:14 ukphy0 at ste0 phy 0: Generic IEEE 802.3u
media interface ukphy0: OUI 0x000885, model 0x0023, rev. 0
ukphy1 at ste0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000885, model 0x0023, rev. 0
ste1 at pci2 dev 5 function 0 "D-Link Systems 550TX" rev 0x12: irq 5
address 00:05:5d:5e:93:15 ukphy2 at ste1 phy 0: Generic IEEE 802.3u
media interface ukphy2: OUI 0x000885, model 0x0023, rev. 0
ukphy3 at ste1 phy 1: Generic IEEE 802.3u media interface
ukphy3: OUI 0x000885, model 0x0023, rev. 0
ste2 at pci2 dev 6 function 0 "D-Link Systems 550TX" rev 0x12: irq 12
address 00:05:5d:5e:93:16 ukphy4 at ste2 phy 0: Generic IEEE 802.3u
media interface ukphy4: OUI 0x000885, model 0x0023, rev. 0
ukphy5 at ste2 phy 1: Generic IEEE 802.3u media interface
ukphy5: OUI 0x000885, model 0x0023, rev. 0
ste3 at pci2 dev 7 function 0 "D-Link Systems 550TX" rev 0x12: irq 10
address 00:05:5d:5e:93:17 ukphy6 at ste3 phy 0: Generic IEEE 802.3u
media interface ukphy6: OUI 0x000885, model 0x0023, rev. 0
ukphy7 at ste3 phy 1: Generic IEEE 802.3u media interface
ukphy7: OUI 0x000885, model 0x0023, rev. 0

-- 
Fridtjof Busse



Re: 3.7 - in kernel pppoe

2005-07-05 Thread Simon Dassow
On Tue, Jul 05, 2005 at 02:18:21PM -0500, J.D. Bronson wrote:
> Last time I tried this - it worked fine, but if the link went down it 
> never 'redialed' back to the PPPoE provider
> 
> Using userland pppoe - this is never an issue.

This question is already answered in the archives... so please, do your
homework.

Regards,
Simon



Re: Testing 3.6 problems w/ snapshot

2005-07-05 Thread Scott Francis
On Thu, Apr 28, 2005 at 10:15:07AM -0500, [EMAIL PROTECTED] said:

[ 2+ month TTL due in part to combing through the archives for reports of
umass problems with recent snapshots brought this to mind, and I realized I
didn't reply back then. Please forgive the severe latency. :)]

> On a related subject, it's painful waiting 20 minutes for the RAID 1 array

20 minutes? Is that all? :) Waiting for parity to rebuild the last time my
RAID5 array (4x160GB IDE 5400RPM disks on a PCI IDE controller; very ghetto)
took ~14 hours. *sigh*

> to rebuild parity after a crash - I vaguely recall it being mentioned last
> year, but I can't find it in the archives or any mention in the man pages -
> is there a sane way to postpone the parity check?

This is what I did - as memory serves, it works, but I haven't tested it on
my live system. Not sure how sane this is (I wanted parity to rebuild, in
background, on a filesystem that's _not_ automounted, while the rest
of the boot process continues and the system comes up):

--- /etc/rc Wed May 18 16:54:07 2005
+++ /etc/rc.raidfix Tue Jul  5 23:13:08 2005
@@ -77,8 +77,10 @@
fi
 done

-# Check parity on raid devices.
-raidctl -P all
+# Check parity on raid devices (but do it in background, so if it needs to
+# rebuild, it can do so while the rest of the system comes up. Our RAID fs
is
+# not automounted at boot, so this should not present a problem).
+raidctl -P all &

 swapctl -A -t blk

If this is a Really Bad Idea, I'd appreciate a heads-up to that effect.

re-lurking,
--
   Scott Francis | darkuncle(at)darkuncle(dot)net | 0x5537F527
Less and less is done
 until non-action is achieved
 when nothing is done, nothing is left undone.
-- the Tao of Sysadmin

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: Flash Plugin for Firefox

2005-07-05 Thread Damien Miller

Jim Beard wrote:

Can anyone point me in the right direction to get flash working with
firefox?  I notice there is a nsplugin.so in ports/graphics/flash. 
Would this work for firefox or would it work with netscape?


Another alternative would be to port swfdec[1], which includes a
mozilla-style plugin.

-d

[1] http://www.schleef.org/swfdec/

(not that I miss flash at all)



Re: Hidden "restore" space on laptop drives

2005-07-05 Thread Duncan Martin
You also might want to look into if the parition (or possibly another 
one used for the boot-menu + tools) is hidden using HPA.  My 
understanding of this is that the drive and controller conspire to 
misreport the size of the disc in terms of sectors so even the OpenBSD 
disc tools don't see the whole disc.


To get all of the space on my X31s drive I had to use a HPA remover 
tool.  You might find one on Google or failing that I can email you the 
one I used.


At least on my laptop scrubbing the HPA partition didn't do me any harm. 
 The boot options are still available, just in a less graphical form.


Duncan



Re: Flash Plugin for Firefox

2005-07-05 Thread Jason Smith
Yea, I can use Opera as well, but I also want to
figure out why the plugin doesn't compile with the
flash port and/or another method for getting flash up
in firefox.

--- JR Dalrymple <[EMAIL PROTECTED]> wrote:

> > Is there any way to make it work in Firefox?  I
> seem
> > to recall there was a working method for
> Firefox+Flash
> > but I can't seem to remember/locate it.  The port
> in
> > graphics mentions a plugin but it does not seem to
> get
> > built.
> I think if you used Opera for 5 days you'd find it
> better in EVERY WAY
> POSSIBLE than Firefox... My 2 cents. I find page
> loads to be much faster,
> and nav is 10x faster with gestures and keyboard
> shortcuts.
> 
> Approach it with an open mind, not "Firefox is the
> unstoppable browser"
> attitude, and as always YMMV
> 
> JR
> [EMAIL PROTECTED]
> 
> >
> > --- David Cathcart <[EMAIL PROTECTED]> wrote:
> >
> >> If you for some reason need a working flash
> player
> >> in a browser, use
> >> opera and macromedia's Linux flash plug-in.
> >>
> >> get these packages from your neighborhood mirror
> >> redhat_base*
> >> redhat_motif*
> >>
> >> next install ports/www/opera (no package)
> >>
> >>
> >> (this will build redhat_base itself but it has to
> >> source loads of shit
> >> from everywhere and getting the package is
> quicker,
> >> also it won't
> >> install motif which you need for flash)
> >>
> >> Download Flash player 7 for mozilla 1.2 linux x86
> >> from
> >>
> >
>
http://www.macromedia.com/shockwave/download/alternates/
> >>
> >> Untar and copy the .so and .xft to
> >> /usr/local/lib/opera/plugins (don't
> >> untar in /usr/local/lib/opera this makes opera
> >> segfault)
> >>
> >> Flash should work in opera now, go to
> about:plugins
> >> to be sure.
> >>
> >> Also when you first run opera it will ask if you
> >> want random graphical
> >> ads or targeted text ads. I'd pick random
> graphical,
> >> don't particularly
> >> like the URLs of what page I'm viewing being sent
> to
> >> google all the
> >> time.
> >>
> >> David
> >>
> >> On Wed, Jun 22, 2005 at 06:08:43PM -0600, Jim
> Beard
> >> wrote:
> >> > Can anyone point me in the right direction to
> get
> >> flash working with
> >> > firefox?  I notice there is a nsplugin.so in
> >> ports/graphics/flash.
> >> > Would this work for firefox or would it work
> with
> >> netscape?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: Dual monitor for openbsd box

2005-07-05 Thread Steve Shockley

Gustavo Rios wrote:

my system desktop have a nvidia quadro nvs 280 dual head video board.
I would like to be able to have two users logged at the same time
using the system independently on each other, i.e., i have two
monitor, two keyboard and two mice.


I tried putting an nVidia Quadro NVS 280 DH board in my OpenBSD desktop, 
and couldn't get it working dual-head at all.  I know it requires the 
proprietary nVidia driver crap to use any of the advanced features.  I 
gave up and went back to a Matrox G450.


I've seen pages on using a G450 as two terminals, try googling for that 
and see where it gets you.




Re: Dual monitor for openbsd box

2005-07-05 Thread kroty

Gustavo Rios wrote:

Dear folks,

my system desktop have a nvidia quadro nvs 280 dual head video board.
I would like to be able to have two users logged at the same time
using the system independently on each other, i.e., i have two
monitor, two keyboard and two mice.

Have any one already dreamed such configuration so far?
It that possible?

thanks for your suggestions.



It is. But it doesn't make sense. Read the xorg manpages.



Re: Flash Plugin for Firefox

2005-07-05 Thread JR Dalrymple
> Is there any way to make it work in Firefox?  I seem
> to recall there was a working method for Firefox+Flash
> but I can't seem to remember/locate it.  The port in
> graphics mentions a plugin but it does not seem to get
> built.
I think if you used Opera for 5 days you'd find it better in EVERY WAY
POSSIBLE than Firefox... My 2 cents. I find page loads to be much faster,
and nav is 10x faster with gestures and keyboard shortcuts.

Approach it with an open mind, not "Firefox is the unstoppable browser"
attitude, and as always YMMV

JR
[EMAIL PROTECTED]

>
> --- David Cathcart <[EMAIL PROTECTED]> wrote:
>
>> If you for some reason need a working flash player
>> in a browser, use
>> opera and macromedia's Linux flash plug-in.
>>
>> get these packages from your neighborhood mirror
>> redhat_base*
>> redhat_motif*
>>
>> next install ports/www/opera (no package)
>>
>>
>> (this will build redhat_base itself but it has to
>> source loads of shit
>> from everywhere and getting the package is quicker,
>> also it won't
>> install motif which you need for flash)
>>
>> Download Flash player 7 for mozilla 1.2 linux x86
>> from
>>
> http://www.macromedia.com/shockwave/download/alternates/
>>
>> Untar and copy the .so and .xft to
>> /usr/local/lib/opera/plugins (don't
>> untar in /usr/local/lib/opera this makes opera
>> segfault)
>>
>> Flash should work in opera now, go to about:plugins
>> to be sure.
>>
>> Also when you first run opera it will ask if you
>> want random graphical
>> ads or targeted text ads. I'd pick random graphical,
>> don't particularly
>> like the URLs of what page I'm viewing being sent to
>> google all the
>> time.
>>
>> David
>>
>> On Wed, Jun 22, 2005 at 06:08:43PM -0600, Jim Beard
>> wrote:
>> > Can anyone point me in the right direction to get
>> flash working with
>> > firefox?  I notice there is a nsplugin.so in
>> ports/graphics/flash.
>> > Would this work for firefox or would it work with
>> netscape?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



Re: Flash Plugin for Firefox

2005-07-05 Thread Jason Smith
Is there any way to make it work in Firefox?  I seem
to recall there was a working method for Firefox+Flash
but I can't seem to remember/locate it.  The port in
graphics mentions a plugin but it does not seem to get
built.

--- David Cathcart <[EMAIL PROTECTED]> wrote:

> If you for some reason need a working flash player
> in a browser, use 
> opera and macromedia's Linux flash plug-in. 
> 
> get these packages from your neighborhood mirror 
> redhat_base*
> redhat_motif*
> 
> next install ports/www/opera (no package)
> 
>
> (this will build redhat_base itself but it has to
> source loads of shit
> from everywhere and getting the package is quicker,
> also it won't
> install motif which you need for flash)
> 
> Download Flash player 7 for mozilla 1.2 linux x86
> from
>
http://www.macromedia.com/shockwave/download/alternates/
> 
> Untar and copy the .so and .xft to
> /usr/local/lib/opera/plugins (don't
> untar in /usr/local/lib/opera this makes opera
> segfault)
> 
> Flash should work in opera now, go to about:plugins
> to be sure. 
> 
> Also when you first run opera it will ask if you
> want random graphical
> ads or targeted text ads. I'd pick random graphical,
> don't particularly
> like the URLs of what page I'm viewing being sent to
> google all the
> time. 
> 
> David
> 
> On Wed, Jun 22, 2005 at 06:08:43PM -0600, Jim Beard
> wrote:
> > Can anyone point me in the right direction to get
> flash working with
> > firefox?  I notice there is a nsplugin.so in
> ports/graphics/flash. 
> > Would this work for firefox or would it work with
> netscape?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: 3.7 - in kernel pppoe

2005-07-05 Thread Brad
On Tue, Jul 05, 2005 at 02:18:21PM -0500, J.D. Bronson wrote:
> I am wondering if there is anyone using this that can tell me if 
> there is a way to have 'lqr' supported -or- some other way of knowing 
> if/when the link goes down?
> 
> Last time I tried this - it worked fine, but if the link went down it 
> never 'redialed' back to the PPPoE provider
> 
> Using userland pppoe - this is never an issue.
> 
> thanks!

You don't need LQR for this, upgrade to -current.

This commit made 3 months ago to the sppp layer fixed a few issues.

revision 1.28
date: 2005/03/23 00:26:06;  author: canacar;  state: Exp;  lines: +112 -62
Merge some sppp improvements from NetBSD:
1. better timeout and keepalive handling
2. fix some memory leaks on error paths.
3. use arc4random instead of random
4. always send keepalives in cHDLC mode, from claudio@



Re: 3.7 - in kernel pppoe

2005-07-05 Thread Chris Zakelj

J.D. Bronson wrote:


At 02:57 PM 7/5/2005, you wrote:


On 7/5/05, J.D. Bronson <[EMAIL PROTECTED]> wrote:
> I am wondering if there is anyone using this that can tell me if
> there is a way to have 'lqr' supported -or- some other way of knowing
> if/when the link goes down?
>
> Last time I tried this - it worked fine, but if the link went down it
> never 'redialed' back to the PPPoE provider
>
> Using userland pppoe - this is never an issue.
>
> thanks!
>

I heard about ten times it was fixed in -current.  Stop asking it 
dammit.


Now there's a decent reply. Lets see...this was my FIRST real 
in-kernel questionI dont seem to recall asking this before.


Alot of us CAN'T follow -current. I can't...Thats why i asked about 3.7.

Now, can someone out there (that uses 3.7-stable) with more than a 
peanut for a brain possibly help me?


I thought I asked nicely and it was a legit question.

Perhaps someone on the list is using this and knows. Otherwise, I can 
continue to use 3.7 with userland pppoe just fine.


Jeff


It is a fair question, so I'll note the following:
1.  If someone replies to you off-list, respect that.
2.  Kernel PPPoE is still quite young.  If it isn't in the manpage, odds 
are it either isn't there, isn't stable, or breaks horribly when you 
look at it funny.
3.  That said, any time my link has gone down, it's come back up quite 
nicely for me, using nothing but the config laid out in the manpage.  Of 
course, I don't use/need LQR, so YMMV.


Perhaps if you posted more meaningful info 
(http://www.openbsd.org/mail.html), someone could give you a more useful 
answer.




bridge panic on -current

2005-07-05 Thread Tamas TEVESZ
hi,

i was fooling around with bridging together ural0 and dc0, when out of
bad habit i wanted to assign an ip address to bridge0 (yes, i
understand it's not how it works on probably anything else than linux,
it was my fat fingers), which got me an instant panic.

upon further investigation, it looks like that when ifconfig is used
to add an ip to bridge0, it's properly handled, but dhclient, for some
reason crashes the kernel.

below are stuff from my playground alpha, but i can reliably reproduce
the symptoms with -current running inside vmware; more interestingly,
3.7-stable does not exhibit this behaviour. there, dhclient simply
reports `bridge0: not found', and exits normally.

i understand i'm not supposed to turn the knob that way, but it seems
somewhat more logical to handle this situation gracefully.

thanks,

# ifconfig -a
lo0: flags=8049 mtu 33192
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
dc0: flags=8802 mtu 1500
lladdr 08:00:2b:86:3e:f2
media: Ethernet autoselect (100baseTX full-duplex)
status: active
pflog0: flags=0<> mtu 33192
pfsync0: flags=0<> mtu 2020
enc0: flags=0<> mtu 1536
ural0: flags=8802 mtu 1500
lladdr 00:11:2f:6b:e0:e0
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid "" 100dBm
# ifconfig bridge0 create
# brconfig bridge0 add dc0 up
# ifconfig bridge0 192.168.2.100 netmask 255.255.255.0 up
ifconfig: SIOCAIFADDR: Invalid argument
# dhclient bridge0
DHCPDISCOVER on panic: trap
Stopped at  Debugger+0x4:   ret zero,(ra)
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT   COMMAND
 17339  16572  16572  0  30x86  poll   dhclient
*16572   3182  16572 77  7  0x4106 dhclient
  3182  1   3182  0  3  0x4086  pause  ksh
 30963  1  30963  0  3  0x4086  ttyin  getty
 17207  1  17207  0  3  0x4086  ttyin  getty
 10546  1  10546  0  3  0x4086  ttyin  getty
 21194  1  21194  0  3  0x4086  ttyin  getty
 28226  1  28226  0  3  0x4086  ttyin  getty
   499  1499  0  30x84  select cron
 23674  1  23674 62  3   0x184  select spamd
 25488  1  25488  0  30x84  select sshd
  5920  1   5920  0  3   0x184  select inetd
  3297  1   3297  0  30x84  poll   ntpd
 29429  1  14802 83  3   0x186  poll   ntpd
  5312  31829  31829 68  3   0x184  select isakmpd
 31829  1  31829  0  30x84  netio  isakmpd
 14496  30599  30599 73  3   0x184  poll   syslogd
 30599  1  30599  0  30x84  netio  syslogd
 9  0  0  0  30x100204  crypto_wa  crypto
 8  0  0  0  30x100204  aiodoned   aiodoned
 7  0  0  0  30x100204  syncer update
 6  0  0  0  30x100204  cleanercleaner
 5  0  0  0  30x100204  reaper reaper
 4  0  0  0  30x100204  pgdaemon   pagedaemon
 3  0  0  0  30x100204  usbtsk usbtask
 2  0  0  0  30x100204  usbevt usb0
 1  0  1  0  3  0x4084  wait   init
 0 -1  0  0  3 0x80204  scheduler  swapper
ddb> trace
Debugger(4, fc783648, 5, 8, 3, 8) at Debugger+0x4
panic(fc762ed4, 1, 0, 2, fe00120c3950, fc0002add168) at 
panic+0x130
trap(?, ?, 0, 2, fe00120c3950, fc0002add168) at trap+0x51c
XentMM(?, ?, 0, 2, ?, fc0002add168) at XentMM+0x20
bridge_output(?, fc0002795d00, fe00120c3ae8, 0, fe2ef380, 
fc0002add168) at bridge_output+0x7c
bpfwrite(?, ?, ?, ?, ?, fc0002add168) at bpfwrite+0x150
spec_write(?, ?, ?, ?, ?, fc0002add168) at spec_write+0x108
ufsspec_write(?, ?, ?, ?, ?, fc0002add168) at ufsspec_write+0x44
VOP_WRITE(?, fe00120c3d38, ?, fc000279c280, ?, fc0002add168) at 
VOP_WRITE+0x44
vn_write(?, ?, ?, ?, ?, fc0002add168) at vn_write+0x104
dofilewritev(?, 8, ?, ?, ?, fc0002add168) at dofilewritev+0x1c8
sys_writev(?, ?, ?, ?, ?, ?) at sys_writev+0x88
syscall(?, ?, ?, ?, ?, ?) at syscall+0x248
XentSys(8, 1d920, 2, , 4300, 16252c058) at XentSys+0x50
ddb>


[ using 470232 bytes of bsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.7-current (GENERIC) #0: Tue Jul  5 14:43:24 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/alpha/compile/GENERIC
Digital Personal WorkStat

Re: [xdm] login failure using zsh for shell

2005-07-05 Thread Spruell, Darren-Perot
From: the scorched gremlin [mailto:[EMAIL PROTECTED]
> 1 user can't start X windows under 3.7. I tracked this down to using
> zsh instead of something else like ksh. as I'm not from an X
> background I am lost on figuring out where to start looking, or what
> to change. RTFMs would be welcome.
> 
> XDM is started from /etc/rc as usual with no flags, GENERIC 
> kernel in use.
> 
> the error as reported in authlog:
> Jul  2 14:57:01 mercury xdm: LOGIN FAILURE ON :0
> 
> /etc/shells:
> #   $OpenBSD: shells,v 1.5 1997/05/28 21:42:20 deraadt Exp $
> [snip...]
> /usr/local/bin/zsh
> 
> Xorg.0.log has nothing useful, nor xdm.log.
> 
> are there any other places I could check?

Have you verified specifically that this user *can* log in to xdm when
they have another shell set? 

One other place you could look is at the user's ~/.z* files, the profile
and such that initialize zsh at login. Maybe something will stick out
there...

DS



[xdm] login failure using zsh for shell

2005-07-05 Thread the scorched gremlin
hi,

1 user can't start X windows under 3.7. I tracked this down to using
zsh instead of something else like ksh. as I'm not from an X
background I am lost on figuring out where to start looking, or what
to change. RTFMs would be welcome.

XDM is started from /etc/rc as usual with no flags, GENERIC kernel in use.

the error as reported in authlog:
Jul  2 14:57:01 mercury xdm: LOGIN FAILURE ON :0

/etc/shells:
#   $OpenBSD: shells,v 1.5 1997/05/28 21:42:20 deraadt Exp $
[snip...]
/usr/local/bin/zsh

Xorg.0.log has nothing useful, nor xdm.log.

are there any other places I could check?
-- 
cheers, scorch
--
mailto:[EMAIL PROTECTED]
out of the frying pan into the fire



Blocked Message

2005-07-05 Thread SMTPAVSRV
The following message sent by this account has been blocked by Aberdeen College 
due to email policy restrictions:

From: misc@openbsd.org
To: [EMAIL PROTECTED]
Date: Tue, 05 Jul 2005 20:29:29 +0100
Subject: Message could not be delivered


The following policy restrictions were detected:
File Attachment: message.zip
Attachment Status: deleted



Re: 3.7 - in kernel pppoe

2005-07-05 Thread J.D. Bronson

At 02:57 PM 7/5/2005, you wrote:

On 7/5/05, J.D. Bronson <[EMAIL PROTECTED]> wrote:
> I am wondering if there is anyone using this that can tell me if
> there is a way to have 'lqr' supported -or- some other way of knowing
> if/when the link goes down?
>
> Last time I tried this - it worked fine, but if the link went down it
> never 'redialed' back to the PPPoE provider
>
> Using userland pppoe - this is never an issue.
>
> thanks!
>

I heard about ten times it was fixed in -current.  Stop asking it dammit.

>
>


Now there's a decent reply. Lets see...this was my FIRST real 
in-kernel questionI dont seem to recall asking this before.


Alot of us CAN'T follow -current. I can't...Thats why i asked about 3.7.

Now, can someone out there (that uses 3.7-stable) with more than a 
peanut for a brain possibly help me?


I thought I asked nicely and it was a legit question.

Perhaps someone on the list is using this and knows. Otherwise, I can 
continue to use 3.7 with userland pppoe just fine.


Jeff 



3.7 - in kernel pppoe

2005-07-05 Thread J.D. Bronson
I am wondering if there is anyone using this that can tell me if 
there is a way to have 'lqr' supported -or- some other way of knowing 
if/when the link goes down?


Last time I tried this - it worked fine, but if the link went down it 
never 'redialed' back to the PPPoE provider


Using userland pppoe - this is never an issue.

thanks!




--
J.D. Bronson
Information Services
Telecommunications Site Support
Aurora Health Care - Milwaukee, Wisconsin
Office: 414.978.8282 // Fax: 414.328.8787



Re: Building READMEs

2005-07-05 Thread viq
On Tuesday 05 of July 2005 19:18, Adam Fabian wrote:
> On Tue, Jul 05, 2005 at 06:49:40PM +0200, viq wrote:
> > something else is/was. VMWare... I trade 8 hours and possible reboot
> > for no reboot and 13 hours ;P So i was hoping for a way to do it on
> > linux, but if you say it's much more effort than it's worth... Though
> > i'm still somewhat tempted to give it a go.
>
> Someone mentioned VMWare.  It's not a bad idea.  You could export the
> filesystem read/write via NFS, mount it in the virtual machine running
> OpenBSD (bochs and qemu are free alternatives to vmware), and make the
> readmes there.  Granted, harddisks generate plenty of heat, if that's
> your problem.  You could do it all in the virtual machine, tar them up,
> and drop them in place on the 188 MHz machine if you need to avoid
> running the HD so much.

hmm, yes, remote filesystem is an idea. I did try running it in VMWare, but i 
am trying to find how to do it without resorting to virtual machines as the 
performance loss is terrible (8 hours 'natively' on 188 MHz, 13 hours in 
vmware on 672 MHz). As for whether it was the heat... I have no clue, that 
was my assumption, as it started happening as the winter was leaving, and i 
couldn't find any other explanation - not that i really knew where to look... 
But right now it's building already for 3 hours, and it's a rather warm day - 
so i don't know, that kind of undermines my heat theory. Maybe some software 
problem? I have no clue...  Well, there's 5 more hours to go, i'll see 
whether it'll finish. But it still would be nice to be able to get readme's 
in less than 1/3rd of the day ;)
As for taring the readmes up, there's even a neat script for that 
- /usr/ports/infrastructure/build/bundle-readmes :)

--
Na randke, na randke, na randke... >>> http://link.interia.pl/f189c 



Re: Building READMEs

2005-07-05 Thread Adam Fabian
On Tue, Jul 05, 2005 at 06:49:40PM +0200, viq wrote:
> something else is/was. VMWare... I trade 8 hours and possible reboot
> for no reboot and 13 hours ;P So i was hoping for a way to do it on
> linux, but if you say it's much more effort than it's worth... Though
> i'm still somewhat tempted to give it a go.

Someone mentioned VMWare.  It's not a bad idea.  You could export the
filesystem read/write via NFS, mount it in the virtual machine running
OpenBSD (bochs and qemu are free alternatives to vmware), and make the
readmes there.  Granted, harddisks generate plenty of heat, if that's
your problem.  You could do it all in the virtual machine, tar them up,
and drop them in place on the 188 MHz machine if you need to avoid
running the HD so much.

-- 
Adam Fabian <[EMAIL PROTECTED]>



panic in 3.7 part II

2005-07-05 Thread Rafael Morales
This is the complete output of the panic with the
trace and ps.
I had to send it untill today because it broke again
in this morning.

Regards and thanks.

 ~panic: pool_get(mclpl): free list modified:
magic=deaf; page 0xd3b38000;
item addr 0xd3b38000
Sropped at  Debuger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN
REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING
THAT INFORMATION!

ddb> trace
Debugger(d05704e0,d05b7c40,d3b32400,d3b30800,d05b7d20)
at Debugger+0x4
panic(d04de400,d04e0369,deaf,d3b3,d3b30800) at
panic+0x63
pool_get(d05b7d20, 0,30, d3b32400,e)at pool_get+0x315
xl_newbuf(d0948800,d0948c58,d3b32400,d06d3e2c) at
xl_newbuf+0xa5
xl_rxeof(d0948800,0,ad38,38ad1d,1)at
xl_rxeof+0x1c6
xl_inrt(d0948800) at xl_intr+0x12b
Xrecurse_legacy11() at Xrecurse_legacy11+0x8a
- - -interrupt - - -
idle_loop(d0650058,10,0,0,8000) at idle_loop+0x21
bpendtsleep(d05b2300,4,d04f59f1,0,0,d02fd6e4,8,202)at
bpendtsleep
uvm_scheduler(d05b22f8,3,0,d04afcec,7ec) at
uvm_scheduler+0x6b
check_console(0,0,0,0,0) at check_console

ddb> ps
PID PPIDPGRPUID S   FLAGS 
 WAITCOMMAND
4493261744930   3   0x4086
 ttyin   ksh
81371   81370   3   0x4086
 ttyin   getty
17041   17040   3   0x4086
 ttyin   getty
16099   1   16099   0   3   0x4086
 ttyin   getty
78351   78350   3   0x4086
 ttyin   getty
26171   26170   3   0x4086
 pause   csh
92361   92360   3   0x84  
 select  cron
15310   1   15310   0   3   0x40184   
 select  sendmail
14715   1   14715   0   3   0x84  
 select  sshd
12116   1   12116   0   3   0x184 
 select  inetd
26226   1575157573  3   0x184 
 pollsyssloge
15751   15750   3   0x84  
 netio   syslogd
11  0   0   0   3   0x100204  
 crypto_wa   crypto
10  0   0   0   3   0x100204  
 aiodonedaiodoned
9   0   0   0   3   0x100204  
 syncer  update
8   0   0   0   3   0x100204  
 cleaner cleaner
7   0   0   0   3   0x100204  
 reaper  reaper
6   0   0   0   3   0x100204  
 pgdaemonpagedaemon
5   0   0   0   3   0x100204  
 usbtsk  usbtask
4   0   0   0   3   0x100204  
 usbevt  usb0
3   0   0   0   3   0x100204  
 apmev   apm0
2   0   0   0   3   0x100204  
 kmalloc kmthread
1   0   0   0   3   0x100204  
 waitinit
0   1   0   0   3   0x100204  
 scheduler   swapper




__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam !gratis! 
Regmstrate ya - http://correo.yahoo.com.mx/ 



Re: OpenBSD with Linksys WRT54G

2005-07-05 Thread Johan P . Lindström
I have had some issues with the Linksys WAP54G AP's (got mine for about 50
euros a pop) they seem to loose the "link state" on the wifi interface, they
run the latest firmware as of writing, but pulling the powerplug and
inserting it again "fixes" the issue. Anywho, I have a few of these on a
separate subnet and a OpenBSD box acts as the default gateway running the
lovely gem a.k.a pf and AltQ to strangle the pipe towards the Internet, I am
thinking of setting up a http proxy that uses SSL, don't know if it's
possible but it would be way cool.

 On 7/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> The Linksys WRT54g has a 4-port switch, an RJ45 jack labeled "Internet",
> and an access point which can speak 11Mbps and/or 54Mbps.
> What I do on our local lan is essentially to use it/them as a bridge.
> Turn off the Linksys DHCPD, set the internal IP address, set a password,
> set whatever parameters desired for wireless access,
> and not use the port labeled "Internet".
>
> To effectively show under ifconfig, I think you need a third NIC,
> and precisely one cable from the OpenBSD box to the Linksys.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Alari Kask
> Sent: Sunday, July 03, 2005 4:16 PM
> To: misc@openbsd.org
> Subject: OpenBSD with Linksys WRT54G
>
>
> Hello,
> my home network consists of 6 machines, one of them runs openbsd, which
> i used for dhcp, nat, pf, php, mysql, etc.
> Now i bought a Linksys WRT54g wifi router, at the moment i use the
> router's configuration utility, which is accessible over the web,
> i'm not familiar with it and it doesn't feel comfortable for me, i'd
> still like to use openbsd for serving my home network and use the router
> for 100Mb LAN and for WiFi,
> my question is - is it possible to just use the router as an access
> point and set the firewall rules, dhcpd on my openbsd box, so the router
> would just show up as an interface under ifconfig ?



Re: iwi driver timeout

2005-07-05 Thread Edd Barrett

Lone Ronin wrote:
I have a Thinkpad X40 and notice the same thing. I've temporarily 
resolved the problem by editing my crontab to do an "ifconfig iwi0 up" 
every minute, because - for some reason - up'ing the iwi0 interface 
fixes the problem.


This is obviously not the best solution, but I haven't had time to dig 
around and figure out what is actually going wrong with the card.


YMMV, of course.

| John S. Flowers  www.kozoru.com jsf-at-kozoru.com
| Founder & Chairman; kozoru ( Search Like You Think. )
| Private:  www.loneronin.net ronin-at-well-dot-com


Edd Barrett wrote:


Hi,

(This is the second time I've sent this, it appeared to get lost. 
Apologies if it turns up again)


I have a thinkpad r50e with an intel wifi card. I frequently get 
"iwi0: device timeout". The card does not work after this message has 
been displayed. You can re-initialize it (/etc/netstart) and sometimes 
it will start working again.


Any ideas why this is? It doesnt stop me working, its just a pain.

dmesg attached. (No, not GENERIC... RaidFrame)

Thanks


--
This email has been verified as Virus free
Virus Protection and more available at http://www.plus.net



Hi,

I have emailed the author of the driver reguarding this. If I am 
enlightened by him, then I shall post back here and let you know.


Edd



Re: Please help: DHCP over IPSec

2005-07-05 Thread Kurt Miller

From: "Bruno S. Delbono" <[EMAIL PROTECTED]>

IKE-mode is good but can be buggy with some clients. The best Windows
clients for a pure IPSec connection are:

a) Safenet (OEM) SoftRemote version 10.x (versions 9.x do not support 
AES). * Danke Harondel! *. Safenet supports PSK "and" X509 certs. It has

very good support and stability and I believe is the best of the bunch.


SoftRemote can be purchased rather cheaply (~$40 US) under the name
NetGear ProSafe VPN Client.

-Kurt



Re: Building READMEs

2005-07-05 Thread viq
On Tuesday 05 of July 2005 12:08, Marc Espie wrote:
> On Tue, Jul 05, 2005 at 09:09:01AM +0200, viq wrote:
> > How much of OpenBSD's infrastructure is needed for building ports'
> > READMEs? I'd like to build them on another box that is running linux -
> > any pointers on what i need to have, besides the ports tree itself?
> > Because that by itself is not enough...
> >
> > Thanks in advance
> >
> > viq
>
> Don't bother, it's really hard to do.

Meh. The problem is, it's a 188 MHz box, so it takes about 8 hours to do so. 
Which i guess i can live with, but there is something i can't really live 
with - some time ago it started rebooting in the process. I suspect 
overheating, as the summer is coming, and i'm building the readmes right now 
(it's a rather warm day), so i should see whether that is a problem, or 
something else is/was. VMWare... I trade 8 hours and possible reboot for no 
reboot and 13 hours ;P So i was hoping for a way to do it on linux, but if 
you say it's much more effort than it's worth... Though i'm still somewhat 
tempted to give it a go.

viq

--
Na randke, na randke, na randke... >>> http://link.interia.pl/f189c 



Re: Gnu Assembler on Openbsd 3.7 "Operation not permitted"

2005-07-05 Thread Ted Hanna
julian, 

   can you please post how you do it on GAS? the work around I've got
is from nasm.. i tried to look into the "len=3D .-msg" you pointed out
.. same result though..


thanks,
dee

On 7/5/05, Julian Leyh <[EMAIL PROTECTED]> wrote:
> Ted Hanna <[EMAIL PROTECTED]> wrote:
> [...]
> >  len =3D . - msg
> [...]
> 
> see the =3D? maybe there is some character which shouldn't be there.
> try typing the whole program into a new file.
> 
> cu
> JRL
> 
> PS: the code works for me..
> 
> --
> If you don't remember something, it never existed...
> If you aren't remembered, you never existed...
> I don't quite understand what love is like... But if there
> was someone who liked me, I'd be happy.



Re: sleep patterns...

2005-07-05 Thread imEnsion
ah you guys are awesome. thank you for the link.



Re: Gnu Assembler on Openbsd 3.7 "Operation not permitted"

2005-07-05 Thread Julian Leyh
Ted Hanna <[EMAIL PROTECTED]> wrote:
[...]
>  len =3D . - msg
[...]

see the =3D? maybe there is some character which shouldn't be there.
try typing the whole program into a new file.

cu
JRL

PS: the code works for me..

-- 
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.



Re: pf and two ISPs

2005-07-05 Thread Dmitry Andrianov
Hello.

reply-to does not work for "block" rule.

Looks like I'm not alone with the same problem:
http://lists.freebsd.org/pipermail/freebsd-pf/2005-March/000919.html

Regards,
Dmitry Andrianov

-Original Message-
From: Spruell, Darren-Perot [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 05, 2005 6:52 PM
To: Dmitry Andrianov; misc@openbsd.org
Subject: RE: pf and two ISPs

From: Dmitry Andrianov [mailto:[EMAIL PROTECTED]
> Actually, I'm using FreeBSD but to my understanding pf came from 
> OpenBSD so I'm reporting my bug here.
> 
> The problem is that "block return" rules do not send packets using the

> same interface the packet originally came from but use normal kernel 
> routng to send the RST packet. Nor there is ability to route these 
> packets manually by some additional pf rules.

pf.conf(5): "reply-to"?

DS



Re: Output of "top" - CPU% weirdness?

2005-07-05 Thread Oliver J. Morais
* Arnaud Bergeron <[EMAIL PROTECTED]> [050704 23:20]:
> Was it always showing 36.47% in top or did it go up?

It did go up. *Very* slow.

> More importantly, does this issue affects your system stability or
> security? Do you loose sleep over it? If not, maybe its not that
> important.

Hmm, no, not really. It's just I like to use top(1) to get a quick
system overview, so accurate numbers would be "nice to have".



Re: sleep patterns...

2005-07-05 Thread Frank Denis \(Jedi/Sector One\)
On Tue, Jul 05, 2005 at 02:22:13PM +0100, Stuart Henderson wrote:
> Dragonfly have 'rm -I' (ask for confirmation if deleting >3 files or 
> -r) which works very well. Used routinely (e.g. in an alias in login 
> shells), I think it gives better protection than 'rm -i' since the 
> prompt is rare enough you don't train yourself to confirm automatically.

  You can apply the following old patch to do it in OpenBSD.
  
  http://42-networks.com/obsd_patches/rm_I.patch



Re: pf and two ISPs

2005-07-05 Thread Spruell, Darren-Perot
From: Dmitry Andrianov [mailto:[EMAIL PROTECTED]
> Actually, I'm using FreeBSD but to my understanding pf came 
> from OpenBSD
> so I'm reporting my bug here.
> 
> The problem is that "block return" rules do not send packets using the
> same interface the packet originally came from but use normal kernel
> routng to send the RST packet. Nor there is ability to route these
> packets manually by some additional pf rules.

pf.conf(5): "reply-to"?

DS



Dual monitor for openbsd box

2005-07-05 Thread Gustavo Rios
Dear folks,

my system desktop have a nvidia quadro nvs 280 dual head video board.
I would like to be able to have two users logged at the same time
using the system independently on each other, i.e., i have two
monitor, two keyboard and two mice.

Have any one already dreamed such configuration so far?
It that possible?

thanks for your suggestions.



Your message to nsis awaits moderator approval

2005-07-05 Thread nsis-bounces
Your mail to 'nsis' with the subject

Message could not be delivered

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


https://www1.ietf.org/mailman/confirm/nsis/b3e3a97578faebabc5be0eb0b7b905eaf83a1171



Re: sleep patterns...

2005-07-05 Thread Stuart Henderson

--On 05 July 2005 08:11 -0500, imEnsion wrote:


hahaha. in one of my sleep deprived moments a couple years ago.. i was
messing with kernel compiles and such, when i mistakenly did... rm -rf
/etc instead of rm -rf etc


one reason to keep softdep turned off on / ;-)

Dragonfly have 'rm -I' (ask for confirmation if deleting >3 files or 
-r) which works very well. Used routinely (e.g. in an alias in login 
shells), I think it gives better protection than 'rm -i' since the 
prompt is rare enough you don't train yourself to confirm automatically.




Re: sleep patterns...

2005-07-05 Thread imEnsion
hahaha. in one of my sleep deprived moments a couple years ago.. i was
messing with kernel compiles and such, when i mistakenly did... rm -rf
/etc instead of rm -rf etc

of course i immediately realized this and hit ctrl + c

needless to say, the box was unimportant (THANK GOD) and this was back
when 3.1 just got released. either way, the box ran for about a month
after that without any problems. then one day i wanted to add a user
and found i couldn't.

ah, the stupidity of working sleep deprived for days =/



On 7/4/05, viq <[EMAIL PROTECTED]> wrote:
> On Monday 04 of July 2005 21:25, Todd C. Miller wrote:
> > In message <[EMAIL PROTECTED]>
> >
> >   so spake unixadmin99 (unixadmin99):
> > > Accidently emptied half the contents of src.tar.gz into /usr/bin while
> > > undergoing an install under the intoxication of sleep.
> >
> > Be glad you didn't do this in /usr (as I have done).  Things
> > get downright unhappy when /usr/libexec/ld.so is a directory ;-)
> 
> that's what i managed to do - couldn't even log in or shut down system
> properly :( that's where upgrade helped ;)
> 
> >  - todd
> 
> viq
> 
> --
> Na randke, na randke, na randke... >>> http://link.interia.pl/f189c



Re: ami0: timeout with LSI SATA 150-4 Controller

2005-07-05 Thread Rogier Krieger
On 7/5/05, Martmn <[EMAIL PROTECTED]> wrote:
> I'm trying to configure an OpenBSD 3.7 box with a LSI SATA 150-4 RAID
> Card, but I'm having problems with timeout errors.

> Jul  4 21:31:54 backup /bsd: ami0: timeout ccb 119

Not to deny you're having problems, but according to the CVS logs [1],
the issue of ami(4) generating ccb timeouts got fixed before 3.7 was
released. Since that moment, however, many revisions have taken place
on ami(4), so you may want to try a snapshot to see if the problem
persists.

Sorry to not be of more help,

Rogier

References:
1. OpenBSD CVS log 2004/12/25 17:11:24
http://marc.theaimsgroup.com/?l=openbsd-cvs&m=110401998504737&w=2

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



OT: hardware question

2005-07-05 Thread C. L. Martinez
Hi all,

 Somebody has experienced some problems with IBM xSeries 336 under
OpenBSD (3.6 or 3.7)?? I have to use this models to do a new
installation. I will use SCSI controller disk instead of SATA option
that offers IBM.

Thank you very much.
 
-- 
C.L. Martinez
[EMAIL PROTECTED]



Re: Building READMEs

2005-07-05 Thread Stuart Henderson

--On 05 July 2005 09:09 +0200, viq wrote:


How much of OpenBSD's infrastructure is needed for building ports'
READMEs?  I'd like to build them on another box that is running linux
- any pointers on  what i need to have, besides the ports tree
itself?


vmware?



Re: Building READMEs

2005-07-05 Thread Marc Espie
On Tue, Jul 05, 2005 at 09:09:01AM +0200, viq wrote:
> How much of OpenBSD's infrastructure is needed for building ports' READMEs? 
> I'd like to build them on another box that is running linux - any pointers on 
> what i need to have, besides the ports tree itself? Because that by itself is 
> not enough...
> 
> Thanks in advance
> 
> viq

Don't bother, it's really hard to do.



Re: OpenBSD on HP nx6110 notebook

2005-07-05 Thread Edd Barrett
Hello,



I'm not sure about the notebook, but most intel wifi cards are supported

by the iwi driver. Note that you must retrieve the firmware, as intel

will not allow re-distribution of it.



Edd



On 7/5/2005, "Gleb Paharenko" <[EMAIL PROTECTED]> wrote:



>Hello.

>

>Has anybody successful install OpenBSD on HP Compaq nx6110 notebook, so

>most devices work correctly? Any information

>about notebooks on Intel 915GM chipset and Centrino technology will be

>appreciated as well.

>

>Best regards.

>

>--

>Gleb Paharenko

>[EMAIL PROTECTED]

>

>--

>This email has been verified as Virus free

>Virus Protection and more available at http://www.plus.net




OpenBSD on HP nx6110 notebook

2005-07-05 Thread Gleb Paharenko

Hello.

Has anybody successful install OpenBSD on HP Compaq nx6110 notebook, so 
most devices work correctly? Any information
about notebooks on Intel 915GM chipset and Centrino technology will be 
appreciated as well.


Best regards.

--
Gleb Paharenko
[EMAIL PROTECTED]



pf and two ISPs

2005-07-05 Thread Dmitry Andrianov
Hello.

Actually, I'm using FreeBSD but to my understanding pf came from OpenBSD
so I'm reporting my bug here.

The problem is that "block return" rules do not send packets using the
same interface the packet originally came from but use normal kernel
routng to send the RST packet. Nor there is ability to route these
packets manually by some additional pf rules.

We have two ISPs - one on fxp0 (1.1.1.1) second on fxp1 (2.2.2.2). First
ISP's router is our default gateway. As result when packet comes from
the second ISP and gets blocked, TCP RST packet goes to the first ISP
router. And ISP router discards the packet because neither source nor
destination address is within the provider network (provider considers
it a spoofing). As result, return-rst just do not work at all.

I believe there should be an option to return RST/icmp packets using the
same interface original packet came from.

Regards,
Dmitry Andrianov



Building READMEs

2005-07-05 Thread viq
How much of OpenBSD's infrastructure is needed for building ports' READMEs? 
I'd like to build them on another box that is running linux - any pointers on 
what i need to have, besides the ports tree itself? Because that by itself is 
not enough...

Thanks in advance

viq

--
Startuj z INTERIA.PL! >>> http://link.interia.pl/f186c