Re: adding a new lib for more advanced argument parsing

2010-09-26 Thread M. Warner Losh
In message: 20100927012936.ga32...@freebsd.org Alexander Best arun...@freebsd.org writes: : hi there, : : looking at applications such as geom (g_*), camcontrol, etc. makes one realise : that getopt(3) is clearly not suitable for handling such complex options. : camcontrol.c even

Re: Modules and Buses

2010-08-25 Thread M. Warner Losh
In message: 20100825105908.c8b626fd@dlink.ua Alexandr Rybalko r...@dlink.ua writes: : On Mon, 23 Aug 2010 22:12:59 -0600 (MDT) : M. Warner Losh i...@bsdimp.com wrote: : : In message: 20100819170643.38362078@dlink.ua : Alexandr Rybalko r...@dlink.ua writes

Re: Why doesn't ppc(4) check non-ENXIO failures during probe?

2010-08-24 Thread M. Warner Losh
In message: 201008241009.46624@freebsd.org John Baldwin j...@freebsd.org writes: : On Tuesday, August 24, 2010 12:09:45 am M. Warner Losh wrote: : In message: 201008171615.21103@freebsd.org : John Baldwin j...@freebsd.org writes: : : So more or less it's

Re: Why doesn't ppc(4) check non-ENXIO failures during probe?

2010-08-23 Thread M. Warner Losh
In message: 201008171615.21103@freebsd.org John Baldwin j...@freebsd.org writes: : So more or less it's for BIOSes with ISA that doesn't feature plug : and play (286s, 386s, some 486s?)? Just trying to fill in the gap :). : : Yes, it may perhaps still be useful for some x86

Re: Modules and Buses

2010-08-23 Thread M. Warner Losh
In message: 20100819170643.38362078@dlink.ua Alexandr Rybalko r...@dlink.ua writes: : On Thu, 19 Aug 2010 09:18:46 -0400 : John Baldwin j...@freebsd.org wrote: : : On Thursday, August 19, 2010 8:38:05 am Alexandr Rybalko wrote: : Hi all, : : Can someone say, how `make` in

Re: Why is TUNABLE_INT discouraged?

2010-08-08 Thread M. Warner Losh
In message: 20100808130624.gb40...@sandvine.com Ed Maste ema...@freebsd.org writes: : On Sun, Aug 08, 2010 at 01:30:19AM +0200, Ivan Voras wrote: : : 2010/8/8 Dag-Erling Sm??rgrav d...@des.no: : Garrett Cooper gcoo...@freebsd.org writes: : Dag-Erling Sm??rgrav d...@des.no writes:

Re: Missing files device_if.h and bus_if.h

2010-07-12 Thread M. Warner Losh
Not quite. Make creates them... Matthew Jacob m...@feral.com writes: : config(8) creates them I believe : : line 523 of bus.h : : tries to include the following files: : : #include device_if.h : #include bus_if.h : : however, I don't see them any where in my source tree. Are

Re: [PATCH] Build error with buildworld and -j1 on a memory backed /usr/obj

2010-06-26 Thread M. Warner Losh
In message: aanlktildcwtnuicnrewdocm9hf9d1jemv4t4k-40h...@mail.gmail.com Garrett Cooper yanef...@gmail.com writes: : The build for r209530 failed with a clean workspace and a clean : /usr/obj/scratch. I was building with a memory-disk backed /usr/obj. : Here's the error: : : ===

Re: Resolving lib build dependencies in src a non-race condition prone way?

2010-06-13 Thread M. Warner Losh
In message: aanlktinyrgdwejv7t_vy6soujltvh4dz_zat_azva...@mail.gmail.com Garrett Cooper yanef...@gmail.com writes: : - If no, what am I doing wrong? There's a script in tools that will build the _prebuild_libs. You'll need to use tools/make/make_libdeps.sh. src/lib/Makefile I

Re: Building kernels broken under AMD64 Releng 8

2010-04-26 Thread M. Warner Losh
In message: g2i7d6fde3d1004261613h44c1631fj3b52fbb9bf4f7...@mail.gmail.com Garrett Cooper yanef...@gmail.com writes: : On Mon, Apr 26, 2010 at 2:54 PM, Stephen Hocking : stephen.hock...@gmail.com wrote: : Hi all, : : Am noticing the following when attempting to build a kernel: : :

