Re: Apples linking

2003-11-28 Thread Terry Lambert
David Rhodus wrote: Terry Lambert wrote: FWIW, even though I support the idea of dynamically linking everything, the flipping of the switch there followed this same pattern. First, a disclaimer: this is me speaking for me; I do not speak for Apple. Terry, what are some of the changes

Re: Apples linking

2003-11-28 Thread Terry Lambert
Robert Watson wrote: On Thu, 27 Nov 2003, David Rhodus wrote: what are some of the changes that Apple made to have everything dynamically linked in darwin ? Has anyone done timed runs lately on dynamically vers. static linking on darwin ? Or did they find just cleaning up the dlopen code

Re: rtld + static linking

2003-11-28 Thread Terry Lambert
Marcel Moolenaar wrote: On Thu, Nov 27, 2003 at 03:41:14AM -0800, Terry Lambert wrote: If you can get gcc and binutils to add the necessary support, then we can talk further. Until then it's academic. I think there are political reasons for not doing this. The number one reason would

Re: fork speed vs /bin/sh

2003-11-28 Thread Terry Lambert
Peter Wemm wrote: What this shows is that vfork() is 3 times faster than fork() on static binaries, and 9 times faster on dynamic binaries. If people are worried about a 40% slowdown, then perhaps they'd like to investigate a speedup that works no matter whether its static or dynamic? There

Re: requesting vinum help

2003-11-27 Thread Terry Lambert
Poul-Henning Kamp wrote: With Greg being a core@ member, and well known for his ability to talk an acturan megadonkey into taking a stroll after first having talked its legs off about procedural issues, Doing something about vinum is permanently on the we should really... list and everybody

Re: rtld + static linking

2003-11-27 Thread Terry Lambert
Mark Murray wrote: Terry Lambert writes: Since I have patches to make dlopen work with static binaries, and [ snip ] As to inevitable where are the patches?, please check the -current list archives, you will find at least one set there. I've looked without much success. Could you give

Re: rtld + static linking

2003-11-27 Thread Terry Lambert
Marcel Moolenaar wrote: Ether way, you still need to deal with the linker changes necessary to export the symbol set for all statically linked objects, and to force the inclusion of all archive members when statically linking, if one of the linked libraries is libdl, if you wanted a full

Re: 40% slowdown with dynamic /bin/sh

2003-11-26 Thread Terry Lambert
Brad Knowles wrote: At 2:48 PM -0800 2003/11/25, Matthew Dillon wrote: What I am advocating is that FreeBSD-5 not marginalize and restrict (make less flexible) basic infrastructure in order to get other infrastructure working. If you've got working,

Re: rtld + static linking

2003-11-26 Thread Terry Lambert
Marcel Moolenaar wrote: On Tue, Nov 25, 2003 at 05:44:18PM -0800, Terry Lambert wrote: E.B. Dreger wrote: Dynamic linking works by the kernel running the dynamic linker, which loads shared objects and fixes the symbol tables, yes? No. Dynamic linking works because the crt0 mmap's

Re: [PATCH] libc_r bug: successful close(2) sets errno to ENOTTY

2003-11-26 Thread Terry Lambert
Maxime Henrion wrote: Terry Lambert wrote: Wrong, counter-example: strtol(). Wrong; the standard specifies that the errno shall only be checked when the return value is -1. The exception in the strtol() case is only for presetting errno to 0 before you make the call, and making

Re: rtld + static linking

2003-11-25 Thread Terry Lambert
E.B. Dreger wrote: After watching the recent shared/dynamic threads, and reading the archives from five or six years ago, I have a question... Dynamic linking works by the kernel running the dynamic linker, which loads shared objects and fixes the symbol tables, yes? No. Dynamic linking

Re: [PATCH] libc_r bug: successful close(2) sets errno to ENOTTY

2003-11-25 Thread Terry Lambert
Stefan Farfeleder wrote: On Mon, Nov 24, 2003 at 07:05:02PM +0100, boyd, rounin wrote: From: Jacques A. Vidrine [EMAIL PROTECTED] The application is broken. You must only check errno if you get an error indication from the library call. errno is only meaningful after a syscall error.

Re: 4 Clause license?

2003-11-20 Thread Terry Lambert
Erik Trulsson wrote: On Mon, Nov 17, 2003 at 02:48:08PM -0500, Rod Taylor wrote: The PostgreSQL group has recently had a patch submitted with a snippet of code from FreeBSDs src/bin/mkdir/mkdir.c. http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/mkdir/mkdir.c?annotate=1.27 Is this

Re: HEADS UP: /bin and /sbin are now dynamically linked

