Invitation to connect on LinkedIn
LinkedIn I'd like to add you to my professional network on LinkedIn. - Kayven Accept Kayven Riese's invite: https://www.linkedin.com/e/isd/775818291/54SmrjKS/ -- (c) 2009, LinkedIn Corporation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: make installkernel NDIS disaster
2009/4/1 Kayven Riese > > I was trying to get my DVD burner working on FreeBSD 7.0 and I followed > some advice about > installing a kernel and for some reason I got some NDIS errors. I don't > know why NDIS reared its > apparently ugly head, but it caused a terrible error. I was able to > make buildkernel .. well.. actually > I guess I wasn't. I think the attached file, "makesplat.log" which is a > typescript of the make buildkernel > command and should have at least one pwd in it, should show what happened. > > > I booted up and strange antimultitasking things happened. One application > at a time commandiered the > window manager or something. I lost the Gnome "Applications Places System" > window and it got > replaced with whatever app's menu system was "File .." I tried make > installkernel which I guess was > stupid because the other make failed. "makeinstallkernel.log" is a > typescript similar to "makesplat.log" > but of a make installkernel KERNCONF=KAYVE_KERN (my kernel file) > > Hence, I popped in my old "clunky" hard disk with 60 GB but reliably runs > FreeBSD. Here is a bunch > of pictures of that operation in case it is not completely clear: > > http://www.monkeyview.net/id/965/fsck/swap/index.vhtml > > I am running this disk now so I can mount the othere data. This 60 GB disk > runs > > # uname -a > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > 2007 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > # > > I had been trying to follow these directions: > > gheist <http://www.experts-exchange.com/M_1079061.html>: > You have to install SCSI over ATAPI driver. GENERIC kernel does not have > one. Only burncd in base system can use acd driver for burning CD/DVD, > others do use SCSI cd driver > > Create a file with following content in /usr/src/sys/i386/conf: > > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd > > -- > Then run config NEW_FILE > > Go into kernel build directory run > make cleandepend ; make depend ; make && make install > > The new kernel will let you use cd0 device. > acd0 is gone for good - update /etc/fstab accordingly. > > > Here is a bit of makesplat for that failure (I think this is the end of > "makesplat.log") > > > nstall -o root -g wheel -m 555 if_lagg.ko /boot/kernel > install -o root -g wheel -m 555 if_lagg.ko.symbols /boot/kernel > ===> if_ndis (install) > install -o root -g wheel -m 555 if_ndis.ko /boot/kernel > install: if_ndis.ko: No such file or directory > *** Error code 71 > > Stop in /usr/src/sys/modules/if_ndis. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KAYVE_KERN. > KV_BSD# exit > > Script done, output file is makesplat.log > KV_BSD# > > .configure_done.scid._usr_local scid-3.6.1 > KV_BSD# uname -a > FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC > 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > KV_BSD# > > This information from when I was booting up on the other disk should be > useful: > > KAYVE_KERN: 9 lines, 102 characters. > KV_BSD# pwd > /usr/src/sys/i386/conf > KV_BSD# cate KAYVE_KERN > zsh: command not found: cate > KV_BSD# cat KAYVE_KERN > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd > KV_BSD# > > > I guess this happened later: > > ACPI FAILURE AGAIN!!! > > n.o acpi_isab.o acpi_package.o acpi_pci.o acpi_pcib.o acpi_pcib_acpi.o > acpi_pcib_pci.o acpi_powerres.o acpi_quirk.o acpi_resource.o acpi_timer.o > acpi_pci_link.o acpi_thermal.o acpi_acad.o acpi_battery.o acpi_cmbat.o > acpi_cpu.o acpi_ec.o acpi_hpet.o acpi_lid.o acpi_perf.o acpi_smbat.o > acpi_throttle.o OsdDebug.o OsdHardware.o OsdInterrupt.o OsdMemory.o > OsdSchedule.o OsdStream.o OsdSynch.o OsdTable.o OsdEnvironment.o > acpi_machdep.o acpi_wakeup.o madt.o assym.o > assym.o: file not recognized: File format not recognized > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KAYVE_KERN. > KV_BSD# > > Oh jeez. I was trying to get the kernel config file I made.. but I am not > sure what is happening now > > > # ls /mnt/nexstar/src/sys > ls: /mnt/ne
Rebuild of Kernel to burn DVD failed
I was trying to burn a DVD KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device KV_BSD# I have had this problem before, but since then I believe I have a new HD that runs KV_BSD% uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT 2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN i386 KV_BSD% The fact that I am running KAYVE_KERN now is slightly confusing to me because I thought the build failed. I am attaching a file called "makesplat.log" which is my personal convention for a typescript that records everything spit (splatted) out by the make command. My laptop is an ASUS M6800N http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml here is the dmesg for the DVD burner KV_BSD# dmesg | grep DVD acd0: DVDR at ata1-master UDMA33 cd0: Removable CD-ROM SCSI-0 device KV_BSD# *------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Tried and failed to use mount -t ntfs-3g
Here I am in my fusefs-ntfs port I made the port (typescript of make install clean command attached) KV_BSD# ls Makefilefilespkg-descr distinfomakesplat.logpkg-plist KV_BSD# mount -t ntfs-3g /dev/ad0s1 /mnt/vista mount: /dev/ad0s1 : Operation not supported by device KV_BSD# pwd /usr/ports/sysutils/fusefs-ntfs KV_BSD# -name -a zsh: command not found: -name KV_BSD# unmae -a zsh: command not found: unmae KV_BSD# uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 KV_BSD# pwd /usr/ports/sysutils/fusefs-ntfs KV_BSD# -- *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
biojava port fails on jakarta-commons-dbcp
My prompt for root is "KV_BSD#" Here is my java version: KV_BSD# java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) Here is my BSD build: KV_BSD# uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I was trying to build this port: KV_BSD# pwd /usr/ports/biology/biojava KV_BSD# -- Here are the error messages: ===> Building for jakarta-commons-dbcp-1.2.1_2 Buildfile: build.xml BUILD FAILED java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:88) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107) at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:120) at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:104) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:172) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:185) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:138) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:96) at org.apache.tools.ant.Main.runBuild(Main.java:683) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Total time: 0 seconds java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:88) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107) at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:120) at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:104) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:172) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:185) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:138) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:96) at org.apache.tools.ant.Main.runBuild(Main.java:683) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Bad version number in .class file *** Error code 1 Stop in /usr/ports/java/jakarta-commons-dbcp. *** Error code 1 Stop in /usr/ports/java/jakarta-commons-dbcp. /usr/ports/biology/biojava I tried googling, have a feeling that java is the culprit, but I am getting a stomach ache now. *------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmast
Re: Newbie question about pkg_add (Canhua)
> > > -- > > Message: 2 > Date: Wed, 29 Oct 2008 18:12:52 +0800 > From: Canhua <[EMAIL PROTECTED]> > Subject: Re: Newbie question about pkg_add > To: "Steven Susbauer" <[EMAIL PROTECTED]> > Cc: freebsd-questions@freebsd.org > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > On Wed, Oct 29, 2008 at 1:07 PM, Steven Susbauer > <[EMAIL PROTECTED]> wrote: > > ports-mgmt/portupgrade is a useful tool for easily getting packages and > > ports, it includes the tool portinstall which does what it says it does. > > By running "portinstall -P pkgname", it will install a port and > > dependencies with packages if available, otherwise they are built from > > source. > > > > portsman and portmanager are some other frontend tools that can help > > with package administration, it's really up to your own tastes. > > > > -Steve> > > I tried portinstall, although dependecies are install with port sources > still. > It take me a whole afternoon to portinstall math/py-neworkx, and it > still doesn't complete as yet. > > Go to sleep! it will be ready in the morning maybe! {:) *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fsdb yields GEN=ffffffffb5f6de87
I was running a java make job and did a du last week and suddenly brought my frankenstein ASUS M6800N Notebook to a frozen mouse state. That was running from a FreeBSD 7.0 on a 160GB HD. I was looking at this question: http://lists.freebsd.org/pipermail/freebsd-current/2003-December/016043.html and I have been given the same advice that I am just not ready to acquiesce to (I know I am not much of a sysadmin until I do, though), i.e. retrieve data and reinstall the operating system. I have results of fsdb of my own: http://www.monkeyview.net/id/965/fsck/inodes/pa180020.vhtml but I don't have quite the same absurdity, i.e. a file that has more bits than atoms in the universe (well.. that's a BIT of an exaggeration) I am thinking, though that the fact that GEN=b5f6de87 might be an absurd value. Is that the case? I found multiple inodes with this configuration. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-questions Digest, Vol 237, Issue 16
--- > > Message: 11 > Date: Fri, 17 Oct 2008 08:39:40 -0700 > From: "Kayven Riese" <[EMAIL PROTECTED]> > Subject: Re: kgdb of kernel issues FB7.0 (mangled inode) > To: freebsd-questions@freebsd.org > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > I need to keep posting to questions because I don't know how to ask questions. I can't run my drive that is currently mounted with its partitions like this: device name would be mounted if "master"is mounted now /dev/da0s1 //mnt/tmp /dev/da0s3 /var /mnt/var /dev/da0s4 /usr /mnt/usr I can't run this hardrive. It is my newest. I can mount it and I can get a single user prompt. Before It crashed it would give me a character based shell, and then I would type "startx" and get KDE. Now it reboots on "startx." It had some sort of mangled inode (see below) but the fsck -y -f /usr that I have done in single user mode just now after swapon -a failed just like all the other times I have done fsck on it (see below) requesting 0.871 TBytes or something. I have just learned about var/crash and providing that wy waaay at the bottom of this transmission. > > > I wasn't sure if I should have edited this. > > -- > > > > Message: 29 > > Date: Thu, 16 Oct 2008 18:48:31 -0700 > > From: "Kayven Riese" <[EMAIL PROTECTED]> > > Subject: kgdb of kernel issues FB7. > > To: freebsd-questions@freebsd.org, [EMAIL PROTECTED], > >[EMAIL PROTECTED] > > Message-ID: > ><[EMAIL PROTECTED]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > I was running my FreeBSD 7.0-RELEASE (160GB HD) on this laptop: > > > > http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml > > > > Right now I am swapped out > > > > http://www.monkeyview.net/id/965/fsck/torrent/p5120212.vhtml > > > > but I have the problem disk mounted using this: > > > > http://www.monkeyview.net/id/965/fsck/torrent/p5120226.vhtml > > > > This is a much older disk with 60GB and > > $ uname -a > > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > > 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 > > $ > > > > It makes clunking sounds sometimes, but for the most part it seems to run > > fine. > > > > Some diagnostics on the 160GB HD FB 7.0 that have been done: > > > > # mount /dev/da0s4 /mnt/usr > > # fsck_ufs -y /mnt/usr > > ** /dev/da0s4 (NO WRITE) > > ** Last Mounted on /mnt/usr > > ** Phase 1 - Check Blocks and Sizes > > INCORRECT BLOCK COUNT I=2779162 (4 should be 0) > > CORRECT? no > > > > fsck_ufs: cannot alloc 871186332 bytes for inoinfo > > # > > > > I have been told that doing fsck while mounted is a very bad thing, but I > > did fsck before the > > above depicted instantiation of the fsck command and after this and it > > always did the same > > thing. I have done fsck using the argument /dev/da0s4, > > I have done fsck in single user mode (the 160GB hard boots a character > > based shell, but crashes > > and reboots during "startx") and always the fsck looks the same. My > > configuration of the 160GB > > is a little goofy, in my estimation, just to explain. I currently have > > three hard drives representing > > all the times I have installed FreeBSD, two of them are dual booted with > MS > > Vista, and this latest > > one with 160GB has FreeBSD all to itself, but when I was creating it, I > > mistook partitions for > > slices so I configured 4 partitions, leaving some of the disk unallocated > > thinking that would be > > good for that 10% utilization thing. I mount three partitions on /, > /var, > > and /usr; respectively > > and the last one as swap. I learned the vi editor in 1985 and tend to > > recount the flavor of > > unix as "evax" but at this point I wonder if this "evax" concept is > > mistaken. I have done a bunch > > of c programming in university courses, but also spent some time doing > > molecular biology but > > they had me on a SUN SPARCstation I guess. Didn't mess with that source > > code. > > > > Anyway. Sorry for not being concise. I thought maybe my background might > > be > > useful information. > > I was told to do another diag
Re: kgdb of kernel issues FB7.0 (mangled inode)
> I wasn't sure if I should have edited this. > -- > > Message: 29 > Date: Thu, 16 Oct 2008 18:48:31 -0700 > From: "Kayven Riese" <[EMAIL PROTECTED]> > Subject: kgdb of kernel issues FB7. > To: freebsd-questions@freebsd.org, [EMAIL PROTECTED], >[EMAIL PROTECTED] > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > I was running my FreeBSD 7.0-RELEASE (160GB HD) on this laptop: > > http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml > > Right now I am swapped out > > http://www.monkeyview.net/id/965/fsck/torrent/p5120212.vhtml > > but I have the problem disk mounted using this: > > http://www.monkeyview.net/id/965/fsck/torrent/p5120226.vhtml > > This is a much older disk with 60GB and > $ uname -a > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 > $ > > It makes clunking sounds sometimes, but for the most part it seems to run > fine. > > Some diagnostics on the 160GB HD FB 7.0 that have been done: > > # mount /dev/da0s4 /mnt/usr > # fsck_ufs -y /mnt/usr > ** /dev/da0s4 (NO WRITE) > ** Last Mounted on /mnt/usr > ** Phase 1 - Check Blocks and Sizes > INCORRECT BLOCK COUNT I=2779162 (4 should be 0) > CORRECT? no > > fsck_ufs: cannot alloc 871186332 bytes for inoinfo > # > > I have been told that doing fsck while mounted is a very bad thing, but I > did fsck before the > above depicted instantiation of the fsck command and after this and it > always did the same > thing. I have done fsck using the argument /dev/da0s4, > I have done fsck in single user mode (the 160GB hard boots a character > based shell, but crashes > and reboots during "startx") and always the fsck looks the same. My > configuration of the 160GB > is a little goofy, in my estimation, just to explain. I currently have > three hard drives representing > all the times I have installed FreeBSD, two of them are dual booted with MS > Vista, and this latest > one with 160GB has FreeBSD all to itself, but when I was creating it, I > mistook partitions for > slices so I configured 4 partitions, leaving some of the disk unallocated > thinking that would be > good for that 10% utilization thing. I mount three partitions on /, /var, > and /usr; respectively > and the last one as swap. I learned the vi editor in 1985 and tend to > recount the flavor of > unix as "evax" but at this point I wonder if this "evax" concept is > mistaken. I have done a bunch > of c programming in university courses, but also spent some time doing > molecular biology but > they had me on a SUN SPARCstation I guess. Didn't mess with that source > code. > > Anyway. Sorry for not being concise. I thought maybe my background might > be > useful information. > I was told to do another diagnostic, alleged to pin the disk down as having > no bad sectors: > > # dd if=/dev/da0 bs=65536 of=/dev/null > 2442045+1 records in > 2442045+1 records out > 160041885696 bytes transferred in 5718.122211 secs (27988539 bytes/sec) > # echo $? > 0 > # > > I was told that the fact that it returns 0 was good. > > > I also tried the port called recoverdisk, but that was taking extremely > long. I accidently disconnected the > USB port > > # /usr/src/tools/tools/recoverdisk > zsh: permission denied: /usr/src/tools/tools/recoverdisk > # set -o vi > # ls /usr/src/tools/tools/recoverdisk > Makefilerecoverdisk.1 recoverdisk.c > # cd /usr/src/tools/tools/recoverdisk > # make > Warning: Object directory not changed from original > /usr/src/tools/tools/recoverdisk > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > recoverdisk.c > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o > recoverdisk recoverdisk.o > gzip -cn recoverdisk.1 > recoverdisk.1.gz > # ls > Makefilerecoverdisk.1 recoverdisk.c > recoverdisk recoverdisk.1.gzrecoverdisk.o > # ./recoverdisk > usage: recoverdisk [-r worklist] [-w worklist] so
kgdb of kernel issues FB7.0
I was running my FreeBSD 7.0-RELEASE (160GB HD) on this laptop: http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml Right now I am swapped out http://www.monkeyview.net/id/965/fsck/torrent/p5120212.vhtml but I have the problem disk mounted using this: http://www.monkeyview.net/id/965/fsck/torrent/p5120226.vhtml This is a much older disk with 60GB and $ uname -a FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 $ It makes clunking sounds sometimes, but for the most part it seems to run fine. Some diagnostics on the 160GB HD FB 7.0 that have been done: # mount /dev/da0s4 /mnt/usr # fsck_ufs -y /mnt/usr ** /dev/da0s4 (NO WRITE) ** Last Mounted on /mnt/usr ** Phase 1 - Check Blocks and Sizes INCORRECT BLOCK COUNT I=2779162 (4 should be 0) CORRECT? no fsck_ufs: cannot alloc 871186332 bytes for inoinfo # I have been told that doing fsck while mounted is a very bad thing, but I did fsck before the above depicted instantiation of the fsck command and after this and it always did the same thing. I have done fsck using the argument /dev/da0s4, I have done fsck in single user mode (the 160GB hard boots a character based shell, but crashes and reboots during "startx") and always the fsck looks the same. My configuration of the 160GB is a little goofy, in my estimation, just to explain. I currently have three hard drives representing all the times I have installed FreeBSD, two of them are dual booted with MS Vista, and this latest one with 160GB has FreeBSD all to itself, but when I was creating it, I mistook partitions for slices so I configured 4 partitions, leaving some of the disk unallocated thinking that would be good for that 10% utilization thing. I mount three partitions on /, /var, and /usr; respectively and the last one as swap. I learned the vi editor in 1985 and tend to recount the flavor of unix as "evax" but at this point I wonder if this "evax" concept is mistaken. I have done a bunch of c programming in university courses, but also spent some time doing molecular biology but they had me on a SUN SPARCstation I guess. Didn't mess with that source code. Anyway. Sorry for not being concise. I thought maybe my background might be useful information. I was told to do another diagnostic, alleged to pin the disk down as having no bad sectors: # dd if=/dev/da0 bs=65536 of=/dev/null 2442045+1 records in 2442045+1 records out 160041885696 bytes transferred in 5718.122211 secs (27988539 bytes/sec) # echo $? 0 # I was told that the fact that it returns 0 was good. I also tried the port called recoverdisk, but that was taking extremely long. I accidently disconnected the USB port # /usr/src/tools/tools/recoverdisk zsh: permission denied: /usr/src/tools/tools/recoverdisk # set -o vi # ls /usr/src/tools/tools/recoverdisk Makefilerecoverdisk.1 recoverdisk.c # cd /usr/src/tools/tools/recoverdisk # make Warning: Object directory not changed from original /usr/src/tools/tools/recoverdisk cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c recoverdisk.c cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o recoverdisk recoverdisk.o gzip -cn recoverdisk.1 > recoverdisk.1.gz # ls Makefilerecoverdisk.1 recoverdisk.c recoverdisk recoverdisk.1.gzrecoverdisk.o # ./recoverdisk usage: recoverdisk [-r worklist] [-w worklist] source-drive [destination] # ./recoverdisk /dev/da0s4 startsize len state done remaining% done 590348288 1048576 134551002112 0 590348288 134551002112 0.0043684 It had run for perhaps half an hour and still was only 0.3% done or so. finally, the guy downstairs told me to debug the kernel so I found this page: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html and after mounting the /usr partition I am here: -rw-r--r-- 1 root wheel 21360 Jun 22 10:30 yarrow.o # kgdb /mnt/nexstar/obj/usr/src/sys/KV_KERN/kernel.debug vmcore.12 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warrant
the impossible! get java 1.5 running on FB6.2?
I am a dum-dum. I don't know what happened, but suddently my FreeBSD7.0-STABLE running on my 160GB HD froze. I fsck-ed mounted, later from the older hard drive I am running now: % uname -a FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 % I know 6.2 is not supposed to be supported anymore, but I have never been able to get buildworld to go, and I know people tell me I am supposed to wipe hard drives, and maybe after I get just one more hard drive I might start get up to mirroring speed or something. What I really need to do is get Java 1.5 going ^ ../../nachos/threads/PriorityScheduler.java:508: cannot resolve symbol symbol : variable waitQueue location: class nachos.threads.PriorityScheduler.ThreadStateAndTime.PriorityQueue Lib.assertTrue(waitingOn.waitQueue.remove(threadStateAndTime)); ^ 100 errors gmake: *** [nachos/userprog/UserKernel.class] Error 1 % java -version Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode) % java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) Trying again, but this build I am pretty sure will end in failure: /x11-toolkits/qt33/work/qt-x11-free-3.3.6/src/sql # pwd /usr/ports # cd java # cd jdk15 # make install clean ===> jdk-1.5.0p3_5 depends on executable in : gm4 - found ===> jdk-1.5.0p3_5 depends on executable in : zip - found ===> jdk-1.5.0p3_5 depends on file: /usr/X11R6/lib/libXm.so - found ===> jdk-1.5.0p3_5 depends on file: /usr/local/diablo-jdk1.5.0/bin/javac - found ===> jdk-1.5.0p3_5 depends on it's still compiling.. I think I will reply to this when it is done. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvsup RELENG_6_3 to RELENG_7 impaired gnome
I am feeling nuked from the freeBSD community right now and I was trying to appropriately post to the gnome list but oh well. I don't have time for the continued bugs in my system, I have _GOT_ to get this running pronto. The subscription to the gnome list seems to be hanging or lagging and my paranoia meter says that some people are doing this because crimeny the gnome list should have sent me at least 50 emails by now. Anyway. To my stupid question that is probably too stupid for hackers, but I am not subscribed to questions either I just can't tolerate that in my time frames It is hard enough letting the other lists go by. Oh. I should have tried to subscribe to that but I am under the.. GGGH fine. If I don't get that subscription notice by the time I finish this then I'm sending it. I suspect the composition should take a reasonable amount of time for that to happen. I did cvsup with the standard-supfile but I guess I used the one from freeBSD 6.2 and I thought it would be kosher to change the bit that said "RELENG_6_2" to "RELENG_7" so that's what I did. I used the ftp4.freebsd.org mirror and I did a cvsup. Then I did cvsup with the ports-supfile but that one had cvsup4.freebsd.org in it, so after that I was OMG and I changed the ftp4.freebsd.org in the standard-supfile and redid that cvsup. Anyway. THen I started following instructions in /usr/src/Makefile. My current professor runs FreeBSD and he suggested that method. It looks pretty similar to stuff I have seen elsewhwere, plus it was part of what cvsup slurped up that was supposed to be specific to my version, right? Anyway, here are the steps: IMPROVISATION: I did mergemaster -p here oops. (see below) make buildworld / make buildkernel make kernel <-| substituted for-< make installkernel reboot -s .. okay. This is where I guess I am basic? I don't think I used the loader prompt, I didn't use reboot -s hmm.. that probably would have been a good thing to type after # I guess I am really stupid. I did shutdown -r now and when the devil came up I pressed "4" Then I typed "mount -a" and then.. mergemaster -p and that is a ball of wax depicted here: http://www.monkeyview.net/id/965/fsck/inst_world/index.vhtml The same thing happened the first time I did mergemaster -p tells my spidey sense "oh oh." Anyway. Then I did make installworld and had a bad thing something about "make doesn't get it" but I fixed that by googling it. Oh here it is: http://www.monkeyview.net/id/965/fsck/inst_world/p5240176.vhtml anyway, don't worry too much about that I fixed it by doing: /usr/src/usr.sbin/mergemaster/mergemaster.sh -p and had the same trials and tribulation of hitting 1000 space bars at the right time with intercelated 1000 return keys (actually maybe more like 300 space bars and 200 return keys) and then, saints be praised, make installworld did some presumably nice things so then I did: make delete-old like /usr/src/Makefile said and OMFG I had to hit "y" 200 times now. mergemaster -U 300 more space bars 200 more return keys make delete-old-libs and now I have provided some pictures of what happens when I try to start up. I get to the devil and then it looks like http://www.monkeyview.net/id/965/fsck/fb7/p5250001.vhtml http://www.monkeyview.net/id/965/fsck/fb7/p5250002.vhtml http://www.monkeyview.net/id/965/fsck/fb7/p5250004.vhtml http://www.monkeyview.net/id/965/fsck/fb7/p5250005.vhtml I broke my gnome and my nessus which is the thing I absolute need pronto! I am not trying to be demanding I am just informing everybody that I am under pressure here and I have no idea what to google at this point. *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr/src/Makefile instructions
On Fri, 23 May 2008, Oliver Fromme wrote: KAYVEN RIESE <[EMAIL PROTECTED]> wrote: > Tom Evans wrote: > > I've redirected this to questions@, as this seems more like a 'User > > question/technical support' rather than 'General technical discussion'. > > Please try to keep the mailing lists on topic. > > That list is too busy. I find I don't have to unsubscribe to > "hackers," and it doesn't seem as hard core to misinterpret > what "hackers" are, than say "ports" or "acpi" Well, "hackers" usually means developers, i.e. people hacking on the FreeBSD code. Therefore I'm afraid I have to agree with Tom: Your questions should better go to the questions list. ergo: because obviously I am a flumming idiot. I thought hacker was something you took eucalyptus fro. > I realized that "make delete-old" and "make delete-old-libs" > are both part of the "cannonical," I guess because I am going > RELENG_6_3 to RELENG_7 I always use "make delete-old", as instructed in the /usr/src/UPDATING file, and it has never bitten me. Please have a look at that file; the important part starts at the section titled "To rebuild everything". Actually, after composing this I kicked myself, because /usr/src/Makefile has clearly instructed me to do make delete-old after make installworld and I think I will throw caution to the wind and append -U to my subsequent mergemaster followed by make delete-old-libs > On that note, was I given misinformation when I was advised > that it would be impossible to upgrade RELENG_6_2 directly to > RELENG_7 ? "Nothing is impossible!", as Dr. Farnsworth from the Futurama series used to say. :-) Oh well. Water under the bridge. I expect to someday edit this to RELENG_7_1 or the like when freebsd.org says so and following the instructions in /usr/src/Makefile again. But seriously ... I think going from 6.2 to 7.0 should work fine. However, the official notion is that updates across major versions have to be supported only for the latest stable release. Any other configurations might work, but it's not guaranteed. If it fails, you're not expected to complain or ask for help, but instead try the officially supported way (i.e. first update to the latest stable on your existing branch, then update across the major version boundary). If that still fails, you may complain and ask for help. Interesting. No. Fascinitating. Captian Kirk, I believe this star will supernova in approximately 12 days, 13 hours, 34 minutes and 23.3425 seconds. Note that it is IMPORTANT to rebuild *all* of your ports when you update from 6.x to 7.x. (This holds true for any major version update.) If you don't do this, you will get library dependency collisions, i.e. port A uses libc.so.7 and depends on port B, but port B still links against the older libc.so.6. Things will break sooner or later. That's why you should rebuild *all* ports after updating to 7.x. (You can keep older ports only if you are absolutely sure that they are not part of any dependencies, and never will be.) My habit is to run cvsup standard-supfile followed by cvsup ports-supfile. IS that a dumb thing to do? In your previous mail you mentioned: > Things work, but dmesg has errors, Would you please tell us what those errors are? We might be able to help you, but only if you tell us. I told the ACPI folks and they told me nicely that my appropriate post was too much of a hassle to bother with. Some ding dong was attaching after the fact of the wing ding and the fact that the errors occured between the wing and the ding was irrelevant since the dong ding subsequent to the ding ding recalibrated the whosits in an adequate fashion before reaching single user mode. > and many ports fail and their makes Again: Please post messages and everything relevant to the problems. There are really people on these lists that are willing to help, but we need as much information as possible in order to be able to help. Best regards Oliver Well.. I reckon I mights a git up thah gumpshun whenis I's gonna get tootin' on sumptin that gits mah goat subsequently. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' *--* Kayven Riese, BSC
Re: /usr/src/Makefile instructions
:/usr/bin make KERNEL=kernel cleandir rm -f *.o *.so *.So *.ko *.s eddep errs kernel.debug kernel kernel.symbols linterrs makelinks tags vers.c vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.h ata_if.c eisa_if.c miibus_if.c mmcbr_if.c mmcbus_if.c card_if.c power_if.c pci_if.c pcib_if.c ppbus_if.c uart_if.c usb_if.c g_part_if.c isa_if.c bus_if.c cpufreq_if.c device_if.c linker_if.c serdev_if.c agp_if.c acpi_if.c ata_if.h eisa_if.h miibus_if.h mmcbr_if.h mmcbus_if.h card_if.h power_if.h pci_if.h pcib_if.h ppbus_if.h uart_if.h usb_if.h g_part_if.h isa_if.h bus_if.h cpufreq_if.h device_if.h linker_if.h serdev_if.h agp_if.h acpi_if.h aicasm* y.tab.h aic7xxx_seq.h aic7xxx_reg.h aic7xxx_reg_print.c aic79xx_seq.h aic79xx_reg.h aic79xx_reg_print.c miidevs.h pccarddevs.h usbdevs.h usbdevs_data.h opt_ah.h rm -f .depend machine cd /usr/src/sys/modules; MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/GENERIC/modules KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" make cleandir ===> 3dfx (cleandir) ===> 3dfx_linux (cleandir) ===> aac (cleandir) ===> aac/aac_linux (cleandir) rm -f export_syms aac_linux.ko aac_linux.kld aac_linux.o aac_linux.ko.debug aac_linux.ko.symbols rm -f @ machine rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> accf_data (cleandir) So, in summary, a sane person should probably go with clean system update. ==> netgraph/l2tp (cleandir) ==> netgraph/lmi (cleandir) ==> netgraph/mppc (cleandir) ==> netgraph/nat (cleandir) ==> netgraph/netflow (cleandir) ==> netgraph/netgraph (cleandir) ==> netgraph/one2many (cleandir) ==> netgraph/ppp (cleandir) ==> netgraph/pppoe (cleandir) ==> netgraph/pptpgre (cleandir) ==> netgraph/pred1 (cleandir) ==> netgraph/rfc1490 (cleandir) ==> netgraph/socket (cleandir) ==> netgraph/source (cleandir) ==> netgraph/split (cleandir) ==> netgraph/sppp (cleandir) ==> netgraph/sync_ar (cleandir) ==> netgraph/sync_sr (cleandir) ==> netgraph/tag (cleandir) ==> netgraph/tcpmss (cleandir) ==> netgraph/tee (cleandir) P.S.: whoever replies next, it's safe to drop hackers@ from CC: anytime now sr/src/sys/modules/cd9660_iconv => cdce (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cdce created for /usr/src ys/modules/cdce => ce (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/ce created for /usr/src/s /modules/ce => ciss (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/ciss created for /usr/src ys/modules/ciss => cm (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cm created for /usr/src/s /modules/cm => cmx (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cmx created for /usr/src/sys/modules/cmx => coda (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/coda created for /usr/src/sys/modules/coda => coda5 (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/coda5 created for /usr/src/sys/modules/coda5 => coff (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/coff created for /usr/src/sys/modules/coff => coretemp (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/coretemp created for /usr/src/sys/modules/coretemp => cp (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cp created for /usr/src/sys/modules/cp => cpufreq (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cpufreq created for /usr/src/sys/modules/cpufreq => crypto (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/crypto created for /usr/src/sys/modules/crypto => cryptodev (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cryptodev created for /usr/src/sys/modules/cryptodev => cs (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cs created for /usr/src/sys/modules/cs => ctau (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/ctau created for /usr/src/sys/modules/ctau => cue (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cue created for /usr/src/sys/modules/cue => cxgb (obj) => cxgb/cxgb (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgb/cxgb created for /usr/src/sys/modules/cxgb/cxgb => cxgb/cxgb_t3fw (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgb/cxgb_t3fw created for /usr/src/sys/modules/cxgb/cxgb_t3fw => cx (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cx created for /usr/src/sys/modules/cx => dc (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/dc created for /usr/src/sys/modules/dc => dcons (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/dcons created for /usr/src/sys/modules/dcons => dcons_crom (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/dcons_crom created for /usr/src/sys/modules/dcons_crom => de (obj) sr/obj/usr/src/sys/GENERIC/modules/usr/
Re: /usr/src/Makefile instructions
On Fri, 23 May 2008, [EMAIL PROTECTED] wrote: On that note, was I given misinformation when I was advised that it would be impossible to upgrade RELENG_6_2 directly to RELENG_7 ? Close to implausible, perhaps? That would indeed be the case, unless you truly are longing for a major workout, either with mergemaster et al, or both with mergemaster and the ports. The former case, which assumes you don't have many ports installed, is often a no-brainer: install a fresh system. The latter case may be somewhat more complicated: install a fresh system for the least effort on your side, or go the update route if you need to keep your system up and usable during the process. I didn't really understand that and I don't understand why I am a bad person for spamming my idiotic thoughts on the matter, but in any case this is moot because I am up an runing RELENG_6_3 and making kernel after editing the stable-supfiles RELENG_6_3 to RELENG_7 let's all cross our fingers that communication has just happened. I should note that I always took the update trail, and never regretted it afterwards (well, if only so slightly). For instance, my workstation lived through 5.2.1-R, 6.2-R, RELENG_6, and finally RELENG_7, all with the aid of cvsup. The process is straightforward, well-designed and easily executed (thanks to the developers), but problems often pop-up with ports (especially such messy ones as Gnome, etc) which take lots of time to correct. I am feeling better about cvsup and even mergemaster nowadays. Thank you very much for your support. So, in summary, a sane person should probably go with clean system update. Is that what I am doing? Umm.. maybe not. I have all these errors that I don't understand and that people ignore but I have a browser and a terminal, so I feel like a functioning pile of carbon compounds. P.S.: whoever replies next, it's safe to drop hackers@ from CC: anytime now Nah.. hackers needs the publicity! Kayven Riese, BSCS, MS (Physiology and Biophysics) [SorAlx] ridin' VS1400 *----------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr/src/Makefile instructions
On Fri, 23 May 2008, Tom Evans wrote: On Fri, 2008-05-23 at 05:49 -0700, KAYVEN RIESE wrote: I've redirected this to questions@, as this seems more like a 'User question/technical support' rather than 'General technical discussion'. Please try to keep the mailing lists on topic. That list is too busy. I find I don't have to unsubscribe to "hackers," and it doesn't seem as hard core to misinterpret what "hackers" are, than say "ports" or "acpi" I realized that "make delete-old" and "make delete-old-libs" are both part of the "cannonical," I guess because I am going RELENG_6_3 to RELENG_7 On that note, was I given misinformation when I was advised that it would be impossible to upgrade RELENG_6_2 directly to RELENG_7 ? Cheers Tom *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: acrobat reader (7 or 8) on 7.0-RC1
Did you install that acrobat port? On Wed, 30 Jan 2008, Vince Hoffman wrote: Hi, Has anyone else had any issues getting this working? my laptop runs acrobat reader7 fine while my desktop doesnt like it at all (see error below.) I am using compat.linux.osrelease=2.6.16 and linux_base-fc6-6_5 I have linux procf mounted. any suggestion? [EMAIL PROTECTED] (20:16:58 ) 0 $ acroread *** glibc detected *** /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread: double free or corruption (!prev): 0x09632cd8 *** === Backtrace: = /lib/libc.so.6[0x2a07ec88] /lib/libc.so.6(cfree+0x90)[0x2a082230] /lib/libc.so.6(closedir+0x28)[0x2a0a2cf8] /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2a22b21d] /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x2a225d51] /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x2a22d0b3] /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x2a22d2b0] /usr/lib/libfontconfig.so.1(FcConfigGetCurrent+0x29)[0x2a225c7a] /usr/lib/libfontconfig.so.1(FcConfigSubstituteWithPat+0x6f4)[0x2a227ab3] /usr/lib/libfontconfig.so.1(FcConfigSubstitute+0x33)[0x2a227af8] /usr/lib/libpangoxft-1.0.so.0[0x2a174455] /usr/lib/libpangoft2-1.0.so.0[0x2a262f43] /usr/lib/libpangoft2-1.0.so.0[0x2a262ffc] /usr/lib/libpangoft2-1.0.so.0[0x2a263434] /usr/lib/libpango-1.0.so.0(pango_font_map_load_fontset+0x4a)[0x29f0df6f] /usr/lib/libpango-1.0.so.0[0x29f0c51b] /usr/lib/libpango-1.0.so.0(pango_itemize_with_base_dir+0x98)[0x29f0c9ae] /usr/lib/libpango-1.0.so.0[0x29f13cb0] /usr/lib/libpango-1.0.so.0[0x29f14892] /usr/lib/libgtk-x11-2.0.so.0[0x29c44060] /lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x59)[0x29f4c769] /lib/libgobject-2.0.so.0[0x29f3e589] /lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0x29f3fd9b] /lib/libgobject-2.0.so.0[0x29f508ca] /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0x29f51957] /lib/libgobject-2.0.so.0(g_signal_emit_by_name+0xee)[0x29f53cee] /usr/lib/libgtk-x11-2.0.so.0[0x29c98e92] /usr/lib/libgtk-x11-2.0.so.0[0x29c99191] /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x48)[0x29d2e2a4] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixGtkWidgetGetSize+0xba)[0x83739aa] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixShowAboutDialog+0x7ff)[0x86ce95f] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z12UNIX_Startupv+0xd)[0x838743d] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVDlgStartup+0x22)[0x858ff02] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(wcsftime+0x2678)[0x8369808] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0xf5)[0x8496c85] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa] /lib/libc.so.6(__libc_start_main+0xdc)[0x2a02cdec] /usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(gtk_widget_grab_focus+0x31)[0x8367cd1] === Memory map: cheers, vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WPA and static IP
On Wed, 30 Jan 2008, Vince Hoffman wrote: Peter Boosten wrote: Vince Hoffman wrote: Hi all, I'm wondering if there is a way to specify WPA ad a static IP for an interface in /etc/rc.conf I've had a quick look though the handbook and google but all the examples use WPA and DHCP. ifconfig_ath0="WPA inet 192.168.13.8 netmask 255.255.255.0" i, on the other hand need a different line: kv_bsd# tail -5 /etc/rc.conf usbd_enable="YES" ifconfig_bge0="inet 192.168.0.2 netmask 255.255.255.0" defaultrouter="192.168.0.1" hostname="kv_bsd" tcp_extensions="YES" kv_bsd# there is a commmand called dmesg that shows you what your OS does during startup. i did the command piped to "bge0" to find what this is about kv_bsd# dmesg | grep bge0 bge0: mem 0xff9f-0xff9f irq 4 at device 0.0 on pci2 miibus0: on bge0 bge0: Ethernet address: 00:11:d8:22:c9:91 bge0: link state changed to UP kv_bsd# if i were you, i would try the command "dmesg | grep Ethernet" and see what you get works for me. Peter Doh that simple eh? Thanks, Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting X - was Re: Vista / FreeBSD dual boot
On Wed, 30 Jan 2008, Siraj Shaikh wrote: On 30/01/2008, KAYVEN RIESE <[EMAIL PROTECTED]> wrote: On Wed, 30 Jan 2008, Siraj Shaikh wrote: On 30/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Wed, 30 Jan 2008, Siraj Shaikh wrote: On 29/01/2008, doug <[EMAIL PROTECTED]> wrote: On Tue, 29 Jan 2008, Siraj Shaikh wrote: On 29/01/2008, Siraj Shaikh <[EMAIL PROTECTED]> wrote: On 29/01/2008, doug <[EMAIL PROTECTED]> wrote: On Tue, 29 Jan 2008, Siraj Shaikh wrote: Just to repeat. I installed FreeBSD 6.3, its a new Toshiba notebook. I chose to install X Windows during sysinstall. The very first time I ran startx it didnt work. Then I did the "Xorg -configure" and tried again, and still doesnt work. Please help startx is lame. most ppl apparently use either KDE or gnome. i used to use xfce4 that was started with the command "starxfce4" but i ended up being pursuaded out of it because i couldn't do flash and multimedia plugins. have you tried running the following command at the root prompt: #pkg_add -r gnome2 i think that is what i used. here is a webpage for gnome: http://www.gnome.org/start/2.20/notes/en/ have you familiarized yourself with the freeBSD pkg_add pkg_delete and ports systems /usr/ports ? the -r directive means that it goes out to the web to find things to install and at the same time installs it. really easy. for the ports system http://www.freebsd.org/ports/index.html you merely figure out what port you want.. do a command something like (as root) #cd /usr/ports/path/to/a/kewl/app and then #make install clean the ports system figures out all the dependencies.. also there is a kewl thing called "portsnap" that updates the ports directories Do I need to get Xorg working first? before I deploy gnome2? I do plan to install gnome 2 -certainly at some stage - would that solve my problems? the pkg_add utility worries about alll that nonsense for you. just try it. I am a bit confused nowplease help! I thought gnome 2 wouldnt work if I dont get xorg to work. that's true, but xorg i think you don't necessarily have to worry about. the pkg_add command will be thinking for a looongg loonngg time. go see a movie while it is chugging away. *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network configuration in FreeBSD
i got my ISP's IP address from some webpage. i am at home running DSL here is what my file looks like kv_bsd# kv_bsd# cat /etc/resolv.conf nameserver 192.168.0.1 kv_bsd# i just had to create that file On Wed, 30 Jan 2008, Bhuvaneswari Ramkumar wrote: strangely my /etc has no resolv.conf file at all ! On Wed, Jan 30, 2008 at 2:56 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote: On Wed, Jan 30, 2008 at 01:01:18PM -0500, Bhuvaneswari Ramkumar wrote: Is it a cause of concern if I dont have any route marked as default ? I see so when i use the netstat command Yes. You need a default router specified because that is the address that becomes your gateway to the rest of the network. You also need a nameserver specified in your /etc/resolv.conf file unless you plan to manually specify every other host you wish to talk to. jerry On Wed, Jan 30, 2008 at 12:57 PM, Bhuvaneswari Ramkumar < [EMAIL PROTECTED]> wrote: with the above assigned IP address and net-mask I'm reading to make it work and ping my LAN successfully ( which it doesn't now) before I put them in the rc.conf script. On Wed, Jan 30, 2008 at 12:51 PM, Jerry McAllister <[EMAIL PROTECTED]> wrote: On Wed, Jan 30, 2008 at 12:19:33PM -0500, Bhuvaneswari Ramkumar wrote: ifconfig em0 up also doesnt help ping my LAN. the ifconfig -a output now reads the IP I just added, as well as the net-mask & the 100 Mbps active linnk. quick question : I did an ifconfig em0 1.1.1.2 yday.should this be done everytime I restart my application, is it some kind of a temporary address assignment, bcos whatever I assigned was not visible today when I re-booted and I had to do it again, probably I should set this in the conf file also ? maybe as another user said my NIC is not enabled or something like that. You have to put it in /etc/rc.conf so it will be taken care of during network initialization each time you boot. Everything at startup reads the /etc/rc.conf and finds variables it needs to do its startup and network startup does that too. So, you put in a line like: ifconfig_em0="inet 1.1.1.2 netmask 255.255.255.0" and defaultrouter="1.1.1.3" Amongst a number of other startup settings in /etc/rc.conf network startup sees those and says 'oh, I know what to do with those' and runs the ifconfig, etc. Note that putting it in rc.cong only causes a 'ifconfig_em0' variable to be set to"inet 1.1.1.2 netmask 255.255.255.0" and the 'defaultrouter' variable to be set to "1.1.1.3" It is up to the startup programs to do something about it. The startup programs are generally run from the /etc/rc script and from other scripts that it runs. jerry On Wed, Jan 30, 2008 at 12:14 PM, Ashish < [EMAIL PROTECTED]> wrote: ,--[ On Wednesday 30 Jan 2008, Bhuvaneswari Ramkumar wrote: | I did have an IP address assigned to my ethernet interface( using the | ifconfig command) but I'm unable to ping anybody in my LAN. In the 'ifconfig -a' output you posted earlier, the 'em0' (your desired interface) interface neither has any IP address assigned to it, nor its UP . So, if you've assigned an IP address to 'em0', then also make sure its UP, by doing 'ifconfig em0 up' . HTH -- Ashish Shukla ??? http://wahjava.wordpress.com/ ?-- ?- ?--- ?- ???- ?- ?--?-? --? -- ?- ?? ?-?? ?-?-?- -?-? --- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting X - was Re: Vista / FreeBSD dual boot
On Wed, 30 Jan 2008, Siraj Shaikh wrote: On 30/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Wed, 30 Jan 2008, Siraj Shaikh wrote: On 29/01/2008, doug <[EMAIL PROTECTED]> wrote: On Tue, 29 Jan 2008, Siraj Shaikh wrote: On 29/01/2008, Siraj Shaikh <[EMAIL PROTECTED]> wrote: On 29/01/2008, doug <[EMAIL PROTECTED]> wrote: On Tue, 29 Jan 2008, Siraj Shaikh wrote: Just to repeat. I installed FreeBSD 6.3, its a new Toshiba notebook. I chose to install X Windows during sysinstall. The very first time I ran startx it didnt work. Then I did the "Xorg -configure" and tried again, and still doesnt work. Please help startx is lame. most ppl apparently use either KDE or gnome. i used to use xfce4 that was started with the command "starxfce4" but i ended up being pursuaded out of it because i couldn't do flash and multimedia plugins. have you tried running the following command at the root prompt: #pkg_add -r gnome2 i think that is what i used. here is a webpage for gnome: http://www.gnome.org/start/2.20/notes/en/ have you familiarized yourself with the freeBSD pkg_add pkg_delete and ports systems /usr/ports ? the -r directive means that it goes out to the web to find things to install and at the same time installs it. really easy. for the ports system http://www.freebsd.org/ports/index.html you merely figure out what port you want.. do a command something like (as root) #cd /usr/ports/path/to/a/kewl/app and then #make install clean the ports system figures out all the dependencies.. also there is a kewl thing called "portsnap" that updates the ports directories http://www.freebsd.org/cgi/man.cgi?query=portsnap&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DELIVERY FAILURE: 5.1.0 - Unknown address error 554-'5.7.1 <[EMAIL PROTECTED]>: Recipient address rejected: Access denied' (delivery attempts: 0)
i'm not sure what has been happening exactly. i am forwarding this daemon bouncer. i am trying to unsubscribe to the freeBSD-questions On Wed, 30 Jan 2008, Mail Delivery System wrote: Your message Subject: Re: mozilla cache partition mishap ? was not delivered to: [EMAIL PROTECTED] because: 5.1.0 - Unknown address error 554-'5.7.1 <[EMAIL PROTECTED]>: Recipient address rejected: Access denied' (delivery attempts: 0) *------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
unsubscribe is not working!
is somebody trying to teach me a lesson? {:P *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mozilla cache partition mishap ?
On Tue, 29 Jan 2008, Mel wrote: On Tuesday 29 January 2008 17:11:00 KAYVEN RIESE wrote: there are a whole bunch of things in /root .files, er.. .directories is it possible for me to switch these to /usr so i don't over flow? You could set HOME to /home/root in .profile? Best solution still is: do the useradd and create a normal user for your work. It takes less time then you took to write this email, so the lazy part is already invalidated. does it not matter that i have already created /home/root ? and note.. /home goes on / with a tiny amount of disk space. how to i make sure it goes to /usr/home ? i thought it was going to go automatically or something but it hasn't -- Mel *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mozilla cache partition mishap ?
Having followed some possibily outdated directive.. i have set up my filesystem in such a way that i am wondering if it is impairing performance, kv_bsd# df -m Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s2a 248 1369260%/ devfs 00 0 100%/dev /dev/ad0s2e 5500 506 0%/tmp /dev/ad0s2f 36333 9473 2395328%/usr /dev/ad0s2d 496 115 34125%/var linprocfs 00 0 100%/usr/compat/linux/proc i have been too lazy to use useradd so i just keep running as root. i did mkdir /home at some point but then i kept overflowing / i installed the GIMP graphics program and it crashed, but then i realized that it was using a directory under the /root directory (because /root is ${HOME}) I found a bit in GIMP where i was able to change pertinent directories, so I have been manually creating stuff like /usr/home kv_bsd# ls /usr .Trash-root bin include link to homesbin .gimp-2.2 compat lib local share .snap games libdata obj src X11R6 homelibexec ports kv_bsd# and the above .gimp-2.2 directory needed to make sure that GIMP didn't crash. now i have been encountering something somebody warned me about running firefox with flash plugins.. it is crashing sometimes.. well.. he warned me i don't know if i expect a complete fix to that, but right now i am noticing kv_bsd# du .mozilla/ | sort -n . . . 4920.mozilla/firefox/4dopg5yz.default/Cache 7346.mozilla/firefox/4dopg5yz.default 7358.mozilla/firefox 7368.mozilla/ now i am thinking.. well.. there are a whole bunch of things in /root .files, er.. .directories is it possible for me to switch these to /usr so i don't over flow? kv_bsd# ls /root .ICEauthority .gnome_private .realplayerrc .Trash .gstreamer-0.10 .recently-used .Xauthority .gstreamer-0.8 .recently-used.xbel .bash_history .gtkrc-1.2-gnome2 .ssh .cddbslave .history.thumbnails .config .java .xsession-errors .cshrc .k5loginDesktop .dmrc .lesshstfirefox-bin.core .evolution .login index.html .gconf .macromedia npviewer.bin.core .gconfd .mailcappublic_html .gimp-2.2 .metacity q .gnome .mozillariese_resume.doc .gnome2 .nautilus xorg.conf .gnome2_private .profile kv_bsd# would that be a good idea? *------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"