"DOS"-style Console Type for IPMI remote console

2003-12-19 Thread Alexander Langer
Hi! I've got a nifty new server board with an IPMI card. The console-redirection over LAN is supposed to work for anything that uses DOS-style video modes or characters, i.e. no "graphics mode". In fact it works for the BIOS/boot*/loader and first kernel messages up to the point where the Timec

Re: loader tunables for modules

2003-05-30 Thread Alexander Langer
Also sprach Lara & Harti Brandt ([EMAIL PROTECTED]): > It turns out that kenv is just handy for this. I use it to pass > debugging information and configuration info to the ATM drivers. And you > can set kenv entries from the loader and the shell. Great, exactly what I was looking for. Thanks

loader tunables for modules

2003-05-29 Thread Alexander Langer
Hi! How would one give flags to kernel modules? I.e. a kernel module I wrote starts a kernel thread. It should be controlable what kernel thread it starts depending on a sysctl. Of course the sysctl isn't available before the module is loaded. So is there a way to pass a kernel module options t

mysql endless loops

2003-02-24 Thread Alexander Langer
Hi! A known bug with MySQL 3.x is that it sometimes enters a 100% cpu usage loop if you stress it too much (I can repeat this every 2-3 weeks). I just attached a ktrace, and it shows this: 57486 mysqld CALL poll(0x8382000,0x4,0xb8c) 57486 mysqld RET poll 1 57486 mysqld CALL gettimeo

Re: panic: icmp_error: bad length

2003-01-23 Thread Alexander Langer
JFYI, the patch Ian recently MFCed does fix the problem here on our 4.7 box. Thanks Ian :-) Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: panic: icmp_error: bad length

2002-12-11 Thread Alexander Langer
Thus spake Ian Dowse ([EMAIL PROTECTED]): > >In the last couple of months, upgraded to 4.6 and 4.7 using RELENG_4 = > >with again no errors, however, now under a light smurf attack, I get: > >panic: icmp_error: bad length > >Hardware: Dell PowerEdge 350, 2 built-in Intel nic cards, 256 meg of ram

Re: Possible bug in scheduler.

2001-10-18 Thread Alexander Langer
Thus spake Alex Levine ([EMAIL PROTECTED]): > resetpriority() calls maybe_resched() at the end after updating p_usrpri > based on changed p_estcpu. > maybe_resched() uses curpriority_cmp to compare priorities of current > and given process and this function ( curpriority_cmp ) uses p_priority

Re: ecc on i386

2001-09-25 Thread Alexander Langer
Thus spake Peter Wemm ([EMAIL PROTECTED]): > Our NMI / ECC handling really really sucks in FreeBSD. Consider: [...] Is there any effort to fix this stuff? Considering FreeBSD is still known as one of the best server platforms, this is more important than a multi-threaded kernel or similar stuf

Re: Version of XFree86 in FreeBSD Release 4.4

2001-09-18 Thread Alexander Langer
Thus spake Daniel O'Connor ([EMAIL PROTECTED]): > Yes, I suspect the answer is along the lines of 'yes that's coming' :) :-) > The previous suggestion (have a generic XFree86 port) is a) hacky, but b) > workable in the current package framework I suspect.. Yes, would be a nice workaround. I d

Re: Version of XFree86 in FreeBSD Release 4.4

2001-09-18 Thread Alexander Langer
Thus spake Rasputin ([EMAIL PROTECTED]): > Isn't this what XFREE86_VERSION does? Nope, this is a build-time option. I can't remember a commit to the pkg tools that check for XFREE86_VERSION. Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of

Re: Version of XFree86 in FreeBSD Release 4.4

2001-09-18 Thread Alexander Langer
Thus spake Robert Withrow ([EMAIL PROTECTED]): > I know it is slimy, but couldn't there be a dummy "port" just > called "XFree86" that is what most other ports depend on? The minority > of ports that actually care what version of X is installed could always > use the version-specific names... W

Re: local changes to CVS tree

2001-09-06 Thread Alexander Langer
Also sprach Bernd Walter ([EMAIL PROTECTED]): > > How do people fix stuff in their local CVS tree and sync other > > FreeBSD changes with that? > It's a CVSup FAQ: > http://www.polstra.com/projects/freeware/CVSup/faq.html#canilocal Great, thanks. Alex To Unsubscribe: send mail to [EMAIL PROTEC

Re: local changes to CVS tree

