panic: vm_page_dirty: page is free!

2003-11-10 Thread Andrea Campi
Hi, my laptop just paniced with this message. I looked in the archives but didn't find it. Here it is in case it's interesting; I don't know if any more details are needed. (kgdb) where #0 doadump () at ../../../kern/kern_shutdown.c:240 #1 0xc04604b5 in db_fncall (dummy1=0, dummy2=0, dummy3=0,

LOR message from crashdump?

2003-11-10 Thread Andrea Campi
Hi, I tried researching this one but couldn't find an answer in the FM... When I get panics, I end up in DDB; then I just type `call doadump' and reboot. When I load such a dump in gdb -k, I usually get the panic message, like this: This GDB was configured as "i386-undermydesk-freebsd"... panic:

Re: ip_output panics on recent -CURRENT

2003-11-04 Thread Andrea Campi
On Mon, Nov 03, 2003 at 01:38:56PM -0800, Sam Leffler wrote: > The problem appears to be caused by someone reclaming routing table entries > while they are in use. This would likely be a reference counting problem. > > You didn't provide any information about system kernel config or hardware >

ip_output panics on recent -CURRENT

2003-11-03 Thread Andrea Campi
Hi, after updating my laptop to last sunday sources, it panics very often with one of two panics. Sam, any chance you might know what's up? Note that both panics seem (to my untrained eye at least) to be related to spammed route entry structures. The second one in particular looks suspicious, wit

Re: Fixing -pthreads (Re: ports and -current)

2003-09-24 Thread Andrea Campi
On Wed, Sep 24, 2003 at 05:03:28PM +0100, Ian Dowse wrote: > Just to throw one further approach out on the table, below is a > patch that makes gcc read from a file to determine what library to > associate with the -pthread flag. It's a hack of course, and probably > neither correct or optimal. If

Re: Fixing -pthreads (Re: ports and -current)

2003-09-23 Thread Andrea Campi
[cc trimmed] Hi Daniel, On Tue, Sep 23, 2003 at 04:13:11PM -0400, Daniel Eischen wrote: > > However, I'd > > also suggest making it easy for people to set '-pthread' to give whatever > > pthreads library they think is the most sensible default for their > > installation. > > You can't make it va

Re: 3COM ep0 pccard device broken in current.

2003-07-05 Thread Andrea Campi
On Fri, Jul 04, 2003 at 03:26:07PM +0100, Mark Murray wrote: > > There were two changes. One is in pccbb.c that makes things a MPSAFE > > interrupt. You could revert to version 1.175 of pccbb.c. > > I'll play with that in a few hours when I get home. [...] > > Revision 1.115 / (download) - annot

Re: [acpi-jp 2365] Re: Updated ec-burst.diff patch

2003-07-02 Thread Andrea Campi
On Tue, Jul 01, 2003 at 10:25:36AM -0700, Nate Lawson wrote: > Would you please turn on "hw.acpi.verbose=1" in loader.conf? It should > explain the cause of those errors. Also, I would like the output of > "dmesg | egrep acpi_ec0\|EC\ Wait". I tested your patch on my IBM Thinkpad 570E and didn't

Re: [acpi-jp 2302] s4bios

2003-06-05 Thread Andrea Campi
On Tue, Jun 03, 2003 at 05:32:05PM +0200, Mark Santcroos wrote: > Is there anyone that has succesfully used "acpiconf -s 4"? > > I'm very interested in your reports. If you haven't tried yet, but are > willing to help me, please report me your findings. > Works for me - although it does some wei

Re: [acpi-jp 2263] HEADSUP: acpi patches in the tree

