Re: PC for assembly learning purposes

2011-07-25 Thread Tomas Vavrys
Well, I haven't chosen word break wisely, instead I meant I don't
want to reinstall my PC for work (different OS). I rather need new pc
for my personal use at home.

Anyway, thank you for your responses. I have got a better picture now
and as Nick said I will try several architectures, my original
intention was to learn more about microprocessors at low level.

2011/7/25 Nick Holland n...@holland-consulting.net:
 On 07/24/11 07:27, Tomas Vavrys wrote:
 Hello,

 I am looking for a new cheap PC for assembly learning purposes,
 because I don't want to break my current workstation.

 I was thinking about

http://www.tekmote.nl/epages/61504599.sf/nl_NL/?ObjectPath=/Shops/61504599/Pr
oducts/CFL-006

 but I am a little bit worried about current status All on-board
 devices are supported, but the framebuffer is currently limited to the
 640x400x8 video mode set up by the firmware. What is the status in
 -current at the moment?

 This device will be used only for my learning purposes. I would like
 to jump on C and compilers later. Is it better to start with RISC or
 CISC? Should I buy rather x86?

 yes

 I'm assuming you mean assembly language, not putting hardware together...

 If so, what's your purpose? B Learning a particular assembly language?
 In which case, you get a machine of the exact type you plan to be coding
 for.

 If you are after the more generic learning microprocessors at a low
 level, you need SEVERAL, really. B Its a bit like learning a human
 language, I suspect (while I learned many different processors Way Back
 When, I'm hopelessly monolingual in the human world, but I've heard
 multi-lingual people tell me this) -- Learn one, you know one barely.
 Learn two, the third and later come quickly and easily, and you learn a
 lot more about your first.

 The good news is you don't need to buy new hardware. B For anything you
 are likely to do for the near term, the slowest processor will assemble
 code and run rapidly for you.

 So, get yourself a PII or PIII for x86, a sparc and a sparc64, an amd64
 system (this one you probably have to pay for), and a mac68k (we're
 bringing that port back. B I don't think I can fully answer why).

 Nick.



PC for assembly learning purposes

2011-07-24 Thread Tomas Vavrys
Hello,

I am looking for a new cheap PC for assembly learning purposes,
because I don't want to break my current workstation.

I was thinking about
http://www.tekmote.nl/epages/61504599.sf/nl_NL/?ObjectPath=/Shops/61504599/Products/CFL-006

but I am a little bit worried about current status All on-board
devices are supported, but the framebuffer is currently limited to the
640x400x8 video mode set up by the firmware. What is the status in
-current at the moment?

This device will be used only for my learning purposes. I would like
to jump on C and compilers later. Is it better to start with RISC or
CISC? Should I buy rather x86?

Thank you for your time.



Re: PC for assembly learning purposes

2011-07-24 Thread Tomas Vavrys
This looks also promising... http://www.genesi-usa.com/products
Are there any plans to support this architecture?

2011/7/24 David Vasek va...@fido.cz:
 Hi!

 I am not the right person to answer this and don't want to spread any
 nonsense. There are others here who are.

 What I can say is, any m68k CPU in its era was much much saner than any
 member of the x86 family. Today, I would rather look for more sanity at
 sparc64 (which survives in rather small niche market) or alpha (which has
 been violently murdered). But hey, I don't have assembler level experience
 with neither of these two.

 Nonetheless, as I said earlier, I would focus on the platform which is the
 target of my development efforts.

 Regards,
 David


 On Sun, 24 Jul 2011, Billy wrote:

 David,

 If learning a sane and proper computer architecture is the perpose, what
 system do you recommend from the list of platform that OBSD supports?

 thanks and regards,

 bill

 David Vasek va...@fido.cz E C3 2011E~7B$C+24B$C) B$UB$D7:52 E:gE!DDG

 On Sun, 24 Jul 2011, Tomas Vavrys wrote:

 This device will be used only for my learning purposes. I would like
 to jump on C and compilers later. Is it better to start with RISC or
 CISC? Should I buy rather x86?

 Buy the platfrom you want to learn. x86 architecture is full of its
 design issues and is quite different from others, but if you want to
develop
 for x86, then it does not make sense to learn anything else instead of
it.

 Regards,
 David



Re: Theo's Birthday, have you done anything?

2011-05-19 Thread Tomas Vavrys
Done. Happy birthday! And big thanks to the whole team.
Dne 19.5.2011 16:55 Aaron def...@gmail.com napsal(a):
 Happy birthday Done! ( also poster ordered! ) :D



Your web development opinions

2011-02-23 Thread Tomas Vavrys
Hi,

what does OpenBSD community think about new trends in web development
HTML5, javascript (jquery), AJAX? Do you block javascript? If so, do
you mind to turn it on sometimes? What browser do you use (lynx,
firefox, chromium, ...)?

I am learning Django at the moment and I would like to know more about
the nature of common OpenBSD user and how could I contribute to
project with my webdev skills.



Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Tomas Vavrys
Is there a light at the end of the tunnel somewhere to make email
secure even for amateurs who don't know how to use PGP? I'm very
curious about the future of email, especially now. I would like to
hear opinions of OpenBSD wizards. The thing is that it is very hard to
persuade someone to use PGP all the time.

