Re: Kernel Debugging

2012-12-26 Thread Luis Useche
I just tried today and I couldn't build it either. But the following simple patch fixed it for me: diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c index 8b64fa3..825b72e 100644 --- a/sys/ddb/db_run.c +++ b/sys/ddb/db_run.c @@ -51,8 +51,6 @@ db_breakpoint_t db_taken_bkpt = 0; int

Re: OpenBSD on GitHub

2012-08-04 Thread Luis Useche
You don't have to ask permission to anyone to do whatever you want with the OpenBSD code. If you can create a github account that reliably mirror OpenBSD's commits, I think some people would be interested. For what is worth, there is already a git repository that follows OpenBSD: http://anoncvs.es

Re: Following -current through a semi-automatic process: a strategy for encouraging user involvement?

2012-06-19 Thread Luis Useche
On Tue, Jun 19, 2012 at 11:00 PM, Ted Unangst wrote: > On Tue, Jun 19, 2012 at 21:41, eagir...@cox.net wrote: > >> What may be a slightly faster method of tracking close to current: >> >> http://www.tedunangst.com/snapper.html >> >> I haven't used it in a while, because I used to build the kernel

nginx tmp

2012-05-07 Thread Luis Useche
Hi Guys, I was just trying to start nginx on the last snapshot and it was failing with this message: 2012/05/07 14:46:03 [emerg] 29247#0: mkdir() "tmp/client_body_temp" failed (2: No such file or directory) I fixed it by creating the directory /var/www/tmp/ I don't know if it was something I mi

mplayer problems

2011-11-30 Thread Luis Useche
Hi Guys, Is anyone having problems lately with mplayer? After my last update of packages mplayer alternates between these two errors: (0)$ mplayer mplayer: can't load library 'liborc-0.4.so.4.0' (0)$ mplayer mplayer: can't load library 'libenca.so.0.0' I also tried to compile from ports without

Re: Single Stepping Process in Kernel

2011-11-27 Thread Luis Useche
On Sun, Nov 27, 2011 at 4:42 PM, Philip Guenther wrote: > On Sun, Nov 27, 2011 at 9:19 AM, Luis Useche wrote: > ... >> The idea is to create this temporary mapping after we make sure the >> access was valid but the page was not in memory. > ... >> I am not proposing

Re: Single Stepping Process in Kernel

2011-11-27 Thread Luis Useche
On Sun, Nov 27, 2011 at 4:14 AM, Philip Guenther wrote: > On Sat, Nov 26, 2011 at 10:25 PM, Luis Useche wrote: >> On Sat, Nov 26, 2011 at 7:31 PM, Ted Unangst wrote: >>> On Sat, Nov 26, 2011, Luis Useche wrote: >>>> For a project I need to single step a user spac

Re: Single Stepping Process in Kernel

2011-11-26 Thread Luis Useche
On Sat, Nov 26, 2011 at 7:31 PM, Ted Unangst wrote: > On Sat, Nov 26, 2011, Luis Useche wrote: >> For a project I need to single step a user space process while >> executing the fault handler. I was thinking that probably ddb single >> stepping can be reused but this is proba

Single Stepping Process in Kernel

2011-11-26 Thread Luis Useche
Hi Guys, For a project I need to single step a user space process while executing the fault handler. I was thinking that probably ddb single stepping can be reused but this is probably for kernel single stepping only. How about ptrace? Any ideas on this? Thanks for the help, Luis.

Re: State of Intel HD GPU (HM55) - or how it will do on HP's Pavilion DM4

2011-09-09 Thread Luis Useche
My intel hd graphics works fine on a Dell Latitude 13. In any case, my suggestion will be to install OpenBSD on a USB key and boot it to see what happens. Luis. On Fri, Sep 9, 2011 at 12:16 PM, Matej D=ach wrote: > Good day, > > I am considering switch from Linux to OpenBSD, but I am a bit conc

Package mirrors

2011-08-09 Thread Luis Useche
Hi Guys, Is there something going on with the package mirrors? They are empty :S Thanks, Luis. luis@meg:~ $ ftp ftp://openbsd.mirror.frontiernet.net/pub/OpenBSD/snapshots/packages/amd64/ Connected to openbsd-mirror01.roch.ny.frontiernet.net. 220- =

Re: i386 or amd64?

