Re: Goodbye to you my file descriptor - take 3

2012-12-30 Thread Otto Moerbeek
On Mon, Dec 31, 2012 at 04:53:15PM +1100, Aaron Mason wrote: > Ok, I just tried freeing NULL, and it did nothing. Granted it was on > a Linux system but still... > Wrong method, Just check the definition of free(3). It is OK to call free(3) on a NULL pointer since C89 at least. -Otto

Re: rsu problem

2012-12-30 Thread Brad Smith
On 12/30/12 00:56, Zoran Kolic wrote: Dongle blinks and the system gives a message: rsu0: could not send site survey command This is a known bug in the driver. It makes the driver essentially unusable. -- This message has been scanned for viruses and dangerous content by MailScanner, and is b

Re: Goodbye to you my file descriptor - take 3

2012-12-30 Thread Ryan McBride
On Mon, Dec 31, 2012 at 04:53:15PM +1100, Aaron Mason wrote: > Ok, I just tried freeing NULL, and it did nothing. Granted it was on > a Linux system but still... free() handles a NULL pointer by doing nothing, and it will behave this way on any posix system compliant system. However, on an OpenBS

Re: Goodbye to you my file descriptor - take 3

2012-12-30 Thread Aaron Mason
Ok, I just tried freeing NULL, and it did nothing. Granted it was on a Linux system but still... I stand by my argument that there's no clear improvement, especially on a modern system. On Mon, Dec 31, 2012 at 4:50 PM, Aaron Mason wrote: > Maxime > > I'm not entirely clear on what you hoped to

Re: Realtek r8712u Wireless Dongle .. OpenBSD 5.2 i386 ..

2012-12-30 Thread Graham Jenkins
> > My /etc/hostname.rsu0 has: > > -- > > dhcp nwid 'Netcomm Wireless 0578' wpakey not_the_real_one > > -inet6 >> -- It should have had: dhcp nwid 'NetComm Wireless 0578' .. Works well now; thanks for your help guys! Graham Jenkins .. 0410-237-171

Re: Goodbye to you my file descriptor - take 3

2012-12-30 Thread Aaron Mason
Maxime I'm not entirely clear on what you hoped to achieve with the diffs below, if anything you're inducing possible segfaults if any of those values are NULL. That aside, I fail to see how this could be construed as any sort of improvement. > Index: pfctl_osfp.c > =

Re: A point about the BSD license I'm feeling edgy about

2012-12-30 Thread Live user
On 31/12/2012 2:06, Martin Schröder wrote: 2012/12/31 Live user: The thing here is that Google has such a good tech that can keep the lead on it, and even if other do that Google gets money because they are a services based company. No. Look at a chinese phone with Andoid and Baidu and tell us

Re: A point about the BSD license I'm feeling edgy about

2012-12-30 Thread Martin Schröder
2012/12/31 Live user : > The thing here is that Google has such a good tech that can keep the lead on > it, and even if other do that Google gets money because they are a services > based company. No. Look at a chinese phone with Andoid and Baidu and tell us where Google gets money for that. Best

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Tobias Ulmer
On Mon, Dec 31, 2012 at 12:28:51AM +, Heptas Torres wrote: > Btw, is anyone working on porting OpenBSD on http://openpandora.org/ ? It's somewhere at the bottom of my todo lists. Support should be mostly there (in beagle).

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Live user
On 31/12/2012 1:32, Johan Ryberg wrote: DNS, dhcp, firewall on a stick, vpn terminator. Sure, it would be more easy if it had 2 interfaces but with VLAN you can do a lot of cool stuff with rbp If you use the model B, besides 512 MB of RAM, you have 2 USB 2.0 ports. You can put a hub on one of

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Heptas Torres
On 12/30/12, mxb wrote: > Any practical usage for this kind of hardware? What do you mean by practical in this context? > I don't see it. Maybe someone can explain it to me? See examples at http://arstechnica.com/information-technology/2012/12/10-raspberry-pi-creations-that-show-how-amazing-the

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Johan Ryberg
DNS, dhcp, firewall on a stick, vpn terminator. Sure, it would be more easy if it had 2 interfaces but with VLAN you can do a lot of cool stuff with rbp // Johan On Dec 30, 2012 11:12 PM, "mxb" wrote: > Any practical usage for this kind of hardware? > I don't see it. Maybe someone can explain i