2010/12/13 Joel Wiramu Pauling j...@aenertia.net:
 On 13 December 2010 22:23, Joachim Schipper joac...@joachimschipper.nl
 wrote:
 On Sun, Dec 12, 2010 at 09:11:16PM -0700, Travis King wrote:
 Joel Wiramu Pauling j...@aenertia.net wrote:
  Marti Martinez ma...@ece.arizona.edu wrote:
   Ted Unangst ted.unan...@gmail.com wrote:
   At some point you're going to realize that the javascript that
   decrypts your mail has to come from someplace.
  
   A better alternative would be a PGP browser addon (...)
 
  [See] firegpg

 firegpg is the only way I can get friends and family to communicate
 with me securely. I don't even know what the interface looks like, but
 it does work (apparently).

 It's unmaintained. I would also be surprised if the server can't get at
 your plaintext (e.g. with Javascript, or even Java/Flash).

 You may want to look at
 http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/ and
 the comments (in particular, my


http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/#comment-623
 9).

 Summary: it doesn't work, and can't work unless you add a plugin with
 *many* restrictions.

 B B B B B B B B B B B B B B B Joachim

 --
 PotD: devel/ivy - dependency manager for Java
 http://www.joachimschipper.nl/


 Firegpg was basically just chrome extensions to local(read client)
 side gpg binaries. It wasn't insecure for the reasons you cite, the
 author just got sick of having to update it to work with gmail (it's
 initial target). It is still useful for easy access to gpg functions
 within firefox.



Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Tomas Vavrys
Well, since Egypt we know that it's not going to happen.

2010/12/14 roberth rob...@openbsd.pap.st:
 On Tue, 14 Dec 2010 23:06:49 +0100
 Tomas Vavrys vav...@cleancode.cz wrote:

 Is there a light at the end of the tunnel somewhere to make email
 secure even for amateurs who don't know how to use PGP? I'm very
 curious about the future of email, especially now. I would like to
 hear opinions of OpenBSD wizards. The thing is that it is very hard to
 persuade someone to use PGP all the time.

 yes, as strange as it sounds, the solution is called education.



Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-14 Thread Tomas Vavrys
2010/12/14 Kevin Chadwick ma1l1i...@yahoo.co.uk:
 On Tue, 14 Dec 2010 23:06:49 +0100

 it is very hard to persuade someone to use PGP in the first place, and
 even harder to believe they have a secure machine.

I have a great experience with Pidgin and OTR. Even a child could
handle the first authorization after a simple installation of OTR
plugin. A lot of my friends use it now, because I have encouraged a
little paranoia in them. However, it's not email though.



Re: Campus internet connection

2010-12-07 Thread Tomas Vavrys
This problem has already occured in NetBSD.
http://lists.shmoo.com/pipermail/hostap/2009-August/020080.html

I have created a new diff for OpenBSD patch-driver_wired_c
(wpa_supplicant) which works fine.

--- original/driver_wired.c Sun Dec 31 04:28:05 2006
+++ driver_wired.c  Fri May 18 02:06:07 2007
@@ -18,7 +18,7 @@
 #ifdef __linux__
 #include netpacket/packet.h
 #endif /* __linux__ */
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
 #include net/if_dl.h
 #endif /* __FreeBSD__ */

@@ -132,6 +132,15 @@
os_memcpy(LLADDR(dlp), addr, ETH_ALEN);
}
 #endif /* __FreeBSD__ */
+#ifdef __OpenBSD__
+   {
+   struct sockaddr *sap;
+   sap = (struct sockaddr *) ifr.ifr_addr;
+   sap-sa_len = sizeof(struct sockaddr);
+   sap-sa_family = AF_UNSPEC;
+   os_memcpy(sap-sa_data, addr, ETH_ALEN);
+   }
+#endif /* __OpenBSD __ */