2011-08-05 Thread Luis Useche
If I'm not mistaken, i386 does not support more that 3GB of memory. amd64 bumped this number recently and machines with big amount of RAM available can use all its memory. Luis. On Fri, Aug 5, 2011 at 2:43 PM, System Administrator wrote: > Looking to build a firewall for a fairly busy (25+mb) si

Re: different nwkeys for wifi

2011-07-10 Thread Luis Useche
I use the following perl script below. I saved it in /etc/rc.wireless and apply the following patch: --- netstartFri Jul 8 15:34:09 2011 +++ /etc/netstart Sun Jul 10 11:43:20 2011 @@ -255,6 +255,8 @@ ip6kernel=NO fi +#wifi +/etc/rc.wireless # Configure all the non-loopback i

Re: TRIM and RAID

2011-07-08 Thread Luis Useche
On Fri, Jul 8, 2011 at 10:29 AM, Ted Unangst wrote: > On Fri, Jul 08, 2011, Luis Useche wrote: >> Hi Guys, >> >> I saw that Ted recently submitted a patch to support the TRIM >> operation in FFS. I was wondering if this TRIM can be used to signal >> softraid

TRIM and RAID

2011-07-08 Thread Luis Useche
Hi Guys, I saw that Ted recently submitted a patch to support the TRIM operation in FFS. I was wondering if this TRIM can be used to signal softraid what blocks are in use or not and reduce the reconstruction time. I think this could also help to some other optimizations. Any thoughts? Luis.

Re: Xorg sucking CPU

2011-05-27 Thread Luis Useche
On Fri, May 27, 2011 at 2:30 PM, Luis Useche wrote: > Hi Amit, > > Thanks for the response. > > On Fri, May 27, 2011 at 11:15 AM, Amit Kulkarni wrote: >>> I just realized I am having exactly the same problem described in this >>> thread: >>> >>>

Re: Xorg sucking CPU

2011-05-27 Thread Luis Useche
Hi Amit, Thanks for the response. On Fri, May 27, 2011 at 11:15 AM, Amit Kulkarni wrote: >> I just realized I am having exactly the same problem described in this >> thread: >> >> http://marc.info/?l=openbsd-misc&m=127601909229979&w=2 >> >> In my case, I also see an error: >> >> mtrr set failled

Re: Xorg sucking CPU

2011-05-27 Thread Luis Useche
t worked fine for me. This problem showed up in recent versions. Any suggestion? Thanks, Luis. On Thu, May 26, 2011 at 8:38 PM, Luis Useche wrote: > Hi Guys, > > Recently, after my last update with bluesnapper on amd64, I have been > seeing a high CPU utilization of the Xorg process. I d

Xorg sucking CPU

2011-05-26 Thread Luis Useche
Hi Guys, Recently, after my last update with bluesnapper on amd64, I have been seeing a high CPU utilization of the Xorg process. I don't know if it is normal, but top report Xorg to be constantly on 30 or 40% and some times it can go up to even 70 or 80%. I was wondering if this is normal. What a

Re: cpu performance counters (cache hit/miss etc)

2011-04-27 Thread Luis Useche
Unless already fixed, I remember this didn't work very well with SMP kernels. If you have problems try to use bsd.sp. Luis. On Tue, Apr 26, 2011 at 9:16 PM, Philip Guenther wrote: > On Tue, Apr 26, 2011 at 5:00 PM, David Steiner > wrote: >> is there a convenient way to display CPU cache statist

MacBook pro compatibility

2011-03-04 Thread Luis Useche
Hi Guys, I was wondering if anybody is using the last macbook pro with OpenBSD. They come with an intel or ati video device now which I guess make it more compatible. My main concern was about the wireless net device. I think it comes with a broadcom by default that, as far as I know, is not suppo

AHCI configuration delay

2011-02-23 Thread Luis Useche
Hi Guys, Today I installed a new machine with an ahci sata controller. When the machine is booting, during the configuration of the ahci driver, the kernel has a delay of aproximately 30 seconds. During this time, the disk led is constantly blinking. Then, the driver prints two messages of "PHY of

Re: Tracking What it's changing in current