Re: A point about the BSD license I'm feeling edgy about

2012-12-30 Thread Live user
On 30/12/2012 3:38, Jiri B wrote: My understanding of GPL after a presetantion of a company selling products based on GDL code is that is is also a good for business - if you use GPL you somehow restrict your competitors that use this code in their products without giving their improvements back

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Nuno Magalhães
On Sun, Dec 30, 2012 at 10:12 PM, mxb wrote: > Any practical usage for this kind of hardware? Dependes on your definition of "practical" and "usage". It's got an HDMI port, some use it for streaming at home.

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread mxb
Any practical usage for this kind of hardware? I don't see it. Maybe someone can explain it to me? Sure, probably fun to port an OS other than GNU/Linux, but what kind of duties OpenBSD ev. will do on it? //mxb On 30 dec 2012, at 23:00, Anders Arnholm wrote: > Johan Beisser skrev 2012-12-30 20

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Anders Arnholm
Johan Beisser skrev 2012-12-30 20:49: > On Dec 30, 2012, at 8:31, pe...@bsdly.net (Peter N. M. Hansteen) wrote: > >> A case in point: one of the firewalls I maintain for old friends is a >> Pentium III box with a whopping 512 MB of RAM, 8GB hard drive, you get >> the idea. As in, seriously, you'll

NFS umount on shutdown

2012-12-30 Thread Jan Stary
This is 5.2/i386 client (ibm) on an IBM Thinkpad. It mounts a NFS share from another box (current/amd64). Everything works fine, except when the client shuts down, the NFS handle is still recognized on the (amd64) server. box:~$ showmount -a All mount points on localhost: ibm.stare.cz:/media Is t

Re: A point about the BSD license I'm feeling edgy about

2012-12-30 Thread Diana Eichert
You know, if you are going to edit a list response per chance you should accord quotes correctly. I never wrote anything you referenced below. diana Past hissy-fits are not a predictor of future hissy-fits. Nick Holland(06 Dec 2005) On Sat, 29 Dec 2012, Jiri B wrote: On Sat, Dec 29, 2012 a

Kernel panic with lenovo L420 on -current

2012-12-30 Thread Marc Peters
Hi List, i am seeing kernel panics on a Lenovo L420 on 5.2 and -current from 28th, December. The machine freezes right at boot time, when acpi gets loaded. Disabling acpi in UKC lets the system start. I photographed the ddb, a trace, a ps and produced an acpidump and tarred it together with a dmes

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Johan Beisser
On Dec 30, 2012, at 8:31, pe...@bsdly.net (Peter N. M. Hansteen) wrote: > A case in point: one of the firewalls I maintain for old friends is a > Pentium III box with a whopping 512 MB of RAM, 8GB hard drive, you get > the idea. As in, seriously, you'll get better hardware for free or the > price

Supported PCI express audio devices?

2012-12-30 Thread openbsd2012
Hi, I need to get audio support working with one of Supermicro's Atom mainboards. These do not have onboard sound, but do have one free PCI express slot. This machine will replace an aging Windows XP audio logger at our local community radio station. I'm not having much luck determining if OpenBS

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Johan Ryberg
Since then both FreeBSD and NetBSD are ported to Raspberry Pi so it must be doable. It's too bad I don't have the skills because it would be nice to do this. // Johan On Dec 30, 2012 5:16 PM, "KarlOskar Rikås" wrote: > Okey, I hoped I could run OpenBSD on it. I've always wanted to try OpenBSD >

Re: Locale

2012-12-30 Thread Stefan Sperling
On Sun, Dec 30, 2012 at 12:42:30PM -0300, Matias Moreno Meringer wrote: > Hi there. > > I use mutt in a xterm to check my emails. I speak spanish, so have a > lot of emails in that language. Problem is because mutt doesn't > display regional character properly, neither others console based > appli

Re: ext2fs read errors

