Re: gvim GUI cannot be used
Hi, On Fri, 5 Jul 2013 12:56:32 +0200 CeDeROM cede...@tlen.pl wrote: C Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall C reinstall it, that works for me, and it helps with dialogs in texmode C as well :-) for me this does not work. Unless I hack the Makefile and force it to enable gui mode it just isn't compiled in. Regards, Jens -- 05. Heuert 2013, 13:19 Homepage : http://www.jan0sch.de SAFETY I can live without Someone I love But not without Someone I need. pgp6lPZC5JzKA.pgp Description: PGP signature
Re: gvim GUI cannot be used
Well, On Fri, 5 Jul 2013 15:34:59 +0200 Polytropon free...@edvax.de wrote: P Try a make rmconfig first and then make install. P P And make sure /etc/make.conf does not contain any offending P settings that might suggest you do not have or want X11. if I do make rmconfig it tells me that there was no user config. To be sure I deleted the /var/db/ports/vim/options file. Here is my /etc/make.conf: WITH_PKGNG=yes # Ruby RUBY_DEFAULT_VER=2.0 # TeX TEX_DEFAULT=texlive # QT QT4_OPTIONS=CUPS QGTKSTYLE # added by use.perl 2013-07-02 07:31:18 PERL_VERSION=5.14.4 However vim is still build without x11 support. The only thing working right now is manually tweaking the Makefile. Otherwise I always end up with a ./configure --enable-gui=no ... Regards, Jens -- 05. Heuert 2013, 15:47 Homepage : http://www.jan0sch.de Antique fairy tale: Little Red Riding Hood. Modern fairy tale: Oswald, acting alone, shot Kennedy. pgpdfrNcHOGGm.pgp Description: PGP signature
Re: gvim GUI cannot be used
Hi, On Fri, 5 Jul 2013 17:52:59 +0200 Raphael Ahrens tant.sinnis...@googlemail.com wrote: RA To get to the bottom of the problem here my make.conf received with RA my now again working gvim, thanks to the remark of Kent. :) RA RA WITH_X11=YES RA OPTIMZED_CFLAGS=YES RA MAKE_JOBS_NUMBER=2 RA BUILD_OPTIMIZED=YES RA WITH_CPUFLAGS=YES RA RA WITH_PKGNG=yes RA WITHOUT_PROFILE=yes RA TEX_DEFAULT=texlive RA # added by use.perl 2013-07-05 12:03:07 RA PERL_VERSION=5.12.5 RA RA Greetings, RA Raphael that doesn't work on my system. However if I use # setenv WITH_OPTIONS=yes # make install everything works and I get options again. ;-) Regards, Jens -- 05. Heuert 2013, 18:44 Homepage : http://www.jan0sch.de You will win success in whatever calling you adopt. pgpc971uTJ0zm.pgp Description: PGP signature
Re: BSD sleep
On Tue, May 28, 2013 at 07:01:40PM -0400, Kenta Suzumoto wrote: # Hi. Is there no built-in way of making sleep sleep in increments # of minutes, hours, etc? The GNU sleep can be invoked like sleep # 1h for an hour. The FreeBSD one's manpage leads me to believe we # can only use seconds, which is kind of annoying. Is there an # undocmented or missing feature here? Seems really trivial to # implement. # # ~ $ sleep 1h # usage: sleep seconds Perfection is reached when there is nothing left to take away. The GNU format is already an incompatibility. If I want to sleep longer than 3 digit amount in secs, I do the math. The POSIXly *portable* way to do this and document it for the mathematically challenged is sleep $((2*60*60))# 2h sleep $((7*24*60*60)) # 1w Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Recommendations for 64GB USB 3.0 Sticks?
hello, world\n I have a problem with a USB 2.0 64GB Stick, that's not recognized by FreeBSD 9 (Corsair Survivor). I have also read other people having problems with large size sticks (=64GB). Has anyone a recommendation for a 64GB USB 3.0 stick? Preferably with read and write speeds =100MByte/s, respectively. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
TexLive in ports running endless on compile?
Hi, I've seen that texlive has finally landed in the ports tree and as I had a fresh and clean setup system ready I tried it out. I tried to install texlive-full which started out okay but the last line in my terminal is: fmtutil: running `ptex -ini -jobname=ptex -progname=ptex ptex.ini #ptex' ... The ptex job is now running for 6 hours on a system with an i5 cpu and an ssd. Is this normal or is something broken here? Regards, Jens -- 07. Wonnemond 2013, 17:13 Homepage : http://www.jan0sch.de Invest in physics -- own a piece of Dirac! pgpwA1bly0t6S.pgp Description: PGP signature
[Solved] Youtube Flash Videos broken?
On Sat, Apr 06, 2013 at 05:53:17PM -0600, Warren Block wrote: # On Sat, 6 Apr 2013, Jens Schweikhardt wrote: # # I have trouble playing Youtube videos in flash format in Firefox. This # has worked in the past, but for a few weeks now, the flash videos # display as a b/w noise background picture with a message centered To # render this video you need the Adobe Flash Player. Install latest Flash # Player. Has Youtube conspired against me, you, FreeBSD, the world? :-) # # We've had a thread about it in the forums, with a couple of workarounds: # http://forums.freebsd.org/showthread.php?t=38627 Thanks for this helpful link. It contained the solution to my problem: 1) In about:config, set dom.ipc.plugins.enabled to false 2) Exit and restart Firefox (really, just doing 1) did not work). Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Youtube Flash Videos broken?
hello, world\n I have trouble playing Youtube videos in flash format in Firefox. This has worked in the past, but for a few weeks now, the flash videos display as a b/w noise background picture with a message centered To render this video you need the Adobe Flash Player. Install latest Flash Player. Has Youtube conspired against me, you, FreeBSD, the world? :-) I'm wondering if I have screwed up something. I'm running 9.1-STABLE as of a few days ago, with up-to-date ports of emulators/linux_base-f10, www/linux-f10-flashplugin11 and www/nspluginwrapper ports on FF20.0. about:plugins says this: Shockwave Flash File: npwrapper.libflashplayer.so Version: Shockwave Flash 11.2 r202 MIME TypeDescription Suffixes application/x-shockwave-flash Shockwave Flash swf application/futuresplashFutureSplash Player spl Since I haven't heard the FreeBSD community screaming Gimme back my Youtube!!!1!, I'll bite. What could the problem be? Is anyone else but me able to play flash, like for example The true science of multiple universes in http://www.youtube.com/watch?v=Ywn2Lz5zmYg ? Other types play just fine, like Pt1gard's 10-Question Apollo Test http://www.youtube.com/watch?v=oUPtiYiMCbQ I can work around this by downloading the files with clive and watching with mplayer, but I'd like to make this work again. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Anyone got an EPSON Perfection V33 scanner working?
hello, world\n so I got an EPSON Perfection V33 scanner, needless to say it works under Win7 with the provided SW on the CD. Needless to say, it's one of those scanners unsupported by SANE according to their list, http://www.sane-project.org/sane-mfgs.html#Z-EPSON While it can be probed with # sane-find-scanner -q found USB scanner (vendor=0x04b8 [EPSON], product=0x0142 [EPSON Perfection V33/V330]) at libusb:/dev/usb:/dev/ugen3.3 that's about the end of it. A lot of googling turned up that some company named Avasys/Seiko/Epson provides an Image Scan! application for Linux, which, strangely enough, also uses some sane-backend. Now before I try to make that pig fly by installing rpms in the Linuxulator, (just to find out that for yet more obscure reason this does't work so easily), has anyone gotten a V33 to successfully scan under FreeBSD? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
9.1 on Dell Vostro Desktop 470 MT
Hi, we are considering a desktop from dell (vostro 470 mt) and I would like to know if someone has experience with freebsd (9.1) and this machine. Regards, Jens -- 23. Hornung 2013, 16:05 Homepage : http://www.jan0sch.de Mount St. Helens should have used earth control. pgpeF9VIy6eGC.pgp Description: PGP signature
Should I bother with a gvinum stripe when using a pair of SSDs?
hello, world\n currently the only gvinum partition on my home system is a stripe for /home across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a pair of SSDs. I was thinking of reducing complexity and in the migration possibly no longer use gvinum at all--one less thing to configure and worry about. * Would gvinum striping bring any speed advantage with a pair of SSDs? * Or am I hitting other limits so that striping SSDs is a waste anyway? * Should I finally take the plunge and acquaint myself with ZFS? System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me that SATA II with 300MB/s is maxed out by a single SSD and striping it will not improve r/w throughput. Is my simplistic reasoning correct? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I bother with a gvinum stripe when using a pair of SSDs?
On Sat, Feb 16, 2013 at 04:44:06PM +0100, C. P. Ghost wrote: # On Sat, Feb 16, 2013 at 3:47 PM, Jens Schweikhardt # schwe...@schweikhardt.net wrote: # hello, world\n # # currently the only gvinum partition on my home system is a stripe for /home # across two Velociraptor HDDs. I'm thinking of replacing the HDDs with a # pair of SSDs. I was thinking of reducing complexity and in the migration # possibly no longer use gvinum at all--one less thing to configure and worry # about. # # * Would gvinum striping bring any speed advantage with a pair of SSDs? # * Or am I hitting other limits so that striping SSDs is a waste anyway? # * Should I finally take the plunge and acquaint myself with ZFS? # # System has 4GB RAM in an ASUS P5Q3 Deluxe with SATA II. It appears to me # that SATA II with 300MB/s is maxed out by a single SSD and striping it # will not improve r/w throughput. Is my simplistic reasoning correct? # # Jens, # # as always it depends on what you're trying to achieve: # - max speed / lower latency? # - max storage? # - max redundancy? # - max run-time-to-data-loss? # # Your choice of SSD probably means you'd like to reduce latency # and maximize data throughput. Exactly, when I started vith vinum many years ago in the magnetic HD age, striping with vinum gave me almost factor 2 in r/w speed as measured with dd. (I do backups regularly to other media, so data loss protection is not my primary concern). I realize that maximum SSD speeds as advertised by vendors and tests (e.g. 520MB/s for contemporary top notch SSDs) may only be reached under certain conditions far away from my normal usage, which is re-building worlds and kernels and ports on a daily basis. So if for my realworld working set a single SSD can deliver 300MB/s, striping with vinum just might get me a factor 2 again to 600MB/s across two SSDs. Then it would be worthwile to keep gvinum. Does that make sense? My understanding of SSD and SATA capabilities may however be completely dreamed up... Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Opera
On Sat, 02 Feb 2013 07:55:25 -0600 ajtiM lum...@gmail.com wrote: A On Saturday 02 February 2013 14:19:17 Polytropon wrote: A On Sat, 02 Feb 2013 05:35:46 -0600, ajtiM wrote: A Looks like Opera has problem autodetect on KDE but not in A Fluxbox. A A This is because Fluxbox is neither KDE or Gnome. :-) A A But simply coredumping is a bad default value for how to act A when not using KDE or Gnome. I'm using Opera on WindowMaker A here for many years without that specific error (11.50 at the A moment), so maybe another sign for disimproved software... :-( A A As I remember a problem started with Opera 12?? (I forgot which A one but 12 for sure). For me problems started with 12.10 (12.12 currently). After some update opera wouldn't start anymore. It simply bailed out saying failed to setup core. I never had the time to nail the reason down exactly. Had something to do with gstreamer and xorg stuff updates. Right now on 9.1 it is running and I hope it will stay that way. Regards, Jens -- 02. Hornung 2013, 15:14 Homepage : http://www.jan0sch.de QOTD: Everything I am today I owe to people, whom it is now too late to punish. pgpLjZcurrUSP.pgp Description: PGP signature
Re: Security updates
Hi, On Wed, 23 Jan 2013 12:42:00 +0100 Ralf Mardorf ralf.mard...@alice-dsl.net wrote: RM Because compiling does take very long, I will not update the whole RM ports tree that often, I alos like to keep software versions that RM fit to my needs when ever possible, but I guess without breaking RM dependencies it theoretically should be possible to update Internet RM browsers, MUAs etc. only from time to time, for security reasons. RM RM Is it possible to update just some Internet stuff? yes, using some tools. Take a look at portmaster or portupgrade. Maybe you should install portaudit too. It tells you for which ports security flaws have been found. To update a single port using portmaster you would run # portmaster www/firefox for example. Regards, Jens -- 23. Hartung 2013, 13:02 Homepage : http://www.jan0sch.de The student in question is performing minimally for his peer group and is an emerging underachiever. pgp8UwSjWD1xW.pgp Description: PGP signature
Re: Wine-fbsd64 updated to 1.5.20 (32bit Wine for 64bit FreeBSD)
Hi, On Sat, 29 Dec 2012 07:42:02 +0200 David Naylor naylor.b.da...@gmail.com wrote: DN On Mon, 24 Dec 2012 12:27:11 +0200 DN David Naylor naylor.b.da...@gmail.com wrote: DN DN DN Since it is possible to install the existing pkg DN DN packages in a pkgng environment (which I do) this is not a DN DN high priority. DN DN is there a documentation for that? I searched the pkgng docs but DN found nothing regarding installation of old packages or DN converting them to a newer version. DN DN Use the old `pkg_ng` command to install the package. As long as the DN files installed with the old and the new package tools are mutually DN exclusive you shouldn't have a problem. DN DN If you patch your ports tree with the wine-fbsd64 diff then it is DN possible to use `pkg2ng` to convert to the pkgng format. (Although DN I have never tested that, see documentation for pkg2ng and `pkg DN create`). meanwhile I've succeeded in building wine from ports using a 32bit system under /compat/i386 following the instructions in the freebsd wiki. I needed some tweaks which I documented here: https://makandracards.com/jan0sch/13429-installing-wine-under-freebsd-8-amd64 Regards, Jens -- 29. Julmond 2012, 08:38 Homepage : http://www.jan0sch.de Still looking for the glorious results of my misspent youth. Say, do you have a map to the next joint? pgpOfcSfwkSVo.pgp Description: PGP signature
Re: Wine-fbsd64 updated to 1.5.20 (32bit Wine for 64bit FreeBSD)
On Wed, 26 Dec 2012 07:54:58 + Matthew Seaman matt...@freebsd.org wrote: MS On 26/12/2012 07:27, Jens Jahnke wrote: MS On Mon, 24 Dec 2012 12:27:11 +0200 MS David Naylor naylor.b.da...@gmail.com wrote: MS MS DN Since it is possible to install the existing pkg MS DN packages in a pkgng environment (which I do) this is not a MS DN high priority. MS MS is there a documentation for that? I searched the pkgng docs but MS found nothing regarding installation of old packages or MS converting them to a newer version. MS MS There's nothing in pkg_tools to stop it working on a pkgng-enabled MS system. This does not mean that installing pkg_tools packages in MS that situation is in any way supported or encouraged. If you do MS this, you will create a mess on your systems and store up a nasty MS job of sorting it all out for yourself. It really isn't a good MS idea. Thanks for the advise. I guessed in that direction. So I'll be patient and wait for packages because I've never been able to build wine (64bit) myself from source. I just need it for some old games anyway. ;) Regards, Jens -- 26. Julmond 2012, 11:13 Homepage : http://www.jan0sch.de All my friends and I are crazy. That's the only thing that keeps us sane. pgprZUj0u9Os7.pgp Description: PGP signature
Re: Wine-fbsd64 updated to 1.5.20 (32bit Wine for 64bit FreeBSD)
Hi, On Mon, 24 Dec 2012 12:27:11 +0200 David Naylor naylor.b.da...@gmail.com wrote: DN Since it is possible to install the existing pkg DN packages in a pkgng environment (which I do) this is not a high DN priority. is there a documentation for that? I searched the pkgng docs but found nothing regarding installation of old packages or converting them to a newer version. Regards, Jens -- 26. Julmond 2012, 08:27 Homepage : http://www.jan0sch.de What the world *really* needs is a good Automatic Bicycle Sharpener. pgpRsnILSI7Jk.pgp Description: PGP signature
Re: exclude directories from find command
Hi, On Sat, 22 Dec 2012 06:22:44 -0800 (PST) Jack Mc Lauren jack.mclau...@yahoo.com wrote: JML How can I exclude specific directories from my find command ? I JML want to look for all files in the whole system except for those in JML e.g /extra directory. I use this command to find all files, but JML how can I exclude /extra directory ? JML JML find / -type f what about find / -type f | grep -v ^\/extra ? ;) Regards -- 22. Julmond 2012, 15:33 Homepage : http://www.jan0sch.de For flavor, instant sex will never supersede the stuff you have to peel and cook. -- Quentin Crisp pgplgQWuOaL9G.pgp Description: PGP signature
acroread9 makes CPU spin (busy loop?)
hello, world\n I'm wondering if it's just here or if other people also observe that acroread9 makes the CPU spin at 100% (one load point), as if in a busy loop. This happens for me on 9-STABLE and 10-CURRENT alike (amd64), with up-to-date ports tree. It has done this as long as I can remember. Maybe there's something wrong with the way I compile my system and custom kernel, and if so, I'd like to get to the bottom of it. The only diagnostics I get are (process:33229): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. and dmesg says linux: pid 33229 (acroread): syscall inotify_init not implemented Anybody know what's causing acroread to spin? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e
hello, world\n is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, with all ports compiled from scratch. Qbittorrent (2.9.11) freezes after about 10 to 20 seconds, reacts to mouse clicks only after a minute or so; the window isn't redrawn when it was obscured by other windows and /var/log/messages has this to say: Jul 7 11:09:56 hal9000 kernel: WARNING pid 89448 (qbittorrent): ioctl sign-extension ioctl 8004667e Jul 7 11:10:50 hal9000 kernel: WARNING pid 89448 (qbittorrent): ioctl sign-extension ioctl 8004667e Jul 7 11:11:21 hal9000 last message repeated 38 times There's no way out other than sending two SIGINT (CTRL-C) to kill qbittorrent. It looks like this is similar or even the same problem as in http://lists.freebsd.org/pipermail/freebsd-stable/2010-June/057360.html If it was ever fixed, then it looks like it reappeared. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use an external USB3.0 drive with 4k sectors?
On Mon, Jun 04, 2012 at 06:58:07AM +0200, Wojciech Puchar wrote: # # 2. Replace the vendor installed NTFS with a UFS file system. # #$ newfs -U /dev/da1s1 # #(No, I didn't bother to create BSD partitions) # # but why still create msdos partition? I didn't create one, I just left it as is. For some reason fdisk would error out and sysinstall's fdisk would compute bogus capacities: use the number of sectors and multiply them by 512 instead of 4096--that scared me to the point I didn't want to have fdisk write to the disk. Next on my TODO list: learn about gpart. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use an external USB3.0 drive with 4k sectors?
I solved it. No kernel or other driver installations necessary beyond those I already had (xhci). 1. Hook up disk to USB 2 Port. - System detects drive and creates device nodes: ugen3.2: Jmicron Corp. at usbus3 umass1: MSC Bulk-Only Transfer on usbus3 da1 at umass-sim1 bus 1 scbus9 target 0 lun 0 da1: ST1000LM 024 HN-M101MBB Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) 2. Replace the vendor installed NTFS with a UFS file system. $ newfs -U /dev/da1s1 (No, I didn't bother to create BSD partitions) 3. Hook up disk to USB 3 Port. - Now system detects drive and creates device nodes: ugen4.2: Jmicron Corp. at usbus4 umass0: Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1 on usbus4 da1 at umass-sim0 bus 0 scbus8 target 0 lun 0 da1: ST1000LM 024 HN-M101MBB Fixed Direct Access SCSI-2 device da1: 400.000MB/s transfers da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) 4. Mount $ mount /dev/da1s1 /mnt $ df /mnt FilesystemSizeUsed Avail Capacity Mounted on /dev/da0s1968G8.2k891G 0%/mnt Wohooo! Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to crontab screen with script inside and a don't run it if it's already running check?
Hello Dwayne, On Sat, 2 Jun 2012 10:59:09 +0200 Dwayne Henderson its.code.in.h...@gmail.com wrote: DH Nice. But what to do if the machine reboots or whatever. Would you DH crontab your new Irssi alias? I'm not sure. On my remote box I usually start irssi by hand because it only ceases if the machine is rebooted. ;-) The current alias itself would probably cause problems in a crontab. But you could maybe wrap it into a modified if that only calls the alias if the pgrep command returns an empty result. Regards, Jens -- 02. Brachet 2012, 12:54 Homepage : http://www.jan0sch.de Optimist, n.: A bagpiper with a beeper. pgpXqWbVECmo1.pgp Description: PGP signature
Re: How to crontab screen with script inside and a don't run it if it's already running check?
Hi, On Sat, 2 Jun 2012 14:08:49 +0200 Dwayne Henderson its.code.in.h...@gmail.com wrote: DH Any comments on this though? DH DH */10 * * * * lockf -t 0 /home/anonymous/.myscript.lock DH /usr/local/bin/screen -dm /home/anonymous/.rvm/rubies/ DH ruby-1.9.3-p0/bin/ruby /home/anonymous/myscript.rb looks quite okay but as the manpage suggest I would add -k to lockf. Regards, Jens -- 02. Brachet 2012, 14:30 Homepage : http://www.jan0sch.de If Love Were Oil, I'd Be About A Quart Low -- Book title by Lewis Grizzard pgpJRpspxU903.pgp Description: PGP signature
Re: How to use an external USB3.0 drive with 4k sectors?
On Thu, May 31, 2012 at 08:26:21PM +0200, Damien Fleuriot wrote: ... # When I plug it to one of the two USB3.0 ports (using the xhci driver), I # don't get device nodes in /dev created for it, but instead an ever # growing list of # # ugen4.2: Jmicron Corp. at usbus4 # umass2: Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1 on usbus4 # ugen4.2: Jmicron Corp. at usbus4 (disconnected) # umass2: at uhub4, port 4, addr 1 (disconnected) # # The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7 # can use the disk as well on the USB3.0 port, which makes me look for # things I have missed. For example, my kernel config is stripped down # quite a bit, so it might be that my custom kernel does not have all the # necessary drivers built in or kldloaded. Do I need device ada? What is # the magic needed to hook up 4k secotr drives via USB3.0? # # Regards, # # Jens # # Logic dictates that you try with GENERIC, see if that works any better ;) I tried with a GENERIC from -CURRENT, the detection message is somewhat different: ugen4.2: vendor 0x152d at usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:10:0:-1: Attached to scbus10 However still no device nodes, AFAICT. Using camcontrol rescan all followed by camcontrol devlist does not show the drive. Any chance I can get this drive going on USB 3? Could the problem be the quirk = 0x0100? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use an external USB3.0 drive with 4k sectors?
On Thu, May 31, 2012 at 06:14:08PM -0400, Thomas Mueller wrote: ... # I think you also need xhci driver in kernel config. xhci is for USB 3.0. It's there. As I said, using a USB 3 *Stick* works fine. It is recogized as 3.0 and the speed is as expected. It's the *Disk* that is not recognized. They're both umass devices. I don't need to boot from that disk, I just want to use it as external data storage. I have recompiled the kernel with device ada and put ahci_load=YES in /boot/loader.conf. When I plug the disk, the log now says ugen4.2: Jmicron Corp. at usbus4 umass0: Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1 on usbus4 only once (the old kernel would says so every 20 seconds or so). In contrast, when I plug the stick in the same port, I get ugen4.2: JetFlash at usbus4 umass0: JetFlash Mass Storage Device, class 0/0, rev 3.00/a.00, addr 1 on usbus4 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 da0: JetFlash Transcend 16GB 1.00 Removable Direct Access SCSI-5 device da0: 400.000MB/s transfers da0: 15082MB (30887936 512 byte sectors: 255H 63S/T 1922C) and mounting it works. Obviously, for the disk the device nodes aren't created... Is there something different between umass sticks and umass drives? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use an external USB3.0 drive with 4k sectors?
Hi Wojciech et al, On Fri, Jun 01, 2012 at 10:42:53AM +0200, Wojciech Puchar wrote: # # mount -t ntfs -o ro /dev/da5s1 /mnt # mount_ntfs: /dev/da5s1: Invalid argument # ) # your dmesg shows drive is properly detected. Yes, but this was only on a USB2 (two) port, and just an auxiliary information, to show the drive is not dead or otherwise funky. Once I get it running, I'll put an UFS2 on it. My goal is to get it recognized on one of the two USB3 ports I have. All I get there is Jun 1 11:43:45 hal9000 kernel: ugen4.2: Jmicron Corp. at usbus4 Jun 1 11:43:45 hal9000 kernel: umass0: Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1 on usbus4 and after 100 seconds: Jun 1 11:45:26 hal9000 kernel: ugen4.2: Jmicron Corp. at usbus4 (disconnected) Jun 1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 (disconnected) There never is a device node like /dev/daN created, like it does for the USB 3.0 *stick* I have. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to crontab screen with script inside and a don't run it if it's already running check?
Hi, On Fri, 1 Jun 2012 20:55:00 +0200 Dwayne Henderson its.code.in.h...@gmail.com wrote: DH I run this Ruby script 24/7 (records data from this live stream). DH It runs inside a screen though, so it's easy to check in on it DH every once in a while. DH DH But how do I crontab the screen with the script inside it? It has DH to be with a don't run it if it's already running check. DH [...] maybe you should create a shell alias. I do the following for my irssi session: # Start irssi within screen or switch to it if it is already running. alias irssi='if pgrep -u $USER irssi;then screen -U -x irssi;else screen -S irssi irssi;fi' Regards, Jens -- 01. Brachet 2012, 21:37 Homepage : http://www.jan0sch.de It is a sobering thought that when Mozart was my age, he had been dead for 2 years. -- Tom Lehrer pgp4wdF28oJ9D.pgp Description: PGP signature
How to use an external USB3.0 drive with 4k sectors?
hello, world\n so I decided to try two HW technology advancements in one go. I have a brand new shiny 1TB USB3.0 external disk, that when plugged to an USB2(two!) reports da5 at umass-sim2 bus 2 scbus6 target 0 lun 0 da5: ST1000LM 024 HN-M101MBB Fixed Direct Access SCSI-2 device da5: 40.000MB/s transfers da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) and # diskinfo -v da5 da5 4096# sectorsize 1000204886016 # mediasize in bytes (931G) 244190646 # mediasize in sectors 0 # stripesize 0 # stripeoffset 15200 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. 00A123456789# Disk ident. (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file. Strangely, I cannot mount it with # ll /dev/da5* crw-r- 1 root operator0, 236 May 31 15:05 /dev/da5 crw-r- 1 root operator0, 237 May 31 15:05 /dev/da5s1 # mount -t ntfs -o ro /dev/da5s1 /mnt mount_ntfs: /dev/da5s1: Invalid argument ) When I plug it to one of the two USB3.0 ports (using the xhci driver), I don't get device nodes in /dev created for it, but instead an ever growing list of ugen4.2: Jmicron Corp. at usbus4 umass2: Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1 on usbus4 ugen4.2: Jmicron Corp. at usbus4 (disconnected) umass2: at uhub4, port 4, addr 1 (disconnected) The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7 can use the disk as well on the USB3.0 port, which makes me look for things I have missed. For example, my kernel config is stripped down quite a bit, so it might be that my custom kernel does not have all the necessary drivers built in or kldloaded. Do I need device ada? What is the magic needed to hook up 4k secotr drives via USB3.0? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: editors/libreoffice:internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj
Hi, On Fri, 04 May 2012 14:12:17 +0200 Hartmann, O. ohart...@zedat.fu-berlin.de wrote: HO I found myself incapable of rebuilding/updating editors/libreoffice HO on ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms HO with the very same error message as shown below. I ran into the same issue on my 9-STABLE box at home today. If I follow the steps provides in the error message it compiles a bit further and gives the exact same error message some modules later. Anyhow I stepped through them and finally got another error message: ---snip--- [ build CUT ] lotuswordpro_test_lotuswordpro R=/usr/ports/editors/libreoffice/work S=$R/libreoffice-core-3.5.2.2 O=$S/solver/unxfbsd.pro W=$S/workdir/unxfbsd.pro mkdir -p $W/CppunitTest/ (LD_LIBRARY_PATH=$O/lib:$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_lotuswordpro_test_lotuswordpro.so --headless --protector unoexceptionprotector.so unoexceptionprotector -env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry -env:UNO_TYPES= file://$O/bin/udkapi.rdb file://$O/bin/types.rdb -env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/lotuswordpro/util/lwpfilter.component file://$O/xml/configmgr.component file://$O/xml/ucb1.component file://$O/xml/ucpfile1.component -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log 21 || (cat $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log echo; echo Error: a unit test failed, please do one of:; echo; echo export DEBUGCPPUNIT=TRUE# for exception catching; echo export GDBCPPUNITTRACE=\gdb --args\ # for interactive debugging; echo export VALGRIND=memcheck# for memory checking ; echo and retry. false)) Abort trap (core dumped) File tested,Test Result,Execution Time (ms) file:///usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lotuswordpro/qa/cppunit/data/pass/A14.lwp,Signal 11 during cups initialization called, ignoring cups Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE# for exception catching export GDBCPPUNITTRACE=gdb --args # for interactive debugging export VALGRIND=memcheck# for memory checking and retry. gmake: *** [/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/workdir/unxfbsd.pro/CppunitTest/lotuswordpro_test_lotuswordpro.test] Error 1 ---snip--- The mysterious thing is that I have a nearly identical box at the office running 9-STABLE and there libreoffice compiles fine. It only differs in two hardware components: CPU is core2 at home and core5i at the office. RAM is 4gb at home and 8gb at the office. System on both is clean installed and updated 9-STABLE. So maybe this is a memory/cpu issue? Regards, Jens -- 31. Wonnemond 2012, 19:29 Homepage : http://www.jan0sch.de I can resist anything but temptation. pgpMlDoVbuRz9.pgp Description: PGP signature
Re: Kernel Panic any help?
Hi, On 25 May 2012 20:01:44 - John Levine jo...@iecc.com wrote: JL panic: ffs_clusteralloc: map mismatch JL JL Something's fairly badly screwed up on your disk. My advice would JL be to boot from a CD or USB key and run fsck to try to repair it. the disk was pretty much f...ed up. I always got an access denied on every operation I tried on the device node for the root partition. I had to delete and re-create the partition. Well I took the oportunity and upgraded to 9.0. ;-) Thanks for the help, Jens -- 29. Wonnemond 2012, 18:18 Homepage : http://www.jan0sch.de Criticism comes easier than craftsmanship. -- Zeuxis pgpm4QhisRQxp.pgp Description: PGP signature
Kernel Panic any help?
Hi, as a happy freebsd user since about 2 years I have experienced my first kernel panic and have no idea what to do. My main machine crashed an hour ago and since then I can't get it to boot. The panic message: panic: ffs_clusteralloc: map mismatch cpuid = 0 KDB: stack backtrace #0 0x8063dcbe at kdb_backtrace+0x5e #1 0x8060aed7 at panic+0x187 #2 0x8082c1df at ffs_clusteralloc+0x4cf #3 0x80828448 at ffs_hashalloc+0x28 #4 0x80829a31 at ffs_reallocblks+0x421 #5 0x8068accf at cluster_write+0x4df #6 0x8084a1cf at ffs_write+0x58f #7 0x8097e6a2 at VOP_WRITE_APV+0xb2 #8 0x806a9f23 at vn_write+0x373 #9 0x8064dceb at dofilewrite+0x8b #10 0x8064e000 at kern_writev+0x60 #11 0x8064e085 at write+0x55 #12 0x809000c4 at amd64_syscall+0x1f4 #13 0x808e8a6c at Xfast_syscall+0xfc System setup: FreeBSD 8.3, up to date some file system ufs + soft updates root fs ufs without soft updates home encrypted via geli Regards, Jens -- Jens Jahnke Infos, Projekte, Themes und Downloads (http://www.jan0sch.de) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
shutdown -p doesn't power-off USB
hello world\n I'm running 9-STABLE/amd64 and for a few months now, whenever I shut down with shutdown -p now, the USB devices still have power. This is most visible on the USB keyboard, where *all* LEDs are turned on and stay on. The MB is an ASUS P5Q3 Deluxe. The USB related sysctls are: # sysctl -aw|grep -i usb descrUSB1008A Flash Disk/descr device usb hw.pci.usb_early_takeover: 1 hw.usb.no_shutdown_wait: 0 hw.usb.no_boot_wait: 0 hw.usb.debug: 0 hw.usb.usb_lang_mask: 255 hw.usb.usb_lang_id: 9 hw.usb.template: 0 hw.usb.power_timeout: 30 hw.usb.no_pf: 0 hw.usb.no_cs_fail: 0 dev.uhci.0.%desc: Intel 82801JI (ICH10) USB controller USB-D dev.uhci.0.%location: slot=26 function=0 handle=\_SB_.PCI0.USB4 dev.uhci.1.%desc: Intel 82801JI (ICH10) USB controller USB-E dev.uhci.1.%location: slot=26 function=1 handle=\_SB_.PCI0.USB5 dev.uhci.2.%desc: Intel 82801JI (ICH10) USB controller USB-F dev.uhci.2.%location: slot=26 function=2 handle=\_SB_.PCI0.USB6 dev.uhci.3.%desc: Intel 82801JI (ICH10) USB controller USB-A dev.uhci.3.%location: slot=29 function=0 handle=\_SB_.PCI0.USB0 dev.uhci.4.%desc: Intel 82801JI (ICH10) USB controller USB-B dev.uhci.4.%location: slot=29 function=1 handle=\_SB_.PCI0.USB1 dev.uhci.5.%desc: Intel 82801JI (ICH10) USB controller USB-C dev.uhci.5.%location: slot=29 function=2 handle=\_SB_.PCI0.USB2 dev.usbus.0.%desc: Intel 82801JI (ICH10) USB controller USB-D dev.usbus.0.%driver: usbus dev.usbus.0.%parent: uhci0 dev.usbus.1.%desc: Intel 82801JI (ICH10) USB controller USB-E dev.usbus.1.%driver: usbus dev.usbus.1.%parent: uhci1 dev.usbus.2.%desc: Intel 82801JI (ICH10) USB controller USB-F dev.usbus.2.%driver: usbus dev.usbus.2.%parent: uhci2 dev.usbus.3.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B dev.usbus.3.%driver: usbus dev.usbus.3.%parent: ehci0 dev.usbus.4.%driver: usbus dev.usbus.4.%parent: xhci0 dev.usbus.5.%desc: Intel 82801JI (ICH10) USB controller USB-A dev.usbus.5.%driver: usbus dev.usbus.5.%parent: uhci3 dev.usbus.6.%desc: Intel 82801JI (ICH10) USB controller USB-B dev.usbus.6.%driver: usbus dev.usbus.6.%parent: uhci4 dev.usbus.7.%desc: Intel 82801JI (ICH10) USB controller USB-C dev.usbus.7.%driver: usbus dev.usbus.7.%parent: uhci5 dev.usbus.8.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A dev.usbus.8.%driver: usbus dev.usbus.8.%parent: ehci1 dev.ehci.0.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B dev.ehci.0.%location: slot=26 function=7 handle=\_SB_.PCI0.USBE dev.ehci.1.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A dev.ehci.1.%location: slot=29 function=7 handle=\_SB_.PCI0.EUSB dev.xhci.0.%desc: XHCI (generic) USB 3.0 controller dev.uhub.0.%parent: usbus0 dev.uhub.1.%parent: usbus1 dev.uhub.2.%parent: usbus2 dev.uhub.3.%parent: usbus3 dev.uhub.4.%parent: usbus4 dev.uhub.5.%parent: usbus5 dev.uhub.6.%parent: usbus6 dev.uhub.7.%parent: usbus7 dev.uhub.8.%parent: usbus8 dev.ums.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2 dev.uhid.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2 Any help appreciated in telling me how to turn off USB power with shutdown. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gem19 missing
Hi, I just installed lang/ruby19 on my freebsd 8.2 box and I'm missing the gem command (gem19). If I do install devel/ruby-gems I get ruby18 and gem18. :-| Any ideas? Regards, Jens -- 15. Scheiding 2011, 20:58 Homepage : http://www.jan0sch.de Try to relax and enjoy the crisis. -- Ashleigh Brilliant pgpn6GBk5B4Ov.pgp Description: PGP signature
Re: gem19 missing (solved)
On Thu, 15 Sep 2011 21:00:06 +0200 Jens Jahnke jan0...@gmx.net wrote: JJ If I do install devel/ruby-gems I get ruby18 and gem18. :-| After adding RUBY_DEFAULT_VER=1.9 to /etc/make.conf and rebuilding ruby19 and ruby-gems it finally works. :) Regards, Jens -- 15. Scheiding 2011, 21:29 Homepage : http://www.jan0sch.de Who does not trust enough will not be trusted. -- Lao Tsu pgpORve8r2rG3.pgp Description: PGP signature
Re: Lennart Poettering: BSD Isn't Relevant Anymore
Hi, On Sun, 17 Jul 2011 07:10:59 -0400 Jerry je...@seibercom.net wrote: J Lennart Poettering: BSD Isn't Relevant Anymore J J http://bsd.slashdot.org/story/11/07/16/0020243/Lennart-Poettering-BSD-Isnt-Relevant-Anymore J J Interestingly enough, a great deal of it is true. It might be J interesting to know how others feel about it. Obviously, asking that J question on this forum is like playing against a stacked deck; J however, it still might prove interesting. having seen him in action on the last chaos communication congress I consider him to be not relevant anymore at least to me. ;-) Having used Linux since around 1995 I switched to FreeBSD by release 8.0 and I have never looked back. There are some small things I miss but I want my systems to just work. I made the switch after I realised that I had to tinker around with Linux nearly as much as with Windows to suit my needs. Just my two cents... Jens -- 17. Heuert 2011, 13:44 Homepage : http://www.jan0sch.de In any country there must be people who have to die. They are the sacrifices any nation has to make to achieve law and order. -- Idi Amin Dada pgp3XfLWH8FmP.pgp Description: PGP signature
Re: Droid fonts
Hi, On Wed, 13 Jul 2011 08:21:26 -0700 Arthur Barlow arthurbar...@gmail.com wrote: AB It appears that the port droid-fonts-ttf has a few *.ttf files AB with bad checksum numbers. Anyone know about that? I have the same problem once in a while due to download errors. Try rm -f /usr/ports/distfiles/Droid*.ttf and build the port again. This usually fixes it for me. Regards, Jens -- 14. Heuert 2011, 08:23 Homepage : http://www.jan0sch.de No snowflake in an avalanche ever feels responsible. pgpF3zUlSzYpe.pgp Description: PGP signature
Problems with Realtek ALC885 PCM using snd_hda
Hi, because of some issues with the windows side of my dual boot system I deciced to unplug my old sb live und use the internal soundchip (realtek alc885). Which works great under windows but now I have some issues under bsd. The first one was that snd_hda detected more than one sound device. I was able to solve this using some lines in /etc/rc.local which set the default sound unit. But to my unsolved problems: 1.) The sound playback works fine for some minutes and then I get micro interrupts (skipping half a second or so) every few seconds. I tried to increase the buffersize of the pcm device but that did not help. 2.) I can't get more than one connector running. Right now there are 6 connectors at the rear and two at the front. I've read the manpage of snd_hda regarding device hints but to be honest I didn't understand a single word of it. :-p I tried some hints randomly but failed of course. Currently one connector at the rear (line-out) works but all others are dead. Furthermore the manpage states that rear output should be muted if a headphone is jacked in which also does not work. I'd like to have two connectors running at the rear for my 4.1 speaker system and the headphone on the front panel. Found connectors by snd_hda: hdac0: Patched pins configuration: hdac0: nid 20 0x01014410 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 4 hdac0: nid 21 0x01011412 as 1 seq 2 Line-out Jack jack 1 loc 1 color Black misc 4 hdac0: nid 22 0x01016411 as 1 seq 1 Line-out Jack jack 1 loc 1 color Orange misc 4 hdac0: nid 23 0x01012414 as 1 seq 4 Line-out Jack jack 1 loc 1 color Grey misc 4 hdac0: nid 24 0x01a19c40 as 4 seq 0 Mic Jack jack 1 loc 1 color Pink misc 12 hdac0: nid 25 0x02a19c50 as 5 seq 0 Mic Jack jack 1 loc 2 color Pink misc 12 hdac0: nid 26 0x0181344f as 4 seq 15 Line-in Jack jack 1 loc 1 color Blue misc 4 hdac0: nid 27 0x02214c20 as 2 seq 0Headphones Jack jack 1 loc 2 color Green misc 12 hdac0: nid 28 0x593301f0 as 15 seq 0CD None jack 3 loc 25 color Unknown misc 1 [DISABLED] hdac0: nid 30 0x014b6130 as 3 seq 0 SPDIF-out Jack jack 11 loc 1 color Orange misc 1 hdac0: nid 31 0x01cb7160 as 6 seq 0 SPDIF-in Jack jack 11 loc 1 color Yellow misc 1 BTW: I tried audio/oss which solved the first but not the second problem. Regards, Jens -- 29. Wonnemond 2011, 13:43 Homepage : http://www.jan0sch.de Thirty days hath Septober, April, June, and no wonder. all the rest have peanut butter except my father who wears red suspenders. pgppzR680NhOK.pgp Description: PGP signature
Running gpg-agent and caching the passphrase
Hi, I'm trying to get gpg-agent running under 8.2 using the same setup I've had on my linux box. The agent is started via .xinitrc: export GPG_TTY=$(tty) if [ -z `pgrep gpg-agent` ]; then eval $(gpg-agent --daemon --write-env-file ${HOME}/.gpg-agent-info \ --log-file ${HOME}/.gnupg/gpg-agent.log) fi The agent is up and running (checked via ps) and the option use-agent is set in gpg.conf. As pinentry I installed pinentry-gtk2. If I try to sign or decrypt something the pinentry window comes up and asks for my passphrase. So far so good but I want it to cache my passphrase for some time. My ~/.gnupg/gpg-agent.conf: default-cache-ttl = 3600 But no matter what option I set the passphrase is not cached and there is no error message in the logs. I don't know if this is the right place to ask but the same setup was running on my linux box without problems so I guess this might be bsd related. Regards, Jens P.S.: I use ssh-agent also and it works without problems. While using gpg-agent with the ssh option ask for the passphrase every time the key is used. -- 21. Wonnemond 2011, 08:24 Homepage : http://www.jan0sch.de A crow perched himself on a telephone wire. He was going to make a long-distance caw. pgpTzxhv4Z7cG.pgp Description: PGP signature
Re: Running gpg-agent and caching the passphrase
On Sat, 21 May 2011 09:02:27 +0100 Frank Shute fr...@shute.org.uk wrote: FS Try: FS FS default-cache-ttl 3600 FS FS (no equals sign) Woah, stupid me. Thanks for the tip. It works now. =) Regards, Jens -- 21. Wonnemond 2011, 12:07 Homepage : http://www.jan0sch.de To be sure of hitting the target, shoot first and, whatever you hit, call it the target. pgpqz8RiWHxOA.pgp Description: PGP signature
Re: Unable to update dirmngr
Hi, On Mon, 28 Mar 2011 14:41:26 -0400 Jerry freebsd.u...@seibercom.net wrote: J checking for canonicalize_file_name... no J configure: J *** J *** You need a LDAP library to build this program. J *** Check out J ***http://www.openldap.org J *** for a suitable implementation. J *** J configure: error: J *** J *** Required libraries not found. Please consult the above messages J *** and install them before running configure again. J *** J === Script configure failed unexpectedly. J Please report the problem to u...@ueo.co.jp [maintainer] and attach J the /usr/ports/security/dirmngr/work/dirmngr-1.1.0/config.log J including the output of the failure of your make command. Also, it J might be a good idea to provide an overview of all packages J installed on your system (e.g. an `ls /var/db/pkg`). J *** Error code 1 J J Stop in /usr/ports/security/dirmngr. J J Script done on Mon Mar 28 14:35:53 2011 J J I have deinstalled and reinstalled LDAP, both server and client and J they are working. I can confirm this. I have the problem on 3 freebsd boxes all running 8.2. Regards, Jens -- 28. Lenzing 2011, 22:24 Homepage : http://www.jan0sch.de It may be bad manners to talk with your mouth full, but it isn't too good either if you speak when your head is empty. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Experience with o2 surf stick
Hi, On Thu, 3 Feb 2011 07:50:59 +0100 Matthias Apitz g...@unixarea.de wrote: MA Hello Jens, MA MA surf stick is marketing speech and you never know what the ship MA today below this label and tomorrow, I think. You should convince MA them and plug it in and see what appears in /var/log/messages, i.e. MA what vendor and product ID it is. thanks for the tip. I'll try that. :) Regards, Jens -- 03. Hornung 2011, 19:07 Homepage : http://www.jan0sch.de If you don't do the things that are not worth doing, who will? pgpz4wiKH87sY.pgp Description: PGP signature
Experience with o2 surf stick
Hi, I consider buying a so called surf stick for mobile internet access when travelling with my laptop. Has anyone experience with the o2 surf stick (germany) hsdpa hsupa using freebsd 8? Regards, Jens -- 03. Hornung 2011, 07:15 Homepage : http://www.jan0sch.de In Mexico we have a word for sushi: bait. -- Josi Simon pgpjzaTnSdcNP.pgp Description: PGP signature
Re: future of the desktop
On Thu, 27 Jan 2011 13:24:23 +0100 Polytropon free...@edvax.de wrote: P Keep in mind that all the magic the U* are doing on Linux P have been done by FreeBSD's devd for many years now. Maybe P this is the chance to revert to a WORKING and STABLE infra- P structure on FreeBSD. Just remember: FreeBSD had hotplug P capabilities and automounter for many years, even BEFORE P HAL and DBUS came to desktop land. Amen. :-) -- 27. Hartung 2011, 15:24 Homepage : http://www.jan0sch.de The gentlemen looked one another over with microscopic carelessness. pgpnjf4BxWGZH.pgp Description: PGP signature
Re: Burning a DVD
Hi, On Sat, 22 Jan 2011 20:33:29 +0100 Polytropon free...@edvax.de wrote: P And HERE is the mistake: You need to specify the /dev/cd0 P device which gets accessed by the ATAPICAM facility. The P /dev/acd0 device does not understand SCSI commands. do'h. :-) Thanks for pointing out. It works now. Regards, Jens -- 23. Hartung 2011, 11:14 Homepage : http://www.jan0sch.de The following statement is not true. The previous statement is true. pgpyD9dPjmE3n.pgp Description: PGP signature
Re: ATI Radeon 4350 Problem
Hi, I had similar problems wiht my ATI 3450 card and in addition to that random freezes of X. After building the driver directly from the source (stable branch) the problems where gone. http://www.x.org/wiki/radeonBuildHowTo Regards, Jens -- 23. Hartung 2011, 17:51 Homepage : http://www.jan0sch.de Two can Live as Cheaply as One for Half as Long. -- Howard Kandel pgphAT4eHyeP1.pgp Description: PGP signature
Re: portmaster upgrade of p5-IO-Socket-SSL fails
Hi, On Sun, 23 Jan 2011 09:42:58 -0800 David Newman dnew...@networktest.com wrote: DN FreeBSD 8.0-RELEASE-p4 amd64 DN DN The command 'portmaster security/p5-IO-Socket-SSL' fails because the DN module is not found in any archive. I've pasted the error output DN below. I had this issue on 8.1-RELEASE amd64 but after round about a day the module showed up in the archives queried. Regards, Jens -- 23. Hartung 2011, 19:11 Homepage : http://www.jan0sch.de That's one small step for a man; one giant leap for mankind. -- Neil Armstrong pgp0hmcfJesEw.pgp Description: PGP signature
Burning a DVD
Hi, I tried to burn a dvd after doing setup according to the handbook. /boot/loader.conf: atapicam_load=YES hw.ata.atapi_dma=1 /etc/devfs.conf: linkacd0cdrom linkacd0dvd permacd00660 permpass0 0660 permxpt00660 ls -la /dev/acd0 crw-rw 1 root operator0, 98 22 Jan 19:26 /dev/acd0 But when I try growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video I get: :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device No matter if I try as regular user or as root the error message stays the same. Any ideas? Regards, Jens -- 22. Hartung 2011, 19:41 Homepage : http://www.jan0sch.de Cheit's Lament: If you help a friend in need, he is sure to remember you-- the next time he's in need. pgpPpt1qLlvch.pgp Description: PGP signature
Re: getpwent bug?
2010/7/21 Dan Nelson dnel...@allantgroup.com: In the last episode (Jul 21), Jens Rehsack said: On 07/16/10 18:13, Dan Nelson wrote: Hi Dan, In the last episode (Jul 16), Jens Rehsack said: On 07/16/10 15:07, Dan Nelson wrote: In the last episode (Jul 16), Jens Rehsack said: Could you please take a look to my other mail (getgrent related) - there seems another bug ... Do you have another one-liner that will reproduce it? Â A simple /usr/bin/getent group doesn't return dupes for me. Â Oddly enough, the *grent code doesn't use an internal counter, so the bug you found in endpwent doesn't exist in endgrent (afaik; the nsswitch code isn't that easy to read). Not really a one-liner: perl -MData::Dumper -e 'setgrent; my %dupchk; while( my ( $name, $grpass, $gid, $members ) = getgrent() ) { print $name is returned more than once (No $dupchk{$name} comes here)\n if( $dupchk{$name}++ ); print Dumper( [ $name, $grpass, $gid, $members ] ) };' setgrent() doesn't work here. I ran that and got dupes for group entries that exist both in /etc/groups and my LDAP source, but that's expected. You can see here http://www.cpantesters.org/cpan/report/f5100ac6-9418-11df-9ebc-c4a68065c34d the typical error picture. FreeBSD is the only system, where this error occurs. I don't know how to read perl's test output; what part of that report failed, and how do you know it was due to getgrent returning duplicate values? Because I know the error picture - I've seen it on my FreeBSD box first. I probably should add some diag() output for failing tests ... BTW - I ran your one-liner above on a SLES 10.2 Linux box and a Solaris 10u7 box, and got duplicate entries where groups existed in both /etc/groups and LDAP, just like on FreeBSD. Â I think you may be relying on behaviour that getgrent doesn't guarantee on any OS. But the duplicated entries I get are not duplicated in the source. I sent you my /var/yp/groups file and the output of my one-liner. I have no LDAP setup to try out, but in this case my workaround could be a good idea. Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
On 07/16/10 18:13, Dan Nelson wrote: Hi Dan, In the last episode (Jul 16), Jens Rehsack said: On 07/16/10 15:07, Dan Nelson wrote: In the last episode (Jul 16), Jens Rehsack said: Could you please take a look to my other mail (getgrent related) - there seems another bug ... Do you have another one-liner that will reproduce it? A simple /usr/bin/getent group doesn't return dupes for me. Oddly enough, the *grent code doesn't use an internal counter, so the bug you found in endpwent doesn't exist in endgrent (afaik; the nsswitch code isn't that easy to read). Not really a one-liner: perl -MData::Dumper -e 'setgrent; my %dupchk; while( my ( $name, $grpass, $gid, $members ) = getgrent() ) { print $name is returned more than once (No $dupchk{$name} comes here)\n if( $dupchk{$name}++ ); print Dumper( [ $name, $grpass, $gid, $members ] ) };' setgrent() doesn't work here. I ran that and got dupes for group entries that exist both in /etc/groups and my LDAP source, but that's expected. You can see here http://www.cpantesters.org/cpan/report/f5100ac6-9418-11df-9ebc-c4a68065c34d the typical error picture. FreeBSD is the only system, where this error occurs. I rate it as a bug - but I will write merge code for the duplicated entries. Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
2010/7/16 Dan Nelson dnel...@allantgroup.com: In the last episode (Jul 16), Ashish SHUKLA said: Dan Nelson writes: In the last episode (Jul 15), Jens Rehsack said: Hi all, I detected an issue with getpwent on my FreeBSD test box: perl -MData::Dumper -e 'my @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent();' $VAR1 = [ 'root', '', 0, 0, 0, '', 'Charlie ', '/root', '/bin/csh', 0 ]; $VAR1 = [ 'toor', '*', 0, 0, 0, '', 'Bourne-again Superuser', '/root', '', 0 ]; $VAR1 = [ 'daemon', '*', 1, 1, 0, '', 'Owner of many system processes', '/root', '/usr/sbin/nologin', 0 ]; I'm using FreeBSD waldorf.muppets.liwing.de 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Fri Mar 12 11:31:18 UTC 2010 r...@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF  amd64 The above output looks perfect, and should match the top three lines in /your etc/passwd files. Well, OP is also invoking 'endpwent()' after every 'getpwent()' invocation which according to GNU/Linux's glibc and NetBSD's libc (as OP mentioned) should rewind the position in passwd database to the beginning. Ah. I missed the endpwent calls. Was difficult for me to format the single liner ;) To me it definitely looks like a bug in FreeBSD's getpw*() family of functions. As tested using sysutils/lsof, in the following program in FreeBSD, the descriptor corresponding to '/etc/pwd.db' is closed on endpwent(3) but position in database is never rewinded as shown in the output. It looks like the *pwent functions keep an internal counter that endpwent doesn't reset. Could you please take a look to my other mail (getgrent related) - there seems another bug ... Try the following patch: Can I do this without a full world rebuild? (I do not develop in FBSD actively). Otherwise I recommend (the test case was in OP) that someone with a separate test box tries it out and commit it etc. I had to develop a workaround for all other boxes anyway. Thank you very much, Jens Index: gen/getpwent.c === --- gen/getpwent.c    (revision 210157) +++ gen/getpwent.c    (working copy) @@ -794,6 +794,7 @@ files_setpwent(void *retval, void *mdata, va_list             (void)st-db-close(st-db);             st-db = NULL;         } +        st-keynum = 0;         break;     default:         break; --     Dan Nelson     dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
On 07/16/10 08:36, Ashish SHUKLA wrote: Jens Rehsack writes: 2010/7/16 Dan Nelsondnel...@allantgroup.com: [...] Try the following patch: Thanks, I'll try it when I'm on my FreeBSD box. Great \o/ [...] I had to develop a workaround for all other boxes anyway. As a workaround you can use setpwent(3). I cached the entires - I rate setpwent as to dangerous. You can take a look at http://cpansearch.perl.org/src/REHSACK/DBD-Sys-0.01_01/lib/DBD/Sys/Plugin/Unix/Users.pm Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
On 07/16/10 09:12, Ashish SHUKLA wrote: Jens Rehsack writes: [...] I cached the entires - I rate setpwent as to dangerous. dangerous ? why ? Because it modifies something - and I might not know the source. getpwent(3) delivers entries from yp, too (or LDAP) etc. - and when I call setpwent(3) for such an entry, what happens then? Long explanation for: I do not know the consequences - and that's why I rate it dangerous as workaround. Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
On 07/16/10 09:59, Ashish SHUKLA wrote: Jens Rehsack writes: On 07/16/10 09:12, Ashish SHUKLA wrote: Jens Rehsack writes: [...] I cached the entires - I rate setpwent as to dangerous. dangerous ? why ? Because it modifies something - and I might not know the source. getpwent(3) delivers entries from yp, too (or LDAP) etc. - and when I call setpwent(3) for such an entry, what happens then? Long explanation for: I do not know the consequences - and that's why I rate it dangerous as workaround. , an excerpt from getpwent(3) [...] ` I can't see anything which says about modifying NSS database. AFAIK none of the NSS routines allow you to write on database, you've to use the database specific method to modify the database. You're absolutely right - I never took a deeper look, because I always was only interested to read the (user|group) data and expected setpwent to modify such an entry. A quick look into Stevens Advanced Programming in the UNIX environment could had enlighten myself. Sorry that I didn't RTFM carefully. Best regards and many, many thanks, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
On 07/16/10 15:07, Dan Nelson wrote: In the last episode (Jul 16), Jens Rehsack said: 2010/7/16 Dan Nelsondnel...@allantgroup.com: In the last episode (Jul 16), Ashish SHUKLA said: Well, OP is also invoking 'endpwent()' after every 'getpwent()' invocation which according to GNU/Linux's glibc and NetBSD's libc (as OP mentioned) should rewind the position in passwd database to the beginning. Ah. I missed the endpwent calls. Was difficult for me to format the single liner ;) To me it definitely looks like a bug in FreeBSD's getpw*() family of functions. As tested using sysutils/lsof, in the following program in FreeBSD, the descriptor corresponding to '/etc/pwd.db' is closed on endpwent(3) but position in database is never rewinded as shown in the output. It looks like the *pwent functions keep an internal counter that endpwent doesn't reset. Could you please take a look to my other mail (getgrent related) - there seems another bug ... Do you have another one-liner that will reproduce it? A simple /usr/bin/getent group doesn't return dupes for me. Oddly enough, the *grent code doesn't use an internal counter, so the bug you found in endpwent doesn't exist in endgrent (afaik; the nsswitch code isn't that easy to read). Not really a one-liner: perl -MData::Dumper -e 'setgrent; my %dupchk; while( my ( $name, $grpass, $gid, $members ) = getgrent() ) { print $name is returned more than once (No $dupchk{$name} comes here)\n if( $dupchk{$name}++ ); print Dumper( [ $name, $grpass, $gid, $members ] ) };' setgrent() doesn't work here. Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: getpwent bug?
On 07/16/10 18:13, Dan Nelson wrote: In the last episode (Jul 16), Jens Rehsack said: On 07/16/10 15:07, Dan Nelson wrote: In the last episode (Jul 16), Jens Rehsack said: Could you please take a look to my other mail (getgrent related) - there seems another bug ... Do you have another one-liner that will reproduce it? A simple /usr/bin/getent group doesn't return dupes for me. Oddly enough, the *grent code doesn't use an internal counter, so the bug you found in endpwent doesn't exist in endgrent (afaik; the nsswitch code isn't that easy to read). Not really a one-liner: perl -MData::Dumper -e 'setgrent; my %dupchk; while( my ( $name, $grpass, $gid, $members ) = getgrent() ) { print $name is returned more than once (No $dupchk{$name} comes here)\n if( $dupchk{$name}++ ); print Dumper( [ $name, $grpass, $gid, $members ] ) };' setgrent() doesn't work here. I ran that and got dupes for group entries that exist both in /etc/groups and my LDAP source, but that's expected. The dups I got are not duplicate: $ less /var/yp/group # $FreeBSD: src/etc/group,v 1.19.2.3 2002/06/30 17:57:17 des Exp $ # wheel:*:0:root,trevor staff:*:20:root win32::1001:melanie,sarah os2::1002: dos::1003: unix::1004: music::1005:melanie,sarah gamers::1006: devel::1007:trevor wwwdevel::15000:wwwglobal,trevor All the rest (see attachment) are from /etc/group. Jens $VAR1 = [ 'wheel', '*', 0, 'root trevor mel' ]; $VAR1 = [ 'daemon', '*', 1, '' ]; $VAR1 = [ 'kmem', '*', 2, '' ]; $VAR1 = [ 'sys', '*', 3, '' ]; $VAR1 = [ 'tty', '*', 4, '' ]; $VAR1 = [ 'operator', '*', 5, 'root' ]; $VAR1 = [ 'mail', '*', 6, '' ]; $VAR1 = [ 'bin', '*', 7, '' ]; $VAR1 = [ 'news', '*', 8, '' ]; $VAR1 = [ 'man', '*', 9, '' ]; $VAR1 = [ 'games', '*', 13, '' ]; $VAR1 = [ 'ftp', '*', 14, '' ]; $VAR1 = [ 'staff', '*', 20, '' ]; $VAR1 = [ 'sshd', '*', 22, '' ]; $VAR1 = [ 'smmsp', '*', 25, '' ]; $VAR1 = [ 'mailnull', '*', 26, '' ]; $VAR1 = [ 'guest', '*', 31, '' ]; $VAR1 = [ 'bind', '*', 53, '' ]; $VAR1 = [ 'proxy', '*', 62, '' ]; $VAR1 = [ 'authpf', '*', 63, '' ]; $VAR1 = [ '_pflogd', '*', 64, '' ]; $VAR1 = [ '_dhcp', '*', 65, '' ]; $VAR1 = [ 'uucp', '*', 66, '' ]; $VAR1 = [ 'dialer', '*', 68, '' ]; $VAR1 = [ 'network', '*', 69, '' ]; $VAR1 = [ 'audit', '*', 77, '' ]; $VAR1 = [ 'www', '*', 80, '' ]; $VAR1 = [ 'oper', '*', 200, 'root trevor pgsql' ]; $VAR1 = [ 'nogroup', '*', 65533, '' ]; $VAR1 = [ 'nobody', '*', 65534, '' ]; $VAR1 = [ 'messagebus', '*', 556, '' ]; $VAR1 = [ 'polkit', '*', 559, '' ]; $VAR1 = [ 'haldaemon', '*', 560, '' ]; $VAR1 = [ 'avahi', '*', 558, '' ]; $VAR1 = [ 'gdm', '*', 92, '' ]; $VAR1 = [ 'pgsql', '*', 70, '' ]; smmsp is returned more than once (No 2 comes here) $VAR1 = [ 'smmsp', '*', 25, '' ]; guest is returned more than once (No 2 comes here) $VAR1 = [ 'guest', '*', 31, '' ]; authpf is returned more than once (No 2 comes here) $VAR1 = [ 'authpf', '*', 63, '' ]; $VAR1 = [ 'devel', '', 1007, 'trevor' ]; tty is returned more than once (No 2 comes here) $VAR1 = [ 'tty', '*', 4, '' ]; bin is returned
Duplicate entries when iterating using getgrent()
Hi all, I'm currently working on a Perl5 module named DBD::Sys and detected an issue on my FreeBSD test box. When iterating over the users/groups using getpwent/getgrent, I get duplicated entries for some groups. But this are not (only) duplicated entries which occur in both (/etc/group, yp) data sources (like wheel), that are groups like sshd, proxy etc., too. The groups which are affected are all groups with gid 100 and nobody (65534) and nogroup(65533). Any suggestions? Thanks, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
getpwent bug?
Hi all, I detected an issue with getpwent on my FreeBSD test box: perl -MData::Dumper -e 'my @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent();' $VAR1 = [ 'root', '', 0, 0, 0, '', 'Charlie ', '/root', '/bin/csh', 0 ]; $VAR1 = [ 'toor', '*', 0, 0, 0, '', 'Bourne-again Superuser', '/root', '', 0 ]; $VAR1 = [ 'daemon', '*', 1, 1, 0, '', 'Owner of many system processes', '/root', '/usr/sbin/nologin', 0 ]; I'm using FreeBSD waldorf.muppets.liwing.de 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Fri Mar 12 11:31:18 UTC 2010 r...@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64 The correct output should be (taken from a NetBSD system): perl -MData::Dumper -e 'my @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent(); @e = getpwent(); print Dumper(\...@e); endpwent();' $VAR1 = [ 'root', '*', 0, 0, 0, '', 'Charlie ', '/root', '/bin/ksh', 0 ]; $VAR1 = [ 'root', '*', 0, 0, 0, '', 'Charlie ', '/root', '/bin/ksh', 0 ]; $VAR1 = [ 'root', '*', 0, 0, 0, '', 'Charlie ', '/root', '/bin/ksh', 0 ]; Taking a look to http://www.cpantesters.org/distro/D/DBD-Sys.html#DBD-Sys-0.01, this issue is not limited to FreeBSD 7.3 - it occures on FreeBSD 7.2 and 8.0, too. I tried several perl versions on my box (perl5.8 from ports, perl5.10.1 from pkgsrc and the release candidate of perl5.12.0) - with the same result. Maybe someone could take a look? If I can provide additional information, please let me know. Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Printing via ulpt0 extremely slow
hello, world\n I have a system with a handful of kernels I chose from with grub. Recently compiled 8-STABLE systems show strange printing behaviour. While a one year old 8.0-CURRENT #0 r185532 has no problem printing to my HP Laserjet 2300d (via cups and USB/ulpt0), newer systems and even 9-CURRENT print extremely slow, on the order of 1 page every 6 minutes. The printer's Data LED blinks sometimes erratically, sometimes is on for a few seconds, with intermittent periods of 1Hz blinking (which is the expected normal behavior). So I'm wondering what causes this oddity. I've ruled out an issue with hald/dbus which recent systems use for xorg 7.4, by turning them off, rebooting and printing from the console--same slow printing. The cups log says it sent the file succesfully (/var/log/cups/access_log): localhost - - [29/Jan/2010:20:17:11 +0100] POST /printers/LaserJet_2300d HTTP/1.1 200 18530 Send-Document successful-ok I can't find anything obvious in my kernel config that might account for this behavior. It does not matter if the printer is on or off when the system starts. I've read about interrupt storms (when printing via lpt0), but vmstat -i looks sane AFAICT: $ vmstat -i interrupt total rate irq16: vgapci0 ahc* 192947 62 irq18: skc0 uhci2++ 3765 1 irq19: fwohci0++ 383725124 irq23: uhci3 ehci1 3700 1 cpu0: timer 6227448 2018 irq256: hdac0 92 0 cpu1: timer 6219346 2015 Total 13031023 4223 Anyone seen something similar? What else can I try to debug this problem? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem viewing DVDs
hello, world\n I'm trying to view a Friends DVD (original) on my 8-Current system but none of the dvd viewer apps (eg. ogle and mplayer) work. Investigating I found that I can mount the DVD as a cd9660 file system, but all the *.vob files result in an I/O error when read, while all the non-vobs can be read just fine: /cdrom/video_ts # ls -l total 3841434 -r-xr-xr-x 1 root wheel 12288 Dec 21 2004 video_ts.bup -r-xr-xr-x 1 root wheel 12288 Dec 21 2004 video_ts.ifo -r-xr-xr-x 1 root wheel 3016704 Dec 21 2004 video_ts.vob -r-xr-xr-x 1 root wheel 90112 Dec 21 2004 vts_01_0.bup -r-xr-xr-x 1 root wheel 90112 Dec 21 2004 vts_01_0.ifo -r-xr-xr-x 1 root wheel 7192576 Dec 21 2004 vts_01_0.vob -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_1.vob -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_2.vob -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_3.vob -r-xr-xr-x 1 root wheel 701995008 Dec 21 2004 vts_01_4.vob /cdrom/video_ts # md5 * MD5 (video_ts.bup) = 7c22ee5d3160bc66158b13033ab3f87b MD5 (video_ts.ifo) = 7c22ee5d3160bc66158b13033ab3f87b md5: video_ts.vob: Input/output error MD5 (vts_01_0.bup) = 21acaafc3988d8a296881c878865a7d1 MD5 (vts_01_0.ifo) = 21acaafc3988d8a296881c878865a7d1 md5: vts_01_0.vob: Input/output error md5: vts_01_1.vob: Input/output error md5: vts_01_2.vob: Input/output error md5: vts_01_3.vob: Input/output error md5: vts_01_4.vob: Input/output error and for each file dmesg says acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x6f ascq=0x03 g_vfs_done():acd0[READ(offset=5834752, length=65536)]error = 5 Is this a case of some kind of DRM protection I'm seeing here? Am I missing something else? The drive is a acd0: DVDR HL-DT-ST DVDRAM GH22LS50/TL00 at ata8-master SATA150 (LG GH22) on a Asus P5Q3 Deluxe with Intel P45/ICH10R chipset. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lo0 not in ioctl( SIOCGIFCONF )
Hi, I was searching why ports/net/p5-Net-Interface was not working as expected and found some reasons. Most of them I can answer by implementing some test code as attached, but now I'm wondering why em0 is shown twice and lo0 is not included. The same situation on another machine .. --- BEGIN ifconfig -a (waldorf) em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6c inet 10.62.10.3 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active em1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6d media: Ethernet autoselect status: no carrier lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 --- END ifconfig -a (waldorf) ./netif em0 em0 em1 --- BEGIN ifconfig -a (STINGRAY) ifconfig -a fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:c8:64 inet 10.62.10.12 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33204 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 vlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 7 parent interface: fxp1 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 inet 87.149.231.190 -- 217.0.119.167 netmask 0x Opened by PID 27503 --- END ifconfig -a (STINGRAY) ./netif32 fxp0 fxp0 fxp1 Why aren't lo0, vlan0 and tun0 not included? What can I do to get these entries (portable way, please). Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lo0 not in ioctl( SIOCGIFCONF )
Hi (resend because attachment forgotten ...), I was searching why ports/net/p5-Net-Interface was not working as expected and found some reasons. Most of them I can answer by implementing some test code as attached, but now I'm wondering why em0 is shown twice and lo0 is not included. The same situation on another machine .. --- BEGIN ifconfig -a (waldorf) em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6c inet 10.62.10.3 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active em1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6d media: Ethernet autoselect status: no carrier lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 --- END ifconfig -a (waldorf) ./netif em0 em0 em1 --- BEGIN ifconfig -a (STINGRAY) ifconfig -a fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:c8:64 inet 10.62.10.12 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33204 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 vlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 7 parent interface: fxp1 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 inet 87.149.231.190 -- 217.0.119.167 netmask 0x Opened by PID 27503 --- END ifconfig -a (STINGRAY) ./netif32 fxp0 fxp0 fxp1 Why aren't lo0, vlan0 and tun0 not included? What can I do to get these entries (portable way, please). Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cross Platform Port Builds
Hi all, I'm going to update my machines and run into a serious problem (for me ^^): Some ports fail to cross build and I fail to setup a sane environment. At first, I created a chroot: /usr/room/$target. Into this chroot, I installed a host world using make installworld DESTDIR=/usr/room/$target/. After that, I created /usr/room/$target/usr/src and /usr/room/$target/usr/ports and mounted /usr/src and /usr/ports to there, respectively. Sure I'd mounted a devfs to /usr/room/$target/dev/. Then I's chrooted to /usr/room/$target/ and change the make.conf as needed for target machine and did make buildworld/buildkernel in /usr/src in the chroot. That worked really fine. But on the target machine not only a FreeBSD base distribution runs, there is a samba, xinetd, ftpproxy and squid also doing some work. So I needed to cross-build those ports, too. I couldn't find a standardized way to do this, so I first created 2 start scripts: waldorf# cat ~/bin/portcross #!/bin/sh env ARCH=i386 TARGET_CPUTPE= CPUTYPE=pentiumpro PATH=/usr/obj/i386/usr/src/tmp/usr/bin/:$PATH $@ waldorf# cat ~/bin/porthost #!/bin/sh env CPUTYPE=nocona $@ portcross I use to make/portupgrade a crossbuild (e.g. squid), porthost to build tools like autoconf. Now I run into problems (as the more expertized may imagine): autoconf needs gettext, samba needs gettext. But the amd64-native auto-tools binaries can't load the ia32 gettext library - and I don't know how to hold them both without running into conflicts. Furthermore perl seems to be resistant against crossbuild by specifying ARCH=i386 make build and above listed portcross. Any idea how to crossbuild perl? Thanks in advance, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Woes of xorg 7.2 upgrade ...
* Kiffin Gish [EMAIL PROTECTED] [2007-06-09 09:45]: I've been struggling now for 2 weeks trying to do the xorg upgrade, following the upgrading instructions to a tee, but it has turned into a complete mess. If worse comes to worse, what it the best way to proceed? Is there an easy way just to reinstall xorg from scratch? Thanks a lot in advance. -- Kiffin Rex Gish Gouda, The Netherlands In such cases the best would be to deinstall xorg with all dependencies and install xorg from scratch. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd for mail servers.
On 11/13/05, Carstea Catalin [EMAIL PROTECTED] wrote: I want to start a fresh instalation of freebsd 6.0 for my mail server. 1. I want to use many hard-disks on this server with one directory over this disks .I want to use also RAID - software. This directory will contains mailboxes of users. EX.: Postfix - mail server. 2. If it is possible, how i do this? -- Any help would be greatly appreciated. regards, Carstea Catalin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] and for a good posstfix howto take a look at high5.net/howtohttp://high5.net/howtoi am personaly using this solution on my server ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql server not able to stay running on anything but Linux?
On 11/9/05, Justin Bastedo [EMAIL PROTECTED] wrote: Hey everyone, Not trying to beat a dead horse or anything but was wondering if any resolution was found for this on either end. We are about to launch another site and can easily forsee my load getting close to this size within 6 months. Just need to find out any concerns with growth we might have and come up with options. Just trying to plan ahead and keep problems from happening, since I hadn't seen any formal resolution on this thread figured I'd inquire. Thanks everyone Justin Bastedo On 10/12/05, NMH [EMAIL PROTECTED] wrote: --- Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: Note the From: address. On Wednesday, 12 October 2005 at 13:16:22 -0700, NMH wrote: I am stuck with a delema and I feel like a damn troll. But.. I have a Mysql Database that I posted about earlier. It seems that it is only able to not die by running on BSD 4.11 with Linux Threads. My boss is convinced this means that Linux is better for MySQL and wants that installed now. We even got a support contact from Mysql that so far has gotten us nothing for almost a month while our production database server died up to 3 times a day. (and lots of we're looking into it's) One of the reasons why you haven't got much more than we're looking into its is because we haven't been able to reproduce the problem; you acknowledge this in follow-up mail quoted below. As you know from various threads on the FreeBSD lists, including this one, the typical answer is works fine for me. That doesn't mean that we're not taking your problems seriously, but we do have a significant issue just reproducing the problem. We have a number of choices: 1. Try different hardware or a different version of FreeBSD. It's conceivable that there's something about your specific hardware, or about the combination of i386 kernel on amd64 in general, that triggers the problem. Yes possible. However the same hardware was used for the earlier version machine that worked fine. IE Freebsd 5.1-RELEASE-P11 and Mysql 4.0.18 worked on the same hardware. 2. Do debugging on your production servers. This isn't really a choice at all: it would involve even more down time. Yea not really an option. 3. Get you to run a more stable version of FreeBSD while we investigate the problem. This is the method we chose. I haven't heard from you since the weekend, so I hope I'm correct in understanding that you currently don't have stability problems. On our side, we have installed FreeBSD 5.4 on one of our internal machines, and we're trying to reproduce the problem there. So far we have had only one crash that seemed to have been SCSI related. So far it has not happend again. One problem with replication that was a coding issue. We were running fine but a little slow on FreeBSD 5.1-P11 and MySQL 4.0.18.(apperantly before a big Lib change) We had to move quicker than we wanted to a new server running FreeBSD 5.4 and MySQL 4.11 (becouse of a dual HD death) Under production load the new 5.4 server fell over regulary. It has only now become stable by wiping it and running it on FreeBSD 4.11 with Linux Threads. (it regularly has over 400+ threads) Kris obviously understood that by this statement you meant a kernel crash. My understanding is that only the mysqld server is crashing. Is this still correct? Yes only Mysqld would crash. Sometimes brb and autorestart with minimal damage. Other times it would die a horrible death and damage tons of data on its way out. I want to try FreeBSD 5.4 AMD64 (the machines are Opteron) or 6.0 but my boss feels that would be a waste given that MYSQL doesn't support Mysql on AMD64 well enough. I think it would be a good idea to try this. It's one of the things that we intend to do in-house as soon as we can reproduce the problem at all. Yes however as I pointed out.. Just Trying things on a production database is not desirable without some serious indicators that its worthwhile. Last you wrote you said you doubted that would do anything I believe. Also support for amd64 based mysql is listed as Limited. As you said reproducing the problem is the key. However as I suggested I would have thought that if mysql were really into solving the problem, someone would have requested a login on the box to look at our queries to see how they are. Are they 60% reads 40% writes, are they many divergent queries bundled together.. etc. IE come and see our production database in action to see what needs to be replicated. I haven't seen anything like this. Now I don't know much but to me if I can't replicate something it's becouse I don't know enough
Re: Adaptec AAC raid support
On 20 Mar 2005, at 17:17, Charles Swiger wrote: snip / You remind me of someone I knew once that went off the deep end into paranoid delusions. snip / potty talk from a child that hasn't been toilet-trained, but it's past time for you and Theo to grow up and start acting like adults, rather than like ill-bred, spoiled children throwing temper tantrums when told no. snip / Adam, all -- Lets please stop feeding this troll. I'll grant him that his bait is cleverly constructed but that doesn't give him the right to degrade a vital discussion to ad hominem attacks, rhetorical nitpicking and all-out bickering. Nor does it give him the right to shit on the misc list. Trolls are not interested in understanding the opposite party's point of view or resolving outstanding questions, they're interested in scoring points and keeping you occupied -- like in somebody's sig here, it's like mud-wrestling a pig: You both get dirty but the pig enjoys it. We defeat the British Empire by ignoring it. Our only weapon is our refusal. rdr on misc proto smtp from cswiger to any recipient - gnaa.us Thanks and regards, Jens Ropers www.ropersonline.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: support
there is already a #freebsd on the freenode network and it is everything you want On Mon, 10 Jan 2005 14:00:02 -0800 (PST), Anil Gaddam [EMAIL PROTECTED] wrote: Dear FreeBSD team, My name is Anil C. Gaddam. I am interested in starting an official FreeBSD IRC channel. I will start the channel on Freenode IRC network. Freenode thrives to host many official supports channels for various open-source projects. Currently Freenode is home to Gentto, fedora, and debian. It is also home to widely known projects such as phpbb. Given permission from the appropriate authority, I can host a official channel IRC support channel for Freebsd. This will greatly benifit newbie users and others who are experiencing problems and try to seek a quick fix. About freenode: freenode, a service of Peer-Directed Projects Center. PDPC is an IRS 501(c)(3) not-for-profit, tax-exempt corporation. He is how freenode describes it self: In 1998, the network had about 200 users and less than 20 channels. We currently peak at over 20,000 users and contain a wide variety of project channels. It's hard to maintain a friendly IRC environment, and we put a lot of effort into it. It requires social hacks and software hacks. We continue to grow and we'll keep working to ensure that the network remains a productive and a useful place. = Sincerely yours, Anil Gaddam. Proud supporter of U.N. AIDS FOUNDATION == Today AIDS had created over 14 million orphan children world wide. Thats number of all children under 5 in america with no one to look after. For more information please visit http://www.apathyislethal.org __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello FreeBSD Team I want ask.
you need a new openssl version either install the port version or update your install On Sun, 3 Oct 2004 23:40:59 -0700 (PDT), Nurudin Jauhari [EMAIL PROTECTED] wrote: I try to install my program via Ports, but everythime I try to use command make install always get this error? -- Dependency warning: used OpenSSL version contains known vulnerabilities Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT *** Error code 1 Stop in /usr/ports/mail/mutt. -- What should I do to make my installation run well and this error can handled Thanks Nurudin Jauhari = :: Ketika kamu lahir, kamu menangis dan semua orang di sekeliling kamu tersenyum. Hiduplah dengan hidupmu, jadi ketika kamu meninggal, kamu satu-satunya yang tersenyum dan semua orang di sekeliling kamu menangis. .:: My Blogs __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hello FreeBSD Team I want ask.
well either you update the base build and install new world which you can read on in the handbook or you install openssl port On Sun, 3 Oct 2004 23:49:25 -0700 (PDT), Nurudin Jauhari [EMAIL PROTECTED] wrote: --- Jens Holmqvist [EMAIL PROTECTED] wrote: you need a new openssl version either install the port version or update your install what must update? openssl or the program?? Thanks On Sun, 3 Oct 2004 23:40:59 -0700 (PDT), Nurudin Jauhari [EMAIL PROTECTED] wrote: I try to install my program via Ports, but everythime I try to use command make install always get this error? -- Dependency warning: used OpenSSL version contains known vulnerabilities Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT *** Error code 1 Stop in /usr/ports/mail/mutt. -- What should I do to make my installation run well and this error can handled Thanks Nurudin Jauhari = :: Ketika kamu lahir, kamu menangis dan semua orang di sekeliling kamu tersenyum. Hiduplah dengan hidupmu, jadi ketika kamu meninggal, kamu satu-satunya yang tersenyum dan semua orang di sekeliling kamu menangis. .:: My Blogs __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] = :: Ketika kamu lahir, kamu menangis dan semua orang di sekeliling kamu tersenyum. Hiduplah dengan hidupmu, jadi ketika kamu meninggal, kamu satu-satunya yang tersenyum dan semua orang di sekeliling kamu menangis. .:: My Blogs ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba 'make install' chokes on textproc/expat2
it is rekommended to install Samba 3.0.7 instead since 2 series of samba is obsolete and for the problem you will have to send some error message On Sun, 19 Sep 2004 14:17:30 -0500, W. D. [EMAIL PROTECTED] wrote: Can't get Samba 2.2.11 to install. Has anyone encountered a problem with textproc/expat2? Start Here to Find It Fast! - http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names - http://domains.us-webmasters.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Login to something before mounting of NFS allowed
hi, is there anyway to have users login to something vefore they can be able to mount NFS shares on the NFS server like samba if something is hard to understand just ask :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Web browsing
you should read about ports from the ports you can install applications in to FreeBSD and a tip is that if you want X(graphics) you need a bigger drive then 261mb two good consol based web-browsers are links and lynx they are located in /usr/ports/www/links and /usr/ports/www/lynx On Sun, 5 Sep 2004 22:27:43 -0400, Douglas [EMAIL PROTECTED] wrote: Um, I know this is going to sound stupid, but I am completely dumbfounded as to how I can runa web browser in FreeBSD. I got so frustrated that I didn't know how to use FreeBSD and the fact that Elmira is a Windows city was completely agitating me, so I ended up uninstalling FreeBSD from my main hardrive, re-installed Windows, and I am e-mailing you guys for help, but don't fret, I have not left FreeBSD high and dry. I am going to install it onto my very old 261MB SeaGate HDD. But if I am going to use FreeBSD I need help getting used to it. Like, for example, how do I run a program, let's say Netscape for example. Please do help! I have always heard good reports about UNIX based OSes like FreeBSD. Thank-you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting linux
On Tuesday 27 July 2004 08:23, John Widenoja wrote: Your linux fs must be ext2 or ext3 Compile in the kernel the option EXT2FS command line after reboot mount_ext2 /dev/adxxx /mnt with eventually the -o ro option gentoo for example). Kind regards. Jens I appologize in advance for having to ask this question. I have skimmed through the manual, and have missed the answer. I use BSD on a disk which is 50-50 win 98 and 5.2. I use, on the same computer win ME and RH linux 8.0. I can access the dos partitions with no problem using mount_msdosfs, but no matter what I try, I am unable to access the RH partition. The RH partition is on a scsi U-160 drive, but the dos side is right there. I would appreciate any suggestions on how to mount the linux partition. Thanks, John Widenoja ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
uhci0 / usb problems: Could not setup irq, 22
Hello world, I admit it. I'm a FreeBSD developer with a question. I got a brand new shiny supermicro P4SCT board which has an intel USB chip and thus needs the uhci (as opposed to ohci) driver. My mouse (logitech first/pilot wheel mouse) is an usb mouse. It does not work (it worked in my old ASUS A7N8X with ohci). I think I have traced it down to this part in dmesg indicating a failed attach: [EMAIL PROTECTED]:~ $ dmesg|grep uhci uhci0: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc400 uhci0: Could not setup irq, 22 device_probe_and_attach: uhci0 attach returned 6 uhci0: UHCI (generic) USB controller port 0xc000-0xc01f irq 11 at device 29.1 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc000 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 uhci1: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0 uhci1: Could not setup irq, 22 device_probe_and_attach: uhci1 attach returned 6 uhci0: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc400 uhci0: Could not setup irq, 22 device_probe_and_attach: uhci0 attach returned 6 uhci0: UHCI (generic) USB controller port 0xc000-0xc01f irq 11 at device 29.1 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xc000 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 uhci1: UHCI (generic) USB controller port 0xc400-0xc41f irq 9 at device 29.0 on pci0 uhci1: Could not setup irq, 22 device_probe_and_attach: uhci1 attach returned 6 Does anyone know how to remedy the situation and get a successful attach? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting a current system
Hello Aaron, Could you give us the output of the different error messages you got during this upgrading? You described in detail what you did but did not describe the errors. Kind regards. Jens -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Possible DNS Problems
Hello, Have a look at the different ad.doubleclick.net addresses included in the web site. Find out the ip address and put them in your /etc/hosts file like this: 206.65.183.95 ad.doubleclick.net 206.65.183.95 uk.doubleclick.net 206.65.183.95 ad.uk.doubleclick.net 195.154.195.154 ad.fr.doubleclick.net This will solve the loading time of the different websites with konqueror, firefox etc( sticking to load 90% of the images of the web site). This issue doesn't seem to exist when you use Opera. Kind regards Jens On Thu, 15 Apr 2004 08:36:17 +0100 Matthew Seaman [EMAIL PROTECTED] wrote: On Wed, Apr 14, 2004 at 08:43:53PM +, Travis Troyer wrote: I am running FreeBSD 5.2.1-Release on two systems, a server that acts as a NAT Gateway for my cable service, and a client. When trying to load various websites on the client machine, I get a delay, usually about 25 seconds, during which Mozilla will tell me it's resolving the hostname. I also get the same situation with Konqueror or lynx. It only happens on certain sites, for example, Bankone.com. With loading Bankone.com, after the homepage initially loads, I can load any page on the site without problems. Using this same system, and dual booting into Windows, I find that I can load these sites with no problem, leading me to believe that it is a configuration problem with my FreeBSD installation; however, I can not figure out what the problem is. I would really appreciate any help in this matter. You could well be right -- a lot of DNS servers out there do not respond correctly (or even at all) to queries for or A6 records. You can confirm if that is the case by using tcpdump to show you what DNS traffic your system is generating as you browse around. This is a case of FreeBSD users being penalised for running a properly standards compliant OS by stupid service providers who are unable to install standards compliant DNS servers with support for RR types introduced getting on for 10 years ago now. Even worse, DNS servers that don't return any response to such a request, which forces your system to wait for the whole 30s of the DNS timeout. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting a current system
Hello Aaron, Could you give us the output of the different error messages you got during this upgrading? You described in detail what you did but did not describe the errors. Kind regards. Jens -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Standard and rebuild 5.2 freezing or giveing a warning
Hi , I tried to build a custom kernel with the latest src 5.2 . With the standard kernel provided with the iso image a get the following warning. Part of the dmesg output. ad0: 29325MB Maxtor 6E030L0 [59582/16/63] at ata0-master UDMA100 GEOM: create disk ad1 dp=0xc4819460 ad1: 19092MB ST320414A [38792/16/63] at ata0-slave UDMA100 ata1-master: WARNING - SETFEATURES recovered from missing interrupt When i build a custom kernel , i get the folliwng message: ata1-master: timeout Setfeatures set transfer mode retrying . 0 retries remaining. I looked up Google and there was a similar error message but no solution given to this topic. Is this a bug or is there any issue on that topic . My bsd disk is on the slave first ide controller. Should i put it on the second master controller as suggested by Greg Lehay in his latest book. His suggestion seems to be only valid for older ide controllers. I tried to boot off without apci and no outcome. Safe mode idem. What do you suggest. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup ports question Freebsd 5.2
Hi folks, I have build the ports tree using the default ports-sup file tag tag=. I want to understand why my ports tree is wiped off when i change the tag value to RELENG_5_2_0_RELEASE or RELENG_5 or RELENG_5_2 in order to get the ports updating. I followed the instructions of the bsd manual assuming to stick to the latest stable version/branch. Exerpt of the ports sup_file # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5_2_0_RELEASE *default delete use-rel-suffix does that mean there is no upgrade of the ports. I assume not because the whole tree is wiped off. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup ports question Freebsd 5.2
On Friday 06 February 2004 21:24, Lowell Gilbert wrote: Ok thanks jens [EMAIL PROTECTED] writes: Hi folks, I have build the ports tree using the default ports-sup file tag tag=. I want to understand why my ports tree is wiped off when i change the tag value to RELENG_5_2_0_RELEASE or RELENG_5 or RELENG_5_2 Quoted from some of the example supfiles: ### # # DANGER! WARNING! LOOK OUT! VORSICHT! # # If you add any of the ports or doc collections to this file, be sure to # specify them with a tag value set to ., like this: # # ports-all tag=. # doc-all tag=. # # If you leave out the tag=. portion, CVSup will delete all of # the files in your ports or doc tree. That is because the ports and doc # collections do not use the same tags as the main part of the FreeBSD # source tree. # ### ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ultra 2 SMP stop in probing devices during install
Hi there, i'm pretty new with freebsd. Currently i run a couple of sparc20 with OpenBSD. But i want to give Freebsd 5.1 a try. Unfortunately i cant get this Ultra2 with 2 CPUs working. When boot with first install CDROM it recognises the 2 cpus during the bootprocess and start probing for devices. I can stop this probing but then i end up in the OBP prompt again. Checked google and the docs but nothing here. I updated the OBP to 3.11. Any help is appreciated! Cheers, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: burncd ``only wrote -1...'' coasting discs.
I had the same problem before on a 5.1 version and wiped of the src tree and downloded the sources from scratch. Made the kernel compiling according to the instructions regarding the new way ( see the handbook ) and it worked out perfectly. Ps check as well if you are using a rw cdrom and especillay if the burner is a high speed one able to burn the high speed cdroms. Elder burner reject the newest standards of cdrom in my case. On Thu, 20 Nov 2003 00:04:06 + Lewis Thompson [EMAIL PROTECTED] wrote: Hi, I've tried to burn ISOs on a number of occassions using the burncd utility. I use the command ``burncd -s max -f /dev/acd0c data foo.iso fixate'' (as I always have done), but this fails /very/ quickly with the following message: next writeable LBA 0 writing from file disc1.iso size 646272 KB written this track 832 KB (0%) total 832 KB only wrote -1 of 32768 bytes: Device busy fixating CD, please wait.. I posted a while back and was told it might be because I was running 5.1-RELEASE and a lot of code had changed. Right now I'm running 4.9-RELEASE (with the same problems). This is a new DVD-RW drive (a TEAC DV-W50E) that /does/ support a form of buffer underrun (I think it is BurnProof -- Nero burns discs just great under XP). Any idea what this could be? -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what are the pci debug commands for 4.9
fbsd_user wrote: I am running FBSD 4.9 and having problems with PCI cards. What are the commands I can use to see what FBSD can tell me about the installed PCI cards? pciconf(8) Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Module Support ?!!? and Kernel Limits ..
Vahric MUHTARYAN wrote: Hi Everyboy , I'm using FreeBSD 5.1 , I red documents and it said that - FreeBSD Support moduler environment . I want to know How can I make a moduler somethings like RAID Device or something else because GENERIC is only text file and I can delete or put # for kernel does not support that driver buil-in . in Linux I can choose which one is will be built-in which one is moduler When you build a kernel, usually all available modules are build, too. If you comment out sth., it's not linked static into the kernel, but the module will be available. See kldload(8) for details. Then I checked /boot/modules nothing there ... then I checked /boot/defaults/loader.conf I saw modules can be stored in /boot/kernel directory all of them are have ko ext. it will be funny but FreeBSD make moduler all things ?!!!?! I don't understand your question. Can you please ask it in other words? And Where can I find Kernel limits I know I can extend it with sysctl but limits ... ?! See sysctl.conf(5) and loader.conf(5) as well as sysctl(8). Vahric Best regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Module Support ?!!? and Kernel Limits ..
Vahric MUHTARYAN wrote: [moved down to avoid top-posting] From: Jens Rehsack [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 9:43 PM To: Vahric MUHTARYAN Cc: [EMAIL PROTECTED] Subject: Re: Kernel Module Support ?!!? and Kernel Limits .. Vahric MUHTARYAN wrote: Hi Everyboy , I'm using FreeBSD 5.1 , I red documents and it said that - FreeBSD Support moduler environment . I want to know How can I make a moduler somethings like RAID Device or something else because GENERIC is only text file and I can delete or put # for kernel does not support that driver buil-in . in Linux I can choose which one is will be built-in which one is moduler When you build a kernel, usually all available modules are build, too. If you comment out sth., it's not linked static into the kernel, but the module will be available. See kldload(8) for details. Then I checked /boot/modules nothing there ... then I checked /boot/defaults/loader.conf I saw modules can be stored in /boot/kernel directory all of them are have ko ext. it will be funny but FreeBSD make moduler all things ?!!!?! I don't understand your question. Can you please ask it in other words? And Where can I find Kernel limits I know I can extend it with sysctl but limits ... ?! See sysctl.conf(5) and loader.conf(5) as well as sysctl(8). You mean FreeBSD make all device support moduler ?! And you said that -- not linked static but under the /boot/kernel everything is module ... ?! Not even all, but most. You can check /usr/src/sys/modules/ for details, or the according man-page. And I don't understand why freebsd makes a module all of them ?!?!?! I have to choose which one will be module which one won't be ... is it must ?! No, you can override the modules which are build by adding the MODULES_OVERRIDE makeoption into your kernel config. See NOTES for more. Secound I think I can't explain correct ... When I build kernel Where modules must be stored under /boot/modules or /boot/kernel ?! See kldload(8), it gives you exact the same answer I would. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind 9.2.3rc4
Vladimir wrote: Hi, Jens. I now attach my config file with zones and log files. At 19:13 i have started named. At 19:15 dig 127.0.0.1 JR I'm busy for next 2 days. I'll prove it on Thursday if it's not to JR late for you, ok? JR Ok, I saved you cfg's into orig/, copied them into a new/ JR directory and simplified it most I could. The diff is attached. JR Would you please try whether it works so far? dig 127.0.0.1 dig 192.168.1.4 dig 192.168.1.1 Do not work :-( Please use script(1) to submit the entire output. And please run the named with -d flag, too and submit even it's output. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind 9.2.3rc4
Vladimir wrote: Hi, Jens. I now attach my config file with zones and log files. At 19:13 i have started named. At 19:15 dig 127.0.0.1 JR I'm busy for next 2 days. I'll prove it on Thursday if it's not to JR late for you, ok? And where are you? Sorry, I've been very busy in last weeks. But you're right, I promised to help - I'm a bad guy :-( Ok, I saved you cfg's into orig/, copied them into a new/ directory and simplified it most I could. The diff is attached. Would you please try whether it works so far? Best regards and really sorry about the delay, Jens diff -u orig/localhost.db new/localhost.db --- orig/localhost.db Sun Nov 9 15:14:50 2003 +++ new/localhost.dbSun Nov 9 15:20:44 2003 @@ -1,6 +1,4 @@ - $TTL 1D - localhost. IN SOA ns.habanet.local. hostmaster.habanet.local. ( 2003091501 ;serial number 86400 ;refresh @@ -9,5 +7,5 @@ 3600;minimum ) -localhost. IN NS ns.habanet.local. + IN NS @ localhost. IN A 127.0.0.1 diff -u orig/localhost.rev new/localhost.rev --- orig/localhost.rev Sun Nov 9 15:14:50 2003 +++ new/localhost.rev Sun Nov 9 15:21:31 2003 @@ -14,5 +14,5 @@ 3888000 ; Expire 3600; Minimum ) - IN NS ns.habanet.local. -1 IN PTR localhost.habanet.local. + IN NS localhost. +1 IN PTR localhost. diff -u orig/named.conf new/named.conf --- orig/named.conf Sun Nov 9 15:14:50 2003 +++ new/named.conf Sun Nov 9 15:19:22 2003 @@ -1,51 +1,18 @@ options { directory /etc/namedb; pid-file /etc/namedb/named.pid; - allow-recursion { 192.168.1.0/24; 127.0.0.1;}; - allow-query { 192.168.1.0/24; 127.0.0.1;}; - version unknow; + // allow-recursion { 192.168.1.0/24; 127.0.0.1;}; + // allow-query { 192.168.1.0/24; 127.0.0.1;}; + // version unknow; forwarders { 80.80.111.254; 80.80.111.244; }; - query-source address * port 53; + // Sure that nslookup binds to port 53? + // query-source address * port 53; dump-file /var/tmp/named_dump.db; }; -controls {}; - -key DHCP_UPDATER { - algorithm *** :-); - secret :-); -}; - -logging { -channel update_debug { -file /var/log/named-update.log; -severity debug 5; -print-category yes; -print-severity yes; -print-time yes; -}; -channel security_info { -file /var/log/named-auth.log; -severity info; -print-category yes; -print-severity yes; -print-time yes; -}; -channel example_debug { -file /var/log/named-debug.log; -severity debug 5; -print-category yes; -print-severity yes; -print-time yes; -}; -category default { example_debug; }; -category update { update_debug; }; -category security { security_info; }; -}; - zone . { type hint; file named.root; @@ -67,7 +34,7 @@ type master; file habanet.local.db; // allow-query { 192.168.1.0/24; 127.0.0.1;}; -allow-update { key DHCP_UPDATER; }; +// allow-update { key DHCP_UPDATER; }; // allow-transfer {192.168.1.4;}; // notify no; }; @@ -76,7 +43,7 @@ type master; file 192.168.1.db; // allow-query { 192.168.1.0/24; 127.0.0.1;}; -allow-update { key DHCP_UPDATER; }; +// allow-update { key DHCP_UPDATER; }; // allow-transfer {192.168.1.4;}; }; ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PLS answer my question!
Valerian Galeru wrote: I installed x windows with sysinstall, then i installed blackbox (a window manager). Then if x server is not started and i execute blackbox command i get a error like this: x server not started something like this. If i start xserver and then run the blackbox command, i get another error (something like this one: another windows manager started, but i didnt install any window manager). And then, i can configure ~/.xinitrc but i cant find it in my home directory (in /home/val (val is my username) and in root the same). Ok. In man xstart it is said that this file can miss, and then i must go to /usr/.. after i configure that file and run startx nothing happens. One senseful action would be, copy /usr/X11R6/lib/X11/xinit/xinitrc into your home directory as .xinitrc and change the line 'twm' into your favourite window manager. What is the problem? You did neither read the documentation carefully enough nor ask a good question. How can i deinstall x windows and start it again? pkg_delete -rx XFree Or what can i DO??? Try man pkg_delete first :-) 10x for help No thanks. Therefore we're here :-) Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updating ports perl from 5.8.0 to 5.8.1
Robin Schoonover wrote: On Sun, 2 Nov 2003 12:14:56 -0500, H.Wade Minter [EMAIL PROTECTED] wrote: On Nov 2, 2003, at 12:01 PM, Lowell Gilbert wrote: Yes. portupgrade -rf perl is *exactly* what the incantation I would have recommended. That didn't seem to work. I ran that on one system, and it only upgraded perl, it didn't attempt to do any of the p5-* packages. You could do: portupgrade -rf perl p5-\* I'd imagine -r would mean all p5-* packages are included (since they depend on perl), but obviously that wasn't the case. If the version of FreeBSD is 4.x, then that means there is a perl in the base system, and thus all the p5-* packages probably didn't have perl listed as one of their dependencies. Furthermore ${PERL_VER} contains 5.8.0 as long as you didn't update your /etc/make.conf (which could be easily done by adding 'lang/perl5*' = 'use.perl port', to the AFTERINSTALL hash in /usr/local/etc/pkgtools.conf. So, even if the dependend packages would be updated, the will fail to install, 'cause they will be stored in ${LOCALBASE}/lib/perl/site_perl/5.8.0/ Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind 9.2.3rc4
Vladimir wrote: Hi, Jens. Hi Vladimir, JR You have 2 lines with defined acl's in your config and allow JR only for requests matching the one of the list entries. JR If I were in your situation, I would remove them for testing JR to see whether it works than or not. I don't have any experience JR with access control within bind, so I cannot tell you if it's JR correct. I you ipf to block request not coming from 10.62.10.0/24 or JR 127.0.0.0/8 to this machine. I remove all acl's and changed all allow- but dig 127.0.0.1 do not work. I removed all allow- but it do not work. :-( And restarted you server? Ok, start the named within a script(1) with '-d'. Then it will print whatever it does. On another terminal, start a request, eg. 'dig'. If you cannot find sth. mysterious or unwanted in the output, attach the log. JR $ dig 127.0.0.1 JR ; DiG 8.3 127.0.0.1 ... JR ;; MSG SIZE sent: 27 rcvd: 102 Not working. JR Try to connect to internet and see if it works fine than. Not working. :-( JR If it does, either your /etc/resolve.conf is wrong search habanet.local domain habanet.local nameserver 192.168.1.4 Is it right? I think so. JR or your access restriction are. JR As you can see here, my server responds. You should check your logfiles JR to see why your server denied to answer the request. Maybe you have to JR increase the verbosity for it. How i can do it? JR named(8) tells you :-) You talking about -d option or about logging? At first about the '-d' option. Maybe something wrong in my configs? And why mc start so long? I know that because of named, bucaese when I stop it mc start quikly. JR First assumtion of me is your acl's. If they're not, we'll look JR deeper :-) Problem not in acl. Your the expert :-) No - as long as it doesn't work, the config should be reduced to minimum. Maybe the acl's aren't the problem, maybe they aren't the only one. Maybe they are the only one which is not wrong? Would you please be so kind and attach the config files next time you reply? Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind 9.2.3rc4
Vladimir wrote: , Jens. Vladimir, you've forgotten to cc questions@ - added. 25 2003 ., 19:24:56: JR Vladimir wrote: Hi, freebsd-questions. ;; res_nsend: Operation timed out JR Furthermore I don't use acl's, I'm using packet filtering. ? You have 2 lines with defined acl's in your config and allow only for requests matching the one of the list entries. If I were in your situation, I would remove them for testing to see whether it works than or not. I don't have any experience with access control within bind, so I cannot tell you if it's correct. I you ipf to block request not coming from 10.62.10.0/24 or 127.0.0.0/8 to this machine. JR $ dig 127.0.0.1 JR ; DiG 8.3 127.0.0.1 ... JR ;; MSG SIZE sent: 27 rcvd: 102 Not working. Try to connect to internet and see if it works fine than. If it does, either your /etc/resolve.conf is wrong or your access restriction are. JR As you can see here, my server responds. You should check your logfiles JR to see why your server denied to answer the request. Maybe you have to JR increase the verbosity for it. How i can do it? named(8) tells you :-) Maybe something wrong in my configs? And why mc start so long? I know that because of named, bucaese when I stop it mc start quikly. First assumtion of me is your acl's. If they're not, we'll look deeper :-) Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade
Ralph wrote: I'm running 5.1 and I'm having the same problem as the other person with portupgrade ... so how do I uninstall Ruby? and portupgrade? # pkg_delete -rx ruby # cd /usr/ports/sysutils/portupgrade # make install clean Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning
Kevin D. Kinsey, DaleCo, S.P. wrote: Rogue Spider wrote: is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. If there is fragmentation, it is cleaned up in the boot process (for 4.x) or done in the background after booting (on 5.x). Did it changed? My last information is, *bsd checks the disks at boot if they were not cleanly unmounted. Otherwise there will nothing happens in this direction. Note that fragmentation on a ufs volume is different from what you're used to on DOS/FAT filesystems. Yes, fragments are parts of a block of a filesystem, where several small files or tails of files are stored together to avoid waste of space by using an entire block for a small piece of data. As long as the box is running, you have no worries. If there's ever a significant problem, you'll be told to boot single-user and fix it yourself using 'fsck'. Or you didn't notice. Usually next boot will show you. If a hardware failure occur, you may never notice except you check your entire disk(s) and prove all sectors on the disk. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problems, please help
Kent Stewart wrote: On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote: What versions of ruby do you have installed? I can remember back a few versions, that uninstalling portupgrade and ruby and then making and installing portupgrade was faster than fighting the problems with ruby. Kent -su-2.05b# ruby -v ruby 1.6.8 (2003-03-26) [i386-freebsd5] I don't have any idea. It looks like a source/configuration/make error of some type. My version is the also the following ruby 1.6.8 (2003-03-26) [i386-freebsd5] Maybe complete remove of ruby and dependend packages followed by a reinstall of all of them may help. If you only have portupgrade installed, you can simply # pkg_delete -rx ruby # cd /usr/ports/sysutils/portupgrade # make install clean If you have other ruby-dependend ports, please write them down, eg. by $ cd $ ls -l /var/db/pkg/ installed-packages $ su - # [above procedure] $ ls -l /var/db/pkg/ after-reinstall-ruby-packages $ diff installed-packages after-reinstall-ruby-packages And then reinstall all packages missing (and you need). Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice-devel compile problems ...
ivan georgiev wrote: On Monday 13 October 2003 09:09 pm, Jens Rehsack wrote: ivan georgiev wrote: On Monday 13 October 2003 07:40 pm, Jens Rehsack wrote: [...] nsICookieService.idl ../../../dist/bin/xpidl -m header -w -I ../../../dist/idl -I. -o _xpidlgen/nsICookieService nsICookieService.idl gmake[4]: *** [../../../dist/include/necko] Illegal instruction (core dumped) I think this says all. Try another CPUTYPE and let me know the results. Jens I finally compiled openoffice !!! But I have no clue why it worked this time. So, I gave up on using portinstall and did make install clean in the openoffice-devel directory. It was compiling for one hour and then stopped complaining something about a.out (as shown bellow). Then I lunched make install clean again and it picked up from the place it left, worked another hour or so and stopped at a different place again complaining about a.out. After 6-7 steps like this I finally compiled it. I have no clue what kind of problem is this and will be very happy if someone can tell me. Bellow follows one example of the many stops: -- Making: ../../unxfbsd.pro/slb/bridgefac.uno.lib echo unxfbsd.pro/slo/bridgefactory.o unxfbsd.pro/slo/bridgeimpl.o | xargs -n1 ../../unxfbsd.pro/slb/bridgefac.uno.lib nm: a.out: No such file or directory dmake: Error code 1, while making '../../unxfbsd.pro/slb/ bridgefac.uno.lib' dmake: '../../unxfbsd.pro/slb/bridgefac.uno.lib' removed. ---* TG_SLO.MK *--- This says nothing - at least not to me. In conjunction with your above described error I assume a hardware problem. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice-devel compile problems ...
ivan georgiev wrote: I tried three times to compile openoffice-devel (I use 5-1p10) and it always fails when compiling mozilla - on different places and always with a core dump. I saw some messages that people are happy with it (therefore it must be compileable). Do I have to do something special besaides the portinstall /usr/ports/editors/openoffice-devel which I use? Maybe you've specified a to high optimization level in /etc/make.conf. Check you CFLAGS. Mozilla build break mostly with anything higher than -O2. Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice-devel compile problems ...
ivan georgiev wrote: On Monday 13 October 2003 07:05 pm, Jens Rehsack wrote: ivan georgiev wrote: I tried three times to compile openoffice-devel (I use 5-1p10) and it always fails when compiling mozilla - on different places and always with a core dump. I saw some messages that people are happy with it (therefore it must be compileable). Do I have to do something special besaides the portinstall /usr/ports/editors/openoffice-devel which I use? Maybe you've specified a to high optimization level in /etc/make.conf. Check you CFLAGS. Mozilla build break mostly with anything higher than -O2. Regards, Jens Thanks Jens, I have: CFLAGS=-O1 -pipe CPUTYPE=p4 in make.conf . I do not think it is a hardware/memory problem, because make -j4 buildworld always finishes without a glitch. What else can I check/modify? Maybe it would be better to set CPUTYPE to p3, 'cause the cc of 5.1 is known to produce bad code for pentium4 in some situations. Furthermore it would really help if you send the message the build dumps with. Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice-devel compile problems ...
ivan georgiev wrote: On Monday 13 October 2003 07:40 pm, Jens Rehsack wrote: [...] nsICookieService.idl ../../../dist/bin/xpidl -m header -w -I ../../../dist/idl -I. -o _xpidlgen/nsICookieService nsICookieService.idl gmake[4]: *** [../../../dist/include/necko] Illegal instruction (core dumped) I think this says all. Try another CPUTYPE and let me know the results. Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice-devel compile problems ...
Robert Huff wrote: ivan georgiev writes: I tried three times to compile openoffice-devel (I use 5-1p10) and it always fails when compiling mozilla - on different places and always with a core dump. I saw some messages that people are happy with it (therefore it must be compileable). Do I have to do something special besaides the portinstall /usr/ports/editors/openoffice-devel which I use? Mune breaks also, but at a different place. Actually, in some ways it's the same place. OO wants Mozilla, which wants JDK14, JDK14 is broken; my last response on the compile was: === Building for jdk-1.4.1p3_3 # pkg_info | grep jdk-1.4 jdk-1.4.1p4 Java Development Kit 1.4.1 Alexey, Greg and all contributor did a great job with that patch level, 'cause it runs for me without any problems. Regards, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]