2011-02-21 Thread Luis Useche
On Mon, Feb 21, 2011 at 2:31 PM, Ted Unangst wrote: > On Mon, Feb 21, 2011 at 10:08 AM, Luis Useche wrote: > > I would love this feature in OpenBSD src list. Is it possible to use the > > activitymail script on the OpenBSD CVS repo? > > seems like a serious waste of ba

Re: Tracking What it's changing in current

2011-02-21 Thread Luis Useche
I would love this feature in OpenBSD src list. Is it possible to use the activitymail script on the OpenBSD CVS repo? Luis. On Thu, Feb 17, 2011 at 1:59 PM, Andres Perera wrote: > On Thu, Feb 17, 2011 at 2:05 PM, Dan Brosemer > wrote: > > On Thu, Feb 17, 2011 at 09:01:20AM -0600, Marco Peerebo

Re: Tracking What it's changing in current

2011-02-16 Thread Luis Useche
One thing I would really like to see is the diffs of every commit. This is available for DragonflyBSD for instance. Is there a way to find this on OBSD? Luis. On Tue, Feb 15, 2011 at 11:27 AM, Adriaan wrote: > On Tue, Feb 15, 2011 at 5:53 PM, Orestes Leal R. > wrote: > > I need to see (with a

Re: Shutdown option in gnome-session

2011-01-09 Thread Luis Useche
Perhaps you have to uncomment the next line from visudo: # %users localhost=/sbin/shutdown -h now Luis On Sun, Jan 9, 2011 at 9:49 PM, dave shar wrote: > Hi, > > I have installed kde3 and gnome2 on my box. I use kdm to load desktop > sessions. There is no shutdown option available in gnome-se

Re: USB Keyboard problem

2011-01-05 Thread Luis Useche
I just tried with a bsd.rd from a snapshot and the USB does work fine. I guess this was solved long before I found the problem. Thanks. Luis. On Wed, Jan 5, 2011 at 4:22 PM, Ted Unangst wrote: > On Wed, Jan 5, 2011 at 3:51 PM, Luis Useche wrote: > > This is a more complete dmesg. He

Re: USB Keyboard problem

2011-01-05 Thread Luis Useche
t uhidev2: 5 buttons, Z dir wsmouse1 at ums1 mux 0 uhidev3 at uhub5 port 2 configuration 1 interface 0 "Dell Dell USB Keyboard" rev 1.10/3.06 addr 5 uhidev3: iclass 3/1 ukbd1 at uhidev3: 8 modifier keys, 6 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 On Wed, Jan 5, 2011 at 3:3

USB Keyboard problem

2011-01-05 Thread Luis Useche
Hi Guys, I installed a new machine with OBSD 4.8. For some reason, when I disconnect the USB keyboard and connect it again, it does not work anymore. Moreover, when I connected on some specific USB sockets it works again. Any clue of what could be happening? Thanks, Luis OpenBSD 4.8 (GENERIC.MP)

Re: Memory results

2011-01-03 Thread Luis Useche
Using amd64 instead of i386 will give you more memory. Additionally, you should look for "bigmem" in the archivals if the previous solution is not enough. Luis. On Mon, Jan 3, 2011 at 9:07 AM, jin&hitman&Barracuda wrote: > Hi. > I have a problem in computer memory results. > My computer has got

Re: reboot command doesn't work

2010-12-31 Thread Luis Useche
I dont know if it helps but have you tried setting machdep.apmhalt=1? Luis. On Fri, Dec 31, 2010 at 9:23 AM, netmgr7 wrote: > Sorry, my subject line should have been more specific. > > Yes, I should have mentioned that I have tested reboot command with VMWare > and Virtualbox virtual machin

Re: removing unneeded package dependencies

2010-12-27 Thread Luis Useche
I recently submitted a patch to do this. I haven't received much feedback but check if it works for you. http://marc.info/?l=openbsd-tech&m=129320921012808&w=2 Luis On Mon, Dec 27, 2010 at 9:35 AM, Dmitrij D. Czarkoff wrote: > Hello! > > I use a custom script to remove automaticly installed dep

iso to usb installer script

2010-12-24 Thread Luis Useche
Hi Guys, I have heard a couple of times in this list about the problem of how to convert from iso to usb installer. I made one small script to do this conversion that I use myself and perhaps is useful to others. Assuming your usb key was attached in sd1, you should call the script as: ./iso2usb

Accessing Invalid Physical Address

2010-12-15 Thread Luis Useche
Hi Guys, This is not very related to OpenBSD but perhaps somebody can help me from this list. I need to find what happen when an invalid physical address is accessed from the kernel for a small project I am doing. My guess is that it will trigger some kind of exception trapped by the kernel. I tr

bce and Broadcom BCM4401B1

2010-11-20 Thread Luis Useche
Hi Guys, OBSD 4.8 was unable to set up my Broadcom BCM4401B1. What is interesting is that when I tried with OBSD 4.7 the bce set up the interface with no problem. Here there are the two dmesg: OpenBSD 4.7 (RAMDISK_CD) #353: Wed Mar 17 21:02:53 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/a

iostat and more than one core

2010-11-17 Thread Luis Useche
Hi Guys, Doing a small disk benchmark in my laptop with dd, I found that dd and iostats were reporting different numbers. To be precise, iostat was returning half of the MB/sec than dd (24.5 vs 49 MB/sec). Digging a bit on the iostat code, I realized that the "struct _disk" cpu time was returning

Re: High Resolution Timer

2010-10-09 Thread Luis Useche
in Linux uses hpet. The problem of using busy loop is that the CPU should be free for the benchmark I want to run. In case it is relevant, the machine is an AMD Opteron with nVidia motherboard. Luis. On Sat, Oct 9, 2010 at 2:40 AM, Philip Guenther wrote: > On 9/29/10, Luis Useche wrote: &g

Re: Wireless Network GUI

2010-10-07 Thread Luis Useche
I would also prefer a console based approach. I think it is not a good idea to do it for one single windows manager. Anyway, Arch Linux has a very nice console based network connection manager in case anybody is looking for ideas: http://wiki.archlinux.org/index.php/Netcfg Luis. 2010/10/7 Guilla

High Resolution Timer

2010-09-29 Thread Luis Useche
Hi Guys, I need to read a performance monitoring counter (RDPMC) every 100 microseconds or so. I found a way to do this on linux using the normal getitimer library. However, the resolution of this timer in OBSD is 10 milliseconds. Do you know a way to have a higher resolution of the timer in OBSD?

Re: OpenBSD Dell Latitude E6500 built in wireless

2010-09-14 Thread Luis Useche
I had that problem before. I bought and install an intel card and problem solved. Luis. On Tue, Sep 14, 2010 at 4:14 AM, James Peltier wrote: > Anyone using the Dell Latitude E6500 with the built in Broadcom wireless > adaptor? I see that marco@ mentions he owns a E6500 here > > http://www.mai

Re: Is there anything I can use in place of MATLAB on OpenBSD?

2010-09-03 Thread Luis Useche
octave may work. You can install it from ports. Luis. On Sat, Sep 4, 2010 at 1:20 AM, Siju George wrote: > Hi, > > Is there anything I can use in place of MATLAB on OpenBSD? > > http://www.mathworks.com/products/matlab/ > > even at least through Linux emulation? > Looking for a free Alternative

Pragmatics of Following current

2010-08-19 Thread Luis Useche
Hi Guys, I have been meaning to follow current for a couple of weeks now. I read the "Building Sources" page and it seems like I should follow the process of: cvs up src xenocara ports -> compile -> install, where install includes merging of configuration files. Moreover, I should also keep an eye

Re: Battery update frequency

2010-08-09 Thread Luis Useche
I tried today's (August 9th) snapshot and the problems is gone. Thanks, Luis. On Sun, Jul 25, 2010 at 4:38 AM, Peter Hessler wrote: > There was a fix for this very recently, please update to a snapshot or > -current. > > On 2010 Jul 24 (Sat) at 12:04:56 -0700 (-0700), Luis Us

Battery update frequency

2010-07-24 Thread Luis Useche
HI Guys, I have a Dell Inspiron 1420 laptop where I am using OpenBSD. My problem is that the battery status is not updated frequently enough. It is updated when the machine boots and when less than 10% of the battery is remaining. I was wondering if this is the expected behavior. I check apm and

Re: Dynamic Tracing

2010-07-06 Thread Luis Useche
On Tue, Jul 6, 2010 at 2:52 AM, Edd Barrett wrote: > On Sat, Jul 03, 2010 at 12:26:14AM -0700, Luis Useche wrote: > > Hi Guys, > > > > I googled this a bit but I couldn't find anything. I just want to check > if > > there is a dynamic tracing tool for OpenB

Dynamic Tracing

2010-07-03 Thread Luis Useche
Hi Guys, I googled this a bit but I couldn't find anything. I just want to check if there is a dynamic tracing tool for OpenBSD. Similar tools are kprobes for Linux or DTrace for Solaris. Thanks in advance, Luis.

OpenBSD disk scheduler

2010-05-02 Thread Luis Useche
Hi Guys, Reading some archives, I found people saying that OpenBSD has no disk scheduler. My first question is: is this true? If so, what is the reason? Is it technical or there are no resources for this? Thanks in advance, Luis.

pkg_add looping bug

2010-04-19 Thread Luis Useche
(Sorry if you received this email before with the wrong FROM address) Hi Guys, Today I decided to give -current a try and probably find some bugs. I hit my first bug when I was updating my packages. For some reason, pkg_add start consuming full CPU and there was no progress. I re-ran pkg_add wi

Re: softraid video

2010-04-19 Thread Luis Useche
On Mon, Apr 19, 2010 at 12:18 PM, Paul Irofti wrote: > See first post for all videos: > http://undeadly.org/cgi?action=article&sid=20100322204337 > > The softraid one: > http://ustream.vo.llnwd.net/pd2/0/1/5/5430/5430117/1_3201831_5430117.flv > OK. Cool. I didn't see that one. Sorry for the nois

softraid video

2010-04-19 Thread Luis Useche
Hi Guys, I am trying to watch the softraid video of the asiabsdcon 2010 in ustream with no luck. I don't have flash (I am on a OpenBSD box). Do any of you have any trick to download the videos from this site. Alternatively, you can also point me to a place with the asiabsdcon in a non-flash format

Re: Generic Discuss about CPU resource scheduling

2010-04-18 Thread Luis Useche
I don't think there is a way the operating system can detect how long is going to last some particular process. Not even the compiler can do this. This makes me remember of Turing's proof where there is no way to compute if a program will terminate at some point or not. Just my two cents. Luis.

Re: problem with microsoft arc mouse

2010-03-19 Thread Luis Useche
I had a similar problem a couple of months back. At the end, I decided to buy another mouse (Logitech). In case it is helpful, this is the archival of the mail thread: http://marc.info/?l=openbsd-misc&m=124864549827787&w=2 Luis On Fri, Mar 19, 2010 at 2:29 PM, Benoit Chesneau wrote: > Hi, > > To

Re: Mini PCI Wireless Card

2010-01-11 Thread Luis Useche
I'm using an Intel PRO/Wireless 3945ABG successfully. Luis On Mon, Jan 11, 2010 at 9:25 PM, Benjamin Adams wrote: > Anyone know a good card with 4.6 support? > Thanks > > Ben

Re: pkg_clean: a utility to remove Lola packages

2009-12-28 Thread Luis Useche
This sounds very similar to a patch I wrote for pkg_delete some time back. The new added -r option seems to offer the same functionality you are proposing here. In case this is useful for you somehow, I wrote a complete page about it: http://users.cis.fiu.edu/~lusec001/moin.cgi/Software/OBSD_Recur

Re: asynchronous I/O

2009-12-04 Thread Luis Useche
Iguess the short answers is that it is not implemented and probably it won't. There are certain applications that would certainly benefit from aio. The one I can think of (it is the one I use the most) is I/O trace replay. But I am sure that there are plenty of applications that can benefit from t

Re: asynchronous I/O

2009-12-04 Thread Luis Useche
On Fri, Dec 4, 2009 at 12:07 AM, Ted Unangst wrote: > On Thu, Dec 3, 2009 at 11:47 PM, Dope Ice Apollyon the Third > wrote: >> On Thu, Dec 3, 2009 at 10:57 PM, Luis Useche wrote: >>> Hi Guys, >>> >>> I have been looking for information on how to do asy

asynchronous I/O

2009-12-03 Thread Luis Useche
Hi Guys, I have been looking for information on how to do asynchronous I/Os in OBSD with no luck. The only thing I have found so far is the O_ASYNC flag in the fcntl syscall. I couldn't find any manual that talks about this. Is this functionality included in OBSD?. If so, where can I find informat

Re: Audio seems correct but it doesn't sound (azalia)

2009-11-22 Thread Luis Useche
Hi Jacob, You sent me this patch a couple of months ago. After I upgraded my system to 4.6 I had the same problem as before. After I tried to apply this patch I realized that the file is different now. I made the appropriate changes and now the sound works again. Here is the new patch. --- dev/pc

Re: kern.bufcachepercent

2009-11-04 Thread Luis Useche
s46.html you are looking at - but that > text doesnt' appear in any version I look at. > > Of course it is in the cvs commit log, but that's not the same thing. > That same commit was backed out before 4.6 - and has since gone back > into current. > > 2009/11/4 Luis Usec

Re: kern.bufcachepercent

2009-11-04 Thread Luis Useche
On Tue, Nov 3, 2009 at 11:44 PM, Bob Beck wrote: > 2009/11/3 Luis Useche : > >> >> I read in the 4.6 changelog that his was part of the release. >> >> Am I missing something? Do I have to recompile? Or this is just a bug? > > Yeah you are missing something. Li

kern.bufcachepercent

2009-11-03 Thread Luis Useche
Hi Guys, Today I watched the presentation by Bob Beck about the OpenBSD VFS hacking where he talked about the buffer cache and how it recently changed (among many other things). Following his advice, I tried to increase my buffer cache size with no success. The commands I am running: $ sysctl ker

mmap'ing to address 0x0

2009-10-09 Thread Luis Useche
Hi Guys, I was reading some information that indicated that letting user process to map to address 0x0 can exploit some kernel NULL-pointer bugs. I checked how different operating systems mitigate this problem and I found information about Linux and FreeBSD. I was trying to find the same informati

Re: SSD performace

2009-09-12 Thread Luis Useche
Luis On Fri, Sep 11, 2009 at 10:51 PM, Ted Unangst wrote: > On Fri, Sep 19, 2008 at 1:11 AM, Aaron Stellman wrote: >> Since the prices on SSD are falling I'm thinking about aquiring one. >> Before I do that however, I'd like to see some quantified benchmarks. >> I'd really appreciate if anyone

Re: OpenBSD hacking

2009-09-11 Thread Luis Useche
On Fri, Sep 11, 2009 at 4:29 AM, Edd Barrett wrote: > On Thu, Sep 10, 2009 at 4:32 PM, Luis Useche wrote: >> Edd: I haven't seen anything like a snapshot in FFS. I think snapshots >> come really unnatural to FFS-like file systems. > > NetBSD and FreeBSD have them :)

Re: OpenBSD hacking

2009-09-10 Thread Luis Useche
Thank you all for your suggestions. I will respond by names. Jesus: I sent this email to this list because is the only contact I know to the OBSD developers. Are there other list more appropriate for my question? Claudio: I don't think FS2 assumptions are completely out-dated. If this were true,

Re: mutt: xterm_title conf var

2009-09-10 Thread Luis Useche
I don't know if this solve your problem or you already did this, but you need to set the xterm in order to have colors for manuals or vim. Read from FAQ "How do I get color man pages on XTerm?". Luis On Thu, Sep 10, 2009 at 3:43 AM, Bernd 'Siggy' Brentrup wrote: > Hi List, > > I'm absolutely n

OpenBSD hacking

2009-09-09 Thread Luis Useche
Hi Guys, I am having some time free soon and I feel like doing some hacking in the OpenBSD kernel. I would like to work in the I/O stack. I would prefer something easy to do to get introduced to the kernel. I was thinking on implementing a simplified version of FS2 (http://citeseerx.ist.psu.edu/sh

Re: printer problem

2009-08-21 Thread Luis Useche
Don't you need a filter for your printer? In my case, my /etc/printcap looks something like: lp|home:\ :lp=/dev/ulpt0:\ :af=/etc/foomatic/HP-DeskJet_F4100-hpijs.ppd:\ :if=/usr/local/bin/foomatic-rip:\ :sd=/var/spool/output:\ :lf=/var/log/lpd-errs: With the

Re: Delete packages with dependencies

2009-08-19 Thread Luis Useche
Do I have to do something else here? It seems like this discussion cooled down a bit. Is the patch in review? Is the patch been considered for inclusion? Are there any changes I can do to make more suitable for inclusion? I don't exactly how these things work and if I followed the regular path to s

Re: Books on File Systems and File System Programming

2009-08-13 Thread Luis Useche
relevant to what you are looking for. In case you are interested in books for other operating systems, Linux has a couple as well: "Understanding the Linux Kernel" "Linux kernel development" by Love Hope this helps. Luis Useche use...@gmail.com On Thu, Aug 13, 2009 at 9:11 A

AHCI and NCQ

2009-08-12 Thread Luis Useche
river does not say much either. Thanks in advance, Luis Useche use...@gmail.com

Re: Delete packages with dependencies

2009-08-08 Thread Luis Useche
ll not remove those packages as dependency of other. This looks a like a 'hack' and not elegant but if you think of the 'manual installed' bit more as 'used by the user' (as opposed to 'used as dependency to a software') this makes more sense. Luis. On Sat, A

Re: Delete packages with dependencies

2009-08-07 Thread Luis Useche
I have the first attempt of the dependencies deletion option. I modified 'pkg_delete' to include an option -r that perform this task. The main idea is to traverse the graph of package dependencies with some kind of bfs algorithm. The queue is initialized with the original packages to be removed. P

Re: Delete packages with dependencies

2009-08-06 Thread Luis Useche
> find /var/db/pkg -name \+CONTENTS -exec grep manual-installation {} /dev/null > \; Then the information does exist. This is good. The only thing missing now is the script that use this information for dependencies deletion. I'll see what I can do. Luis.

Re: Delete packages with dependencies

2009-08-06 Thread Luis Useche
On Wed, Aug 5, 2009 at 10:23 PM, Jacob Meuser wrote: > some further thoughts ... > > On Thu, Aug 06, 2009 at 01:32:07AM +, Jacob Meuser wrote: >> On Wed, Aug 05, 2009 at 06:58:48PM -0400, Luis Useche wrote: >> > On Wed, Aug 5, 2009 at 3:59 PM, Stephen Takacs wrote:

Re: Delete packages with dependencies

2009-08-05 Thread Luis Useche
On Wed, Aug 5, 2009 at 9:32 PM, Jacob Meuser wrote: > On Wed, Aug 05, 2009 at 06:58:48PM -0400, Luis Useche wrote: >> On Wed, Aug 5, 2009 at 3:59 PM, Stephen Takacs wrote: >> > Luis Useche wrote: >> >> It seems like an additional information should be added to the

Re: Delete packages with dependencies

2009-08-05 Thread Luis Useche
On Wed, Aug 5, 2009 at 3:59 PM, Stephen Takacs wrote: > Luis Useche wrote: >> It seems like an additional information should be added to the package >> database. A bit indicating if the package was installed manually by >> the user (admin?) or not. Then, the package can o

Re: Delete packages with dependencies

2009-08-04 Thread Luis Useche
t; > This has been brought up many times before and a lot of people would > like to see it (me too). I know some work has been done and some info is > now kept, but this functionality isn't there yet. Can you point me to documentation about this? Luis Useche use...@gmail.com

Re: Delete packages with dependencies

2009-08-04 Thread Luis Useche
On Tue, Aug 4, 2009 at 1:01 PM, Ted Unangst wrote: > On Tue, Aug 4, 2009 at 12:47 PM, Luis Useche wrote: >> This is really close but it is not there quite yet. Even with this >> script, there could be situations where you end up deleting things you >> don't want. For ins

Re: Delete packages with dependencies

2009-08-04 Thread Luis Useche
On Tue, Aug 4, 2009 at 12:14 PM, Darrin Chandler wrote: > On Tue, Aug 04, 2009 at 11:30:44AM -0400, Luis Useche wrote: >> On Tue, Aug 4, 2009 at 11:20 AM, Bret S. Lambert >> wrote: >> > pkg_delete `pkg_info -t` will almost do what you're looking for ;) >> >&

Re: Delete packages with dependencies

2009-08-04 Thread Luis Useche
On Tue, Aug 4, 2009 at 11:32 AM, neal hogan wrote: > On Tue, Aug 04, 2009 at 11:11:17AM -0400, Luis Useche wrote: >> Hello Guys, >> >> I was wondering if there is some tool that delete the packages >> specified along with their "deletable" dependencies. Del

Re: Delete packages with dependencies

2009-08-04 Thread Luis Useche
On Tue, Aug 4, 2009 at 11:20 AM, Bret S. Lambert wrote: > On Tue, Aug 04, 2009 at 11:11:17AM -0400, Luis Useche wrote: >> Hello Guys, >> >> I was wondering if there is some tool that delete the packages >> specified along with their "deletable" dependenc

Re: wpi and firmware error

2009-08-04 Thread Luis Useche
I downgraded the firmware to version 3.1 and so far the problem is gone. Luis Useche use...@gmail.com On Sun, Aug 2, 2009 at 9:16 PM, Matthew Szudzik wrote: > On Sun, Aug 02, 2009 at 09:03:37PM -0400, Luis Useche wrote: >> From time to time my network card stop working and a erro

Delete packages with dependencies

2009-08-04 Thread Luis Useche
in most of the cases) that you don't end up with a system with unnecessary packages. I couldn't find in pkg_delete(1) any option that implements the previous semantic. Best, Luis Useche use...@gmail.com

wpi and firmware error

2009-08-02 Thread Luis Useche
802.11 state 4 The network start working again when I call dhclient. Since I could have my network back again pretty quickly is not a critical issue. However, having the problem is annoying. I am using wpi-firmware-3.2.tgz Does any one else have this problem? Best, Luis Useche use...@gmail.com

Re: Audio seems correct but it doesn't sound (azalia)

2009-08-01 Thread Luis Useche
The patch does work. Thank you. Luis Useche use...@gmail.com On Sat, Aug 1, 2009 at 9:34 PM, Jacob Meuser wrote: > thanks. > > the following should apply to src/sys/dev/pci/azalia_codec.c for OpenBSD > 4.5 (azalia_codec.c r1.114). > > please let me know if this fixes the is

Re: Audio seems correct but it doesn't sound (azalia)

2009-08-01 Thread Luis Useche
0x0020: 10408086 0x0030: 00c8 010a Thanks, Luis Useche use...@gmail.com On Sat, Aug 1, 2009 at 5:44 PM, Jacob Meuser wrote: > On Sat, Aug 01, 2009 at 10:24:14AM -0400, Luis Useche wrote: >> dmesg: > ... &

Re: Audio seems correct but it doesn't sound (azalia)

2009-08-01 Thread Luis Useche
dc3 ] inputs.beep=85 outputs.hp_sense=unplugged [ unplugged plugged ] outputs.line-in_sense=unplugged [ unplugged plugged ] outputs.line_sense=unplugged [ unplugged plugged ] outputs.spkr_muters=hp,line-in,line { hp line-in line } outputs.master=126,126 outputs.master.mute=off [ off on ] outputs.mas