if (ioctl(s, add ? SIOCADDMULTI : SIOCDELMULTI, (caddr_t) ifr)  0) {
perror(ioctl[SIOC{ADD/DEL}MULTI]);



2010/11/17 David Coppa dco...@gmail.com:
 On Wed, Nov 17, 2010 at 4:38 PM, Tomas Vavrys vav...@cleancode.cz wrote:
 Hello,

 I would like to use OpenBSD at school, but current documentation is
 only for Windows, Linux. Could you please guide me what is different
 and what man pages should I read?
 What bothers me is WPA supplicant. PF should not be a problem.

 Link to translated documentation, I know it is not perfect but I
 actually read it and it's fine to get the fundamental meaning.
 http://translate.google.cz/translate?hl=cssl=autotl=enu=http://www.kolej.mff.cuni.cz/faq/connect_linux.html%23mac

 Sorry, no way.
 802.1X authentication is currently unsupported on OpenBSD.

 ciao,
 david



Re: Advice on learning C as first language

2010-11-25 Thread Tomas Vavrys
2010/11/24 James Hozier guitars...@yahoo.com:
 Are there any books that are more noob-friendly that want to learn C as
their first language and explain basic programming terms along the way?

I tried a lot of things and if I could go back I would choose How to
Design Programs. It's free and it uses DrScheme which is great for
learning purposes. It allows you to run and watch your program
step-by-step. Definitely do not start with SICP, it's as dense as C
Programming Language by KR.

How to Design Programs is available for free here
http://htdp.org/

After that I would jump to C Programming Language by KR, because C is
fundamental knowledge , but mainly because I love operating systems.
But if you do not want to go through How to Design Programs just
stick to C Programming language by KR and use Google a lot. I love
that book and I think it's great book even for start, but you have to
think and work on your own a lot. After all there there is nobody who
holds your hand forever. Get used to harder approach, it makes things
easier later.

One last recommendation if you plan to stick to operating systems.
Learn shell programming first and along C by KR read also Computer
Systems: A Programmer's Perspective.

1)
http://www.amazon.com/Teach-Yourself-Shell-Programming-Hours/dp/0672323583/
2)
http://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628/
along with
3)
http://www.amazon.com/Computer-Systems-Programmers-Perspective-2nd/dp/0136108
040/

Good luck!

I will persist until I succeed. Henceforth, I will consider each
daybs effort as but one blow of my blade against a mighty oak. The
first blow may cause not a tremor in the wood, nor the second, nor the
third. Each blow, of itself, may be trifling, and seem of no
consequence. Yet from childish swipes the oak will eventually tumble.
So it will be with my efforts of today.



Campus internet connection

2010-11-17 Thread Tomas Vavrys
Hello,

I would like to use OpenBSD at school, but current documentation is
only for Windows, Linux. Could you please guide me what is different
and what man pages should I read?
What bothers me is WPA supplicant. PF should not be a problem.

Link to translated documentation, I know it is not perfect but I
actually read it and it's fine to get the fundamental meaning.
http://translate.google.cz/translate?hl=cssl=autotl=enu=http://www.kolej.mff.cuni.cz/faq/connect_linux.html%23mac

Thank you...



Re: An OpenBSD smartphone

2010-11-17 Thread Tomas Vavrys
The best options is Android at the moment. It's working fine and I
have to say I like it a lot. But it is definitely not open as
possible.

2010/11/17 patric conant mirage.comput...@gmail.com:
 Yes, and we won't be supporting any obsolete platforms around here.

 On Nov 17, 2010 8:34 AM, Francesco Vollero ra...@lilik.it wrote:

 Il 17/11/10 15.17, Ted Unangst ha scritto:



 Compared to the hardware available today, the openmoko is ridiculously
 obsolete.
 I Agree. It's really really obsolete.




 On Wed, Nov 17, 2010 at 3:49 AM, Sergey Bronnikoveste...@gmail.com
 B wrote:

 may be http:...



Re: Building a Practical Penetration Test Lab

2010-11-12 Thread Tomas Vavrys
It's been a long time since I posted it. It was my first post to
mailing list. Thank you for reminding me this. I've gotten in touch
with stunning piece of work called OpenBSD, found a great friend and
learned a lot of things thanks to OpenBSD. Thank you. It's amazing how
time passes...

2010/11/12 Hugo Osvaldo Barrera h...@osvaldobarrera.com.ar:
 On 10/05/10 12:47, TomC!E! Vavys wrote:
 Hello,

 I would like to become helpful OpenBSD developer (pentester) one day,
 so I have a few questions.

 I am CompSci student at the moment. I consider myself as a white hat
 person and I really enjoy everything about security. It's a shame that
 we need to sleep sometimes, isn't it?

 Back to the main topic. I want to migrate to OpenBSD from ArchLinux.
 But I have these conditions. I travel a lot, so I need everything all
 in laptop(one). I am thinking about Windows 7 and OpenBSD dualboot
 because of my hardware support in Windows 7. I'd like to to use HDMI
 sometimes. So my questios are:

 1) What is the best possible way how to setup my penetration lab? I
 used Virtualbox in Archlinux, but I am new to BDS so I want to ask you
 what is different here in virtualization. Is it better to test
 everything in Windows 7 via Virtualbox. Or is it better to test
 everything via Qemu in OpenBSD? Are there any restrictions? What is
 your pentest lab setup like?

 2) I'd like to use disk encryption which prompts me for password
 at startup and then there will be 2 options for boot (Windows 7 or
 OpenBSD). How can I do this to keep OpenBSD totally safe from
 Windows 7? Can Windows 7 hurt my OpenBSD in any possible way? If yes,
 how can I prevent this?

 Thank you for your answers and patience.

 Toma9 Vavrys
 --
 Website: http://blog.cleancode.cz/


 This might help with full disc encryption:
 - http://16s.us/OpenBSD/softraid.txt
 - man softraid
 - man bioctl

 Obviously, windows can't read anything. B I can, of course, write, or
 delete you data.

 The best penetration testing is though two physical computers, to better
 simulate real conditions.
 OpenBSD doesn't run properly on VirtualBox (it does install on the
 latest version), and I belive virtualization is not really supported.


 --
 Hugo Osvaldo Barrera



