Re: GNOME Upgrade on a non-GNOME Machine
Yes. I did it a few days as /usr/ports/UPDATING suggests. It worked but it took too much time (1.5 days). This is because a lot packages depend on glib and gtk, so they have to be upgraded as well. I am just wondering if there is any way to accerlerate the process. cheers, --ken On 11/11/05, Robert H. Perry [EMAIL PROTECTED] wrote: I have a box which needs to upgrade gconf, glib, gnomevfs, and gtk based on the latest CVSup. Just want to confirm that I should still run the gnome_upgrade.sh even though GNOME itself is not installed. Thnx, Bob Perry ___ 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]
FreeBSD 6 on Centrino laptop : how to prolong battery life with cpufreq (like est and estctrl did)
I'm happily using FreeBSD 6 on a Centrino laptop, but wondering if anyone can explain (for dummies) how to use the new cpufreq + SpeedStep to throttle-down my CPU usage and extend battery life - the way that sysutils/est and sysutils/estctrl used to do in FreeBSD 5? (I was using est+estctrl in FreeBSD 5 wonderfully, but now they're disabled, telling me to use cpufreq instead - though I can't tell how, and didn't understand the man page.) Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disk layout
Many msgs are written on disk layout before, I guess. I have still a small question. I'll install FreeBSD-6 on a 160G drive. Is it OK to just use the normal layout (/ /var /tmp /usr) or will it be smarter to create some slices extra like /home or /data ? All slices are on the same disk, but I wonder if it will be better from fragmentation or other reasons unknown to me to have more slices. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk layout
On Sat, Nov 12, 2005 at 10:18:52AM +0100, Dick Hoogendijk wrote: I have still a small question. I'll install FreeBSD-6 on a 160G drive. Is it OK to just use the normal layout (/ /var /tmp /usr) or will it be smarter to create some slices extra like /home or /data ? All slices are on the same disk, but I wonder if it will be better from fragmentation or other reasons unknown to me to have more slices. For backup purposes, I'd separate at least /home. As a general rule, try to keep filesystems small enough so that a full dump (or other backup) fits on your preferred backup medium. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpIgkwGT1erP.pgp Description: PGP signature
Re: Upgrading application(s)
--On 11. november 2005 13:15 -0500 Charles Swiger [EMAIL PROTECTED] wrote: On Nov 11, 2005, at 12:57 PM, Sasa Stupar wrote: I am quite new to freebsd. I have several applications build from the ports collection. When some port change for a new version (I cvsup my ports collection) how do I do upgrade of that application? Is it the same as for the first time: just go to the port I want and then type make and make install or is there another way? Yes, there are other ways. The two main choices for rebuilding new ports are sysutils/ portupgrade and sysutils/portmanager. portupgrade is considered the default or standard tool, and it works quite well for most things, but has problems with KDE and GNOME in particular. portmanager uses a rather different approach to handling dependencies, which can require more compiler work, but it seems to handles updating KDE and GNOME better than portupgrade does. OK. I am trying to install portupgrade (I do not use X) from the ports but after I make install I get the following error: === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. - Why is it complaining about db43? Yes, I have it allready installed before with installation of Cyrus-imapd. Shouldn't it just ignore if it is allready installed? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: output of top command question
On 2005-11-12 12:47, Gobbledegeek [EMAIL PROTECTED] wrote: I wanted to know how to estimate at a quick glance, the TOTAL amount of physical memory consumed by the system - if is it the Active pages in Kbytes of Top command.. Not really. Active, Cached, Wired and Buf memory is also 'in use'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I programatically eject a live cd?
Sean Bruno [EMAIL PROTECTED] wrote: I was looking for an answer to this question. Since my CD is actually the running file system(is mounted), I cannnot eject it while the system is running. So is there a way to do this that y'all have found, or do I have to change my CD to run from memory(RAMDISK) instead of running from the CD. If you know what you're doing: cdcontrol -f /dev/cdX eject Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: schedulers and compatibility options in 6.0-r
On 11/11/05, Dave [EMAIL PROTECTED] wrote: Hello, I've got a 6.0-RELEASE machine and am going to compile a new kernel on it. I've got a few questions as to the best options. This is a single-processor machine, going to run only 6.0. Which of the schedulers should i use SCHED_4BSD or SCHED_ULE From what I have heard (I have not tested) SCHED_ULE will have its advantages, but they are not necessarily showing at the moment as it is still in development. I think it is recommended until then, to test it first to see if you notice any advantages for your setup, but otherwise stick to 4BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing problem with CUPS LPD
Hey, I have a HP LaserJet 1010 and I was trying to get it working with FreeBSD, so I installed CUPS and configured it to recoginize the printer and it does, I can successfully print a testpage using the webinterface. So I was trying to print a file from commandline with lpr, but there is something weird. This is the ouput of lpstat: [EMAIL PROTECTED] lpstat -p -v -d printer HP1010 is idle. enabled since Jan 01 00:00 CUPS v1.1.23 is ready to print. device for HP1010: usb:/dev/ulpt0 system default destination: HP1010 but when I try printing a file using the command: [EMAIL PROTECTED] lpr -PHP1010 /etc/motd this shows up at my dmesg : Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory LPD is trying to print to /dev/lp instead of /dev/ulpt0, but I don't know how to fix it. I tried symlinking /dev/lp to /dev/ulpt0 but that wouldn't do the trick. I hope someone has an idea of what I'm doing wrong? Here some additional information: [EMAIL PROTECTED] uname -a FreeBSD Print.FStaals.LAN 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 [EMAIL PROTECTED] cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /usr/local/etc/cups/printers.conf file. All changes to this file # will be lost. HP1010|HP1010:rm=Print.FStaals.LAN:rp=HP1010: [EMAIL PROTECTED] ps -aux | grep cups root 1941 1.0 0.5 1436 584 p0 DL+ 12:15PM 0:00.01 grep cups root586 0.0 1.0 4704 1208 ?? Ss 11:11AM 0:00.98 cupsd [EMAIL PROTECTED] ps -aux | grep lpd root566 0.0 0.6 1260 716 ?? Is 11:09AM 0:00.04 lpd root 1943 0.0 0.0 128 8 p0 R+ 12:15PM 0:00.00 grep lpd (bash) - Thanks in advance -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nvidia + agp crashes
Im running 6.0 and I have som problems with the nvidia-drivers and AGP support. Its a SiS 661 chipset. It seems to be found: agp0: SiS 661 host to AGP bridge mem 0xe800-0xebff at device 0.0 on pci0 And this it was sysctl says: dev.agp.0.%desc: SiS 661 host to AGP bridge dev.agp.0.%driver: agp dev.agp.0.%location: slot=0 function=0 dev.agp.0.%pnpinfo: vendor=0x1039 device=0x0661 subvendor=0x1043 subdevice=0x8113 class=0x06 dev.agp.0.%parent: pci0 And a /dev/agpgart exists. The real problem appears when I try starting X with the nvidia-drivers. The SiS 661 chipset is not supported by the nvidia AGP driver (it was the same under Linux, so I used the AGPGART module there), so I should used the native FreeBSD AGP support. I have the right NvAGP option in xorg.conf and everything, but my machine reboots when X is started. No error message is logged anywhere. The driver seems to work fine with my gfx-card, a GeForce4 MX 4000, because X runs fine with AGP disabled, but with half the performance (glxgears) than I had under Linux. The problem is apparently that the nvidia-driver cant use the FreeBSD AGP driver. I've tried with 7676, 7667 and 7174 (compiled the latest with GPU_LEGACY_SUPPORT) and it is the same problem. Is there someway to at least get an error message before the reboot or something? -- regards, Jeppe W. Larsen Logic is the beginning of wisdom; not the end. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6 on Centrino laptop : how to prolong battery life with cpufreq (like est and estctrl did)
Miles Keaton wrote: I'm happily using FreeBSD 6 on a Centrino laptop, but wondering if anyone can explain (for dummies) how to use the new cpufreq + SpeedStep to throttle-down my CPU usage and extend battery life - the way that sysutils/est and sysutils/estctrl used to do in FreeBSD 5? I'm using powerd, it's working great. Cheers, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installation of Freebsd on external hard drive
Hello freebsd-mobile, i'm a quite experienced Debian laptop user using an Acer Travelmate 8005. I would like to install freebsd on an external USB or Firewire HD and choose which OS use at startup (maybe within the GRUB loader). However i'm a BSD newbie. Could you give me some hints on how to perform this task? What option should i choose for the bootloader? Thanks in advance for the help, MC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Loading mfsroot read-write on FreeBSD 6.0-RELEASE
i'm attempting to create a stripped down implementation of FreeBSD 6.0-RELEASE and have noticed some changes in how the loader loads mfsroot between 4.x and 6.x. /boot/loader.rc has: set console=comconsole set hw.ata.atapi_dma=1 set hw.ata.ata_dma=1 set hw.ata.wc=0 load /kernel load -t mfs_root /mfsroot boot however, upon a boot, i see the following: /kernel text=0x4511b4 data=0x7cc94+0x33710 syms=[0x4+0x54750+0x4+0x696b2] ACPI autoload failed - no such file or directory Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-STABLE #1: Sat Nov 12 16:31:08 MYT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/M0N0WALL_GENERIC_FREEB Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(TM) CPU 400MHz (400.91-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b4 Stepping = 4 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA real memory = 133103616 (126 MB) avail memory = 104087552 (99 MB) ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: Intel 82815 (i815 GMCH) Host To Hub bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 8 Entries on motherboard pci0: PCI bus on pcib0 pci0: display, VGA at device 2.0 (no driver attached) pcib1: PCIBIOS PCI-PCI bridge at device 30.0 on pci0 pci1: PCI bus on pcib1 pci1: simple comms at device 0.0 (no driver attached) cbb0: RF5C475 PCI-CardBus Bridge mem 0xe5027000-0xe5027fff irq 12 at device 2. cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 pci1: serial bus, FireWire at device 2.1 (no driver attached) fxp0: Intel 82559ER Embedded 10/100 Ethernet port 0xa400-0xa43f mem 0xe5025000 pci1 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:04:5f:40:1c:bd fxp1: Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet port 0xa800-0xa83f mem 0xe50 miibus1: MII bus on fxp1 inphy1: i82562ET 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:04:5f:40:1d:21 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH2 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pci0: serial bus, SMBus at device 31.3 (no driver attached) pmtimer0 on isa0 orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x100 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A unknown: PNP0303 can't assign resources (port) unknown: PNP0c01 can't assign resources (memory) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (irq) unknown: PNP0501 can't assign resources (irq) Timecounter TSC frequency 400910637 Hz quality 800 Timecounters tick every 1.000 msec Fast IPsec: Initialized Security Association Processing. IP Filter: v4.1.8 initialized. Default = block all, Logging = enabled md0: Preloaded image /mfsroot 16777216 bytes at 0xc09c0370 ad2: FAILURE - SETFEATURES SET TRANSFER MODE status=51READY,DSC,ERROR error=4 ad2: 123MB Transcend 2N3-0925 at ata1-master BIOSPIO Trying to mount root from ufs:/dev/md0 mkdir: /var/run: Read-only file system mkdir: /var/log: Read-only file system mkdir: /var/etc: Read-only file system mkdir: /var/db: Read-only file system i've judiciously ignored the SETFEATURES error on ad2 as it's a CF-IDE device and mounts perfectly fine from the command line. however, the mkdirs are failing due to the fact that mfsroot is mounted read only. using the same loader.rc commands in 4.x and 5.x seemed to load mfsroot read/write. how does one specify a read/write mount of mfsroot in 6.0 in the bootloader ? -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+
Re: CPU affinity in new ULE scheduler
On Wed, 9 Nov 2005, Ian Lord wrote: Are you saying that ULE is slower then 4BSD ? I'm new to this and when I compiled my kernel, it was clear ULE was a better alternative for performance then 4BSD Schedulers are one of the hardest things to do right in OS design, as they rely a great deal on how workloads behave and interact. I've seen significantly varied performance between the two -- there are a lot of anecdotal reports that ULE is better for interactive workloads on a busy desktop machine, but keep in mind that 4BSD has seen a number of improvements in the last few years also. Right now, 4BSD is considered the production scheduler for FreeBSD, although there's continuing interest in improving ULE, as well as integrating some of the techniques used in ULE into 4BSD. For example, ULE used to see a significant performance win over 4BSD on SMP as it did a better job of identifying idle CPUs and migrating work to those CPUs. 4BSD has improved a lot on this front in the last year or two, and so has caught up with some of those benefits. In the end, only by measuring will you be able to tell if ULE is better for your workload. Measurement can mean qualitative experience (everything seems snappier) or quantitative (I get 14% more transactions per second with scheduler X). Robert N M Watson Thanks At 19:05 2005-11-09, Kris Kennaway wrote: On Wed, Nov 09, 2005 at 04:16:31PM -0600, Jon Brisbin wrote: I can't find any information on how to set the CPU affinity for processes in the FreeBSD 6 ULE scheduler. That's because you can't. ULE gives lower performance on the workloads I have tested anyway. This may be fixed in the future. Kris ___ 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]
cvsup the wrong version???
Hello list, Two days ago, I cvsupped the RELENG_5_4 tag, and rebuilt the system using make buildworld, make buildkernel KERNCONF=mykernel, make installworld, make installkernel KERNCONF=mykernel. Before I started, I was at 5.4-RELEASE #2. Now that I've done this, I'm at 5.3-RELEASE #3. How can this be? I verified my cvs-supfile, and everything is pointing to 5.4. Please help. - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup the wrong version???
On Sat, Nov 12, 2005 at 07:36:31AM -0600, Eric F Crist wrote: Hello list, Two days ago, I cvsupped the RELENG_5_4 tag, and rebuilt the system using make buildworld, make buildkernel KERNCONF=mykernel, make installworld, make installkernel KERNCONF=mykernel. Before I started, I was at 5.4-RELEASE #2. Now that I've done this, I'm at 5.3-RELEASE #3. How can this be? I verified my cvs-supfile, and everything is pointing to 5.4. I recently (yesterday) had a problem with cvsup8.us.freebsd.org. I was trying for RELENG_6 and it kept feeding me 6.0-RC1. I suggest trying another cvsup server. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVSUP Issues FBSD 6.0
Hiya, I'm having a problem with newly installed system. cvsup -g L 2 supfile gives Release not specified for collection default with the supfile (based on standard-supfile) containing: default host=cvsup2.FreeBSD.org default base=/var/db default prefix=/usr default release=cvs default tag=RELENG_6_0 default delete use-rel-suffix src-all I have tried different mirrors with the same result. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup the wrong version???
On Nov 12, 2005, at 7:42 AM, Doug Poland wrote: On Sat, Nov 12, 2005 at 07:36:31AM -0600, Eric F Crist wrote: Hello list, Two days ago, I cvsupped the RELENG_5_4 tag, and rebuilt the system using make buildworld, make buildkernel KERNCONF=mykernel, make installworld, make installkernel KERNCONF=mykernel. Before I started, I was at 5.4-RELEASE #2. Now that I've done this, I'm at 5.3-RELEASE #3. How can this be? I verified my cvs-supfile, and everything is pointing to 5.4. I recently (yesterday) had a problem with cvsup8.us.freebsd.org. I was trying for RELENG_6 and it kept feeding me 6.0-RC1. I suggest trying another cvsup server. -- Regards, Doug I've tried 3 of them so far... - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME Upgrade on a non-GNOME Machine
Kan Cai wrote: Yes. I did it a few days as /usr/ports/UPDATING suggests. It worked but it took too much time (1.5 days). This is because a lot packages depend on glib and gtk, so they have to be upgraded as well. I am just wondering if there is any way to accerlerate the process. cheers, --ken On 11/11/05, *Robert H. Perry* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I have a box which needs to upgrade gconf, glib, gnomevfs, and gtk based on the latest CVSup. Just want to confirm that I should still run the gnome_upgrade.sh even though GNOME itself is not installed. Thnx, Bob Perry ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] That's what I wanted to hear. Thanks for your response. Bob Perry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing problem with CUPS LPD
At 12:16 PM +0100 11/12/05, Frank Staals wrote: Hey, I have a HP LaserJet 1010 and I was trying to get it working with FreeBSD, so I installed CUPS and configured it to recoginize the printer and it does, I can successfully print a testpage using the webinterface. So I was trying to print a file from commandline with lpr, but there is something weird. This is the ouput of lpstat: [EMAIL PROTECTED] lpstat -p -v -d printer HP1010 is idle. enabled since Jan 01 00:00 CUPS v1.1.23 is ready to print. device for HP1010: usb:/dev/ulpt0 system default destination: HP1010 but when I try printing a file using the command: [EMAIL PROTECTED] lpr -PHP1010 /etc/motd this shows up at my dmesg : Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory LPD is trying to print to /dev/lp instead of /dev/ulpt0, but ... Does CUPS install its own version of `lpr'? I suspect it does. See if you have a /usr/local/bin/lpr in addition to /usr/bin/lpr. If you do, then see if that version of lpr works. What you probably need to do is remove /usr/bin/lpr, or make it into a symlink to /usr/local/bin/lpr. You would also want to add to /etc/make.conf a line something like: NO_LPR=yes -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSUP Issues FBSD 6.0
At 2:09 PM + 11/12/05, Robert Slade wrote: Hiya, I'm having a problem with newly installed system. cvsup -g L 2 supfile gives Release not specified for collection default with the supfile (based on standard-supfile) containing: default host=cvsup2.FreeBSD.org default base=/var/db default prefix=/usr default release=cvs default tag=RELENG_6_0 default delete use-rel-suffix src-all You do not want default as a collection. You want to *set* default values for some variables. To set default values, you need to have an '*' character before the word 'default'. E.g.: *default host=cvsup2.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix src-all Note that you do not want to add a '*' before 'src-all', because 'src-all' is the name of a collection that you want to track. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I programatically eject a live cd?
Sean Bruno [EMAIL PROTECTED] writes: I was looking for an answer to this question. Since my CD is actually the running file system(is mounted), I cannnot eject it while the system is running. So is there a way to do this that y'all have found, or do I have to change my CD to run from memory(RAMDISK) instead of running from the CD. You want to eject your running root filesystem? That's a *really* crazy idea. Why do you want to do that? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSUP Issues FBSD 6.0
On Sat, 2005-11-12 at 14:30, Garance A Drosihn wrote: At 2:09 PM + 11/12/05, Robert Slade wrote: Hiya, I'm having a problem with newly installed system. cvsup -g L 2 supfile gives Release not specified for collection default with the supfile (based on standard-supfile) containing: default host=cvsup2.FreeBSD.org default base=/var/db default prefix=/usr default release=cvs default tag=RELENG_6_0 default delete use-rel-suffix src-all You do not want default as a collection. You want to *set* default values for some variables. To set default values, you need to have an '*' character before the word 'default'. E.g.: *default host=cvsup2.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix src-all Note that you do not want to add a '*' before 'src-all', because 'src-all' is the name of a collection that you want to track. Garance, Thanks - it's working. I was staring at it and totally missed the *. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portmanager coredumps [with backtrace]
First time using portmanager. Using command line: # portmanager -u -pi editors/openoffice-1.1 -l -f It coredumps approx at line 00218 or so: MGPMrController 0.3.4_0 info: running in forced update mode portmanager 0.3.4_0: Collecting installed port data forced mode 00574 setiathome-3.08_3 /astro/setiathome 00573 compat4x-i386-5.3_2 /misc/compat4x 00572 localedata-5.4 /misc/localedata 00571 tiff-3.7.4 /graphics/tiff 00570 libtool-1.5.20 /devel/libtool15 00569 jpeg-6b_3 /graphics/jpeg [...] Here's the backtrace: #0 0x2812c216 in strcpy () from /lib/libc.so.6 #1 0x080fd000 in ?? () #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, portDir=0x80ed000 /ports/multimedia/avifile/../win32-codecs, portName=0x80fd000 qt-3.3.5) at MGPMrCreateAllUpdateStatusDb.c:209 #3 0x2808047b in rrParse (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:424 #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, availablePortDir=0x809d000 /multimedia/avifile, availablePortName=0x80ad000 avifile-0.7.41,2, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:149 #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) at MGPMrCreateAllUpdateStatusDb.c:117 #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) at MGPMrController.c:727 #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, path=0xbfbfead0 PMUPGRADE) at MGPMrController.c:408 #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:302 #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:115 #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 --- epia2# portmanager --version rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/ commandLine.db rParseCommandLine 0.3.4_0 --- 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov 12 07:32:20 CET 2005 Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager coredumps [with backtrace]
On 12/11/05, cpghost [EMAIL PROTECTED] wrote: First time using portmanager. Using command line: # portmanager -u -pi editors/openoffice-1.1 -l -f It coredumps approx at line 00218 or so: MGPMrController 0.3.4_0 info: running in forced update mode portmanager 0.3.4_0: Collecting installed port data forced mode 00574 setiathome-3.08_3 /astro/setiathome 00573 compat4x-i386-5.3_2 /misc/compat4x 00572 localedata-5.4 /misc/localedata 00571 tiff-3.7.4 /graphics/tiff 00570 libtool-1.5.20 /devel/libtool15 00569 jpeg-6b_3 /graphics/jpeg [...] Here's the backtrace: #0 0x2812c216 in strcpy () from /lib/libc.so.6 #1 0x080fd000 in ?? () #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, portDir=0x80ed000 /ports/multimedia/avifile/../win32-codecs, portName=0x80fd000 qt-3.3.5) at MGPMrCreateAllUpdateStatusDb.c:209 #3 0x2808047b in rrParse (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:424 #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, availablePortDir=0x809d000 /multimedia/avifile, availablePortName=0x80ad000 avifile-0.7.41,2, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:149 #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) at MGPMrCreateAllUpdateStatusDb.c:117 #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) at MGPMrController.c:727 #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, path=0xbfbfead0 PMUPGRADE) at MGPMrController.c:408 #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:302 #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:115 #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 I had this on my machine. In the multimedia/avifile Makefile there is the following: #CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs CODEC_PORT=${.CURDIR}/../win32-codecs Switching the commented lines around to this CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs #CODEC_PORT=${.CURDIR}/../win32-codecs stops portmanager from coredumping when scanning that port. I'm unsure as to where the problem lies so I wouldn't entirely recommend making the change unless you're willing to spend time fixing things if they get broken (note: I've had no problems so far but since I don't fully understand the way the port works I'm not going to say this is the Right Thing To Do ;-) Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager coredumps [with backtrace]
I all ready have one pr against this port that looks like it will be pending until maintainer time out. Saw this a while bck and thought I had portmanager working around it. Mind testing the attached patch and seeing if it helps? Note: my /usr/ports tree is symlinked to somewhere within my home directory so I don't know if this is causing any problems. With the patch, rather than coredumping, portmanager now offers to remove the win32-codecs port. The output is like this: ([EMAIL PROTECTED]) ~ sudo portmanager multimedia/avifile -ui -l -bu Password: rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_0: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes Unix/FreeBSD/ports/multimedia/avifile/../win32-codecs is no longer in the ports collection, see /usr/ports/MOVED this port must be removed for portmanager to continue is it OK to remove from your system? (yes/no/auto yes to all) [y/n/a] [y] Previously I got this response: ([EMAIL PROTECTED]) ~ sudo portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_0: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes cd: can't cd to /usr/portsUnix/FreeBSD/ports/multimedia/avifile/../win32-codecs zsh: segmentation fault (core dumped) sudo portmanager multimedia/avifile -ui -l -bu If you want me to try moving the ports into /usr/ports properly, then let me know :-) Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager coredumps [with backtrace]
On Saturday 12 November 2005 09:17, Alistair Sutton wrote: I all ready have one pr against this port that looks like it will be pending until maintainer time out. Saw this a while bck and thought I had portmanager working around it. Mind testing the attached patch and seeing if it helps? Note: my /usr/ports tree is symlinked to somewhere within my home directory so I don't know if this is causing any problems. With the patch, rather than coredumping, portmanager now offers to remove the win32-codecs port. The output is like this: ([EMAIL PROTECTED]) ~ sudo portmanager multimedia/avifile -ui -l -bu Password: rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_0: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes Unix/FreeBSD/ports/multimedia/avifile/../win32-codecs is no longer in the ports collection, see /usr/ports/MOVED this port must be removed for portmanager to continue is it OK to remove from your system? (yes/no/auto yes to all) [y/n/a] [y] Previously I got this response: ([EMAIL PROTECTED]) ~ sudo portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_0: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes cd: can't cd to /usr/portsUnix/FreeBSD/ports/multimedia/avifile/../win32-codecs zsh: segmentation fault (core dumped) sudo portmanager multimedia/avifile -ui -l -bu If you want me to try moving the ports into /usr/ports properly, then let me know :-) Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg Here is what I get with the patch I sent you applied: [EMAIL PROTECTED]:~ portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_1 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_1: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile 2 nasm-0.98.39,1 /devel/nasm 3 qt-copy-3.3.4 /x11-toolkits/qt33 4 gmake-3.80_2 /devel/gmake 5 libtool-1.5.20 /devel/libtool15 6 sdl-1.2.9,2 /devel/sdl12 7 win32-codecs-3.1.0.p5_1,1 .2005.10.01/multimedia/avifile/../win32-codecs 8 liba52-0.7.4_1 /audio/liba52 This is correct, so may take at look at this cd /usr/ports/multimedia/avifile [EMAIL PROTECTED]:~cd /usr/ports/multimedia/avifile [EMAIL PROTECTED]:/usr/ports/multimedia/avifilemake -V PORTSDIR /usr/ports (where ports thinks /usr/ports is located) [EMAIL PROTECTED]:/usr/ports/multimedia/avifilemake -V make -V .CURDIR /usr/ports.2005.10.01/multimedia/avifile(actual location) [EMAIL PROTECTED]:/usr/ports/multimedia/avifilels -l /usr/ports lrwxr-xr-x 1 root wheel 21 Nov 12 07:21 /usr/ports - /usr/ports.2005.10.01 I have a link from /usr/ports to /usr/ports.2005.10.01 Is your something like this? -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I programatically eject a live cd?
On Sat, 2005-11-12 at 09:35 -0500, Lowell Gilbert wrote: Sean Bruno [EMAIL PROTECTED] writes: I was looking for an answer to this question. Since my CD is actually the running file system(is mounted), I cannnot eject it while the system is running. So is there a way to do this that y'all have found, or do I have to change my CD to run from memory(RAMDISK) instead of running from the CD. You want to eject your running root filesystem? That's a *really* crazy idea. Why do you want to do that? Well, I don't want to eject my running root filesystem, but I need to have the CD eject on a reboot/halt of the system. So, is there a nicer way of doing this? Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager coredumps [with backtrace]
On Saturday 12 November 2005 07:42, cpghost wrote: First time using portmanager. Using command line: # portmanager -u -pi editors/openoffice-1.1 -l -f It coredumps approx at line 00218 or so: MGPMrController 0.3.4_0 info: running in forced update mode portmanager 0.3.4_0: Collecting installed port data forced mode 00574 setiathome-3.08_3 /astro/setiathome 00573 compat4x-i386-5.3_2 /misc/compat4x 00572 localedata-5.4 /misc/localedata 00571 tiff-3.7.4 /graphics/tiff 00570 libtool-1.5.20 /devel/libtool15 00569 jpeg-6b_3 /graphics/jpeg [...] Here's the backtrace: #0 0x2812c216 in strcpy () from /lib/libc.so.6 #1 0x080fd000 in ?? () #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, portDir=0x80ed000 /ports/multimedia/avifile/../win32-codecs, portName=0x80fd000 qt-3.3.5) at MGPMrCreateAllUpdateStatusDb.c:209 #3 0x2808047b in rrParse (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:424 #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, availablePortDir=0x809d000 /multimedia/avifile, availablePortName=0x80ad000 avifile-0.7.41,2, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:149 #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) at MGPMrCreateAllUpdateStatusDb.c:117 #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) at MGPMrController.c:727 #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, path=0xbfbfead0 PMUPGRADE) at MGPMrController.c:408 #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:302 #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:115 #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 --- epia2# portmanager --version rCreateCommandLineDb 0.3.4_0 info: executing rm -f /usr/local/share/portmanager/ commandLine.db rParseCommandLine 0.3.4_0 --- 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov 12 07:32:20 CET 2005 Regards, -cpghost. This is a good job of providing information. FreeBSD 6.0 has exposed a few bugs that I didn't find in 5.4, there is allready a pach submitted that may fix this one, if it doesn't I need the same information after it is applied. I've attached the patch in case you don't want to wait for http://www.freebsd.org/cgi/query-pr.cgi?pr=8 to be commited, just mkdir sysutils/portmanager/files, place the patch in there then rebuild reinstall. -Mike diff -ruN ../0.3.4/externVars.h.in ./externVars.h.in --- ../0.3.4/externVars.h.in Fri Nov 11 06:31:14 2005 +++ ./externVars.h.in Fri Nov 11 19:38:50 2005 @@ -78,13 +78,13 @@ #define PACKAGE_NAME portmanager /* Define to the full name and version of this package. */ -#define PACKAGE_STRING portmanager 0.3.4 +#define PACKAGE_STRING portmanager 0.3.5 /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME portmanager /* Define to the version of this package. */ -#define PACKAGE_VERSION 0.3.4 +#define PACKAGE_VERSION 0.3.5 /* location of ports registry, default is /var/db/pkg */ #define PKGDBDIR @PKGDBDIR@ diff -ruN ../0.3.4/libMG/src/MGdbAdd.c ./libMG/src/MGdbAdd.c --- ../0.3.4/libMG/src/MGdbAdd.c Mon Nov 7 16:46:00 2005 +++ ./libMG/src/MGdbAdd.c Fri Nov 11 17:23:26 2005 @@ -58,6 +58,14 @@ { break; } + + /* + * prevent null data from being placed into record fields + */ + if( strlen( paramPtr ) 1 ) + { + assert(0); + } fprintf( dbFileStream, %s%c, paramPtr, 0 ); /* diff -ruN ../0.3.4/libMGPM/src/MGPMrCreateAllUpdateStatusDb.c ./libMGPM/src/MGPMrCreateAllUpdateStatusDb.c --- ../0.3.4/libMGPM/src/MGPMrCreateAllUpdateStatusDb.c Thu Nov 10 16:12:52 2005 +++ ./libMGPM/src/MGPMrCreateAllUpdateStatusDb.c Fri Nov 11 19:30:42 2005 @@ -32,7 +32,6 @@ int rrDependencyParse( structProperty* property, char* buffer, char* availablePortName, char* availablePortDir, char* dependType, int* counterPtr ); int rrFillDependencies( structProperty* property, char* availablePortName, char*
Re: portmanager coredumps [with backtrace]
On Saturday 12 November 2005 08:41, Alistair Sutton wrote: On 12/11/05, cpghost [EMAIL PROTECTED] wrote: First time using portmanager. Using command line: # portmanager -u -pi editors/openoffice-1.1 -l -f It coredumps approx at line 00218 or so: MGPMrController 0.3.4_0 info: running in forced update mode portmanager 0.3.4_0: Collecting installed port data forced mode 00574 setiathome-3.08_3 /astro/setiathome 00573 compat4x-i386-5.3_2 /misc/compat4x 00572 localedata-5.4 /misc/localedata 00571 tiff-3.7.4 /graphics/tiff 00570 libtool-1.5.20 /devel/libtool15 00569 jpeg-6b_3 /graphics/jpeg [...] Here's the backtrace: #0 0x2812c216 in strcpy () from /lib/libc.so.6 #1 0x080fd000 in ?? () #2 0x2807f82c in rrGetPortName (property=0xbfbfeb50, portDir=0x80ed000 /ports/multimedia/avifile/../win32-codecs, portName=0x80fd000 qt-3.3.5) at MGPMrCreateAllUpdateStatusDb.c:209 #3 0x2808047b in rrParse (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:496 #4 0x280801e4 in rrDependencyParse (property=0xbfbfeb50, buffer=0x80cd000 /usr/X11R6/bin/moc:/usr/ports/x11-toolkits/qt33, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, dependType=0xbfbfe790 RUN_DEPENDS, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:424 #5 0x2807ff3e in rrFillDependencies (property=0xbfbfeb50, availablePortName=0x80ad000 avifile-0.7.41,2, availablePortDir=0x809d000 /multimedia/avifile, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:351 #6 0x2807f5d6 in rrFindDepends (property=0xbfbfeb50, availablePortDir=0x809d000 /multimedia/avifile, availablePortName=0x80ad000 avifile-0.7.41,2, counterPtr=0xbfbfe84c) at MGPMrCreateAllUpdateStatusDb.c:149 #7 0x2807f4c9 in MGPMrCreateAllUpdateStatusDb (property=0xbfbfeb50) at MGPMrCreateAllUpdateStatusDb.c:117 #8 0x2807e7ce in rPmUpgradeNewMethod (property=0xbfbfeb50) at MGPMrController.c:727 #9 0x2807d724 in MGPMrController (property=0xbfbfeb50, path=0xbfbfead0 PMUPGRADE) at MGPMrController.c:408 #10 0x2807be6d in rParseCommandLine (property=0xbfbfeb50, argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:302 #11 0x2807b5d9 in MGPMrCommandLine (argc=6, argv=0xbfbfed18) at MGPMrCommandLine.c:115 #12 0x08048533 in main (argc=6, argv=0xbfbfed18) at portmanager.c:38 I had this on my machine. In the multimedia/avifile Makefile there is the following: #CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs CODEC_PORT=${.CURDIR}/../win32-codecs Switching the commented lines around to this CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs #CODEC_PORT=${.CURDIR}/../win32-codecs stops portmanager from coredumping when scanning that port. I'm unsure as to where the problem lies so I wouldn't entirely recommend making the change unless you're willing to spend time fixing things if they get broken (note: I've had no problems so far but since I don't fully understand the way the port works I'm not going to say this is the Right Thing To Do ;-) Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg I all ready have one pr against this port that looks like it will be pending until maintainer time out. Saw this a while bck and thought I had portmanager working around it. Mind testing the attached patch and seeing if it helps? -Mike diff -ruN ../0.3.4/externVars.h.in ./externVars.h.in --- ../0.3.4/externVars.h.in Fri Nov 11 06:31:14 2005 +++ ./externVars.h.in Fri Nov 11 19:38:50 2005 @@ -78,13 +78,13 @@ #define PACKAGE_NAME portmanager /* Define to the full name and version of this package. */ -#define PACKAGE_STRING portmanager 0.3.4 +#define PACKAGE_STRING portmanager 0.3.5 /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME portmanager /* Define to the version of this package. */ -#define PACKAGE_VERSION 0.3.4 +#define PACKAGE_VERSION 0.3.5 /* location of ports registry, default is /var/db/pkg */ #define PKGDBDIR @PKGDBDIR@ diff -ruN ../0.3.4/libMG/src/MGdbAdd.c ./libMG/src/MGdbAdd.c --- ../0.3.4/libMG/src/MGdbAdd.c Mon Nov 7 16:46:00 2005 +++ ./libMG/src/MGdbAdd.c Fri Nov 11 17:23:26 2005 @@ -58,6 +58,14 @@ { break; } + + /* + * prevent null data from being placed into record fields + */ + if( strlen( paramPtr ) 1 ) + { + assert(0); + } fprintf( dbFileStream, %s%c, paramPtr, 0 ); /* diff -ruN ../0.3.4/libMGPM/src/MGPMrCreateAllUpdateStatusDb.c ./libMGPM/src/MGPMrCreateAllUpdateStatusDb.c
Re: portmanager coredumps [with backtrace]
On 12/11/05, Michael C. Shultz [EMAIL PROTECTED] wrote: Here is what I get with the patch I sent you applied: [EMAIL PROTECTED]:~ portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_1 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile portmanager 0.3.4_1: Collecting installed port data 1 avifile-0.7.41,2 /multimedia/avifile 2 nasm-0.98.39,1 /devel/nasm 3 qt-copy-3.3.4 /x11-toolkits/qt33 4 gmake-3.80_2 /devel/gmake 5 libtool-1.5.20 /devel/libtool15 6 sdl-1.2.9,2 /devel/sdl12 7 win32-codecs-3.1.0.p5_1,1 .2005.10.01/multimedia/avifile/../win32-codecs 8 liba52-0.7.4_1 /audio/liba52 This is correct, so may take at look at this cd /usr/ports/multimedia/avifile [EMAIL PROTECTED]:~cd /usr/ports/multimedia/avifile [EMAIL PROTECTED]:/usr/ports/multimedia/avifilemake -V PORTSDIR /usr/ports (where ports thinks /usr/ports is located) ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile make -V PORTSDIR /usr/ports [EMAIL PROTECTED]:/usr/ports/multimedia/avifilemake -V make -V .CURDIR /usr/ports.2005.10.01/multimedia/avifile(actual location) ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile make -V .CURDIR /home/ajs/Unix/FreeBSD/ports/multimedia/avifile [EMAIL PROTECTED]:/usr/ports/multimedia/avifilels -l /usr/ports lrwxr-xr-x 1 root wheel 21 Nov 12 07:21 /usr/ports - /usr/ports.2005.10.01 I have a link from /usr/ports to /usr/ports.2005.10.01 Is your something like this? ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile ls -l /usr/ports lrwxr-xr-x 1 root wheel 28 Jul 2 09:06 /usr/ports - /home/ajs/Unix/FreeBSD/ports ([EMAIL PROTECTED]) /usr/ports/multimedia/avifile I've checked and I'm pretty sure that your patch applied cleanly so it must be something to do with how I've got my ports tree set up. Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting rid of /dev and mount entry after unplugging mounted USB memory stick
Hi list, Every now and then I forget to unmount my USB memory stick. This becomes a problem because every time I do it, I am left with a bogus mount and device entry. umount -f makes the whole machine reboot instantly. From the googling that I have done, I have concluded that this is normal. (But just to be sure, I will paste my dmesg output below). Is there a way I can get rid of the bogus mount / device entry other than rebooting, or will I really have to teach myself to unmount my USB device everytime before I unplug it? Note that integrity of the data or data-transfer speed of the USB device is not critical as it is actually an MP3 player that I copy a bunch of mp3s to every now and then. So sacrifices can be made if neccesary. Below is the dmesg output of all USB-related devices (da0 through da3 are flashcard readers, haven't actually done anything with those so they can probably be ignored). Output from plugging in the mp3player is at the bottom. ohci0: OHCI (generic) USB controller mem 0xc9003000-0xc9003fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 10 ports with 10 removable, self powered ehci0: EHCI (generic) USB 2.0 controller mem 0xfeb0-0xfeb000ff irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: EHCI (generic) USB 2.0 controller on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered uhub2: vendor 0x03eb Standard USB Hub, class 9/0, rev 1.10/3.00, addr 2 uhub2: 4 ports with 4 removable, self powered umass0: ICSI IC1100 V2.5b, rev 1.10/2.5b, addr 3 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/21.00, addr 4, iclass 3/1 ums0: 7 buttons and Z dir. da0 at umass-sim0 bus 0 target 0 lun 0 da0: ICSI IC1100CF 2.5b Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: ICSI IC1100MS 2.5b Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: ICSI IC1100MMC/SD 2.5b Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: ICSI IC1100SM 2.5b Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY asc:3a,0 (da2:umass-sim0:0:0:2): Medium not
Re: cvsup the wrong version???
On Sat, Nov 12, 2005 at 07:36:31AM -0600, Eric F Crist wrote: Hello list, Two days ago, I cvsupped the RELENG_5_4 tag, and rebuilt the system using make buildworld, make buildkernel KERNCONF=mykernel, make installworld, make installkernel KERNCONF=mykernel. Before I started, I was at 5.4-RELEASE #2. Now that I've done this, I'm at 5.3-RELEASE #3. How can this be? I verified my cvs-supfile, and everything is pointing to 5.4. Show us your cvsupfile. Kris pgpctlRst99II.pgp Description: PGP signature
Re: How can I programatically eject a live cd?
At Sat, 12 Nov 2005 it looks like Sean Bruno composed: On Sat, 2005-11-12 at 09:35 -0500, Lowell Gilbert wrote: Sean Bruno [EMAIL PROTECTED] writes: I was looking for an answer to this question. Since my CD is actually the running file system(is mounted), I cannnot eject it while the system is running. So is there a way to do this that y'all have found, or do I have to change my CD to run from memory(RAMDISK) instead of running from the CD. You want to eject your running root filesystem? That's a *really* crazy idea. Why do you want to do that? Well, I don't want to eject my running root filesystem, but I need to have the CD eject on a reboot/halt of the system. So, is there a nicer way of doing this? There is on other Unix type OS's the command eject which will actually open the CD tray. I use it all the time in the server colo when there is some mislabed machines, I'll make sure all the CDROM trays are shut, login to the machine and type eject and the tray of the mislabed machine will pop open. Here is some information that may or may not help you in finding a *BSD equivalent: # [EMAIL PROTECTED] ~]- ldd `which eject` libc.so.6 = /lib/libc.so.6 (0x4002c000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) [EMAIL PROTECTED] ~]- file `which eject` /usr/bin/eject: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped [EMAIL PROTECTED] ~]- # -- Bill Schoolcraft PO Box 210076 San Francisco, CA 94121 http://billschoolcraft.com ~ You do best what you like most. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Removing pre-6.0 libraries
Greetings! I've done a buildworld/kernel/installworld/mergemaster update from 5.4-STABLE to 6.0-RELEASE. Everything went without a hitch. I'm in the process of completely rebuilding all my installed ports (portmanager -u -f). After that, I'll be removing 'options COMPAT_FREEBSD5' from my kernel. Once that is done, is there a command or some other way to remove all the 5.x compatibility libraries from /usr/lib and other places? Is there anything else I'll need to do to make sure I'm not still dependent on 5.x libraries? Cheers, -Wes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running A Named Server
If I understand this correctly, if I want to enable a cache name server, all I have to do is the following: In /etc/rc.conf enter: named_enable=YES Run this command: # cd /etc/namedb # sh make-localhost I enter the address: 127.0.0.1 in the /etc/resolv.conf file ahead of any other entries. I do not have to modify the /etc/namedb/named.conf in any way. I can then either reboot or start the program manually. Have I gotten that all correct? -- Gerard Seibert [EMAIL PROTECTED] Jesus saves sinners (and redeems them for valuable cash prizes) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I programatically eject a live cd?
I believe that you can't do this because you are sitting on this CD. In general: # cdcontrol eject or with port /usr/ports/sysutils/eject just # eject On Sat, Nov 12, 2005 at 12:19:39PM -0800, Bill Schoolcraft wrote: At Sat, 12 Nov 2005 it looks like Sean Bruno composed: On Sat, 2005-11-12 at 09:35 -0500, Lowell Gilbert wrote: Sean Bruno [EMAIL PROTECTED] writes: I was looking for an answer to this question. Since my CD is actually the running file system(is mounted), I cannnot eject it while the system is running. So is there a way to do this that y'all have found, or do I have to change my CD to run from memory(RAMDISK) instead of running from the CD. You want to eject your running root filesystem? That's a *really* crazy idea. Why do you want to do that? Well, I don't want to eject my running root filesystem, but I need to have the CD eject on a reboot/halt of the system. So, is there a nicer way of doing this? There is on other Unix type OS's the command eject which will actually open the CD tray. I use it all the time in the server colo when there is some mislabed machines, I'll make sure all the CDROM trays are shut, login to the machine and type eject and the tray of the mislabed machine will pop open. Here is some information that may or may not help you in finding a *BSD equivalent: # [EMAIL PROTECTED] ~]- ldd `which eject` libc.so.6 = /lib/libc.so.6 (0x4002c000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) [EMAIL PROTECTED] ~]- file `which eject` /usr/bin/eject: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped [EMAIL PROTECTED] ~]- # -- Bill Schoolcraft PO Box 210076 San Francisco, CA 94121 http://billschoolcraft.com ~ You do best what you like most. ___ 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]
Re: Removing pre-6.0 libraries
On Sat, 12 Nov 2005 12:35:51 -0800 Wes Santee [EMAIL PROTECTED] wrote: I'm in the process of completely rebuilding all my installed ports (portmanager -u -f). After that, I'll be removing 'options COMPAT_FREEBSD5' from my kernel. Is there anything else I'll need to do to make sure I'm not still dependent on 5.x libraries? =-=-= Information for nvidia-driver-1.0.7676_1: Depends on: Dependency: localedata-5.4 Dependency: linux_base-8-8.0_9 Dependency: linux-expat-1.95.5_3 Dependency: linux-fontconfig-2.2.3_1 Dependency: linux-XFree86-libs-4.3.99.902_4 Dependency: compat5x-i386-5.4.0.8 =-=-= And this is just one example. So, afaik, you can't be sure you don't need compat5x Maybe it's not a bad idea to leave the compat5x option alone (?). -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 6.0 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running A Named Server
On Sat, 2005-11-12 at 15:52 -0500, Gerard Seibert wrote: If I understand this correctly, if I want to enable a cache name server, all I have to do is the following: In /etc/rc.conf enter: named_enable=YES Run this command: # cd /etc/namedb # sh make-localhost I enter the address: 127.0.0.1 in the /etc/resolv.conf file ahead of any other entries. I do not have to modify the /etc/namedb/named.conf in any way. I can then either reboot or start the program manually. Have I gotten that all correct? Yes, I think that is correct. I did this a week or two ago, and it worked fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox problem...another newbie question
It seems that there is some problem with your glib. You might need to upgrade it. Note that portupgrade isn't working for glib/gtk 2.8.x upgrade. You need to use gnome_upgrade212.sh instead, check /usr/ports/UPDATING for details. cheers, --ken On 10/11/05, makisupa [EMAIL PROTECTED] wrote: Been messing with FreeBSD for a week and a half or so now. Getting my laptop all setup to play DVDs and something wierd happened to Firefox (probably unrelated I know). As an aside, xine works well but i'm not a fan of the gui, gxine core dumps a few seconds after going fullscreen or toggling a couple of times. They use the same engine right? Wierd...both installed from recently upgraded ports tree on a gnome 2.12 6.0-beta5 system. The firefox problem... I can replicate this as at will and epiphany works fine. If i click a .tbz file or something that calls another app and i get a core dump. Any ideas what's going on here? $ firefox (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the
Problems with hard drives
Hi, I was trying to install FreeBSD 6.0-CURRENT in my box but when I do it... Usually my hard drive make a strange noise... and the screen show DMA problems (ok, it may be the hard drive)... but... I change my hard drive and I take one more time problems with the hard drive... (ok, it may be the hard drive, the second hard drive that is broke... maybe)... I take a third hard drive and have the same problem... but... I don't know If is possible to have bad luck to put 3 hard drivers brokens... . Anyone is having problems with FreeBSD and Seagate hard drives? My system is so unstable and I don´t know how to solve the situation... hard drives hare Seagate 160 Gb SATA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with hard drives
On Saturday 12 November 2005 04:28 pm, Javier Matos wrote: Hi, I was trying to install FreeBSD 6.0-CURRENT in my box but when I do it... Usually my hard drive make a strange noise... and the screen show DMA problems (ok, it may be the hard drive)... but... I change my hard drive and I take one more time problems with the hard drive... (ok, it may be the hard drive, the second hard drive that is broke... maybe)... I take a third hard drive and have the same problem... but... I don't know If is possible to have bad luck to put 3 hard drivers brokens... . Anyone is having problems with FreeBSD and Seagate hard drives? My system is so unstable and I don´t know how to solve the situation... hard drives hare Seagate 160 Gb SATA ___ Have you tried using a different cable or a different controller? -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntp handling in 6.0
Hello, Has ntp handling changed in 6.0-RELEASE? I've been through the handbook and /etc/defaults/rc.conf but haven't found the answer to this. I've got a machine acting as an ntp server for a network. When i run ntpdate -b IP from another machine i get the error No servers suitable for synchronization found. Ntpd from these other boxes shows the same. From the local ntp server to the ntp servers on the internet works fine. The local ntp server's configuration is as follows: /etc/rc.conf ntpdate_enable=YES ntpdate_flags=-b servername ntpd_enable=YES ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid ntp.conf server servername prefer server servername servername driftfile /etc/ntp.drift restrict 192.168.9.0 mask 255.255.255.0 notrust nomodify notrap and on client boxes: /etc/rc.conf ntpdate_enable=YES ntpdate_flags=-b local ntp server IP ntpd_enable=YES ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid /etc/ntp.conf server local-ntp-server-ip prefer driftfile /etc/ntp.drift Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with hard drives
On Saturday 12 November 2005 14:28, Javier Matos wrote: Hi, I was trying to install FreeBSD 6.0-CURRENT in my box but when I do it... Usually my hard drive make a strange noise... and the screen show DMA problems (ok, it may be the hard drive)... but... I change my hard drive and I take one more time problems with the hard drive... (ok, it may be the hard drive, the second hard drive that is broke... maybe)... I take a third hard drive and have the same problem... but... I don't know If is possible to have bad luck to put 3 hard drivers brokens... . Anyone is having problems with FreeBSD and Seagate hard drives? My system is so unstable and I don´t know how to solve the situation... hard drives hare Seagate 160 Gb SATA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Mayby you have an unsuported controller, here is an example of a controller that doesn't work under 6.0 but fine in 5.4: atapci0: SiI 3112 SATA150 controller -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pflog trouble?
Today I compiled some kde stuff for a few hours on my fbsd-6.0 box and when I gave the shutdown -p now command it took minutes to complete the shutdown process. The machine seemed to hang on the shutdown of the pflog device. The porcess /was/ completed succesfully in the end but I wonder what happened.. After starting up again and (again) a shutdown -p now all went well and fast. Anybody a clue? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with hard drives
On 11/13/05, Javier Matos [EMAIL PROTECTED] wrote: Hi, I was trying to install FreeBSD 6.0-CURRENT in my box but when I do it... Usually my hard drive make a strange noise... and the screen show DMA problems . . Anyone is having problems with FreeBSD and Seagate hard drives? My system is so unstable and I don´t know how to solve the situation... hard drives hare Seagate 160 Gb SATA I had a similar issue, and from memory it was the cable. For instance you probably need an 80 pin cable, or your current cable may have something wrong with it (happens eventually with all the twisting etc). Also check that master/slave/primary/secondary is all correct etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Removing pre-6.0 libraries
dick hoogendijk wrote: On Sat, 12 Nov 2005 12:35:51 -0800 Wes Santee [EMAIL PROTECTED] wrote: I'm in the process of completely rebuilding all my installed ports (portmanager -u -f). After that, I'll be removing 'options COMPAT_FREEBSD5' from my kernel. Is there anything else I'll need to do to make sure I'm not still dependent on 5.x libraries? [snip example] And this is just one example. So, afaik, you can't be sure you don't need compat5x Maybe it's not a bad idea to leave the compat5x option alone (?). Looks like my attempt to be concise ending up being too terse. :) I have no software on my system that I cannot rebuild from sources. If I were to acquire such software, I'd rather have to add the compat libs as as port (and re-add the options flag to the kernel) then have them as legacy libs hanging around after an upgrade. That does give me an idea, however. I can probably use the contents of the compat5 port to find out what libs are specific to that version. Cheers, -Wes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
hi the new website is nice. but PLEASE dont replace the image of beastie on the homepage with the new logo. that thing is GOD AWFUL. most people wouldn't even know what the heck it is or what significance it has. just stick with the REAL daemon on the homepage. please keep beastie. thank you. ehsan rahman __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6 on Centrino laptop : how to prolong battery life with cpufreq (like est and estctrl did)
Miles Keaton wrote: I'm happily using FreeBSD 6 on a Centrino laptop, but wondering if anyone can explain (for dummies) how to use the new cpufreq + SpeedStep to throttle-down my CPU usage and extend battery life - the way that sysutils/est and sysutils/estctrl used to do in FreeBSD 5? On 11/12/05, J. Martin Petersen [EMAIL PROTECTED] wrote: I'm using powerd, it's working great. Any advice on usage? I tried it and got this error: # powerd -a minimum powerd: lookup freq: No such file or directory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lockup/Halt issues on FreeBSD-6.0-RELEASE
#uname -a FreeBSD gimpy.tcbug.org 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 11 20:00:32 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 dmesg attached This box has run 5.4-RELEASE-p(x) for quite some time without issue. I cvsupped it to 6.0-RC1 and that worked fine. I cvsupped to 6.0-RELEASE and that's when I started getting strange behaviour. I run Xorg and fluxbox-devel with a large variety of apps. A typical mix is gaim, linux-opera, kate, kmail, xmms, xchat, gimp and a half dozen xterms for good measure. Every once in a while the box will hang in a very strange way. xmms plays music, irc stuffs scrolls on xchat, compiles on an xterm keep going, and the mouse pointer works. The mouse buttons won't do anything, the keyboard won't do anything, I can't switch to a different virtual terminal, nothing is logged, I can't get to a debugger. If I hit the power button (this is an ATX system) the box immediately shuts off. On reboot it doesn't need to do an fsck of any kind nor does it complain about filesystems being unmounted improperly. This sort of leads me to believe that somehow parts of shutdown are being run (or insert your theoretical theory here) I'm willing to do trouble-shooting on this if anyone is interested in looking at it. I may be able to get a serial console when the hang occurs. (haven't tried that yet) -- Thanks, Josh Paetzel Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE #1: Fri Nov 11 20:00:32 CST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) 2500+ (1767.87-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow real memory = 1072627712 (1022 MB) avail memory = 1040748544 (992 MB) ACPI APIC Table: KT600 AWRDACPI ioapic0 Version 0.3 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: KT600 AWRDACPI on motherboard acpi0: Power Button (fixed) pci_link0: ACPI PCI Link LNKA irq 12 on acpi0 pci_link1: ACPI PCI Link LNKB irq 11 on acpi0 pci_link2: ACPI PCI Link LNKC irq 10 on acpi0 pci_link3: ACPI PCI Link LNKD irq 5 on acpi0 pci_link4: ACPI PCI Link LNKE on acpi0 pci_link5: ACPI PCI Link LNKF on acpi0 pci_link6: ACPI PCI Link LNK0 on acpi0 pci_link7: ACPI PCI Link LNK1 on acpi0 pci_link8: ACPI PCI Link ALKA irq 11 on acpi0 pci_link9: ACPI PCI Link ALKB irq 21 on acpi0 pci_link10: ACPI PCI Link ALKC irq 22 on acpi0 pci_link11: ACPI PCI Link ALKD irq 23 on acpi0 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem 0xe000-0xe7ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) xl0: 3Com 3c905-TX Fast Etherlink XL port 0xb000-0xb03f irq 18 at device 10.0 on pci0 miibus0: MII bus on xl0 nsphy0: DP83840 10/100 media interface on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:60:97:d8:ad:bd pcm0: Creative EMU10K1 port 0xb400-0xb41f irq 19 at device 12.0 on pci0 pcm0: eMicro EM28028 AC97 Codec atapci0: VIA 6420 SATA150 controller port 0xbc00-0xbc07,0xc000-0xc003,0xc400-0xc407,0xc800-0xc803,0xcc00-0xcc0f,0xd000-0xd0ff irq 20 at device 15.0 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 atapci1: VIA 8237 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd400-0xd40f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: VIA 83C572 USB controller port
kdeinit stays up after logout
Hi, I don't know how long it has been like that, maybe since kde 3.4 but about 1 in 3 times, kdeinit will stay up and consume my cpu like free beer after logout. I resolve by killall -KILL kdeinit and everything is fine until it does it again. I haven't found the cause or a real solution so far. I was wondering if there's a script kdm runs at logout that I can add killall -KILL kdeinit inside. Anyone know? Thanks, Nicolas. -- FreeBSD 7.0-CURRENT #0: Sat Nov 5 12:12:36 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? : http://www.clkroot.net/security/nb_root.asc pgpib71Lrk8Fd.pgp Description: PGP signature
Re: Lockup/Halt issues on FreeBSD-6.0-RELEASE
Remove device agp from kernel or set it to use freebsd's agp in xorg.conf. This shouldn't cause the machine to hang though, having no trouble with nvidia here. On Sat, 2005-11-12 at 20:09 -0600, Josh Paetzel wrote: nvidia0: GeForce 6600 GT mem 0xe800-0xe8ff,0xd000-0xdfff,0xe900-0xe9ff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] NVRM: detected agp.ko, aborting NVIDIA AGP setup! NVRM: detected agp.ko, aborting NVIDIA AGP setup! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup the wrong version???
On Nov 12, 2005, at 2:17 PM, Kris Kennaway wrote: On Sat, Nov 12, 2005 at 07:36:31AM -0600, Eric F Crist wrote: Hello list, Two days ago, I cvsupped the RELENG_5_4 tag, and rebuilt the system using make buildworld, make buildkernel KERNCONF=mykernel, make installworld, make installkernel KERNCONF=mykernel. Before I started, I was at 5.4-RELEASE #2. Now that I've done this, I'm at 5.3-RELEASE #3. How can this be? I verified my cvs-supfile, and everything is pointing to 5.4. Show us your cvsupfile. Kris %more /root/cvs-supfile *default host=cvsup3.FreeBSD.org *default base=/usr *default prefix=/var/db *default tag=RELENG_5_4 *default release=cvs *default delete use-rel-suffix *default compress src-all doc-all Same cvsup file I've always used... - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
qemu tutorial?
I'm feeling a bit _thick_ here. I can seem to get through my brain the process of creating an .img file with qemu that will boot. I can create the .img file, but how do I get an OS on it? I've got a feeling this is a simple thing, but I'm apparently too simple to see the path to a bootable image disk. Could someone point me to a Howto for creating bootable .img files for qemu? Thanks Tim Kellers CPE/NJIT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lockup/Halt issues on FreeBSD-6.0-RELEASE
On Saturday 12 November 2005 09:02 pm, Dev Tugnait wrote: Remove device agp from kernel or set it to use freebsd's agp in xorg.conf. This shouldn't cause the machine to hang though, having no trouble with nvidia here. On Sat, 2005-11-12 at 20:09 -0600, Josh Paetzel wrote: nvidia0: GeForce 6600 GT mem 0xe800-0xe8ff,0xd000-0xdfff,0xe900-0xe9ff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] NVRM: detected agp.ko, aborting NVIDIA AGP setup! NVRM: detected agp.ko, aborting NVIDIA AGP setup! Thanks for your rapid reply. Here's some more details: #kldstat Id Refs AddressSize Name 1 12 0xc040 63070c kernel 21 0xc0a31000 7794 snd_emu10k1.ko 32 0xc0a39000 1d408sound.ko 4 16 0xc0a57000 568dcacpi.ko 51 0xc2755000 37d000 nvidia.ko 61 0xc2adc000 15000linux.ko #grep agp /sys/i386/conf/GIMPY #device agp # support several AGP chipsets I set Option NvAGP 2 and now it stops complaining about detecting agp.ko although I'm curious how it was detecting it in the first place since the module wasn't loaded and the device wasn't compiled in the kernel. At any rate I'll give this a go and report back if I am still having problems. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I programatically eject a live cd?
At Sat, 12 Nov 2005 it looks like Thomas Linton composed: I believe that you can't do this because you are sitting on this CD. In general: # cdcontrol eject or with port /usr/ports/sysutils/eject just # eject Jeez, first off I didn't know this command existed for *BSD and then read the manpage and saw to my amazement... # AUTHOR Shunsuke Akiyama [EMAIL PROTECTED] HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 5.4 Sep 24, 2000 # -- Bill Schoolcraft PO Box 210076 San Francisco, CA 94121 http://billschoolcraft.com ~ You do best what you like most. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: qemu tutorial?
On Sat, 12 Nov 2005, Tim Kellers wrote: I'm feeling a bit _thick_ here. I can seem to get through my brain the process of creating an .img file with qemu that will boot. I can create the .img file, but how do I get an OS on it? I've got a feeling this is a simple thing, but I'm apparently too simple to see the path to a bootable image disk. Could someone point me to a Howto for creating bootable .img files for qemu? This actually is a howto for qemu on Ubuntu Linux, but if you skip the Ubuntu specific installation part, it describes how to get win2k running http://codepoets.co.uk/docs/qemu_windows2000_on_ubuntu_linux_howto Hope that helps, Uli. Thanks Tim Kellers CPE/NJIT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading RELENG_6 kernel tunables?
On Nov 11, 2005, at 9:15 PM, Dev Tugnait wrote: sysctl -a; man sysctl On Fri, 2005-11-11 at 18:38 -0600, David Kelly wrote: /usr/src/sys/conf/NOTES says: # 2. In /boot/loader.conf, set the tunables kern.maxswzone, # kern.maxbcache, kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, # kern.dflssiz, kern.maxssiz and kern.sgrowsiz. Is loader.conf in some sort of different world than sysctl(8)? Shouldn't I be able to at least view the current settings using sysctl? I understand these are things which may have to be set in stone before the kernel starts running proper. Just want to see the current value. # sysctl kern.maxssiz sysctl: unknown oid 'kern.maxssiz' Show how can a view the current setting and confirm my messing with loader.conf took hold? Been there. Done that. Read sysctl(8) before posting the first time. # sysctl -a | grep kern.maxssiz # No output. Did *you* try your suggestion before posting? sysctl(8) says: -a List all the currently available non-opaque values. This option is ignored if one or more variable names are specified on the command line. ... -o Show opaque variables (which are normally suppressed). The for- mat and length are printed, as well as a hex dump of the first sixteen bytes of the value. -a didn't do the job, and neither did -o, so I asked here. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading RELENG_6 kernel tunables?
Check /boot/defaults/loader.conf #kern.maxssiz=# Set the max stack size #kern.maxswzone= # Set the max swmeta KVA storage under NOTES it shows you how to add it in the kernel just place your settings in tunables instead hope that helps On Sat, 2005-11-12 at 22:25 -0600, David Kelly wrote: On Nov 11, 2005, at 9:15 PM, Dev Tugnait wrote: sysctl -a; man sysctl On Fri, 2005-11-11 at 18:38 -0600, David Kelly wrote: /usr/src/sys/conf/NOTES says: # 2. In /boot/loader.conf, set the tunables kern.maxswzone, # kern.maxbcache, kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, # kern.dflssiz, kern.maxssiz and kern.sgrowsiz. Is loader.conf in some sort of different world than sysctl(8)? Shouldn't I be able to at least view the current settings using sysctl? I understand these are things which may have to be set in stone before the kernel starts running proper. Just want to see the current value. # sysctl kern.maxssiz sysctl: unknown oid 'kern.maxssiz' Show how can a view the current setting and confirm my messing with loader.conf took hold? Been there. Done that. Read sysctl(8) before posting the first time. # sysctl -a | grep kern.maxssiz # No output. Did *you* try your suggestion before posting? sysctl(8) says: -a List all the currently available non-opaque values. This option is ignored if one or more variable names are specified on the command line. ... -o Show opaque variables (which are normally suppressed). The for- mat and length are printed, as well as a hex dump of the first sixteen bytes of the value. -a didn't do the job, and neither did -o, so I asked here. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ 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]
Re: cvsup the wrong version???
On Sat, Nov 12, 2005 at 09:50:47PM -0600, Eric F Crist wrote: On Nov 12, 2005, at 2:17 PM, Kris Kennaway wrote: On Sat, Nov 12, 2005 at 07:36:31AM -0600, Eric F Crist wrote: Hello list, Two days ago, I cvsupped the RELENG_5_4 tag, and rebuilt the system using make buildworld, make buildkernel KERNCONF=mykernel, make installworld, make installkernel KERNCONF=mykernel. Before I started, I was at 5.4-RELEASE #2. Now that I've done this, I'm at 5.3-RELEASE #3. How can this be? I verified my cvs-supfile, and everything is pointing to 5.4. Show us your cvsupfile. Kris %more /root/cvs-supfile *default host=cvsup3.FreeBSD.org *default base=/usr *default prefix=/var/db *default tag=RELENG_5_4 *default release=cvs *default delete use-rel-suffix *default compress src-all doc-all Same cvsup file I've always used... ident /usr/src/sys/conf/newvers.sh strings /boot/kernel/kernel | grep FreeBSD Kris pgpH8qCwUNdIJ.pgp Description: PGP signature
Re: qemu tutorial?
On Saturday 12 November 2005 11:31 pm, P.U.Kruppa wrote: On Sat, 12 Nov 2005, Tim Kellers wrote: I'm feeling a bit _thick_ here. I can seem to get through my brain the process of creating an .img file with qemu that will boot. I can create the .img file, but how do I get an OS on it? I've got a feeling this is a simple thing, but I'm apparently too simple to see the path to a bootable image disk. Could someone point me to a Howto for creating bootable .img files for qemu? This actually is a howto for qemu on Ubuntu Linux, but if you skip the Ubuntu specific installation part, it describes how to get win2k running http://codepoets.co.uk/docs/qemu_windows2000_on_ubuntu_linux_howto Hope that helps, Uli. Thanks Tim Kellers CPE/NJIT Wow! Thanks for that URL. I popped my XP CD into the drive, ran the command qemu -hda qemu_basic.img -cdrom /dev/cd0 -boot d -win2k-hack -m 256 and Voila, XP is installing! I do have dd(1) images of my Windows laptops and I was hoping I could use one of those files to simply boot the emulator into XP, but I think that project will have to wait until another day. Now if I can just get qemu to emulate my Apple IIGS :-) Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[patch] Re: Loading mfsroot read-write on FreeBSD 6.0-RELEASE
On 11/12/05 21:02 Dinesh Nair said the following: how does one specify a read/write mount of mfsroot in 6.0 in the bootloader ? apparently, the behaviour of vfs_mountroot_try() has changed in 6.0. previously, if the root filesystem was mounted from a memory disk, as would be the case with an mfsroot.gz, it would be mounted R/W while other fs types would be mounted R/O before /etc/rc scripts upgraded the mount to R/W. however, in 6.0, all root filesystems are mounted R/O. the following patch mounts all root filesystems R/W. it's a quick and dirty fix however, for a cleaner fix would be to duplicate 5.x behaviour of only mounting memory disks R/W and other disks R/O. the kernel needs to be rebuilt for this patch to take effect. is there enough interest in having memory root file systems mounted R/W at boot ? if there is, i could put in a little bit more effort into duplicating 5.x behaviour on this and submitting it as a PR to 6.0. --- CUT HERE --- --- sys/kern/vfs_mount.c.orig Sat Nov 12 23:22:07 2005 +++ sys/kern/vfs_mount.cSat Nov 12 23:59:50 2005 @@ -1297,7 +1297,7 @@ strcpy(path, ROOTNAME); error = kernel_vmount( - MNT_RDONLY | MNT_ROOTFS, + MNT_ROOTFS, fstype, vfsname, fspath, /, from, path, --- CUT HERE --- -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
copying standard input to standard output
Hi there, I am wanting to copy standard output to a file. I know that 'tee' will do this fine. blah | tee it but I am find that on some occasions processes will not output when pipping to tee. other than screen what are some applications that could capture standard output and dump to a file? cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: copying standard input to standard output
On Sun, 13 Nov 2005 04:01 pm, Noah wrote: Hi there, I am wanting to copy standard output to a file. I know that 'tee' will do this fine. blah | tee it but I am find that on some occasions processes will not output when pipping to tee. other than screen what are some applications that could capture standard output and dump to a file? Could be that the output you're looking at is not stdout but stderr. If you using csh (or tcsh) shell then try: % blah | tee it Malcolm cheers, Noah ___ 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]
Re: copying standard input to standard output
On 11/12/05, Noah [EMAIL PROTECTED] wrote: Hi there, I am wanting to copy standard output to a file. I know that 'tee' will do this fine. blah | tee it but I am find that on some occasions processes will not output when pipping to tee. other than screen what are some applications that could capture standard output and dump to a file? script will do exactly that. It'll capture stderr, too. It may be that the programs you're using are sending to stderr as Malcolm suggests. It may also be because some programs handle stdout to a terminal differently than stdout to a file or a pipe. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
In a bit of a bind - DNS problems and ipfw
Hello I am having problems with my FreeBSD 5.4 gateway/firewall. When I enable a custom firewall (ipfw) or the Simple firewall through rc.firewall my clients are unable to resolve DNS when DNS does work with the Open ruleset that is provide by rc.firewall. I create the custom firewall couple years ago and they work fine under 4.11 but after the upgrade I have not been able to get them to work. I sure I am doing something stupid but I am not smart enough to solve it at the moment. Thank you Aaron Siegel Custom firewall rules #Allow DNS $cmd 019 allow tcp from any to any 53 out via $pif $cmd 018 allow udp from any to any 53 out via $pif /etc/rc.conf gateway_enable=YES firewall_enable=YES firewall_type=open natd_enable=YES natd_interface=dc0 ifconfig_dc0=192.168.0.2 #public interface ifconfig_fxp0=192.168.245.1 netmask 255.255.255.0 #private interface /etc/rc.conf I have commented out the following lines #${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif} ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Text to Speech in FreeBSD
Hi, Is there any text-to-speech available for FreeBSD? -- -- Edwin D. Viñas http://www.geocities.com/edwin_vinas/ IN THE WORLD OF SCIENCE, NOTHING IS IMPOSSIBLE. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Obtaining release 4.1
On 11/11/05, Dinh C. Nguyen [EMAIL PROTECTED] wrote: Hi, I am trying to download release 4.1 from the website and I am unable to connect to either of the ftp sites from FreeBSD.org. I was wondering if the server is down because I would like to get a copy of release 4.1. Thank you. Dinh Nguyen The older versions of FreeBSD are archived elsewhere. Here's the URL for 4.1: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.1-RELEASE/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: qemu tutorial?
On Sat, 12 Nov 2005 23:57:22 -0500 Tim Kellers [EMAIL PROTECTED] wrote: Wow! Thanks for that URL. I popped my XP CD into the drive, ran the command qemu -hda qemu_basic.img -cdrom /dev/cd0 -boot d -win2k-hack -m 256 Now if I can just get qemu to emulate my Apple IIGS :-) You also might like to visit http://www.oszoo.org They have lots of preconfigured IMG files instantly usable with qemu A really nice playing field ;) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 6.0 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing from Solaris to FreeBSD via Cups
Hi! I would like to print from a Solaris 10 workstation (192.168.10.3) to my FreeBSD server (192.168.10.1). My idea was to use Cups and ipp protocol on both machines since I have already got Cups up and running on my FreeBSD machine. Cups on Solaris seems to be up to (I can access http://localhost:631) but whatever printer configuration I try to set, I keep receiving Send Error: 7 code=403 (Forbidden) when I try to print the test page. Perhaps I don't use the correct ipp URI ? Perhaps my cupsd.conf is missing something? Do I need to set some kind of authentication from Solaris to FreeBSD? Error logs don't show anything but a message about sending the above error. Thanks for your help or links to some howto's , Uli. Here come two of my configs: /etc/printcap - # This file was automatically generated by cupsd(8) from the # /usr/local/etc/cups/printers.conf file. All changes to this file # will be lost. hpdj|hpdj:rm=www.pukruppa.net:rp=hpdj: - /usr/local/etc/cups/cupsd.conf --- [snip] LogLevel info Port 631 Location / Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.2.* /Location Order Deny,Allow Deny From All Allow From 192.168.10.* * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Text to Speech in FreeBSD
Festival is the engine Festvox are the voices for festival. See /usr/ports/festival -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Edwin D. Vinas Sent: November 13, 2005 1:59 AM To: freebsd-questions@freebsd.org Subject: Text to Speech in FreeBSD Hi, Is there any text-to-speech available for FreeBSD? -- -- Edwin D. Viñas http://www.geocities.com/edwin_vinas/ IN THE WORLD OF SCIENCE, NOTHING IS IMPOSSIBLE. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: output of top command question
Thanks. From the article I conclude that Active pages are: Pages with page-used bit set Inactive and cached refers to the different page queues. But I could not correlate wired with anything. Any Tips? Rgrds On 11/12/05, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-11-12 12:47, Gobbledegeek [EMAIL PROTECTED] wrote: I wanted to know how to estimate at a quick glance, the TOTAL amount of physical memory consumed by the system - if is it the Active pages in Kbytes of Top command.. Not really. Active, Cached, Wired and Buf memory is also 'in use'. -- Nonchalantly yours GobbledeGeek [Everything but Gobbledegook.. !!] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]