Audio seems correct but it doesn't sound (azalia)

2009-07-31 Thread Luis Useche
advance for your help. Luis Useche use...@gmail.com

Re: Microsoft mouse, ums and wsmouse

2009-07-28 Thread Luis Useche
So, What can I do to make this work? :) Luis Useche use...@gmail.com On Sun, Jul 26, 2009 at 5:51 PM, Miod Vallat wrote: > Hello, > >> I am new to OpenBSD and I was giving it a try by installing in my laptop. My >> problem is that my usb wireless mouse does not work on

Re: Microsoft mouse, ums and wsmouse

2009-07-26 Thread Luis Useche
> Sigh. Yet another Microsoft mouse with a botched report descriptor > layout. > > I'm afraid that this device will not work under OpenBSD until enough > information is found to make it work. This is weird. What do you mean by more information? I think I have been able to use this mouse under free

Re: Microsoft mouse, ums and wsmouse

2009-07-24 Thread Luis Useche
/0.07 addr 2 uhidev0: iclass 3/1, 23 report ids ums0 at uhidev0 reportid 17: 3 buttons, Z dir wsmouse1 at ums0 mux 0 uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 uhid2 at uhidev0 reportid 20: input=1, output=0, feature=0 uhid3 at

Re: Microsoft mouse, ums and wsmouse

2009-07-22 Thread Luis Useche
: console and X. Another suggestion? Luis Useche use...@gmail.com

Microsoft mouse, ums and wsmouse

2009-07-22 Thread Luis Useche
ork at all. I have been looking all day for a solution with no success. At this point I am clueless. Any help is very appreciated. Luis Useche use...@gmail.com