2012-12-30 Thread Martijn van Duren
Juan Francisco Cantero Hurtado schreef op zo 30-12-2012 om 19:26 [+0100]: > On Sun, Dec 30, 2012 at 05:46:54PM +0100, Martijn van Duren wrote: > > Martijn van Duren schreef op zo 30-12-2012 om 17:15 [+0100]: > > > I also found an old threat[1] where they say they have a patch for > > > accessing ex

Re: ext2fs read errors

2012-12-30 Thread Juan Francisco Cantero Hurtado
On Sun, Dec 30, 2012 at 05:46:54PM +0100, Martijn van Duren wrote: > Martijn van Duren schreef op zo 30-12-2012 om 17:15 [+0100]: > > I also found an old threat[1] where they say they have a patch for > > accessing ext2 partitions with a different inodesize then 128, although > > I can't find any i

vnd and softraid panic

2012-12-30 Thread Eivind Evensen
Hello. Trying to play around a bit with softraid using vnd reliably results in a panic when assembling the raid volume. I think the first time I tried this was around 4.9 so it's not something new. While the combination of vnd and softraid may not be useful for any real purpose, I noticed this wh

Re: Locale

2012-12-30 Thread Christian Weisgerber
Peter Hessler wrote: > export LC_CTYPE="en_US.UTF-8" > in my .xinitrc / .xsession tells programs To Do The Right Thing. > Of course, not everything supports UTF8, so your milage may vary. If Matias is only concerned about Spanish, LC_CTYPE=en_US.ISO8859-1 might be better advice, in particular si

Invalid acpi PSS on old Dell laptop

2012-12-30 Thread Mike Williams
Hi, I have installed 5.2-release on an old Latitude C640 and the dmesg reports the following (full dmesg attached): ... acpicpu0 at acpi0acpicpu0: struck PSS entry, core frequency equals last acpicpu0: struck PSS entry, core frequency equals last acpicpu0: invalid _PSS length : C2 ... And yes

Re: Locale

2012-12-30 Thread Matias Moreno Meringer
Peter Hessler wrotes: > export LC_CTYPE="en_US.UTF-8" > > in my .xinitrc / .xsession tells programs To Do The Right Thing. > > Of course, not everything supports UTF8, so your milage may vary. Was able to fix the problems exporting LC_CTYPE to es_ES.ISO8859-15. I don't use X at all, so append it

Re: ext2fs read errors

2012-12-30 Thread Martijn van Duren
Martijn van Duren schreef op zo 30-12-2012 om 17:15 [+0100]: > I also found an old threat[1] where they say they have a patch for > accessing ext2 partitions with a different inodesize then 128, although > I can't find any information of what ever happened with that patch. > On some further invest

Re: ext2fs read errors

2012-12-30 Thread Peter Hessler
On 2012 Dec 30 (Sun) at 16:26:01 +0100 (+0100), Martijn van Duren wrote: :Jan Stary schreef op zo 30-12-2012 om 15:36 [+0100]: :> > > > > > When moving these files over via nfs the problem doesn't occur and the :> > > > > > files are saved correctly on my ffs partition. :> > > > > :> > > > > That

Re: Locale

2012-12-30 Thread Peter Hessler
export LC_CTYPE="en_US.UTF-8" in my .xinitrc / .xsession tells programs To Do The Right Thing. Of course, not everything supports UTF8, so your milage may vary. Mutt *does*, as does xterm, ssh, and tmux (my preferred combination for reading mails). If you want to write UTF8 chars and have them

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Peter N. M. Hansteen
KarlOskar Rikås writes: > Okey, I hoped I could run OpenBSD on it. I've always wanted to try OpenBSD > but never had a computer over. If trying out and poking around a bit is the main idea, just get hold of some old x86 or amd64 hardware somebody else is throwing out. (or even SPARC, but spare p

Re: cvs up failing on -current

2012-12-30 Thread Chris Smith
That works fine. Thanks! On Sat, Dec 29, 2012 at 7:47 PM, Philip Guenther wrote: > Whoops, the obj directory got added to cvs. It'll cause problems for > "cvs up -d" until we can verify that the mirrors won't be broken when > we remove it. For you, for now, the following steps should fix your >

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread KarlOskar Rikås
Okey, I hoped I could run OpenBSD on it. I've always wanted to try OpenBSD but never had a computer over. Thanks.