2001-09-05 Thread Alexander Langer
Thus spake Peter Pentchev ([EMAIL PROTECTED]): > One way that (I think it was) Sheldon pointed out to me a few months > ago would be keeping your own CVS repository and vendor-importing > the FreeBSD source on a regular basis. The regular vendor-import > is quite time-consuming though :( That s

local changes to CVS tree

2001-09-05 Thread Alexander Langer
Thus spake Kris Kennaway ([EMAIL PROTECTED]): > On Wed, Sep 05, 2001 at 09:52:34AM +0300, Giorgos Keramidas wrote: > > > I have it fixed now in my local CVS tree. Hopefully Kris will commit > > something to fix it soon :-) I'm just curious: How do people fix stuff in their local CVS tree and s

Re: NETBIOS Browsing?

2001-07-20 Thread Alexander Langer
Ouch, I should actually read more carefully what you were asking, sorry. I guess smbfs doesn't help you here (don't know if it actually browses, but at least it's SMB stuff) Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: NETBIOS Browsing?

2001-07-20 Thread Alexander Langer
Thus spake Conrad Minshall ([EMAIL PROTECTED]): > Does anyone know of any code which would help in browsing a Windows > "Network Neighbourhood"? Something which would make broadcasts to find all > the netbios name servers, and then query them to discover more. Code from > Samba's "nmblookup" wo

Re: Package based configuration control

2001-07-17 Thread Alexander Langer
Thus spake Terry Lambert ([EMAIL PROTECTED]): > A surprising number of people have expressed an interest > in working on a package-based install in private email, > so it's probably an idea whose time has come. We should I think the base distribution will be a package in libh. We will have more

Re: PANIC - 4.3-STABLE, suspecting ata controller

2001-06-21 Thread Alexander Langer
Thus spake Bill Moran ([EMAIL PROTECTED]): > http://www.prioritydesigns.com/crashdata/ contains the files. I've put a > dmesg.out (obvious) as well as the kernel.0, vmcore.0 and kernel.debug > there, if anyone would like to run it through gdb themselves > (***WARNING*** vmcore.0 is 128M) (NOTE, t

Re: [PATCH] Limited BPF to the specified program

2001-06-12 Thread Alexander Langer
The options should be a sysctl, since dhclient might move from inode to inode and I don't want to recompile a kernel everytime. Also, that should be a list of filesystem:inode pairs, imho, for multiple programs. OTOH, I don't know if that makes sense, since superuser still can compile a new kerne

Re: newbussifying drivers

2001-06-06 Thread Alexander Langer
Thus spake j mckitrick ([EMAIL PROTECTED]): > So without having the card for testing, i should just wrap the port access > calls into bus_xxx calls? Yes, that's basically what has to be done. Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of

Re: newbussifying drivers

2001-06-05 Thread Alexander Langer
Thus spake j mckitrick ([EMAIL PROTECTED]): > | It's pretty rare to need to bit-bang to find a device these days anyway; > | you should probably be looking for PnP data or similar. This is what > | hints are (basically) - manually-supplied PnP data. > How would you recommending fixing this, ta

Re: softc with resource sharing

2001-05-24 Thread Alexander Langer
Thus spake j mckitrick ([EMAIL PROTECTED]): > Any devices using the ppbus will end up sharing the hardware port. If i want > to access this resource info, should i store it in my local driver's softc > structure, or extract it from the parent device (ppbus)? What about bus_alloc_resource()? Or

Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE

2001-05-24 Thread Alexander Langer
Thus spake Ed Hudson ([EMAIL PROTECTED]): > for my money, hw.ata.wc=1 soft updates OFF is a better performing > choice than hw.ata.wc=0 and soft updates ON. > (soft updates are great, but i really dislike the performance > stalls that it (or async mode) engenders with big

Re: removing inb()/outb() from devices

2001-05-23 Thread Alexander Langer
Thus spake j mckitrick ([EMAIL PROTECTED]): > I'd like to finalize the newbus work by changing inb()/outb() calls to > bus_space_write calls. Is there a device where this has been partially done > already? I'd like to see the old and new styles, then i would fix the It has been done to sys/dev

Re: Device driver questions

2001-05-22 Thread Alexander Langer
Thus spake SJ ([EMAIL PROTECTED]): Hi! > 1. "ioconf.c" contains struct config_resource and > config_device definitions for declarations in > "config" file. But I noticed that for some devices > e.g. device atadisk > device atapicd > ... >

Re: [jkh@osd.bsdi.com: ANNOUNCE: Status update on ftp.freebsd.org A KA ftp.freesoftware.com]

2001-05-03 Thread Alexander Langer
Thus spake Matt Dillon ([EMAIL PROTECTED]): > Helicopter? Pah! I know for a fact that Jordan was bribed with > a brand spanking new hovermobile by the afformentioned aliens! > (which, oddly enough looks somewhat like a DeLorean with a MrCoffee > bolted to the back, hrm). I

Re: device driver dev. book

2001-03-20 Thread Alexander Langer
Thus spake avn ([EMAIL PROTECTED]): > >A "Developers Handbook", which will also cover device driver and > >kernel module programming is in work under the leadership of Jeroen > Is there URL for work in progress? :) cvsup the doc tree. You won't find much, though. Alex To Unsubscribe: send mai