Re: OpenBSD Vim Programming FAQ

2010-10-31 Thread Tomas Vavrys
http://tottinge.blogsome.com/use-vim-like-a-pro
Great resource and not too overwhelming.

2010/10/9 Tomas Vavrys vav...@cleancode.cz:
 I would like to refer to using snipmate. I don't recommend it anymore,
 because I forget the syntax details very easily with it. It is better
 to write everything on your own.

 2010/10/9 Tomas Vavrys vav...@cleancode.cz:
 My last .vimrc.

 http://dl.dropbox.com/u/9017966/.vimrc

 2010/10/9 Tobias Ulmer tobi...@tmux.org:
 On Sat, Oct 09, 2010 at 01:27:21AM +0300, Vladimir Kirillov wrote:
 [...]
 style(9):
 Indentation is an 8 character tab. B Second level indents are four
spaces.

 B  B  B  while (cnt  20)
 B  B  B  z = a + really + long + statement + that + needs +
 B  B  B  B  B  two + lines + gets + indented + four + spaces +
 B  B  B  B  B  on + the + second + and + subsequent + lines;

 How do you guys follow this rule in vim neatly?


 set cinoptions=:0,t0,+4,(4



Re: Happy Birthday OpenBSD

2010-10-18 Thread Tomas Vavrys
Live long and prosper!

2010/10/18 Benjamin GUILLER orion.64.loves@gmail.com:
 15 and *Only two remote holes in the default install* :)

 On Mon, Oct 18, 2010 at 7:13 PM, STeve Andre' and...@msu.edu wrote:

 B 15 years!



Re: OpenBSD Vim Programming FAQ

2010-10-09 Thread Tomas Vavrys
My last .vimrc.

http://dl.dropbox.com/u/9017966/.vimrc

2010/10/9 Tobias Ulmer tobi...@tmux.org:
 On Sat, Oct 09, 2010 at 01:27:21AM +0300, Vladimir Kirillov wrote:
 [...]
 style(9):
 Indentation is an 8 character tab. B Second level indents are four spaces.

 B  B  B  while (cnt  20)
 B  B  B  z = a + really + long + statement + that + needs +
 B  B  B  B  B  two + lines + gets + indented + four + spaces +
 B  B  B  B  B  on + the + second + and + subsequent + lines;

 How do you guys follow this rule in vim neatly?


 set cinoptions=:0,t0,+4,(4



Re: OpenBSD Vim Programming FAQ

2010-10-09 Thread Tomas Vavrys
I would like to refer to using snipmate. I don't recommend it anymore,
because I forget the syntax details very easily with it. It is better
to write everything on your own.

2010/10/9 Tomas Vavrys vav...@cleancode.cz:
 My last .vimrc.

 http://dl.dropbox.com/u/9017966/.vimrc

 2010/10/9 Tobias Ulmer tobi...@tmux.org:
 On Sat, Oct 09, 2010 at 01:27:21AM +0300, Vladimir Kirillov wrote:
 [...]
 style(9):
 Indentation is an 8 character tab. B Second level indents are four
spaces.

 B  B  B  while (cnt  20)
 B  B  B  z = a + really + long + statement + that + needs +
 B  B  B  B  B  two + lines + gets + indented + four + spaces +
 B  B  B  B  B  on + the + second + and + subsequent + lines;

 How do you guys follow this rule in vim neatly?


 set cinoptions=:0,t0,+4,(4



Re: OpenBSD Vim Programming FAQ

2010-10-05 Thread Tomas Vavrys
I'm sorry. My bad.

PDF Version
http://dl.dropbox.com/u/9017966/OpenBSDDevelopementandVimProgrammingGuide.pdf

HTML Version
http://dl.dropbox.com/u/9017966/OpenBSDDevelopementandVimProgrammingGuide.zip



Re: OpenBSD Vim Programming FAQ

2010-10-05 Thread Tomas Vavrys
I'll publish my .vimrc when I get home.

2010/10/5 David Coppa dco...@gmail.com:
 On Tue, Oct 5, 2010 at 11:38 AM, Tomas Vavrys vav...@cleancode.cz wrote:
 I'm sorry. My bad.

 PDF Version
 http://dl.dropbox.com/u/9017966/OpenBSDDevelopementandVimProgrammingGuide.pdf

 HTML Version
 http://dl.dropbox.com/u/9017966/OpenBSDDevelopementandVimProgrammingGuide.zip

 Hi,

 What's the link to your .vimrc?

 cheers,
 david



Re: OpenBSD Vim Programming FAQ

2010-10-04 Thread Tomas Vavrys
After 2 months I have to announce that I am unable to finish the
guide. I am too busy at the moment and unfortunately I will be still
busy for a long time. Anyway, there has been a lot of people
interested in this guide, so I suppose someone could use my work/ideas
and make it come true.

Document link (First week progress)
https://docs.google.com/a/cleancode.cz/document/pub?id=11NGGh2Wbr7gESXCCxwHhwe35V_HCROMKNNIQE1qB6-0

Feel free to edit it, keep it or distribute it.



dmesg bug

2010-09-06 Thread Tomas Vavrys
A friend of mine has old Asus A3F and I have found a very interesting
bug in dmesg. When I type dmesg I don't get regular dmesg output. It
starts in the middle of regular dmesg output and then it prints it 2
more times.

dmesg output
http://cleancode.cz/files/dmesg.log

acpidump
http://cleancode.cz/files/acpidump_asus.tar.gz



Re: dmesg bug

2010-09-06 Thread Tomas Vavrys
Ah, I see. Thank you. I didn't know about it before.

2010/9/6 Nick Holland n...@holland-consulting.net:
 On 09/06/10 10:39, Alexander Hall wrote:
 On 09/06/10 16:18, Tomas Vavrys wrote:
 A friend of mine has old Asus A3F and I have found a very interesting
 bug in dmesg. When I type dmesg I don't get regular dmesg output. It
 starts in the middle of regular dmesg output and then it prints it 2
 more times.

 $ whatis dmesg
 dmesg (8) - display the system message buffer

 The buffer is not emptied on reboot on all machines. What you see is
 likely leftovers from previous boot(s).

 and at times, this is a wonderful feature.
 (and usually when I most want it, it is on a machine which wipes memory
 on boot. :-/ )

 Nick.



Re: OpenBSD Vim Programming FAQ

2010-08-13 Thread Tomas Vavrys
I am already writing and I don't want to hurry this thing up. It won't
be ready this week. Rather in two weeks. After that I will send it to
all of you who wants to help. Thank you for your patience.

2010/8/13 Rares Aioanei debian.dev.l...@gmail.com:
 On Wed, 11 Aug 2010 21:43:09 +0200
 Tomas Vavrys vav...@cleancode.cz wrote:

 I've decided to write Vim Programming FAQ. I'm not an expert
 [snip]
 I can help with the correcting part and, since I also use vim, with some 
 tips. Please note that I only have two days per week available for this, so 
 if it's ok, let me know.



Re: OpenBSD Vim Programming FAQ

2010-08-12 Thread Tomas Vavrys
A lot of people has sent me their opinions or questions. Let's make it
clear. I don't want to do it Wiki-like, rather plain html page. It can
become manual page who knows... You can still help just by sending an
e-mail.

My goals are:

1) Make everything as simple as possible, but not simpler.
- Plain HTML page, easy to manage plugins, be able to get to work
almost immediately and become instantly efficient

2) STYLE(9) will be our bible