Re: Building kernels broken under AMD64 Releng 8

2010-04-26 Thread M. Warner Losh
In message: w2n6300771b1004261651r1840032fhc705afd7d24...@mail.gmail.com Stephen Hocking stephen.hock...@gmail.com writes: : On Tue, Apr 27, 2010 at 9:19 AM, M. Warner Losh i...@bsdimp.com wrote: : In message: g2i7d6fde3d1004261613h44c1631fj3b52fbb9bf4f7...@mail.gmail.com

Re: What tty changes - question on porting ltmdm and hcfmdm to FreeBSD 8

2010-04-24 Thread M. Warner Losh
In message: 20100424102255.12d78...@ernst.jennejohn.org Gary Jennejohn gljennj...@googlemail.com writes: : On Fri, 23 Apr 2010 16:27:12 -0700 : Ted Mittelstaedt t...@mittelstaedt.us wrote: : :Setting aside the question of why do we break software that a lot of : people use :

Patch to config for compatibility

2010-04-14 Thread M. Warner Losh
I also have a patch to config. It lets you put a line of the form CONFIG_OLD_OPTION = CONFIG_NEW_OPTION in the options files. This is useful when optioning are changing and have a rather wide scope and need to be merged, as with the recent CONFIG_FREEBSD32 option. With this merged to stable,

Re: Patch for config utility

2010-04-14 Thread M. Warner Losh
Quick comment: Why not set srcdir instead of inventing ksrcdir? Warner In message: 20100414130353.c28d5128@dlink.ua Alexandr Rybalko r...@dlink.ua writes: : Hi All, : : I made a patch for the config utility, which enables execution of config outside of the kernel source tree. :

Re: GEOM_ULZMA

2010-03-04 Thread M. Warner Losh
In message: 20100304102158.ga8...@nobby.geeknest.org Ulf Lilleengen l...@pvv.ntnu.no writes: : On Fri, Feb 19, 2010 at 04:36:44PM +0200, Alexandr Rybalko wrote: : Hi, : I wrote a module GEOM_ULZMA (such as GEOM_UZIP, but compression with lzma), in connection with this is an issue

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 200910260959.20772.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net writes: : On Monday 26 October 2009 01:05:03 n...@ever.sanda.gr.jp wrote: : M. Warner Losh wrote: : I have a usb stick (8GB) on it. This stick has about 5GB of junk on : it at this point

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 200910261258.08135.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net writes: : On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: : I know that the august 25th version failed badly when I tried to burn : DVDs from a USB drive to a USB attached DVD burner

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 86skd6cmm8@ds4.des.no Dag-Erling_Smørgrav d...@des.no writes: : M. Warner Losh i...@bsdimp.com writes: : FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411M: Fri Oct 23 10:08:48 MDT 2009 i...@lighthouse:/cache/svn/head/sys/amd64/compile

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 86aazecl00@ds4.des.no Dag-Erling_Smørgrav d...@des.no writes: : M. Warner Losh i...@bsdimp.com writes: : Yes. Of course I have local modifications, but none in the usb stack. : But I've also done a svn update from the top of the tree multiple : times

Help troubleshooting...

2009-10-25 Thread M. Warner Losh
I have a usb stick (8GB) on it. This stick has about 5GB of junk on it at this point. I tried to do 'cat * /dev/null' recently, to measure how fast it goes. It got about 1GB into the drive and then I got device missing messages. Here's the dmesg messages: # Plug it in da0 at umass-sim0 bus 0

Re: Clang: now available from a SVN server near you!

2009-06-08 Thread M. Warner Losh
In message: 20090604093831.ge48...@hoeg.nl Ed Schouten e...@80386.nl writes: : Good news everyone! ... : So far we've only done testing on amd64 and i386. A lot of ports are : probably still broken. Caveat emptor. Beware of dog. Slippery when wet. objects in mirror may be larger than

Re: about building the crosstools

2009-05-21 Thread M. Warner Losh
In message: 4a15d288.3060...@telenix.org Chuck Robey chu...@telenix.org writes: : I got instructions from Warner about how to build my crosstools (the FreeBSD : ones) and after a minor startup contretemps, things began to work better. My : problem is that on doing the linking step,

Re: C99: Suggestions for style(9)

