Acer Laptop Bightness and Volume Hotkeys not working!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have an Acer (S3-391) laptop, its a recent model with an SSD and HHD for a very nice price. I'm running FreeBSD 10-current, because of the wireless driver. I notice I can't use the brightness hotkeys (Fn + Left/Right Arrows) even with acpi_video... Als has the subject states I can't use audio hotkeys too (Fn + UP/DOWN arrows), but I'm not sure if I would need to load any extra module to do this! Can anybody advice on this? Many Thanks, Mike -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJRxj6TAAoJEGKyFhaKt9g3LuIP/1NGHMeE5EwmRUOjWoYZs2aP 1P2FobRlELoX2GI09/fsE8en7Yis5T3P1IK/l2qCM0XkI52uQs51iRNiMvYkjyjH JvGsKDNrj5R0ca+3XtHOaLRfVgTD4lSL2DJFF1ztKwoA4Y/fhcxhcOUGP+Wv10dx f8p7LynS3aQcQQFbCSvRzTf/+qcaKnRhBVmsSIJ9ZPPkaHwr+vFB8qUYNMhldFM9 MINSdryrox3dYcv8yr7XSk10mcXBmuKZD/r3OSkAxak74bXZveXVXHS2MyE8Wh3P rYHo+lcXO443It/fRJGFHZA/Yqd4ZQOEjzguo/s58ewd4+0oE/vLPW2EO8TjVc3j 5nquNmVsrF5lU5RheCGpLKyLuXk8MhdsSEXcHYKu4Ei8hknwsUHbasSzOxIvuRtu 3xAPV19ZYtJyK/GHMcPCPYfgB7/3FIcmCpfJrohTdT8ys8nMK+fbx+0I8HMeiJId 3ym0Dydb2d1xhBwAcnVn2OxAufWPpsWlJidQx6n3r5oB5txeIcqCHk4Or88lo0oZ sGh0CF611DuxAD+X+aglyxHBRaSOthngqIDDSt3C0AnLt29c1cQMYc5mRhEnDmFj J5apaa+3yfgRXRUT2a5M/okuW/tBkxTli4ravToXA3cOSo89vs91WQ0VN5bAQjwb ztHte9UXAZKz7ciHJILt =N8Xt -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Acer Laptop Bightness and Volume Hotkeys not working!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/23/13 00:17, Miguel Clara wrote: I have an Acer (S3-391) laptop, its a recent model with an SSD and HHD for a very nice price. I'm running FreeBSD 10-current, because of the wireless driver. I notice I can't use the brightness hotkeys (Fn + Left/Right Arrows) even with acpi_video... Als has the subject states I can't use audio hotkeys too (Fn + UP/DOWN arrows), but I'm not sure if I would need to load any extra module to do this! Can anybody advice on this? Many Thanks, Mike The sound hotkey problem is fixed, I forgot to set my keyboard Layout properly in KDE setting it to Acer Laptop fixed this! But I still have the brightness issue, and xbacklight gives me this: xbacklight -get No outputs have backlight property -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJRxkK2AAoJEGKyFhaKt9g3sBIP/0aj4VmZYZhTsNqqFP8jr3Xa t/im5s/WGCgxT2tLOpCCA41OMPxUad+578dBrWu7P6FuLuVsMnErjvaBpliVtQZz 6ImMfKVakiNrLTVTBiAOwVpvEgZZQqtpI0IjeSYifuh/yy1gE5bzlZLumVzmoHCS QwsPxRxmvVLQ3/62IgXs+NPpEr9p2m9zOdysXD13G8o/MXz5p6etZlovXT61HV2D lMf9yMcZpTmLMjVd5/QGQz5deyNOWfxmJhG2a5LW8JtITG7xIT2gflkbm4J6Rj9B 7c4X1MzbX852IJHFY9b8hFj/9I7+dDnFZj3qpihCL78qsNd/wXg3h+Y0me1vHxEZ Vjo5Z4AQoL4E1U5cFkTieBPt8avYIuCztUSk6YQh1VIvS6s9/jSl36F3xeX7kkx6 AOzdzUJGpRU1Xe2vpbFfFwemDUAl73PKIf7I5KWXXCD85RHshw1di6HYohAubGkr j4cssQ0inQ8667vi4IGeTjzpgGTvvICiN+hjbw8DQhKkN/GbYf0D2uQ5TWhKe/pH CjT9LDQH1bKzVdzTG2i5a1W8Z+WT1tsvl0u+Tb5Lwma7bynILKgdyz7WiQRgc6M4 g2gZAl/A3mlJ0pXDfDnCU6IftywqcW+fVAcBkl2hPMb5xIiRaE4gZELJi3mOLwBm +PkaE5rWW5l9wjX7MsKd =1wfh -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Delete files with time stamp on Samba Server
On 20 May 2013 13:34, Leslie Jensen les...@eskk.nu wrote: I have a remote Samba Server where Windows machines place backup files once a day. The format is backup_2013-05-03_13.45.44_.**zip Before the Windows client places the file it removes the file from the day before. In turn I do a backup of the backup files once every week(Friday) to another directory. This directory will eventually fill up and I need to make a check and remove the oldest file maybe once a week before the new file is copied, or put in other words I never want more than 4 files to be in this directory. My scripting skills are not at the level where I can figure this out, so I'll appreciate suggestions on how to solve this in the correct way. Hi Leslie! I believe this is what you need: --- START --- #!/bin/sh KEEP='5' pg_dump -U gp /backups/gp.`date +%Y%m%d-%H%M%S`.sql N=1 for file in `ls -r /backups/gp.*` do [ $N -gt $KEEP ] rm -f $file N=`expr $N + 1` done --- END --- I am using this to keep 5 backup files... Modify as needed. Cheers, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Disable FIFO on UART
Hi! Back in FreeBSD 7 there was a flag to disable the FIFO on the sio device driver. From http://www.freebsd.org/cgi/man.cgi?query=sioapropos=0sektion=0manpath=FreeBSD+7.4-stablearch=defaultformat=html: Meaning of flags: 0x1 shared IRQs 0x2 disable FIFO 0x4 no AST/4 compatible IRQ control register 0x8 recover sooner from lost output interrupts 0x00010 device is potential system console 0x00020 device is forced to become system console 0x00040 device is reserved for low-level IO (e.g. for remote kernel debugging) 0x00080 use this port for remote kernel debugging 0x0??00 minor number of master port 0x1 PPS timestamping on CTS instead of DCD 0x2 device is assumed to use a 16650A-type (extended FIFO) chip Now with FreeBSD 8 which uses the UART device driver there's no option for that. I am looking to reduce the jitter I am getting on the serial port when connecting a GPS to the server. Can anyone help? Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
On Thu, Aug 6, 2009 at 1:47 AM, Mel Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote: Your best bet is to poll the mobile list (CC'd) to see if anyone was able to get FreeBSD working on this laptop (or even to know whether this is a lost cause till somebody makes some patches for this laptop). Since 7.2 also does not work and with 8.0-RELEASE being in it's final stages, it's unlikely you can get some priority from the developers for it being a regression bug. The acpi and missing disk can be related (most likely are), but unless you get at least a live FS working (even the USB image for 8.0-BETA2) it will be hard to get an acpidump(8). So this really depends on someone knowledgeable having this laptop or BIOS tricks that get you to a stage where more info can be gathered and saved/snapshot. Ok, I understand chances to have it running in the short term are not high :-) Anyway, and since I am replying to the mobile list, I am available to provide more information about the laptop. I have Linux running on it and I believe there is something similar to the acpidump (not sure if its the same tool as in FreeBSD or if their outputs are compatible) that I could use to provide some more details. Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
On Thu, Aug 6, 2009 at 7:16 PM, Ben Fallonbfal...@itbuildersinc.com wrote: Might want to take a look at this page as it may provide a bit more insight. The problem isn't with the Machine specifically but with the ATI Sata Controller/Chipset. Not sure if this has been fixed yet. http://www.mavetju.org/mail/view_message.php?list=freebsd-currentid=2740699 Uau! That's exactly the same problem with the same hardware, and I would be tempted to say that it _has not_ been solved yet. I'll try to contact those guys to try to get some more information. Thanks a lot for the pointer, Ben. Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problems with FreeBSD installation
Hi, I've been trying to install FreeBSD in my laptop, but without success. I started with 7.2, but during installation i got the error: No disk found! Please verify that your disk controller... Looking at the logs, everything seems fine to me (although its my first time on the FreeBSD world). I get lines such as: atapci0: ATI IXP600 SATA300 controller [...] atapci0: [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 ata3: [ITHREAD] ata4: ATA channel 2 on atapci0 ata4: [ITHREAD] ata5: ATA channel 3 on atapci0 ata5: [ITHREAD] [...] atapci1: ATI IPX600 UDMA 133 controller [...] ata0: ATA channel 0 on atapci1 ata0: [ITHREAD] [...] (Note that i wrote these logs manually -- got some photos that I can upload to some URL if needed.) So, could not find any issues in the logs, apart from some ACPI errors: acpi0_check: nexus0 attached acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present ... in fact, I have some other ACPI-related errors at the beginning of the logs, but these are common also on Linux -- I believe these are due to a buggy BIOS, which unfortunately I am not able to upgrade since I have not windows installed (I have a Toshiba Satellite A210). Anyway, I decided to try a more recent version of FreeBSD and downloaded 8.0-CURRENT-200906-amd64-disc1.iso which was the most recent snapshot for my Turion64 processor. Tried to boot it but this time the installation just freeze before the install application event starts. Last log lines are: acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST device_attach: acpi0 attach returned 6 Timecounters tick every 1.000 msec md0: Preload image /boot/mfsroot 4194304 bytes at 0x80fd8660 SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/md0 warning: no time-of-day clock registered, system time will not be set accurately And at this point... nothing else -- system freezes. Please let me know if anyone has any suggestions for me to have a FreeBSD installation on my laptop. I am, of course, available to provide any additional information you might need to debug the issue. Thanks! -- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
Hi Glen, On Wed, Aug 5, 2009 at 10:33 PM, Glen Barberglen.j.bar...@gmail.com wrote: On Wed, Aug 5, 2009 at 5:01 PM, Miguelluis.hen...@gmail.com wrote: Hi, I've been trying to install FreeBSD in my laptop, but without success. I started with 7.2, but during installation i got the error: No disk found! Please verify that your disk controller... Looking at the logs, everything seems fine to me (although its my first time on the FreeBSD world). I get lines such as: atapci0: ATI IXP600 SATA300 controller [...] atapci0: [ITHREAD] atapci0: AHCI Version 01.10 controller with 4 ports detected ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 ata3: [ITHREAD] ata4: ATA channel 2 on atapci0 ata4: [ITHREAD] ata5: ATA channel 3 on atapci0 ata5: [ITHREAD] [...] atapci1: ATI IPX600 UDMA 133 controller [...] ata0: ATA channel 0 on atapci1 ata0: [ITHREAD] [...] (Note that i wrote these logs manually -- got some photos that I can upload to some URL if needed.) So, could not find any issues in the logs, apart from some ACPI errors: acpi0_check: nexus0 attached acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present acpi0_check: acpi0 not-present ... in fact, I have some other ACPI-related errors at the beginning of the logs, but these are common also on Linux -- I believe these are due to a buggy BIOS, which unfortunately I am not able to upgrade since I have not windows installed (I have a Toshiba Satellite A210). [snip] acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST device_attach: acpi0 attach returned 6 Timecounters tick every 1.000 msec md0: Preload image /boot/mfsroot 4194304 bytes at 0x80fd8660 SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/md0 warning: no time-of-day clock registered, system time will not be set accurately And at this point... nothing else -- system freezes. Please let me know if anyone has any suggestions for me to have a FreeBSD installation on my laptop. I am, of course, available to provide any additional information you might need to debug the issue. Can you try booting with ACPI disabled? It should be option 2 from the loader menu. Yes, I tried that already with same results. Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
On Wed, Aug 5, 2009 at 10:37 PM, Glen Barberglen.j.bar...@gmail.com wrote: On Wed, Aug 5, 2009 at 5:35 PM, Miguelluis.hen...@gmail.com wrote: Hi Glen, Can you try booting with ACPI disabled? It should be option 2 from the loader menu. Yes, I tried that already with same results. Can you try the installation media on another machine (to rule out a bad CD or bad burn)? The CD image seems to be fine (both of them): I have installed them on a Linux kvm virtual machine and there were no problems -- both are able to do the complete installation and I am able to boot the resulting image. (Sorry, no other physical machines available at the moment.) Also, is it possible to upgrade the BIOS on the problem machine? I would love to upgrade my BIOS but I am unable to do that -- I have not Windows installed and my vendor requires Windows to be installed in order to perform the upgrade (yes, I know! I will never buy another laptop from them!) I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not sure if it will make any difference. As far as I understand, the snapshot I tried is more recent than 8.0-BETA2. Or am I wrong? Is it worth downloading one more ISO just to try it? Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
On Wed, Aug 5, 2009 at 10:52 PM, Glen Barberglen.j.bar...@gmail.com wrote: I have not tried 8.0-BETA (as someone on the IRC channel suggested) but not sure if it will make any difference. As far as I understand, the snapshot I tried is more recent than 8.0-BETA2. Or am I wrong? Is it worth downloading one more ISO just to try it? The -BETA, -BETA1, -BETA2 images are run the same way -RELEASE images are -- once the image is released, there are no further updates to it. That is why when you download a -RELEASE, any patches that may have been released afterwards are not reflected in the install image. For what it's worth, I tried the -BETA2 image on my laptop, and the ndis driver was causing panics. I used 7.2-RELEASE to install the OS, and rebuilt world/kernel from my build machine using NFS, and the panics went away. After rereading your original question, you were using a -CURRENT snapshot to install -- -BETA2 was released a few weeks ago. It may have the problem fixed, yes, but it is not guaranteed. To answer your question, is it worth downloading...: that depends. If you're willing to waste another CD if it fails, is up to you, but your problem may be fixed in -BETA2. Yes, I understand -- just realised that BETA2 is more recent than the snapshot I tried. Most probably, I'll just wait until 8.0 is actually released. My problem with trying BETA2 is that it will take long time to get it (slow connection here) and most probably my problem will remain. Isn't there a way (an easy way, I mean!) to get a custom kernel from freebsd.org that I could replace in my ISO? Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
On Wed, Aug 5, 2009 at 11:48 PM, Glen Barberglen.j.bar...@gmail.com wrote: On Wed, Aug 5, 2009 at 6:10 PM, Miguelluis.hen...@gmail.com wrote: Yes, I understand -- just realised that BETA2 is more recent than the snapshot I tried. Most probably, I'll just wait until 8.0 is actually released. My problem with trying BETA2 is that it will take long time to get it (slow connection here) and most probably my problem will remain. Possible that it will remain - more probable that it has been fixed though. Hmm... Ok, I will try it then. Not sure if I am able to do this today, but I try it. Isn't there a way (an easy way, I mean!) to get a custom kernel from freebsd.org that I could replace in my ISO? Not that I am aware of. Right, I could not find it too. Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with FreeBSD installation
On Wed, Aug 5, 2009 at 11:48 PM, Glen Barberglen.j.bar...@gmail.com wrote: On Wed, Aug 5, 2009 at 6:10 PM, Miguelluis.hen...@gmail.com wrote: Yes, I understand -- just realised that BETA2 is more recent than the snapshot I tried. Most probably, I'll just wait until 8.0 is actually released. My problem with trying BETA2 is that it will take long time to get it (slow connection here) and most probably my problem will remain. Possible that it will remain - more probable that it has been fixed though. Ok, some updates: I downloaded 8.0-BETA2 ISO and the result was exactly the same, i.e., system freezes during CD boot in the same point as before. This time I did not actually tried to install the CD on a virtual machine, but I can not believe it is a problem with the CD image ;-) This time I disabled _everything_ I could disable in my BIOS and selected several options from the boot manager: the default option, the option with ACPI disabled, the option safe-mode (or something like that...) and finally the verbose option, which gave me some more information. Here's the last messages I see in the console before freeze: start_init: trying /sbin/init start_init: trying /sbin/oinit start_init: trying /sbin/init.bak start_init: trying /rescue/init start_init: trying /stand/sysinstall And that's all. Any ideas? :-( Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem with ppp.conf file
Hi all. I want adapt my Internet service to FreeBSD 7.0, and I need to building the etc/ppp/ppp.conf file, but, I do not have much experience in FreeBSD, Can you Help me? I have a Windows XP file, maybe, it is useful as example. I hope, you can help me. Note: My English is not good, i speak Spanish. Best Regards, Miguel. P.S.: Here my file example: ** [GENERAL] Company_Name = Movilnet CCU550 Registry_Folder = MovilnetCCU_550 Install_Directory = Movilnet\CCU550 SWVersion = Software Version : 1.1.6.20(CCU-550) Copyright = Copyright (c) 2006 Franklin Wireless Corp. About_FirmwareVersion = Firmware Version : About_Title = CCU-550 Modem EvDO Info(CCU-550) ;;; ;;0-None, 1-Exist UIMCARD = 0 ;;; ;;;0 - None, 1-RM3 , 2-Reverse RM3 RM3 = 1 ;;; ;;;EVDO-5500P(PCMCIA), EVDO-5500U(USB) Product_Name = CCU-550 Modem EvDO Product_Name_SPA = CCU-550 Modem EvDO DialUP_ConnectionName = CCU-550 Modem EvDO Connection ;;; ;;;Select Language SelectLang = ENGLISH ;;; ;;;PCMCIA, USB, MODEM DriverKind = USB ;;; ;;;Open Port Modem Name - default - not use OpenPortModemName = 1 ;;; ;;Only DriverKind = MODEM ModemPort = ;;; ;;Port Kind (SINGLE or MULTI) PORT_KIND = MULTI ;;; ;;Vid_05c6Pid_3196 ;;CMOTECH-5100P-6944 ;;VID_05C6PID_3100 DriverID = Vid_16d8Pid_5533Mi_00 DriverID_DM = Vid_16d8Pid_5533Mi_02 SWVer = MainProgramName = CMOCCU.exe CHINESE_HelpFile = chhelp.chm HelpFile = help.chm ;;; ; Use NAM NAME for LCD 0:no use , 1:use, default:use UseNAMNAME = 1 ;;; ;;;CMTNF5500P.exe(PCMCIA), CMTNF5500U.exe(USB) DetectorProgrameName = CMTNF5500D.exe TitleName = CCU-550 Modem EvDO AutoRun = 0 ; ;;; On(1)/Off(0) ATCommandActiveSend = 1 ; ;;; Hybrid -- EVDO Data Call : Outgoing call(Active) On(1)/Off(0) ATCommandOutgoing = 1 ; ;ShortCuts Name Shortcuts_DeskTop = CCU-550 Modem EvDO Shortcuts_Programs = CCU-550 Modem EvDO Shortcuts_Programs_Execute = CCU-550 Modem EvDO Shortcuts_Programs_Help = CCU-550 Modem EvDO User Manual Shortcuts_Programs_Uninstall = UnInstall CCU-550 Modem EvDO Shortcuts_DeskTop_SPA = CCU-550 Modem EvDO Shortcuts_Programs_SPA = CCU-550 Modem EvDO Shortcuts_Programs_Execute_SPA = CCU-550 Modem EvDO Shortcuts_Programs_Help_SPA = Manual de usuario del CCU-550 Modem EvDO Shortcuts_Programs_Uninstall_SPA = Desinstalar CCU-550 Modem EvDO ;; ;;Main_No_SRV check count No_SRVCheckCnt = 5 ;;;Voice function ON(1)/OFF(0) ;;default - on VoiceFuction = 0 ;;;Offline Display function ON(1)/OFF(0) ;;default - off OfflineFct = 0 ; Only Data~~~! default - 0 OnlyData = 1 ; packet amount 0:byte, 1:kbyte, 2:mbyte, 3:gbyte PacketAmount = 1 ; kind of minimize 0:minimize, 1:hidedefault:minimize KindOfMinimize = 1 ; Using changeable tray icon 0:no use, 1: changeabledefault:no use ChangeableTrayIcon = 1 ; ;;Active SMS Send ON(1)/OFF(0) ActiveSMSSend = 1 ;;; ;SMS Max String SmsMaxString = 160 SmsRcvMaxString = 230 ;;SMS UNICODE ~! USE(1)/UNUSE(0) SmsUnicode = 0 ;; ;;sms emergency priorty OFF(0) / Normal (1) Fast (2) Urgent(3) - default SmsEmergency = 0
Help me to building of ppp.conf file
Hi all. I want adapt my Internet service to FreeBSD 7.0, and I need to building the etc/ppp/ppp.conf file, but, I do not have much experience in FreeBSD, Can you Help me? I have a Windows XP file, maybe, it is useful as example. I hope, you can help me. Note: My English is not good, i speak Spanish. Best Regards, Miguel. P.S.: Here my file example: ** [GENERAL] Company_Name = Movilnet CCU550 Registry_Folder = MovilnetCCU_550 Install_Directory = Movilnet\CCU550 SWVersion = Software Version : 1.1.6.20(CCU-550) Copyright = Copyright (c) 2006 Franklin Wireless Corp. About_FirmwareVersion = Firmware Version : About_Title = CCU-550 Modem EvDO Info(CCU-550) ;;; ;;0-None, 1-Exist UIMCARD = 0 ;;; ;;;0 - None, 1-RM3 , 2-Reverse RM3 RM3 = 1 ;;; ;;;EVDO-5500P(PCMCIA), EVDO-5500U(USB) Product_Name = CCU-550 Modem EvDO Product_Name_SPA = CCU-550 Modem EvDO DialUP_ConnectionName = CCU-550 Modem EvDO Connection ;;; ;;;Select Language SelectLang = ENGLISH ;;; ;;;PCMCIA, USB, MODEM DriverKind = USB ;;; ;;;Open Port Modem Name - default - not use OpenPortModemName = 1 ;;; ;;Only DriverKind = MODEM ModemPort = ;;; ;;Port Kind (SINGLE or MULTI) PORT_KIND = MULTI ;;; ;;Vid_05c6Pid_3196 ;;CMOTECH-5100P-6944 ;;VID_05C6PID_3100 DriverID = Vid_16d8Pid_5533Mi_00 DriverID_DM = Vid_16d8Pid_5533Mi_02 SWVer = MainProgramName = CMOCCU.exe CHINESE_HelpFile = chhelp.chm HelpFile = help.chm ;;; ; Use NAM NAME for LCD 0:no use , 1:use, default:use UseNAMNAME = 1 ;;; ;;;CMTNF5500P.exe(PCMCIA), CMTNF5500U.exe(USB) DetectorProgrameName = CMTNF5500D.exe TitleName = CCU-550 Modem EvDO AutoRun = 0 ; ;;; On(1)/Off(0) ATCommandActiveSend = 1 ; ;;; Hybrid -- EVDO Data Call : Outgoing call(Active) On(1)/Off(0) ATCommandOutgoing = 1 ; ;ShortCuts Name Shortcuts_DeskTop = CCU-550 Modem EvDO Shortcuts_Programs = CCU-550 Modem EvDO Shortcuts_Programs_Execute = CCU-550 Modem EvDO Shortcuts_Programs_Help = CCU-550 Modem EvDO User Manual Shortcuts_Programs_Uninstall = UnInstall CCU-550 Modem EvDO Shortcuts_DeskTop_SPA = CCU-550 Modem EvDO Shortcuts_Programs_SPA = CCU-550 Modem EvDO Shortcuts_Programs_Execute_SPA = CCU-550 Modem EvDO Shortcuts_Programs_Help_SPA = Manual de usuario del CCU-550 Modem EvDO Shortcuts_Programs_Uninstall_SPA = Desinstalar CCU-550 Modem EvDO ;; ;;Main_No_SRV check count No_SRVCheckCnt = 5 ;;;Voice function ON(1)/OFF(0) ;;default - on VoiceFuction = 0 ;;;Offline Display function ON(1)/OFF(0) ;;default - off OfflineFct = 0 ; Only Data~~~! default - 0 OnlyData = 1 ; packet amount 0:byte, 1:kbyte, 2:mbyte, 3:gbyte PacketAmount = 1 ; kind of minimize 0:minimize, 1:hidedefault:minimize KindOfMinimize = 1 ; Using changeable tray icon 0:no use, 1: changeabledefault:no use ChangeableTrayIcon = 1 ; ;;Active SMS Send ON(1)/OFF(0) ActiveSMSSend = 1 ;;; ;SMS Max String SmsMaxString = 160 SmsRcvMaxString = 230 ;;SMS UNICODE ~! USE(1)/UNUSE(0) SmsUnicode = 0 ;; ;;sms emergency priorty OFF(0) / Normal (1) Fast (2) Urgent(3) - default SmsEmergency = 0
Why not a DVD iso version too?
I do like to try free OSs and distributions Why not a DVD version at bittorent and or at the FTP? I cannot understand why not on these days. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb external hd question
Hi I bought an external usb hd but i can just get FreeBSD (both 6.2 and 7) to recognice it if the drive is switched on and plugged in during system boot up. Case in which i get the drive detected with both partitions i made in it. (da0 da0s1 da0s2) If i switch it on in an already running system, only an empty usb device is created (da0). Anything i could do for FreeBSD to detect both partitions if i switch the drive on in a already booted up system? also, a side question. When attaching a geli provider, i get this: GEOM_ELI: Device ad4s3.eli created. GEOM_ELI: Encryption: Blowfish-CBC 256 GEOM_ELI: Crypto: software WARNING: Expected rawoffset 14548865, found 14548865 i've been getting it since i edited the label of ad4s3.eli I don't really know if it's a bad thing to get that warning, since both numbers are the same. just wondering. Thank you, -M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems installing icu from the ports tree
Hi! I'm a FreeBSD newbie, and I need a little help on installing software. When I try to install postgresql or vim from the ports tree, I get the following error: ===Verifying install for icui18n in /usr/ports/devel/icu === Building for icu-3.6 *** config.status has become stale *** 'configure' and/or 'uversion.h' have changed, please do 'runConfigureICU' (or 'configure') again, as per the readme.html. exit 1 I have deleted all the tree and reinstalled the most current one, but the error keeps happening. I'm probably doing something dumb, but what? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com
[NEVERMIND] Problems installing icu from the ports tree
Hi! I'm sorry, I was doing it the wrong way... newbie dumbness. Yours Miguel Arroz On 2007/12/18, at 21:36, Miguel Arroz wrote: Hi! I'm a FreeBSD newbie, and I need a little help on installing software. When I try to install postgresql or vim from the ports tree, I get the following error: ===Verifying install for icui18n in /usr/ports/devel/icu === Building for icu-3.6 *** config.status has become stale *** 'configure' and/or 'uversion.h' have changed, please do 'runConfigureICU' (or 'configure') again, as per the readme.html. exit 1 I have deleted all the tree and reinstalled the most current one, but the error keeps happening. I'm probably doing something dumb, but what? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com Miguel Arroz http://www.terminalapp.net http://www.ipragma.com
Broadcom
Grettings to this list. Well, I have a doubt about Broadcom HOT_TOPIC and FBSD 6.2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broadcom
Sorry, I don't know what could happen, it's no the first time(maybe gmail, or safari browser). Well, I must rewrite all over again. I have a laptop compaq presario f500 with a wireless integrated chip, which is a Broadcom one, it has winxp, fbsd6.2, rofreesbie. I had tested many times trying to load the bcmwl5_sys module generated with ndisgen, but all my tries finished in reboots, it's was not possible no have some information from any log, the only information showed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broadcom - complete version
Sorry, I don't know what could happen, it's no the first time(maybe gmail, or safari browser). Well, I must rewrite all over again. I have a laptop compaq presario f500 with a wireless integrated chip, which is a Broadcom one, it has winxp, fbsd6.2, rofreesbie. I had tested many times trying to load the bcmwl5_sys module generated with ndisgen, but all my tries finished in reboots, it was not possible no have some information from any log, the only information showed was about memory address. The same steps with RoFreeSBIE works!!. But from FBSD6.2: #pciconf -lv outputs: class=0x028000 card=0x1375103c chip=0x431114e4 rev=0x02 hdr=0x00 vendor='Broadcom Corporation' class=network As you can see, there is already a memory address for broadcom, so, when I try to load bcmwl5_sys, there are memory address problems. I'd like to know if my theory is correct or just sucks. And if that is correct what could I do?. Thanks, this is the third time that I send this message.(this time with firefox) -- $ miguel_alcántara $ low mode --- http://perling.wordpress.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php failing to produce phpinfo()
bob wrote: My business has been using PHP for years. Mysql outputs to my browser, where I can print invoices, bills and any business statitic. Suddenly, my browser started acting funny. I don't know how to use the repair disk to fix a problem, so I reinstalled FreeBSD-6.1. It still works the same except I can't get phpinfo() to display in the browser. I can do php -i, which displays several pages of PHP code. That means PHP is working. I don't use CGI or PHP scripts. If phpinfo() doesn't show up in my browser, I can't do anything. The following is in /usr/local/etc/apache/httpd.conf: LoadModule php5_module AddModule mod_php5.c DirectoryIndex index.php index.html DirectoryIndex index.html AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The httpd.error.log doesn't show any problems. Thre are 35 modules in /usr/local/libexec/apache including libphp5.so and httpd.exp. Php.ini is installed at /usr/local/lib This time I installed mysql-5.1, apache-1.3 and PHP-5.1. I used pkg_add -r to install apache and mysql. Apache and mysql work excellent. I installed PHP from www.php.net. Both PHP4 and PHP5 would fail to load the phpinfo() file. I installed PHP-5.1 from the ports directory. Same problem. I ordered FreeBSD-6.1, before it was available. The FreeBSD Mall had it, but wasn't promoting it yet. About 2 years ago when I first installed FreeBSD-6.1, I installed mysql-4.0, PHP-4 and apache-1.3 on FreeBSD-6.1. I used pkg_add -r to install apache and mysql and I downloaded PHP-4 from www.php.net. Everything worked, including PHP. Two years ago, www.php.net was supplying any version of PHP including older versions of PHP-4. I installed older versions because they worked. Now www.php.net only supplies the latest version. thanks for any help, bob --- uname -a says: FreeBSD localhost 6.1-RELEASE FreeBSD 6.1-RELEASE #0: SUN MAY 7 04:32:43 UTC 20 06 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Did you stop and start apache ? apachectl stop apachectl start Cheers, Miguel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with FreeBSD and external storage
, SMBus at device 31.3 (no driver attached) pmtimer0 on isa0 orm0: ISA Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc97ff,0xc9800-0xcd7ff,0xe-0xe3fff on isa0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] 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: PNP0c02 can't assign resources (memory) unknown: PNP0303 can't assign resources (port) unknown: PNP0c02 can't assign resources (memory) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) Timecounters tick every 1.000 msec isp0: Loop Reset Received isp0: Loop Reset Received isp0: LIP Received isp0: Point-to-Point mode isp0: Loop UP isp0: Port Database Changed isp0: Firmware State Config Wait-Ready isp0: Target 126 (Loop 0x7e) Port ID 0xfe (role (none)) Arrived Port WWN 0x200d080088037938 Node WWN 0x180088037938 isp0: 2Gb link speed/s isp0: Loop ID 255, Port ID 0x610d13, Loop State 0x2, Topology 'F Port' isp0: Target 255 (Loop 0xff) Port ID 0x610d13 (role Initiator) Arrived Port WWN 0x21e08b9a13ea Node WWN 0x20e08b9a13ea isp0: Fabric Device @ PortID 0x610413 isp0: Fabric Device @ PortID 0x610d13 isp0: Target 0 (Loop 0x0) Port ID 0x610413 (role Target) Arrived Port WWN 0x5006048c4a859540 Node WWN 0x5006048c4a859540 acd0: CDROM LTN526S/YS0J at ata0-master UDMA33 ad4: 76319MB Seagate ST380011A 3.06 at ata2-master UDMA100 ad6: 76319MB Seagate ST380011A 3.06 at ata3-master UDMA100 ad9: 381554MB Seagate ST3400832A 3.03 at ata4-slave UDMA100 ad11: 381554MB Seagate ST3400832A 3.03 at ata5-slave UDMA100 Waiting 5 seconds for SCSI devices to settle pass0 at isp0 bus 0 target 0 lun 0 pass0: EMC SYMMETRIX 5670 Fixed Storage Array SCSI-2 device pass0: 200.000MB/s transfers, Tagged Queueing Enabled ar0: 76319MB HighPoint v3 RocketRAID RAID1 status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master ar1: 381554MB HighPoint v3 RocketRAID RAID1 status: READY ar1: disk0 READY (master) using ad9 at ata4-slave ar1: disk1 READY (mirror) using ad11 at ata5-slave SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/ar0s1a uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0x2000-0x201f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A 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 uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port 0x2020-0x203f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801CA/CAM (ICH3) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port 0x2040-0x205f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: Intel 82801CA/CAM (ICH3) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered # Sds, Miguel Angelo Flickr agora em português. Você clica, todo mundo vê. Saiba mais. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
detect ip spoofing attack
192.168.206.68.1914 84.122.171.232.dyn.user.ono.com.10397: . 5832:7284(1452) ack 1461 win 17424 15:57:42.484582 IP 192.168.206.68.1914 84.122.171.232.dyn.user.ono.com.10397: P 7284:7300(16) ack 1461 win 17424 .. hundred of additional lines... arp -a: ? (192.168.206.68) at 00:15:00:3d:fc:ea on fxp0 [ethernet] ping: proxy# ping 192.168.206.68 PING 192.168.206.68 (192.168.206.68): 56 data bytes ^C --- 192.168.206.68 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss nmap: proxy# nmap -sS 192.168.206.68 Starting Nmap 4.20 ( http://insecure.org ) at 2007-08-17 16:01 CST All 1697 scanned ports on 192.168.206.68 are filtered MAC Address: 00:15:00:3D:FC:EA (Intel Corporate) Nmap finished: 1 IP address (1 host up) scanned in 35.725 seconds proxy# nmap -O 192.168.206.68 Starting Nmap 4.20 ( http://insecure.org ) at 2007-08-17 16:03 CST Warning: OS detection for 192.168.206.68 will be MUCH less reliable because we did not find at least 1 open and 1 closed TCP port All 1697 scanned ports on 192.168.206.68 are filtered MAC Address: 00:15:00:3D:FC:EA (Intel Corporate) Too many fingerprints match this host to give specific OS details Network Distance: 1 hop OS detection performed. Please report any incorrect results at http://insecure.org/nmap/submit/ . Nmap finished: 1 IP address (1 host up) scanned in 36.794 seconds thanks --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reconfigure a port after install
Nikola Lecic escribió: On Thu, 09 Aug 2007 13:57:46 -0600 Miguel [EMAIL PROTECTED] wrote: Hi, i have installed postfix + sasl2 support, so far so good but now i want to enable mysql auth and sasl2 was not compiled with mysql support, i tried desinstalling it but it claims postfix depends on it, so how do i add mysql support to the installed sasl2 port? Im using portinstall btw, thanks Hello, First change sasl options, then forcefully recompile it with depending ports. Asuming you've chosen SASL2 option for Postfix: # cd /usr/ports/security/cyrus-sasl2 # make config [choose MYSQL option] # portupgrade -f -r cyrus-sasl2 Nikola Lečić Thanks Nikola, it made the trick, Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
reconfigure a port after install
Hi, i have installed postfix + sasl2 support, so far so good but now i want to enable mysql auth and sasl2 was not compiled with mysql support, i tried desinstalling it but it claims postfix depends on it, so how do i add mysql support to the installed sasl2 port? Im using portinstall btw, thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: porteasy vs portupgrade
Adam J Richardson escribió: Miguel wrote: Hi, i used to use portupgrade as using this instructions http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html for doing all the port managing, what about porteasy, it is as good as portupgrade? i think porteasy is not as popular as portupgrade. thanks Hi Miguel, I use portupgrade and portsnap, a combination which seems to work fine. The only thing that annoys me about portupgrade is that it's written in Ruby, and when it's time for an upgrade I always have to upgrade the Ruby compiler as well. Upgrading Ruby just takes forever on these old battered beige boxes. you are absolutly right, portsnap + portupgrade, thakns ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
porteasy vs portupgrade
Hi, i used to use portupgrade as using this instructions http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html for doing all the port managing, what about porteasy, it is as good as portupgrade? i think porteasy is not as popular as portupgrade. thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF NAt
hello to all the people, i'm trying for days to get work natting, but nothing happens. FreeBSD 6.2 /etc/rc.conf gateway_enable = YES ifconfig_vr0=inet 192.168.1.2 netmask 255.255.255.0 ifconfig_xl0=inet 192.168.1.3 netmask 0x squid_enable=YES --- /etc/pf.conf exter_if = vr0 inter_if = xl0 nat on $exter_if from $inter_if to any - $exter_if rdr on $inter_if inet proto tcp from any to any port www - 127.0.0.1 port 3128 /usr/local/etc/squid/squid.conf http_port 3128 transparent visible_hostname foo #all the rest is left by default The problem is that another machine can't surf or just ping the external nic vr0. What I'm doing wrong, help me please. Thanks in advance. -- $ miguel_alcántara $ … empiezo acá con la idea de ir allá en un experimento para aumentar, por ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he llegado en parte a la meta, me encuentro con un fenómeno que me empuja en otra dirección [...] hacia algo completamente inesperado. Thomas A. Edison. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
route
hello all the people, i want to configure a freebsd 6.2 as a router, in rc.conf added this line router_enable=YES it's ip is 192.168.1.33 then i have two PCs, one with freebsd(10.0.0.15) and another with debian( 192.168.1.34), but i can't realize if I must configure something in the others two machines the pourpose of this is to get communicated the freebsd(10.0.0.15) with debian(192.168.1.34). thanks in advance for your help. -- $ miguel_alcántara $ … empiezo acá con la idea de ir allá en un experimento para aumentar, por ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he llegado en parte a la meta, me encuentro con un fenómeno que me empuja en otra dirección [...] hacia algo completamente inesperado. Thomas A. Edison. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sharity-light
hello everybody, I was trying to get working sharity-light, but until now it's impossible. I have added in /etc/hosts the IP and the name of the XP(fat32 or ntfs), created a folder in order to mount. foo# cd / foo#mkdir share foo#shlight //nightwalker/share /share -U foo -P bar foo#Using port 5765 for NFS. nfs mount /share: [2] No such file or directory I'm working on FreeBSD 6.2. Please helpme with this problem. -- $ miguel_alcántara $ … empiezo acá con la idea de ir allá en un experimento para aumentar, por ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he llegado en parte a la meta, me encuentro con un fenómeno que me empuja en otra dirección [...] hacia algo completamente inesperado. Thomas A. Edison. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
model DDBB
Hello to all. I need to model data bases, so, my question is if some of you could know about a good database designer like ERWin, but that resides in ports. I've just installed pydbdesigner, but doesn't fit my needs at all, in fact, nothing at all. Thanks in advance. -- $ miguel_alcántara $ … empiezo acá con la idea de ir allá en un experimento para aumentar, por ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he llegado en parte a la meta, me encuentro con un fenómeno que me empuja en otra dirección [...] hacia algo completamente inesperado. Thomas A. Edison. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound drivers
This works for me: $kldload snd_driver $cat /dev/sndstat then you will see the correct sound driver, and add that in /boot/loader.conf my case: ofuscado# kldload snd_driver ofuscado# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: Intel ICH2 (82801BA) at io 0xd800, 0xdc40 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) ofuscado# cat /boot/loader.conf snd_ich_load=YES On 3/14/07, freenity [EMAIL PROTECTED] wrote: Helo. Im new to FreeBSD and need some help. I have installed FreeBSD 6.2-RELEASEfor amd64. I have a 18n-vm mother board. And the problem is with its onboard sound card. It seems that its not detected. I tried to use kldload snd_ich but it didnt helped. The output of cat /dev/sndstat is $ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: $ Thanks for any help. Anton. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- $ miguel_alcántara $ … empiezo acá con la idea de ir allá en un experimento para aumentar, por ejemplo, la velocidad del cable interoceánico del Atlántico; pero cuando he llegado en parte a la meta, me encuentro con un fenómeno que me empuja en otra dirección [...] hacia algo completamente inesperado. Thomas A. Edison. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD 6.2/i386 samba3 pdc ldap and idealx
Hi, i have followed the idealx tutorial to the letter, however i get this error when i try to start slapd: ambepdc# /usr/local/etc/rc.d/slapd start Starting slapd. /usr/local/etc/openldap/slapd.conf: line 74: index type uidNumber undefined this is my slapd.conf ambepdc# cat /usr/local/etc/openldap/slapd.conf # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/samba.schema # log loglevel 4095 # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org pidfile /var/run/openldap/slapd.pid argsfile/var/run/openldap/slapd.args # Load dynamic backend modules: modulepath /usr/local/libexec/openldap moduleload back_bdb # moduleloadback_ldap # moduleloadback_ldbm # moduleloadback_passwd # moduleloadback_shell # Sample security restrictions # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind # security ssf=1 update_ssf=112 simple_bind=64 # Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: # access to dn.base= by * read # access to dn.base=cn=Subschema by * read # access to * # by self write # by users read # by anonymous auth # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., access to * by * read) # # rootdn can always read and write EVERYTHING! ### # BDB database definitions ### databasebdb suffix dc=sv,dc=amnetcorp,dc=com rootdn cn=Manager,dc=sv,dc=amnetcorp,dc=com # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw {SSHA}v6130sVnBx1z/2/c3e7qipTB5Y41TQOu # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/db/openldap-data # Indices to maintain index objectClass, uidNumber, gidNumber eq index cn, sn, ui, displayName pres, sub, eq index memberUid, mail, givennameeq, subinitial index sambaSID, sambaPrimaryGroupSID, sambaDomainName eq # users can authenticate and change their password access to attrs=userPassword , sambaNTPassword , sambaLMPassword by self write by anonymous auth by * none # all others attributes are readable to everybody access to * by * read ambepdc# I dont knowe what else to do, there are many docs in the net but everbody seems to prefer the idealx one, what freebsd's special settings am i missing? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to make an init script
Hi, the handbook doesnt show an example for a custom init script, i want to make one for wildfie jabber server, any tutorial? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports maintainer
Hi there! I am interesting to be a ports maintainer for FreeBSD project. What need I do? Thanks a lot. Miguel -- Miguel Vazquez Gocobachi Web Developer/Designer| Phone: (662) 1744395 139 Arroyo hondo, Nacameri| Home: (662) 2516753 Hermosillo, Son 83287 MX | GPG: 4A6E14B1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mailgraph doesnt start
Hi, i just installed mailgraph from ports, the install process finished without any error, i added mailgraph_enable=YES to rc.conf, but mailgraph doesnt start: mailfilter# /usr/local/etc/rc.d/mailgraph start Starting mailgraph. mailfilter# echo $? 0 mailfilter# ps aux | grep mail root 6570 0.0 0.2 4892 1188 p0 RV8:47AM 0:00.00 grep mail (csh) mailfilter# I dont get any error in /var/log/messages, if i run manually (from a root console), it starts ok, what can i check? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what happed to mod_perl in 6.1?
Hi, my cgi scripts doesnt work in 6.1, and i dont see any entry about mod_perl in httpd.conf, how do i enable it? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems booting operating system and with root password
Andy Greenwood wrote: I don't know what you mean by kernel errors on boot, but you can recover your root password by booting into single user mode and then running passwd. Hi, i have a similar problem, i forgot my root password and the server its in a remote colocation site, is there a way to recover the encrypted password and crackit some way, i have my normal account (which is in wheel group), i even know that the root's pass begings with MAG_something, but i really cant remember the complete root's pass, rebooting in single user mode is my best bet? --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems booting operating system and with root password
Atom Powers wrote: On 5/26/06, Miguel [EMAIL PROTECTED] wrote: Hi, i have a similar problem, i forgot my root password and the server its in a remote colocation site, is there a way to recover the encrypted password and crackit some way, i have my normal account (which is in wheel group), i even know that the root's pass begings with MAG_something, but i really cant remember the complete root's pass, rebooting in single user mode is my best bet? If you are in wheel, then you should be able to sudo su to switch to the root account and then passwd root to reset the password. :-( No luck, this is the error sudo su We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. Password: mmiranda is not in the sudoers file. This incident will be reported. sudo su mmiranda is not in the sudoers file. This incident will be reported. passwd root passwd: permission denied I entered my account's password... Anything more? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5 port error
Luyt wrote: On Tuesday 16 May 2006 16:00, Ashley Moran wrote: Has anyone installed PHP5 on 6.1 yet? I've tried fetching a file off a mirror and copying it to /usr/ports/distfiles but I still get php-5.1.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ I had a similar error. I downloaded the php-5.1.4.tar.bz2 file manually, determined its size, MD5 and SHA256 hashes, and put all that info into /usr/ports/lang/php5/distinfo. My portupgrade -R php5 then went OK. My current /usr/ports/lang/php5/distinfo: MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c SHA256 (php-5.1.4.tar.bz2) = b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5a32 SIZE (php-5.1.4.tar.bz2) = 6356171 thanks a lot Luyt, you saved my day, i was stuck trying to install php since yesterday, great work --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5 port error
Lowell Gilbert wrote: Miguel [EMAIL PROTECTED] writes: Luyt wrote: On Tuesday 16 May 2006 16:00, Ashley Moran wrote: Has anyone installed PHP5 on 6.1 yet? I've tried fetching a file off a mirror and copying it to /usr/ports/distfiles but I still get php-5.1.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ I had a similar error. I downloaded the php-5.1.4.tar.bz2 file manually, determined its size, MD5 and SHA256 hashes, and put all that info into /usr/ports/lang/php5/distinfo. My portupgrade -R php5 then went OK. My current /usr/ports/lang/php5/distinfo: MD5 (php-5.1.4.tar.bz2) = 66a806161d4a2d3b5153ebe4cd0f2e1c SHA256 (php-5.1.4.tar.bz2) = b55253e9557eceb901d83217ec192da22c28c7b2fdf714d3f151f1db663b5a32 SIZE (php-5.1.4.tar.bz2) = 6356171 thanks a lot Luyt, you saved my day, i was stuck trying to install php since yesterday, You can always use make makesum to regenerate the checksums, but be *very* careful about this; you are throwing away your only guarantee (such as it is) that you are installing what you think you are. Hi, i am trying to install mod_php5 but it doesnt work either, this is the error: proxy# portinstall mod_php5 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 26 packages found (-1 +0) (...) done] cd: can't cd to /usr/ports/www/mod_php5 ** Port directory not found: www/mod_php5 ** Listing the failed packages (*:skipped / !:failed) ! www/mod_php5 (port directory error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed proxy# it does seems like there is something seriously broken between the index file in the ports and the real directory locations, is there a way to begin from scratch? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Convert numbered JPG files to movie
Well, perhaps what you want is MJPEG, which is a packed file with each frame being a JPEG image. Check the MJPEG Wikipedia article and if you google for MJPEG you'll find an MJPEG howto on sourceforge. Now, if I'm not mistaken, an MJPEG file or stream is just a MIME packed stream of JPEG images with content type of multipart/x-mixed-replace. If that is so, you could probably produce an MJPEG file simply by using mpack, and the howtos you may find are for more complicated cases such as converting and MJPEG stream to MPEG. It may not work, but if you succeed in packing/unpacking MJPEG streams with mpack, I would be interested in knowing it because I will be decoding one such stream within a couple of monthes. Miguel Ramos Dom, 2006-05-14 às 13:07 +0200, Andreas Wideroe Andersen escreveu: Hi, I have a surveillance camera uploading numbered still JPG images to my FreeBSD (4.7 STABLE) server. The number of still images grow really fast and I'm looking for a tool or a script that I can configure through cron (or similare) to automatically once per day add these files to a movie file (Ie. avi file or mpg file in PAL) and delete the JPG files. Does anyone know of a script or a program that I can use for this? Thanks! Andreas --- Norsk Smalfilm AS Andreas Widerøe Andersen [EMAIL PROTECTED] http://www.smalfilm.no Filmshooting | Com - http://www.filmshooting.com Tel:(+47) 38 17 99 16 Fax:(+47) 38 02 33 84 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
escape to console from xorg
Hi, that is normal procedure to escape from xorg(fluxbox or kde) to a console?, i dont mean a xconsole, i mean a normal shell console, like if there is not xorg running thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: escape to console from xorg
Victor Lundwall wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel wrote: Hi, that is normal procedure to escape from xorg(fluxbox or kde) to a console?, i dont mean a xconsole, i mean a normal shell console, like if there is not xorg running thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm not sure I understand your question but I think the answer to it is yes. You can switch trough ttys by pressing ctrl+Alt and any Fx-key between F1 and F8, F9 for X. Or you can shutdown X by pressing ctrl+alt+backspace. that is exactly what i was looking for, thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 6.1 (cvsup)
Nikolas Britton wrote: On 5/9/06, John Nielsen [EMAIL PROTECTED] wrote: [snipped] 2) Create a supfile appropriate for your situation (and location). Here is mine: *default host=cvsup12.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix *default compress src-all If he cvsups using that release tag he will get 6-STABLE, not 6.1-RELEASE. is that info (tags meaning) available somewhere in the handbook?, im running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to 6.1-STABLE, what tag should i use? RELENG??? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 6.1 (cvsup)
John Nielsen wrote: On Tuesday 09 May 2006 15:48, Miguel wrote: Nikolas Britton wrote: On 5/9/06, John Nielsen [EMAIL PROTECTED] wrote: 2) Create a supfile appropriate for your situation (and location). Here is mine: *default host=cvsup12.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_6 *default delete use-rel-suffix *default compress src-all If he cvsups using that release tag he will get 6-STABLE, not 6.1-RELEASE. is that info (tags meaning) available somewhere in the handbook?, im running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to 6.1-STABLE, what tag should i use? RELENG??? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html RELENG_6_1 == tag for FreeBSD 6.1 security branch RELENG_6 == tag for FreeBSD 6-STABLE development branch. If you want 6.1-RELEASE use the first one. If you want 6.1-STABLE use the second one. JN Great, i will upgrade today, regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openbsd's pf port
Hi, what specific feautures are missing in the freebsd's pf port? i want to install a proxy/firewall server and im very used to freebsd, if posible i would not like to install openbsd but im worried about some security feauture missing in freebsd, what do you recomend? are the ports smiliar enough for me to sleep without worring at night? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
squid and SQUID_FOLLOW_XFF
Hi, i just installed squid using ports in 6.1-RC1, i noticed that i forgot to enable the SQUID_FOLLOW_XFF flag where configuring the options, i want to add it now, how can i do that? btw, im using portinstall, and i have tried portinstall -m '-DSQUID_FOLLOW_XFF' squid without luck, it didnt work out. when i add the lines acl miguel src 192.168.10.124 follow_x_forwarded_for deny miguel i got this error message: proxy# /usr/local/etc/rc.d/squid restart 2006/04/27 13:51:52| parseConfigFile: line 1894 unrecognized: 'follow_x_forwarded_for deny miguel' Waiting for PIDS: 432 434. Starting squid. 2006/04/27 13:51:54| parseConfigFile: line 1894 unrecognized: 'follow_x_forwarded_for deny miguel' --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind as a chaching nameserver
AND make sure that either /etc/resolv.conf doesn't exist or that it contains a single nameserver line like this: nameserver 127.0.0.1 otherwise your local nameserver isn't queried. You see, there's really nothing else to do on a standard installation of freebsd... 1- named_enable=YES in /etc/rc.conf 2- either delete /etc/resolv.conf or use nameserver 127.0.0.1 The default /etc/namedb/named.conf that comes installed does exactly what you want. -- Miguel Qua, 2006-04-26 às 08:05 +0100, Martin Hepworth escreveu: Richard just set the forwarders to another nameserver in the named.conf and that's it.. this will speed up SA massively. -- martin On 4/25/06, Richard Collyer [EMAIL PROTECTED] wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CGI service.
Qua, 2006-04-26 às 12:07 -0300, Pgold escreveu: Hi, I´m developing a web app in C++. But it loads a huge amount of from a Database to memory, and I can´t afford doing this everytime someone asks for the page. Is there a way to make the program to keep running, and reading requests made via CGI? If it helps, i´m running FreeBSD 6.0 with Apache 2.2. Greets, Pedro. If the problem is keeping the data in memory, I don't think even mod_perl or mod_python will help you. Sugestion #1 - write an apache module; that will be always in memory. I'm not sure if it will be hard to compile. Sugestion #2 - forget about C++ and use mod_mysql or whatever is available for your DBMS. Sugestion #3 - split your web app in two parts: cgi scripts (or apache module) and a server app that keeps data in memory and responds to requests made by cgi scripts. Communication between the two can be made with pipes, sockets, shared memory or whatever you like. Sugestion #4 - load less data from the database; only that which you need to generate output. (For example, for an SQL database, use WITH, HAVING, OFFSET and LIMIT wisely). Any more sugestions? -- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Domain Registration
Qua, 2006-04-26 às 01:59 +0100, martin mccann escreveu: I need to do a few more checks to make sure I havn't overlooked anything, but it all looks grand atm - if you are looking for a no nonsence, just give me what I want type of setup, I would highly recommend them. I'm now going to transfer my origional domain over to them and get that setup to my tastes too. I think I may also consider taking a backup of my server setup ... :) Yes, and probably the 8 hour lag was your fault... I was also quite happy at first, they have some problems though - custom dns is a bit broken, sometimes the zone file misteriously vanishes when you change it. They lack some features which, without giving them any more trouble, would make a much better service: like allowing the mix of custom dns and url and email redirection. AFAIK, the perfect registrar is yet to be born... It would be easy to provide better service than them, if you were on that line of business... Thanks again, Martin Not at all, -- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Domain Registration
Ter, 2006-04-25 às 11:44 +, [EMAIL PROTECTED] escreveu: [...] I assume what should happen is - I buy a domain from registrar X - X sets that domain to point to my dns server as the master server - X hosts a secondary dns server *Some* registrars offer free secondary dns hosting, yes, mine does, gandi.net. - I can then add subdomains to my domain which will directly propagate on the internet, set the various MX and ilk to whatever I want etc. without having to contact a 3rd party My further assumptions are - The secondary server will either update from my server directly OR I will need to contact X to add anything new for me. Secondaries update from your server, initiating a zone transfer when they feel like it. Sending them a notify may also trigger the transfer, but not immediatly. I have a free secondary dns for anjos.strangled.net on rollernet.us, and it only updates from my server at most once a day (just about what I need, but comes close to being useless). My questions are - a) Are my assumptions correct? b) What would be the best way to explain this to a phone drone? Impossible. If the services you need (secondary dns) are not listed on their website then they won't offer the service either because they don't understand its usefulness or because it's against their interest. c) Can anyone recommend a good registrar that will be able to set this up with minimum fuss (and cost)? Check mine, http://www.gandi.net. Not cheap on .com, .net, .org domains, cheap on .info and .name. Anyway, they offer secondary dns and custom dns (if you come to the conclusion that it's best to leave the zone files outside your computer). I'm not entirely satisfied, mainly because they offer email redirection, secondary dns and custom dns, but each of these mutually excludes the other ones. There's also freedns.afraid.org, if you want to put your domain on a good, redundant server, and perhaps only host third level domains on your computer (they allow you to define NS records, and they also offer dynamic dns services). Rollernet.us offers besides secondary dns, backup mx for free. d) Are there any good reasons not to do it this way (remember, this is not a mission critical setup, and its main purpose is to tinker) Well, - if you plan to have your main server down for more than a week (default value in SOA record), then your zone will expire, even on secondaries. - if you're on a dynamic IP, then you'll have trouble with most registrars. Perhaps a more flexible option may be having a second level domain on a freedns service (like freedns.afraid.org) and one or more third level domains hosted at your server. But buy a domain, try it, and see what suits you. Miguel Ramos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Domain Registration
Ter, 2006-04-25 às 14:22 +0100, Miguel Ramos escreveu: d) Are there any good reasons not to do it this way (remember, this is not a mission critical setup, and its main purpose is to tinker) Also, if you only meen to tinker, try this, using only free services (this is what I use for my home computer, anjos.strangled.net): 1- get a subdomain at freedns.afraid.org, say yourhome.afraid.org 2- configure three records on your subdomain like this: yourhome.afraid.org NS yourhome.afraid.org. yourhome.afraid.org NS ns1.rollernet.us. yourhome.afraid.org NS ns2.rollernet.us. yourhome.afraid.org A yourip (may be dynamic) 3- configure your zone file, yourhome.afraid.org, with at least the following: @ NS yourhome.afraid.org. @ NS ns1.rollernet.us. @ NS ns2.rollernet.us. @ A yourip (may be dynamic) and perhaps, @ MX 0 yourhome.afraid.org. @ MX 10 mail.rollernet.us. @ MX 10 mail2.rollernet.us. 4- go to rollernet.us and activate secondary dns (and backup mx) for your domain. This is the best I could come up with for me. Sugestion #2: Peek on other people's setups using a combination of WHOIS, dns lookups and reverse lookups to find out which services they use. -- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....
Ter, 2006-04-25 às 10:15 -0500, Eric Schuele escreveu: Chuck Swiger wrote: Eric Schuele wrote: [ ... ] OK... I can tell be the number of replies, everyone just rolled their eyes at me and figured I'm crazy. But it really does occur. :) FWIW: I have found that if I use the GDM provided XDMCP Chooser... that the problem immediately dissapears. Anyone have any thoughts on this? It sounds like something is causing data to get scribbled over video memory when you move your mouse, but who knows? That's the assumption I had (but I have no idea how to 'fix' it). In fact, if you could see it happen... it even looks like memory getting allocated. The blocks fill in left to right top to bottom (for the most part). First one block... then another. You should probably not expect replies to a non-trivial message in less than 24-hours; Sorry... my comment regarding the number of replies was a failed attempt at humor. I realize this is a bit of an odd one. My follow up to my own message was intended to introduce the new tidbit of info I had found (XDMCP Chooser). My hint is very bad (I had a problem once, and assume any problem with gdm is the same). What is the value of the FirstVT option in /usr/X11R6/etc/gdm/gdm.conf? Is that tty off in /etc/ttys? -- Miguel Ramos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange visual artifacts in upper left corner of screen which respond to mouse activity.....
Ter, 2006-04-25 às 11:53 -0500, Eric Schuele escreveu: Well, yes. That is the case. FirstVT=9 in gdm.conf. I only have ttyv0-ttyv4 set to on. So I changed FirstVT to 4. This had the undesirable effect of causing GDM to be unresponsive to the keyboard (mouse still worked). Then I changed FirstVT to 5... keyboard now works. And the odd artifacts remained. Did I not make the change you were proposing properly? I don't believe this has any effect. No, =9 was ok, since you only use ttyv0-ttyv4. It would be wrong if =4, as you experienced. I'm out of clues. Sorry. I have no such problem. I can't imagine what may be overwriting the framebuffer. Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ClamAV question
Darryl Hoar wrote: Greetings, I am running Freebsd 6-release. I have been following the qmailrocks.org document for setting up qmail, squirrel, spamassasssin clamav ( misc) on Freebsd. which qmail-queue replacement did you use? Everything has gone fine, but I am having a small problem. When I run the test_installation.sh -doit which sends a regular email, a spam email 2 virus emails (safe of course) , ClamAV places the messages in the quarantine directory, but never delevers the warning message to the intended recepient notifying them of the email being quarantines. From my reading, that is what is suppose to happen. that is not clamav's work, its qmail-queue's replacement work, i use qmail-scanner without problem for that --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
run_rc_command and redirect stdout
Hi, what are the alternatives to redirect stdout from a process started using run_rc_command, only 21 /tmp/xxx ? --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which smtp server for my needs?
Jonas Jacobsen wrote: Hi Freebsd-list Next week i am going to setup af mailserver. The mailserver will be used for sending out newsletters, and only sending out newsletter I need a reliable and fast(send as many mails as possible in the min.) smtp server for the purpose. Do you have any suggestions, which smtp server there will be best for my needs? i use qmail for that very same purpose, its rock solid and has very good performance, take a look at postfix too, others think that its a better alternative, --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which smtp server for my needs?
Zimmerman, Eric wrote: Next week i am going to setup af mailserver. The mailserver will be used for sending out newsletters, and only sending out newsletter I need a reliable and fast(send as many mails as possible in the min.) smtp server for the purpose. Do you have any suggestions, which smtp server there will be best for my needs? i use qmail for that very same purpose, its rock solid and has very good performance, take a look at postfix too, others think that its a better alternative, postfix all the way. I used qmail for a while and found it lacking in several ways. Umm, he told us : for sending out newsletters, and only sending out newsletter qmail is very good doing that , if you need smtp-auth, domain-keys, ospf , imap, etc, postfix is the way to go.you dont need a full featured smtp server for sending newsletterts, do you? Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
show port's deps
Hi, how can i know what the dependencies are for a particular port? i want to know in advance before install the port, is there something like emerge -pv in gentoo?, with this i mean a user friendly command, i already know that doing a make search key=xxx and look at the B-DEPS and R-DEPS lines you see them, but you have to search for your especific port among the multitud of matches, BTW, what the diference between them? something like this would be great # cd /usr/ports/lang/php5 # make show_deps (or similar) thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terrible performance in 6.1beta4
[EMAIL PROTECTED] wrote: Miguel, you are not inserting into an indexed table, are you? yes, i am... is that a problem? it used to be a problem, but since your gentoo box is doing the same task in 4-5 minutes, i doubt it is currently the problem. i seem to recall some speedup of the copyin-command in one of the latest releases of PostgreSQL. i don't know the details, maybe they are deferring index-updates automagically when copying-in ( check PostgreSQL release notes ). Miguel, you have not yet confirmed the two postgresql.conf-files(gentoo vs fbsd) to be identical ( or i missed that ). please let me know. Yes, thay are identical, except for he shared_buffers, another issue pops to my mind: on 4.x i had to tweak some sysctl's regarding shared-memory ( default settings would not allow PGSQL to claim as much as i would like ). i don't know if this still needs to be done on 6.x. if i recall correctly, postgresql would not start if it could not allocate it's shared buffers. things may have changed: check you postgresql.log to see if it is complaining. please let us know if you achieved any speed update at all. i increased the shred_buffers to 35% of fisical RAM, that doesnt helped very much, neither do fsync off. thanks for all folks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terrible performance in 6.1beta4
Kris Kennaway wrote: On Wed, Mar 29, 2006 at 07:09:26PM -0600, Miguel wrote: Hi, im loading a lot of information to a postgresql 8.1.3 database, im using the copy command, using the same file and version of postgres in gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has already spent 25 minutes and the server apparently is doing nothing, and the reponse time of remote logins or running simple commands like ls -l /etc takes a lot of time (35 secs ort so), cpu usage is very low: It's spending all its time reading from disk. What else is different between your two systems (hardware, database configuration)? This is a brand new server, with sata controller, 250G disks without array, the old one has a hp 5i controller, 6 x 70G 10k 320 scsi disks. --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terrible performance in 6.1beta4
[EMAIL PROTECTED] wrote: Miguel, On Wed, Mar 29, 2006 at 07:09:26PM -0600, Miguel wrote: Hi, im loading a lot of information to a postgresql 8.1.3 database, im using the copy command, using the same file and version of postgres in gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has already spent 25 minutes and the server apparently is doing nothing, and the reponse time of remote logins or running simple commands like ls -l /etc takes a lot of time (35 secs ort so), cpu usage is very low: how do your postgresql.conf's compare? things like shared buffers, fsync... the only diference is in shared_buffers, the new one has only 2G of ram, while the old one 3G, both has fsync = on (the default value) how big is the file? 3.0G --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: terrible performance in 6.1beta4
[EMAIL PROTECTED] wrote: Kris, 3.0G Well there you go then..you're trying to access a file that is larger than RAM, so naturally you won't be able to fit it all in RAM, and with 1GB less RAM in your system you'll spend much more time reading bits of it from disk and later throwing them away. i know a bit of databases, and assume you do as well, so i am hesative to question your explanation but: the importing of a DB-file ( being tab-sep-copies or SQL dumps ) is a transformation process and does not require all data to be in core ( is that the right terminology? ) at the same moment. it transform x Gigs of input to y Gigs of output. i don't see why the 2GB machine would suffer this hard. unless the 3GB-file is one big table. is it MIguel? Yes, it is a dump of a single table. i want to tranfer the data from one server to another, and this is one of the biggest table. i will have to wait on the .conf files, Miguel has not claimed them to be identical, so i am curious. attached is my config file, shared_buffers are 25% of total RAM im guessing that this is a disk controlled bug or something, when i execute any query involving many rows, the server response is very low, ssh, su, even copy or rename a file, cpu usage remains ~87% idle though --- Miguel miguel # - # PostgreSQL configuration file # - # # This file consists of lines of the form: # # name = value # # (The '=' is optional.) White space may be used. Comments are introduced # with '#' anywhere on a line. The complete list of option names and # allowed values can be found in the PostgreSQL documentation. The # commented-out settings shown in this file represent the default values. # # Please note that re-commenting a setting is NOT sufficient to revert it # to the default value, unless you restart the postmaster. # # Any option can also be given as a command line switch to the # postmaster, e.g. 'postmaster -c log_connections=on'. Some options # can be changed at run-time with the 'SET' SQL command. # # This file is read on postmaster startup and when the postmaster # receives a SIGHUP. If you edit the file on a running system, you have # to SIGHUP the postmaster for the changes to take effect, or use # pg_ctl reload. Some settings, such as listen_addresses, require # a postmaster shutdown and restart to take effect. #--- # FILE LOCATIONS #--- # The default values of these variables are driven from the -D command line # switch or PGDATA environment variable, represented here as ConfigDir. #data_directory = 'ConfigDir' # use data in another directory #hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file #ident_file = 'ConfigDir/pg_ident.conf' # IDENT configuration file # If external_pid_file is not explicitly set, no extra pid file is written. #external_pid_file = '(none)' # write an extra pid file #--- # CONNECTIONS AND AUTHENTICATION #--- # - Connection Settings - listen_addresses = '*' # what IP address(es) to listen on; # comma-separated list of addresses; # defaults to 'localhost', '*' = all #port = 5432 max_connections = 40 # note: increasing max_connections costs ~400 bytes of shared memory per # connection slot, plus lock space (see max_locks_per_transaction). You # might also need to raise shared_buffers to support more connections. superuser_reserved_connections = 5 #unix_socket_directory = '' #unix_socket_group = '' #unix_socket_permissions = 0777 # octal #bonjour_name = '' # defaults to the computer name # - Security Authentication - #authentication_timeout = 60# 1-600, in seconds #ssl = off #password_encryption = on #db_user_namespace = off # Kerberos #krb_server_keyfile = '' #krb_srvname = 'postgres' #krb_server_hostname = '' # empty string matches any keytab entry #krb_caseins_users = off # - TCP Keepalives - # see 'man 7 tcp' for details #tcp_keepalives_idle = 0# TCP_KEEPIDLE, in seconds; # 0 selects the system default #tcp_keepalives_interval = 0# TCP_KEEPINTVL, in seconds; # 0 selects the system default #tcp_keepalives_count = 0 # TCP_KEEPCNT; # 0 selects the system default #--- # RESOURCE USAGE (except WAL) #--- # - Memory - shared_buffers = 65536
Re: terrible performance in 6.1beta4
[EMAIL PROTECTED] wrote: Miguel attached is my config file, shared_buffers are 25% of total RAM im guessing that this is a disk controlled bug or something, when i execute any query involving many rows, the server response is very low, ssh, su, even copy or rename a file, cpu usage remains ~87% idle though you are not inserting into an indexed table, are you? yes, i am... is that a problem? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
slow scp transfer
Hi, i have freebsd 6.0 in a dl380 g3, im copying a 3.0G file from one server (with gentoo) to the freebsd server using scp, the transfer rate is terrible slow, check out this napstats# scp [EMAIL PROTECTED]:NAPSTATS_TRANSFER/stopacct_borrar stopacct_borrar stopacct_borrar26% 802MB 423.2KB/s 1:30:57 ETA this are my interfaces: napstats# ifconfig -a bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING inet6 fe80::213:72ff:fe0c:9065%bge0 prefixlen 64 scopeid 0x1 inet 192.168.10.49 netmask 0xf000 broadcast 192.168.15.255 ether 00:13:72:0c:90:65 media: Ethernet autoselect (100baseTX full-duplex) status: active tl0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether 00:08:c7:56:ce:3e media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 i dont have any errors: napstats# netstat -i NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll bge0 1500 Link#1 00:13:72:0c:90:65 1574833 0 994478 0 0 bge0 1500 fe80:1::213:7 fe80:1::213:72ff:0 -4 - - bge0 1500 192.168.0/20 192.168.10.49 1335972 - 991596 - - tl0* 1500 Link#2 00:08:c7:56:ce:3e0 00 0 0 lo0 16384 Link#3 12620 012620 0 0 lo0 16384 localhost ::1 12476 -12476 - - lo0 16384 fe80:3::1 fe80:3::10 -0 - - lo0 16384 your-net localhost 144 - 144 - - what can be wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
terrible performance in 6.1beta4
Hi, im loading a lot of information to a postgresql 8.1.3 database, im using the copy command, using the same file and version of postgres in gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has already spent 25 minutes and the server apparently is doing nothing, and the reponse time of remote logins or running simple commands like ls -l /etc takes a lot of time (35 secs ort so), cpu usage is very low: napstats# top -S last pid: 10712; load averages: 0.13, 0.09, 0.02 up 2+03:43:32 18:59:57 122 processes: 3 running, 87 sleeping, 32 waiting CPU states: 5.3% user, 0.0% nice, 0.9% system, 0.2% interrupt, 93.6% idle Mem: 572M Active, 972M Inact, 266M Wired, 90M Cache, 213M Buf, 2960K Free Swap: 4096M Total, 216K Used, 4096M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root1 171 52 0K16K CPU1 1 51.6H 93.46% idle: cpu1 12 root1 171 52 0K16K RUN0 51.5H 92.92% idle: cpu0 10671 postgres1 -80 538M 516M biord 1 0:46 8.98% postgres 10384 postgres1 -80 538M 528M biord 0 3:23 0.00% postgres 37 root1 -32 -151 0K16K WAIT 0 2:51 0.00% swi4: clock sio 55 root1 200 0K16K syncer 0 1:44 0.00% syncer 8862 postgres1 -40 537M 524M ufs1 1:10 0.00% postgres 3 root1 -80 0K16K - 0 0:42 0.00% g_up 4 root1 -80 0K16K - 0 0:38 0.00% g_down 36 root1 -44 -163 0K16K WAIT 0 0:25 0.00% swi1: net 29 root1 -68 -187 0K16K WAIT 0 0:22 0.00% irq17: bge0 32 root1 -64 -183 0K16K WAIT 0 0:16 0.00% irq20: atapci1 54 root1 -160 0K16K psleep 0 0:12 0.00% bufdaemon 39 root1 -160 0K16K - 0 0:12 0.00% yarrow 2 root1 -80 0K16K - 0 0:08 0.00% g_event 61 root1 960 0K16K - 0 0:05 0.00% schedcpu 414 root1 960 7532K 1536K select 0 0:04 0.00% ntpd 53 root1 171 52 0K16K pgzero 0 0:03 0.00% pagezero 437 root1 960 9352K 2812K select 0 0:02 0.00% sendmail napstats# systat -vmstat 1 4 usersLoad 0.07 0.08 0.02 Mar 29 19:01 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 5818124448 633656 6804 80896 count All 1937176660849724634413788 pages Interrupts Proc:r p d s wCsw Trp Sys Int Sof Fltcow4145 total 3 56 990 54 373 338 13 27 272880 wire 14: ata 585256 act 4 17: bge 0.7%Sys 0.0%Intr 1.9%User 0.0%Nice 97.4%Idl 1009296 inact 146 20: ata |||||||||| 77936 cache 21: uhc 2960 free 1997 lapic0: ti daefr 1998 lapic1: ti Namei Name-cacheDir-cache prcfr Calls hits% hits% react pdwake zfodpdpgs Disks ad4 ad8 ofodintrn KB/t 0.00 24.49 %slo-z 218464 buf tps 0 146 190 tfree 1727 dirtybuf MB/s 0.00 3.49 10 desiredvnodes % busy0 104 27208 numvnodes 24992 freevnodes i see a lot of fault when using vmstat : napstats# vmstat 1 10 procs memory pagedisks faults cpu r b w avmfre flt re pi po fr sr ad4 ad8 in sy cs us sy id 1 3 0 633036 78428 17 0 0 0 24 17 0 0 218 103 499 0 0 100 0 3 0 633036 76952 66 0 0 0 329 0 0 188 383 843 1286 1 1 98 0 3 0 633036 75008 68 0 0 0 477 0 0 119 314 1020 1007 1 1 98 0 3 0 633036 74032 60 0 0 0 244 0 0 175 371 295 1143 2 0 98 0 3 0 633036 71900 128 0 0 0 537 0 0 163 359 719 1100 3 1 96 0 3 0 633036 68680 151 0 0 0 801 0 1 136 329 989 1145 4 2 94 0 3 0 633036 67196 48 0 0 0 371 0 2 216 404 454 1273 2 1 97 0 3 0 633036 108616 115 7 0 0 657 10933 0 128 318 890 1090 3 4 93 0 3 0 633036 105504 145 0 0 0 676 0 0 173 328 842 1128 5 3 93 0 3 0 633036 103908 76 0 0 0 387 0 0 144 293 448 890 3 0 96 What should i check for
Re: which jdk?
Benjamin Thelen wrote: Miguel schrieb: hi, i need to install tomcat 5 in a client's server running freebsd-6.0R, i know there is a port in /usr/ports/www/tomcat55, so far so good, in http://www.freebsd.org/java/ there are many options, which one do you recommend, native?: --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have jdk 1.4 and tomcat 5.0 on FreeBSD 4.11-Release running now for months without problems. I'm just starting to test 1.5/5.5 on 6.0R and built jdk-1.5 successfully, but it is beta. Otherwise 1.3/1.4 is said to be used at their own risk... Ben I tried /usr/ports/java/jdk14 but it tries to install the linux binary === Applying extra patch /usr/ports/java/jdk14/files/disable-ipv6.patch === Applying FreeBSD patches for jdk-1.4.2p8_3 === jdk-1.4.2p8_3 depends on executable: gm4 - found === jdk-1.4.2p8_3 depends on executable: zip - found === jdk-1.4.2p8_3 depends on file: /usr/local/include/nspr/prtypes.h - found === jdk-1.4.2p8_3 depends on file: /usr/X11R6/lib/libXm.so - found === jdk-1.4.2p8_3 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found ===Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14 === linux-sun-jdk-1.4.2.10 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_10-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_10-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. WTF??, i dont want linux binary, i want freebsd native port, did i miss some -D option?, can you send the bare commands you used to install them? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
which jdk?
hi, i need to install tomcat 5 in a client's server running freebsd-6.0R, i know there is a port in /usr/ports/www/tomcat55, so far so good, in http://www.freebsd.org/java/ there are many options, which one do you recommend, native?: --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What does udp port 514 use?
Halid Faith wrote: 2 - When I type netstat -na I see that udp port 514 is open as below udp4 0 0 *.514 *.* udp6 0 0 *.514 *.* Should I close this port ? then How can I close this port? shiva2# grep 514 /etc/services syslog 514/udp that is the syslog port for remote hosts' events , you can disable it adding this to your rc.conf syslog_flags=-ss ---Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
setting shmmax for postgres
Hi, how can i set the shmmax parameter in freebsd 6.1? i tried this in /etc/sysctl.conf kern.ipc.shmmax=1147483647 shiva2# sysctl -a kern.ipc.shmmax kern.ipc.shmmax: 2147483647 but postgres always fails with this error The PostgreSQL documentation contains more information about shared memory configuration. FATAL: could not create shared memory segment: Cannot allocate memory DETAIL: Failed system call was shmget(key=5432001, size=1149067264, 03600). HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space. To reduce the request size (currently 1149067264 bytes), reduce PostgreSQL's shared_buffers parameter (currently 137626) and/or its max_connections parameter (currently 200). do i have to recompile the kernel ? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting shmmax for postgres
Charles Swiger wrote: On Mar 20, 2006, at 3:36 PM, Miguel wrote: shiva2# sysctl -a kern.ipc.shmmax kern.ipc.shmmax: 2147483647 Opss, typo here, its 1147483647 but postgres always fails with this error The PostgreSQL documentation contains more information about shared memory configuration. FATAL: could not create shared memory segment: Cannot allocate memory DETAIL: Failed system call was shmget(key=5432001, size=1149067264, 03600). HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space. To reduce the request size (currently 1149067264 bytes), reduce PostgreSQL's shared_buffers parameter (currently 137626) and/or its max_connections parameter (currently 200). Just how much RAM do you have in the machine? I don't think you can allocate more than 256MB or so to SysV shared memory without tuning the number of KVA pages being allocated to the kernel...? Maybe it depends on whether the SysV shmem segments are wired down by default or not, I think there's a sysctl which controls that. I have 3G of RAM You should revert Postgres back to a more reasonable default shared region size for now and rebuild the kernel to increase these parameters if you actually have the RAM and the need to do so. -- -Chuck what parameters? I cant find any related in GENERIC --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DRBD equivalent for FreeBSD?
Hi, im trying to implement a cluster using freebsd , heartbeat and postgres, i dont want to replicate the databaases using slony or similar, i want to mirror the storage, i have a hp msa500 with two set of arrays 1+0, i read on the linux-ha that it works fine on freeesd, but the DRBD software is oinly for linux, i want to use a similar solutions for replicate the data sets, whgat alternative do i have? *http://www.drbd.org/* --- thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DRBD equivalent for FreeBSD?
John Cruz wrote: Can you run the linux prog on BSD with linux binary compatibility turned on? i dont know, i have to try, but i would feel more confident wit something native for freebsd, --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP DL380 G3 and SMP with 6.0
Hi, i just installed Freebsd 6.0-release in a dl380 g3 dual xeon 2.4, after the install i edited generic and commented out the I486 and I586, this is my dmesg, CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2390.70-MHz 686-class CPU) so i only left I686 machine i386 #cpuI486_CPU #cpuI586_CPU cpu I686_CPU ident NAP and i also added these for SMP (the I/O APIC line was already there) # To make an SMP kernel, the next line is needed options SMP # Symmetric MultiProcessor Kernel device apic# I/O APIC after that i rebooted with the new kernel, i dont see the second processor, HT is disabled in hte bios: 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 6.0-RELEASE #2: Thu Mar 9 01:11:54 CST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NAP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2390.70-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNTX-ID,b14 Hyperthreading: 2 logical CPUs real memory = 3221200896 (3071 MB) avail memory = 3151339520 (3005 MB) npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: COMPAQ P29 on motherboard acpi0: Power Button (fixed) [] top: last pid: 1780; load averages: 0.00, 0.00, 0.00 up 0+08:12:22 09:27:16 22 processes: 1 running, 21 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 7412K Active, 84M Inact, 104M Wired, 12K Cache, 112M Buf, 2813M Free Swap: 6144M Total, 6144M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 415 root1 960 3416K 2816K select 0:00 0.00% sendmail 431 root1 80 1312K 1032K nanslp 0:00 0.00% cron 289 root1 960 1292K 868K select 0:00 0.00% syslogd 472 root1 40 6100K 3116K sbwait 0:00 0.00% sshd the steps above worked fine with Freebsd 4.8-STABLE on a similar machine, is there a new kernel options that im missing? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD Question's.
On Sat, 2005-12-24 at 07:34 -0800, Danial Thom wrote: --- Michael C. Shultz [EMAIL PROTECTED] wrote: On Saturday 24 December 2005 06:54, Daniel A. wrote: Hi Andy, I am sorry for the trouble you have had with Windows XP. I suggest that you use Linux, as FreeBSD really is not targeted at people who want to use graphical user interfaces. In a few key areas FreeBSD is a better desktop OS than Linux: Easier to keep the kernel/world and installed ports up to date for example without having to resort to the microsoft/Linux fixall method of removing and reinstalling everything every now and again. Your opinion is correct IMO that FreeBSD managers put most emphasis on FreeBSD as a server and little as a desktop. My guess is because donations(cash) and hardware support for developers come from people who want servers while people who want a desktop OS tend to donate squat The linux developers really have been trying to make a valuable replacement for Windows, as they somehow have experienced the same issues with Windows (And Microsoft products in general) that you have. One Linux distribution in particular that I think you might like, is Ubuntu. You can download it at http://www.ubuntulinux.org/, or order a CD (Free shipping, free CD, you pay nothing). Advertising Linux in a FreeBSD mailing list? Sounds like you may have more of axe to grind against the FreeBSD management folk than a desire to offer sound advice -Mike Why not just tell the truth, which is that Windows XP is the best that you can do for the desktop Well, that's your opinion. For me, FreeBSD is a much better desktop than Windows -- it runs solid and fast and enables me to be more productive in my work. Of course, what is good for me might not be so good for someone else, I guess it depends on your needs. Some Linux distros are much easier to setup than FreeBSD, so they might be a more recommendable desktop for someone with less technical knowledge. -- Miguel Saturnino [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0-RELEASE - panic: page fault
On Mon, 2005-12-12 at 11:35 +, Miguel Saturnino wrote: My server reboots sporadically (once a day, maximum) and I hope someone can shed some light on why this is happening. I've upgraded to 6.0-RELEASE yesterday but the symptoms remain... Attached is the backtrace of the crash dump and the relevant portion of /var/log/messages. My custom kernel is the generic kernel plus support for quotas. Also, during last buildworld I got a segmentation fault (only thing I have in /etc/make.conf is CFLAGS= -O -pipe and NO_PROFILE= true). I then tried it again (in the exact same conditions), and it worked. Don't know if that might indicate bad RAM (the only memory test I'm able to run is memtest but it can only lock (to test) about 15% of the total system memory...). Since I got no answers, I'll reply to myself ;) I have now replaced the memory, but the problem persists. So I guess it's highly unlikely that the problem is with the RAM. I started saving the output of top, vmstat and iostat at each minute, and this is from the last records I got before the last crash (the machine is a web server but has only a few low traffic sites): top: last pid: 29978; load averages: 0.00, 0.00, 0.00 up 0+16:10:46 19:41:00 123 processes: 1 running, 122 sleeping Mem: 186M Active, 115M Inact, 64M Wired, 14M Cache, 60M Buf, 114M Free Swap: 2048M Total, 2048M Free vmstat: === procs memory page disk faults cpu r b w avmfre flt re pi po fr sr ad0 in sy cs us sy id 0 2 0 517256 130988 84 0 0 0 90 4 0 214 42726 495 7 4 90 iostat: === tty ad0 cpu tin tout KB/t tps MB/s us ni sy in id 0 12 13.06 6 0.07 7 0 3 0 90 latest backtrace: = Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0657a48 stack pointer = 0x28:0xd565eafc frame pointer = 0x28:0xd565eb10 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL = 0 current process = 37 (swi1: net) trap number = 12 panic: page fault Uptime: 16h11m16s Dumping 510 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 510MB (130544 pages) 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 #0 doadump () at pcpu.h:165 165 __asm __volatile(movl %%fs:0,%0 : =r (td)); (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc0638202 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xc0638498 in panic (fmt=0xc084ece2 %s) at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc0808370 in trap_fatal (frame=0xd565eabc, eva=36) at /usr/src/sys/i386/i386/trap.c:831 #4 0xc0807b12 in trap (frame= {tf_fs = -1065418744, tf_es = -1046544344, tf_ds = -714801112, tf_edi = 1, tf_esi = -1032972416, tf_ebp = -714740976, tf_isp = -714741016, tf_ebx = -1046540928, tf_edx = -1032972416, tf_ecx = -1064083040, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1067091384, tf_cs = 32, tf_eflags = 589954, tf_esp = 40, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:267 #5 0xc07f750a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc0657a48 in propagate_priority (td=0xc26e1780) at /usr/src/sys/kern/subr_turnstile.c:233 #7 0xc06581f6 in turnstile_wait (lock=0xc09361a0, owner=0xc26e1780) at /usr/src/sys/kern/subr_turnstile.c:628 #8 0xc062fa6c in _mtx_lock_sleep (m=0xc09361a0, tid=3248426368, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:553 #9 0xc06772bd in sf_buf_mext (addr=0xd4623000, args=0x0) at /usr/src/sys/kern/uipc_syscalls.c:1690 #10 0xc066d6bd in mb_free_ext (m=0xc2162b00) at /usr/src/sys/kern/uipc_mbuf.c:258 #11 0xc06748a4 in sbdrop_locked (sb=0xc1deb0c8, len=0) at mbuf.h:427 #12 0xc06d7938 in tcp_input (m=0xc1be3d00, off0=20) at /usr/src/sys/netinet/tcp_input.c:2121 #13 0xc06cf1c1 in ip_input (m=0xc1be3d00) at /usr/src/sys/netinet/ip_input.c:778 #14 0xc06ac483 in netisr_processqueue (ni=0xc09292d8) at /usr/src/sys/net/netisr.c:236 #15 0xc06ac67e in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:349 #16 0xc0623df9 in ithread_loop (arg=0xc19e4180) at /usr/src/sys/kern/kern_intr.c:547 #17 0xc0623080 in fork_exit (callout=0xc0623ca0 ithread_loop, arg=0xc19e4180, frame=0xd565ed38) at /usr/src/sys/kern/kern_fork.c:789 #18 0xc07f756c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 (kgdb) f 5 #5 0xc07f750a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 139 calltrap Current language: auto; currently asm Hope someone can help me debug this... Thanks, Miguel
FreeBSD 6.0-RELEASE - panic: page fault
Hi! My server reboots sporadically (once a day, maximum) and I hope someone can shed some light on why this is happening. I've upgraded to 6.0-RELEASE yesterday but the symptoms remain... Attached is the backtrace of the crash dump and the relevant portion of /var/log/messages. My custom kernel is the generic kernel plus support for quotas. Also, during last buildworld I got a segmentation fault (only thing I have in /etc/make.conf is CFLAGS= -O -pipe and NO_PROFILE= true). I then tried it again (in the exact same conditions), and it worked. Don't know if that might indicate bad RAM (the only memory test I'm able to run is memtest but it can only lock (to test) about 15% of the total system memory...). Thanks for your help. Regards, Miguel /var/log/messages: == Dec 12 01:32:48 tiger syslogd: kernel boot file is /boot/kernel/kernel Dec 12 01:32:48 tiger kernel: Copyright (c) 1992-2005 The FreeBSD Project. Dec 12 01:32:48 tiger kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Dec 12 01:32:48 tiger kernel: The Regents of the University of California. All rights reserved. Dec 12 01:32:48 tiger kernel: FreeBSD 6.0-RELEASE #0: Sun Dec 11 14:52:49 WET 2005 Dec 12 01:32:48 tiger kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL Dec 12 01:32:48 tiger kernel: ACPI APIC Table: IntelR AWRDACPI Dec 12 01:32:48 tiger kernel: Timecounter i8254 frequency 1193182 Hz quality 0 Dec 12 01:32:48 tiger kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2393.19-MHz 686-class CPU) Dec 12 01:32:48 tiger kernel: Origin = GenuineIntel Id = 0xf33 Stepping = 3 Dec 12 01:32:48 tiger kernel: Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Dec 12 01:32:48 tiger kernel: Features2=0x41dSSE3,RSVD2,MON,DS_CPL,CNTX-ID Dec 12 01:32:48 tiger kernel: real memory = 535756800 (510 MB) Dec 12 01:32:48 tiger kernel: avail memory = 514928640 (491 MB) Dec 12 01:32:48 tiger kernel: ioapic0 Version 2.0 irqs 0-23 on motherboard Dec 12 01:32:48 tiger kernel: npx0: [FAST] Dec 12 01:32:48 tiger kernel: npx0: math processor on motherboard Dec 12 01:32:48 tiger kernel: npx0: INT 16 interface Dec 12 01:32:48 tiger kernel: acpi0: IntelR AWRDACPI on motherboard Dec 12 01:32:48 tiger kernel: acpi0: Power Button (fixed) Dec 12 01:32:48 tiger kernel: pci_link0: ACPI PCI Link LNKA irq 7 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link1: ACPI PCI Link LNKB irq 3 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link2: ACPI PCI Link LNKC irq 11 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link3: ACPI PCI Link LNKD irq 10 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link4: ACPI PCI Link LNKE irq 0 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link5: ACPI PCI Link LNKF irq 0 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link6: ACPI PCI Link LNK0 irq 0 on acpi0 Dec 12 01:32:48 tiger kernel: pci_link7: ACPI PCI Link LNK1 irq 5 on acpi0 Dec 12 01:32:48 tiger kernel: Timecounter ACPI-fast frequency 3579545 Hz quality 1000 Dec 12 01:32:48 tiger kernel: acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 Dec 12 01:32:48 tiger kernel: cpu0: ACPI CPU on acpi0 Dec 12 01:32:48 tiger kernel: acpi_button0: Power Button on acpi0 Dec 12 01:32:48 tiger kernel: acpi_button1: Sleep Button on acpi0 Dec 12 01:32:48 tiger kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 Dec 12 01:32:48 tiger kernel: pci0: ACPI PCI bus on pcib0 Dec 12 01:32:48 tiger kernel: agp0: Intel 82865G (865G GMCH) SVGA controller port 0xb000-0xb007 mem 0xf000-0xf7ff,0xf810-0xf817 irq 16 at device 2.0 on pci0 Dec 12 01:32:48 tiger kernel: agp0: detected 892k stolen memory Dec 12 01:32:48 tiger kernel: agp0: aperture size is 128M Dec 12 01:32:48 tiger kernel: uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xa000-0xa01f irq 16 at device 29.0 on pci0 Dec 12 01:32:48 tiger kernel: uhci0: [GIANT-LOCKED] Dec 12 01:32:48 tiger kernel: usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0 Dec 12 01:32:48 tiger kernel: usb0: USB revision 1.0 Dec 12 01:32:48 tiger kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Dec 12 01:32:48 tiger kernel: uhub0: 2 ports with 2 removable, self powered Dec 12 01:32:48 tiger kernel: uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xa400-0xa41f irq 19 at device 29.1 on pci0 Dec 12 01:32:48 tiger kernel: uhci1: [GIANT-LOCKED] Dec 12 01:32:48 tiger kernel: usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1 Dec 12 01:32:48 tiger kernel: usb1: USB revision 1.0 Dec 12 01:32:48 tiger kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/ Dec 12 01:32:48 tiger kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Dec 12 01:32:48 tiger kernel: uhub0: 2 ports with 2 removable, self powered Dec 12 01:32:48 tiger kernel: uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xa400-0xa41f irq 19 at device 29.1 on pci0 Dec 12 01:32:48 tiger kernel: uhci1
System upgrade questions
Hi! I have a FreeBSD 5.3 release system which was upgraded with CVSup to RELENG_5. I have recently built a new kernel, but *have not* rebuilt world. The computer now says it's a FreeBSD 5.4-STABLE system. This can't be right, can it? :/ I think I have two options: * downgrade the sources to RELENG_5_3 with CVSup (replacing RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD 5.3 kernel or * rebuild world to have a FreeBSD 5.4 base system and kernel correct? If I opt for the second option, should I rebuild world everytime there's a version bump in FreeBSD? TIA! Best regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System upgrade questions
Hi Daniel, On Sat, 2005-11-26 at 18:51 +0100, Daniel Gerzo wrote: I think I have two options: * downgrade the sources to RELENG_5_3 with CVSup (replacing RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD 5.3 kernel or * rebuild world to have a FreeBSD 5.4 base system and kernel correct? If I opt for the second option, should I rebuild world everytime there's a version bump in FreeBSD? I think you should go for the second option. yes - you should rebuild world everytime, untill you exactly know what has been changed in sources. Thanks for your answer! Best regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System upgrade questions
Hi Cris! On Sat, 2005-11-26 at 11:38 -0600, Chris wrote: I have a FreeBSD 5.3 release system which was upgraded with CVSup to RELENG_5. I have recently built a new kernel, but *have not* rebuilt world. The computer now says it's a FreeBSD 5.4-STABLE system. This can't be right, can it? :/ I think I have two options: * downgrade the sources to RELENG_5_3 with CVSup (replacing RELENG_5 with RELENG_5_3 in the supfile) and build a new FreeBSD 5.3 kernel or * rebuild world to have a FreeBSD 5.4 base system and kernel correct? If I opt for the second option, should I rebuild world everytime there's a version bump in FreeBSD? TIA! Best regards, Miguel Here again - we have questions that are answered in the Handbook and the FAQ. If the handbood TELLS you you need to buildworld, why would you think you would not? I know - it's because YOU think the handbook is lying. Go back and READ. Thanks for your answer. FYI, I do not think the handbook is lying. I have read most of the handbook, but it was not clear to me that I should not track RELENG_5 unless I was prepared to rebuild world whenever necessary (which might not be trivial as this is a remote system accessible only by ssh). Regards, Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
Ted Mittelstaedt wrote: If you are convinced it's the CD corrupting the install, then boot from a floppy and do a FTP install and see what happens. Ted That is exactly what i did, the install finished without any problem, but i still cant use the cdrom drive, no matters what cd is in the drive, i always get this error when transfering from the cd to the hd: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446623744, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446627840, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446631936, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446636032, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446636032, length=4096)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
Ted Mittelstaedt wrote: -Original Message- From: Miguel [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 1:17 PM To: Ted Mittelstaedt Cc: FreeBSD Questions Subject: Re: HP DL380 hangs on boot Im sure the media is ok, i have just finished a quick test installation on a devel desktop using the same cd, the instalation finished flawlesly, enable/disable ACPI doesnt help either. Another corner to look around? Try a different model and brand of CDROM drive. Ted Hi, i just want to let you know that im facing the same problem with a DELL Poweredge 6450. So, same problem with two diferent platforms (and cd drives) What am i missing? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel's PAGE_SIZE
Hi, im tunnig a postgresql server and i want to know what is the default value for kernel's PAGE_SIZE Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
Ted Mittelstaedt wrote: try to boot 6.0 with acpi disabled Ted Ok, i will try that, is this thing (ACPI) really needed, i mean, what harm will cause disable it, i have googled around and the frecuent answer is try with ACPI disabled, is this support a bleeding edge future?, is its current status STABLE? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
Ted Mittelstaedt wrote: man acpi tells all. Ted thanks Ted, i have read that man, but couldnt find any entry related to my problem. A follow up: I cant use the cdrom I wanted to recompile my kernel for SMP support, but im getting the same Write failure on transfer on acd0 error related in my previus posts, when sysinstall tries to copy from the cdrom to /usr/src/sys, but now im getting this on the console: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446623744, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446627840, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446631936, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446636032, length=65536)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446636032, length=4096)]error = 5 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00 error=0 g_vfs_done():acd0[READ(offset=446640128, length=65536)]error = 5 Im sure the media is ok, i have just finished a quick test installation on a devel desktop using the same cd, the instalation finished flawlesly, enable/disable ACPI doesnt help either. Another corner to look around? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
Albert Shih wrote: I don't remenber my OS identification and I can tell you because all my server is in production (I can reboot them). But I think (but not sure) my OS identification is windows. Albert, i tried all the OS types, the only one that worked was Other OS, what is the meaning of this ? What is the diference between select linux or windows, do you have an idea why only works with other os ? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.0 install problems in HP DL380 Array 5i
Hi, im having some problems when installing freebsd 6.0 in a DL380 with smart array 5i controller, i have a RAID 1 using two 36G disks, i can create the slide and partition without problems, when sysinstall is installing the doc part, this messages suddently appear in screen: Write failure on transfer ! (Wrote -1 bytes of 1425408 bytes), after pressing the ok button, this appears: Unable to transfer the doc distribution from acd0 acd0 is the cdrom, according to dmesg: acd0: CDROM COMPAQ CD-ROM at at0-master PIO4 i did check the media and it is ok: shiva1 var # md5sum -c CHECKSUM.MD5 6.0-RELEASE-i386-disc1.iso: OK 6.0-RELEASE-i386-disc2.iso: OK I dont know if this is related to my other post about the hang on boot, you can read it here: http://marc.theaimsgroup.com/?l=freebsd-questionsm=113147447325120w=2 I decided to try a ftp install, sysinstall finished without any problem. Now when im rebooting the server, it hangs for about 2 minutes, exactly at this line: [...dmesg output...] Timecounters tick every 1.000 msec acd0: CDROM COMPAQ CD-ROM SN-124/N104 at ata0-master PIO4 da0 at ciss0 bus 0 target 0 lun 0 da0: COMPAQ RAID 1 VOLUME OK Fixed Direct Access SCSI-0 device da0: 135.168MB/s transfers da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) After the 2 minutes hang, the server booted in the normal way, i dont see any error messages.This also happened when i was trying to install with the cd, sysinstall started after the 2 minutes delay but i got the error described above. This make nervous about some conflict or potential problem with the hardisk or cdrom or even the array controllers somewhere, i dont have any clue about what could be my problem, and i have to have running in production this server by the weekend, any hints? --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP DL380 hangs on boot
Hi, im having the same problem addressed on this thread, http://marc.theaimsgroup.com/?l=freebsd-questionsm=112179929823932w=2 Lowell Gilbert recomends to check the media, in my case the boot-only cd, the media is ok, i have booted with it on serveral desktops, the server's cd drive is also ok, i can boot a gentoo 2005.1 with it, what else can i check? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
Albert Shih wrote: I've DL 360 and I've use 5.4 without any problem. Have you try to disable HyperThreading in HP-Bios ? You can try to change the OS identification in HP-Bios too. Im trying to install 6.0R, and i already disabled HyperThreading This used to be a linux gentoo machine, so the OS identification is Linux, should i change it? Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xeon or Opteron
Hi, im my office we'll replace several DL380 Xeons at the end of the year, i have been playing with serveral desktop using gentoo on amd 64, great performance, several time faster than the pentiums, although we prefer to use freebsd for the servers. i was wondering what is the current state of the opterons on freebsd, should i wait a little more or is stable enough to run it now? May be i should stay on i386? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hi list
hello go to http://www.mysql.com and download the sources (4.1) and in the FreeBSD section in downloads take a look at FreeBSD downloads (platform notes), click on platform notes. basicly, the only difference with compilation under FreeBSD is the way you configure the makefiles and environment variables: CC=gcc CFLAGS=-O2 -fno-strength-reduce \ CXX=gcc CXXFLAGS=-O2 -fno-rtti -fno-exceptions \ -felide-constructors -fno-strength-reduce \ ./configure --prefix=/usr/local/mysql --enable-assembler gmake gmake install these are just the differences, you MUST follow ALL STEPS in the README and INSTALL-SOURCE guides, just use the environment variables I included and the parameters to the ./configure, otherwise the compilation WILL FAIL. I installed it from source and works fine, but the special setup for FreeBSD gave me a terrible headache. Can anyone give me the detail steps for installing and configuring mysql server on freebsd. I have installed mysql from ports but some how could not start the mysql daemoninstallation might be wrong .so can anyone who did the same give me some suggestions plez.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MYSQLD mysql-server for 5.2.1
Try to find mysql* using find command, maybe the location is not included into the PATH variable, so you should do it in ~/.profile or something like regards I installed mysql-server and mysql-clients but can't find the mysqld executable to start the mysql server. What is it that I'm missing? Thanks guys ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/etc/profile and PATH
Hello list I have set some environment vars in /etc/profile such as PATH QTDIR (for Qt) LD_LIBRARY_PATH etc. All variables are setup successfully except PATH that remains unchanged... I tried to setup PATH in ~/.profile and now is updated but how can I setup this variable system wide? specifically want to add the Qt and MySQL binary directories to the PATH... Thanx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.2.1 and Qt library
Hello list... I have a little problem compiling Qt-based programs, when running 'make' get the following error: bash$ make ( cd /src/moc ; make ) cd: can't cd to /src/moc *** Error code 2 and then stops. Am using the Qt that comes with the FreeBSD 5.2.1 Note that the program compiles perfectly under Linux, so it is not the project.pro configuration file generated by qmake, it tries to 'cd /src/moc' that obviously does not exist. I asked on Trolltech mailing list and they said it was a distribution problem, so that I should ask at FreeBSD mailing list... they suggested me to check for the QTDIR environment variable, and it is not set... How can I setup the QTDIR variable? I did it by hand using export in bash shell, but want to do it automatically while booting, which script or configuration file should I use? In Linux I use /etc/profile but am new to FreeBSD, just am porting a Qt software... Thanks!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice+AMD64
On Tue, 23 Aug 2005 11:29:44 -0500 Mark Kane [EMAIL PROTECTED] wrote: Vladimir Dvorak wrote: does anybody know what is the status of OpenOffice for AMD64 architecture ? Is possible to install OO in some chroot lib32 environment ? Or this cause is wasting the time for now ? Hi. I am not sure the status of it for AMD64, but I do know it requires Java. Unfortunately there is no Java for AMD64 yet. I had no problems building jdk15 and eclipse on my AMD64 box. I used eclipse for a couple of hours and deleted it after that because it was still too slow for my taste, but it worked fine in my limited testing. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PIM-SSM+DiffServ+SHISA
Hello I am facing, for too long, the follow problem: I want to implement in my local testbed the PIM-SSM protocol (with success), the diffserv model (failed) and the shisa (success). The problem is in the diffserv model: It is possible to implement the diffserv model, with ALTQ, in the freebsd 5.4 release? I am asking this because I can compile the kernel (KAME) with the altq options but when I am configuring the /etc/rc.conf file, namely when I enable the ipv6_enable and/or ipv6_gateway_enable the follow error occurs: in6_if2idlen:unknown link type (34) in6_if2idlen:unknown link type (249) in6_if2idlen:unknown link type (244) I know these are only warnings but when they occur I can not ping other computers (only direct attached links) and the computer doesnt make forward of packets. If I comment those two options the warnings disappear but, obviously, I still unable to send/receive pings. Anybody knows what is wrong? I´ve tried to install an old version of freebsd, 4.11, and another error occurs (in all the computers): ad0: READ command timeout tag=0 serv=0 - reseting ata0: resetting devices I dont know what more can I do I would appreciate any help Thanks Tiago Sousa -- Tiago Miguel Amaral de Sousa Laboratório de Comunicações e Telemática Universidade de Coimbra [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DRM for Radeon 7000
On Tue, 7 Jun 2005 11:54:41 +0200 Walter C. Pelissero [EMAIL PROTECTED] wrote: Hi, drm0: ATI Radeon QY RV100 7000/VE port 0x3000-0x30ff mem 0xe810-0xe810,0xf000-0xf7ff irq 18 at device 5.0 on pci1 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0x1400-0x14ff mem 0xe8001000-0xe8001fff irq 18 at device 10.0 on pci0 I don't know if this might be the source of my problems but both drivers (ahc and drm) seem to disregard the device.hints, so I couldn't try to assign distinct irqs to the two cards. Has anybody succeeded to run an ATI Radeon 7000 AGP on FreeBSD 5.4 with DRI/DRM? My setup is similar to yours, except I have a 19160 instead. With Xorg 6.7.0 and dri 5.x it worked like a charm. After the upgrade to 6.8.x and dri 6.x I can no longer use dri/glx. Something fishy I noticed, as soon as I do an ls on an xterm using antialised fonts the system goes south (read: total freeze), but it seems to survive a bit longer when I use plain jane fonts. Doesn't work anyway. I've been pondering reverting to Xorg 6.7 + dri 5.x as a temporary solution. Xorg 6.8.2 + dri 5.x doesn't work either. You might try the freebsd-x11@ mailing list or contacting Eric Anholt (anholt@), who is the main Xorg/DRI on FreeBSD guru. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpLZ87WZcnBJ.pgp Description: PGP signature
amd64 status
Hi list, i have heard a lot of good things about opteron servers, im going to upgrade several old production servers (thinking on hp dl145 or sun v20z, sugestions?), is the amd64 port stable enough to use it on production?, what about performance, will i see a plus if i buy opteron isntead of xeons?. Can you point me to some docs about it?, the archives are very messed up on this topic, thanks --- Miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]