3) Standardization
I would like to discuss hotkey's and abbreviation's names, settings
which prefer more people and I also want to make basic settings as a
standard for OpenBSD programmers. (It'll be a very hard task.)

4) SnipMate snippets
SnipMate offers code snippets not only for C language, but I am going
to focus on C programming. SnipMate is easy to handle and I can create
some snippets according to STYLE(9) for start. Time will show what is
missing etc.

5) Other plugins
- C reference Manual, Cscope



Re: OpenBSD Vim Programming FAQ

2010-08-12 Thread Tomas Vavrys
Thank you for your point. Unfortunately there is at least 7 people who
would like to see some tutorial. I am not a developer so I didn't know
about the style(9). Anyways, it's not about style(9). It's about people,
being more productive during programming, collecting habbits and tips
from OpenBSD programmers. It won't be perfect but I enjoy it.

2010/8/12 Ingo Schwarze schwa...@usta.de:
 Tomas Vavrys wrote on Thu, Aug 12, 2010 at 09:52:57AM +0200:

 I don't want to do it

 Don't talk about what you want to do, just do it.
 When it's done, tell people to look at the *result*
 and decide whether it is useful or useless.

 Shut up and hack.

 2) STYLE(9) will be our bible

 The style(9) manual is not a bible. B Sometimes, it is not followed
 for good reasons. B You still need common sense. B Besides, it is
 rarely updated.


 Oh, and also note that OpenBSD and vim is a weird topic.
 OpenBSD and nvi or OpenBSD and mg would seem more natural.
 On the other hand, some people (including Marco) apparently
 like the topic, so it may be useful. B But don't feel
 disappointed if many people completely ignore your effort
 because you are focussing on a non-standard combination.



OpenBSD Vim Programming FAQ

2010-08-11 Thread Tomas Vavrys
I've decided to write Vim Programming FAQ. I'm not an expert and I
would like to start with less content and make it better over time.
However I might offer some practical tips, because I work with OpenBSD
and Vim everyday. As you can see I am not native English speaker so I
will definitely need english correction. I am willing to update it for
a long time. I just need for start one kind person with good english
skills and some tips how to manage code snippets for snipMate.
Community code snippets collection is my first task. I will appreciate
your code snippets which you often use (mail me off-list). A lot of
code snippets is in cvim plugin, but my priority is community and
practical habbits from more people.

--
Tomas Vavrys



Re: Thinkpad SL510 woes

2010-08-10 Thread Tomas Vavrys
You can officially call OpenBSD world first UNIX-like OS which fully
support Thinkpad SL510. Everything works fine (suspend/resume, Fn
keys), only external mute sound/microphone keys next to the keyboard
don't work properly.

