Re: Questions about processes
On 4/25/05, Lord Raiden [EMAIL PROTECTED] wrote: Hi all. Looking for some info about some processes I've got running on my box. I'm new to 5.3 having used the 4x line for a long time and I'm curious about my process list. When I do ps -ax I get the following list as seen below. Are all of these items really needed and if not, what items can I get rid of and how? The machine in question is a Most of those processes are used by the kernel, some of them, if you aren't using the specific hardware or functionality they provide (such as USB or ktrace) can be disabled by compiling your own kernel (see here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/kernelconfig.html). While this may not provide a *HUGE* performance increase, it may be a good idea to try. I would also recommend, perhaps, adding some more RAM? :-) very simple fetching mail server running on a 500mhz Via Eden Mini-ITX board. Any insight would be welcome. I'm really only asking this because I tend to be a process minimalist. IE I like to have as few processes running as is absolutely necessary. Well, anyways, enough of my babbling. Here's the list. 0 ?? DLs0:00.56 [swapper] 1 ?? ILs0:00.04 /sbin/init -- 2 ?? DL 0:12.09 [g_event] 3 ?? DL 0:13.98 [g_up] 4 ?? DL 0:17.21 [g_down] 5 ?? DL 0:00.00 [thread taskq] 6 ?? DL 0:00.00 [kqueue taskq] 7 ?? IL 0:00.00 [acpi_task0] 8 ?? IL 0:00.00 [acpi_task1] 9 ?? IL 0:00.00 [acpi_task2] 10 ?? DL 0:00.00 [ktrace] 11 ?? RL 2889:39.85 [idle] 12 ?? WL 0:00.00 [irq0: clk] 13 ?? WL 0:00.00 [irq1: atkbd0] 14 ?? WL 0:00.00 [irq3:] 15 ?? WL 0:00.00 [irq4: sio0] 16 ?? WL 0:00.00 [irq5:] 17 ?? WL 0:00.00 [irq6:] 18 ?? WL 0:00.00 [irq7: ppc0] 19 ?? WL 0:00.00 [irq8: rtc] 20 ?? WL 0:00.00 [irq9:] 21 ?? WL 0:00.00 [irq10: uhci0 uhci1] 22 ?? WL 0:01.12 [irq11: vr0] 23 ?? WL 0:00.00 [irq12: acpi0] 24 ?? WL 0:00.00 [irq13:] 25 ?? WL 0:01.86 [irq14: ata0] 26 ?? WL 0:00.00 [irq15: ata1] 27 ?? WL 0:01.20 [swi1: net] 28 ?? WL 3:55.06 [swi5: clock sio] 29 ?? WL 0:00.00 [swi4: vm] 30 ?? DL 0:13.88 [yarrow] 31 ?? WL 0:00.00 [swi6:+] 32 ?? WL 0:00.00 [swi2: camnet] 33 ?? WL 0:00.00 [swi3: cambio] 34 ?? WL 0:00.00 [swi6: acpitaskq] 35 ?? WL 0:00.00 [swi6: task queue] 36 ?? WL 0:00.00 [swi6:+] 37 ?? DL 1:21.80 [acpi_thermal] 38 ?? DL 0:00.03 [usb0] 39 ?? DL 0:00.00 [usbtask] 40 ?? DL 0:00.03 [usb1] 41 ?? WL 0:00.00 [swi0: sio] 42 ?? DL 0:11.71 [pagedaemon] 43 ?? DL 0:00.00 [vmdaemon] 44 ?? DL 0:12.99 [pagezero] 45 ?? DL 0:01.53 [bufdaemon] 46 ?? DL 2:05.27 [syncer] 47 ?? DL 0:01.51 [vnlru] 48 ?? DL 0:00.71 [hpt_wt] 49 ?? IL 0:00.00 [nfsiod 0] 50 ?? IL 0:00.00 [nfsiod 1] 51 ?? IL 0:00.00 [nfsiod 2] 52 ?? IL 0:00.00 [nfsiod 3] 53 ?? DL 0:15.77 [schedcpu] 178 ?? Is 0:00.00 adjkerntz -i 234 ?? Is 0:00.00 /sbin/devd (sshd, spamd and other standard mail stuff running below here) Steven Lake -Owner/Webmaster Raiden's Realm www.raiden.net Come see Monk the comic strip and laugh till you die! :) http://www.raiden.net/Monk/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! Hosted by Envescent, LLC www.envescent.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: iPod 40GB support on FreeBSD 5.4-STABLE/amd64
On 4/20/05, linuxbaby [EMAIL PROTECTED] wrote: On Wed, 2005-04-20 at 11:40 -0400, Alexander Chamandy wrote: I was curious if anyone had got their iPod 40GB working on FreeBSD 5.4-STABLE/amd64? I've tried it under ehci(4) and it isn't properly detected. Sometimes it will even lock the system. When booting up it actually prevents the system from properly starting after it reaches the PATA/SATA drives. After I unplug the iPod from USB the system boots normally. The umass(4) driver shows the iPod when I plug it in, but it does not associate a da device with it. If any more information is desired, let me know. hi i´m not sure what is with 5.4 but on my system FreeBSD 5.3 the ehci doesn´t work see man ehciso the best way is to use the ipod on FreeBSD with firewire maybe this link help but it´s in german http://wiki.bsd-crew.de/index.php/IPod_Firewire_FreeBSD Thanks I'll babelfish it and give it a shot. :-) olli -- linuxbaby [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error: /usr/lib/crt1.o(.text+0x64): In function `_start':
On 4/20/05, Andrew Heyn [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alexander Chamandy Sent: Wednesday, April 20, 2005 10:37 AM To: freebsd-stable@freebsd.org; freebsd-questions@freebsd.org Subject: Error: /usr/lib/crt1.o(.text+0x64): In function `_start': Has anyone seen these sorts of errors when compiling applications (such as PHP or Apache2)? I can buildworld, kernels and most of the ports.. but occasionally I run in to this error: /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' Here's the dmesg: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #5: Wed Apr 6 08:31:13 EDT 2005 I'd say look at the lists pertaining to -STABLE... because -STABLE isnt necessarily I have, noone seems to be having this problem. So, I'll cc the list. what its name implies, so many you need to cvsup and build world/kernel again, and possibly all your other applications. Maybe your /usr/src/UPDATING covers this... It's important I've consistently read it, perhaps I missed something, though. to read. You never said what you're doing when you get that error. I was compiling PHP4 with GD support from source. Andrew H. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dan Gillmor could use some help
On 4/21/05, paul beard [EMAIL PROTECTED] wrote: If anyone has some suggestions (I realize he asked for Linux expertise, but perhaps he's open to a different kind of switch), maybe leave him a comment on his blog? You may want to ask the [EMAIL PROTECTED] list for help on this. I've cc'd it. Your Assistance Requested (Linux Gurus), Please I have a ThinkPad X40 and am looking for a version of Linux that recognizes all the hardware, including the Wi-Fi, and handles suspend/resume. I installed Xandros Linux, which handled the hardware perfectly but not suspend/resume. Anyone know of a distribution that does it all? Dan Gillmor on Grassroots Journalism, Etc. 4/21/05 7:38 AM Dan Gillmor -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com ___ freebsd-advocacy@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
iPod 40GB support on FreeBSD 5.4-STABLE/amd64
I was curious if anyone had got their iPod 40GB working on FreeBSD 5.4-STABLE/amd64? I've tried it under ehci(4) and it isn't properly detected. Sometimes it will even lock the system. When booting up it actually prevents the system from properly starting after it reaches the PATA/SATA drives. After I unplug the iPod from USB the system boots normally. The umass(4) driver shows the iPod when I plug it in, but it does not associate a da device with it. If any more information is desired, let me know. -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error: /usr/lib/crt1.o(.text+0x64): In function `_start':
Has anyone seen these sorts of errors when compiling applications (such as PHP or Apache2)? I can buildworld, kernels and most of the ports.. but occasionally I run in to this error: /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' Here's the dmesg: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #5: Wed Apr 6 08:31:13 EDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/saturn mptable_probe: MP Config Table has bad signature: 4\^C\^_ Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) processor (1331.32-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x644 Stepping = 4 Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR AMD Features=0xc044RSVD,AMIE,DSP,3DNow! real memory = 1610547200 (1535 MB) avail memory = 1572741120 (1499 MB) npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 12 Entries on motherboard pci0: PCI bus on pcib0 $PIR: No matching entry for 0.1.INTA agp0: NVIDIA nForce2 AGP Controller mem 0xe000-0xe1ff at device 0.0 on pci0 pci0: memory, RAM at device 0.1 (no driver attached) pci0: memory, RAM at device 0.2 (no driver attached) pci0: memory, RAM at device 0.3 (no driver attached) pci0: memory, RAM at device 0.4 (no driver attached) pci0: memory, RAM at device 0.5 (no driver attached) isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) pcib1: PCIBIOS PCI-PCI bridge at device 8.0 on pci0 pci1: PCI bus on pcib1 pci1: network, ethernet at device 4.0 (no driver attached) xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x9400-0x947f mem 0xe8004000-0xe800407f irq 12 at device 10.0 on pci1 miibus0: MII bus on xl0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:75:db:44:4e atapci0: SiI 3112 SATA150 controller port 0xa800-0xa80f,0xa400-0xa403,0xa000-0xa007,0x9c00-0x9c03,0x9800-0x9807 mem 0xe8005000-0xe80051ff irq 11 at device 11.0 on pci1 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: nVidia nForce2 UDMA133 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 pcib2: PCI-PCI bridge at device 30.0 on pci0 pci3: PCI bus on pcib2 $PIR: ROUTE_INTERRUPT failed. pci3: display, VGA at device 0.0 (no driver attached) orm0: ISA Option ROMs at iomem 0xcd000-0xcd7ff,0xcc000-0xccfff,0xc-0xca7ff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0303 can't assign resources (port) unknown: PNP0501 can't assign resources (port) Timecounter TSC frequency 1331323578 Hz quality 800 Timecounters tick every 10.000 msec ata0-master: DMA limited to UDMA33, non-ATA66 cable or device ad0: 19073MB WDC WD200BB-75CAA0/16.06V16 [38752/16/63] at ata0-master UDMA33 acd0: CDROM CREATIVE CD5233E/C1.00 at ata0-slave PIO4 ad2: 114472MB ST3120023A/3.33 [232578/16/63] at ata1-master UDMA100 Mounting root from ufs:/dev/ad0s1a -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SoundBlaster Audigy on FreeBSD 5.4-STABLE
On 4/14/05, Alexander Chamandy [EMAIL PROTECTED] wrote: I'm having problems after a recent upgrade to FreeBSD 5.4-STABLE. RC-1 seemed to work fine, but now my media files (audio and video alike) are not properly playing. And I get this error: pcm0:play:0: play interrupt timeout, channel dead This problem seems to be directly related to ACPI being enabled. Once I disable it sound works fine. Has anyone experienced this and if so, know of a reasonable workaround? dmesg: FreeBSD 5.4-STABLE #14: Thu Apr 14 16:29:53 EDT 2005 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/vetra Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3200+ (2009.15-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xf48 Stepping = 8 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 2147418112 (2047 MB) avail memory = 2064994304 (1969 MB) ACPI APIC Table: Nvidia AWRDACPI ioapic0 Version 1.1 irqs 0-23 on motherboard acpi0: Nvidia AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf0-0xcf3,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: nVidia nForce3 USB Controller mem 0xfc003000-0xfc003fff irq 22 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: nVidia nForce3 USB Controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: nVidia nForce3 USB Controller mem 0xfc004000-0xfc004fff irq 21 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: nVidia nForce3 USB Controller on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: serial bus, USB at device 2.2 (no driver attached) pci0: network, ethernet at device 5.0 (no driver attached) pci0: multimedia, audio at device 6.0 (no driver attached) atapci0: nVidia nForce3 UDMA133 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pcib1: ACPI PCI-PCI bridge at device 10.0 on pci0 pci1: ACPI PCI bus on pcib1 pcm0: Creative Audigy (EMU10K2) port 0xa000-0xa01f irq 19 at device 7.0 on pci1 pcm0: TriTech TR28602 AC97 Codec pci1: serial bus, FireWire at device 7.2 (no driver attached) ahc0: Adaptec 2940 Ultra2 SCSI adapter port 0xa800-0xa8ff mem 0xfb004000-0xfb004fff irq 16 at device 8.0 on pci1 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs atapci1: SiI 3512 SATA150 controller port 0xbc00-0xbc0f,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07 mem 0xfb006000-0xfb0061ff irq 17 at device 13.0 on pci1 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0 pci2: ACPI PCI bus on pcib2 pci2: display, VGA at device 0.0 (no driver attached) pci2: display at device 0.1 (no driver attached) atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: ISA Option ROMs at iomem 0xd8000-0xdd7ff,0xd-0xd7fff,0xc-0xccfff on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 uhub2: vendor 0x0543 product 0x1167, class 9/0, rev 2.00/ff.ff, addr 2 uhub2: 4 ports with 4 removable, self powered ugen0: Saitek Saitek X45, rev 1.00/0.02, addr 3 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 4, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter TSC frequency 2009148084 Hz quality 800 Timecounters tick every 1.000 msec ad2: 58644MB IC35L060AVVA07-0/VA3OA52A [119150/16/63] at ata1-master UDMA100 acd0: DVDR TEAC DV-W516GA/C4S2 at ata1-slave PIO4 da0 at ahc0 bus 0 target 0 lun 0 da0: SEAGATE ST118273LW 6246 Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit) da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) Mounting root from ufs:/dev/ad2s1a nv0: NVIDIA nForce MCP3 Networking Adapter port 0xd000-0xd007 mem 0xfc00-0xfc000fff irq 22 at device 5.0 on pci0 nv0: Ethernet address 00:0d:61:14:6f:39 nv0: Ethernet address: 00:0d:61:14:6f:39 miibus0: MII bus on nv0 rlphy0: RTL8201L 10/100 media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto -- Best wishes, Alexander G
Problem with SoundBlaster Audigy on FreeBSD 5.4-STABLE
I'm having problems after a recent upgrade to FreeBSD 5.4-STABLE. RC-1 seemed to work fine, but now my media files (audio and video alike) are not properly playing. And I get this error: pcm0:play:0: play interrupt timeout, channel dead Has anyone experienced this and if so, know of a reasonable workaround? dmesg: FreeBSD 5.4-STABLE #14: Thu Apr 14 16:29:53 EDT 2005 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/vetra Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3200+ (2009.15-MHz K8-class CPU) Origin = AuthenticAMD Id = 0xf48 Stepping = 8 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow real memory = 2147418112 (2047 MB) avail memory = 2064994304 (1969 MB) ACPI APIC Table: Nvidia AWRDACPI ioapic0 Version 1.1 irqs 0-23 on motherboard acpi0: Nvidia AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf0-0xcf3,0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: nVidia nForce3 USB Controller mem 0xfc003000-0xfc003fff irq 22 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: nVidia nForce3 USB Controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: nVidia nForce3 USB Controller mem 0xfc004000-0xfc004fff irq 21 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: nVidia nForce3 USB Controller on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: serial bus, USB at device 2.2 (no driver attached) pci0: network, ethernet at device 5.0 (no driver attached) pci0: multimedia, audio at device 6.0 (no driver attached) atapci0: nVidia nForce3 UDMA133 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pcib1: ACPI PCI-PCI bridge at device 10.0 on pci0 pci1: ACPI PCI bus on pcib1 pcm0: Creative Audigy (EMU10K2) port 0xa000-0xa01f irq 19 at device 7.0 on pci1 pcm0: TriTech TR28602 AC97 Codec pci1: serial bus, FireWire at device 7.2 (no driver attached) ahc0: Adaptec 2940 Ultra2 SCSI adapter port 0xa800-0xa8ff mem 0xfb004000-0xfb004fff irq 16 at device 8.0 on pci1 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs atapci1: SiI 3512 SATA150 controller port 0xbc00-0xbc0f,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07 mem 0xfb006000-0xfb0061ff irq 17 at device 13.0 on pci1 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0 pci2: ACPI PCI bus on pcib2 pci2: display, VGA at device 0.0 (no driver attached) pci2: display at device 0.1 (no driver attached) atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: ISA Option ROMs at iomem 0xd8000-0xdd7ff,0xd-0xd7fff,0xc-0xccfff on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 uhub2: vendor 0x0543 product 0x1167, class 9/0, rev 2.00/ff.ff, addr 2 uhub2: 4 ports with 4 removable, self powered ugen0: Saitek Saitek X45, rev 1.00/0.02, addr 3 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 4, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter TSC frequency 2009148084 Hz quality 800 Timecounters tick every 1.000 msec ad2: 58644MB IC35L060AVVA07-0/VA3OA52A [119150/16/63] at ata1-master UDMA100 acd0: DVDR TEAC DV-W516GA/C4S2 at ata1-slave PIO4 da0 at ahc0 bus 0 target 0 lun 0 da0: SEAGATE ST118273LW 6246 Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit) da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) Mounting root from ufs:/dev/ad2s1a nv0: NVIDIA nForce MCP3 Networking Adapter port 0xd000-0xd007 mem 0xfc00-0xfc000fff irq 22 at device 5.0 on pci0 nv0: Ethernet address 00:0d:61:14:6f:39 nv0: Ethernet address: 00:0d:61:14:6f:39 miibus0: MII bus on nv0 rlphy0: RTL8201L 10/100 media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Azureus Program crash
On Mon, 28 Mar 2005 15:04:42 +0200, Miguel Mendez [EMAIL PROTECTED] wrote: On Mon, 28 Mar 2005 22:59:29 +1000 Warren [EMAIL PROTECTED] wrote: For some reason Azureus is sucking up a lot of my computer and has a habbit of shutting itself down for no apparent reason. It wont run in GDB so i can see whats going on .. is there any other way i can debug it to find out why its shutting itself down. Azureus is a java application, you can't debug it with GDB. When java apps crash you can usually get a backtrace of the unhandled exception. Since Azureus uses SWT it might be a problem with the recent GTK+ update. I haven't used it in a while, but some months ago it was a pretty solid application. Warren, Looking at your SWAP sucker posting in the list, I'm wondering if Azureus is the culprit. Java applications are generally pretty memory intensive. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Azureus Program crash
On Mon, 28 Mar 2005 23:35:20 +1000, Warren [EMAIL PROTECTED] wrote: Warren, Looking at your SWAP sucker posting in the list, I'm wondering if Azureus is the culprit. Java applications are generally pretty memory intensive. shinjii 16714 0.0 51.3 631724 264608 ?? SNL 10:57PM 9:12.06 [java] Azureus is indeed sucking 50% of my swap and this is running it as nice azureus ... i wouldnt mind lowering the mem usage down about 20% or so You may have to consider buying more RAM. -- Yours Sincerely Shinjii http://www.shinji.nq.nu -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help!
Bob is right. Aside from exciting features and performance enhancements, however, one major reason to upgrade is security. There's a lot of serious vulnerabilities in older releases, it's important to keep your system up to date to prevent them from being exploited. On Sun, 27 Mar 2005 18:48:00 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Use your 3.4 FreeBSD system or a win system to download the mini.iso file for 4.11 and then burn it to cd. Boot your box from the 4.11 mini newly created cd and accept the default slice sizes, select not to install the ports collection. The ports collection is over 3000 strong now and some are variations of same base port. You are being foolish to select all ports as that is unnecessary and a gross waist of disk space. After base install is complete then select the ports you want and install separately. You are way back level and there has been great changes in the system and the sysinstall process. Read and follow this Install guide for step by step instructions for 4.11 release as it's the same as 4.10. http://freebsd.packards-home.net/index.php Yes FreeBSD CAN be installed on the fourth of four SCSI disk drives on the second of two SCSI cards, but if you have other operating systems on those other disks you will have to manual update the MBR (master boot record) multi boot program on the HD the PC bios point to for selecting which operating system you want to boot from. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charlie Sorsby Sent: Sunday, March 27, 2005 5:51 PM To: [EMAIL PROTECTED] Subject: Help! Every time I turn round, someone is telling me that I should update to a more recent version of freeBSD. Each time I try, I encounter nothing but trouble. Before I even begin: *CAN* freeBSD be installed on the fourth of four SCSI disk drives on the second of two SCSI cards? I know of no way to record the error messages other than with pencil and paper -- not a very efficient method in this computer age, especially when one is in the throes of frustration. I tried some time ago, updating to 4.5, the latest version for which I have a CDROM. When I encountered problems and queried this list, I received a message to the effect that the installer should quit working after X years. Perhaps that was tongue in cheek but it was singularly unhelpful. So, I continued to use 3.4 which, aside from the fact that I can't add anything new or update any ports or ... has stood me in good stead for years. Finally getting tired of using netscape 4.76 -- I've been unsuccessful at finding any modern browser that I can install under 3.4 -- and having it crashed by modern web sites, I decided to try again. I fetched the floppy images for 4.11 -- I have no interest in 5.x, 4.x is far enough removed from real BSD that I wouldn't go that route it I had a choice. Busy with other things, I finally got round to trying an ftp install today. Before I proceed, I suppose that I'd best tell you what my system comprises: M'board:Intel D845WN CPU:P4, 2.4GHz, 478, 512K, 400MHz FSB Memory: Crucial 512MB, 168-pin, DIMM 64Mx64, PC133 SDRAM Case: Antec Sonata with Antec TruePower supply. SCSI cards (presently, the Adaptec is in the PCI slot closer to the CPU): Adaptec 2940 Tekram DC-390U2W Ethernet; Intel PRO100S Disk drives (The first three are on the 2940, the fourth on the Tekram): IBM DORS-32160 WA0A, 2GB (from original system, with leftover freeBSD 2.1.5 stuff, no longer bootable.) Seagate ST34501N 0015, 4GB (with freeBSD 3.4) Seagate ST39216N 0010, 9GB (/home -- no OS) Seagate ST318517W 0105, 18GB (on which I tried to install 4.5 before and 4.11 today. CDROM drive:Plextor (don't recall specs.) Video card: Matrox Millennium G400, AGP4X, 32MB SGRAM Oh -- FWIW, I'm also running XFree86 4.1.0 although that should not be relevant to the installation problem but, like the feller says, for the sake of completeness... (I'll append -- at the end of this message -- dmesg from latest boot after unsuccessful installation to cover anything that I've forgotten. This system has simply evolved over the years.) I hope I won't forget any parts of this; I had to get back to 3.4 in order to be able to do this e-mail. I got through the fdisk and disklabel (re)configuration of the fourth disk onto which I planned to install freeBSD 4.11 (having selected Standard Install) Here's what I tried to set up as (Unix) partitions (remember this is on the 18GB drive): /128MB # Thought this should be more than enough swap 512MB /usr4196MB /var 512MB /usr/local
Re: Failure with php4 and libgd support
Thanks for your help. I'm a bit farther now using just --with-gd, but I'm still having problems. I'd like to find out what's causing the crt1.o error. See below: configure:29964: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib conftest.c -ljpeg -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' configure: failed program was: #line 29953 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char jpeg_read_header(); int main() { jpeg_read_header() ; return 0; } On Sat, 19 Mar 2005 10:25:19 -0600, Ryan J. Cavicchioni [EMAIL PROTECTED] wrote: Hi Alexander, PHP actually comes with libgd bundled now. Just use --with-gd (but you may not even have to do that). You do not need the external library. Alexander Chamandy wrote: I take it noone can help me with this? On Wed, 16 Mar 2005 18:27:54 -0500, Alexander Chamandy [EMAIL PROTECTED] wrote: Hello, I'm having some problems with php4 and libgd support. I'm running FreeBSD/i386 5.3 which was upgraded from the 4.x STABLE branch a long time ago, but I think a portion of the upgrade may've gone horribly wrong with regards to the compiler or include files. Most things compile fine (userland, kernel, other applications).. but certain things like Apache2, php (*ONLY* when it's testing libgd in the configuration process - otherwise, without gd it compiles fine) fail completely. I was wondering if anyone had experienced something similiar or had any suggestions. Any help would be greatly appreciated! Here is the config.log gd-related error messages from php 4.3.10 with the commandline: ./configure --with-gd=/usr/local --with-mysql --with-apxs=/usr/local/apache/bin/apxs 8 *snip snip* 8 configure:33488: checking for gdImageString16 in -lgd configure:33507: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33496 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageString16(); int main() { gdImageString16() ; return 0; } configure:33619: checking for gdImagePaletteCopy in -lgd configure:33638: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33627 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePaletteCopy(); int main() { gdImagePaletteCopy() ; return 0; } configure:33750: checking for gdImageCreateFromPng in -lgd configure:33769: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33758 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int
Xorg mouse problems
Hi all, I've got a PS/2 Labtech optical mouse with and Xorg 6.8.2 running on FreeBSD 5.4PR with an AMD Athlon and a GeForce 2 MX and I'm having some strange problems with Xorg and moused. This all worked fine under NetBSD (1.6.x and 2.0) with the wsmouse driver, but strangely, now when I use Xorg and/or moused on FreeBSD the mouse skips on verticle or horizontal movement all the way across the screen. I've tried changing the resolution, disabling ACPI, using different protocols and nothing has resolved the problem. Has anyone experienced this before and if so, how have they resolved it? dmesg included: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-PRERELEASE #0: Sun Mar 27 08:12:11 EST 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ambrosia Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1343.06-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x644 Stepping = 4 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR AMD Features=0xc044RSVD,AMIE,DSP,3DNow! real memory = 805224448 (767 MB) avail memory = 782417920 (746 MB) npx0: math processor on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pir0: PCI Interrupt Routing Table: 9 Entries on motherboard $PIR: BIOS IRQ 15 for 0.4.INTC is not valid for link 0x3 pci0: PCI bus on pcib0 $PIR: ROUTE_INTERRUPT failed. agp0: VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge mem 0xe400-0xe7ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 4.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686B UDMA100 controller port 0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 7 at device 4.2 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xd000-0xd01f irq 7 at device 4.3 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: bridge, PCI-unknown at device 4.4 (no driver attached) pci0: multimedia, audio at device 4.5 (no driver attached) xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xa400-0xa47f mem 0xd580-0xd580007f irq 7 at device 13.0 on pci0 miibus0: MII bus on xl0 xlphy0: 3c905C 10/100 internal PHY on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:e3:6d:42 atapci1: Promise PDC20265 UDMA100 controller port 0x8800-0x883f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem 0xd500-0xd501 irq 10 at device 17.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 orm0: ISA Option ROMs at iomem 0xd-0xd07ff,0xcc000-0xce7ff,0xc-0xcb7ff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A 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: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNPb002 can't assign resources (irq) unknown: PNP0f13 can't assign resources (irq) unknown: PNP0303 can't assign resources (port) Timecounter TSC frequency 1343055484 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM CRD-8320B/1.24 at ata0-master PIO4 ad4: 76319MB WDC WD800JB-00CRA1/17.07W17 [155061/16/63] at ata2-master UDMA100 Mounting root from ufs:/dev/ad4s1a -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Userland dig/host for lookups against /etc/hosts?
On Mon, 28 Mar 2005 07:17:31 +0200, Emanuel Strobl [EMAIL PROTECTED] wrote: Dear all, my testbed lacks of Ethernet Ports so one machine has no connection to my DNS, no problem, there is something called /etc/hosts I thought. It works if I ping 'hostname', but how can I find out the IP of 'hostname' from the command line? dig and host want to contact the DNS server, also nslookup does, so I think I need a utility which uses the gethostbyname(3) function. Is there one? Unfortunately I can't write one myself, at least not in a reasonable amount of time May I ask what you're trying to do with the machine? If you just want local DNS resolution for experimentation you may try running BIND 9 or TinyDNS. Thanks, -Harry -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anthony's drive issues.Re: ssh password delay
On Fri, 25 Mar 2005 02:23:36 -0800, Ted Mittelstaedt [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Chris writes: Your legacy hardware finally gave up the ghost... Uh, no. The production server is about 90 days old, and state of the art. The drives are brand new. That is right around the time that brand new drives fail, if they are going to, that is. Modern drives with the exception of high end SCSI ones, are as a friend of mine put it once: slapped together a million miles a second on the assembly line Ted Typically when there's an SSH password delay issue in authentication it has to do with the name resolution. Check your /etc/resolv.conf -- it may be your name servers that are responding slowly or if the hosts do not reverse, that may be it as well. Anyway, just a hunch, I've had that happen to me before. -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Failure with php4 and libgd support
I take it noone can help me with this? On Wed, 16 Mar 2005 18:27:54 -0500, Alexander Chamandy [EMAIL PROTECTED] wrote: Hello, I'm having some problems with php4 and libgd support. I'm running FreeBSD/i386 5.3 which was upgraded from the 4.x STABLE branch a long time ago, but I think a portion of the upgrade may've gone horribly wrong with regards to the compiler or include files. Most things compile fine (userland, kernel, other applications).. but certain things like Apache2, php (*ONLY* when it's testing libgd in the configuration process - otherwise, without gd it compiles fine) fail completely. I was wondering if anyone had experienced something similiar or had any suggestions. Any help would be greatly appreciated! Here is the config.log gd-related error messages from php 4.3.10 with the commandline: ./configure --with-gd=/usr/local --with-mysql --with-apxs=/usr/local/apache/bin/apxs 8 *snip snip* 8 configure:33488: checking for gdImageString16 in -lgd configure:33507: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33496 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageString16(); int main() { gdImageString16() ; return 0; } configure:33619: checking for gdImagePaletteCopy in -lgd configure:33638: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33627 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePaletteCopy(); int main() { gdImagePaletteCopy() ; return 0; } configure:33750: checking for gdImageCreateFromPng in -lgd configure:33769: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33758 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateFromPng(); int main() { gdImageCreateFromPng() ; return 0; } configure:33881: checking for gdImageCreateFromGif in -lgd configure:33900: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33889 configure
Failure with php4 and libgd support
Hello, I'm having some problems with php4 and libgd support. I'm running FreeBSD/i386 5.3 which was upgraded from the 4.x STABLE branch a long time ago, but I think a portion of the upgrade may've gone horribly wrong with regards to the compiler or include files. Most things compile fine (userland, kernel, other applications).. but certain things like Apache2, php (*ONLY* when it's testing libgd in the configuration process - otherwise, without gd it compiles fine) fail completely. I was wondering if anyone had experienced something similiar or had any suggestions. Any help would be greatly appreciated! Here is the config.log gd-related error messages from php 4.3.10 with the commandline: ./configure --with-gd=/usr/local --with-mysql --with-apxs=/usr/local/apache/bin/apxs 8 *snip snip* 8 configure:33488: checking for gdImageString16 in -lgd configure:33507: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33496 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageString16(); int main() { gdImageString16() ; return 0; } configure:33619: checking for gdImagePaletteCopy in -lgd configure:33638: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33627 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePaletteCopy(); int main() { gdImagePaletteCopy() ; return 0; } configure:33750: checking for gdImageCreateFromPng in -lgd configure:33769: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33758 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateFromPng(); int main() { gdImageCreateFromPng() ; return 0; } configure:33881: checking for gdImageCreateFromGif in -lgd configure:33900: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lgd -lgd -lm 15 /usr/lib/crt1.o(.text+0x64): In function `_start': : undefined reference to `_init_tls' /usr/local/lib/libgd.so: undefined reference to `__stdoutp' /usr/local/lib/libfreetype.so.9: undefined reference to `memmove' /usr/local/lib/libfreetype.so.9: undefined reference to `qsort' /usr/local/lib/libgd.so: undefined reference to `__stderrp' /usr/local/lib/libpng.so.5: undefined reference to `gmtime' /usr/local/lib/libm.so.2: undefined reference to `fputs' /usr/local/lib/libfreetype.so.9: undefined reference to `fcntl' configure: failed program was: #line 33889 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char
Re: disk I/O slower then linux?
It looks like this is a problem unique to 5.3: See http://lists.freebsd.org/pipermail/freebsd-current/2004-October/041009.html May I ask how your partitions are laid out? Are you running with softupdates enabled on your filesystems? On Tue, 14 Dec 2004 13:03:48 -0500, Rae Kim [EMAIL PROTECTED] wrote: I've recently changed to FreeBSD 5.3 from Gentoo linux. It looks like FreeBSD outperforms gentoo. I feel 'some' KDE applications runs at least 3 times faster on FreeBSD. ( gentoo was even prelinked) However, Disk IO seems too slow compare to linux. What makes FreeBSD so fast? Why is disk io slower? How can I make it faster? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: web-based password checking tool?
The solution I've seen people use in the past is Webmin (http://www.webmin.com/), but I haven't heard great things about its security. I would use it cautiously if you are looking for that functionality. The problem I'd note is that in order to attain convenience in the traditional sense, one must generally sacrifice layers of security. In this case, allowing a web interface to change users' authentication credentials provides risks (compromise, information leakage, etc.) and rewards (enhanced usability for novice users, added convenience). - Hide quoted text - On Tue, 14 Dec 2004 15:41:07 -0300 (ART), Fernando Gleiser [EMAIL PROTECTED] wrote: I have a FreeBSD box with more then 400 accounts. the users are non-technical, administrative kind of persons. The box is working as a mail server, with sendmail as MTA and cyrus IMAPd, authenticating against the system files (/etc/master.passwd) not using SASL. I need a web based tool to let the users change their passwords, since they don't have shell access, a web-based solution seems like the only way to let them do it without bothering the admins. -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: web-based password checking tool?
In that case, check out something like: http://rucus.ru.ac.za/~bvi/utils/webpass/ Web Pass is a CGI script which allows users on a system to change their passwords via the web. This is useful for users with no shell access to the machine, but who still have 'real' accounts for things such as web space, ftp Samba and the like. I hope this helps! On Tue, 14 Dec 2004 16:02:46 -0300 (ART), Fernando Gleiser [EMAIL PROTECTED] wrote: On Tue, 14 Dec 2004, Alexander Chamandy wrote: The solution I've seen people use in the past is Webmin (http://www.webmin.com/), but I haven't heard great things about its security. I would use it cautiously if you are looking for that functionality. Webmin is a different thing. it allows for web-based administration, it isn't useful as a tool for users to change their passwords. In order to use webmin for that, I'd have to add a webmin user for every mail user and restrict the module set. It is just not worth it. I'm looking for something like some ISPs do: a form where you enter your username, your old password and your new one (twice, for confirmation). I think I can hack a quick CGI script which does that, then checks the parameters, and if everything is OK, hashes the new passwd and calls something like echo ecnryptedpass | sudo pw usermod user -H 1 or something like that. But I prefer to use already made and tested solutions. The problem I'd note is that in order to attain convenience in the traditional sense, one must generally sacrifice layers of security. In this case, allowing a web interface to change users' authentication credentials provides risks (compromise, information leakage, etc.) and rewards (enhanced usability for novice users, added convenience). Exactly. But I think in this case is justified. We're talking about people who are not technical. It's the only way. Fer -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk I/O slower then linux?
Browse this thread: http://lists.freebsd.org/pipermail/freebsd-current/2004-October/thread.html#40671 Are you using the same mainboard? There's a lot of good advice given in that thread. A couple of things I would suggest is try to tweak your kernel if you're running a generic binary that may decrease your performance a bit. If you *are* using the same mainboard it may be an issue of an unreliable storage controller. See if your BIOS is up to date and also paste a dmesg to the list and put in any more hardware specifications you can for good measure. On Tue, 14 Dec 2004 13:27:57 -0500, Rae Kim [EMAIL PROTECTED] wrote: I use 40GB hard with ad0s1 Windows XP 14GB ad0s2 FAT3210GB rest of partistions are set automatically by installer.(1GB swap) and softupdates is enabled anyways, it looks like a problem of 5.3 release. On Tue, 14 Dec 2004 13:23:31 -0500, Alexander Chamandy [EMAIL PROTECTED] wrote: It looks like this is a problem unique to 5.3: See http://lists.freebsd.org/pipermail/freebsd-current/2004-October/041009.html May I ask how your partitions are laid out? Are you running with softupdates enabled on your filesystems? On Tue, 14 Dec 2004 13:03:48 -0500, Rae Kim [EMAIL PROTECTED] wrote: I've recently changed to FreeBSD 5.3 from Gentoo linux. It looks like FreeBSD outperforms gentoo. I feel 'some' KDE applications runs at least 3 times faster on FreeBSD. ( gentoo was even prelinked) However, Disk IO seems too slow compare to linux. What makes FreeBSD so fast? Why is disk io slower? How can I make it faster? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best wishes, Alexander G. Chamandy Webmaster www.bsdfreak.org Your Source For BSD News! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]