2003-05-30 Thread Andrea Campi
On Tue, May 27, 2003 at 02:06:50PM -0700, Nate Lawson wrote: > I have committed changes to nsalloc.c and dsmethod.c. Please cvsup and > test ACPI, especially if you had problems with it (that were not present > before 0228 was imported). I updated and as expected my problems (that were not presen

Re: firewire hangs on Thinkpad

2003-02-12 Thread Andrea Campi
Warner, rev 1.33 of cardbus.c for me is a regression - it will again cause kldload to hang if the card is inserted, until I eject the card. This doesn't happen with rev 1.32. Also, one of the last commits introduced another minor issue for me. When I eject the card, I get: cbb0: bad Vcc request.

Re: firewire hangs on Thinkpad

2003-02-10 Thread Andrea Campi
On Sun, Feb 09, 2003 at 10:06:54AM -0700, M. Warner Losh wrote: > Maybe something more like the following would be closer to correct: > Yes, that seems to work. After changing carbus.c as you suggested, kldload'ing sbp.ko and inserting the card results in: brian# cbb0: card inserted: event=0x000

Re: firewire hangs on Thinkpad

2003-01-30 Thread Andrea Campi
On Wed, Jan 29, 2003 at 02:14:14PM -0800, Terry Lambert wrote: > I expect that the attach of the device creates an interrupt if > the system is already up. This would indicate that it was an > order of operations problem in the driver registration for a > "live" piece of hardware. Probably, it ne

Re: firewire hangs on Thinkpad

2003-01-29 Thread Andrea Campi
On Sat, Jan 25, 2003 at 11:55:01AM -0700, M. Warner Losh wrote: > This sounds like it might be an interrupt storm. I'm not sure if the > fwohci driver is failing to clear an interrupt source, or if the > cardbus bridge is failing. Have you connected a fw device to the > firewire card? I've been

Re: firewire hangs on Thinkpad

2003-01-26 Thread Andrea Campi
Hi Warner and Hidetoshi, On Saturday, Jan 25, 2003, at 19:55 Europe/Rome, M. Warner Losh wrote: This sounds like it might be an interrupt storm. I'm not sure if the fwohci driver is failing to clear an interrupt source, or if the cardbus bridge is failing. Have you connected a fw device to the

firewire hangs on Thinkpad

2003-01-24 Thread Andrea Campi
Hi all, I'm having a bad time trying to get a firewire cardbus adapter to work. First of all, let me say that I'm under no pressure - I just bought it to test our firewire implementation but I have no pressing need for it. Anyway, new kernel from last night, when I insert the card I get the foll

Re: ARLA 0.35.11 on FreeBSD 5.0-RC1

2002-12-17 Thread Andrea Campi
On Mon, Dec 16, 2002 at 01:34:35PM -0500, Garance A Drosihn wrote: > When I was looking into this, I was talking with Andrea Campi about > some changes he had for arla on -current. He was also very busy at > the time, but maybe he still has that around. (I'm in the middle I used t

Re: Problems building GENERIC with DP2 on ThinkPad 600E

2002-12-06 Thread Andrea Campi
On Thu, Dec 05, 2002 at 09:41:57AM -0800, Kevin Oberman wrote: > I have been trying to install DP2 on my old ThinkPad 600E. It almost > works, but I can't build a new kernel. I'd like to build a custom kernel, > but don't seem to be able to do so. You might want to check with the ACPI mailing lis

Deadlock during buildworld

2002-11-08 Thread Andrea Campi
Hi all, for months now I've been having a reproducible hang under load (make -j4 buildworld on a uniprocessor with plenty of RAM). I transcribed some info which might be useful to debug it; it seems to me this is a deadlock (am I right?). I'll leave the laptop in ddb so I can provide more info. T

Re: internal compiler error with gcc 3.2

2002-09-02 Thread Andrea Campi
On Mon, Sep 02, 2002 at 09:01:31AM -0700, Steve Kargl wrote: > On Mon, Sep 02, 2002 at 08:52:56AM -0700, Steve Kargl wrote: > > To test gcc 3.2, I've been updating all of my installed > > ports. It appears gcc 3.2 is having problems with > > libiconv-1.8_1. > > > > > > cc -I. -I. -I../include -

Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4

2002-07-17 Thread Andrea Campi
On Thu, Jul 11, 2002 at 03:42:49PM -0600, Eric Anholt wrote: > perl installation. Shouldn't USE_PERL5 depend on ${LOCALBASE}/bin/perl > on -current rather than just the existence of a binary called "perl" in > the path? Assuming the perl wrapper returns different errorcodes if it finds a working

Re: buildworld error in gnu/lib/libstdc++

2002-06-06 Thread Andrea Campi
On Thu, Jun 06, 2002 at 11:05:54AM +0200, Sheldon Hearn wrote: > On Wed, 05 Jun 2002 15:36:04 +0200, Andrea Campi wrote: > > > I've been seeing a compile error in gnu/lib/libstdc++ for days now. Since no > > one else reported it (not even tinderbox) I can onl

buildworld error in gnu/lib/libstdc++

2002-06-05 Thread Andrea Campi
Hi all, I've been seeing a compile error in gnu/lib/libstdc++ for days now. Since no one else reported it (not even tinderbox) I can only wonder what's up, and expecially how to get out of this. The only thing peculiar to this machine is that I've cleared up everything which predated GCC 3.1; so

Re: machine/endian.h revision 1.33 breaks port x11-fm/gentoo

2002-05-27 Thread Andrea Campi
There's a problem with coldsync port on -current which has to do with endian macros: cc -Wall -ansi -pedantic -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -I. -I./.. - I./../include -I/usr/local/include -c PConnection_net.c In file included from /usr/include/arpa/nameser.h:446, fro

Re: i386 tinderbox failure

2002-05-27 Thread Andrea Campi
On Sat, May 25, 2002 at 09:19:17PM +0200, Gerhard Sittig wrote: > On Fri, May 24, 2002 at 23:32 -0700, Peter Wemm wrote: > > Is this the moment where src/usr.bin/perl should be mailwrapper > like? Instead of searching the interpreter in some uncertain > location (and failing) shouldn't the progr

moused, vidcontrol gone

2002-03-19 Thread Andrea Campi
Hi all, with a kernel -CURRENT as of yesterday, I get this at boot: [...] Starting standard daemons: cron sshd usbd. Initial rc.i386 initialization:. Configuring syscons: blanktimevidcontrol: must be on a virtual console: Inapprop riate ioctl for device mousedvidcontrol: must be on a virtual co

Re: malloc() and the stock Perl in -CURRENT (and -STABLE)

2002-03-14 Thread Andrea Campi
Hi John, On Thu, Mar 14, 2002 at 03:15:02PM +0700, John Indra wrote: > On Thu, Mar 14, 2002 at 07:40:04AM +0100, Poul-Henning Kamp wrote: [...] > This is not just talking about benchmarks. This situation will probably make > people conclude things that are not beneficial at all for FreeBSD. Peopl

Re: NetBSD-style rc.d Project -- What I have so far...

2002-03-01 Thread Andrea Campi
> Let's take another example. The REQUIREMENT line in a script cannot be > made conditional. It requires a modification of rcorder(8) to do so. > So, if one of NetBSD's services has a requirement that we don't have, it > automatically means we need two separate scripts with different > REQUIREMENT

Re: Binutils fixed in -current?

2002-02-08 Thread Andrea Campi
On Wed, Feb 06, 2002 at 12:35:39PM -0800, Alfred Perlstein wrote: > * David W. Chapman Jr. <[EMAIL PROTECTED]> [020206 12:33] wrote: > > Does anyone know if the problem with kde and other programs not > > working with the new binutils not working have been fixed yet? > > I find that mozilla 0.9.

Re: Motion for removal of xargs(1) from base system

2001-12-10 Thread Andrea Campi
Either this is a troll, or it's an attempt at the very first layer 8 (between chair and keyboard) exploit: > Version #2 - for enterprise (ie. business) users, who are searching for their >way in life (overwhelming majority) (local solution, still): > > find / -print0 | grep -v

Re: send_packet: No buffer space available

2001-11-26 Thread Andrea Campi
> Note that we presently don't lock anything (this is expected, we > haven't gotten there yet). However, note also that in the new version we > also do an "_IFQ_DROP()" if we have exceeded the ifq_maxlen, and > finally, also note that the new test is ">" and not ">=" - I don't know > why it is "

Re: send_packet: No buffer space available

2001-11-26 Thread Andrea Campi
> >From the netstat output, it looks more like an application-level problem > having to do with exhausting socket buffer space. Whatever the cause of > the problem, it certainly isn't a lack of mbufs and/or clusters. > > Try verifying what is generating the messages. It could be coming from > a s

Syncache breaks NEWBUS ep iface [Was: Re: cvs commit: src/sys/conf files src/sys/net route.h src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_output.c tcp_subr.c tcp_syncache.c tcp_usrreq.c tcp_var.h src/sys/netinet6 tcp6_var.h]

2001-11-23 Thread Andrea Campi
Don't ask me why or how, but this commit breaks detection of my 3Com 3C589 pccard (NEWBUS). I am 100%, having done binary search; only reverting this change gives me back my ep0. Normal dmesg fragment: [...] vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 cstsevent occures, 0x3510

Panic with today -CURRENT

2001-11-22 Thread Andrea Campi
Hi, while researching a different problem (pccard ep with NEWBUS not recognized since this morning), I got this panic a couple of times: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xdeadc0e2 fault code = supervisor write, page not present instruction po

Re: send_packet: No buffer space available

2001-11-22 Thread Andrea Campi
m > a syscall or, it may be that the application is printing them. If it is > the latter (you should find the string in the application code), then > it's fairly trivial to figure the rest out. If not, I'd check the > network card driver you're using next. > > On We

send_packet: No buffer space available

2001-11-21 Thread Andrea Campi
This is a long-standing problem which is getting more and more annoying (or so I feel, might be just an impression). I was wondering if anybody might be interested in helping me debug and fix it. I can repeat this at will using Tivoli Storage Manager for Linux to backup my -CURRENT laptop. Basical

Re: -CURRENT freeze under high load

2001-10-28 Thread Andrea Campi
d.ie on Sat, Oct 27, 2001 at 07:48:13PM +0100 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike On Sat, Oct 27, 2001 at 07:48:13PM +0100, David Malone wrote: > On Fri, Oct 26, 2001 at 06:16:12PM +0200, Andrea Campi wrote: > > Anybody has any idea how to pro

Re: -CURRENT freeze under high load

2001-10-26 Thread Andrea Campi
On Fri, Oct 26, 2001 at 05:52:37PM +0100, David Malone wrote: > On Fri, Oct 26, 2001 at 06:16:12PM +0200, Andrea Campi wrote: > > All my problems are now gone. This sort of makes sense to me, as the culprit, > > qmail, is quite socket intensive. > > > > Anybody has a

Re: -CURRENT freeze under high load

2001-10-26 Thread Andrea Campi
e to me, as the culprit, qmail, is quite socket intensive. Anybody has any idea how to properly fix? Bye, Andrea On Wed, Oct 24, 2001 at 03:31:51PM +0200, Andrea Campi wrote: > Hi all, > > I am trying to diagnose a problem I've been having for a few weeks (I didn't &g

Re: [acpi-jp 1370] Re: -CURRENT freeze under high load

2001-10-25 Thread Andrea Campi
> > I've just updated to -HEAD with this delta reverted and running a make > buildkernel right now. > Looks like I spoke too soon; reverting just this delta wasn't enough. I'm back to testing with all ACPI related work from Oct 04 08:32 rolled back; if it works, I'll try to update each diff in

-CURRENT freeze under high load

2001-10-24 Thread Andrea Campi
Hi all, I am trying to diagnose a problem I've been having for a few weeks (I didn't report it earlier because I didn't have much time to hunt for it). The symptom is a total system freeze, i.e. I can't get into DDB. I can repeat it only with qmail, but of course I don't think it's qmail specifi

Weirdest ACPI failure

2001-10-06 Thread Andrea Campi
Hi, today I started experiencing some very weird failures on my laptop (Thinkpad 570E). I got: [...] Using $PIR table, 10 entries at 0xc00fdef0 ACPI-0446: *** Warning: Invalid checksum (4c) in table FACP ACPI-0305: *** Warning: Invalid table signature ^BOOT found ACPI-0191: *** Error: AcpiLoadTa

RFC: /compat/linux altpath behavior under admin control

2001-10-01 Thread Andrea Campi
Hi current@, as you no doubt know, when you run a Linux binary every file access undergoes an intermediate step where the kernel looks for a file with the same name under /compat/linux. This interferes with basically anything which needs to traverse the whole tree, and in particular backup softwa

Re: growfs

2001-03-19 Thread Andrea Campi
> It's hard to discuss what type of inconsistency there might be in an corrupted > filesystem, compared to what growfs does. But I definitely change a lot of meta [...] > So the development now focusses on getting it clean on alpha, and maybe support > the existence of snapshots in the filesystem.

Re: growfs

2001-03-18 Thread Andrea Campi
On Sun, Mar 18, 2001 at 10:41:20PM +0100, Dag-Erling Smorgrav wrote: > Andrea Campi <[EMAIL PROTECTED]> writes: > > Sorry? In single user with a readonly / and nothing else? I would have to be > > EXTREMELY unlucky to get any other access while the fs is inconsistent ;-)