I'll buy pizza to the whole team one day. :-] Thank you!

OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug  9 12:12:25 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem  = 2004135936 (1911MB)
avail mem = 1961361408 (1870MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
bios0: LENOVO 28477TG
acpi0 at bios0: rev 4
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 GHz
cpu1: 
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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 9 (P0P1)
acpiprt3 at acpi0: bus 2 (RP01)
acpiprt4 at acpi0: bus 3 (RP02)
acpiprt5 at acpi0: bus 4 (RP03)
acpiprt6 at acpi0: bus 5 (RP04)
acpiprt7 at acpi0: bus 6 (RP05)
acpiprt8 at acpi0: bus 8 (RP06)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature 105 degC
acpithinkpad0 at acpi0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC 11
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
int 21 (irq 10)
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
int 19 (irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
int 19 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
apic 2 int 22 (irq 10)
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 11)
pci1 at ppb0 bus 2
JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
apic 2 int 16 (irq 10)
sdmmc0 at sdhc0
JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
int 18 (irq 10)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
int 19 (irq 10)
pci4 at ppb3 bus 5
Realtek 8192SE rev 0x10 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 2
int 17 (irq 11)
pci5 at ppb4 bus 6
ppb5 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: apic 2
int 16 (irq 10)
pci6 at ppb5 bus 8
re0 at pci6 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D
(0x2800), apic 2 int 17 (irq 11), address c8:0a:a9:30:00:2c
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2
int 23 (irq 10)
uhci4 at pci0 dev 29 function 1 

Re: Thinkpad SL510 woes

2010-08-10 Thread Tomas Vavrys
Where will we start? I'll do my best.

2010/8/10 Jacob Meuser jake...@sdf.lonestar.org:
 On Tue, Aug 10, 2010 at 07:05:55PM +0200, Tomas Vavrys wrote:
 You can officially call OpenBSD world first UNIX-like OS which fully
 support Thinkpad SL510. Everything works fine (suspend/resume, Fn
 keys), only external mute sound/microphone keys next to the keyboard
 don't work properly.

 that particular codec supports unsolicited responses from the GPIO
 pins, and I'm guessing that's how the key presses are conveyed to
 the codec. B mail me off-list if you want to try some experiments
 to figure out if that's how it's supposed to work.

 I'll buy pizza to the whole team one day. :-] Thank you!

 OpenBSD 4.8 (GENERIC.MP) #357: Mon Aug B 9 12:12:25 MDT 2010
 B  B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem B = 2004135936 (1911MB)
 avail mem = 1961361408 (1870MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/24/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
 bios0: LENOVO 28477TG
 acpi0 at bios0: rev 4
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SSDT SSDT SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3)
 USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4)
 PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
 RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpihpet0 at acpi0: 14318179 Hz
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 199MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
 686-class) 2.10 GHz
 cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,SSE4.1,XSAVE
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 9 (P0P1)
 acpiprt3 at acpi0: bus 2 (RP01)
 acpiprt4 at acpi0: bus 3 (RP02)
 acpiprt5 at acpi0: bus 4 (RP03)
 acpiprt6 at acpi0: bus 5 (RP04)
 acpiprt7 at acpi0: bus 6 (RP05)
 acpiprt8 at acpi0: bus 8 (RP06)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpitz0 at acpi0: critical temperature 105 degC
 acpithinkpad0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model 42T4708 serial 40475 type LION oem LGC
11
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: PWRB
 acpibtn2 at acpi0: SLPB
 bios0: ROM list: 0xc/0xfc00! 0xe/0x2000! 0xe2000/0x1800!
 cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2101, 2100, 1600, 1200 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 10)
 drm0 at inteldrm0
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2
 int 16 (irq 10)
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2
 int 21 (irq 10)
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2
 int 19 (irq 10)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03:
 apic 2 int 22 (irq 10)
 azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2
 int 17 (irq 11)
 pci1 at ppb0 bus 2
 JMicron SD/MMC rev 0x00 at pci1 dev 0 function 0 not configured
 sdhc0 at pci1 dev 0 function 2 JMicron SD Host Controller rev 0x00:
 apic 2 int 16 (irq 10)
 sdmmc0 at sdhc0
 JMicron Memory Stick rev 0x00 at pci1 dev 0 function 3 not configured
 JMicron xD rev 0x00 at pci1 dev 0 function 4 not configured
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2
 int 16 (irq 10)
 pci2 at ppb1 bus 3
 ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2
 int 18 (irq 10)
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 2
 int 19 (irq 10)
 pci4 at ppb3 bus 5
 Realtek 8192SE rev 0x10 at pci4 dev 0 function 0

Re: developing openbsd?

2010-08-08 Thread Tomas Vavrys
Does any developer use c.vim plugin? I can't get it working properly
according to STYLE(9). I would appreciate your settings. What other
Vim plugins do you use?



Re: developing openbsd?

2010-08-08 Thread Tomas Vavrys
It would be great if anybody could share whole .vim/  .vimrc. I
could write OpenBSD Vim C Programming manual once and for all.