Re: device driver dev. book

2001-03-17 Thread Alexander Langer
Thus spake Leif Neland ([EMAIL PROTECTED]): > Just to get the facts clear: Do you ever intend to write a book? A "Developers Handbook", which will also cover device driver and kernel module programming is in work under the leadership of Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]>. Once it

Re: device driver dev. book

2001-03-15 Thread Alexander Langer
Thus spake Jerry Toung ([EMAIL PROTECTED]): > Does anyone of you know about a book that would deal specifically > with FreeBSD device drivers dev.? > If yes let me know. Not books, but there are some tutorials/manpages available. See: http://www.FreeBSD.org/tutorials/ and section 9 of the manual

Re: good book or other source about socket programming

2001-02-24 Thread Alexander Langer
Thus spake Brian Reichert ([EMAIL PROTECTED]): > Other than the manpage, what documents about kqueue are there? I read this: http://www.flugsvamp.com/~jlemon/fbsd/internals.txt http://people.freebsd.org/~jlemon/ has a slideshow on kqueue. http://www.flugsvamp.com/~jlemon/fbsd/ has also some sma

Re: good book or other source about socket programming

2001-02-24 Thread Alexander Langer
Thus spake Marco van de Voort ([EMAIL PROTECTED]): > I'm searching for a good book (or site/tutorial) about Unix socket > programming, preferably FreeBSD specific. Socket programming shouldn't be FreeBSD specific. Unix Network Programming Vol.1 by W. Richard Stevens is a good choice. After th

Re: An example script for creating a bootable floppy

2001-02-04 Thread Alexander Langer
Thus spake Dan Langille ([EMAIL PROTECTED]): > I get a root mount failed, then a panic, but at least it's a kernel. If I make > any more progress, I'll le you know. Did you strip it? I have way smaller kernels here, which have much more options. Btw: Just gzip the file and call it /kernel.gz

Re: Kernel programming

2001-01-23 Thread Alexander Langer
Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]): > > There recently (last week or something) was a thread here or on > > another mailinglist on how to debug kernel moduls, which is a little > > bit tricky. > It's also documented in the handbook. Well, actually debugging modules is a little bi

Re: Kernel programming

2001-01-23 Thread Alexander Langer
Thus spake Yonny Cardenas B. ([EMAIL PROTECTED]): > Is there anybody knows some reference (URL), tools or some help > to programming and debugging in the kernel FreeBSD? Try http://www.freebsd.org/tutorials/ Andrew W. Reiter has written a nice kernel mod tutorial. There recently (last week or

(fwd) libh disk editor

2001-01-19 Thread Alexander Langer
this. At least, it is a nice example of what libh is able to do. - Forwarded message from Alexander Langer <[EMAIL PROTECTED]> - From: Alexander Langer <[EMAIL PROTECTED]> Subject: libh disk editor To: Dag-Erling Smorgrav <[EMAIL PROTECTED]> Cc: Alfred Perlstein <

What must be provided by an init for ncurses?

2001-01-19 Thread Alexander Langer
Hello! Libh uses TVision which uses ncurses. I have written a *simple* init which opens /dev/ttyv0. printf() and alikes work, but ncurses does not ("Error opening terminal"). I wonder if anyoen can tell me what my simple init must provide as well to make ncurses running. I have a /etc/termcap

Re: How to make a PCI network device loadable module?

2001-01-18 Thread Alexander Langer
Thus spake Daniel O'Connor ([EMAIL PROTECTED]): > I don't think you need anything special for your device to be a KLD.. I maintain a > simple character device which didn't need anything special, but network devices may > be different. Most of the drivers in the tree either exist as module alread