2003-11-17 Thread Terry Lambert
Robert M.Zigweid wrote: I'll admit to being mostly a lurker here, but isn't the point of /sbin to be statically linked. That's what the 's' stands for? Second question. This seems to imply that /sbin and /bin both have to have the same behavior? I have no problem with /bin being

Re: HEADS-UP new statfs structure condidered harmful

2003-11-15 Thread Terry Lambert
Matt Smith wrote: Marco Wertejuk wrote: Just for a short note: cfsd (ports/security/cfs) should be recompiled as well after those statfs changes. And mail/postfix and devel/gnomevfs2 (ones's i've found so far) postfix did this every time it received a mail until I recompiled it: pid

Re: Who needs these silly statfs changes...

2003-11-15 Thread Terry Lambert
Peter Edwards wrote: On Wed, Nov 12, 2003 at 06:04:00PM -0800, Kris Kennaway wrote: ...my sparc machine reports that my i386 nfs server has 15 exabytes of free space! [ ... ] The NFS protocols have unsigned fields where statfs has signed equivalents: NFS can't represent negative available

Re: Who needs these silly statfs changes...

2003-11-15 Thread Terry Lambert
Bruce Evans wrote: I just got around to testing the patch in that reply: [ ... ] This seems to work. On a 2TB-epsilon ffs1 file system (*) on an md malloc disk (**): Try it again. This time, take the remote FS below its free reserve as the root user, and see what the client machine reports.

Re: HEADS-UP new statfs structure

2003-11-15 Thread Terry Lambert
Daniel Eischen wrote: On Fri, 14 Nov 2003, Andrew Gallatin wrote: Can't we bump the libc version so that dynamically linked, non-system binaries can continue to work? Having things like postfix and gnome dumping core seems excessivly bumpy. Upgrading all ports is a pain. I don't think

Re: xscreensaver bug?

2003-11-15 Thread Terry Lambert
Eugene M. Kim wrote: Validating a root password is possible with other means in many cases, if not always. OpenSSH sshd is a good example. Even with PermitRootLogin set to no, the attacker can differentiate whether the password has been accepted or not. That's because the software in

Re: HEADS-UP new statfs structure

2003-11-15 Thread Terry Lambert
Robert Watson wrote: What's going on is the following: while we have a compatibility system call in place, it only affects applications linked against non-current libc. As soon as you recompile libc, applications expecting the old statfs() ABI get the new statfs(), and depending on where

Re: /etc/rc.d/ipsec starts not in time

2003-11-15 Thread Terry Lambert
Hajimu UMEMOTO wrote: Kostyuk Oleg [EMAIL PROTECTED] said: cubProblem is in order of starting /etc/rc.d/ipsec. cubIt must start BEFORE any network interaction, cubmay be even before configuring interfaces. cubBut I not sure in case with diskless mashines. cub-#

Re: HEADS-UP new statfs structure condidered harmful

2003-11-15 Thread Terry Lambert
Matthew Dillon wrote: I recommend that instead of rolling these sorts of system calls over and over again (how many versions of stat do we have now? A lot!), that instead you make a system call which returns a capability buffer and then have libc load the capabilities it

Re: Who needs these silly statfs changes...

2003-11-15 Thread Terry Lambert
[EMAIL PROTECTED] wrote: I disagree. The intent of the negative number from df is to subtract the amount used from the total amount available, in order to get the amount remaining. I just don't see how you can possibly infer from the NFS spec that abytes is anything other than an

Re: xscreensaver bug?

2003-11-14 Thread Terry Lambert
Craig Boston wrote: Absolutely worst case, the root user could log in remotely, gdb your screen saver, type foobar as the password, and then hack the authentication function return value to say yes, that's the correct password for [EMAIL PROTECTED], and get in without needing to have

Re: xscreensaver bug?

2003-11-14 Thread Terry Lambert
Eugene M. Kim wrote: Terry Lambert wrote: I'm new in FreeBSD. I found that after I lock screen with xscreensaver, I can unlock it with the root's password as well as my normal user's password. I don't think it is a good thing. Is it a bug? It is intentional, although you can eliminate

Re: xscreensaver bug?

2003-11-13 Thread Terry Lambert
[EMAIL PROTECTED] wrote: I'm new in FreeBSD. I found that after I lock screen with xscreensaver, I can unlock it with the root's password as well as my normal user's password. I don't think it is a good thing. Is it a bug? It is intentional, although you can eliminate it with a recompile of

Re: erroneous message from locked-up machine

