Re: beaglebone rj45 cape

2015-06-24 Thread Richo Healey

On 25/06/15 00:18 +0200, Martijn van Duren wrote:

Hello misc@,

I'm currently looking into a managed switch for my home and I would
like to achieve this with OpenBSD's bridge(4) option and pf. The
throughput shouldn't be too high (at most some video streaming to my
tv and generic websurfing) and preferably with low power usage.

I found the following board which at first glance seems to do exactly
what I need [1].
What I would like to know if there's a good chance (or even a
guarantee) that it would work with OpenBSD, before I spend my hard
earned money on it.
If it is expected not to work, would there be an alternative (12 ports
plus would be preferred) that would work?

Sincerely,

Martijn van Duren

[1] http://rgb-123.com/product/beaglebone-black-rj45-cape/



It appears that this device is for controlling LEDs, and speaks RS-485. From
my quick read it doesn't appear to know anything about ethernet.

richo



Re: What bad things could happen if we don't use sudoedit?

2015-04-27 Thread Richo Healey

On 28/04/15 05:28 +1200, Carlin Bingham wrote:

On Tue, 28 Apr 2015, at 04:46 AM, whynot sudo wrote:

Hello list,

We know it's safer* to use sudoedit, but what bad things can happen if we
have the following in sudoers?

Cmnd_Alias FOO = /bin/ed, /usr/bin/ed, /usr/bin/vi
foouser LOCALHOST = NOPASSWD: NOEXEC: FOO

Can the foouser escape to root prompt? - of course besides that he
could now edit the /etc/shadow file to put a custom pwd hash to the root
user to become root in about 3 seconds..

Maybe some magic in .vimrc?

*=sudo vi would run as root. but sudoedit would run as the given user,
the edited file will be copied before/after editing it.

Thanks.



$ sudo vi /bin/ksh
:w! /bin/ed
:q
$ sudo ed
#


You can skip some mangling:

$ sudo vi
:!/bin/sh
#



Re: Firefox crashes on OpenBSD

2014-02-12 Thread richo
On 13/02/14 00:31 +0400, Loganaden Velvindron wrote:
Hi,

On my 5.4 desktop,

I'm getting several of those issues when running firefox.