Re: stupid CVS question

2001-01-18 Thread Alexander Langer
Thus spake Peter Pentchev ([EMAIL PROTECTED]): > Never mind, I found the -N option by reading the source. > Why oh why is it not documented in the CVS info page :( document it :-) Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Re: syslogd patch

2001-01-17 Thread Alexander Langer
Thus spake Eric Melville ([EMAIL PROTECTED]): > Should I send-pr this thing too, or is just sending it to -hackers enough? To -audit, in general. > if (flags & ISKERNEL) { > - snprintf(buf, sizeof(buf), "%s: %s", bootfile, msg); > + /* ignore path to kernel */ > +

Re: sys/disklabel.h in C++ files

2001-01-14 Thread Alexander Langer
Thus spake Warner Losh ([EMAIL PROTECTED]): > No need for Hope to Spring. As near as I can tell, I've fixed it. Yes, thanks. Now the disk-library of libh builds again. Thanks! Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsu

sys/disklabel.h in C++ files

2001-01-13 Thread Alexander Langer
Hi! I have a question: How do you include sys/disklabel.h in C++ files? alex:~ $ cat test.cc #include alex:~ $ cat test2.cc extern "C" { #include } alex:~ $ make test.o c++ -O -pipe -c test.cc In file included from test.cc:1: /usr/include/sys/disklabel.h:182: `lp' was not declared in this sc

Re: Silent FreeBSD

2000-12-28 Thread Alexander Langer
Thus spake Renaud Waldura ([EMAIL PROTECTED]): > I've got that FreeBSD gateway in a corner at my house, it works fine & dandy > but the constant noise (whirring fans, hard drives) gets on my nerves. > What solutions have people explored to quiet down a computer system? (actual > experience will b

Re: int80h.org

2000-12-23 Thread Alexander Langer
Thus spake G. Adam Stanislav ([EMAIL PROTECTED]): > swap space and memory even on a tiny little file. I have 8 Meg of > RAM and successfully run Photoshop, CorelDraw and other huge programs. > Yet, a simple file conversion program runs out of memory? Besides, > it claims CHAPTER is not permitted

kvtop() on alpha question

2000-12-23 Thread Alexander Langer
Hello! I have a question: How can the if_ed driver work on FreeBSD/Alpha, if it uses kvtop(), but kvtop() is only defined in sys/i386/i386/vm_machdep.c? I'm very confused, and I wonder if someone can enlighten me, please. Thanks Alex -- cat: /home/alex/.sig: No such file or directory To Un

Re: FreeBSD 4.x/3.x kld device driver

2000-10-03 Thread Alexander Langer
Thus spake Willem van Engen ([EMAIL PROTECTED]): > I'd also like to use it on FreeBSD 3.x. When compiling gigadrive there, > the > file device_if.h can't be found. Any ideas to solve this? This is code that is only working in FreeBSD 4.0 or greater. You really should update if you develop drive

Re: Need some help developing my ethernet driver.

2000-10-03 Thread Alexander Langer
Thus spake Rink Springer ([EMAIL PROTECTED]): > One final problem here now... how can I determine which I/O address FreeBSD > is willing me to probe for the device? I cannot find it in any of the > existing drivers... anyone? This is done automatically. Alex -- cat: /home/alex/.sig: No such fi

Re: [book] how "compatible" are FreeBSD and "Advanced Programming in the UNIX ..."?

2000-09-22 Thread Alexander Langer
Thus spake John Lispton ([EMAIL PROTECTED]): > programming described in the book? Or can I rest assured that the book > contents apply well to FreeBSD? Yes, the book explains everything on 4.3BSD, so everything applies to FreeBSD as well. Of course, FreeBSD (and the other BSD's, too) have had

Re: How to make *real* random bits.

2000-08-05 Thread Alexander Langer
Thus spake Poul-Henning Kamp ([EMAIL PROTECTED]): > >between events. Because of this your T3 value can be considered the T1 > >value for the next random bit you generate. > No it cannot. If you did that then the probability would skew from > bit to bit. If the (t3-t2) was large bit N == 1 and

type of _BSD_TIME_T_ in machine/ansi.h

2000-07-23 Thread Alexander Langer
Hello! Currently, I see the following: root@parca /sys $ grep _BSD_TIME_T {alpha,i386}/include/ansi.h alpha/include/ansi.h:#define_BSD_TIME_T_int /* time() */ i386/include/ansi.h:#define _BSD_TIME_T_long /* time()... */ I wonder if we want to change that to __int32_t in

Re: /etc/security -> /etc/periodic/security ?

2000-07-17 Thread Alexander Langer
Thus spake James Howard ([EMAIL PROTECTED]): > fairings? Why does it matter what color the bikeshed is? What does What is this thing with the bikesheds??? It appears on every place I am, on IRC, now here. As a non-native English-speaker, I'd like to know what's up with the poor bikesheds. T

Re: cocaine snorting reported in Michigan, details at 11 (was Re: data corruption)

2000-07-16 Thread Alexander Langer
Thus spake Bill Fumerola ([EMAIL PROTECTED]): > > > > PS. No, it's not something stupid like file flags or something. > > > No, it was something even stupider. Completely ignore this. > > Oh, come on now, tell us the details! :-) > It involves this running in another window: > [hawk-billf] $ whil

Re: why isnt there a ext2fs.ko ?

2000-07-14 Thread Alexander Langer
Thus spake James Howard ([EMAIL PROTECTED]): > day or so and I will update it work with a newer FreeBSD. On this topic, > how would anyone feel about importing NetBSD's GPL-clean ext2fs source? Cool! Is it stable? What is better than w/ our ext2fs stuff? Alex -- cat: /home/alex/.sig: No such

removal of kvtop() on i386

2000-07-14 Thread Alexander Langer
Hello! I recently wanted to port the if_ed driver to alpha. FreeBSD/alpha still misses kvtop(), so I implemented it. However, bde told me, that the whole function kvtop() is wrong, since "0" is a legitimate physical address and therefore the panic is misplaced. That means, kvtop() is obsolete.

Re: Documentation selection in sysinstall

2000-06-28 Thread Alexander Langer
Thus spake Jordan K. Hubbard ([EMAIL PROTECTED]): > > What happened to the plans to move to the TurboVision library? > We're still working on it. Yes, someone should encourage John Baldwin to fix that. For example by promising some cakes or something :) Alex -- cat: /home/alex/.sig: No such fi

Re: Anybody working on FreeBSD BIOS?

2000-06-15 Thread Alexander Langer
Thus spake Stefan Molnar ([EMAIL PROTECTED]): > is already supported. ( On some high end machines serial console works > in the prom as well). Also on low-end machines... Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscrib

Re: NVIDIA Drivers for XF4

2000-06-14 Thread Alexander Langer
Thus spake Trent Nelson ([EMAIL PROTECTED]): > What's porting going to involve? I can't see porting the kernel module > being *too* difficult (I'd love to start on something after exams) - but > I don't know how the Linux object files for the XFree86 interface are > going to be dealt with

sigaction.2 manpage: mcontext_t or ucontext_t?

2000-06-13 Thread Alexander Langer
Hello! docs/17863 claims: The description of the third argument to signal handlers if SA_SIGINFO is supplied is wrong. It's a ucontext_t, not an mcontext_t. It wants to change: The context argument to a POSIX SA_SIGINFO handler points to an - instance of mcontext_t. to The context ar

Re: Unexpected reboot.

2000-05-26 Thread Alexander Langer
This to make the memory settings more conservative. I had that too earlier, and after I changed that the machine became much more stable: 5:01pm up 62 days, 20:10, 4 users, load averages: 2.31, 2.12, 1.86 (nfs-buildworld/ports server) Alex To Unsubscribe: send mail to [EMAIL PROTECTED] wit

Re: review request: truncate(1)

2000-05-26 Thread Alexander Langer
Thus spake Johan Karlsson ([EMAIL PROTECTED]): > However, the man page does not mention that one have to also > specify the wanted size of the file. Oooops :-) *correcting* Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the

Re: review request: truncate(1)

2000-05-25 Thread Alexander Langer
Thus spake Johan Karlsson ([EMAIL PROTECTED]): > Please sort the options in getopt and in the switch-statement. > see style(9) for more style info. > Please also use -Wall when compiling to catch all warnings True - forget about that. What about the other things, I mean non-stylistic but functi

review request: truncate(1)

2000-05-25 Thread Alexander Langer
Hello! I've written the command-line frontend to truncate(2). I've often needed that since now, and finally I wrote it. I'm sure it's useful. Please review (includes source, manpage + Makefile). http://big.endian.de/FreeBSD/truncate.tar.gz Thanks Alex -- I need a new ~/.sig. To Unsubscrib

Re: newbus code

2000-05-23 Thread Alexander Langer
Thus spake J McKitrick ([EMAIL PROTECTED]): > Is there a document anywhere that explains the newbus function calls? I've written a few and am writing some. Most don't have manual pages. A good start are the NetBSD manual pages, most stuff is the same. > times, and definitions are scattered al

Re: bktr, unknown PCI device?

2000-05-21 Thread Alexander Langer
Thus spake Wilko Bulte ([EMAIL PROTECTED]): > I just upgraded one of my boxes to 4.0-stable. Now I seem to have > a 'unknown card' on the PCI, seems related to the bktr. I remember That is the Radio-chip of your TV-card: > bktr0: mem 0xe700-0xe7000fff irq 7 at device 10.0 on

Re: further question to bus_alloc_resource

2000-05-21 Thread Alexander Langer
Thus spake Sergey Babkin ([EMAIL PROTECTED]): > the old version somehow wedges the system. And upgrading drivers > on a running production system is not something I personally would > do. This is a dangerous operation and if it would cause any problems Heh. Of course. But also the bktr-driver,

Re: further question to bus_alloc_resource

2000-05-20 Thread Alexander Langer
Thus spake Doug Rabson ([EMAIL PROTECTED]): > There is really no need. The mcclock driver can't be detached since its > required for normal system functioning (its the main clock source). OK. I agree. It was just the first driver I got, so far only an example (bad one). What about aha? Alex -

Re: further question to bus_alloc_resource

2000-05-20 Thread Alexander Langer
Thus spake Warner Losh ([EMAIL PROTECTED]): > : Strange. Enlighten me, please. .-9 > If you don't have a detach routine, you can't unload the driver. How does one unload aha.ko then (for the aha_mca.c cards)? That needs to be fixed. Shall I? Alex -- I need a new ~/.sig. To Unsubscribe: sen

Re: further question to bus_alloc_resource

2000-05-20 Thread Alexander Langer
Thus spake Sergey Babkin ([EMAIL PROTECTED]): > compiled in the kernel (as opposed to being loaded as a module) > then it never gets unloaded. And many drivers were written before > the loadable modules appeared. Yes. But what about the others. /sys/dev/aha/aha_mca.c for example - it is part of

Re: further question to bus_alloc_resource

2000-05-19 Thread Alexander Langer
Thus spake Alexander Langer ([EMAIL PROTECTED]): > If so, I'm going to write patches. ... for almost every driver in the tree. Hmm. EITHER almost all people never unloaded their driver, or I still understood wide parts wrong. I grepped through /sys now and only 10% of the drivers save

further question to bus_alloc_resource

2000-05-19 Thread Alexander Langer
Hello! See sys/alpha/isa/mcclock_isa.c: It has attach (which allocs resource), but not detach. Also, it doesn't save the rid in the softc. I wonder, if the generic detach function is capable to clean up the resource without knowing the rid, or if this is a bug. If so, I'm going to write patches

new bus_release_resource(9)

2000-05-19 Thread Alexander Langer
Hello! I just finnished bus_release_resource.9. The technical part should be correct, since I could not do things wrong. Maybe you want to review it anyways. http://big.endian.de/FreeBSD/bus_release_resource.9 Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: request for review: bus_alloc_resource(9)

2000-05-19 Thread Alexander Langer
Second, reworked version now available. http://big.endian.de/FreeBSD/bus_alloc_resource.9 In my eyes, it's quite correct now and is worth a PR/commit. I'll send a PR if I get your ok. Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hacke

Re: request for review: bus_alloc_resource(9)

2000-05-19 Thread Alexander Langer
Thus spake Mike Smith ([EMAIL PROTECTED]): > Not at all; in the PCI context, that's what the rid is. As has been said > several times now, the meaning of the rid is _bus_specific_. Ah, I wrote that before reading the next mails, stupid me. Well, thanks for all your comments. I'll add/merge th

Re: request for review: bus_alloc_resource(9)

2000-05-19 Thread Alexander Langer
Thus spake Matthew N. Dodd ([EMAIL PROTECTED]): > Think of an 'rid' as in index into an array of like resources. A resource > is just a range; start and length, and a type. The 'rid' has nothing to > do with offsets into a memory/port resource. Ah, yes. That is probably why resource_

Re: request for review: bus_alloc_resource(9)

2000-05-19 Thread Alexander Langer
Thus spake Matthew N. Dodd ([EMAIL PROTECTED]): > is just a range; start and length, and a type. The 'rid' has nothing to > do with offsets into a memory/port resource. Hmm. When I wrote Doug Rabson about newbus months ago, he gave me that part of code: rid = 0x10; /* offset of pci map

request for review: bus_alloc_resource(9)

2000-05-18 Thread Alexander Langer
Hello! I've written bus_alloc_resource(9). I need one with _experience_ on newbus to review it. http://big.endian.de/FreeBSD/bus_alloc_resource.9 Thanks! Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the messag

Re: newbus documentation

2000-05-17 Thread Alexander Langer
Second revision is online at http://big.endian.de/misc/newbus-intro.txt The led-driver is still in the tar.gz I posted yesterday, but this tar.gz still has version 1. Please, guys. READ IT! COMMENTS! Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the

Re: newbus documentation

2000-05-17 Thread Alexander Langer
To follow up myself, I got the first important comments from Matthew N. Dodd, which I will merge this evening. Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

newbus documentation

2000-05-16 Thread Alexander Langer
Hello! I've started a newbus introduction. It covers most aspects of a newbus driver, based on Warner Losh's led-driver. I've added interrupts- and ioctl-handlers. The whole thing "behing" newbus is a little bit vague. Please review my documentation and give me hints for improvements. I'd like

Re: controlled panic - kernel-module

2000-05-09 Thread Alexander Langer
Thus spake Chris D. Faulhaber ([EMAIL PROTECTED]): > > At least not on my kernel :-) > Well, it requires 4.x or 5.x, and DDB in the kernel... DDB _is_ in kernel and that is FreeBSD cichlids.cichlids.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue May 2 17:31:01 CEST 2000 root@:/usr/src/sys/c

Re: controlled panic - kernel-module

2000-05-08 Thread Alexander Langer
Thus spake Archie Cobbs ([EMAIL PROTECTED]): > > > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? > Or "sysctl -w debug.enter_debugger=ddb" and then typing 'panic' :-) Is that already implemented? At least not on my kernel :-) Alex -- I need a new ~/.sig. To Unsub

Re: controlled panic - kernel-module

2000-05-08 Thread Alexander Langer
Thus spake Sheldon Hearn ([EMAIL PROTECTED]): > Only if someone sent in a patch. *nudge* It's on my TODO list now :-) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: controlled panic - kernel-module

2000-05-07 Thread Alexander Langer
Thus spake Chris D. Faulhaber ([EMAIL PROTECTED]): > As opposed to pressing ctrl-alt-esc to get into DDB, then typing 'panic'? This needs to be compiled into the kernel, modules compile faster than new kernels :-P But, this could be documented as well. Alex PS: I just _had_ to write a panic.k

controlled panic - kernel-module

2000-05-07 Thread Alexander Langer
Hello! Just happened to write this kernel-module, which panics the machine. It is, if you just set up your savecore-setup, you have to wait for a panic to test, if it works. If this is a panic you would have liked to savecore, and it didn't work, this can be annoying. (At least that was my prob

Re: problem with ioctl handler in a module

2000-05-07 Thread Alexander Langer
Thus spake Jake Burkholder ([EMAIL PROTECTED]): > The request parameter to ioctl needs to contain length information. > I think you want something like: > #define ZIVA_IOCTL _IOW('c', 10, int) > ioctl(fd, ZIVA_IOCTL, &foo); That's it. Thanks! Alex -- I need a new ~/.sig. To Unsubscribe: s

problem with ioctl handler in a module

2000-05-06 Thread Alexander Langer
Hello! I have: int ziva_ioctl(dev_t dev, u_long cmd, caddr_t arg, int flag, struct proc* pr) when this function catches a ioctl from userspace, called as: int foo = 199; ioctl(fd, 10, &foo); the u_long cmd contains 10, which is correct (so the ioctl-handler is called correctly)

Re: ILOVEYOU

2000-05-05 Thread Alexander Langer
Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]): > > Nope, ILOVEYOU is a real virus. > ...but it does not wipe your hard disk, no matter what the warning > message said. It does wipe all jpeg and mp3 files though... Smartass! ;-) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to

Re: ILOVEYOU

2000-05-04 Thread Alexander Langer
Thus spake Marc Nicholas ([EMAIL PROTECTED]): > Pine is my friend ;-) Mutt =) > > Nicole > >Sent via XFmail (becouse I still want my GUI) Did you try Mutt? It has a nice GUI :-) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hac

Re: ILOVEYOU

2000-05-04 Thread Alexander Langer
Thus spake Matthew Dillon ([EMAIL PROTECTED]): > The 'virus' is the warning message itself, silly! Nope, ILOVEYOU is a real virus. It's quite funny. Here in Germany even the radio reported about it, it seems to have crashed MANY companies and governmental institutions. Alex -- I need a n

Re: GPS heads up

2000-05-03 Thread Alexander Langer
Thus spake David Holloway ([EMAIL PROTECTED]): > You are associating one persons accuracy numbers with > someone elses experiments. Ah. So what are the prof's accuracy numbers? Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in t

Re: GPS heads up

2000-05-03 Thread Alexander Langer
Thus spake Brooks Davis ([EMAIL PROTECTED]): > feature. He mounts them on buildings around SoCal with dataloggers to > determine building movement due to earthquakes and general plate > movement. 2-3 mm is exact enough for this? Alex -- I need a new ~/.sig. To Unsubscribe: send mail to [EM

Re: GPS heads up

2000-05-03 Thread Alexander Langer
Thus spake Poul-Henning Kamp ([EMAIL PROTECTED]): > >> not supposed to know about how it works) which gives them an even more > >> interesting and powerful DOS on the GPS system. I doesn't quite work > >> by postal code, but it comes *very* close. > >what is a DOS?-) > Denial Of Service. Oh. DO

Re: GPS heads up

2000-05-03 Thread Alexander Langer
Thus spake Poul-Henning Kamp ([EMAIL PROTECTED]): > not supposed to know about how it works) which gives them an even more > interesting and powerful DOS on the GPS system. I doesn't quite work > by postal code, but it comes *very* close. what is a DOS?-) > >That just means that military use i

Re: GPS heads up

2000-05-03 Thread Alexander Langer
Thus spake Matthew Dillon ([EMAIL PROTECTED]): > satellites sitting thousands of miles away in the sky. It's even more > impressive to see the government do something right for a change! It's much more idiotic that the government prevented it before. That just means that military use i

Re: JetDirect 500X and FreeBSD

2000-04-02 Thread Alexander Langer
Thus spake Andrew MacIntyre ([EMAIL PROTECTED]): > they weren't particularly reliable, particularly when multiple jobs were > queued simultaneously. I hope their more recent stuff is better behaved. It is now. A further thing is: If your LaserJet doesn't understand PostScript, you have to use

Re: Big ATA problems

2000-03-16 Thread Alexander Langer
Thus spake Soren Schmidt ([EMAIL PROTECTED]): > > > You don't have any modules preloaded in /boot/loader.conf, do you? That's > > That's right. > I think I lost track here, do you still have problems with the latest > ata in 4.0 or -current ??? Not me, but I don't preload any modules in /boot/l

Re: Big ATA problems

2000-03-16 Thread Alexander Langer
Thus spake Brian Fundakowski Feldman ([EMAIL PROTECTED]): > You don't have any modules preloaded in /boot/loader.conf, do you? That's That's right. Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: custom release

2000-02-27 Thread Alexander Langer
> How much disk space is it necessary to have the entire CVS repository ? Actually almost exactly: /dev/ad0s3f992439 8482766476893%/usr/home/ncvs uhm, approx. 800 MB. > The idea is to build a custom release. This takes some more, I believe at least 3 GB or such. Alex To U

Re: Big ATA problems

2000-02-19 Thread Alexander Langer
Thus spake Jason Allum ([EMAIL PROTECTED]): > > It seems Jose Gabriel Marcelino wrote: > > Well, rebuild the loader, that helped Bryan, apparently it has > > nothing to do with the ata driver > i've had no troubles on my ata-based dell precision 410, running -current > (circa -11pm last night

Re: moving CVS repository

2000-01-10 Thread Alexander Langer
Thus spake Nate Williams ([EMAIL PROTECTED]): > Or even more paranoid and slightly shorter. ;) > find /local2/CVSfoo -name Root -print | fgrep CVS | > perl -pi -e 's#/local#/local2/#g;' Hehe, yes ;-) But, as bp mentioned already in IRC: find /path/to/checked/out/files/and/not/the/reposi

Re: moving CVS repository

2000-01-09 Thread Alexander Langer
Thus spake Boris Popov ([EMAIL PROTECTED]): > > This has the side-effect(?) that all sources checked out from the 'old' > > repository location have references to /local/CVSfoo whereas cvs update > > obviously wants to have the references to /local2/CVSfoo. > The simplest way is to replace

  1   2   >