2009-05-03 Thread M. Warner Losh
In message: 49fd4391.9070...@gmx.de Christoph Mallon christoph.mal...@gmx.de writes: : M. Warner Losh schrieb: : In message: 49fcafa2.60...@gmx.de : Christoph Mallon christoph.mal...@gmx.de writes: : : Julian Elischer schrieb: : : Christoph Mallon wrote: : : KR code

Re: C99: Suggestions for style(9)

2009-05-02 Thread M. Warner Losh
In message: 49fcafa2.60...@gmx.de Christoph Mallon christoph.mal...@gmx.de writes: : Julian Elischer schrieb: : Christoph Mallon wrote: : KR code should be changed as part of related changes if possible. : A sweep to change a whole file is probably also ok. : changing them one at a

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: 49fa8d73.6040...@gmx.de Christoph Mallon christoph.mal...@gmx.de writes: : M. Warner Losh schrieb: : In message: 20090428114754.gb89...@server.vk2pj.dyndns.org : Peter Jeremy peterjer...@optushome.com.au writes: : : Maybe using all of these changes is a bit

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: 49fa8e88.1040...@gmx.de Christoph Mallon christoph.mal...@gmx.de writes: : M. Warner Losh schrieb: : In message: 20090430233648.ga95...@keira.kiwi-computer.com : Rick C. Petty rick-freebsd2...@kiwi-computer.com writes: : : On Thu, Apr 30, 2009 at 09:02:26AM

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: 49fadef3.5010...@gmx.de Christoph Mallon christoph.mal...@gmx.de writes: : Marius Strobl schrieb: : On Sun, Apr 26, 2009 at 09:02:36AM +0200, Christoph Mallon wrote: : return with parentheses: : Removed, because it does not improve maintainability in any way. There :

Re: C99: Suggestions for style(9)

2009-05-01 Thread M. Warner Losh
In message: 20090501.081229.1359784281@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : In message: 49fa8e88.1040...@gmx.de : Christoph Mallon christoph.mal...@gmx.de writes: : : M. Warner Losh schrieb: : : In message: 20090430233648.ga95...@keira.kiwi-computer.com

Re: C99: Suggestions for style(9)

2009-04-30 Thread M. Warner Losh
In message: 20090428114754.gb89...@server.vk2pj.dyndns.org Peter Jeremy peterjer...@optushome.com.au writes: : Maybe using all of these changes is a bit too big change at once, but : I'd like some of them applied to style(9). So, please consider the : proposed changes individually

Re: C99: Suggestions for style(9)

2009-04-30 Thread M. Warner Losh
In message: 20090430233648.ga95...@keira.kiwi-computer.com Rick C. Petty rick-freebsd2...@kiwi-computer.com writes: : On Thu, Apr 30, 2009 at 09:02:26AM -0600, M. Warner Losh wrote: : : This is the biggest one, and I think it may be too soon. Also, we : need to be careful

Re: Patch for MS Hyper V (virtualization)

2009-04-06 Thread M. Warner Losh
In message: 200904061154.19601@freebsd.org John Baldwin j...@freebsd.org writes: : On Sunday 05 April 2009 12:23:39 pm Sergey Babkin wrote: : : Apr 4, 2009 02:10:23 PM, ivo...@freebsd.org wrote: : Can someo=ne please review and commit (if appropriate) the tweak for :

Re: kobj methods (DEVMETHOD) that have differing signatures (in src/sys)