(firefox:26140): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data:
assertion `targets != NULL' failed
out of memory: 0x00016958 bytes requested
Segmentation fault (core dumped)

Is that a known issue ?

If it is, has it been fixed in -current ?


It seems that you're OOM.

Is your system running out of memory/is the user you're running it as limited
in heap size?

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



Re: Ruby and OpenBSD 5.3

2013-06-08 Thread richo
On 07/06/13 21:39 -0700, Jeremy Evans wrote:
On Fri, Jun 7, 2013 at 8:51 PM, openda...@hushmail.com wrote:

 Hello,

 Anybody manage to install Ruby 1.9.3 or 2.0.0 with rvm? It worked just
 fine on 5.1. Have I missed anything in the changelog?


rvm is an external tool that builds ruby from source. In my experience, it
doesn't work well on OpenBSD, as it mostly targets Mac OS X and Linux
users. In any case, the OpenBSD developers do not support it.

We encourage people to use precompiled packages built specifically for
OpenBSD. There is a ruby 1.9.3 package for OpenBSD 5.3, and packages for
both ruby 1.9.3 and 2.0.0 in -current.  `sudo pkg_add -i ruby`

Thanks,
Jeremy

We've been working hard on compat recently, although we're currently blocked
on an upstream bug in ruby 2.0: https://bugs.ruby-lang.org/issues/7959

The best approach is to file issues on the RVM repo with the output of rvm
intall [ruby flags] --trace if there are issues, and someone (likely
myself, mpapis or envygeeks) will have a chance to chase it up.

People are right in saying that it's unlikely to be an issue in OpenBSD
that's broken.

richo

--
richo || Today's excuse:

Satan did it
http://blog.psych0tik.net

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



Re: rtorrent is pmrwaiting

2013-01-08 Thread richo
On 07/01/13 14:19 +0100, Manuel Giraud wrote:
Hi,

After a recent upgrade to -current (yesterday from ftp.fr.openbsd.org),
rtorrent (with ~10 active torrents) ends up waiting on pmrwait
(according to top). I cannot even kill -9 this process. I never run into
this issue with a one month old -current.
OpenBSD 5.2-current (GENERIC) #13: Sat Jan  5 10:57:54 MST 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD 586-class) 499 
MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 259252224 (247MB)
avail mem = 244035584 (232MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/16/09, BIOS32 rev. 0 @ 0xfa960
apm0 at bios0: Power Management spec V1.2 (slowidle)
pcibios0 at bios0: rev 2.1 @ 0xf/0xdfb4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/112 (5 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 5 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0xa800 0xef000/0x1000!
cpu0 at mainbus0: (uniprocessor)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x33
vga1 at pci0 dev 1 function 1 AMD Geode LX Video rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES
vr0 at pci0 dev 13 function 0 VIA VT6105M RhineIII rev 0x96: irq 11, address 
00:0d:b9:0d:cd:38
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
glxpcib0 at pci0 dev 15 function 0 AMD CS5536 ISA rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 15 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TS4GCF133
wd0: 1-sector PIO, LBA, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 15 function 3 AMD CS5536 Audio rev 0x01: irq 11, CS5536 
AC97
ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auglx0
ohci0 at pci0 dev 15 function 4 AMD CS5536 USB rev 0x02: irq 5, version 1.0, 
legacy support
ehci0 at pci0 dev 15 function 5 AMD CS5536 USB rev 0x02: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
lm1 at wbsio0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 AMD OHCI root hub rev 1.00/1.00 addr 1
mtrr: K6-family MTRR support (2 registers)
umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My 
Passport 071A rev 2.00/20.19 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: WD, My Passport 071A, 2019 SCSI2 0/direct fixed
sd0: 715377MB, 512 bytes/sector, 1465092096 sectors
ses0 at scsibus0 targ 1 lun 1: WD, SES Device, 2019 SCSI2 13/enclosure 
services fixed
ses0: unable to read enclosure configuration
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (c917c85befe4920c.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
--
Manuel Giraud


I saw this issue a lot as far back as 4.8-4.9 on ppc

I was able to reproducably hang the process by starting rtorrent, stopping
it, then starting it again. Unfortunately I never got a chance to chase up
the issue, but it definitely existed on ppc some time ago.

Cheers

richo

--
richo || Today's excuse:

Failure to adjust for daylight savings time.
http://blog.psych0tik.net

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



Re: slightly OT be my own dyndns provider

2012-05-08 Thread richo
DNS.he.net is free, dynamic and full access.

Girish Venkatachalam girishvenkatacha...@gmail.com wrote:

Dear misc,

How are you guys doing?

I have a practical requirement.

IPv4 address space is fast depleting as you all know and dynamic DNS
RFC2136 is helping us out but...

I dunno how to obtain access to my resolver records. I have registered
with net4india and I dunno
 if they will give me access to their master records. They have an
option to create a child NS.

Using that will I be able to push changes using nsupdate?

In short I want to be my own dyn dns provider. Once I get that far I
can easily script to update the
 A record myself.

Will any registrar like register.com or godaddy give this facility?

They all give a web interface which does not help us to do this.

What do you folks do?

Thanks for your time. In case you are wondering why I need this, it is
for VPN. :)

I have multiple VPN nodes connecting to a static IP,but how can
someone from the wild connect to the
 VPN client?

-Girish

--
Gayatri Hitech
http://gayatri-hitech.com

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.



Re: ksh's HISTFILE

2012-03-14 Thread richo
On 14/03/12 07:40 +0100, Paul de Weerd wrote:
On Wed, Mar 14, 2012 at 02:13:22AM -0400, Hugo Villeneuve wrote:
| Usually, the history file is used to seed the current shell process
| in-memory history and when the shell quits, it's overwriten.

Yeah, and the part I hate about that behaviour is that with two
concurrent sessions it means you only get the extra history from the
last shell to exit.  That makes it pretty inconsistent and unexpected
(which I agree the behaviour of two intermixed histories can also be,
although I would argue that this is more HISTORYcally correct, as it
lists history in chronological order).

| That's how it works in:
|
| OpenBSD's csh, GNU's bash, etc.

That doesn't mean that's 'correct' behavior.  At any rate, I love
history, but not across sessions, so I usually don't touch HISTFILE (or
unset it when set) to make sure I don't get a history file and when I
am on other systems, I try to configure them to have similar behavior.

Paul 'WEiRD' de Weerd


zsh does this pretty neatly

The relevant snippit from my .zshrc:

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt sharehistory
setopt histignoredups
setopt clobber

--
richo || Today's excuse:

PEBKAC (Problem Exists Between Keyboard And Chair)
http://blog.psych0tik.net

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



Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-08 Thread richo
On 07/03/12 15:27 +0100, Leonardo Sabino dos Santos wrote:
On Wed, Mar 7, 2012 at 2:44 PM, Russell Garrison
russell.garri...@gmail.com wrote:
 I am absolutely intrigued by this story despite my better judgement.
 You were able to cook your own full OpenBSD installer on a USB stick
 with GRUB instead of downloading an ISO or using PXE, but you failed
 disk setup in the installer? It really would be interesting to see if
 you can read just http://www.openbsd.org/faq/faq4.html , particularly
 4.5.3 and then come back to us with anything other than a mea culpa.

I admit to pressing Enter at some of the questions without reading
carefully. It simply never crossed my mind that the default action for
the installer is to erase the whole disk without chance for review. I
still think that's a disaster waiting to happen.

You made a stupid assumption. It bit you.

I don't see the problem here, you're in the midst of installing an operating
system, it wants to make big changes to your system. Pay attention.

--
richo || Today's excuse:

microelectronic Riemannian curved-space fault in write-only file system
http://blog.psych0tik.net

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



Re: Compiling R from source

2012-02-05 Thread richo
On 03/02/12 07:02 -0500, Richard Thornton wrote:
Using OpenBSD 5 on an old sparc 64 sun blade, I am trying to compile R from
source, downloaded from the cran-r website;
The ./configure works, but make always fails.  I realize that there is a R
package available already but it is a 2008 version, and it has terrible
graphics, anyone have a more recent port for sparc64?


What is the error when make fails? What have you done to solve the issue?

--
richo || Today's excuse:

Root nameservers are out of sync
http://blog.psych0tik.net

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



Re: OpenBSD 4.4

2012-01-24 Thread richo
On 24/01/12 16:35 -0200, R0me0 *** wrote:
It is a GENERIC kernel, the name is only copy of GENERIC.MP :) . As I said,
it is a complex setup and I'm planning an upgrade.

Cheers,


Why on earth would you rename GENERIC?! Especially given the official amount
of support for OpenBSD running kernels other than GENERIC (ie, None).

Secondly, just upgrade. That's how to solve the problem.

If you said your car wasn't running well but you're picking up a new Ferrari
on Monday, I'd tell you to get the bus till Monday.

--
richo || Today's excuse:

Someone's tie is caught in the printer, and if anything else gets
printed, he'll be in it too.
http://blog.psych0tik.net

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



Re: What is wrong with this pf config

2011-12-11 Thread richo
On 12/12/11 05:43 +1100, John Tate wrote:
It's just whining! Perhaps if should only do it if it has an Internet IP
address not a LAN or WAN one involved.


Knowing what you're doing in the first place would help.

Alternately, if you're so hellbent on sanity checking your own config, I
would write a script that inspects a dump of your pf rules and yells at /you/
if you're missing what /you/ need.

Then make it configurable and send it to ports@

--
richo || Today's excuse:

doppler effect
http://blog.psych0tik.net

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



Re: Jan

2011-12-11 Thread richo
 On Mon, Dec 12, 2011 at 9:17 AM, John Tate j...@johntate.org wrote:
 I never claimed to be an OpenBSD guru. Ever. I am an OpenBSD n00b. Here,
 I'll put this on the list.
 ^^

On 12/12/11 09:21 +1100, John Tate wrote:
Whoops, I hate gmail sometimes. That was for Jan


orly?

I fixed your top post. Again.

Please stop making noise, your semi-legitimate technical if poorly thought
out question threads blowing up is one thing, but this and the narcisism
thread are purely masturbatory.

Please stop.

--
richo || Today's excuse:

A star wars satellite accidently blew up the WAN.
http://blog.psych0tik.net

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



Re: What generates the OpenBSD page?

2011-12-10 Thread richo
On 10/12/11 23:34 +1100, John Tate wrote:
On Sat, Dec 10, 2011 at 7:03 PM, Eric Furman ericfur...@fastmail.netwrote:

 The only reason I haven't added you to my kill file is your
 questions and responses are sooo idiotically moronic that
 you are hilarious! You are so fucking stupid you are falling
 down hilarious. What makes it even more funny is how smart
 you think you are! LMFAO!
 God, if I had a nickle for every fucking retard like you
 I've met that thought that they were a genius
 Oh yea, I sent this to the list also to humiliate you.
 Please keep posting though, you really crack me up.

Where did I state I think I am a genius? I want an actual quote, nothing
less.

Your grammar indicates rage rather than humor.

My actual expertise is philosophy and psychology, you have narcissistic
personality disorder. That is what the world calls it. In Objectivism, we
call it misplaced self-esteem.

Now where exactly did I say I was a genius? I mean, I have some genius, but
I'm a C naive lover of OpenBSD - I'm a Redstone genius. I wouldn't mind a
ports related project to prove myself with. I've not tried to prove
anything. I've not been cocky. I've not been anything but inquisitive and
curious.

John

You throw the words hacker and guru about in relation to yourself a lot on
your blog, in the world of FOSS they translate fairly literally to genius, or
potentially represent a subset thereof.

While I don't necessarily support the personal attacks, I can't say I totally
disagree with the vibe of it.

Please don't presume to psycho-analyse members of the list, and please
develop some modesty. If you want hand holding and someone to explain
something which is already documented, I would recommend one of the more
newby friendly linuxes.

--
richo || Today's excuse:

The vendor put the bug there.
http://blog.psych0tik.net

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



Re: What generates the OpenBSD page?

2011-12-10 Thread richo
On 10/12/11 23:56 +1100, John Tate wrote:
   On Sat, Dec 10, 2011 at 11:42 PM, richo ri...@psych0tik.net wrote:
While I don't necessarily support the personal attacks, I can't say I
totally
disagree with the vibe of it.

Please don't presume to psycho-analyse members of the list, and please
develop some modesty. If you want hand holding and someone to explain
something which is already documented, I would recommend one of the more
newby friendly linuxes.
   I am a guru of Linux systems with an immense respect for OpenBSD.

   Stay off my website, I wish I could make it Objectivists only, because
   what you are all doing is a STRAWMAN of my blog. I did not intend for it
   to be that way, you had to, in your words translate. In my words that
   means strawman.

   Don't enter a logical debate with me. I am not interested.


Please don't top post. It makes it hard to read. If you must top post, please
post at the top of the message and not randomly halfway through. It makes it
impossible to read and a pain to fix (which I have done again).

The term guru, hacker and wizard are not generally applied to oneself. There
aren't many people I'd take seriously when they claimed it; and you're not
one of the. A cursory google suggests that you've never written anything, so
you'll forgive my doubts. Similarly, unless you're planning a one line post
with links to what you've written, I'm uninterested in this debate.

Demanding that I stay off your website, and then suggesting that you wish you
could make it accessible only to people who share your world view is in my
opinion retarded. I'm not convinced you really understand what freedom is. In
the name of helping the fellow man though, I recommend disconnecting that
machine from the internet immediately and mailing hardcopies of it's source
to parties you approave though, ideally encrypted such that character
assassins such as myself can't get hold of it's content in transit.

Finally, screaming strawman to redirect an argument away from it's original
point is delightfully poetic, but ultimately stupid. If people on the list
repeatedly take issue with your posts, it stands to reason that there is an
issue with your posts.

Some modesty would do you well, and unless you can populate 5 points of
reference that you've read throroughly in the footer of a I need help or
how does this work post, I would suggest that you have some more reading to
do.

richo

--
richo || Today's excuse:

monitor resolution too high
http://blog.psych0tik.net

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



Re: Recommended working IDE

2011-11-22 Thread richo
On 22/11/11 17:27 -0200, Alexandre Ulfeldt wrote:
by the way...can everybody see my reply?!?

No.

--
richo || Today's excuse:

Telecommunications is downshifting.
http://blog.psych0tik.net

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



Re: Recommended working IDE

2011-11-18 Thread richo
Check out the tag explorer plugin..

http://www.vim.org/scripts/script.php?script_id=483

On 19/11/11 14:10 +1100, John Tate wrote:
If vim had a class browser, I'd already be using vim. Geany was
suggested to me off the list.

On Sat, Nov 19, 2011 at 1:49 PM, Richard Toohey
richardtoo...@paradise.net.nz wrote:
 On 19/11/2011, at 2:51 PM, John Tate wrote:

 Misc,

 I've had troubles with eclipse and anjuta. Eclipse does not want to
 run, anjuta seems to be missing it's symbol browser in anjuta-extras.
 Anjuta actually works, but when I open a project it gives me an error.
 I've already posted what it is, so search. Is there an IDE that works?
 What is it? Perhaps I should just learn emacs. Though, I really like
 anjuta. Are there any IDE recommendations apart anjuta, eclipse, and
 vim and emacs editors available?

 John

 --
 www.johntate.org


 vim with syntax highlighting and brace-matching etc. etc. works for me.

 What language(s) and sorts of project (fat-client?  console?  GUI?  web?)




--
www.johntate.org


--
richo || Today's excuse:

Boss' kid fucked up the machine
http://blog.psych0tik.net

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



Re: shift+backspace in X

2011-11-01 Thread richo
On 02/11/11 02:09 -0200, Christiano F. Haesbaert wrote:
On Tue, Nov 01, 2011 at 05:12:47PM +, Stuart Henderson wrote:
 In X, shift + backspace used to work the same as backspace on its own
 (i.e. delete the previous character), but no longer does so in recent
 -current, most likely following the xkb update.

 Does anyone know how to restore the previous behaviour?

 I don't have any keyboard-related sections in xorg.conf (only
 a Files section with some old font paths).

This works for me:

Section ServerFlags
Option DontZap false
EndSection


AFAIK that will reenable killing X with ctrl+alt backspace, but shouldn't
affect the behaviour of Shift+BS surely?

--
richo || Today's excuse:

asynchronous inode failure

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



Re: USB mouse

2011-10-26 Thread richo
On 26/10/11 20:22 -0300, Zantgo wrote:
WTF? I use OpenBSD and hate the other operating systems

Zantgo


If you can't get a USB to work (in what context, btw? I'm presuming in
Xenocara, but you never mentioned. Or what type of mouse..) then I'm not
convinced you've given the other OS's a fighting chance..

--
richo || Today's excuse:

Budget cuts forced us to sell all the power cords for the servers.

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



Re: The OpenBSD user community needs to shake things up

2011-10-12 Thread richo
On 10/10/11 17:49 +0200, Marc Espie wrote:
On Sun, Oct 09, 2011 at 09:10:16PM +, Alexey E. Suslikov wrote:
 Loganaden Velvindron loganaden at gmail.com writes:

 
  If we don't shake things up, things will not change ! Running -current
and
  testing diffs _helps_ OpenBSD development significantly.

 The problem, IMO, how process is organized.

 Mailing lists are not designed for commenting and reviewing
 diffs. Patches simply gets forgotten and than reinvented. We
 have *number* of oh, I forgot to ok. Isn't it because of
 people receive *tons* of mail nowadays?

Nah, mailing-lists work just fine. It's just a question of being
organized.

In most cases, it's like a football game. Spectator sport, pass the
chips, and oh ? actually save that diff somewhere, try it out and
report back to the list/the corresponding developer ? no way, too
much work !

With respect, you're talking about volunteers here, not employees with any
particular vested interest. If tools exist to make it less work, we should
employ them.

So, get off your lazy asses, and start trying out stuff (not speaking
for you, Alexey, just speaking for our user community in general)

It is well and good to say this, but again, will saying Stop being lazy
change anything?

I've watched github drastically increase the patchflow to projects because of
how easy it makes the fork - hack - submit - merge workflow for both the
upstream and the contributor. Consider how many documentation fixes oBSD
would have seen if people could submit them from the browser /while reading/
the docs?

If you see a typo in a project to which you do not have commit access'
manpage, it's a significant amount of work to get the source, find the file,
fix it, make a patch, work out where to submit it, mail it, and check that
someone has seen it.


For crying out loud, it's not as if interesting *technical* threads kill
those mailing-lists. When there's too much tech chatter going on, then
we can worry about better tools.

Don't blame the tools. Blame the *people* who don't test.


I agree that the blame lies squarely with those who don't test, however I
don't think yelling Test dammit is going to fix anything. If there are
suggestions for tools that can make this workflow simpler, I think they
should be chased up completely.

Just my .02c

--
richo || Today's excuse:

paradigm shift...without a clutch

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



Re: fans with iMac using 4.9 macppc

2011-04-13 Thread richo
At 2011-04-11 15:36:37, Jan Stary wrote:
On Apr 11 23:35:05, richo wrote:
 I installed 4.9-current last night on my G5 iMac 8,1

 Years ago I had 4.4 running on it, and it was a simple case of a kernel
 rebuild with an extra module included to get the fans working (And
 governed)
 such that they'd arc up when cooling was needed but be quiet when it's
not.

 I can't find any such mechanism now. A cursory google and some help on
 freenode pointed me to fcu(4) and iic(4) and iic(9) but none of them offer
 solutions, just info on the underlying subsystem.

 Can someone give me a shunt towards what I need to do to get this working?

apmd(8)

 I've uploaded my dmesg to http://natalya.psych0tik.net/~richo/richo.dmesg
 to
 avoid having to inline it. If that url causes issues let me know and I
will
 post it directly to the list.

It is prefferable to include the dmesg inline.

First off, apologies for the duplicate threads, and the fact that this reply
is not attached to the correct one.

I found Jan's message in an archive on marc.info, I clearly had some issues
with my mail config, and couldn't for the life of me work out how to dl the
message as something I could reply to.

I had a look through apmd when I started, it seems only to be able to alter
the performance settings of the processor (which I could already do with
syscrl hw.setperf). There doesn't seem to be anything relating to the fans.

Were you suggesting that whent he cpu slowed down, so would the fans? It
doesn't, I setperf=0 and observed that the CPU scaled itself back to 900mhz,
the fans kept going at full noise.

I am including dmesg inline.

-8

OpenBSD 4.9-current (GENERIC) #6: Sun Apr 10 23:38:36 MDT 2011
 dera...@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 268435456 (256MB)
avail mem = 506511360 (483MB)
mainbus0 at root: model PowerMac8,1
cpu0 at mainbus0: 970FX (Revision 0x300): 1800 MHz
mem0 at mainbus0
spdmem0 at mem0: 512MB DDR SDRAM non-parity PC3200CL3.0
memc0 at mainbus0: u3
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
dart at memc0 offset 0xf8033000 not configured
mpic at memc0 offset 0xf804 not configured
mpcpcibr0 at mainbus0 pci: u3-agp, Revision 0xff
pci0 at mpcpcibr0 bus 0
Apple U3L AGP rev 0x00 at pci0 dev 11 function 0 not configured
vgafb0 at pci0 dev 16 function 0 NVIDIA GeForce FX Go 5200 rev 0xa1, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
ht0 at mainbus0: u3-ht, 4 devices
pci1 at ht0 bus 0
pchb0 at pci1 dev 0 function 0 Apple Shasta HyperTransport rev 0x00
ppb0 at pci1 dev 1 function 0 Apple Shasta PCI rev 0x00
pci2 at ppb0 bus 3
gem0 at pci2 dev 15 function 0 Apple Shasta GMAC rev 0x00: irq 40, address
00:0d:93:b6:9b:b8
bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
ppb1 at pci1 dev 2 function 0 Apple Shasta PCI rev 0x00
pci3 at ppb1 bus 1
macobio0 at pci3 dev 7 function 0 Apple Shasta rev 0x00
openpic0 at macobio0 offset 0x4: version 0x4614 little endian
macgpio0 at macobio0 offset 0x50
smu-doorbell at macgpio0 offset 0x12 not configured
smu-interrupt at macgpio0 offset 0xd not configured
programmer-switch at macgpio0 offset 0xc not configured
modem-reset at macgpio0 offset 0x8 not configured
modem-power at macgpio0 offset 0x16 not configured
slewing-done at macgpio0 offset 0x38 not configured
amp-mute at macgpio0 offset 0x30 not configured
combo-out-sense at macgpio0 offset 0x29 not configured
hw-reset at macgpio0 offset 0x34 not configured
linein-detect at macgpio0 offset 0x2a not configured
lineout-detect at macgpio0 offset 0x28 not configured
lineout-mute at macgpio0 offset 0x2e not configured
internal-speaker-id at macgpio0 offset 0x33 not configured
escc-legacy at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 23,24
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
onyx0 at macobio0 offset 0x0: irq 28,11,12
timer at macobio0 offset 0x15000 not configured
backlight at macobio0 offset 0xf300 not configured
audio0 at onyx0
ohci0 at pci3 dev 11 function 0 NEC USB rev 0x43: irq 70, version 1.0
ohci1 at pci3 dev 11 function 1 NEC USB rev 0x43: irq 70, version 1.0
ehci0 at pci3 dev 11 function 2 NEC USB rev 0x04: irq 70
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 NEC OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
ppb2 at pci1 dev 3 function 0 Apple Shasta PCI rev 0x00
pci4 at ppb2 bus 2
pciide0 at pci4 dev 12 function 0 ServerWorks K2 SATA rev 0x00: DMA
pciide0: using irq 10 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: ST380013AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 1: PHY offline
kauaiata0 at pci4 dev 13

iMac G5 fans with macppc

2011-04-11 Thread richo
I installed 4.9-current last night on my G5 iMac 8,1

Years ago I had 4.4 running on it, and it was a simple case of a kernel
rebuild with an extra module included to get the fans working (And governed)
such that they'd arc up when cooling was needed but be quiet when it's not.

I can't find any such mechanism now. A cursory google and some help on
freenode pointed me to fcu(4) and iic(4) and iic(9) but none of them offer
solutions, just info on the underlying subsystem.

Can someone give me a shunt towards what I need to do to get this working?

I've uploaded my dmesg to http://natalya.psych0tik.net/~richo/richo.dmesg to
avoid having to inline it. If that url causes issues let me know and I will
post it directly to the list.

Warm regards

richo

--
richo || Today's excuse:

Windows 95 undocumented feature

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



fans with iMac using 4.9 macppc

2011-04-11 Thread richo
I installed 4.9-current last night on my G5 iMac 8,1

Years ago I had 4.4 running on it, and it was a simple case of a kernel
rebuild with an extra module included to get the fans working (And governed)
such that they'd arc up when cooling was needed but be quiet when it's not.

I can't find any such mechanism now. A cursory google and some help on
freenode pointed me to fcu(4) and iic(4) and iic(9) but none of them offer
solutions, just info on the underlying subsystem.

Can someone give me a shunt towards what I need to do to get this working?

I've uploaded my dmesg to http://natalya.psych0tik.net/~richo/richo.dmesg to
avoid having to inline it. If that url causes issues let me know and I will
post it directly to the list.

Warm regards

richo

--
richo || Today's excuse:

Yes, yes, its called a design limitation

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