2003-11-11 Thread Terry Lambert
Alex Wilkinson wrote: Can someone please elaborate on the acronym KVA ? $ sysctl -d kern.ipc.maxpipekva kern.ipc.maxpipekva: Pipe KVA limit This doesn't tell me enough. Kernel Virtual Address The fast pipe code in FreeBSD uses page lending between the processes participating in the pipe

Re: FreeBSD 5.1-p10 reproducible crash with Apache2

2003-11-07 Thread Terry Lambert
Mike Silbersack wrote: On Wed, 5 Nov 2003, [ISO-8859-1] Branko F. Grac(nar wrote: I tried today with yesterday's -CURRENT. Same symptoms. No kernel panic, just lockup. Ok, submit a PR with clear details on how to recreate the problem, and we'll see if someone can take a look into it. I'm

Re: jumbograms ( em) nfs a no go

2003-11-01 Thread Terry Lambert
Barney Wolff wrote: Implies the sending host is not honoring the MTU restriction when deciding whether or not to frag packets. 67582 looks awfully bogus even as a pre-frag length. How could that come over the wire? The sending host is not honoring the MTU restriction? 8-) 8-). Most

Re: Anyone object to the following change in libc?

2003-10-31 Thread Terry Lambert
Harti Brandt wrote: Section 7.19.6.7 of N843 states: Reaching the end of the string is equivalent to encountering end-of-file for the fscanf function. OK, I buy this one. 8-). Unfortunately this is missing in POSIX, but obviously implied by their reference to ISO. I don't know if we

Re: jumbograms ( em) nfs a no go

2003-10-31 Thread Terry Lambert
Michal Mertl wrote: I then left one computer at 4.9 and upgraded the other to 5.0. When I mount a partition from 5.0 machine I found out, that copying reliably works only from 5.0 to 4.9. The other way around I see messages 'em0: discard oversize frame (ether type 800 flags 3 len 67582 max

Re: Anyone object to the following change in libc?

2003-10-31 Thread Terry Lambert
Bruce Evans wrote: On Thu, 30 Oct 2003, Garrett Wollman wrote: More specifically: IEEE Std. 1003.1-2001 is aligned to ISO/IEC 9899:1999 in all respects. C99 alignment was one of the principal reasons for bringing out a whole new standard in the first place, rather than continuing the

Re: Anyone object to the following change in libc?

2003-10-30 Thread Terry Lambert
Harti Brandt wrote: TLParagraph 6 of: TL TL http://www.opengroup.org/onlinepubs/007904975/functions/sscanf.html TL TLImplies that the lack of characters in the string following the TLconversion, due to failure in assignment, should result in an TLInput failure. Note also that stdio.h

Re: Sysinstall's fdisk/disklabel should be improved

2003-10-30 Thread Terry Lambert
Ulrich Spoerlein wrote: On Tue, 28.10.2003 at 23:29:03 -0800, David O'Brien wrote: It is NOT useless. Why do you think it is? Perhaps you don't relize that some BIOS's wont boot from a hard disk that isn't partitioned to agree with the specifications of the PeeCee. If you want to treat

Re: problems with sysinstall

2003-10-30 Thread Terry Lambert
Doug White wrote: I don't know how WinXP's bootblocks are set up, but I have this setup on Win2k and it works as expected with boot0. They are set up to boot directly from NTFS. An NTFS without a small FAT/FAT16/FAT32 partition for initial load will prevent the boot selector code from booting

Re: Postfix locks 5.1-servers?

2003-10-30 Thread Terry Lambert
Andy Hilker wrote: i am using current. Similar problems *without* postfix. Login via ssh results in print motd, but nothing more. Login on local console results in nothing after pressing enter on username. I think you have a different problem than the one that started this thread. It's very

Re: Anyone object to the following change in libc?

2003-10-28 Thread Terry Lambert
Harti Brandt wrote: When applying %*d%d to the string 123 the first 'd' format matches the string 123 and the conversion yields the number 123. This is then thrown away because assignment is suppressed. The next format specified finds an EOF condition on the stream so this counts as an input

Re: HEADS-UP: EAI_NODATA was deprecated

2003-10-23 Thread Terry Lambert
Hajimu UMEMOTO wrote: I've just committed to nuke EAI_NODATA. It was depricated in RFC3493 (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. So, an application that looks EAI_NODATA, error handling will not work. At least, you need to recompile telnet(1).

Re: ethercons: ethernet console driver for 5-current

2003-10-22 Thread Terry Lambert
Peter Jeremy wrote: As with the Linux driver, communication happens at the ethernet link layer, using protocol number 0x0666 (entertaining choice). If Linux is using 0x0666, we should probably pick a different number since we're not wire compatible. Though coming up with a common protocol