2009-02-04 Thread M. Warner Losh
In message: 4989e87b.5010...@icyb.net.ua Andriy Gapon a...@icyb.net.ua writes: : : This based on the (much) earlier proposal described here: : http://lists.freebsd.org/pipermail/freebsd-arch/2008-April/007982.html : : The patch was applied to the recent current sources and LINT

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-30 Thread M. Warner Losh
In message: ed8027db0901301124r1e742393ia5eb6f1bf8c48...@mail.gmail.com Jacky Oh assaulter0...@gmail.com writes: : Can the solution become the source tree updates to the same version of my : installed kernel? Sorry for my irregular-time questions and responses but : currently i cannot

Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
Please find enclosed patches to enable printing of the ISO-9660 Volume label, if present, for a CD. I've connected this to the 'status label' command. Please comment. Warner Index: cdcontrol.1 === --- cdcontrol.1 (revision 187760)

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: 87k58f7npu@kobe.laptop Giorgos Keramidas keram...@freebsd.org writes: : On Wed, 28 Jan 2009 02:09:50 -0700 (MST), M. Warner Losh i...@bsdimp.com wrote: : Please find enclosed patches to enable printing of the ISO-9660 Volume : label, if present, for a CD. I've

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: 87mydbiecp@kobe.laptop Giorgos Keramidas keram...@freebsd.org writes: : On Wed, 28 Jan 2009 09:20:46 -0700 (MST), M. Warner Losh i...@bsdimp.com wrote: : Not going to look at glabel for this. I lifted the code from glable, : but must have done it badly. I'll grab

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread M. Warner Losh
In message: 87d4e7e4y0@kobe.laptop Giorgos Keramidas keram...@ceid.upatras.gr writes: : On Wed, 28 Jan 2009 18:29:10 +0200, Giorgos Keramidas keram...@freebsd.org wrote: : On Wed, 28 Jan 2009 09:20:46 -0700 (MST), M. Warner Losh i...@bsdimp.com wrote: : Not going to look

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread M. Warner Losh
In message: 20090129045304.ga18...@debian.samsung.router Alexej Sokolov bsd.qu...@googlemail.com writes: : Can you paste please the dmesg after KLDloading ? Sometimes there are : in /var/log/messages more helpful information. And I would like to look : your syscall code if it

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-20 Thread M. Warner Losh
In message: ed8027db0901200821g4f78beeek1d6a4b489587...@mail.gmail.com Jacky Oh assaulter0...@gmail.com writes: : Hi, : : I'm writing a syscall module and he compiles well but at load time, kldload : shows: : : KLD: program.ko: depends of kernel - no avaiable : : anyone know

Re: uart and big-endian targets

2009-01-20 Thread M. Warner Losh
In message: 4976297c.7020...@bluezbox.com Oleksandr Tymoshenko go...@bluezbox.com writes: : Yesterday I ran into a problem with uart(4) on big-endian MIPS : board. uart code treats registers as bytes and reads/writes them using : bus_space_read_1/bus_space_write_1. To handle

Re: uart and big-endian targets

2009-01-20 Thread M. Warner Losh
In message: 20090120.133113.-1630673491@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : In message: 4976297c.7020...@bluezbox.com : Oleksandr Tymoshenko go...@bluezbox.com writes: : : Yesterday I ran into a problem with uart(4) on big-endian MIPS : : board

Re: 3x read to write ratio on dump/restore

2009-01-10 Thread M. Warner Losh
In message: 20090111041710.gb5...@server.vk2pj.dyndns.org Peter Jeremy peterjer...@optushome.com.au writes: : On 2009-Jan-09 09:50:27 -0700, M. Warner Losh i...@bsdimp.com wrote: : The read kBps was 3x the write kBps. : ... : Any ideas what gives? I observed this with 16MB cache

3x read to write ratio on dump/restore

2009-01-09 Thread M. Warner Losh
I just copied a disk using dump + restore. I noticed something through the whole run of this 500GB operation: L(q) ops/sr/s kBps ms/rw/s kBps ms/w %busy Name 3231231 147549.5 0 00.0 97.5| da1s1a 0 39 0 00.0 39 4982

Re: libusb for linux-emulation

2008-10-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Oliver Fromme [EMAIL PROTECTED] writes: : Martin Laabs wrote: : Hans Petter Selasky wrote: :No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD :compiled libusb. The USB kernel interfaces are quite different. : : OK

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit ?binaries?

2008-10-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Oliver Fromme [EMAIL PROTECTED] writes: : Daniel O'Connor wrote: : On Friday 24 October 2008 23:20:59 Peter Jeremy wrote: : this will make system trying to bind 32-bit libs to 64-bit program. it : can't work : :rtld shouldn't attempt to

Re: i386/127710: My driver PCI probe is not called for my correspondingdevice ID and Vendor ID

2008-10-02 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bagavathy Kumar Mahendran [EMAIL PROTECTED] writes: : : Dear Baldwin, : Thanks for your support .but my pci probe function is not : getting called for my device id and vendor id. Because pccbb driver : already sets the device_set_desc as

Re: MFC of r180753: ABI problems?

2008-08-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Max Laier [EMAIL PROTECTED] writes: : Hi, : : I'm wondering how to merge r180753 to stable/7 as luoqi@ has indicated that he : doesn't have time to take care of it right now. : : It seems that changing the size of pcicfgregs (aka struct pcicfg) which

