Re: Another question: device naming convention

2010-01-22 Thread Johan Beisser
On Thu, Jan 21, 2010 at 11:54 PM, Otto Moerbeek o...@drijf.net wrote: You could makefs on /dev/sd0c instead. Nothing really forces you to create other slices (or partitions) on the device. Bad advice. disklabel does not record some redundant information for the c partitiion. Which may bite

Re: Acer Aspire One D250 mouse problem

2010-01-22 Thread J.C. Roberts
On Thu, 21 Jan 2010 00:42:26 -0500 electronmuontau neutrino emtneutr...@gmail.com wrote: I have an Acer Aspire One D250 running snapshot (2010-01-20). The mouse will work for a couple of seconds and then freeze. This has occured when running wsmoused in a console(not in X), inside of X, and

Re: make src libstd++ on -current error

2010-01-22 Thread Janne Johansson
Andrej Elizarov wrote: follow the docs instead of trying to be clever and creating problems you don't know how to solve? hey, how else can i learn some? But you didn't learn, you only created more work for you and others. If you had started first with the correct working unclever way and

Re: iwn stopped working after OpenBSD upgrade in January, 2010

2010-01-22 Thread Marc Espie
On Thu, Jan 21, 2010 at 05:50:57PM +, leona...@sympatico.ca wrote: I have been tracking openbsd current (i386) for a while. The latest upgrade OpenBSD 4.6-current (GENERIC.MP) #391: Fri Jan 15 14:55:45 MST 2010 and iwn-firmware-5.2.tgz seem to no longer work. I have a 'no link' error

Re: make src libstd++ on -current error

2010-01-22 Thread Andrej Elizarov
Thanks, STeve, but i mean education process in general. To illustrate my thought, now i _know_ that for making src tree make must be in backwards compatable mode breaked by -j flag. It's not so obvious, and i really don't know where can i get it from. Steps i follow exactly from faq45: #rm

Re: Another question: device naming convention

2010-01-22 Thread Marc Espie
On Fri, Jan 22, 2010 at 07:43:31AM +0100, Song Li wrote: What seems a little counter intuitive to me is: I would see sd0 as a shortcut of /dev/sd0 for fdisk, but fdisk /dev/sd0 does not work. It's not, as miod pointed out. Is it something you tried to deduce on your own ? or some

Re: Package related questions: pkg_info, pkg_add, etc.

2010-01-22 Thread Marc Espie
On Fri, Jan 22, 2010 at 06:42:45AM +0100, Song Li wrote: Thank you Bret. I can see that now after Aaron's comments and yours. cheers, This is actually documented. You can tell by telling me where you looked, and where I should put the info to be sure newbies see it. From packages(7), third

Re: Another question: device naming convention

2010-01-22 Thread Song Li
On Fri, Jan 22, 2010 at 9:20 AM, Marc Espie es...@nerim.net wrote: On Fri, Jan 22, 2010 at 07:43:31AM +0100, Song Li wrote: What seems a little counter intuitive to me is: I would see sd0 as a shortcut of /dev/sd0 for fdisk, but fdisk /dev/sd0 does not work. It's not, as miod pointed out.

Re: box rebooting instead of halting

2010-01-22 Thread Antoine Jacoutot
On Thu, 21 Jan 2010, Antoine Jacoutot wrote: Hi. So, playing with this new old machine, it seems I cannot turn it off... halt -p makes it reboot. The machine probably fell in love with the OS and hence won't make it stop running and I wouldn't mind that much if it wasn't so noisy ;-) I

self educating q

2010-01-22 Thread Gregory Edigarov
Hello Everybody, I noticed it very every time that when question about security of OpenBSD risen, at least one message states: i386 architecture is hardware insecure, and I really agree with it. Then my question is: in your opinion, what is the most secure modern architecture that is supported

Re: make src libstd++ on -current error

2010-01-22 Thread Jacob Meuser
On Fri, Jan 22, 2010 at 11:01:42AM +0300, Andrej Elizarov wrote: Thanks, STeve, but i mean education process in general. To illustrate my thought, now i _know_ that for making src tree make must be in backwards compatable mode breaked by -j flag. It's not so obvious, and i really don't

