RE: panic with unloading nvidia.ko
Happens to me too :(. I've been trying to get that darn nvidia module to load in the latest current branch without hosing my system. I'm not sure what the magic formula is, but it was working before I recompiled the kernel for ipfilter support. Currently the nvidia module loads ok, but when I try to start X the system usually just hard locks up with a blank screen. On reboot, if I unload the nvidia module, another crash occurs. Where's that radeon card when you need it. -Jason -Original Message- From: C. Kukulies To: [EMAIL PROTECTED] Sent: 10/20/2003 4:12 AM Subject: panic with unloading nvidia.ko I just got a kernel panic after making /usr/ports/x11/nvidia-driver. I did a make, make reinstall. Then I did a kldunload nvidia.ko and got: nvidia0: detached panic: malloc(9)/free(9) confusion. Probably freeing with wrong type, but maybe not here. Debugger("panic") Stopped at Debugger+0x54: xchgl %ebx, in_Debugger.0 trace shows: Debugger panic free os_free __nvsym00022 __nvsym00638 __nvsym00678 __nvsym00723 rm_shutdown_rm nvidia_modevent driver_module_handler module_unload linker_file_unload kld_unload syscall Xint0x80 -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]" This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using ipfw in current branch
Hello again, Please disregard the email below, I realized I wasn't using that kernconf file. So I re-added the following lines to the latest GENRIC kernconf file: # JD options IPFILTER# ipfilter or something options IPDIVERT# enable nat options IPFILTER_LOG# something else too options IPFILTER_DEFAULT_BLOCK # Block all packets by default # JD Sound device pcm And I also uncommented the following since I have a dual proc: # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I Now when I compile the kernel using make buildkernel KERNCONF=AHAB I get the following error: cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper': /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared (first use in this function) /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier is reported only once /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it appears in.) /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6': /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:329: error: `PFIL_OUT' undeclared (first use in this function) /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `iplattach': /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet' /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:378: warning: unused variable `ph_inet6' /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: At top level: /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' defined but not used /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:327: warning: `fr_check_wrapper6' defined but not used *** Error code 1 Stop in /usr/obj/usr/src/sys/AHAB. *** Error code 1 Stop in /usr/src. *** Error code 1 Ideas? Here is the updated kernconf link: http://www.dictos.com/AHAB Thanks, -Jason > Hi All, > > Here is what I get when I attempt to use any ipfilter type operations: > > [EMAIL PROTECTED]:/home/jason# ipfw flush > Are you sure? [yn] y > > ipfw: setsockopt(IP_FW_FLUSH): Protocol not available > [EMAIL PROTECTED]:/home/jason# > > Has the kernel configuration paramaters changed since the official cut of > 5.1? > Before the upgrade i could use ipfw. > > Here is a link to my kernconf file: > http://www.dictos.com/JASONKERN > > Thanks, > -Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using ipfw in current branch
Hi All, Here is what I get when I attempt to use any ipfilter type operations: [EMAIL PROTECTED]:/home/jason# ipfw flush Are you sure? [yn] y ipfw: setsockopt(IP_FW_FLUSH): Protocol not available [EMAIL PROTECTED]:/home/jason# Has the kernel configuration paramaters changed since the official cut of 5.1? Before the upgrade i could use ipfw. Here is a link to my kernconf file: http://www.dictos.com/JASONKERN Thanks, -Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Usb weirdness on latest get
Hi All, Using 3 day old current branch, usb keyboard acting funny. Whenever I type at normal speeds on my wireless logitech usb keyboard, the text appears to overflow and more characters get output then typed. Below is what happens when I type normally: Here's whaht thahppenes when I type enormally w ith hthte eusb keyboard Is there anyway to debug this problem? -Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help saving my system
Hi All, Well its all back to normal! By mounting devfs to the new virtual chroot area I was able to complete a buildworld/installworld of the current branch, after a reboot the system came right back up with all my old services started normally. Thanks, -Jason -Original Message- From: Matthew Dillon [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 4:01 PM To: Jason Dictos; '[EMAIL PROTECTED]' : : :On Fri, 17 Oct 2003, Jason Dictos wrote: : :> 1. Had FreeBSD 5.1 system running. :> 2. Did a cvsup get of stable (that's right, stable, so 4.9) :> 3. Compiled make buildworld, then did a make build world, and re-compiled :> with generic kernel :> 4. Booted into a system which could not mount the file system (expected :> since its 4.9) :> :> So now I am trying to save the system and here's where I've gotten to: :> :> 1. Booted disc 2 of 5.1 cd into "fixme" mode. :> 2. Mounted live cdrom filesystem and then mounted my root drive to /mnt :> 3. Did a chroot to /mnt so that I would emulate my live system environment :> 4. Re-did a cvsup of the branch current. :> 5. Ran make buildworld from /usr/src : :At this point, I'd probably do a "binary upgrade" install of 5.1 to make :sure you have known-good binaries. I'd then boot to single-user mode and :run find on /bin, /sbin, /lib, /usr/lib, /usr/sbin, et al, and make sure :that there are no 4.x binaries left. If possible :-). : :Robert N M Watson FreeBSD Core Team, TrustedBSD Projects :[EMAIL PROTECTED] Network Associates Laboratories I would boot with the 5.1 live CD and backup all the data you want to save somewhere (like to another machine), then I would reinstall the system from scratch with the release you intend to run, wiping the disks completely. Then restore the data you wanted to keep from whereever you saved it. If you have a lot of data and a reasonably fast network link and no place to temporarily backup your data too while reinstalling, I can provide you with a temporary account with lots of disk space for a few days. EMail me privately if you need the temporary account. -Matt This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help saving my system
>From what I understand in the freebsd hand book, a cvsup get and a buildworld won't touch anything in /etc, so if I just re-do a build world of current I an *assuming* i'll be able to get back on track. -Jaosn -Original Message- From: Scott M. Likens [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 1:24 PM To: Jason Dictos; '[EMAIL PROTECTED]' Actually, I think I did... mergemaster? Maybe no one caught it and assumed it was just a ranting flame, But I imagine running mergemaster and making sure the system is synch'd would make a world of difference. Just a token thought. --On Saturday, October 18, 2003 12:52 PM -0700 Jason Dictos <[EMAIL PROTECTED]> wrote: > Thanks scott, I'll try that out and let you know how it worked.. > > > Oh wait.. You didn't say anything helpful n/m > > -Jason > > > -Original Message- > From: Scott M. Likens [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 18, 2003 12:16 PM > To: Jason Dictos; '[EMAIL PROTECTED]' > > Okay, let's see here. > > First off you install FreeBSD 5.1, UFS2 possibly but I guess UFS1 > since it booted 4.9 > > Some stupid reason you downgraded to 4.9, didn't run mergemaster, so > all your /etc files are out of whack, and now you're bitching that > you're trying to do buildworld again, and getting errors. > > Amazing. > > Truly Amazing > > Comments anyone? > > > --On Friday, October 17, 2003 10:53 PM -0700 Jason Dictos > <[EMAIL PROTECTED]> wrote: > >> Hi Guys, here's the scenario: >> >> 1. Had FreeBSD 5.1 system running. >> 2. Did a cvsup get of stable (that's right, stable, so 4.9) 3. >> Compiled make buildworld, then did a make build world, and >> re-compiled with generic kernel 4. Booted into a system which could >> not mount the file system (expected since its 4.9) >> >> So now I am trying to save the system and here's where I've gotten to: >> >> 1. Booted disc 2 of 5.1 cd into "fixme" mode. >> 2. Mounted live cdrom filesystem and then mounted my root drive to >> /mnt 3. Did a chroot to /mnt so that I would emulate my live system >> environment 4. Re-did a cvsup of the branch current. >> 5. Ran make buildworld from /usr/src >> >> Here is what happens when I do that: >> >> "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an >> operator "/dev/null", line 1: Need an operator "/dev/null", line 1: >> Need an operator "/dev/null", line 1: Need an operator "/dev/null", >> line 1: Need an operator "/dev/null", line 1: Need an operator >> make: fatal errors encountered -- cannot continue >> "/usr/src/Makefile.inc1", line 156: warning: >> "/usr/obj/usr/src/make.i386/make -f /dev/null -m /usr/src/share/mk >> CPUTYPE=dummy -V CPUTYPE" returned non-zero status >> "/usr/src/Makefile.inc1", line 158: CPUTYPE global should be set with ?=. >> *** Error code 1 >> >> Help! >> >> -Jason >> >> >> >> _ >> _ __ This email has been scanned for all viruses by the MessageLabs >> Email Security System. For more information on a proactive email >> security service working around the clock, around the globe, visit >> http://www.messagelabs.com >> _ >> _ __ ___ >> [EMAIL PROTECTED] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> > > > > --- > > The word bipartisan usually means some larger-than-usual deception is > being carried out. - George Carlin > > > __ > __ This email has been scanned for all viruses by the MessageLabs > Email Security System. For more information on a proactive email > security service working around the clock, around the globe, visit > http://www.messagelabs.com > __ > __ > > __ > __ This email has been scanned for all viruses by the MessageLabs > Email Security System. For more information on a proactive email > security service working around the clock, around the globe, visit > http://www.messagelabs.com > __
RE: Help saving my system
No, can you mout devfs in a virtual root created by chroot? I know the devfs is mounted on the real root, but when i chroot to the /mnt of my old drive the /dev directory is empty with null-can I re-mount in there? -Jason -Original Message- From: slave-mike [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 11:42 AM To: Jason Dictos Cc: '[EMAIL PROTECTED]' did you mount the devfs? Jason Dictos wrote: > Hi Guys, here's the scenario: > > 1. Had FreeBSD 5.1 system running. > 2. Did a cvsup get of stable (that's right, stable, so 4.9) 3. > Compiled make buildworld, then did a make build world, and re-compiled > with generic kernel 4. Booted into a system which could not mount the > file system (expected since its 4.9) > > So now I am trying to save the system and here's where I've gotten to: > > 1. Booted disc 2 of 5.1 cd into "fixme" mode. > 2. Mounted live cdrom filesystem and then mounted my root drive to > /mnt 3. Did a chroot to /mnt so that I would emulate my live system > environment 4. Re-did a cvsup of the branch current. > 5. Ran make buildworld from /usr/src > > Here is what happens when I do that: > > "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an > operator "/dev/null", line 1: Need an operator "/dev/null", line 1: > Need an operator "/dev/null", line 1: Need an operator "/dev/null", > line 1: Need an operator "/dev/null", line 1: Need an operator > make: fatal errors encountered -- cannot continue > "/usr/src/Makefile.inc1", line 156: warning: > "/usr/obj/usr/src/make.i386/make -f /dev/null -m /usr/src/share/mk > CPUTYPE=dummy -V CPUTYPE" returned non-zero status > "/usr/src/Makefile.inc1", line 158: CPUTYPE global should be set with ?=. > *** Error code 1 > > Help! > > -Jason > > > > __ > __ This email has been scanned for all viruses by the MessageLabs > Email Security System. For more information on a proactive email > security service working around the clock, around the globe, visit > http://www.messagelabs.com > __ > __ ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "[EMAIL PROTECTED]" This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help saving my system
Thanks scott, I'll try that out and let you know how it worked.. Oh wait.. You didn't say anything helpful n/m -Jason -Original Message- From: Scott M. Likens [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 12:16 PM To: Jason Dictos; '[EMAIL PROTECTED]' Okay, let's see here. First off you install FreeBSD 5.1, UFS2 possibly but I guess UFS1 since it booted 4.9 Some stupid reason you downgraded to 4.9, didn't run mergemaster, so all your /etc files are out of whack, and now you're bitching that you're trying to do buildworld again, and getting errors. Amazing. Truly Amazing Comments anyone? --On Friday, October 17, 2003 10:53 PM -0700 Jason Dictos <[EMAIL PROTECTED]> wrote: > Hi Guys, here's the scenario: > > 1. Had FreeBSD 5.1 system running. > 2. Did a cvsup get of stable (that's right, stable, so 4.9) 3. > Compiled make buildworld, then did a make build world, and re-compiled > with generic kernel 4. Booted into a system which could not mount the > file system (expected since its 4.9) > > So now I am trying to save the system and here's where I've gotten to: > > 1. Booted disc 2 of 5.1 cd into "fixme" mode. > 2. Mounted live cdrom filesystem and then mounted my root drive to > /mnt 3. Did a chroot to /mnt so that I would emulate my live system > environment 4. Re-did a cvsup of the branch current. > 5. Ran make buildworld from /usr/src > > Here is what happens when I do that: > > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > make: fatal errors encountered -- cannot continue > "/usr/src/Makefile.inc1", line 156: warning: > "/usr/obj/usr/src/make.i386/make -f /dev/null -m /usr/src/share/mk > CPUTYPE=dummy -V CPUTYPE" returned non-zero status > "/usr/src/Makefile.inc1", line 158: CPUTYPE global should be set with ?=. > *** Error code 1 > > Help! > > -Jason > > > > __ > __ This email has been scanned for all viruses by the MessageLabs > Email Security System. For more information on a proactive email > security service working around the clock, around the globe, visit > http://www.messagelabs.com > __ > __ ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > --- The word bipartisan usually means some larger-than-usual deception is being carried out. - George Carlin This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Help saving my system
Hi Guys, here's the scenario: 1. Had FreeBSD 5.1 system running. 2. Did a cvsup get of stable (that's right, stable, so 4.9) 3. Compiled make buildworld, then did a make build world, and re-compiled with generic kernel 4. Booted into a system which could not mount the file system (expected since its 4.9) So now I am trying to save the system and here's where I've gotten to: 1. Booted disc 2 of 5.1 cd into "fixme" mode. 2. Mounted live cdrom filesystem and then mounted my root drive to /mnt 3. Did a chroot to /mnt so that I would emulate my live system environment 4. Re-did a cvsup of the branch current. 5. Ran make buildworld from /usr/src Here is what happens when I do that: "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an operator "/dev/null", line 1: Need an operator make: fatal errors encountered -- cannot continue "/usr/src/Makefile.inc1", line 156: warning: "/usr/obj/usr/src/make.i386/make -f /dev/null -m /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE" returned non-zero status "/usr/src/Makefile.inc1", line 158: CPUTYPE global should be set with ?=. *** Error code 1 Help! -Jason This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"