Re: Driver accessing other drivers/devices ?

2008-08-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Alex Hornung [EMAIL PROTECTED] writes: : Hello, : : I need to access the hard disk from within a driver that is not a FS. : I would also need to get a list of PCI devices connected. Is there a : way I can access these devices directly, at least in the

Re: sun4v arch

2008-08-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Pietro Cerutti [EMAIL PROTECTED] writes: : -BEGIN PGP SIGNED MESSAGE- : Hash: SHA512 : : Kris Kennaway wrote: : | Just so everyone is on the same page, what is needed to keep sun4v : | viable are people with experience with (or intention to learn

Re: MFC of r180753: ABI problems?

2008-08-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] John Baldwin [EMAIL PROTECTED] writes: : On Saturday 23 August 2008 02:42:09 am M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : : Max Laier [EMAIL PROTECTED] writes: : : Hi, : : : : I'm wondering how to merge r180753 to stable/7

Re: openbsd solution to mounted umass removal

2008-05-31 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Andriy Gapon [EMAIL PROTECTED] writes: : : I've just came back from a good 2 week vacation and catching up on news. : In release notes for OpenBSD 4.3 I see the following: : http://openbsd.org/43.html : Filesystems on USB devices are automatically

Re: devctl (alike?) for devfs

2008-04-26 Thread M. Warner Losh
In message: [EMAIL PROTECTED] : However it is possible that it did something wrong - at that time I had : devctl calls in kern_conf. I'd be inclined to say 'create' and 'destroy' for the events. ATTACH and DETACH are typically reserved for device driver events, not for device node events.

Re: symbol table

2008-04-21 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Erik Trulsson [EMAIL PROTECTED] writes: : On Sun, Apr 20, 2008 at 11:24:32PM -0600, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Erik Trulsson [EMAIL PROTECTED] writes: : : On Sun, Apr 20, 2008 at 12:02:09PM +0300, emily becker

Re: symbol table

2008-04-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED] emily becker [EMAIL PROTECTED] writes: : Hi, : : I have a question about symbol table. : One of the section In symbol table is memory adress which symbol is located. : I wonder if this memory adress is bound at run-time or compile-time? Typically,

Re: symbol table

2008-04-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Erik Trulsson [EMAIL PROTECTED] writes: : On Sun, Apr 20, 2008 at 12:02:09PM +0300, emily becker wrote: : Hi, : : I have a question about symbol table. : One of the section In symbol table is memory adress which symbol is located. : I wonder if this

Re: vkernel GSoC, some questions

2008-03-21 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Oliver Fromme [EMAIL PROTECTED] writes: : The vkernel feature has certainly benefits, e.g. the fact : that you can attach to it with standard gdb and use the : familiar debugging facilities, which can attract more Can't you say qemu -s and attach gdb to

Re: Building in /usr/src copied to $HOME

2008-03-21 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Giorgos Keramidas [EMAIL PROTECTED] writes: : On 2008-03-18 21:28, V??clav Haisman [EMAIL PROTECTED] wrote: : Hi, : I am trying to use /usr/src copied to my $HOME but the build process : doesn't want to work. For example when I try build /bin/cp I get

Re: Building in /usr/src copied to $HOME

2008-03-21 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Václav Haisman [EMAIL PROTECTED] writes: : M. Warner Losh wrote, On 21.3.2008 17:34: : In message: [EMAIL PROTECTED] : Giorgos Keramidas [EMAIL PROTECTED] writes: : : On 2008-03-18 21:28, V??clav Haisman [EMAIL PROTECTED] wrote: : : Hi

Re: Comments on pmake diffs for building on Linux

2008-03-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED] David O'Brien [EMAIL PROTECTED] writes: : On Tue, Mar 04, 2008 at 10:58:15AM +0100, Rink Springer wrote: : On Tue, Mar 04, 2008 at 10:17:30AM +0200, Giorgos Keramidas wrote: : Solaris lacks TAILQ_xxx stuff too, so I would prefer something like :

Re: Comments on pmake diffs for building on Linux