Re: Another question: device naming convention

2010-01-22 Thread Stas Miasnikou
Song Li wrote: On the other hand, IMHO, a system should allow its user's reasonable assumption. It would be a headache for everyone if we have to memorize the exact syntax for every single command. You don't need to. You can look in manpages whenever you need, as I do. Maybe it's more so for

Re: iwn stopped working after OpenBSD upgrade in January, 2010

2010-01-22 Thread Peter N. M. Hansteen
Marc Espie es...@nerim.net writes: There is an iwn-firmware-5.3. where do you fetch that? the man page still refers to the 5.2 version, which also seems to be the most recent one at http://damien.bergamini.free.fr/packages/openbsd/ - P -- Peter N. M. Hansteen, member of the first RFC 1149

Re: IPSEC: bad checksum

2010-01-22 Thread Toni Mueller
Hi, On Thu, 21.01.2010 at 21:48:01 +, Christian Weisgerber na...@mips.inka.de wrote: Toni Mueller openbsd-m...@oeko.net wrote: today I see tons of these on a 4.6-stable/amd64 machine (sample): 17:21:00.848135 esp 1.1.1.1 2.2.2.2 spi 0x54d46678 seq 132642 len 84 (DF) (ttl 64, id

Re: make src libstd++ on -current error

2010-01-22 Thread STeve Andre'
On Friday 22 January 2010 02:16:00 Andrej Elizarov wrote: follow the docs instead of trying to be clever and creating problems you don't know how to solve? hey, how else can i learn some? yeah, you are all not my slaves and so on. If you are new to OpenBSD, one way to learn would be

Re: iwn stopped working after OpenBSD upgrade in January, 2010

2010-01-22 Thread shwegime
On Fri, 22 Jan 2010, Marc Espie wrote: On Thu, Jan 21, 2010 at 05:50:57PM +, leona...@sympatico.ca wrote: I have been tracking openbsd current (i386) for a while. The latest upgrade OpenBSD 4.6-current (GENERIC.MP) #391: Fri Jan 15 14:55:45 MST 2010 and iwn-firmware-5.2.tgz seem to no

Re: Another question: device naming convention

2010-01-22 Thread Jacob Meuser
On Fri, Jan 22, 2010 at 09:31:31AM +0100, Song Li wrote: On Fri, Jan 22, 2010 at 9:20 AM, Marc Espie es...@nerim.net wrote: On Fri, Jan 22, 2010 at 07:43:31AM +0100, Song Li wrote: What seems a little counter intuitive to me is: I would see sd0 as a shortcut of /dev/sd0 for fdisk, but fdisk

Re: Books on reverse engineering?

2010-01-22 Thread J.C. Roberts
On Thu, 21 Jan 2010 09:09:22 -0500 Ted Unangst ted.unan...@gmail.com wrote: On Thu, Jan 21, 2010 at 5:55 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: On Thu, Jan 21, 2010 at 9:42 AM, Tobias Ulmer tobi...@tmux.org wrote: - ability to research stuff yourself, without asking on a ml -

Re: make src libstd++ on -current error

2010-01-22 Thread Andrej Elizarov
Think, make must ignore mk.conf or just force -B for backwards compatiblity while building src tree. where in the documentation, besides make(1), is 'make -j' ever talked about? and did you see make(1) mentions '-j' in it's BUGS section? You are totally right. I did not read documentation

Re: Another question: device naming convention

2010-01-22 Thread Marc Espie
On Fri, Jan 22, 2010 at 09:31:31AM +0100, Song Li wrote: The man page for fdisk matches the actual OS. There is no typo. On the other hand, IMHO, a system should allow its user's reasonable assumption. It would be a headache for everyone if we have to memorize the exact syntax for every

Re: iwn stopped working after OpenBSD upgrade in January, 2010

2010-01-22 Thread Marc Espie
On Fri, Jan 22, 2010 at 09:59:14AM +0100, Peter N. M. Hansteen wrote: Marc Espie es...@nerim.net writes: There is an iwn-firmware-5.3. where do you fetch that? the man page still refers to the 5.2 version, which also seems to be the most recent one at

Re: iwn stopped working after OpenBSD upgrade in January, 2010

2010-01-22 Thread Peter N. M. Hansteen
Marc Espie es...@nerim.net writes: Oops, my fault. Damien must have given me a new beta version. Always nice to know that there are new goodies in the pipeline :) /me is hoping it will make it into 4.7 - P -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team