2010/8/8 Darrin Chandler dwchand...@stilyagin.com:
 On Sun, Aug 08, 2010 at 04:39:56PM +0200, Tomas Vavrys wrote:
 Does any developer use c.vim plugin? I can't get it working properly
 according to STYLE(9). I would appreciate your settings. What other
 Vim plugins do you use?

 I have this in ~/.vim/after/ftplugin/c.vim:

 set cinoptions=t0,+4,(4,u4,w1
 set shiftwidth=8
 set softtabstop=8
 let c_space_errors=1

 That gets me somewhat close. Anyone want to share other ways or
 refinements?

 --
 Darrin Chandler B  B  B  B  B  B | B Phoenix BSD User Group B | B MetaBUG
 dwchand...@stilyagin.com B  | B http://phxbug.org/ B  B  B |
B http://metabug.org/
 http://www.stilyagin.com/ B | B Daemons in the Desert B  | B Global BUG
Federation



Re: developing openbsd?

2010-08-08 Thread Tomas Vavrys
I can imagine universal OpenBSD VIM settings for programming as a
standard for local Vim programmers. It will make easier so many
things. We should write down all ideas. Key task is to share
experiences during programming with Vim.

It looks like that many developers use cscope, ctags, taglist during
programming.
I use SnipMate for code completion at the moment, because c.vim is
quite complex for me. You need to put big effort to get things work
like you want to if you're not vim expert. I suggest to stick to the
minimalism. We can collect most favourite code snippets and put them
together in universal snipmate config with practical documentation for
other useful settings. There is no need to read 100pages of manual to
become efficient. From a practical point of view you always forget
many things and use only a few key features because you don't have
time to read the whole manual and test all things. I don't want this.
We should put some effort to make it practical and easy from
beginning.

What do think about my suggestion?

2010/8/8 IC1igo Ortiz de Urbina inigoortizdeurb...@gmail.com:
 I'd love to see such a document available. Depending on the scope of
 this documentation effort, it could even be bundled as a package.

 On 8/8/10, Tomas Vavrys vav...@cleancode.cz wrote:
 It would be great if anybody could share whole .vim/  .vimrc. I
 could write OpenBSD Vim C Programming manual once and for all.

 2010/8/8 Darrin Chandler dwchand...@stilyagin.com:
 On Sun, Aug 08, 2010 at 04:39:56PM +0200, Tomas Vavrys wrote:
 Does any developer use c.vim plugin? I can't get it working properly
 according to STYLE(9). I would appreciate your settings. What other
 Vim plugins do you use?

 I have this in ~/.vim/after/ftplugin/c.vim:

 set cinoptions=t0,+4,(4,u4,w1
 set shiftwidth=8
 set softtabstop=8
 let c_space_errors=1

 That gets me somewhat close. Anyone want to share other ways or
 refinements?

 --
 Darrin Chandler B B B B B B B B B B B | B Phoenix BSD User Group B | B
MetaBUG
 dwchand...@stilyagin.com B B | B http://phxbug.org/ B B B B B |
 B http://metabug.org/
 http://www.stilyagin.com/ B | B Daemons in the Desert B B | B Global BUG
 Federation



Re: setting up crypto softraid

2010-07-29 Thread Tomas Vavrys
Or you can try this, also in /etc/rc.

# Configure raid devices.
until bioctl -c C -l /dev/sd0d softraid0; do done

for dev in 0 1 2 3; do
if [ -f /etc/raid$dev.conf ]; then
raidctl -c /etc/raid$dev.conf raid$dev
fi
done



On 07/29/10 22:04, Jiri B. wrote:
 On Thu, 29 Jul 2010 13:38:18 +0200
 Jan Stary h...@stare.cz wrote:
 
 I use following, right after swapctl in /etc/rc, I'm happy with that ;)
 
 for try in 1 2 3 ; do
 bioctl -c C -l /dev/sd0d softraid0 2/dev/null ; rc=$?
 if [ $rc -eq 0 ]; then
 break
 elif [ $try -eq 3 ]; then
 halt -qp
 else
 :
 fi
 done



Re: Thinkpad SL510 woes

2010-07-28 Thread Tomas Vavrys
Small update. Theo has suggested to try i386 without apm support.

@@ -1,4 +1,4 @@
-OpenBSD 4.7-current (RAMDISK_CD) #6: Thu Jul 22 20:21:46 EDT 2010
+OpenBSD 4.8-beta (RAMDISK_CD) #1: Thu Jul 27 20:29:08 EDT 2010
 r...@acer.westerback.sa:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz (GenuineIntel
686-class) 2.10 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
@@ -14,18 +14,17 @@
 pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
 pcibios0: bad IRQ table checksum
-uvm_fault(0xd07e834c, 0x0, 0, 1) - e
+uvm_fault(0xd07e6210, 0xe000, 0, 1) - e
 kernel: page fault trap, code=0
-Stopped at 0xfde5d: uvm_fault(0xd07e834c, 0xfd000, 0, 1) - e
+Stopped at 0xfde5d: uvm_fault(0xd07e6210, 0xfd000, 0, 1) - e
 kernel: page fault trap, code=0
 Stopped at db_read_bytes+0xf: movb 0x(%ebx),%al
-db_read_bytes(fde5d,1,d0900a8c,d02df9f4,2) at db_read_bytes+0xf
-db_get_value(fde5d, 1, 0, d0900b1b, 78) at db_get_value+0x18
-db_disasm(fde5d, 0, d030404f, 0) at db_disasm+0x16
-db_print_loc_and_inst(fde5d, d0900b60, d0900b60, d048fcc3, d048fcc3)
-at db_print_loc_and_inst+0x2d
-db_trap(6, 0, 58, f0, d0900b94) at db_trap+0xaf
-kdb_trap(6, 0, d0900bf4, d07e8444) at kdb_trap+0xae
+db_read_bytes(fde5d,1,d08fea9c,d02df9fc,2) at db_read_bytes+0xf
+db_get_value(fde5d, 1, 0, d08feb2b, 78) at db_get_value+0x18
+db_disasm(fde5d, 0, d030406f, 0) at db_disasm+0x16
+db_print_loc_and_inst(fde5d, d08feb70, d048fa57, d048fa57) at
db_print_loc_and_inst+0x2d
+db_trap(6, 0, 58, f0, d08feba4) at db_trap+0xaf
+kdb_trap(6, 0, d08fec04, d07e6308) at kdb_trap+0xae
 trap() at trap+0x178
 --- trap (number 14) ---
 0:



Re: Thinkpad SL510 woes

2010-07-20 Thread Tomas Vavrys
20/08/10 i386 -current and still no luck. I upgraded BIOS also, Lenovo
releases BIOS updates pretty often.

mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
bios0: vendor LENOVO version 6JET81WW (1.39 ) date 06/24/2010
bios0: LENOVO 28477TG


On 07/08/10 23:00, Toma Vavrys wrote:
 i386 -current transcribed errors - 4/7/2010. amd64 -current still works.
 
 real mem  = 2004135936 (1911MB)
 avail mem = 1964355584 (1873MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/14/10, BIOS32 rev. 0 @
 0xfdbf0, SMBIOS rev. 2.5 @ 0xe0010 (44 entries)
 bios0: vendor LENOVO version 6JET79WW (1.37 ) date 05/14/2010
 bios0: LENOVO 28477TG
 acpi at bios0 function 0x0 not configured
 mpbios at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 3.0 @ 0xfdbf0/0x410
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/304 (17 entries)
 pcibios0: bad IRQ table checksum
 uvm_fault(0xd07cdf40, 0xd2915000, 0, 1) - e
 fatal page fault (6) in supervisor mode
 trap type 6 code 0 eip fde5d cs 68 eflags 10046 cr2 d2915cc4 cpl 0
 panic: trap type 6, code=0, pc=fde5d
 
 The operating system has halted.



Re: Connecting to one of available networks on boot

2010-07-01 Thread Tomas Vavrys
IFSTATED.CONF(5) should help you.

On 07/01/10 08:54, czark...@gmail.com wrote:
 Date: Thu, 01 Jul 2010 10:54:07 +0400
 From: czark...@gmail.com
 To: misc@openbsd.org
 Subject: Connecting to one of available networks on boot
 Message-ID: 4c2c3b8f.oqkyhtdvrrp9b9a5%czark...@gmail.com
 User-Agent: Heirloom mailx 12.4 7/29/08
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Hello!
 
 I have an OpenBSD 4.7 on my netbook.
 
 Right now I've configured my home network in hostname.if as it is the
 one I use most.
 
 Still the ideal situation would be automaticly connecting to any of known
 networks. Reading manuals on ifconfig and hostname.if gave me an idea I could
 have a script that scans available networks on boot and chooses the known one.
 
 The thing I wanted to ask is: is there any specific mechanism for
 accomplishing this task, or I have to really have a script in my hostname.if?
 
 --
 Dmitrij D. Czarkoff



Thinkpad SL510 woes

2010-06-30 Thread Tomas Vavrys
Hello,

I bought new Thinkpad SL510 yesterday and I want to share my experiences
with you.

First problem was with i386 -current instalation, you can read full
description here

http://www.pubbs.net/201005/openbsd/54814-may-26-current-on-lenovo-sl410-laptop.html

So I used AMD64 -current. Everything seems to be working correctly
except ACPI and Wifi (Unfortunately, wrong technical description is
common thing these days. That's why I have Realtek wifi instead of Intel
wifi.)

Great quote from Undeadly comment: ACPI really should die, and everyone
involved in its creation should be hunted down and tortured for the rest
of eternity, what a total clusterfuck it is.

Here is my dmesg, acpidump and lspci -vv from Ubuntu livecd.

http://devio.us/~cleancode/dmesg.txt

http://devio.us/~cleancode/acpidump.txt
http://devio.us/~cleancode/acpidump_SL510.tar

http://devio.us/~cleancode/ubuntu_lspcivv.txt

-
Tomas Vavrys