2008-03-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED] David O'Brien [EMAIL PROTECTED] writes: : On Wed, Mar 05, 2008 at 01:02:17PM -0700, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : David O'Brien [EMAIL PROTECTED] writes: : : On Tue, Mar 04, 2008 at 10:58:15AM +0100, Rink Springer

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Giorgos Keramidas [EMAIL PROTECTED] writes: : On 2008-03-03 22:42, M. Warner Losh [EMAIL PROTECTED] wrote: : Greetings, : : here's a set of diffs that will allow FreeBSD's usr.bin/make to build : on Linux. I'm sure they are gross, and I don't plan

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Robert Watson [EMAIL PROTECTED] writes: : : On Mon, 3 Mar 2008, M. Warner Losh wrote: : : --- pmake.orig/config.h 2005-02-01 03:50:35.0 -0700 : +++ pmake/config.h 2008-03-03 22:24:16.745493000 -0700 : @@ -108,4 +108,27 @@ : # endif

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Robert Watson [EMAIL PROTECTED] writes: : On Tue, 4 Mar 2008, M. Warner Losh wrote: : : : In most ports of FreeBSD parts to Linux that I've seen, the preferred solution : : has to been to bring the entire FreeBSD queue.h with you rather than relying

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Robert Watson [EMAIL PROTECTED] writes: : (When I say 'nice' above, I mean it in the normal autoconf sense of the word : 'nice', so don't take that the wrong way!) It would be nicer if it didn't use autoconf. I hate to be a stick in the mud, but

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Giorgos Keramidas [EMAIL PROTECTED] writes: : On 2008-03-04 15:15, Robert Watson [EMAIL PROTECTED] wrote: : On Mon, 3 Mar 2008, M. Warner Losh wrote: : --- pmake.orig/config.h2005-02-01 03:50:35.0 -0700 : +++ pmake/config.h 2008-03-03 22:24

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Giorgos Keramidas [EMAIL PROTECTED] writes: : On 2008-03-04 15:38, Robert Watson [EMAIL PROTECTED] wrote: : On Tue, 4 Mar 2008, M. Warner Losh wrote: : : : In most ports of FreeBSD parts to Linux that I've seen, the preferred solution : : has to been

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Harti Brandt [EMAIL PROTECTED] writes: : On Tue, 4 Mar 2008, M. Warner Losh wrote: : : MWLIn message: [EMAIL PROTECTED] : MWLGiorgos Keramidas [EMAIL PROTECTED] writes: : MWL: On 2008-03-04 15:38, Robert Watson [EMAIL PROTECTED] wrote: : MWL

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Giorgos Keramidas [EMAIL PROTECTED] writes: : On 2008-03-04 08:52, M. Warner Losh [EMAIL PROTECTED] wrote: : In message: [EMAIL PROTECTED] : Giorgos Keramidas [EMAIL PROTECTED] writes: : : Nice! Thank you Robert. Can I copy parts

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] David O'Brien [EMAIL PROTECTED] writes: : On Mon, Mar 03, 2008 at 10:42:56PM -0700, M. Warner Losh wrote: : #include arch.h : +#include config.h : : Are you able to use CFLAGS+= -include config.h instead? : If so, that would mean less .[ch] changes

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Christoph Hellwig [EMAIL PROTECTED] writes: : On Mon, Mar 03, 2008 at 10:42:56PM -0700, M. Warner Losh wrote: : +#ifndef TAILQ_HEAD_INITIALIZER : +#define TAILQ_HEAD_INITIALIZER(head) { NULL, (head).tqh_first } : +#endif : + : +#ifndef TAILQ_FOREACH

Comments on pmake diffs for building on Linux

2008-03-03 Thread M. Warner Losh
Greetings, here's a set of diffs that will allow FreeBSD's usr.bin/make to build on Linux. I'm sure they are gross, and I don't plan to commit them (at least not all of them), but I thought I'd post them here to see what people think. I think that the extra config.h includes, the errc - errx

Re: find -lname and -ilname implemented

2008-02-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] David O'Brien [EMAIL PROTECTED] writes: : On Mon, Feb 25, 2008 at 12:07:44AM -0700, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Mike Meyer [EMAIL PROTECTED] writes: : You fail to understand the complex interplay of politics here

Re: find -lname and -ilname implemented

2008-02-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Stanislav Sedov [EMAIL PROTECTED] writes: : Should be, probably, spelled as GNU, it's an abbrev. Actually, you are right, but for the wrong reason. GNU is an acronym, so should be all caps. : -/* c_simple covers c_prune, c_openparen, c_closeparen,