Re: Another question: device naming convention

2010-01-22 Thread David Vasek
On Fri, 22 Jan 2010, Otto Moerbeek wrote: On Thu, Jan 21, 2010 at 11:34:48PM -0800, Johan Beisser wrote: You could makefs on /dev/sd0c instead. Nothing really forces you to create other slices (or partitions) on the device. Bad advice. disklabel does not record some redundant information

Re: tcp window scale in ISP

2010-01-22 Thread Stuart Henderson
On 2010-01-22, leonardo fabian lnrd...@gmail.com wrote: Hi all, As an internet service provider, we have bgp peering with customers. they also have bgp peering with other isp. the problem is if they use tcp window scaling and have different path for incoming and outgoing connection. they

Re: self educating q

2010-01-22 Thread Aioanei Rares
Gregory Edigarov wrote: Hello Everybody, I noticed it very every time that when question about security of OpenBSD risen, at least one message states: i386 architecture is hardware insecure, and I really agree with it. Then my question is: in your opinion, what is the most secure modern

Re: box rebooting instead of halting

2010-01-22 Thread Aioanei Rares
Antoine Jacoutot wrote: On Thu, 21 Jan 2010, Antoine Jacoutot wrote: Hi. So, playing with this new old machine, it seems I cannot turn it off... halt -p makes it reboot. The machine probably fell in love with the OS and hence won't make it stop running and I wouldn't mind that much if it

Re: creating instalation CD

2010-01-22 Thread Fred Crowson
On 1/22/10, Nick Holland n...@holland-consulting.net wrote: Start at the top of faq5.html and start reading, don't just skip to the punchline you are after. You blew past a lot of very important steps. You at least need to start from section 5.2, though 5.1 is totally brilliant writing,

current on HP EliteBook 8530w