Re: Random signals in {build,install}world recently?

2003-10-21 Thread Terry Lambert
Harti Brandt wrote: On Mon, 20 Oct 2003, Mark Santcroos wrote: MSOn Mon, Oct 20, 2003 at 10:27:38AM +0200, Harti Brandt wrote: MS On Mon, 20 Oct 2003, Vallo Kallaste wrote: MS VKBasically one will get random signals as I have got in build- and MS VKinstallworld. It's impossible to complete

Re: Random signals in {build,install}world recently?

2003-10-21 Thread Terry Lambert
Barney Wolff wrote: I don't think so. I tried that on my A7M266D with no effect. I believe something in recent pmap code doesn't like this mobo, or maybe dual athlons in general. I can run RELENG_5_1 rock solid, and -current from 9/24/03 rock solid, but -current from 10/3 or later gets

Re: Random signals in {build,install}world recently?

2003-10-21 Thread Terry Lambert
Christian Brueffer wrote: I don't think so. I tried that on my A7M266D with no effect. I believe something in recent pmap code doesn't like this mobo, or maybe dual athlons in general. I can run RELENG_5_1 rock solid, and -current from 9/24/03 rock solid, but -current from 10/3 or later

Re: ethercons: ethernet console driver for 5-current

2003-10-21 Thread Terry Lambert
Robert Watson wrote: On Mon, 20 Oct 2003, Steve Kargl wrote: This looks very interesting! Can we run ddb over the ethercon to debug a wedged machine? [ ... ] To support ethernet debugging, the debugger would need to be able to drive polling of the network interface in an

Re: hiding e-mail adresses needed badly

2003-10-16 Thread Terry Lambert
Steve O'Hara-Smith wrote: Peter Schultz [EMAIL PROTECTED] wrote: However, since that fateful e-mail I have been viciously attacked by spammers posing as Microsoft security updaters. These spams include attachments making them all around 150KB in size. Maybe others of you have seen them?

Re: hiding e-mail adresses needed badly

2003-10-16 Thread Terry Lambert
Max Laier wrote: Wednesday, October 15, 2003, 1:29:21 PM, you wrote: AC Due to increased activity of SPAM harvesters what are our plans to hide AC our addresses from public WWW? I mean all browseable mailing lists, AC FreeBSD site, CVS via WWW, PRs, ports and docs. OT: mail/procmail

Re: What's up with the IP stack?

2003-10-15 Thread Terry Lambert
Kevin Oberman wrote: The problem is that the Airport died. Looks like a power supply issue or a bad cap as it fails whenever it's moving lots of data and then recovers after several quite seconds. My wife's laptop link dies at the same time, so that's why I bought the Linksys. (Sorry for

Re: How to create distribution for later NFS sysinstall on other box?

2003-10-15 Thread Terry Lambert
Chris Shenton wrote: I expect there's a way to build a distribution on my main 5.1 system then use sysinstall on the target 4.x to install via NFS (or FTP or...) over the LAN. I have not found any pointers on doing this in the Handbook or a couple quick Googles (perhaps I'm searching on the

Re: Unable to boot cvsup 20031011

2003-10-15 Thread Terry Lambert
Dimitry Andric wrote: On 2003-10-15 at 03:30:54 Brian J. Creasy wrote: unfortunately, we are not getting any errors. the system just restarts after it starts booting the kernel. I've got the same version here of pmap.c, but in my case the kernel hangs just after the boot loader's

Re: GEOM Gate.