Re: find -lname and -ilname implemented

2008-02-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Mike Meyer [EMAIL PROTECTED] writes: : On Sun, 24 Feb 2008 21:28:44 -0800 Julian Elischer [EMAIL PROTECTED] wrote: : It's been in my tradition for Unix developement since 1986 when I : first joined comp.unix : : It has happened. But from my

Re: find -lname and -ilname implemented

2008-02-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Mike Meyer [EMAIL PROTECTED] writes: : On Sat, 23 Feb 2008 00:03:08 -0700 (MST) M. Warner Losh [EMAIL PROTECTED] wrote: : : Sorry to be lame and follow up to my original email, but Ruslan was : way too quick to give me feedback :-) : : I also did

Re: find -lname and -ilname implemented

2008-02-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Mike Meyer [EMAIL PROTECTED] writes: : In short, I'm continuig the long tradition that we've done as FreeBSD : and that BSD and other Unix vendors did before us: compatibility with : other implementations. : : I suspect your definition of long

Re: find -lname and -ilname implemented

2008-02-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Jonathan McKeown [EMAIL PROTECTED] writes: : What functionality does : : find path -lname name : : add that isn't already available from : : find path -name name -type l : : and what other combinations should be special-cased like this? What

Re: find -lname and -ilname implemented

2008-02-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Peter Jeremy [EMAIL PROTECTED] writes: : At the same, time, the find(1) man page needs to clearly distinguish : between the parts of find that are POSIX-complaint, the parts that are : GNU extensions and the parts that are [Free]BSD extensions. This is :

Re: find -lname and -ilname implemented

2008-02-23 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Peter Jeremy [EMAIL PROTECTED] writes: : On Sat, Feb 23, 2008 at 04:50:02PM -0700, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Peter Jeremy [EMAIL PROTECTED] writes: : : At the same, time, the find(1) man page needs to clearly

find -lname and -ilname implemented

2008-02-22 Thread M. Warner Losh
Please find enclosed a patch that implements -lname and -ilname in FreeBSD's find. There's some shell scripts that insist on these gnu findtools features. Comments? Warner Index: find.1 === RCS file:

Re: find -lname and -ilname implemented

2008-02-22 Thread M. Warner Losh
Sorry to be lame and follow up to my original email, but Ruslan was way too quick to give me feedback :-) I also did a few more of the really easy ones, and added a list of ones that we haven't implemented yet. Comments? Warner Index: extern.h

Re: encrypted executables

2008-02-18 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Giorgos Keramidas [EMAIL PROTECTED] writes: : On 2008-02-18 19:54, Jerry Toung [EMAIL PROTECTED] wrote: : On Feb 18, 2008 5:39 PM, Dimitry Andric [EMAIL PROTECTED] wrote: : On 2008-02-19 02:18, Jerry Toung wrote: : anybody knows of a tool to encrypt

Re: NOR flash drivers

2008-02-08 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Andrew Duane [EMAIL PROTECTED] writes: : I may have asked this once before, but are any NOR flash drivers : available in FreeBSD? I have support that I put into the bootstrap I'm : building, interfaced to libstand, but it is read-only, and far from :

Re: select

2008-01-04 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Metin KAYA [EMAIL PROTECTED] writes: :Yes Rick, I'm asking this indefinitely issue. Is there anything :that handle this NULL situation a signal, or etc.? How does Linux or :FreeBSD behave? : : On Thu, Jan 03, 2008 at 08:52:48PM +0200, Metin

Re: Architectures with strict alignment?

2007-12-29 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Ivan Voras [EMAIL PROTECTED] writes: : Which of the architectures FreeBSD supports (if any) have strict memory : alignment requirements? (in the sense that accessing a 32-bit integer : not aligned on a 32-bit address results in a hardware trap/exception).

Re: Some diffs

2007-12-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED] John Baldwin [EMAIL PROTECTED] writes: : Was the bsd.prog.mk change accidentally included? : : //depot/projects/arm/src/share/mk/bsd.prog.mk#4 - /Users/imp/p4/arm/src/share/mk/bsd.prog.mk : @@ -110,17 +110,18 @@ : : .if defined(PROG) :

Re: Some diffs