Re: growfs

2001-03-18 Thread Andrea Campi
> This was completely untested by us, and is not guaranteed to work! I think > you were lucky. We move and change blocks on the filesystem, during some > time the filesystem is NOT consitent, so if one of those files is accessed than > you might run into a panic. Sorry? In single user with a read

Re: new breakage in mounting root? a devfs issue?

2001-03-12 Thread Andrea Campi
Just today I started using DEVFS again after a long time, and it works perfectly. From the scarce info you provide, our only apparent difference is I don't have SCSI. If it weren't you, I'd ask if you are sure you have the very latest sources, but of course I wonder you have more than enough clue

growfs

2001-03-11 Thread Andrea Campi
I was about to fill in a doc PR on this but then I thought I'm better off checking other people experiences... I just used growfs on my / filesystem, after shrinking the swap partition which just happened to be after it. I had to do nothing magic beside dropping to single user so as to have a ro

Re: Panic mounting msdos fs

2001-03-09 Thread Andrea Campi
Hi John, didn't have time to reply to your previous email (I was sleeping ;-)) before getting this. Do you still need the dump? > On 08-Mar-01 Andrea Campi wrote: > > Yesterday -current: > > It seems modules are broken with witness right now. Before you were ok as long &g

Panic mounting msdos fs

2001-03-08 Thread Andrea Campi
Yesterday -current: # mount /msdos Acquring duplicate lock of same type: "lockmgr interlock" 1st @ ../../kern/kern_lock.c:239 2nd @ ../../kern/kern_lock.c:239 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not prese

