Panic in -current

2000-11-28 Thread Andrea Campi
Latest (this night) current, no system activity: panic: mutex Giant owned at ../../kern/kern_intr.c:238 I can sen you kernel conf if needed. Is this known or should I invest some time to debug it? Bye, Andrea -- 0 and 1. Now what could be so hard about that? To

Re: Mutex, SMBUS, ACPI (Re: how to mutex'ify a device driver)

2000-11-28 Thread Dag-Erling Smorgrav
Nicolas Souchu [EMAIL PROTECTED] writes: What are kernel mutex? A new mechanism for spl replacement? Is it introduced with the new SMP? I found nothing in the mail archives... You mean you don't read -committers, -developers and -arch? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker
On Mon, 27 Nov 2000, Alfred Perlstein wrote: * The Hermit Hacker [EMAIL PROTECTED] [001127 18:12] wrote: Morning all ... Every since the SMPng code went into -current way back when, I've been experiencing hangs ... and am not quite sure how to debug this. I'm in X all the

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker
On Mon, 27 Nov 2000, Alfred Perlstein wrote: * Alfred Perlstein [EMAIL PROTECTED] [001127 21:56] wrote: * The Hermit Hacker [EMAIL PROTECTED] [001127 18:12] wrote: Morning all ... Every since the SMPng code went into -current way back when, I've been experiencing hangs ...

Re: status of http://www.freebsd.org/handbook/makeworld.html

2000-11-28 Thread Nik Clayton
On Mon, Nov 27, 2000 at 08:28:57PM -0500, Garance A Drosihn wrote: Unless I'm missing something, which is certainly possible, it seems to me that http://www.freebsd.org/handbook/makeworld.html is missing some information that it used to have. Send patches. When I wrote that section I

3dfx.ko

2000-11-28 Thread Donald J . Maddox
The standard way of loading a particular module at boot from /boot/loader.conf is 'modulename_load="YES"', right? This doesn't seem to be possible with the 3dfx module, however... Since it's name starts with a number, it causes a syntax error. Being FORTH-impaired, I have no idea how to work

Re: Patch for current on LCA based alphas

2000-11-28 Thread Wilko Bulte
On Mon, Nov 27, 2000 at 02:42:52PM -0600, Mike Eldridge wrote: On Sat, 25 Nov 2000, Bernd Walter wrote: LCA systems doesn't like probing after PCI slot 19. Probing slot 20 panics the system. The following patch made it into single user mode on my AXPpci33. I asume it will also work on

RE: -current kernel hangs machine solid ...

2000-11-28 Thread John Baldwin
On 28-Nov-00 The Hermit Hacker wrote: Just tried to build a kernel based on sources from today, to enable BREAK_TO_DEBUGGER so that I can try and get in and see where its hanging ... the compile hung the machine solid. Even hitting the 'numlock'/'capslock' on my keyboard generated no

Re: Patch for current on LCA based alphas

2000-11-28 Thread Mike Eldridge
On Tue, 28 Nov 2000, Wilko Bulte wrote: On Mon, Nov 27, 2000 at 02:42:52PM -0600, Mike Eldridge wrote: On Sat, 25 Nov 2000, Bernd Walter wrote: LCA systems doesn't like probing after PCI slot 19. Probing slot 20 panics the system. The following patch made it into single user mode on

RE: Panic in -current

2000-11-28 Thread John Baldwin
On 28-Nov-00 Andrea Campi wrote: Latest (this night) current, no system activity: panic: mutex Giant owned at ../../kern/kern_intr.c:238 I can sen you kernel conf if needed. Is this known or should I invest some time to debug it? Eek! I haven't seen this. If you can reproduce this,

RE: -current kernel hangs machine solid ...

2000-11-28 Thread The Hermit Hacker
gah ... okay, first "problem" is coming up with a serial console, as I only have the one machine ... but, am going to search one out and save this email ... will come back to it once I get it setup that far ... thanks ... On Tue, 28 Nov 2000, John Baldwin wrote: On 28-Nov-00 The Hermit

Re: -current on ibm tp a20p?

2000-11-28 Thread Warner Losh
In message [EMAIL PROTECTED] Christian Carstensen writes: : sound output results in "pcm0: play interrupt timeout, channel dead". : when inserting a pccard, the card is not being recognized, pccardd tends : to call it something like "Null, Null". You must change the default pccardd memory

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Michael Harnois
On Tue, 28 Nov 2000 12:17:14 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said: this kernel seems to do it faster then the previous one ... That's been my observation over the past 24 hours too. -- Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA [EMAIL PROTECTED]

Re: wall/rwall cleanups

2000-11-28 Thread Warner Losh
In message [EMAIL PROTECTED] Kris Kennaway writes: : Please review. This syncs up our code with some NetBSD changes, as well : as attempting to sync rwall up with wall. You might also want to bruing in the openBSD changes for wall -g. Plus a few nits: + char *tty,

Re: 3dfx.ko

2000-11-28 Thread Marcel Moolenaar
"Donald J . Maddox" wrote: Also, it doesn't seem to be possible to compile 'device tdfx' statically into the kernel either, since it depends on symbols that only exist in the kernel when compat_linux is defined, and COMPAT_LINUX is no longer an option, is it? COMPAT_LINUX is still

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker
well, John just gave a good break down on what needs to be done to debug it ... do you have easy access to a serial console? I'm trying to scrounge up hardware at this end to do it with, but its difficult :) On 28 Nov 2000, Michael Harnois wrote: On Tue, 28 Nov 2000 12:17:14 -0400 (AST), The

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Michael Harnois
On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said: well, John just gave a good break down on what needs to be done to debug it ... do you have easy access to a serial console? I'm trying to scrounge up hardware at this end to do it with, but

Re: 3dfx.ko

2000-11-28 Thread Donald J . Maddox
I actually thought that COMPAT_LINUX had been completely removed, just causing opt_dontuse.h to be generated. I see now that it doesn't even warn about this being a deprecated option. *Is* it still considered a deprecated option? I'm sure config used to warn about COMPAT_LINUX being deprecated

Re: 3dfx.ko

2000-11-28 Thread Marcel Moolenaar
"Donald J . Maddox" wrote: I actually thought that COMPAT_LINUX had been completely removed, just causing opt_dontuse.h to be generated. I see now that it doesn't even warn about this being a deprecated option. *Is* it still considered a deprecated option? I'm sure config used to warn

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker
no sweat I'll try and hijack a laptop from work tomorrow for a couple of days, or wait for hte boss to get back from her trip and hijack hers ... if nothing for tomorrow, early next week instead ... On 28 Nov 2000, Michael Harnois wrote: On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The

Re: Mutex, SMBUS, ACPI (Re: how to mutex'ify a device driver)

2000-11-28 Thread Daniel O'Connor
On 28-Nov-00 Dag-Erling Smorgrav wrote: Nicolas Souchu [EMAIL PROTECTED] writes: What are kernel mutex? A new mechanism for spl replacement? Is it introduced with the new SMP? I found nothing in the mail archives... You mean you don't read -committers, -developers and -arch? Even if

Re: How to debug ppp

2000-11-28 Thread Brian Somers
Well, I haven't seen this before !!! Your ISP is *insisting* that you negotiate a multi-link connection. You can do this by simply adding set mrru 1506 to your config. I sometimes have trouble connecting to my flat-rate isp via i4bsd. Most of the time it works, but sometimes the

Other Linux stuff...

2000-11-28 Thread Donald J . Maddox
Huh... I was sure it did... Oh, well, guess my memory ain't what it used to be :-/ But... Since you are the Linux Guru, and it seems I momentarily have your attention, let me ask you about another Linux emulation matter. :) The Linux 'ldd' program is, as I'm sure you know, just a shell

Re: missing interrupts (was Re: CURRENT is freezing again ...)

2000-11-28 Thread Bruce Evans
On Mon, 27 Nov 2000, Andrew Gallatin wrote: Bruce Evans writes: Possible causes of the problem: 1) isa_handle_intr() claims to send specific EOIs (0x30 | irq) but actually sends non-specific ones (0x20 | garbage). Since interrupts I think that sending non-specific EOIs is

Re: Other Linux stuff...

2000-11-28 Thread Marcel Moolenaar
"Donald J . Maddox" wrote: The Linux 'ldd' program is, as I'm sure you know, just a shell script that tries to directly execute 'ld-linux.so.2' on the filename passed in argv to the script. This doesn't work with our Linux emulation. Apparently, ld-linux.so.2 is simply (and not too

Re: Other Linux stuff...

2000-11-28 Thread janb
It's not a matter of our emulator. The problem is that Linux allows the execution of shared objects. Technically speaking this is wrong and our ELF loader doesn't do that. We can change our ELF loader, but that would Could you elaborate on this, please. I am interested in what is meant with

Re: Other Linux stuff...

2000-11-28 Thread Marcel Moolenaar
[EMAIL PROTECTED] wrote: It's not a matter of our emulator. The problem is that Linux allows the execution of shared objects. Technically speaking this is wrong and our ELF loader doesn't do that. We can change our ELF loader, but that would Could you elaborate on this, please. I am

Re: 3dfx.ko

2000-11-28 Thread Daniel C. Sobral
"Donald J . Maddox" wrote: The standard way of loading a particular module at boot from /boot/loader.conf is 'modulename_load="YES"', right? This doesn't seem to be possible with the 3dfx module, however... Since it's name starts with a number, it causes a syntax error. Ugh. Evil stuff.

atomic.h problem with compiling the kernel

2000-11-28 Thread Piet Delaney
For quite a while I couldn't get into the CVS server to update /usr/src. I finnaly did and /usr/src compiled ok but the kernel is giving me a problem with some asm macros in atomic.h and they aren't trivial macros. I was wondering if you knew what the problem was or who could help set me

Re: How to debug ppp

2000-11-28 Thread Leif Neland
On Wed, 29 Nov 2000, Brian Somers wrote: Well, I haven't seen this before !!! Your ISP is *insisting* that you negotiate a multi-link connection. You can do this by simply adding set mrru 1506 to your config. Strange, since my subscription is single channel flat rate isdn...

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Leif Neland
On 28 Nov 2000, Michael Harnois wrote: On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said: well, John just gave a good break down on what needs to be done to debug it ... do you have easy access to a serial console? I'm trying to scrounge up

Re: atomic.h problem with compiling the kernel

2000-11-28 Thread Mark Murray
For quite a while I couldn't get into the CVS server to update /usr/src. I finnaly did and /usr/src compiled ok but the kernel is giving me a problem with some asm macros in atomic.h and they aren't trivial macros. I was wondering if you knew what the problem was or who could help set me

FFS Snapshot issues

2000-11-28 Thread Chris Knight
Howdy, Get the attached panic repeatedly when doing an rm -rf /usr/ports and trying to create a snapshot of the root partition. Sometimes I get the panic when there's no apparent disk activity and trying to create a snapshot on 2GB filesystems. I've included gdb output, dmesg and my kernel

Re: Other Linux stuff...

2000-11-28 Thread Bruce A. Mah
If memory serves me right, Marcel Moolenaar wrote: So, from a pure ELF layout point of view, both shared objects and executables are the same. But a shared library is not guaranteed to be executable. Allowing shared objects to be executed is in violation with the specs: This may be a really

Re: 3dfx.ko

2000-11-28 Thread Donald J . Maddox
Thanks! This works great. I remember reading the stuff at the bottom of /boot/defaults/loader.conf about the 'module_name' variable, etc. and wondering what on Earth it might be useful for :) Guess I know now :) Thanks again... "Daniel C. Sobral" wrote: Use two variables to control this. For

Re: Other Linux stuff...

2000-11-28 Thread Marcel Moolenaar
"Bruce A. Mah" wrote: If memory serves me right, Marcel Moolenaar wrote: So, from a pure ELF layout point of view, both shared objects and executables are the same. But a shared library is not guaranteed to be executable. Allowing shared objects to be executed is in violation with

No Subject

2000-11-28 Thread News User
Here's a report, that you may ignore if needed... I'm building news machines with two partitions for OSen, to allow me to boot into my choice, where my choice has been FreeBSD-STABLE or FreeBSD-CURRENT to see how the two compare, and if there are any significant improvements in -CURRENT. I

Re: slight improvement in locore.s?

2000-11-28 Thread Bruce Evans
On Thu, 23 Nov 2000, Julian Elischer wrote: locore.s includes: #define ALLOCPAGES(foo) \ movlR(physfree), %esi ; \ movl$((foo)*PAGE_SIZE), %eax ; \ addl%esi, %eax ; \ movl%eax, R(physfree) ; \ movl%esi, %edi ; \ movl