2007-12-20 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Diomidis Spinellis [EMAIL PROTECTED] writes: : M. Warner Losh wrote: : And the last, rather long, patch converts the .y in config to a form : that more versions of yacc would grok. : : Comments? : [...] : - INCLUDE ID SEMICOLON

Some diffs

2007-12-19 Thread M. Warner Losh
Consider the following diffs. The first one does a tiny cleanup of strfile's include style (no real reason other than it bugged me when I added stdint.h). The second one cleans up a minor problem where ${CFLAGS} isn't used where it should be. The next three cleanup the compilation by not

Re: Floating point in interrupt handler

2007-10-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Daan Vreeken [PA4DAN] [EMAIL PROTECTED] writes: : Hi Warner, : : On Wednesday 24 October 2007 23:15:13 you wrote: : In message: [EMAIL PROTECTED] : : Daan Vreeken [PA4DAN] [EMAIL PROTECTED] writes: : : But what I haven't found is a

Re: USB vs PAE

2007-10-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Ivan Voras [EMAIL PROTECTED] writes: : On 24/10/2007, Bob Bishop [EMAIL PROTECTED] wrote: : : Yes. Keyboard and umass (CDROM and memory stick) seem to work here on : 6.2R. Thanks! : : I just saw it is officially ok'ed for PAE in future versions (commit

Re: USB vs PAE

2007-10-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bob Bishop [EMAIL PROTECTED] writes: : Hi, : : On 23 Oct 2007, at 20:45, Ivan Voras wrote: : : Bob Bishop wrote: : Hi, : : The whole USB kit and caboodle is nodevice'd out in the PAE : config. Can : anyone give a succinct summary of what needs

Re: Floating point in interrupt handler

2007-10-24 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Daan Vreeken [PA4DAN] [EMAIL PROTECTED] writes: : But what I haven't found is a description of exactly what the kernel is : missing to allow floating point operations to be done there. FPU context is assumed to only change in user processes. You'd have

Re: what happened to make world?

2007-09-01 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Pietro Cerutti [EMAIL PROTECTED] writes: : Max Laier wrote: : On Thursday 30 August 2007, Pietro Cerutti wrote: : # make world : WARNING: make world will overwrite your existing FreeBSD : installation without also building and installing a new :

Re: device hints for isa modules

2007-08-22 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Constantine A. Murenin [EMAIL PROTECTED] writes: : Dear freebsd-hackers@, : : Is there a way to statically compile device hints into an isa(4) module? : : From what it looks, there is no place in the source tree to put the : hints for isa(4) modules --

Re: finished? porting ZyDAS zb1211/zb1211b driver for FreeBSD

2007-08-09 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : On Sunday 05 August 2007, Weongyo Jeong wrote: : Hello, : : I just finished to port zyd(4) from NetBSD for FreeBSD and it works well in : my environment without any panic ;-) (In zb1211b, RF AL2230, open

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-02 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : Warner Losh wrote: : From: Nate Lawson [EMAIL PROTECTED] : Subject: Re: [patch] enhance powerd(8) to handle max temperature : Date: Thu, 02 Aug 2007 10:08:33 -0700 : : M. Warner Losh wrote: : I keep getting

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-02 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Alexandre \Sunny\ Kovalenko [EMAIL PROTECTED] writes: : On Thu, 2007-08-02 at 10:08 -0700, Nate Lawson wrote: : M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Nate Lawson [EMAIL PROTECTED] writes: : : Hajimu UMEMOTO wrote

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-01 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : Hajimu UMEMOTO wrote: : On Mon, 30 Jul 2007 23:31:33 +0200 : Pietro Cerutti [EMAIL PROTECTED] said: : gahr My patch is really just a first draft that I wrote in order to have : gahr feedbacks on the general idea

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-01 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Julian Elischer [EMAIL PROTECTED] writes: : Garrett Cooper wrote: : M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Nate Lawson [EMAIL PROTECTED] writes: : : Hajimu UMEMOTO wrote: : : On Mon, 30 Jul 2007 23:31:33 +0200

Re: A few questions...

2007-07-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Daniel Molina Wegener [EMAIL PROTECTED] writes: : : Hello, : :I need information about few things, I hope someone can help : me and thanks in advance. : : a) Is there any function or variable that tells me which is the :root user UID in the

  1   2   3   4   5   6   7   8   >