2010-01-22 Thread Jan Stary
This is a fresh -current on an HP EliteBook 8530w (Mobile Workstation). Thank you all who make be able to run this. /bsd panics when booting when ACPI is enabled; boots and works just fine once ACPI is disabled (via UKC). See full dmesgs below. What puzzles me is that /bsd.rd (who does the

Re: box rebooting instead of halting

2010-01-22 Thread Antoine Jacoutot
On Fri, 22 Jan 2010, Aioanei Rares wrote: shutdown -hp now please... -- Antoine

Re: The insecurity of OpenBSD

2010-01-22 Thread Marco Peereboom
It doesn't and I'll argue all day that it won't help you a bit. Here is an example: 1. running system with OMGACL 2. pkg_add -ui 3. couple of days later at 3am bz got come to the datacenter because the app bombed 4. oh, the acl terminated it; adjust 5. repeat 3 - 4 until it works 6. repeat

Re: current on HP EliteBook 8530w

2010-01-22 Thread Marco Peereboom
you too need to send acpidump -o output in a tar to jordan. On Fri, Jan 22, 2010 at 02:04:23PM +0100, Jan Stary wrote: This is a fresh -current on an HP EliteBook 8530w (Mobile Workstation). Thank you all who make be able to run this. /bsd panics when booting when ACPI is enabled; boots and

Re: current on HP EliteBook 8530w

2010-01-22 Thread David Vasek
On Fri, 22 Jan 2010, Jan Stary wrote: This is a fresh -current on an HP EliteBook 8530w (Mobile Workstation). Thank you all who make be able to run this. /bsd panics when booting when ACPI is enabled; boots and works just fine once ACPI is disabled (via UKC). See full dmesgs below. It is

Re: Another question: device naming convention

2010-01-22 Thread Julian Leyh
Am 22.01.10 09:31, schrieb Song Li: On the other hand, IMHO, a system should allow its user's reasonable assumption. It would be a headache for everyone if we have to memorize the exact syntax for every single command. For me, OpenBSD is perfectly reasonable and easy to use. Even as I started

Air fare.

2010-01-22 Thread Coles Miller
Dear , We are written to request your travel agencies to assist with Air Flight tickets Fare for the below. ROUTE : Lagos / Cairo /Lagos DEPART: 26 Jan 2010 RETURN: 10 Feb 2010 AIRLINE: Egypit Airways or any available air CLASS :ECONOMY ROUTE : Lagos / Kuala Lumpur /Lagos DEPART: 27 Jan 2010

Re: The insecurity of OpenBSD

2010-01-22 Thread Brad Tilley
On Fri, 22 Jan 2010 07:22 -0600, Marco Peereboom sl...@peereboom.us wrote: It doesn't and I'll argue all day that it won't help you a bit. Here is an example: 1. running system with OMGACL 2. pkg_add -ui 3. couple of days later at 3am bz got come to the datacenter because the app

Re: Another question: device naming convention

2010-01-22 Thread Nick Holland
Song Li wrote: On Fri, Jan 22, 2010 at 9:20 AM, Marc Espie es...@nerim.net wrote: On Fri, Jan 22, 2010 at 07:43:31AM +0100, Song Li wrote: What seems a little counter intuitive to me is: I would see sd0 as a shortcut of /dev/sd0 for fdisk, but fdisk /dev/sd0 does not work. It's not, as miod

Re: self educating q

2010-01-22 Thread Manuel Ravasio
May I ask why is i386 considered hardware insecure? Can anyone point me to some documentation on the issue? Thank you all. Manuel -- Hana wa sakuragi, hito wa bushi - Original Message From: Gregory Edigarov g...@bestnet.kharkov.ua To: misc@openbsd.org Sent: Fri, January 22, 2010

Re: current on HP EliteBook 8530w

2010-01-22 Thread Jan Stary
Jan Stary wrote: /bsd panics when booting when ACPI is enabled; boots and works just fine once ACPI is disabled (via UKC). See full dmesgs below. What puzzles me is that /bsd.rd (who does the install) has ACPI enabled, yet runs fine - unlike the /bsd that in installs (see the full dmesg of

Re: current on HP EliteBook 8530w

2010-01-22 Thread Jan Stary
On Fri, Jan 22, 2010 at 02:04:23PM +0100, Jan Stary wrote: This is a fresh -current on an HP EliteBook 8530w (Mobile Workstation). Thank you all who make be able to run this. /bsd panics when booting when ACPI is enabled; boots and works just fine once ACPI is disabled (via UKC). See

Re: current on HP EliteBook 8530w

2010-01-22 Thread Pawlowski Marcin Piotr
Jan Stary wrote: Jan Stary wrote: /bsd panics when booting when ACPI is enabled; boots and works just fine once ACPI is disabled (via UKC). See full dmesgs below. What puzzles me is that /bsd.rd (who does the install) has ACPI enabled, yet runs fine - unlike the /bsd that in installs (see

Re: current on HP EliteBook 8530w

2010-01-22 Thread Gilles Chehade
I provided one for this panic, got the same laptop at work ;-) Gilles On Fri, Jan 22, 2010 at 07:26:56AM -0600, Marco Peereboom wrote: you too need to send acpidump -o output in a tar to jordan. On Fri, Jan 22, 2010 at 02:04:23PM +0100, Jan Stary wrote: This is a fresh -current on an HP

typo in faq/index.html

2010-01-22 Thread Nicolas Legrand
Index: faq/index.html === RCS file: /cvs/openbsd/www/faq/index.html,v retrieving revision 1.320 diff -u -r1.320 index.html --- faq/index.html 16 Dec 2009 04:32:35 - 1.320 +++ faq/index.html 22 Jan 2010 15:25:35

Re: Another question: device naming convention

2010-01-22 Thread Matt Bettinger
but what is your point? that people should just be able to guess at commands and the system should do whatever the user is thinking it will do? f...@trout:~ lame If 'lame' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf lame

Re: self educating q

2010-01-22 Thread Robert
On Fri, 22 Jan 2010 05:05:52 -0800 (PST) Manuel Ravasio manuelrava...@yahoo.com wrote: May I ask why is i386 considered hardware insecure? Can anyone point me to some documentation on the issue? Discussed before: http://marc.info/?l=openbsd-misc - Robert

Re: self educating q

2010-01-22 Thread Ted Unangst
On Fri, Jan 22, 2010 at 8:05 AM, Manuel Ravasio manuelrava...@yahoo.com wrote: May I ask why is i386 considered hardware insecure? Can anyone point me to some documentation on the issue? I think it's 10% true and 90% meme. You want to sound like the cool kids, so you make vague claims that

Re: The insecurity of OpenBSD

2010-01-22 Thread Dan Harnett
On Fri, Jan 22, 2010 at 07:22:58AM -0600, Marco Peereboom wrote: It doesn't and I'll argue all day that it won't help you a bit. I couldn't agree more. BTW, microsoft implemented every single ACL type mechanism the NSA ever made public. Tell me again how well it worked for them. More

Re: The insecurity of OpenBSD

2010-01-22 Thread Scott Learmonth
On Fri, Jan 22, 2010 at 12:13:38PM -0500, Dan Harnett wrote: On Fri, Jan 22, 2010 at 07:22:58AM -0600, Marco Peereboom wrote: It doesn't and I'll argue all day that it won't help you a bit. I couldn't agree more. BTW, microsoft implemented every single ACL type mechanism the NSA ever

Re: The insecurity of OpenBSD

2010-01-22 Thread John Jackson
On Fri, Jan 22, 2010 at 10:56:14AM +0800, Zamri Besar wrote: The insecurity of OpenBSD http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/ -zamri- Sometimes the add-on security enhancements directly weaken system security: http://www.milw0rm.com/exploits/9191

Re: The insecurity of OpenBSD

2010-01-22 Thread Marc Espie
On Fri, Jan 22, 2010 at 12:13:38PM -0500, Dan Harnett wrote: I also do not understand why strlcpy and strlcat are causing the author so much grief. This person didn't seem to know they existed before writing the article. I work in an ISP environment and it has caused zero issues to both

Re: The insecurity of OpenBSD

2010-01-22 Thread J Sisson
On Thu, Jan 21, 2010 at 8:56 PM, Zamri Besar zam4e...@gmail.com wrote: The insecurity of OpenBSD http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/ -zamri- That's a great article...I mean, I'd rather go get shots the day after hiring a hooker instead of wearing a

Re: The insecurity of OpenBSD

2010-01-22 Thread Chris Bennett
What a laugh. I hope all of you see that this article has to be a hoax. Oh well, I certainly learned a lot from this. find / -name .* -print /etc/changelist chmod -R / I feel so much safer! -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a

Re: IPSEC: bad checksum

2010-01-22 Thread Adriaan
On Fri, Jan 22, 2010 at 9:58 AM, Toni Mueller openbsd-m...@oeko.net wrote: Hi, On Thu, 21.01.2010 at 21:48:01 +, Christian Weisgerber na...@mips.inka.de wrote: Toni Mueller openbsd-m...@oeko.net wrote: today I see tons of these on a 4.6-stable/amd64 machine (sample): 17:21:00.848135

Re: Books on reverse engineering?

2010-01-22 Thread James Hozier
I don't understand what a solution can be. If they're never going to release supporting documentation anyway, does it really make a difference for them? Since they're profiting with or without us anyway. So we can either choose to just make it work, or just not buy their products. I think the

possible to configure PF to simulate latency and 1% packet loss?

2010-01-22 Thread Andres Salazar
Hello, Is it possible to do some rule in pf to simulate 300ms of latency? This is for testing purposes. A plus would be to simulate 1% packet loss. Many Thanks!!

Re: Announcing: JigglyPuffBSD

2010-01-22 Thread Eric
On Wed, 20 Jan 2010 17:13:08 -0800 Bryan Irvine sparcta...@gmail.com wrote: Wasn't there a fork just like a few years ago? Except they left Theo's name in the default email or something? If one wanted to do it really clean, he could reverse engineer OpenBSD. Eric

Re: possible to configure PF to simulate latency and 1% packet loss?

2010-01-22 Thread Calomel Org
Andres, You can add packet loss by using the probability argument on a pf rule. You use either a block or pass rule. probability number A probability attribute can be attached to a rule, with a value set between 0 and 1, bounds not included. In that case, the rule will be honored using the

routing and pf at 10Gbps

2010-01-22 Thread Mike Williams
Hey all, I was hoping there are some heavy PF users here, who wouldn't mind sharing some of their experiences? So I've watched Hennings talk about PF performance, read the PDF, but I haven't actually seen anyone saying they can, and do, PF at 10Gbps. Can it? If so, what actual hardware can? Or

Re: possible to configure PF to simulate latency and 1% packet loss?

2010-01-22 Thread James Records
There isn't really functionality to do this, I've always found it better to use freebsd's dummy net for such things. I have some instructions to get this up and going here ( This is old but worked the last time i had to emulate wan conditions with this stuff): Dummynet howto... I needed to

Re: Books on reverse engineering?

2010-01-22 Thread bofh
Put that money aside, and use whatever crappy computer you have. Most people don't need the fastest whiz bang computers. I typically only buy computers when I *absolutely* have to. My main laptop is a 4 year old box, and other than the new mb/ram I just bought, all my other stuff is at least

Re: The insecurity of OpenBSD

2010-01-22 Thread ropers
2010/1/22 Zamri Besar zam4e...@gmail.com: The insecurity of OpenBSD http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/ The OpenBSD approach to security is primarily focused on writing quality code, with the aim being to eliminate vulnerabilities in source code. To this

Re: Books on reverse engineering?

2010-01-22 Thread nixlists
On Fri, Jan 22, 2010 at 2:55 PM, James Hozier guitars...@yahoo.com wrote: I don't understand what a solution can be. If they're never going to release supporting documentation anyway, does it really make a difference for them? I don't know if I am buying into a troll or a flamebait, but what

Re: The insecurity of OpenBSD

2010-01-22 Thread Scott McEachern
ropers wrote: 2010/1/22 Zamri Besar zam4e...@gmail.com: The insecurity of OpenBSD http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/ So... the author prefers shoddy, buggy, non-quality code as long as it provides extra access control granularity. Yeah... I

ath AR5424 support

2010-01-22 Thread Luis Henriques
Hi! I finally got tired of not using my wireless card on my laptop and decided to take a look at the code. I compared the ath OpenBSD code with similar drivers on NetBSD and Linux kernels, start adding/correcting the ath code and finally got it to work. I am currently able to use my AR5424

Cursos intensivos

2010-01-22 Thread PsicologĂ­a Aplicada
IAPSA Instituto Argentino de Psicologma Aplicada Si no se muestra correctamente el contenido del mensaje (por ejemplo, si los acentos estan sustituidos por otros smmbolos)

Re: Books on reverse engineering?

2010-01-22 Thread Chris Bennett
The booklist on the OpenBSD site is very good. I was concerned that a few items were old, but that is just not relevant. An excellent grasp of C is going to be necessary. It takes a long time to get good at programming. I have seen the phrase For good code examples, just look at OpenBSD source

Re: routing and pf at 10Gbps

2010-01-22 Thread Mike Williams
I missed two bits of information... Routing. With only one upstream routing device these would only have one route, maybe two (internet, and internal). A bit of mental gymnastics, ok a calculator, gives something like 400 Kpps. Which, if my assumptions on packet sizes is right, isn't mind

Re: The insecurity of OpenBSD

2010-01-22 Thread Steve Shockley
On 1/22/2010 12:13 PM, Dan Harnett wrote Nowhere in the article is proof provided that OpenBSD is insecure. Sure there is; OpenBSD uses Sendmail and BIND, and they've had lots of vulnerabilities!

Sed and GNU-like

2010-01-22 Thread Marcello Cruz
Dear friends, I've read the documentation about sed - sed(8), re_format(7) and /usr/share/doc/usd/15.sed/ - but I still don't realize how to make this command work: $ s/(^[A_Z]{1})([a-z]+)\.sgml/\1\2\.html/g As I read I must prefix the '{', '}', '(' and ')' with backslashes. Even if I do

Re: Sed and GNU-like

2010-01-22 Thread Ted Unangst
On Fri, Jan 22, 2010 at 7:31 PM, Marcello Cruz marcello.c...@globo.com wrote: $ s/(^[A_Z]{1})([a-z]+)\.sgml/\1\2\.html/g As I read I must prefix the '{', '}', '(' and ')' with backslashes. Even if I do so, the command does not work. The command should take a filename starting with a capital

Re: Sed and GNU-like

2010-01-22 Thread Ingo Schwarze
Hi Marcello, Marcello Cruz wrote on Fri, Jan 22, 2010 at 10:31:18PM -0200: I've read the documentation about sed - sed(8), re_format(7) and /usr/share/doc/usd/15.sed/ - but I still don't realize how to make this command work: First decide whether you want to use basic or extended regular

Re: Sed and GNU-like

2010-01-22 Thread Chris Bennett
Ted Unangst wrote: On Fri, Jan 22, 2010 at 7:31 PM, Marcello Cruz marcello.c...@globo.com wrote: $ s/(^[A_Z]{1})([a-z]+)\.sgml/\1\2\.html/g As I read I must prefix the '{', '}', '(' and ')' with backslashes. Even if I do so, the command does not work. The command should take a filename

Re: Sed and GNU-like

2010-01-22 Thread Abel Abraham Camarillo Ojeda
Marcello Cruz marcello.c...@globo.com wrote: Dear friends, I've read the documentation about sed - sed(8), re_format(7) and /usr/share/doc/usd/15.sed/ - but I still don't realize how to make this command work: $ s/(^[A_Z]{1})([a-z]+)\.sgml/\1\2\.html/g As I read I must prefix the '{',

Re: Sed and GNU-like

2010-01-22 Thread Marcello Cruz
As I read I must prefix the '{', '}', '(' and ')' with backslashes. Even if I do so, the command does not work. The command should take a filename starting with a capital letter followed with the extension 'sgml' and translate the extension to 'html'. 1. Always show the commands you're

Re: self educating q

2010-01-22 Thread Eric Furman
On Fri, 22 Jan 2010 10:42 +0200, Gregory Edigarov g...@bestnet.kharkov.ua wrote: Hello Everybody, I noticed it very every time that when question about security of OpenBSD risen, at least one message states: i386 architecture is hardware insecure, and I really agree with it. Then my

Re: Sed and GNU-like (SOLVED)

2010-01-22 Thread Marcello Cruz
You didn't read re_format(7) well: Basic regular expressions differ in several respects: o `|', `+', and `?' are ordinary characters and there is no equiva- lent for their functionality. o The delimiters for bounds are `\{' and `\}', with `{' and `}' by

Re: Sed and GNU-like (SOLVED)

2010-01-22 Thread Marcello Cruz
- Original Message - From: Abel Abraham Camarillo Ojeda acam...@the00z.org Marcello Cruz marcello.c...@globo.com wrote: $ s/(^[A_Z]{1})([a-z]+)\.sgml/\1\2\.html/g You didn't read re_format(7) well: Basic regular expressions differ in several respects: o `|', `+',

Re: ath AR5424 support

2010-01-22 Thread Daniel Dickman
1) Most of the code I'm using is from Linux driver which is AFAIK GPL'ed code. Is this a problem? Why do you think the code is GPL'ed? What driver did you look at? Some of the atheros code in the linux kernel comes from OpenBSD. For example:

service outage at obsd.cec.mtu.edu second level OpneBSD mirror

2010-01-22 Thread Christopher Linn
Unfortunately we here at obsd.cec.mtu.edu have experienced a hardware failure with our system. We have a replacement system, however there is much work to be done to transfer hardware components from the now-dead production system to the backup/spare. If we are lucky the mirror should be in

can't get X to dump core

2010-01-22 Thread Max
I'm having Xorg crash problems and I'm trying to create a bug report. I read /usr/xenocara/README and did all the steps to build a debug version of X and a core dump, but /var/crash stays empty. to be more specific, I recently upgraded from 4.6-release where my radeon rs780 igp work great

Re: Sed and GNU-like

2010-01-22 Thread Hugo Villeneuve
On Sat, Jan 23, 2010 at 02:22:36AM +0100, Ingo Schwarze wrote: Hi Marcello, Marcello Cruz wrote on Fri, Jan 22, 2010 at 10:31:18PM -0200: I've read the documentation about sed - sed(8), re_format(7) and /usr/share/doc/usd/15.sed/ - but I still don't realize how to make this command

Re: self educating q

2010-01-22 Thread Marco Peereboom
better than sparc64? On Fri, Jan 22, 2010 at 10:48:40PM -0500, Eric Furman wrote: On Fri, 22 Jan 2010 10:42 +0200, Gregory Edigarov g...@bestnet.kharkov.ua wrote: Hello Everybody, I noticed it very every time that when question about security of OpenBSD risen, at least one message

Re: ath AR5424 support

2010-01-22 Thread Brynet
Luis Henriques wrote: Hi! I finally got tired of not using my wireless card on my laptop and decided to take a look at the code. I compared the ath OpenBSD code with similar drivers on NetBSD and Linux kernels, start adding/correcting the ath code and finally got it to work. I am

Re: self educating q

2010-01-22 Thread J Sisson
On Fri, Jan 22, 2010 at 9:55 AM, Ted Unangst ted.unan...@gmail.com wrote: I think it comes down to x86 doesn't do as much to save you from broken software as some other architectures. This doesn't by itself make it insecure, you need to be running insecure software too. Good thing there's a

SHA256 mismatch on base46.tgz in 20 Jan i386 snapshot

2010-01-22 Thread James Hartley
A quick search in the misc@ archives PR database didn't reveal that anyone has mentioned this before. In installing the 20 January (#511) i386 snapshot, I received a SHA256 mismatch on base46.tgz. Otherwise, the snapshot installs as expected. FYI FWIW. Jim

Re: SHA256 mismatch on base46.tgz in 20 Jan i386 snapshot

2010-01-22 Thread Aaron Stellman
On Fri, Jan 22, 2010 at 10:05:13PM -0800, James Hartley wrote: A quick search in the misc@ archives PR database didn't reveal that anyone has mentioned this before. In installing the 20 January (#511) i386 snapshot, I received a SHA256 mismatch on base46.tgz. Otherwise, the snapshot

Re: acpitz0: _AL0[0] _PR0 failed on intel atom mb

2010-01-22 Thread Paul B. Henson
On Thu, 21 Jan 2010, Brynet wrote: Several BIOS updates appear available for your motherboard as well perhaps one of them will solve the problem Thanks for the pointer, I had the latest when I looked but I guess 04 came out since then. In fact, when I went to download it today, it had already

Re: Disks connected to ahd0 causes boot to fail

2010-01-22 Thread Brynet
Kenneth R Westerback wrote: Being in Australia and confused about what day it is, I should be more precise. Make sure the trees you generate test kernels from have r1.166 or greater of scsi_base.c. That was the last commit from n2k10. And I think that particular diff should fix the Check

Re: Disks connected to ahd0 causes boot to fail

2010-01-22 Thread Brynet
Hi Ken, The SCSI message remains in the January 23rd snapshot. Whoops, that would be the January 20th snapshot. -Bryan