2003-10-15 Thread Terry Lambert
Wilko Bulte wrote: On Tue, Oct 14, 2003 at 10:44:14PM +0200, Oldach, Helge wrote: From: Richard Tobin [mailto:[EMAIL PROTECTED] Ok, GEOM Gate is ready for testing. For those who don't know what it is, they can read README: Aaargh! It's the return of nd(4) from SunOS. Excuse

Re: What's up with the IP stack?

2003-10-14 Thread Terry Lambert
Kevin Oberman wrote: When I see this I can reach some LAN hosts, but not others. I can always seem to reach the access point. I can usually, but not always, reach most other systems on the LAN, but not the gateway router, a Sonic Wall firewall. I have logged onto another system and then

RE: Why is em nic generating interrupts?

2003-10-10 Thread Terry Lambert
Michael O. Boev wrote: From: Terry Lambert [mailto:[EMAIL PROTECTED] Michael O. Boev wrote: I've got a [uniprocessor 5.1-RELEASE] router machine with fxp and em nics. I've built my kernel with the following included: options DEVICE_POLLING options HZ=2500

Re: Why is em nic generating interrupts?

2003-10-09 Thread Terry Lambert
Michael O. Boev wrote: I've got a [uniprocessor 5.1-RELEASE] router machine with fxp and em nics. I've built my kernel with the following included: options DEVICE_POLLING options HZ=2500 and enabled polling in /etc/sysctl.conf. [ ... ] What's happening? Is polling working

Re: ? warning used static ldt allocation

2003-10-07 Thread Terry Lambert
Pau Rodriguez wrote: #dmesg|tail -n 2 Warning: pid 474 used static ldt allocation. See the i386_set_ldt man page for more info What does it means? It was apearring for aprox. 15days. What I have to do? Maybe it was asked before... Could anybody refetch that message or answer? :(

Re: Improvements to fsck performance in -current ...?

2003-10-02 Thread Terry Lambert
Jens Rehsack wrote: Kevin Oberman wrote: Current has two major changes re speeding up fsck. The most significant is the background operation of fsck on file system with soft updates enabled. Because of the way softupdates works, you are assured of metadata consistency on reboot, so the

Will 5.2 ship with WITH_LIBMAP? (was Re: KSE howto?)

2003-09-26 Thread Terry Lambert
Claus Guttesen wrote: Before the 'make world/kernel' these two apps would crash at regular intervals, and I had to make these addititions to /etc/libmap.conf so they wouldn't go down: [/usr/X11R6/bin/firebird] libc_r.so.5 libthr.so.1 libc_r.solibthr.so Which begs the question... is

Re: Will 5.2 ship with WITH_LIBMAP? (was Re: KSE howto?)

2003-09-26 Thread Terry Lambert
Jeroen C.van Gelderen wrote: On Friday, Sep 26, 2003, at 13:29 US/Eastern, Terry Lambert wrote: Which begs the question... is 5.2 going to ship with WITH_LIBMAP enabled by default? http://www.google.com/search?q=libmap+default+WITH_LIBMAPie=UTF- 8oe=UTF-8 http://people.freebsd.org

Re: HFS+ driver kernel options?

2003-09-19 Thread Terry Lambert
David Leimbach wrote: Hey... just looking to see what option I need to enable to get HFS+ support... I am going to try experimenting with building a ppc cross-build environment and try to install FreeBSD on my iPod and boot from it :) (1) iPod's default to MSDOSFS for compatability

Re: panic: Negative bio_offset (-15050100712783872) on bio0xc7725d50

2003-09-18 Thread Terry Lambert
John-Mark Gurney wrote: Bernd Walter wrote this message on Wed, Sep 17, 2003 at 10:27 +0200: What is wrong with returning an IO error? I always hated panics because of filesystem corruptions. An alternative would be to just bring that filesystem down. Its easy to panic a whole system

Re: using tip on machine that has COMCONSOLE set to serial

2003-09-17 Thread Terry Lambert
Don Bowman wrote: This may be a dumb question, but I have a situation where machine A and B both have enabled serial console. I'm ssh'ing into A to try and debug a problem on B. I'm trying to use tip, but am getting interference from the fact that A also has a serial console. If i disable

Re: ATAng hangs with kernel from september 15

2003-09-17 Thread Terry Lambert
Joachim Strömbergson wrote: So now the tousand dollar question becomes What in the boot contains a timeout around 30 seconds, a timout that lately has been committed/ctivated in the kernel code? SCSI has one of these; are you compiling with ATAPICAM? -- Terry

Re: Release Engineering Status Report

2003-09-16 Thread Terry Lambert
Scott Long wrote: Agreed. PAE was merged into -stable in three steps. Backing out the third step and leaving the first two steps removes the instability. Unfortunately, it was the third step that also was the most complex. In any case, we have 2 weeks to find the resolution before the

Re: new rc system

2003-09-11 Thread Terry Lambert
Doug Barton wrote: ntpd[ate] is a very difficult thing to order, because a lot of things need/want accurate time before they start, and yet by definition, ntp is a network protocol so it has a lot of other dependencies before it can even start. A lot of the things that ntp depends on (like

Re: Multi BOOT

2003-09-05 Thread Terry Lambert
Abdul Hakeem wrote: Does anyone know a way of simultaneously booting FreeBSD with Linux or Win2K with a dual-processor and dual NIC server ? I can set the processor affinity on the Win2k, but I am having trouble configuring the FreeBSD to use a particular processor and a particular NIC. Just

Re: Text file busy

2003-09-05 Thread Terry Lambert
Paul Richards wrote: Overwriting a file that's currently executing results in a Text file busy error. When did this start happening? This was something that was fixed way back on FreeBSD but it seems to be a problem again. You are opening an existing file for write. You need to rename

Re: Text file busy

2003-09-05 Thread Terry Lambert
Wesley Morgan wrote: On Thu, 4 Sep 2003, Scott M. Likens wrote: On Thu, 2003-09-04 at 07:44, Paul Richards wrote: Overwriting a file that's currently executing results in a Text file busy error. this feature has always existed in FreeBSD for as long as I remember. It's also

Re: Question about genassym, locore.s and 0-sizedarrays(showstopper for an icc compiled kernel)

2003-09-05 Thread Terry Lambert
Alexander Leidinger wrote: Dan Nelson [EMAIL PROTECTED] wrote: If you're talking FreeBSD 5, you should be able to simply subsitute a C99 flexible array member (basically replace [0] with []) and get the same effect. 0-length arrays are a gcc extension:

Re: Question about genassym, locore.s and 0-sizedarrays(showstopper for an icc compiled kernel)

2003-09-05 Thread Terry Lambert
Dan Nelson wrote: I guess the correct question to be asking is does the ELF format allow 0-length symbols? It does, according to my reading of it. They may have an issue with dead code removal or element aliasing. The way to find out would be to see what they emit for []... 0 lenth, or 1?

Re: Question about genassym, locore.s and 0-sizedarrays(showstopperfor an icc compiled kernel)

2003-09-05 Thread Terry Lambert
Alexander Leidinger wrote: On Fri, 05 Sep 2003 01:38:29 -0700 Terry Lambert [EMAIL PROTECTED] wrote: Dan Nelson wrote: I guess the correct question to be asking is does the ELF format allow 0-length symbols? It does, according to my reading of it. They may have an issue with dead

Re: ATAng - copying atapi CD

2003-09-04 Thread Terry Lambert
Bryan Liesner wrote: On Wed, 3 Sep 2003, Martin wrote: If you notice that your CD-R label looks strange and if you need the data, you should backup it fast. No, we're talking about brand new, factory pressed, audio CDs. Are they copy protected? The way you can tell is if you try to do

Re: ATAng - copying atapi CD

2003-09-04 Thread Terry Lambert
Sean Kelly wrote: On Wed, Sep 03, 2003 at 07:11:53AM -0400, Bryan Liesner wrote: No, we're talking about brand new, factory pressed, audio CDs. And on top of that, my Windows XP machine's DVD-ROM was able to raed my *commercial audio CDs* perfectly while the CD-RW in the FreeBSD machine was

Re: swapon vs savecore dilemma

2003-09-03 Thread Terry Lambert
Dirk Meyer wrote: Wouldn't fsck - mount - savecore - swapon be a more appropriate order? Terry Lambert schrieb:, If you had small enough disks, large enough RAM, or could limit the number of CG bitmaps you had to simultaneously examine, then yes. Otherwise, no. Can't we get a knob

Re: Question related to FreeBSD Serial Console...

2003-09-02 Thread Terry Lambert
Scott Long wrote: Scott M. Likens wrote: I have a question related to FreeBSD Serial console, I am aware you can use -Dh for both internal and serial, but is it possible to see the 'kernel' boot messages sent on both the serial and the console? It was a question that was asked to me

Re: Question related to FreeBSD Serial Console...

2003-09-02 Thread Terry Lambert
David Leimbach wrote: On Sep 1, 2003, at 6:36 PM, Nicole wrote: *SIGH* No what I want is NO serial console. DO NOT FOR ANY REASON turn off/not resp ond to the keyboard port -Dh means both keyboard and serial console... what's the problem? And please stop shouting. man 8 boot:

Re: swapon vs savecore dilemma

2003-09-02 Thread Terry Lambert
Doug White wrote: It looks like we may need to rethink the way swap is mounted at boot time if we want crashdumps to work. Recently(?), a change was made so you can no longer open a swap partition read/write after it is activated with swapon(8). In the current boot sequence, swap is

Re: swapon vs savecore dilemma

2003-09-02 Thread Terry Lambert
Pawel Worach wrote: Is fsck really that memory heavy so that it needs swap? Yes, if you have a huge FS. The problem is that the checking of the CG bitmaps during an fsck require that you have all the bitmaps in core, and then linearly traverse the entire directory structure to identify which

Re: ACPI problems with Compaq Evo N610c

2003-09-01 Thread Terry Lambert
Doug Barton wrote: I use this acpi_dsdt code: http://www.guldan.cistron.nl/acpi_dsdt.dsl Thanks for the suggestion... I tried that one, but got the same error about not enough memory to load the override file. I attached a verbose dmesg, just in case someone wants to take a look. | ACPI:

Re: need some debugging help

2003-09-01 Thread Terry Lambert
Pawel Jakub Dawidek wrote: On Mon, Sep 01, 2003 at 12:48:41AM -0600, Kenneth D. Merry wrote: + - I tried just holding a mutex all the time, but obviously you can't +malloc while holding a mutex (except Giant), and the sysctl code does a +number of mallocs. (The original cause of this

Re: /lib symlinks problem?

2003-09-01 Thread Terry Lambert
M. Warner Losh wrote: In message: [EMAIL PROTECTED] Doug Barton [EMAIL PROTECTED] writes: : I posted one approach to this today... touch a file right before you : start installworld, then consider anything not newer than that file a : candidate for disposal. There is currently

Re: ACPI problems with Compaq Evo N610c

2003-09-01 Thread Terry Lambert
Doug Barton wrote: On Mon, 1 Sep 2003, Terry Lambert wrote: I attached a verbose dmesg, just in case someone wants to take a look. | ACPI: DSDT was overridden. | -0424: *** Error: UtAllocate: Could not allocate size 50204453 | ACPI-0428: *** Error: Could not allocate table

Re: Anyone ported HCF/HSF modem drivers to FreeBSD?

2003-09-01 Thread Terry Lambert
Daniel O'Connor wrote: On Monday 01 September 2003 08:41, Mark Kettenis wrote: I asked this on -hackers a little while ago but no response. I'm curious if anyone has made an attempt to port these Winmodem drivers. http://www.linuxant.com/drivers/ I did look into it, but concluded

Re: nfs tranfers hang in state getblck or nfsread

2003-08-29 Thread Terry Lambert
Jason Stone wrote: We actually had this discussion already over on -performance (and I get what you're saying), but the interesting question here is, why is 5.1 behaving so differently from 4-stable on identical hardware under identical load. Because an absolute ton of code was rewritten.

Re: IDE DVD playback on 5.1-CURRENT

2003-08-29 Thread Terry Lambert
David O'Brien wrote: On Thu, Aug 28, 2003 at 01:29:22AM -0700, Terry Lambert wrote: 1)dd if=/dev/acd0 count=1 of=/dev/null 2)dd if=/dev/acd0c count=1 of=/dev/null 3)dd if=/dev/acd0a count=1 of=/dev/null

Re: nfs tranfers hang in state getblck or nfsread

2003-08-29 Thread Terry Lambert
Pawel Worach wrote: Here is some more information. I realized that i had tcp and udp blackholing enabled on the server so i disabled that, still no dice. disabled rpc.statd and rpc.lockd, still no dice. [ ... ] So it looks like what i said before, only tcp seems to cause this. I am now going

Re: IDE DVD playback on 5.1-CURRENT

2003-08-28 Thread Terry Lambert
Adam K Kirchhoff wrote: Again, no luck. From vlc: [0141] main input: playlist item `dvdold:///dev/[EMAIL PROTECTED],1' [0141] dvd input error: dvdcss cannot open device libdvdread: Using libdvdcss version 1.2.5 for DVD access libdvdread: Could not open /dev/acd0 with libdvdcss.

Re: nfs tranfers hang in state getblck or nfsread

2003-08-28 Thread Terry Lambert
Robert Watson wrote: I have a very similar configuration, but it sounds like I'm not bumping into the same problem. Are you using NFSv2 or v3, and how many file systems are you mounting? Are you generally using UFS1 or UFS2? Right now, I'm mounting a single UFS2 file system was the root,

Re: nfs tranfers hang in state getblck or nfsread

2003-08-28 Thread Terry Lambert
Pawel Worach wrote: [ ... subject ... ] This only seem to happen for nfs over tcp. That's strange; most of the problems I've ever seen are from using UDP, large read/write sizes, and then droping one packet out of a bunch of frags caused by the MTU being much smaller than the read/write size

Re: nfs tranfers hang in state getblck or nfsread

2003-08-28 Thread Terry Lambert
Jason Stone wrote: I'm also seeing a similar problem - I have a cluster of high-volume mailservers delivering mail over nfs to maildirs on a netapp. The cluster was all 4-stable, but I decided to mix a couple of 5.1 boxes in to see how they would do. The 5.1 boxes accepted and queued mail

Re: IDE DVD playback on 5.1-CURRENT

2003-08-27 Thread Terry Lambert
Adam K Kirchhoff wrote: I recently moved a firewire card and DVD drive that had been in my FreeBSD box to another computer. I replaced it with an IDE DVD drive. The probelm is that now I can't get mplayer or vlc to play any DVDs that had previously worked with the firewire drive. [ ... ]

Re: Broken kernel compile on 5.1-RELEASE / 5-CURRENT (SMP, PAEscsi)

2003-08-20 Thread Terry Lambert
Robert Watson wrote: Can't speak to the specifics of this, but you want to be very careful not to use kernel modules with PAE: modules are currently without the context of the kernel configuration file, and PAE introduces possible binary incompatibility with modules that dig into VM (which

Re: fwcontrol -r missing a close() call

2003-08-20 Thread Terry Lambert
Dan Nelson wrote: In the last episode (Aug 19), Andre Guibert de Bruet said: open(/dev/fw0.0,0x2,01001132500) = 3 (0x3) ioctl(3,FW_IBUSRST,0xbfbff400) = 0 (0x0) exit(0x0) process exit, rval = 0 We're not closing fd #3 before exiting the process. This is

Re: Regarding recent spam on the list

2003-08-20 Thread Terry Lambert
Bill Moran wrote: Just curious if anyone knows the origin of all these auto-responses, etc. I'm seeing a lot of these on every list I'm subscribed to (not all of them FreeBSD related) so I was wondering if some Windows trojan is running rampant and using these list addresses as return addys?

Re: Slow Boot

2003-08-19 Thread Terry Lambert
Bill Moran wrote: It stalls for about 20-30 seconds and then continues booting. I can not figure out what the problem is or how to solve it. Has anyone had similar issues. I've seen this on various hardware. I actually have a 200mhz machine sitting here that has always done this. I've

Re: clock works slowly when I change CPU speed

2003-08-16 Thread Terry Lambert
Thorsten Greiner wrote: * Bob Fleck [EMAIL PROTECTED] [2003-08-15 22:46]: So, what should be done to restore the proper behavior of the timekeeping on these systems? $ dmesg | grep counter Timecounter i8254 frequency 1193182 Hz Timecounter ACPI-fast frequency 3579545 Hz Timecounter

Re: HEADSUP: pca driver being retired.

2003-08-15 Thread Terry Lambert
Mark Murray wrote: I see considerable scope for an infrastructure that would allow drivers to be ports. _Easily_. This is a good idea. I think if this infrastructure already existed, then many people would make their drivers into ports. Until then, though, the drivers will likely have to be

Re: usbd does not use detach

2003-08-15 Thread Terry Lambert
M. Warner Losh wrote: These two are redundant. Devices can already ask the bridge driver if the device is still present on the bus. Smart drivers already do this, but most of the drivers in the tree are dumb. You also have to deal with device disappearance in ISRs since it is possible for

Re: got bad cookie warnings/errors?

2003-08-14 Thread Terry Lambert
Lars Eggert wrote: David Malone wrote: I have a vague feeling they are related to a directory changing while it is being read, and might mean that the NFS client sees an inconsistent version of the directory. It's been a long time since I looked at it though. Sounds reasonable, but I'm

Re: 5.1, Data Corruption, Intel, Oh my! [patch] - Fatal trap 12

2003-08-14 Thread Terry Lambert
Bosko Milekic wrote: db trace _mtx_lock_flags(0,0,c07aa287,11e,c0c21aaa) at _mtx_lock_flags+0x43 vm_fault(c102f000,c000,2,0,c08205c0) at vm_fault+0x2b4 trap_pfault(c0c21b9e,0,c4d8,10,c4d8) at trap_pfault+0x152 trap(6c200018,10,1bc40060,1c,0) at trap+0x30d calltrap() at

Re: makemap problem in virtusertable.

2003-08-14 Thread Terry Lambert
Mark Sergeant wrote: I'm running current as of two weeks ago I get the following problem when doing a make in /etc/mail ... makemap: virtusertable.db: line 206: key [EMAIL PROTECTED]: put error: Operation not permitted *** Error code 74 This line contains ... [EMAIL PROTECTED]

Re: Any patch for ICMP in a jail?

2003-08-14 Thread Terry Lambert
Jacques A. Vidrine wrote: On Mon, Aug 04, 2003 at 10:53:03AM -0700, Terry Lambert wrote: You would either lose or overexpose root-restricted functionality, such as flood-ping. Eh? Why? pingd can know your credentials. Through the credential passing? I thought that wasn't reliable

Re: 5.1, Data Corruption, Intel, Oh my! [patch] - Fatal trap 12

2003-08-14 Thread Terry Lambert
Peter Edwards wrote: ... He might also want to look for any function pointer that takes 5 arguments; Nice tactic, but misleading in this case, methinks. I assume your basing this on the 5 arguments shown in the backtrace. The 5 arguments passed to the function at 0x5949 is probably just

  1   2   3   4   5   6   7   8   9   10   >