Re: Reproducable panic

2001-03-07 Thread Andrea Campi
On Wed, Mar 07, 2001 at 07:25:41PM +0100, Dag-Erling Smorgrav wrote: > At some point in the past 24 hours, someone broke the kernel so I can > no longer run linux-opera: Same here with another Linux binary (Tivoli Storage Manager client). -- I believe the technical term is "Oops!

Re: make(1) benchmarks [WAS: Re: cvs commit: src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/as Makefile.inc0 ...]

2001-03-06 Thread Andrea Campi
> > Any updates? My quick test involving running pkg_version on a system with 92 > installed ports, which is very make-intensive operation if ports have origin > recorded, as pkg_version(1) runs `make -V' for each port, shown that > statically-compiled make is about 15% faster than dynamically-co

Re: Labeling Vinum partitions in the sysinstall(8) [patch]

2001-03-03 Thread Andrea Campi
> > > > ccd anybody? > > AFAIK, unlike vinum, ccd doesn't require any special disk labeling. Sorry, I should have been clearer. If I got it right, you're working not only on disk labeling for vinum, but on a complete frontend. If that is true, I think we (yes I am volunteering, in case nobody el

Re: Labeling Vinum partitions in the sysinstall(8) [patch]

2001-03-02 Thread Andrea Campi
> > I'm currently creating a Vinum(4) configuration wizard for sysinstall(8), which > would simplify Vinum configuration procedure for the vinum newbies. So far I > finished a patch that allows create vinum partitions using sysinstall's > disklabel editor and would like to commit it. Please revie

Re: -CURRENT slowdown in last 2 weeks

2001-02-26 Thread Andrea Campi
On Sat, Feb 24, 2001 at 10:50:17AM +0200, Mark Murray wrote: > > and now performance is very good, event with: > > > > kern.random.sys.harvest_ethernet: 1 > > kern.random.sys.harvest_point_to_point: 0 > > kern.random.sys.harvest_interrupt: 1 > > You mean "even with"? If so, then I am very please

[Solved] Re: -CURRENT slowdown in last 2 weeks

2001-02-23 Thread Andrea Campi
> > Do you have MUTEX_DEBUG in your kernel? > Sorry guys, my bad. As John and Kris reminded me, the slowdown was because of this - should have checked again the archive, I remember it had been mentioned before. Bye, Andrea -- It is easier to fix Unix than to live with NT

Re: -CURRENT slowdown in last 2 weeks

2001-02-22 Thread Andrea Campi
> > Hmm, Feb 3-5 (looks). > > You mean the preemptive scheduling committed on Feb 1? Can you try updating > to early this week to see if it goes away? Hi John, every "recent" version I tried resulted in a slowdown so I didn't recompile very often; until tonight, I was still runninng a kernel

Re: -CURRENT slowdown in last 2 weeks

2001-02-22 Thread Andrea Campi
On Wed, Feb 21, 2001 at 10:20:46PM +, Pierre Y. Dampure wrote: > Andrea Campi wrote: > > > I am noticing a severe slowdown on my -CURRENT system. It actually started > > after Feb [3-5] changes in intrupt handling, but I didn't really notice > > until I run

-CURRENT slowdown in last 2 weeks

2001-02-21 Thread Andrea Campi
I am noticing a severe slowdown on my -CURRENT system. It actually started after Feb [3-5] changes in intrupt handling, but I didn't really notice until I run a make world (which I delayed doing because of, well you guess, the libc breakage). When I say severe I mean make buildworld takes x3 longe

Re: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 trap.c

2001-02-10 Thread Andrea Campi
> > Clear the reschedule flag after finding it set in userret(). This > > used to be in cpu_switch(), but I don't see any difference between > > doing it here. > > Should be in the clear now. asmodia has seen a lock reversal between > the process lock and uidinfo lock, but I can't reprodu

Re: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 trap.c

2001-02-10 Thread Andrea Campi
> This fixes -current on my machines (i386 UP and SMP). Confirmed for UP i686. > Should be in the clear now. asmodia has seen a lock reversal between > the process lock and uidinfo lock, but I can't reproduce it. You > probably want to remove the kernel option WITNESS_DDB if you have it > it e

Cardbus, audio & irq sharing [Was: Kernel Panic from Yesterday's CVSup]

2001-02-10 Thread Andrea Campi
> : And, it's not working for me, i.e. my pccard using cardbus is working on irq > : 11, my csa audio card is probed and configured on irq 11, but audio playback > : is not. > > Audio and current is also dicy. Well, the same happened under -stable. I think this will be my last IBM laptop, I don'

Re: Kernel Panic from Yesterday's CVSup

2001-02-09 Thread Andrea Campi
On Thu, Feb 08, 2001 at 09:56:43AM -0700, Warner Losh wrote: > In message <[EMAIL PROTECTED]> Andrea Campi writes: > : Will try again with cardbus and report. So are you saying it SHOULD work > : (as far as my chipset is behaving, I suppose)? > > Cardbus works, more or le

Re: Kernel Panic from Yesterday's CVSup

2001-02-09 Thread Andrea Campi
> > Here I am again. Didn't get as far as a login prompt, I have a panic when > > qmail > > starts up: > > Turn MUTEX_DEBUG off. It appears to be broken atm. Done, no panic, and performance is bad but not so bad. -- Reboot America. To Unsubscribe: send mail to [E

Re: Kernel Panic from Yesterday's CVSup

2001-02-08 Thread Andrea Campi
> > ISA bus cannot share interrupts at all. Full stop[*]. Most > pccard/cardbus bridges operate in a mode where they use ISA > interrupts, so cannot share interrupts at all. The hardware just > won't work if you try. NEWCARD tries to kick the cardbus bridge into > full PCI mode, where you can

Re: Kernel Panic from Yesterday's CVSup

2001-02-08 Thread Andrea Campi
> Seriously, that's ok, I only want to check if I get the same panic. And give > feedback of course. Here I am again. Didn't get as far as a login prompt, I have a panic when qmail starts up: lock order reversal 1st lockmgr last acquired @ ../../kern/kern_lock.c:239 2nd 0xc02630c0 uidinfo hash

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
> This is why you're getting the panic in exit1(), but I thought I fixed > this in intr_machdep.c version 1.47. > > revision 1.47 > date: 2001/01/28 17:20:11; author: jake; state: Exp; lines: +2 -1 > Clear intr_nesting_level when an interrupt thread has no more > handlers and wants to exit, so

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
> > Sort of killing a mosquito with a missile ;-) > > > > Seriously, I will try your patch to confirm it works, then I'll go back > > to a regular -current kernel and live without ejecting the card... > > Keep your kernel.old around. Trust me, the new kernel won't be very usable. > :) Better y

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
> > My patches may help with this, but they are a lot more than just a single > change, they are an overhaul of the interrupt threads code. :) If you are > really curious, you can find them at > http://www.FreeBSD.org/~jhb/patches/sys.patch. Currently, however, they reduce > the system to a cra

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
> > Yes, the intr_nesting_level needs to be dropped before calling kthread_exit(). > I have this fixed in a different manner locally. You can try that to see if it > gets farther. However, your problems with lpr are a known problem and one that > is in the process of being fixed. No that was t

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
On Wed, Feb 07, 2001 at 02:20:43PM -0800, John Baldwin wrote: > > On 07-Feb-01 Andrea Campi wrote: > > Running a kernel I got with this: > > > >> > >> cvs co -D"2001-01-30" src/sys > >> > > > > /ithread.c/1.10/Mon Dec 4

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
> > panic: malloc(M_WAITOK) in interrupt context > > Debugger("panic") > > Stopped at Debugger+0x45: pushl %ebx > > db> trace > > Debugger(c02119a3) at Debugger+0x45 > > panic() > > malloc(48,c0238100,0,c65feb80,0) at malloc+0x2a > > exit1(c65feb80,0,0,c6623f78,c01fc852) at exit1+0x1b1

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
Running a kernel I got with this: > > cvs co -D"2001-01-30" src/sys > /ithread.c/1.10/Mon Dec 4 21:15:14 2000//D2001.01.29.23.00.00 I get: panic: malloc(M_WAITOK) in interrupt context Debugger("panic") Stopped at Debugger+0x45: pushl %ebx db> trace Debugger(c02119a3) at Debugger+0x4

Re: Kernel Panic from Yesterday's CVSup

2001-02-07 Thread Andrea Campi
> > Ok, I will. Can you give me a date I should try going back to, without kernel > > getting out of sync with my world? > > A kernel on the 30th or so should work fine with an up to date world. Thought I had tried this... FreeBSD 5.0-CURRENT #0: Wed Jan 10 11:00:55 CET 2001 root@brian:/usr

Re: Kernel Panic from Yesterday's CVSup

2001-02-06 Thread Andrea Campi
> > Besides the obvious need to fix this one problem, shouldn't we > > ASSERT ih->ih_handler != NULL before calling it? > > It isn't null in this case, it is 0xdeadc0de. Can you try a pre-preemption > kernel and see if that fixes it? *BLUSH* Of course ehehe ;-) Ok, I will. Can you give me a da

Re: Kernel Panic from Yesterday's CVSup

2001-02-06 Thread Andrea Campi
> Problem: I can't do anything at db> prompt? Backtrace is doing nothing except > triggering a new register dump (another fault I assume). New kernel, new panic, new info: db> witness_list "Giant" (0xc0279be0) locked at ../../i386/isa/ithread.c:191 db> show registers cs 0x8

Re: Kernel Panic from Yesterday's CVSup

2001-02-06 Thread Andrea Campi
On Mon, Feb 05, 2001 at 08:46:42PM -0800, John Baldwin wrote: > > On 06-Feb-01 Andrea Campi wrote: > > Sorry to bother everybody, but did anybody note from my panic trace, > > that instruction pointer is 0xdeadc0de? Isn't that bad? :-p > > That means it is free&

Re: Strange fopen() behaviour (was: xsane patch to maintainer)

2001-02-05 Thread Andrea Campi
> lstat("/tmp//preview-level-0-15-b924dc",0xbfbfe894) ERR#2 'No such file or directory' ^^ surely this is not nice!! My guess is that the double slash is confusing everything... Anyway, I'm more interested in below: > @@ -2830,9 +2831,17 @@ > if (preview_make_image_path(p, siz

Re: Kernel Panic from Yesterday's CVSup

2001-02-05 Thread Andrea Campi
Sorry to bother everybody, but did anybody note from my panic trace, that instruction pointer is 0xdeadc0de? Isn't that bad? :-p On Mon, Feb 05, 2001 at 08:27:19PM -0500, Jim Bloom wrote: > I have seen both a trap 12 and a trap 9 from a Friday Feb. 2 kernel. This is > occuring on my laptop (AST

Re: Aironet under NEWCARD

2001-02-05 Thread Andrea Campi
> > Now I'm on to that ich (i810 and 440MX) AC97 audio driver :-) Great news! And please MFC it asap ;-) Seriously, I've been using it on -STABLE for months, if you need volunteers for testing, I can help. Bye, Andrea > > Regards > > Gabriel > > On Sun, Feb 04, 2001 at 02:57:51AM +

[a.campi@inet.it: Page fault]

2001-02-05 Thread Andrea Campi
On -CURRENT I get this under different conditions, i.e. sometimes at boot as mentioned a couple of days ago, and today again at pccard extraction. I can provide other info if instructed as to what info you need. ;-) Bye, Andrea Fatal trap 12: page fault while in kernel mode fault virtua

Re: RFC: user-config alt path in Linux emulation

2001-02-01 Thread Andrea Campi
On Wed, Jan 31, 2001 at 12:50:58PM +, Christian Weisgerber wrote: > Andrea Campi <[EMAIL PROTECTED]> wrote: > > > The net effect is that there is no way to, for instance, back up the > > real /usr from Tivoli, etc... as there is no way to get to a real path > >

Panic with tonight -CURRENT kernel

2001-02-01 Thread Andrea Campi
Hi all, just recompiled to try out new ACPI code, rebooted and boom! Feb 1 00:56:33 brian /boot/kernel.old/kernel: Copyright (c) 1992-2001 The FreeBSD Project. Feb 1 00:56:33 brian /boot/kernel.old/kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Feb 1 00:56

RFC: user-config alt path in Linux emulation

2001-01-31 Thread Andrea Campi
Background: When running a Linux binary in Linux compat mode, all calls to open(), readdir() and such, end up calling linux_emul_find() from linux_util.c. This functions looks for a directory/file with the same name in the /compat/linux hierarchy. The net effect is that there is no way to, for in

Re: status of bridge code

2001-01-26 Thread Andrea Campi
> I'd be happy to (I like a challenge) but I still require access to the > standards for that. So my question still stands, does BSDi have IEEE > subscriptions for FreeBSD developers to use, or are there any other ways > for me to aquire (legally of course) the standards I need without having t

Re: status of bridge code

2001-01-26 Thread Andrea Campi
On Thu, Jan 25, 2001 at 12:19:16PM +0100, Rogier R. Mulhuijzen wrote: > At 09:37 25-1-01 -0800, Archie Cobbs wrote: > >Rogier R. Mulhuijzen writes: > > > But from my list of wishes I'd say the first 3 are gone. All that's > > left is > > > spanning tree. I'm probably going to need this pretty soo

Re: bin/24444: syslogd(8) does not update hostname

2001-01-21 Thread Andrea Campi
> the hostname, one being a syscall and the other being a sysctl. One > could of course have the kernel print a message to the console about > it, syslogd(8) would pick that up. Yes, I was about to propose this, but then I thought: why? If we go this way, then we should definitely also log an IP

Re: cvs commit: src/sys/i386/conf GENERIC

2001-01-14 Thread Andrea Campi
> >Sorry Poul, I think the question here is: "if we decide to remove i386 support > >BUT a few people still want to use it and can maintain it as a separate > >platform port, is it an option to do so, from a technical point of view?" > > > (This is a general answer, not just about i386 support:) >

Re: YES! laptop installing

2001-01-12 Thread Andrea Campi
On Wed, Jan 10, 2001 at 12:04:17AM -0500, Kenneth Wayne Culver wrote: > This is to let everyone know that right now as I type I am setting up > FreeBSD to start downloading over my cardbus ethernet card. It seems to > work great except it doesn't beep when the card enables, but that's fine > with

Re: cvs commit: src/sys/i386/i386 trap.c

2000-12-14 Thread Andrea Campi
> > > > Modified files: > > sys/i386/i386trap.c > > Log: > > If we fail to emulate a vm86 trap in kernel mode, then we use > > vm86_trap() to return to the calling program directly. vm86_trap() > > doesn't return, thus it was never returning to trap() to release > > Gian

Re: Giant pb in very recent current?

2000-12-12 Thread Andrea Campi
On Tue, Dec 12, 2000 at 03:39:31PM +0100, Ollivier Robert wrote: > I just upgraded my laptop to yesterday's CURRENT and after a few minutes > (without noticable activity), I get a panic: > > WARNING: / was not properly dismounted > panic: mutex Giant owned at ../../kern/kern_intr.c:238 > panic: f

Re: [jhb@FreeBSD.org: RE: Panic in -current]

2000-12-12 Thread Andrea Campi
> I would like to see full dump of 'vidcontrol -i adapter', > 'vidcontrol -i mode' and dmesg after the vesa module is loaded > (you get very verbose output from the vesa module init code > if you boot the kernel with 'boot -v'). I think this is what you asked for, otherwise please let me know. B

Re: [jhb@FreeBSD.org: RE: Panic in -current]

2000-12-04 Thread Andrea Campi
> > More details: this is an IBM Thinkpad laptop with APM enabled and in the > > kernel. > > As usual, any hint is more than welcome. This used to work... > > Which screen saver? Does it do it with all of them? Just graphical ones, just > text ones, just green_saver, etc.? Rrrright... I can as

Re: [jhb@FreeBSD.org: RE: Panic in -current]

2000-12-04 Thread Andrea Campi
> > > > db> x/i,10 0xc025ad3c > > scrn_timer: pushl %ebp > > [...] > > > > nm just confirmed this, so it definitely looks like scrn_timer is to blame > > here. Any other instructions? ;-) For the time being, vidcontrol -t off > > (seems to) keep the machine up. > > > > Bye, > > Andrea

Re: environment variable for resolv.conf anyone?

2000-11-30 Thread Andrea Campi
This is my only message in this thread, it's out of topic. On Thu, Nov 30, 2000 at 01:58:59PM -0600, Lars Fredriksen wrote: > Hi, > > I find myself connected to multiple networks and domains all the time, > and was wondering if anyone has solved (without using a chroot > environment) using a dif

Re: [jhb@FreeBSD.org: RE: Panic in -current]

2000-11-30 Thread Andrea Campi
ce" comment up about 15 lines > or so. I used a slightly different printf and panic text in order to distinguish between the two. It's still panicing at the lower one, still pointing to scrn_timer. Andrea -- Andrea Campi mailto:[EMAIL PROTECTED] I.NET S.p

Re: [jhb@FreeBSD.org: RE: Panic in -current]

2000-11-29 Thread Andrea Campi
to blame here. Any other instructions? ;-) For the time being, vidcontrol -t off (seems to) keep the machine up. Bye, Andrea -- Andrea Campi mailto:[EMAIL PROTECTED] I.NET S.p.A. http://www.inet.it Direzione Tecnica - Gruppo Security

Re: [jhb@FreeBSD.org: RE: Panic in -current]

2000-11-29 Thread Andrea Campi
> > We want mtxd_file and mtxd_line. If you look at the output of the last > command, it will probably look something like this: ../../kern/kern_timeout.c, line 139 Hope it helps, Andrea -- Andrea Campi mailto:[EMAIL PROTECTED] I.

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 Unsubsc

world breakage?

2000-11-13 Thread Andrea Campi
During make buildworld: ===> usr.sbin/lpr/lpd cc -O -pipe -I/usr/src/usr.sbin/lpr/lpd/../common_source -Wall -Wnested-externs -Wmissing-prototypes -Wno-unused -Wredundant-decls -Wstrict-prototypes -I/usr/ obj/usr/src/i386/usr/include -c /usr/src/usr.sbin/lpr/lpd/lpd.c /usr/src/usr.sbin/lpr/lpd/

  1   2   >