RE: mod_perl configuration questions
Joey Teel wrote: Weird, that's all I had to mine to get it working, though I probably have a rather oddball setup anyway since I have mine set to call the mt.cgi file directly as the directory index file too. Try calling the mt.cgi file directly, and see what happens since it looks like yours is setup to use an index.html file instead of calling the script directly. If i call mt.cgi, I get the admin screen. I think it might be best to rip the whole damn thing out and start over. -- By admin screen, you mean the screen where you access the blogs and modify them right? That's what you're wanting it to do as long as everything else is working correctly. All you need to do is modify your httpd.conf file to change the DirectoryIndex of movabletype to mt.cgi. Change your config to the one below and it should work (it's the same one you have already, just with the DirectoryIndex directive added): Location /movabletype/ DirectoryIndex mt.cgi SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all /Location ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_perl configuration questions
Joey Teel wrote: By admin screen, you mean the screen where you access the blogs and modify them right? That's what you're wanting it to do as long as everything else is working correctly. All you need to do is modify your httpd.conf file to change the DirectoryIndex of movabletype to mt.cgi. Change your config to the one below and it should work (it's the same one you have already, just with the DirectoryIndex directive added): Location /movabletype/ DirectoryIndex mt.cgi SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all /Location So J Random Websurfer hits the static path I have aliased, and I go to the admin interface. I'll try that. Thanks. -- Paul Beard http://paulbeard.no-ip.org/movabletype/ whois -h whois.networksolutions.com ha=pb202 In West Union, Ohio, No married man can go flying without his spouse along at any time, unless he has been married for more than 12 months. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hard disk performance issue
Hi, I have a Dell P3-500 Optiplex GX1. I was running FreeBSD 5.0 on an 8G drive. I recently upgraded to a Western Digital ATA100 40GB drive and loaded FreeBSD 5.1. I expected to get improved drive performance, however, my motherboard would only do UDMA-33. So, I picked up a Maxtor SATA/150 PCI Combo card. It's supposed to do ATA-100. My dmesg indicates that it is running UDMA-100, but my disk dump performance is still pathetic. Here's a dd sample: tigger# dd if=/dev/ad8s1d of=/home/chris/tmp.dat count=1 1+0 records in 1+0 records out 512 bytes transferred in 2.292473 secs (2233396 bytes/sec) ~ 2MB per second?? It was about 1.8MB per second before I upgraded. The only thing I can attribute the marginal speed-up to is the faster drive rotation speed (7400 RPM). Attached is my dmesg dump. The ad8...UDMA 100 statement is near the bottom. Can anyone provide any insight? Thanks in advance. Chris tigger# dmesg | more Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc0689000. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 498752220 Hz CPU: Pentium III/Pentium III Xeon/Celeron (498.75-MHz 686-class CPU) Origin = GenuineIntel Id = 0x673 Stepping = 3 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,MMX,FXSR,SSE real memory = 134217728 (128 MB) avail memory = 123326464 (117 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fc670 pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on motherboard pci0: PCI bus on pcib0 agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xf000-0xf3ff at device 0.0 on pci0 pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 UDMA33 controller port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xcce0-0xccff irq 14 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: bridge, PCI-unknown at device 7.3 (no driver attached) pcib2: PCI-PCI bridge at device 15.0 on pci0 pci2: PCI bus on pcib2 atapci1: Promise PDC20375 SATA150 controller port 0xdc00-0xdc7f,0xdca0-0xdcaf,0xdcc0-0xdcff mem 0x fafc-0xfafd,0xfafff000-0xfaff irq 9 at device 9.0 on pci2 ata2: at 0xfafff000 on atapci1 ata3: at 0xfafff000 on atapci1 ata4: at 0xfafff000 on atapci1 xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xcc00-0xcc7f mem 0xff00-0xff7f irq 14 at devic e 17.0 on pci0 xl0: Ethernet address: 00:b0:d0:19:58:5d miibus0: MII bus on xl0 xlphy0: 3Com internal media interface on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: Option ROMs at iomem 0xc8000-0xc,0xc-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0401 can't assign resources (port) unknown: PNP0700 can't assign resources (port) unknown: PNP0f13 can't assign resources (irq) unknown: PNP can't assign resources (port) unknown: PNP0303 can't assign resources (port) Timecounters tick every 10.000 msec ad8: 38166MB WDC WD400BB-00DEA0 [77545/16/63] at ata4-master UDMA100 acd0: CDROM NEC CD-ROM DRIVE:288 at ata1-master PIO4Mounting root from ufs:/dev/ad8s1a Mounting root from ufs:/dev/ad8s1a --- Outgoing mail is certified Virus Free.
Re: hard disk performance issue
On Sun, Aug 24, 2003 at 06:16:11PM -0500, Chris Newman wrote: Hi, I have a Dell P3-500 Optiplex GX1. I was running FreeBSD 5.0 on an 8G drive. I recently upgraded to a Western Digital ATA100 40GB drive and loaded FreeBSD 5.1. I expected to get improved drive performance, however, my motherboard would only do UDMA-33. So, I picked up a Maxtor SATA/150 PCI Combo card. It's supposed to do ATA-100. My dmesg indicates that it is running UDMA-100, but my disk dump performance is still pathetic. Here's a dd sample: tigger# dd if=/dev/ad8s1d of=/home/chris/tmp.dat count=1 1+0 records in 1+0 records out 512 bytes transferred in 2.292473 secs (2233396 bytes/sec) ~ 2MB per second?? It was about 1.8MB per second before I upgraded. The only thing I can attribute the marginal speed-up to is the faster drive rotation speed (7400 RPM). What do you expect when you only transfer 512 bytes with each read/write? That is a lot of overhead, and will make the actual speed of the disk to have little effect on the numbers obtained. Try increasing the block size. I.e. try: dd if=/dev/ad8s1d of=/home/chris/tmp.dat bs=64k count=100 On my system that gives about a factor of 8 faster performance. To get a better idea on how fast the disk actually is (with less overhead from the filesystem, and with less seeking involved) (and also to get bigger numbers :-) ) try sending the output to /dev/null instead of an actual file. (I.e. use of=/dev/null instead of of=/home/chris/tmp.dat) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dumping/reading memory space of a running program.
How do i read/dump the entire memory space of a running program? Is this possible? I really dont have the option of restarting it. -- Sten ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dumping/reading memory space of a running program.
On Mon, 25 Aug 2003, Sten Daniel Sørsdal wrote: How do i read/dump the entire memory space of a running program? Is this possible? I really dont have the option of restarting it. gcore(1) perhaps? $.02, /Mikko ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hard disk timeout
Hi, I'm trying to use 4.7. But when I try to boot to it, even with a CD, a hard drive device timesout. When I take out that hard drive, I can boot fine. Here is how my hard drives and cdrom is set up: Winxp is on the primary master. The problem hard drive is the primary slave. And the fbsd hard drive is on secondary master. The CDROM is the secondary slave. The message I can when I boot is: ad1: Read command timeout tag=0 serv=0 - resetting ata0: resetting devices .. Then the computer just freezes. I'm using an Asus A7N8X with Athlon XP 2800+. Thanks, Nathan Wheeler ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb to ethernet converter
I would like to use a usb-2-ethernet converter (Aopen has one - found it at a web site for $12). What I want to use it for is to convert a usb device like a printer to an ethernet connected printer. Is there a write-up about this ? Cheers, Joe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PCM - Soundblaster Live
After a make world today everything seems to work nicely ATAng dont seem to have any problems but when it comes to my sound card i dont get any sound output according to the other mails i do have a ogain and its set to 50 but when i try to play a cd using xmms i dont get any movement meaning i dont get those little lines and shit when music is playing i dono if i shot my soundcard or if there still is a problem with the commit to ac97.c % mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer line1is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 Mixer videois currently set to 75:75 Recording source: mic % sound card seems to be probed. % cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Creative EMU10K1 at io 0xe400 irq 5 (4p/2r/3v channels duplex default) % lucifer# dmesg | grep pcm0 pcm0: Creative EMU10K1 port 0xe400-0xe41f irq 5 at device 11.0 on pci0 pcm0: SigmaTel STAC9708/11 AC97 Codec lucifer# so i dont know whats going on heh _ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb to ethernet converter
On Sunday, Aug 24, 2003, at 18:47 US/Pacific, Joseph I. Davida wrote: I would like to use a usb-2-ethernet converter (Aopen has one - found it at a web site for $12). What I want to use it for is to convert a usb device like a printer to an ethernet connected printer. It's not going to work. You need a print server of some kind (lpr, Novell, AppleTalk) to handle connectivity protocol and spooling. That functionality is provided via Ethernet print servers or cards - just converting the raw signaling isn't enough. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade problem (was Re: orphaned port?)
On Sat, Aug 23, 2003 at 04:05:05PM -0700 or thereabouts, paul beard wrote: I am having this problem as well on any port I try to install. I have rebuilt pkgdb from scratch. === Installing for p5-SNMP_Session-0.95 === Generating temporary packing list === Checking if net/p5-SNMP_Session already installed *** Error code 1 Stop in /usr/ports/net/p5-SNMP_Session. *** Error code 1 Stop in /usr/ports/net/mrtg. [ ... ] Then breaking it down to run just the first command makes me wonder what's wrong with pkg_info. [/usr/ports/net/mrtg]:: /usr/sbin/pkg_info -q -O net/p5-SNMP_Session pkg_info: illegal option -- O usage: pkg_info [-cdDfGiIkLmopqrRsvVx] [-e package] [-l prefix] [-t template] [-W filename] [pkg-name ...] pkg_info -a [flags] the O option doesn't seem to be in the man page, so I'm not sure what's up. This is a VFAQ lately. You need FBSD 4.7 or better. -- Josh -- Paul Beard http://paulbeard.no-ip.org/movabletype/ whois -h whois.networksolutions.com ha=pb202 E Pluribus Unix ___ [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: portupgrade problem (was Re: orphaned port?)
Joshua Oreman wrote: This is a VFAQ lately. You need FBSD 4.7 or better. No, you just need to install sysutils/pkg_install. I would suspect it's a POLA violation to require an upgrade to get around a new version of a utility program. -- Paul Beard http://paulbeard.no-ip.org/movabletype/ whois -h whois.networksolutions.com ha=pb202 Do not read this fortune under penalty of law. Violators will be prosecuted. (Penal Code sec. 2.3.2 (II.a.)) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: hard disk performance issue
Hmm... when I do what you suggest, here's what I get... tigger# dd if=/dev/ad8s1d of=/dev/null bs=64k count=100 100+0 records in 100+0 records out 6553600 bytes transferred in 0.147501 secs (44430888 bytes/sec) tigger# dd if=/dev/ad8s1d of=/dev/null bs=100k count=100 100+0 records in 100+0 records out 1024 bytes transferred in 0.230168 secs (44489246 bytes/sec) tigger# dd if=/dev/ad8s1d of=/dev/null bs=200k count=100 100+0 records in 100+0 records out 2048 bytes transferred in 0.429506 secs (47682693 bytes/sec) ~47MB ? huge difference I'm still not sure at this point what the best way is to evaluate whether I'm getting my money's worth out of this disk/controller. How do I do a good benchmark of the speed? Thanks, cn -Original Message- From: Erik Trulsson [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 7:32 PM To: Chris Newman Cc: [EMAIL PROTECTED] Subject: Re: hard disk performance issue On Sun, Aug 24, 2003 at 06:16:11PM -0500, Chris Newman wrote: Hi, I have a Dell P3-500 Optiplex GX1. I was running FreeBSD 5.0 on an 8G drive. I recently upgraded to a Western Digital ATA100 40GB drive and loaded FreeBSD 5.1. I expected to get improved drive performance, however, my motherboard would only do UDMA-33. So, I picked up a Maxtor SATA/150 PCI Combo card. It's supposed to do ATA-100. My dmesg indicates that it is running UDMA-100, but my disk dump performance is still pathetic. Here's a dd sample: tigger# dd if=/dev/ad8s1d of=/home/chris/tmp.dat count=1 1+0 records in 1+0 records out 512 bytes transferred in 2.292473 secs (2233396 bytes/sec) ~ 2MB per second?? It was about 1.8MB per second before I upgraded. The only thing I can attribute the marginal speed-up to is the faster drive rotation speed (7400 RPM). What do you expect when you only transfer 512 bytes with each read/write? That is a lot of overhead, and will make the actual speed of the disk to have little effect on the numbers obtained. Try increasing the block size. I.e. try: dd if=/dev/ad8s1d of=/home/chris/tmp.dat bs=64k count=100 On my system that gives about a factor of 8 faster performance. To get a better idea on how fast the disk actually is (with less overhead from the filesystem, and with less seeking involved) (and also to get bigger numbers :-) ) try sending the output to /dev/null instead of an actual file. (I.e. use of=/dev/null instead of of=/home/chris/tmp.dat) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb to ethernet converter
If that is the case, how is it that the protocol can work over direct connection to USB port and not over ethernet? This area needs a little clarification. All we are changing is the physical interface, but keeping the rest of the filters, which do the printer specific conversion to bitmaps (or whatever that format is) the same. So the only change would be in the physical connection. I just need to know more details why it cannot work. Cheers, Joe Kevin Stevens wrote: On Sunday, Aug 24, 2003, at 18:47 US/Pacific, Joseph I. Davida wrote: I would like to use a usb-2-ethernet converter (Aopen has one - found it at a web site for $12). What I want to use it for is to convert a usb device like a printer to an ethernet connected printer. It's not going to work. You need a print server of some kind (lpr, Novell, AppleTalk) to handle connectivity protocol and spooling. That functionality is provided via Ethernet print servers or cards - just converting the raw signaling isn't enough. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb to ethernet converter
Why not just use a USB to Ethernet Printserver, like the Cables To Go Jetlan 3250 http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=485818Sku=C184-28802CatId=206 It'd make your life a lot easier then what your trying to do ** Jeremy D. Pavleck [EMAIL PROTECTED] On Sun, 24 Aug 2003, Joseph I. Davida wrote: If that is the case, how is it that the protocol can work over direct connection to USB port and not over ethernet? This area needs a little clarification. All we are changing is the physical interface, but keeping the rest of the filters, which do the printer specific conversion to bitmaps (or whatever that format is) the same. So the only change would be in the physical connection. I just need to know more details why it cannot work. Cheers, Joe Kevin Stevens wrote: On Sunday, Aug 24, 2003, at 18:47 US/Pacific, Joseph I. Davida wrote: I would like to use a usb-2-ethernet converter (Aopen has one - found it at a web site for $12). What I want to use it for is to convert a usb device like a printer to an ethernet connected printer. It's not going to work. You need a print server of some kind (lpr, Novell, AppleTalk) to handle connectivity protocol and spooling. That functionality is provided via Ethernet print servers or cards - just converting the raw signaling isn't enough. KeS ___ [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: usb to ethernet converter
On Sunday, Aug 24, 2003, at 20:26 US/Pacific, Joseph I. Davida wrote: If that is the case, how is it that the protocol can work over direct connection to USB port and not over ethernet? This area needs a little clarification. All we are changing is the physical interface, but keeping the rest of the filters, which do the printer specific conversion to bitmaps (or whatever that format is) the same. So the only change would be in the physical connection. Exquisite reasoning. By the same token, an airplane shouldn't need wings, since it's just like a car except for the physical transport medium. I just need to know more details why it cannot work. Yes, that's clear. Seems you have some studying to do. Good luck! KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb to ethernet converter
At 2003-08-25T03:26:10Z, Joseph I. Davida [EMAIL PROTECTED] writes: If that is the case, how is it that the protocol can work over direct connection to USB port and not over ethernet? I'm not entirely sure what you mean by protocol, but I think you're referring to the stream of printing codes sent from the computer to the printer. This area needs a little clarification. All we are changing is the physical interface, but keeping the rest of the filters, which do the printer specific conversion to bitmaps (or whatever that format is) the same. So the only change would be in the physical connection. Not even close. A computer needs a special driver to communicate with a USB printer connected to it. Since this is commonly part of the OS, you don't usually think of it, but it's there nonetheless. The computer needs a different driver to communicate with a network adapter. In reverse, your printer has drivers to decode the incoming signal from your computer. It has no idea of how to decode the incoming signal from a network adapter. As a simple example of that lack of functionality, how would you tell your printer to set an IP address on the network adapter attached to it? Short answer: you can't. Your printer has no concept of a network stack. -- Kirk Strauser ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hard disk performance issue
On Sun, Aug 24, 2003 at 10:18:05PM -0500, Chris Newman wrote: Hmm... when I do what you suggest, here's what I get... tigger# dd if=/dev/ad8s1d of=/dev/null bs=64k count=100 100+0 records in 100+0 records out 6553600 bytes transferred in 0.147501 secs (44430888 bytes/sec) tigger# dd if=/dev/ad8s1d of=/dev/null bs=100k count=100 100+0 records in 100+0 records out 1024 bytes transferred in 0.230168 secs (44489246 bytes/sec) tigger# dd if=/dev/ad8s1d of=/dev/null bs=200k count=100 100+0 records in 100+0 records out 2048 bytes transferred in 0.429506 secs (47682693 bytes/sec) ~47MB ? huge difference I'm still not sure at this point what the best way is to evaluate whether I'm getting my money's worth out of this disk/controller. How do I do a good benchmark of the speed? /usr/ports/benchmarks/bonnie++ with and without the new controller? Of course, that'll only tell you if it's faster. Value means that you're paying for extra speed that you actually /need/. The best way to measure this is to benchmark whatever you use this particular computer for and decide if any speed difference is worth the price of the controller. -T -- The supreme irony of life is that hardly anyone gets out alive. - Robert Heinlein ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portinstall -P x11/gnome2
I aborted this installation part-way through, because it didn't seem to pass the -P switch to its dependencies. Am I wrong? And if so, is there any way to have Gnome2 build with as many packages (rather than ports) as possible? Yes, I've tried portinstall -PR, which works with most other (non-meta) ports, but not gnome2. I'm using portupgrade-20030723 on 4.8-STABLE. -- Anthony Chavez http://www.anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Formatting a floppy - Help required.
I tried a simple command of formatting a floppy drive #fdformat /dev/fd0 It comes up with an output Errors encountered: cyl Head Sect Error 0 0 1 no address mark in ID field 0 1 1 no address mark in ID field 1 0 1no address mark in ID field 1 1 1 no address mark in ID field etc I tried the command fdformat /dev/fd0.1440 and fdformat -f 1440 /dev/fdo but the result is the same. Am I doing something wrong? I am using freebsd 5.1. I had no such problems when I was using version 4.0 Verghese George ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dumping/reading memory space of a running program.
On 08/25/03 02:36 AM, Sten Daniel S?rsdal sat at the `puter and typed: How do i read/dump the entire memory space of a running program? Is this possible? I really dont have the option of restarting it. If you have access to all the structures in the process, you could whip up a perl script that parses the output of nm(1) and parse the /proc/filesystem for the process to pick and choose the data points you want to see. I've seen (and done, to an extent) the same thing on Solaris, and for data structures that aren't too complex , it's not too tough. Depending on the system, 2 levels of member structures gets a bit deep to get through a big store. You'll need to really read up on the procfs(5), nm(1), and the seek, sysread, and unpack commands in perl to get it to work. HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ innovate, v.: To annoy people. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Formatting a floppy - Help required.
Hello, Usually any type of floppy error can be associated with a 'bad' floppy. If you've ever taken a floppy apart you will quickly realize that the magnetic surface of the floppy has the feel and consistency of tissue paper. As well the majority of floppies are treated, myself included, as throwing stars or other dust to be introduced by how I treat it methods. If I were you I would try a new floppy and see if you can format then. You as well might look into the /etc/disktab file close to the top for other instructions on how to format a floppy. NOTE: I have gotten error messages using FreeBSD/Linux/Tru64 and no messages on a Win32 boxen on one floppy. Then trusting the Win32 I ended up losing data later when it finally reported that the floppy was no good. I hope this helps somewhat. R. PS I have heard that manufactuers only warranty their floppies for 3 months from time of manufacture. That and the relative slow transfer speed makes you wonder why we haven't moved to other more sexy methods of booting up. On Mon, 25 Aug 2003, Verghese George wrote: I tried a simple command of formatting a floppy drive #fdformat /dev/fd0 It comes up with an output Errors encountered: cyl Head Sect Error 0 0 1 no address mark in ID field 0 1 1 no address mark in ID field 1 0 1no address mark in ID field 1 1 1 no address mark in ID field etc I tried the command fdformat /dev/fd0.1440 and fdformat -f 1440 /dev/fdo but the result is the same. Am I doing something wrong? I am using freebsd 5.1. I had no such problems when I was using version 4.0 Verghese George ___ [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: Evolution Message Summary View
On Sun, 2003-08-24 at 18:33, William Bloom wrote: I've just installed the Evolution 1.4.4 port and I'm generally pleased, with reservations. I've encountered the inbox permission problem reported in other posts to freebsd-questions, but also I've noticed that there seems to be a date/time formatting problem in the message summary view that's not been mentioned in earlier posts. For that matter, I've seen nothing referencing this problem in the issue list at http://developer.ximian.org/projects/evolution. The symptom is that a message's date/time is shown as expected when the view is first displayed after Evolution startup. But if -any- other view is displayed (i.e. Summary), then on return to the message summary the date/times all are evidently displayed with a UTC time offset (0) instead of the correct one. Once this occurs, the date/time never returns to the current offset until Evolution is stopped and restarted. Has anyone else seen this as well, or know a workaround? Ah, that's the catalyst. There have been numerous reports of this problem, but I was never able to reproduce it. Switching views is the catalyst. I suspect this is not a FreeBSD bug, but now that I have a definite catalyst, I will take this to the Ximian people, and see what they have to say. Joe Bill -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: usb to ethernet converter
Hmm... so exactly what are the wings you are talking about with respect to printing via a USB port that are absent when the communication is over ethernet? As I said in my message: This area needs a little clarification. So, if you are unable to explain these wings, (and you did not explain them at all), how can you assume they exist? I think your analogy is insuffient to explain the reason why the printer's protocol works over USB and not over an ethernet link to - ethernet-2-usb-converter - to usb printer. So, let us all benefit from your brilliant and exuisite mind (sic :) and explain to all of us how and why the upper level printer-specific print protocol depends on the physical communication layer, which has it's own protocol that has absolutely nothing to do specifically with printing? The USB bus can have many different devices connected to it, so it can not be dedicated to handling only the printer protocol. I repeat, I am seeking knowledgeable explanation of how and why it would work or not work. Thanks to any and all who care to explain this clearly. Cheers, Joe Kevin Stevens wrote: On Sunday, Aug 24, 2003, at 20:26 US/Pacific, Joseph I. Davida wrote: If that is the case, how is it that the protocol can work over direct connection to USB port and not over ethernet? This area needs a little clarification. All we are changing is the physical interface, but keeping the rest of the filters, which do the printer specific conversion to bitmaps (or whatever that format is) the same. So the only change would be in the physical connection. Exquisite reasoning. By the same token, an airplane shouldn't need wings, since it's just like a car except for the physical transport medium. I just need to know more details why it cannot work. Yes, that's clear. Seems you have some studying to do. Good luck! KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
glib2.2.2 not getting recognized
Hello, I have been trying to install certain ports that require GLIB 2.0.0 or greater but have been unfortunately failing. For whatever reason it is not detecting that I have GLIB 2.2.2 installed - which does show up in the 'ls /var/db/pkg'. The error message I get when installing the ports is as follows: checking for GLIB - version = 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. Thanks in advanced, Nicholas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: glib2.2.2 not getting recognized
On Mon, 2003-08-25 at 05:48, Nicholas Fitzgerald wrote: Hello, I have been trying to install certain ports that require GLIB 2.0.0 or greater but have been unfortunately failing. For whatever reason it is not detecting that I have GLIB 2.2.2 installed - which does show up in the 'ls /var/db/pkg'. The error message I get when installing the ports is as follows: This isn't very useful without the config.log. Chances are there is a problem building binaries that are linked with glib20. Joe checking for GLIB - version = 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. Thanks in advanced, Nicholas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
How to ensure dependency is compiled with some flags?
Hello, All! I'm porting one piece of software, which depends on PHP. The problem is that PHP must be built with two options: WITH_SOCKETS and WITH_SNMP. So, how do I force the port to pull PHP with theese options? Thanks in advance! -- regards, Sergey Akifyev [EMAIL PROTECTED] JSC Gascom http://www.gascom.ru PGP key available from: ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt signature.asc Description: This is a digitally signed message part
Re: How to ensure dependency is compiled with some flags?
On Mon, 2003-08-25 at 05:56, Sergey Akifyev wrote: Hello, All! I'm porting one piece of software, which depends on PHP. The problem is that PHP must be built with two options: WITH_SOCKETS and WITH_SNMP. So, how do I force the port to pull PHP with theese options? Create a slave port. This wouldn't be cacti you're porting, would it? Joe Thanks in advance! -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: usb to ethernet converter
Mr Kevin, You neither answered my question, nor do you have any idea what the word polite means, as you have so clearly demonstrated in all your replies. I think you should get out of the loop since you obviously are incompetent to answer the question. You do not own this distribution list, nor are you a representative thereof, nor are you the FreeBSD developer community's elected spokesperson. As you are ill-equipped to answer answer technical questions sent to an email address created for just such a purpose, the least you could do is shut up, and let technically knowledgeable individuals reply. Joe Kevin Stevens wrote: I thought I told you to run along and do your own homework, kiddie. I answered your question politely the first time, and you wanted to argue about it. I don't. Toddle along, now. KeS On Sunday, Aug 24, 2003, at 22:43 US/Pacific, Joseph I. Davida wrote: I have sen a few print servers. Some can handle multiple printers of different brands and models. SOme print server I have seen connect to printers via a set of parallel ports, others via USB ports, and others via a combination. Would you say that the print server has built-in protocols for every printer on the market? Or does it merely act as a store-and forward device, sort of like a buffer? Cheers, Joe Kevin Stevens wrote: On Sunday, Aug 24, 2003, at 18:47 US/Pacific, Joseph I. Davida wrote: I would like to use a usb-2-ethernet converter (Aopen has one - found it at a web site for $12). What I want to use it for is to convert a usb device like a printer to an ethernet connected printer. It's not going to work. You need a print server of some kind (lpr, Novell, AppleTalk) to handle connectivity protocol and spooling. That functionality is provided via Ethernet print servers or cards - just converting the raw signaling isn't enough. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to ensure dependency is compiled with some flags?
On Mon, Aug 25, 2003 at 09:56:49AM +0400, Sergey Akifyev wrote: I'm porting one piece of software, which depends on PHP. The problem is that PHP must be built with two options: WITH_SOCKETS and WITH_SNMP. So, how do I force the port to pull PHP with theese options? See ports/mail/imp3/MAkefile about line 180 where they do ${LDD} ${PHPSO} on how you might want to do it. Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]|Weblog: http://www.mavetju.org/weblog/weblog.php ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to ensure dependency is compiled with some flags?
On Mon, 2003-08-25 at 11:09, Edwin Groothuis wrote: On Mon, Aug 25, 2003 at 09:56:49AM +0400, Sergey Akifyev wrote: See ports/mail/imp3/MAkefile about line 180 where they do ${LDD} ${PHPSO} on how you might want to do it. Very interesting solution, thanks! Edwin -- regards, Sergey Akifyev [EMAIL PROTECTED] JSC Gascom http://www.gascom.ru PGP key available from: ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt signature.asc Description: This is a digitally signed message part
Re: How to ensure dependency is compiled with some flags?
Selon Sergey Akifyev [EMAIL PROTECTED]: On Mon, 2003-08-25 at 11:09, Edwin Groothuis wrote: On Mon, Aug 25, 2003 at 09:56:49AM +0400, Sergey Akifyev wrote: See ports/mail/imp3/MAkefile about line 180 where they do ${LDD} ${PHPSO} on how you might want to do it. Very interesting solution, thanks! Remark: with this solution, you have to mark your port as interactive, because it won't build on bento. -- Th. Thomas This message was sent using IMP, the Internet Messaging Program. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem building Gnome2
Sorry to repost this under a different subject line, and also since it sems there's been a lot of Gnome2 discussion lately, but I'm having trouble building Gnome2 from Ports. I keep getting stuck on the build of scrollkeeper, at a line: /usr/libexec/elf/ld: cannot find -lgiconv I believe I'm fully up to date with relevant ports; it seems that lgiconv is related to the libiconv port but I have the newest version of this. Any suggestions for what to do to get this built? I had to delete all of Gnome1 to get started, and it's proving difficult to get much work done with no desktop Thanks! Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Formatting a floppy - Help required.
On Monday 25 August 2003 12:49 am, Technical Director wrote: If I were you I would try a new floppy and see if you can format then. You as well might look into the /etc/disktab file close to the top for other instructions on how to format a floppy. I too am having problems with formatting floppies in 5.1. Went thru a handful of floppies I regularly use and none worked. I don't have anything but FreeBSD on this machine for a 2nd opinion on the condition of its hardware but the same floppies formatted without error and seem to work in another machine with NT4. On return from NT4 I was unable to write files without 100% low level errors to the floppies with mcopy but was able to read what the NT4 machine wrote. The last time this sort of thing happend I found an oddball BIOS setting put an end to the problem in FreeBSD where NT4 had no problems. Have not had that problem with this MB and RELENG_4. -- David Kelly N4HHE, [EMAIL PROTECTED] = The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I asked before - sendmail relay problem
Nobody answered - sendmail seems open to a colon hack - and I cannot find a solution for love or money (the newest sendmail's cf still has this) The header from ordb that manages a relay is To: @buffnet.net:@buffnet.net:marvin@marvin.ordb.org Any ideas short of gettin a new mta? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cvsup script question
Hi, i did some minor alterations to the script by #!/usr/local/bin/bash /usr/local/bin/cvsup -g -L 0 /etc/cvsupfile # Keep quiet except for errors /usr/local/sbin/portsdb -Uu /dev/null # Hopefully, show only errors /usr/local/sbin/pkgdb -aF /bin/echo /bin/echo Updated ports: /usr/local/sbin/portversion | grep # Show only changed ports but strangly, at least for me, is that the 2nd line the output is not being redirected to /dev/null and if i execute this script i still get lots of output... - Original Message - From: Lowell Gilbert To: Charles Howse Cc: [EMAIL PROTECTED] Sent: Friday, August 22, 2003 4:24 PM Subject: Re: Cvsup script question Charles Howse [EMAIL PROTECTED] writes: Hi, I'm cvsup'ing from a script in /usr/local/etc/periodic/daily. Here 'tis: #!/usr/local/bin/bash Echo Echo Output of cvsup: /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile Echo Echo Output of portsdb: /usr/local/sbin/portsdb -Uu Echo Echo Output of portversion: /usr/local/sbin/portversion It works, but (1) produces a ton of output, (2) I'm seeing a lot of lines in the output of portsdb that say, (some port) non-existent, dependency list incomplete. Are those lines in the output of portsdb coming from STDOUT or STDERR, or are they completely normal? How about we alter the script as follows to keep the output down a little?#!/usr/local/bin/bash /usr/local/bin/cvsup -g -L 0 /etc/cvsupfile # Keep quiet except for errors /usr/local/sbin/portsdb -Uu /dev/null # Hopefully, show only errors Echo Echo Updated ports: /usr/local/sbin/portversion | grep # Show only changed ports Will these changes break anything? No. If in doubt, redirect to files instead of to /dev/null. ___ [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: Cvsup script question
On Mon, Aug 25, 2003 at 03:32:25PM +0100 or thereabouts, Marco Gon?alves wrote: Hi, i did some minor alterations to the script by #!/usr/local/bin/bash /usr/local/bin/cvsup -g -L 0 /etc/cvsupfile # Keep quiet except for errors /usr/local/sbin/portsdb -Uu /dev/null # Hopefully, show only errors /usr/local/sbin/pkgdb -aF /bin/echo /bin/echo Updated ports: /usr/local/sbin/portversion | grep # Show only changed ports but strangly, at least for me, is that the 2nd line the output is not being redirected to /dev/null and if i execute this script i still get lots of output... I bet portsdb is putting its progress messages on standard output. (Programs seem to do that a lot, since stderr is unbuffered). Try: /usr/local/sbin/portsdb -Uu /dev/null 21 || { echo FAILED to run portsdb; exit 1 } That will not give you the error output, but if there's an error it will say so and exit. (You can run portsdb manually and see!) -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewire vs IDE DVD.
I'm hoping someone can help me out here. I recently moved a firewire card and DVD drive that had been in my FreeBSD box to another computer. I replaced it with an IDE DVD drive. The probelm is that now I can't get mplayer or vlc to play any DVDs that had previously worked with the firewire drive. I have, of course, made sure that /dev/dvd is a symbolic link to /dev/acd0 instead of /dev/cd0 (as it used to be). The only difference that I can think of is that FreeBSD sees the firewire drive as a scsi drive and sees the ide drive as an ide drive. Is DVD playback just not supported on IDE drives on FreeBSD -CURRENT? Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mailman
I am getting these signal 11 core dumps on the mailman (python) helper programs and seen something to do with gcc that might be affecting it. Someone suggested rebuilding gcc to the next rev but I thought i would run it across the list and see if anyone else is having this problem or has the fix. I can successfully build world and no other crashes are occurring on this EPIA M1000 4.8-stable as of about 2 weeks ago. Checking setuid files and devices: Checking for uids of 0: root 0 toor 0 Checking for passwordless accounts: mydomain.com kernel log messages: pid 25536 (python), uid 91: exited on signal 11 (core dumped) pid 156 (python), uid 91: exited on signal 11 (core dumped) mydomain.com login failures: mydomain.com refused connections: -- End of security output -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hard drive mount points damaged - reinstall to fix?
Is there a way to overwrite the /dev entries and mount points on the damaged drive, reinstall system files, but still preserve my user data? I guess you could boot a fixit disk, mount your hard drive on it, and then rebuild... Except I couldn't mount. There was too many errors on the drive. What I -was- able to do was first fix the slices, first with fsck -b 32 and then with simply fsck. I was not able to reinstall again. Perhaps there is some permanent damage to the drive. I -was- able to copy all important data to a new drive. Whew!. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb to ethernet converter
On Mon, 25 Aug 2003, Joseph I. Davida wrote: I think you should get out of the loop since you obviously are incompetent to answer the question. Um, I *was* out of the loop, see below. You do not own this distribution list, nor are you a representative thereof, nor are you the FreeBSD developer community's elected spokesperson. You didn't send the message you quote below to the list. You sent it as a private email to me. Now you've posted my private response to the list. Oops. As you are ill-equipped to answer answer technical questions sent to an email address created for just such a purpose, the least you could do is shut up, and let technically knowledgeable individuals reply. (laughing) Ok, buckaroo, if you'll stop posting private email to the list, it's a deal. Run along now. KeS Joe Kevin Stevens wrote: I thought I told you to run along and do your own homework, kiddie. I answered your question politely the first time, and you wanted to argue about it. I don't. Toddle along, now. KeS On Sunday, Aug 24, 2003, at 22:43 US/Pacific, Joseph I. Davida wrote: I have sen a few print servers. Some can handle multiple printers of different brands and models. SOme print server I have seen connect to printers via a set of parallel ports, others via USB ports, and others via a combination. Would you say that the print server has built-in protocols for every printer on the market? Or does it merely act as a store-and forward device, sort of like a buffer? Cheers, Joe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
motd question
Probably not possible, but I was wondering (and have for some time, though I can't find any info on it either way) whether /etc/motd is strictly a text in/text out file, or if there is a way to get it to execute a command, the output of which is to be included in the text output? TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Make it right before you make it faster. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lack of pthread_atfork() in FreeBSD 4.8
Hi everybody! I've got a problem when compiling Peter Gutmann's CryptLib under FreeBSD 4.8 as it needs some unimplemented function in pthreads library pthread_atfork(). How can I handle this? Is it implemented in 5.x? Or any other way out? Any help will be usefull :0) Alexander Komratov ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lack of pthread_atfork() in FreeBSD 4.8
In the last episode (Aug 25), Alex said: I've got a problem when compiling Peter Gutmann's CryptLib under FreeBSD 4.8 as it needs some unimplemented function in pthreads library pthread_atfork(). How can I handle this? Is it implemented in 5.x? Or any other way out? Any help will be usefull :0) Use the port? /usr/ports/security/cryptlib builds just fine for me on 4.x and 5.x -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
About Sony i.Link
How can i install FreeBsd 5.1 from CDROM - Sony i.LINK CD-RW DVD-ROM Drive IEEE 1394 SBP2? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Proc Size Mismatch
Hi, I am running a 4.7 stable machine on a p1 120. With 16meg of ram. ITs function is a secondary DNS server. IT has been running very stable until this weekend. The machine froze for some or other reason. Upon reboot, i was told it couldnt FSCK the drives and I had to do it manually. Okay, cool, fine, no problem, did it manually, and got it to boot. Now when i login and try and type something, these are the errors im getting: [EMAIL PROTECTED] ~ # ps -ax ps: proc size mismatch (27664 total, 1056 chunks) [EMAIL PROTECTED] ~ # [EMAIL PROTECTED] ~ # killall -HUP named proc size mismatch (27664 total, 1056 chunks) userland out of sync with kernel, recompile libkvm etc [EMAIL PROTECTED] ~ # [EMAIL PROTECTED] ~ # uptime 7:08PM up 4:46, 1 user, load averages: 0.00, 0.00, 0.00 [EMAIL PROTECTED] ~ # [EMAIL PROTECTED] ~ # uname -a FreeBSD dns.domainnamehere 4.8-STABLE FreeBSD 4.8-STABLE #4: Wed Aug 13 01:37 :17 SAST 2003[EMAIL PROTECTED]:/usr/src/sys/compile/DNS i386 [EMAIL PROTECTED] ~ # Any ideas anyone ? Do i need to format and reload ? What can i do to help this? Ian P.S. Oh, i was doing a buildworld when i froze! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About Sony i.Link
DenniZ wrote: How can i install FreeBsd 5.1 from CDROM - Sony i.LINK CD-RW DVD-ROM Drive IEEE 1394 SBP2? Does your Sony's BIOS support booting via a firewire CDROM? If not, look into using floppy disks to boot from, or you can perform the install over a network (if your NIC can do PXE). As a last resort, you could even take the hard drive out of the Sony (a laptop?, I'd gather) and do the FreeBSD install on different hardware which can boot from the CD. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: motd question
Louis LeBlanc wrote: Probably not possible, but I was wondering (and have for some time, though I can't find any info on it either way) whether /etc/motd is strictly a text in/text out file, or if there is a way to get it to execute a command, the output of which is to be included in the text output? /etc/motd is a text file, and is displayed due to the following section /etc/login.conf: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ FYI, most other flavors of Unix have a cat /etc/motd in the default shell init files. Anyway, if you want to dynamicly generate motd, you could invoke your program via cron or simply put something in /etc/profile which will display whatever it is you want to see (if for all users), or in ~/.profile [ ~/.login, ~/.zlogin, etc] -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Evolution Message Summary View
Good to hear that this isn't unique to me, but I have to correct myself. Experimenting further, I find that it's not quite true that switching to -any- view triggers the oddness. For example, switching from the inbox to the tasks view and back seems to not be a problem. Ditto for the contacts view. In my case, though, since I've only have a couple of hours flight time with Evolution, I've not yet defined any tasks or contacts so these views are empty, anyway. Bill On Sun, 2003-08-24 at 22:11, Joe Marcus Clarke wrote: On Sun, 2003-08-24 at 18:33, William Bloom wrote: I've just installed the Evolution 1.4.4 port and I'm generally pleased, with reservations. I've encountered the inbox permission problem reported in other posts to freebsd-questions, but also I've noticed that there seems to be a date/time formatting problem in the message summary view that's not been mentioned in earlier posts. For that matter, I've seen nothing referencing this problem in the issue list at http://developer.ximian.org/projects/evolution. The symptom is that a message's date/time is shown as expected when the view is first displayed after Evolution startup. But if -any- other view is displayed (i.e. Summary), then on return to the message summary the date/times all are evidently displayed with a UTC time offset (0) instead of the correct one. Once this occurs, the date/time never returns to the current offset until Evolution is stopped and restarted. Has anyone else seen this as well, or know a workaround? Ah, that's the catalyst. There have been numerous reports of this problem, but I was never able to reproduce it. Switching views is the catalyst. I suspect this is not a FreeBSD bug, but now that I have a definite catalyst, I will take this to the Ximian people, and see what they have to say. Joe Bill -- William Bloom [EMAIL PROTECTED] (602) 604-3100 Eldorado Computing, Inc. 5353 North 16th Street, Suite 400 Phoenix, Az 85016 http://www.eldocomp.com -- CONFIDENTIALITY NOTICE -- This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About Sony i.Link
FreeBSD -CURRENT recognized the firewire DVD-ROM drive I had attached to it. If the install floppies support IEEE1394 (and I don't know if they do), the DVD-ROM drive will just show up as /dev/cd* (depending on the number of SCSI or firewire drives on the machine) Have you tried booting off the floppies and seeing if it recognizes the drive? Adam On Mon, 25 Aug 2003, DenniZ wrote: How can i install FreeBsd 5.1 from CDROM - Sony i.LINK CD-RW DVD-ROM Drive IEEE 1394 SBP2? ___ [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]
mgapdesk crash
I am curious if anybody has had any luck using the mgapdesk port. A friend of mine has a computer with a matrox g550 installed, after a fresh install of 4.8, newest X port and running X -configure, the mgapdesk program seems to just crash the X server every time it is run. It generates a core file, but I am not diving into X that deeply ;p All that program does if I recall, is just to help re-generate the X config with options to enable multi-monitors and such I was simply interested in seeing if I can get his tv output to work, if I can't, then I won't be able to convince him to stick with FreeBSD :( Thanks, -James ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailman
george wrote: I am getting these signal 11 core dumps on the mailman (python) helper programs and seen something to do with gcc that might be affecting it. Someone suggested rebuilding gcc to the next rev but I thought i would run it across the list and see if anyone else is having this problem or has the fix. Which version of Python are you running, and is it via the port? Python includes a pretty thorough test-suite; it might be useful to run that and see whether you can get it to crash. Also, see whether you can get a coredump and take a look at the backtrace to see where the error is happening, although random failures in long-running processes could be a sign of hardware problems rather than a software issue. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: motd question
On Mon, Aug 25, 2003 at 12:37:44PM -0400 or thereabouts, Louis LeBlanc wrote: Probably not possible, but I was wondering (and have for some time, though I can't find any info on it either way) whether /etc/motd is strictly a text in/text out file, or if there is a way to get it to execute a command, the output of which is to be included in the text output? You could make it a FIFO and put a Perl script or something at the other end, if you want dynamically-generated output. For example: --snip-- #!/usr/bin/env perl use constant FILE = /etc/motd; use POSIX qw/setsid mkfifo/; # Comment these if you want it to run in foreground: exit 0 if fork; setsid; while (1) { unless (-p FILE) { unlink FILE; mkfifo FILE, 0644; } my $fortune_msg; open FORTUNE, /usr/bin/env fortune | or die Can't open pipe from fortune: $!\n; $fortune_msg .= $_ while FORTUNE; close FORTUNE; open FIFO, .FILE or die Can't open .FILE. for writing: $!\n; print FIFO $fortune_msg; close FIFO; sleep 2; } --snip-- would generate a `fortune' message every time someone read motd. Run it like so: # /path/to/fortunemotd.pl Note that this script will *DELETE YOUR EXISTING MOTD*... back it up first. If you want to use this for something else, for example a .signature, change the `use constant FILE = the-file-goes-here-in-quotes' line. If you have two (or more) of these things running, it can produce unexpected results. Be careful. -- Josh TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Make it right before you make it faster. ___ [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: Proc Size Mismatch
On Mon, Aug 25, 2003 at 07:14:03PM +0200 or thereabouts, Ian Barnes wrote: Hi, I am running a 4.7 stable machine on a p1 120. With 16meg of ram. ITs function is a secondary DNS server. IT has been running very stable until this weekend. The machine froze for some or other reason. Upon reboot, i was told it couldnt FSCK the drives and I had to do it manually. Okay, cool, fine, no problem, did it manually, and got it to boot. Now when i login and try and type something, these are the errors im getting: [ ... ] userland out of sync with kernel, recompile libkvm etc ^^ [ ... ] Any ideas anyone ? Do i need to format and reload ? What can i do to help this? RTS -- and buildworld/installworld. -- Josh Ian P.S. Oh, i was doing a buildworld when i froze! Weird. Try re-cvsupping maybe. ___ [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: I have a 10.8 hard drive free and
Bill [EMAIL PROTECTED] writes: Would like to download and install FreeBSD, and enough apps to make it productive. How long for the download and install the workable core of FreeBSD OS on a 56K modem line? I think the apps will probably be a variety of d/l times, but anidea for Netscape or Mozilla, word processor, spreadsheet, ECT, would give me a start on how long I'd have to work at it to make it productive. Probably a day or two, cumulative. Might be worth buying a set of CD-ROMs. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php4-cgi -- internal server errror
Hi, sorry, I've already posted this into the German user list, but as I am still completely stuck I hope to find some more hints/help here. Systems: FreeBSD 4.7 (mod_php4 - a little changed) 4.8 (php4-cgi - the latest) Apache 1.3.27 and 28 We need to run php as cgi, because of the requirements of software we run (called umn-mapserver - if somebody knows). Half a year ago I basically followed the instructions I found on the umn-mapserver wiki-pages: I quote, that's shorter: (http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI) quote PHP's default 'configure' behavior is to build a 'php' CGI executable. It's the --with-apxs and/or --with-apache PHP configure options that enable PHP to be built as an Apache DSO. ...to build PHP as a CGI ... don't provide the --with-apxs or --with-apache switch to the PHP configure. Then once you have a 'php' executable, copy it to your server's cgi-bin directory and add to your httpd.conf: AddType? application/x-httpd-php .php3 AddType? application/x-httpd-php .phtml AddType? application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php /quote As I could not find an ordinary php-port (not sure now, it's month ago), I removed one --with-apxs entry within the Makefile from www/mod_php4 (!) and php ran as cgi! Half a year later, I updated the ports-tree and I was happy to see a www/php4-cgi port and immediately checked this out on a test system. This time, I did not edit the php4-cgi makefile of course, as I expected to have php4 as cgi compiled. I again copied the php-binary, as said above to cgi-bin and surprisingly saw only 500 - internal server error and I found a Premeture end of script headers: /usr/local/www/cgi-bin/php in httpd-error.log. One thing you have to know is, that our scripts are in /usr/local/www/data/our-php-application. This worked on this 4.7/this edited mod_php4-system very well. I posted to the Germany user list, checked google. I found a few hints, but nothing really helped. e.g.: http://www.php.net/manual/en/security.cgi-bin.php http://httpd.apache.org/docs/howto/cgi.html My question basically is: How do I setup this php/cgi environment? One way, I was told and can be found on php.net is to add a #!/usr/local/lib/php on top of every php-Skript and all scripts need chmod a+x and need to be in /cgi-bin. This would work. But it is a little uncomfortable way and the main thing is that it would not work with our php-application, which is a set of css, html, php, pictures, so pictures, css, etc would be parsed, too! There are other solutions, one with an AddHandler directive in httpd.conf, but I don't get that running. As it worked half a year ago and as there is a similar way in IIS, to map an extension (.php) to an application (c:\php\bin\php.exe), I suppose that there is a similar way, but I am just to blind to find the solution! My second question is: Why did it work with those instructions from umn-mapserver wiki-pages and why does the same thing not work now? One way to find out, what's wrong, was to cp /bin/cat to /usr/local/www/cgi-bin/php. But the error is the same. I would be very grateful for hints/help! Thanks in advance! Best Regards, Benjamin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail question part 2
More looking on my earlier relay issue, its exploting route-addr - yet I still cant find a way to plug it up.. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFee86 problems
bogdan czajkowski [EMAIL PROTECTED] writes: Could you help me to solve the problem I have with the XFree86 installation. I installed and configured X ok, but after I type startx I am getting a white blinking screen. I'd like to see your /etc/X11/XF86Config file as well. You are loading some strange modules there. -- Alexander Pohoyda [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewire vs IDE DVD.
Me again. I've grabbed the output from mplayer and the dump from ktrace/kdump and posted them at: http://memory.visualtech.com/kdump.txt (975 kB) http://memory.visualtech.com/mplayer.txt (1 kB) From mplayer.txt, you see that it's complaing: Couldn't open DVD device: /dev/dvd Now /dev/dvd is a symlink to /dev/acd0: [ [EMAIL PROTECTED] - /usr/home/adamk ]: ls -l /dev/dvd lrwxr-xr-x 1 root wheel 3 Aug 25 15:54 /dev/dvd - /dev/acd0 And /dev/acd0 looks like: [ [EMAIL PROTECTED] - /usr/home/adamk ]: ls -l /dev/acd0 crw-r--r-- 1 root operator 117, 0 Aug 25 15:36 /dev/acd0 Note: user 'adamk' is part of the 'operator' group. In addition, I've tried this as root just in case there's some strange permission thing going on. Still no luck. *Any* ideas? Adam On Mon, 25 Aug 2003, Adam K Kirchhoff wrote: I'm hoping someone can help me out here. I recently moved a firewire card and DVD drive that had been in my FreeBSD box to another computer. I replaced it with an IDE DVD drive. The probelm is that now I can't get mplayer or vlc to play any DVDs that had previously worked with the firewire drive. I have, of course, made sure that /dev/dvd is a symbolic link to /dev/acd0 instead of /dev/cd0 (as it used to be). The only difference that I can think of is that FreeBSD sees the firewire drive as a scsi drive and sees the ide drive as an ide drive. Is DVD playback just not supported on IDE drives on FreeBSD -CURRENT? Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Looking for detailed documentation: Install to existingfilesystem
On Mon, Aug 25, 2003 at 11:52:54AM -0700 or thereabouts, Avleen Vig wrote: On Sun, Aug 24, 2003 at 03:36:41PM -0500, Charles Howse wrote: Hi, I've posted this request to 'questions' with no response, so now I'll ask 'hackers'. I'm a hobbyist, and for my personal education, I would like to learn how to install FBSD from an existing filesystem, rather than from FTP or CD. My intention is to copy the files to a directory on the second HDD of my present FBSD system, and point sysinstall to that partition/directory during the install. This may not answer the questions you posed, but it may be a good start for you. You have two options i can think of, if you want to mimic a traditional /stand/sysinstall installation process. 1) install an FTP server, and choose an FTP install. 2) export the hard drive over NFS, and use that. Or, a better way which I would recommend: download the source code, and put if on the second drive. We'll assume /usr/src and /usr/obj are mounted on the *second* hard drive. Run something like this: cd /usr/src make buildworld a flag* * the 'a flag' is a flag I don't recall off the top of my head, but * it lets you change which drive / other mounted location, the new * build is installed to. Maybe someone else can help here? make buildkernel then when you want to install to a third hard drive, mount it as the location give in 'a flag' to make on the previous step, then run: make make installkernel make installworld mergemaster that should isntall the compiled sources to the new drive pretty quickly. Wrong. The process would be something like: cd /usr/src make buildworld make buildkernel KERNCONF=kernel-config-name-or-GENERIC mount /dev/new-hd /mnt/point make installkernel make installworld DESTDIR=/mnt/point mergemaster reboot -- Josh ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers 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]
Powering off a USB port
Hi all, I'm using a USB Lamp and would like to turn it off when a screensaver starts. From my reading of a USB 2.0 specification I found out that it is possible to power off a USB port via ClearPortFeature(PORT_POWER) call. Has anybody tried this before? What would be the correct place to add this feature to? usbd or usbdevs? -- Alexander Pohoyda [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailman
I was running 2.2_1 and just now upgraded via ports to 2.3_1 I will keep my eye on it and see if it dumps core again. interestingly enough i found this thread http://sourceforge.net/tracker/?group_id=5470atid=105470func=detailaid=493183 - Original Message - From: Chuck Swiger [EMAIL PROTECTED] To: george [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 25, 2003 11:00 AM Subject: Re: Mailman george wrote: I am getting these signal 11 core dumps on the mailman (python) helper programs and seen something to do with gcc that might be affecting it. Someone suggested rebuilding gcc to the next rev but I thought i would run it across the list and see if anyone else is having this problem or has the fix. Which version of Python are you running, and is it via the port? Python includes a pretty thorough test-suite; it might be useful to run that and see whether you can get it to crash. Also, see whether you can get a coredump and take a look at the backtrace to see where the error is happening, although random failures in long-running processes could be a sign of hardware problems rather than a software issue. -- -Chuck ___ [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]
Using chpass
Hi, I'm trying to learn how to use chpass to change a user's name. I'm not getting anywhere, I've read the man page and Googled, but can't find an example. I want to change toor's name to 'Nobody Important'. I do: # chpass -a toor::0:0:Nobody Important:/root:/sbin/nologin toor And I get: Corrupted entry. Can someone please set me straight? Thanks, Charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using chpass
On Mon, Aug 25, 2003 at 03:47:15PM -0500, Charles Howse wrote: Hi, I'm trying to learn how to use chpass to change a user's name. I'm not getting anywhere, I've read the man page and Googled, but can't find an example. I want to change toor's name to 'Nobody Important'. I do: # chpass -a toor::0:0:Nobody Important:/root:/sbin/nologin toor And I get: Corrupted entry. Can someone please set me straight? chpass -a toor::0:0::0:0:Nobody Important:/root:/sbin/nologin toor Note, however, that you're setting the password for this user to a null password, allowing any local user in wheel to su -m toor if you have added /sbin/nologin to /etc/shells. Ceri -- User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com pgp0.pgp Description: PGP signature
Re: lack of pthread_atfork() in FreeBSD 4.8
Dan Nelson wrote: In the last episode (Aug 25), Alex said: I've got a problem when compiling Peter Gutmann's CryptLib under FreeBSD 4.8 as it needs some unimplemented function in pthreads library pthread_atfork(). How can I handle this? Is it implemented in 5.x? Or any other way out? Any help will be usefull :0) Use the port? /usr/ports/security/cryptlib builds just fine for me on 4.x and 5.x It was till cl3.1 beta 5 released I have no actual idea what Peter had changed there since beta 4 that was compiled w/out any problem but I need beta 5 because of SSH problems in previous betas under FreeBSD. I looked through /usr/ports/security/cryptlib and found it just downloading tarball from Peter's ftp with all faults I'm facing every time when compiling it. I mean original makefile ignores -pthread option and hence makes a mass of linker errors to occur. After all my question is still on :0( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Using chpass
Can someone please set me straight? chpass -a toor::0:0::0:0:Nobody Important:/root:/sbin/nologin toor Ahaaa! The quotes! Thank you! Note, however, that you're setting the password for this user to a null password, allowing any local user in wheel to su -m toor if you have added /sbin/nologin to /etc/shells. Understood, if I wanted to keep the same password.wait a minutewhat is the default password for toor? If I wanted to insert a new password, I'd have to use crypt, and paste the encrypted password into the proper field, correct? Proper syntax? Crypt newpassword...? I read the crypt/enigma man page and did: # crypt newpassword (Nothing) ^C # ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lack of pthread_atfork() in FreeBSD 4.8
In the last episode (Aug 26), Alex said: Dan Nelson wrote: In the last episode (Aug 25), Alex said: I've got a problem when compiling Peter Gutmann's CryptLib under FreeBSD 4.8 as it needs some unimplemented function in pthreads library pthread_atfork(). Use the port? /usr/ports/security/cryptlib builds just fine for me on 4.x and 5.x I have no actual idea what Peter had changed there since beta 4 that was compiled w/out any problem but I need beta 5 because of SSH problems in previous betas under FreeBSD. I looked through /usr/ports/security/cryptlib and found it just downloading tarball from Peter's ftp with all faults I'm facing every time when compiling it. I mean original makefile ignores -pthread option and hence makes a mass of linker errors to occur. The pthread_atfork() business is only required for broken pthreads implementations that return a different value for getpid() from each thread (i.e. Linux). He's got his ifdefs backwrds imho. The code in rndunix.c:1270 should test for __LINUX__, instead of testing for all other unixes :) Try adding || defined(__FreeBSD__) to the set of tests on line 1270. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
replacing select with kevent
Hello, is there a howto on this subject? Specifically I am trying to debug a client-server code, with an open TCP socket between the two. If the client exits is the server informed through an event? Should the event flags be checked for EV_EOF or EV_ERROR? Thanks, Vijay Singh Nokia Networks 1-650-743-9632 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]