Re: ext2fs read errors

2012-12-30 Thread Martijn van Duren
Kevin Chadwick schreef op zo 30-12-2012 om 15:37 [+]: > On Sun, 30 Dec 2012 15:36:39 +0100 > Jan Stary wrote: > > > > This should not be an issue (this is also my response to Rogier). > > > Ext3 is nothing more than ext2 with extra journaling features > > > enabled, > > > > So in particula

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Tobias Ulmer
On Sun, Dec 30, 2012 at 05:01:23PM +0100, KarlOskar Rikås wrote: > Hi, I wonder if it's possible to run OpenBSD on Raspberry Pi. > > Is there any image ready for putting on my SD card and boot up? If not, is > there any manual or guide how to make one? No it's not possible and there are no plans

Re: Running OpenBSD on Raspberry Pi

2012-12-30 Thread Peter N. M. Hansteen
KarlOskar Rikås writes: > Hi, I wonder if it's possible to run OpenBSD on Raspberry Pi. > > Is there any image ready for putting on my SD card and boot up? If not, is > there any manual or guide how to make one? To the best of my knowledge, no such thing exists. And as a web search on the obv

Running OpenBSD on Raspberry Pi

2012-12-30 Thread KarlOskar Rikås
Hi, I wonder if it's possible to run OpenBSD on Raspberry Pi. Is there any image ready for putting on my SD card and boot up? If not, is there any manual or guide how to make one? Thanks.

Re: ext2fs read errors

2012-12-30 Thread Kevin Chadwick
On Sun, 30 Dec 2012 15:36:39 +0100 Jan Stary wrote: > > This should not be an issue (this is also my response to Rogier). > > Ext3 is nothing more than ext2 with extra journaling features > > enabled, > > So in particular, the ext3 inode structure > is precisely the ext2 inode structure? I kn

Locale

2012-12-30 Thread Matias Moreno Meringer
Hi there. I use mutt in a xterm to check my emails. I speak spanish, so have a lot of emails in that language. Problem is because mutt doesn't display regional character properly, neither others console based applications (like emacs). Can you point me to the right doc to check? Did a few searche

Re: ext2fs read errors

2012-12-30 Thread Martijn van Duren
Jan Stary schreef op zo 30-12-2012 om 15:36 [+0100]: > > > > > > When moving these files over via nfs the problem doesn't occur and > > > > > > the > > > > > > files are saved correctly on my ffs partition. > > > > > > > > > > That (or scp) is how I always copied files > > > > > from one FS/OS/ar

Re: ext2fs read errors

2012-12-30 Thread Jan Stary
> Nobody is offering ext3 as a mountable filesystem on OpenBSD. http://www.openbsd.org/faq/faq8.html#Journaling http://www.openbsd.org/faq/faq14.html#foreignfs

Re: rsu works (was: rsu problem)

2012-12-30 Thread Peter N. M. Hansteen
Zoran Kolic writes: > Definitelly, rsu does not like hidden ssid. Next, confi- > guration file has to be set in this manner: > > less /etc/hostname.rsu0 > inet 192.168.1.101 #put your static IP > nwid ssid wpakey pass > > Notice two lines. First one sets ip, which should work > fine

Re: rsu works (was: rsu problem)

2012-12-30 Thread Peter Hessler
On 2012 Dec 30 (Sun) at 15:34:51 +0100 (+0100), Zoran Kolic wrote: :If one installs firmware and gets output with: : :ifconfig rsu0 scan : :he/she is on the road to succeed. :Since openbsd is not my primary OS, I had some strange :surprises. Finally, it all went fine. :Definitelly, rsu does not lik

rsu works (was: rsu problem)

2012-12-30 Thread Zoran Kolic
If one installs firmware and gets output with: ifconfig rsu0 scan he/she is on the road to succeed. Since openbsd is not my primary OS, I had some strange surprises. Finally, it all went fine. Definitelly, rsu does not like hidden ssid. Next, confi- guration file has to be set in this manner: le

Re: ext2fs read errors

2012-12-30 Thread Jan Stary
> > > > > When moving these files over via nfs the problem doesn't occur and the > > > > > files are saved correctly on my ffs partition. > > > > > > > > That (or scp) is how I always copied files > > > > from one FS/OS/arch to a completely different FS/OS/arch. > > > > > > > And my point isn't t

Re: ext2fs read errors

2012-12-30 Thread Martijn van Duren
Jan Stary schreef op zo 30-12-2012 om 13:49 [+0100]: > > > > Other programs trying to operate on these files via ext2fs also fail > > > > with the same notion, (e.g. md5). And extracting these files from a > > > > tarball also result in the same error. > > > > > > What tarball? > > > > I also tri

Re: 5.2 vs 5.1

2012-12-30 Thread Kenneth R Westerback
On Sun, Dec 30, 2012 at 09:01:41AM +, J Boehm wrote: > I have recently tried out 5.2 on a slightly dated hardware (nvidia based, > Athlon, 500MB Ram). Working with Seamonkey or Xombrero seems to be slow, > pages load reluctantly in 5.2. Videos on Youtube are almost impossible to > view. I tried

Re: ext2fs read errors

2012-12-30 Thread Rogier Krieger
On Sun, Dec 30, 2012 at 12:54 PM, Martijn van Duren wrote: > Jan Stary schreef op zo 30-12-2012 om 12:24 [+0100]: >> On Dec 30 10:43:00, m.vandu...@jonker.nl wrote: >> > I'm migrating my data from an ext3 partition [...] > That is correct. And I mounted it mount_ext2fs /dev/wd0i /mnt. Why would

Re: ext2fs read errors

2012-12-30 Thread Jan Stary
> > > Other programs trying to operate on these files via ext2fs also fail > > > with the same notion, (e.g. md5). And extracting these files from a > > > tarball also result in the same error. > > > > What tarball? > > I also tried placing the "corrupted" files in a tarball under Debian to > see

Re: ext2fs read errors

2012-12-30 Thread Martijn van Duren
Jan Stary schreef op zo 30-12-2012 om 12:24 [+0100]: > On Dec 30 10:43:00, m.vandu...@jonker.nl wrote: > > I'm migrating my data from an ext3 partition (formatted under Debian > > 6.0, sparc64) to my new i386 OBSD system. > > You need to give more detail. You installed an i386 obsd machine, > and

Re: ext2fs read errors

2012-12-30 Thread Jan Stary
On Dec 30 10:43:00, m.vandu...@jonker.nl wrote: > I'm migrating my data from an ext3 partition (formatted under Debian > 6.0, sparc64) to my new i386 OBSD system. You need to give more detail. You installed an i386 obsd machine, and did what? Took an ext3fs disk out of a Debian sparc64 machine, pu

5.2 vs 5.1

2012-12-30 Thread J Boehm
I have recently tried out 5.2 on a slightly dated hardware (nvidia based, Athlon, 500MB Ram). Working with Seamonkey or Xombrero seems to be slow, pages load reluctantly in 5.2. Videos on Youtube are almost impossible to view. I tried changing settings in pf, cache, network cards etc but had to go

Re: Various system freeze

2012-12-30 Thread epsilon
On Sun, Dec 30, 2012 at 12:05:50AM -0800, Philip Guenther wrote: > > Shout at me, but the magic key mentioned in the manpage is ctrl+c on > > i386, right? > No. Try the second and third paragraphs of "man ddb". Thanks. Got it! I will report as soon as the freeze occured again. > If it *ever* fro

ext2fs read errors

2012-12-30 Thread Martijn van Duren
Hello misc, I'm migrating my data from an ext3 partition (formatted under Debian 6.0, sparc64) to my new i386 OBSD system. When copying I found out that some files weren't copied correctly and returned the error: "read error: Invalid argument". The files are usable when mounting the disk under i3

Re: Various system freeze

2012-12-30 Thread Philip Guenther
On Sat, Dec 29, 2012 at 9:30 AM, epsilon wrote: > On Sat, Dec 29, 2012 at 04:10:05AM -0800, Philip Guenther wrote: >> Your case, as far as you described it, is not the same as frantisek holop's. > > Right. Not totally the same. But some similarities. The _value_ of finding something in common i