Re: /stand/sysconfig does't work
On Thursday 02 August 2007, [EMAIL PROTECTED] said: I just purchased Freebsd-6.1 RELEASE and /stand/sysinstall doesn't work. I have been using freebsd since the version 2.1. When installing, I always use /stand/sysinstall. Now I have freebsd's 6.1 version. /stand/sysinstall no longer works. Now I think /someword/sysinstall works. I have at least 10 versions of freebsd, both books and the freebsd website. After a long day of research, I couldn't the find the word in the above example. What word do I use for someword? /someword/sysinstall Thanks in advance bruce It's now just sysinstall and the binary is in /usr/sbin/sysinstall. Cheers Beech -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/stand/sysconfig does't work
I just purchased Freebsd-6.1 RELEASE and /stand/sysinstall doesn't work. I have been using freebsd since the version 2.1. When installing, I always use /stand/sysinstall. Now I have freebsd's 6.1 version. /stand/sysinstall no longer works. Now I think /someword/sysinstall works. I have at least 10 versions of freebsd, both books and the freebsd website. After a long day of research, I couldn't the find the word in the above example. What word do I use for someword? /someword/sysinstall Thanks in advance bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LAN failover redundandcy?
Ewald Jenisch skrev: Hi, I'm looking for a way to configure failover redundancy for one of my servers. To be specific: The server in question has one IP-address but two LAN interfaces each of them connecting to a different switch. Traffic normally runs only through one of the two interfaces; the other is for redundandy only. In case the active LAN-interface goes down (e.g. because of a link and/or switch failure) the second LAN-interface should take over in the sense that traffic should run through the second interface (again the server has only one IP-address, so binding a different IP-address to the interface is not an option here) Is there any way how this can be configured under FreeBSD 6.2? Thanks much in advance for your help, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You might want to look at freevrrpd. It should be in ports. Greetings /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /stand/sysconfig does't work
If you run the find command you'll find what you're looking for ;-) [EMAIL PROTECTED] ~]# find / -name sysinstall -print /usr/sbin/sysinstall cheers On 03/08/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just purchased Freebsd-6.1 RELEASE and /stand/sysinstall doesn't work. I have been using freebsd since the version 2.1. When installing, I always use /stand/sysinstall. Now I have freebsd's 6.1 version. /stand/sysinstall no longer works. Now I think /someword/sysinstall works. I have at least 10 versions of freebsd, both books and the freebsd website. After a long day of research, I couldn't the find the word in the above example. What word do I use for someword? /someword/sysinstall Thanks in advance bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Iconv Thread Safety
Hi All, Please let me know whether the FreeBSD Iconv is thread safety. Do I need to take care before I use it with multithread applications. Thanks, Manjunath *** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall rules / Proper directory
I've made a /etc/rc.firewall.local I may rename it in the future to stand out more, but we'll see how it goes for now. Neat. Have fun with the new firewall ruleset then. Thanks. I wish it wasn't necessary, but the server runs MySQL and if I turn TCPwrappers on, someone just trying to connect a few times creates a DOS on it. I've tried before to bring this up with the MySQL people with no luck. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CRT value Absurd
Jonathan Horne wrote: On Thursday 02 August 2007 13:13:46 Subhro wrote: Hello Folks, Recently I got a HP nc6400 notebook for myself and decided to install FreeBSD on this. My system boots up fine but I am repeatedly getting Errors from ACPI. I am repeatedly getting acpi_tz0: _CRT value is absurd, ignored (256C) How can I solve this problem? I had a similar problem on an HP Pavilion (don't remember the exact model) and I could only get the messages to stop by entering hw.acpi.thermal.polling_rate=0 in /etc/sysctl.conf. I'm sure this isn't the right way to do it, but it worked at least. Thanks Subhro subhru, how is the rest of the install working? we have a lot of 6400s here at my office, and when i tried to install the xorg7.2 ports, i couldnt get xorg to start, and i was wondering how it was going for you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall rules / Proper directory
On 2007-08-02 14:49, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: On 2007-08-02 12:36, Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote: Hi, I'm developing firewall rules for a machine, and I'm wondering what the standard is for putting my version of an ipfw firewall_script? I usually save my rules in '/etc/pf.conf' or '/etc/ipfw.rules'. It's not like the '/etc' directory is a please do not touch area. Thanks... I always DO try to keep things out of /etc if at all possible, I regard that as system space, and if I do trespass into it its usually a file or directory previously allocated for that (/etc/rc.conf, /etc/mail/*). That's ok, but it's not like the world is going to end if you add a bit of customization to '/etc' files. We have mergemaster(8) to make sure these local updates and customizations are not lost when you upgrade :-) I've made a /etc/rc.firewall.local I may rename it in the future to stand out more, but we'll see how it goes for now. Neat. Have fun with the new firewall ruleset then. ___ 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.2. Can I get 128x48 (or similar) console screens?
On Thu, Aug 02, 2007 at 04:46:49PM +0300, Nikos Vassiliadis wrote: [ ] That's not a very nice comment to do. Please, keep your feelings about continents/countries/Linux distributions out of here. Sorry for causing offence. It wasn't intended. I'll be more careful about what I write in the future. HTH, Nikos -- Alan Mackenzie (Ittersbach, Germany). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nano issue
Written by RW on 08/02/07 15:02 On Thu, 02 Aug 2007 13:11:04 -0500 Reid Linnemann [EMAIL PROTECTED] wrote: Written by RW on 08/02/07 11:27 On Thu, 02 Aug 2007 10:15:35 -0400 [EMAIL PROTECTED] wrote: At 07:25 AM 8/2/2007, Roberth Sjonøy wrote: Hello, Ive just installed my prefered text editor, nano, but when im going to run nano, this just appears: /libexec/ld-elf.so.1: Shared object libncursesw.so.6 not found , required by nano I have nano 2.0.6 installed from packages (not ports) and it works fine on 6.2. I also have that library with the same date as my last buildworld: $ ls -l /lib/*curs* -r--r--r-- 1 root wheel 268108 Jan 14 2007 /lib/libncurses.so.6 but do you have libncursesw.so.6 - note the 'w' The most likely scenario is that he's trying to use a 6-stable package on 6.2. This something that people tend to get away with, but is not actually supported. Either build the port or install the correct package. I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6. libcursesw.so.6 is listed as part of the compat6x port, perhaps Roberth has installed a 7-CURRENT package built with compat6x? I'm guessing your 6-STABLE wasn't synced all that recently. There's a test in the nano makefile that make it use the wide (multi-byte character) version of curses (ie libncursesw) if the 6-stable or 7-current version is sufficiently recent. The fact that an up-to-date compat6x has libncursesw.so.6 tends to confirm this. Yes, you are right. I hadn't synced since February.. my, how the time flies! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
parformance patch?
is anything wrong in this? --- vm_fault.c.orig Fri Aug 3 15:01:27 2007 +++ vm_fault.c Thu Aug 2 15:56:17 2007 @@ -113,8 +113,8 @@ static int vm_fault_additional_pages(vm_page_t, int, int, vm_page_t *, int *); static void vm_fault_prefault(pmap_t, vm_offset_t, vm_map_entry_t); -#define VM_FAULT_READ_AHEAD 8 -#define VM_FAULT_READ_BEHIND 7 +#define VM_FAULT_READ_AHEAD 64 +#define VM_FAULT_READ_BEHIND 63 #define VM_FAULT_READ (VM_FAULT_READ_AHEAD+VM_FAULT_READ_BEHIND+1) struct faultstate { and --- param.h.origFri Aug 3 15:02:37 2007 +++ param.h Wed Jul 11 11:46:24 2007 @@ -125,7 +125,7 @@ #define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS -#define MAXPHYS(128 * 1024)/* max raw I/O transfer size */ +#define MAXPHYS(512 * 1024)/* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS #define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE) both works for me and gives noticable speedup, when operating on big files and when starting big apps or swapping. other question (swap_pager.c): /* * SWB_NPAGES must be a power of 2. It may be set to 1, 2, 4, 8, or 16 * pages per allocation. We recommend you stick with the default of 8. * The 16-page limit is due to the radix code (kern/subr_blist.c). */ #ifndef MAX_PAGEOUT_CLUSTER #define MAX_PAGEOUT_CLUSTER 16 #endif can this be changed/fixed? 64-128 would be nicer... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB keyboard not recognized at bootup
I have a GENERIC kernel. The /usr/src/sys/i386/conf/GENERIC file contains the following under the USB Support section (among other devices): device usb #USB Bus (required) device uhid#Human Interface Devices device ukbd #Keyboard Nevertheless, the keyboard is useless, not recognized until FreeBSD takes control, for example to choose the type of bootup: safe, single user, reboot, etc. Any help is appreciated. Thanks in advance. Regards Oscar Chavarria Mobile: +506 814-0247 --- In a world without boundaries, we don't need Windows or Gates --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is the rtw (ral81xx) driver coming to freebsd?
Looks like the open/net bsd guys have the rtw for the realtec 8185 wireless card, which is not supported by ral or ural - I presume it's not that hard to port to freebsd. Not that I have any spare time, but if someone's willing to jumpstart me, and it's not already being worked on, I'd be interested to give it a try as I already have a card... Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /stand/sysconfig does't work
as long as /usr/sbin hasn't been removed from PATH ;-) On 03/08/07, Paul Schmehl [EMAIL PROTECTED] wrote: --On Friday, August 03, 2007 08:51:48 +0100 John Clement [EMAIL PROTECTED] wrote: If you run the find command you'll find what you're looking for ;-) [EMAIL PROTECTED] ~]# find / -name sysinstall -print /usr/sbin/sysinstall Or which. [EMAIL PROTECTED] which sysinstall /usr/sbin/sysinstall -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /stand/sysconfig does't work
--On Friday, August 03, 2007 08:51:48 +0100 John Clement [EMAIL PROTECTED] wrote: If you run the find command you'll find what you're looking for ;-) [EMAIL PROTECTED] ~]# find / -name sysinstall -print /usr/sbin/sysinstall Or which. [EMAIL PROTECTED] which sysinstall /usr/sbin/sysinstall -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
UFS and spreading data
AFAIK UFS try to spread data quite evenly on disk to different cylinder group - for large files, so small files can get it's space near inodes etc.. but i would like to clear things up: i will set up say 3 disks with gconcat and make one partition for all data on it. then i will populate it with all things and use it. will the data be quite spread on disks, so accesses to different things could be done in parallel to 3 disks, or will it rather use space on one disk first, then on second then on third. i'm asking about it as i prefer gconcat over gstripe as i can add more disks to gconcat and do growfs then making system EASILY expandable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /stand/sysconfig does't work
[EMAIL PROTECTED] wrote: I just purchased Freebsd-6.1 RELEASE and /stand/sysinstall doesn't work. I have been using freebsd since the version 2.1. When installing, I always use /stand/sysinstall. Now I have freebsd's 6.1 version. /stand/sysinstall no longer works. Now I think /someword/sysinstall works. I have at least 10 versions of freebsd, both books and the freebsd website. After a long day of research, I couldn't the find the word in the above example. What word do I use for someword? /someword/sysinstall Thanks in advance bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You could also try using man or which. Which will tell you where the binary exists within the filesystem and man will give you the location of the binary in the first paragraph. -Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
if_bridge and link-local IPv6 eui64 address problem
Hello, I am having a question about if_bridge and IPv6 link-local addresses I am using FreeBSD 6.2-p7 and after setting rc.conf like the following and rebooting, I get no link-local address for bridge0 ipv6_enable=YES cloned_interfaces=bridge0 ifconfig_bridge0=addm sis0 addm sis1 192.168.2.1 netmask 255.255.255.0 ifconfig_sis0=up ifconfig_sis1=up ifconfig_sis2=DHCP The 3 sis interfaces get link-local addresses normally. Is there any specific reason which eludes me for this ? Thanks for the good work. Have a nice holiday. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFS and spreading data
Wojciech Puchar wrote: AFAIK UFS try to spread data quite evenly on disk to different cylinder group - for large files, so small files can get it's space near inodes etc.. Yes, UFS leaves some free space in each cylinder group if it can so that it can grow (especially small) files locally; big files will get spread across cylinder groups as a result. but i would like to clear things up: i will set up say 3 disks with gconcat and make one partition for all data on it. then i will populate it with all things and use it. will the data be quite spread on disks, so accesses to different things could be done in parallel to 3 disks, or will it rather use space on one disk first, then on second then on third. i'm asking about it as i prefer gconcat over gstripe as i can add more disks to gconcat and do growfs then making system EASILY expandable. Using a stripe is going to give reliably-balanced I/O load to the underlying physical disks. If the concat is mostly empty, then no, I/O won't be evenly balanced. If you mostly fill it up and are doing multithreaded I/O to lots of files scattered all around, than concat should be OK. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setting up a domain
Does anyone know where I can find nice tutorial materials for setting up domains is just that I got this task setting up new domains on freebsd and I need a rreview on hoe to go about it mybe u guys can help man please am new to thise work and my boss said I need to do it coz the other guy who use to do it is on leave I don want to mess it up. Ananias Uushona Technical Assistant Africa Online Namibia http://www.africaonline.com.na No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CRT value Absurd
Andrew Greenwood wrote: Jonathan Horne wrote: On Thursday 02 August 2007 13:13:46 Subhro wrote: Hello Folks, Recently I got a HP nc6400 notebook for myself and decided to install FreeBSD on this. My system boots up fine but I am repeatedly getting Errors from ACPI. I am repeatedly getting acpi_tz0: _CRT value is absurd, ignored (256C) How can I solve this problem? I had a similar problem on an HP Pavilion (don't remember the exact model) and I could only get the messages to stop by entering hw.acpi.thermal.polling_rate=0 in /etc/sysctl.conf. I'm sure this isn't the right way to do it, but it worked at least. Thanks Subhro subhru, how is the rest of the install working? we have a lot of 6400s here at my office, and when i tried to install the xorg7.2 ports, i couldnt get xorg to start, and i was wondering how it was going for you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have an HP Pavilion (whose model I don't remember either; it's not printed anywhere on the computer), and I keep getting variuos messages from TZ, but when trying to set that variable, I get sysctl: unknown oid 'hw.acpi.thermal.polling_rate'. I'm running 6.2-RELEASE-p6. Did I miss something, or is that variable introduced in 6-STABLE after 6.2-RELEASE? -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: parformance patch?
On Fri, Aug 03, 2007 at 05:26:49PM +0200, Wojciech Puchar wrote: is anything wrong in this? --- vm_fault.c.orig Fri Aug 3 15:01:27 2007 +++ vm_fault.c Thu Aug 2 15:56:17 2007 @@ -113,8 +113,8 @@ static int vm_fault_additional_pages(vm_page_t, int, int, vm_page_t *, int *); static void vm_fault_prefault(pmap_t, vm_offset_t, vm_map_entry_t); -#define VM_FAULT_READ_AHEAD 8 -#define VM_FAULT_READ_BEHIND 7 +#define VM_FAULT_READ_AHEAD 64 +#define VM_FAULT_READ_BEHIND 63 #define VM_FAULT_READ (VM_FAULT_READ_AHEAD+VM_FAULT_READ_BEHIND+1) struct faultstate { and --- param.h.origFri Aug 3 15:02:37 2007 +++ param.h Wed Jul 11 11:46:24 2007 @@ -125,7 +125,7 @@ #define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS -#define MAXPHYS(128 * 1024)/* max raw I/O transfer size */ +#define MAXPHYS(512 * 1024)/* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS #define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE) both works for me and gives noticable speedup, when operating on big files and when starting big apps or swapping. There are assumptions about the value of MAXPHYS all through the kernel. I doubt this patch works properly - it is something that should be fixed more completely though. other question (swap_pager.c): /* * SWB_NPAGES must be a power of 2. It may be set to 1, 2, 4, 8, or 16 * pages per allocation. We recommend you stick with the default of 8. * The 16-page limit is due to the radix code (kern/subr_blist.c). */ #ifndef MAX_PAGEOUT_CLUSTER #define MAX_PAGEOUT_CLUSTER 16 #endif can this be changed/fixed? 64-128 would be nicer... Why? i.e. what are the implications of this, good and bad? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
no buffer space
I have a firewall for my pppoe dsl connection that is giving me fits. After a few hours of surfing it runs out of buffer space. I have run memtest on the memory, checked fine. Changed out memory, still locking up. top while out of buffer on ping last pid: 3697; load averages: 0.00, 0.03, 0.03 up 0+17:04:53 07:09:21 47 processes: 1 running, 46 sleeping CPU states: 0.4% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.2% idle Mem: 49M Active, 138M Inact, 49M Wired, 16K Cache, 47M Buf, 132M Free Swap: 231M Total, 231M Free redtick# ping 75.41.xxx.xx PING 75.41.xxx.xx (75.41.xxx.xx): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available redtick# vmstat -i interrupt total rate irq1: atkbd0 3 0 irq6: fdc0 3 0 irq14: ata0 103048 1 irq15: ata1 23 0 irq21: rl0 187195 3 irq22: dc0 acpi0 11158 0 irq23: ath0 uhci1 4302929 69 cpu0: timer 123030498 2000 Total 127634857 2074 [EMAIL PROTECTED]:0:0: class=0x06 card=0x80251043 chip=0x1a308086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82845/E/MP/MZ Brookdale CPU to I/O Bridge' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x1a318086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82845/E/MP/MZ Brookdale CPU to AGP Bridge' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:30:0:class=0x060400 card=0x chip=0x244e8086 rev=0x12 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x24408086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' device = '82801BA (ICH2) LPC Interface Controller' class= bridge subclass = PCI-ISA [EMAIL PROTECTED]:31:1: class=0x010180 card=0x80f0104d chip=0x244b8086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' device = '82801BA (ICH2) UltraATA/100 IDE Controller' class= mass storage subclass = ATA [EMAIL PROTECTED]:31:2:class=0x0c0300 card=0x80f0104d chip=0x24428086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' device = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:31:4:class=0x0c0300 card=0x80f0104d chip=0x24448086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' device = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:31:5:class=0x040100 card=0x80e4104d chip=0x24458086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' device = '82801BA/BAM (ICH2/ICH2-M) AC'97 Audio Controller' class= multimedia subclass = audio [EMAIL PROTECTED]:0:0: class=0x03 card=0x007210de chip=0x002c10de rev=0x15 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'VANTA / VANTA LT [NVVANTA]' class= display subclass = VGA [EMAIL PROTECTED]:10:0: class=0x02 card=0xf0041385 chip=0x000211ad rev=0x21 hdr=0x00 vendor = 'Lite-On Communications Inc' device = 'NGMC169B 10/100 Ethernet (NetGear FA310TX)' class= network subclass = ethernet [EMAIL PROTECTED]:11:0: class=0x02 card=0x5a001385 chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' class= network subclass = ethernet [EMAIL PROTECTED]:13:0: class=0x02 card=0x80ea104d chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class= network subclass = ethernet [EMAIL PROTECTED]:14:0:class=0x0c0010 card=0x80d2104d chip=0x8020104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = 'TSB12LV26 OHCI-Lynx PCI IEEE 1394 Host Controller' class= serial bus subclass = FireWire dmesg FreeBSD 6.2-RELEASE-p6 #1: Thu Jul 19 08:29:02 CDT 2007 /usr/obj/usr/src/sys/FIRE ACPI APIC Table: ASUS P4B_LX Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1.70GHz (1693.73-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf12 Stepping = 2 Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUS H,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM real memory = 402636800 (383 MB) avail memory = 384520192 (366 MB) ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: ASUS P4B_LX on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 22 acpi0: Power Button (fixed) Timecounter ACPI-fast frequency
Re: CRT value Absurd
Hello, On 8/3/07, Andrew Greenwood [EMAIL PROTECTED] wrote: Jonathan Horne wrote: On Thursday 02 August 2007 13:13:46 Subhro wrote: FreeBSD on this. My system boots up fine but I am repeatedly getting Errors from ACPI. I am repeatedly getting acpi_tz0: _CRT value is absurd, ignored (256C) How can I solve this problem? I had a similar problem on an HP Pavilion (don't remember the exact model) and I could only get the messages to stop by entering hw.acpi.thermal.polling_rate=0 I have tried to follow the same process. Although the sysctl value changes, the messages keep on coming in. BTW, does things like cpu speed stepping, sleep, hibernate etc work? Thanks Subhro -- Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India -- Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up a domain
Is this for web site domain setting ? DNS, Web server etc etc ... Thanks Troy http://dominor.com On 8/3/07, Ananias Uushona [EMAIL PROTECTED] wrote: Does anyone know where I can find nice tutorial materials for setting up domains is just that I got this task setting up new domains on freebsd and I need a rreview on hoe to go about it mybe u guys can help man please am new to thise work and my boss said I need to do it coz the other guy who use to do it is on leave I don want to mess it up. Ananias Uushona Technical Assistant Africa Online Namibia http://www.africaonline.com.na No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007 2:22 PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /stand/sysconfig does't work
On Fri, 03 Aug 2007 01:34:27 -0600 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What word do I use for someword? /someword/sysinstall Hi Bruce, try /usr/sbin/sysinstall B _ {Beto|Norberto|Numard} Meijome Said Hamlet to Ophelia,I'll do a sketch of thee. What kind of pencil shall I use,2B or not 2B? Hamlet, by Spike Milligan I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how sys_select, sys_fork, ... are defined for thread libraries?
On Thu, Aug 02, 2007 at 02:00:05PM -0700, Jin Guojun wrote: I am trying to understand how these __sys_xxx functions are defined for thread libraries. Following string search tells that all thread libraries are using these __sys_xxx functions, for example, __sys_select(). However, the search also shows that these functions are not defined anywhere in the entire source tree. /usr/src: findstring sys_select *.[hcS] total files= 21687 : pattern= sys_select rootdir= /usr/src regular mode: Thu Aug 2 13:31:40 PDT 2007 ./lib/libc_r/uthread/uthread_fork.c 91: * __sys_select: ./lib/libpthread/thread/thr_private.h 1264:int __sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); ./lib/libpthread/thread/thr_select.c 61: ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); ./lib/libthr/thread/thr_private.h 805:int __sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); ./lib/libthr/thread/thr_syscalls.c 435:ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); By searching the usr/lib objects, I found them in libc, but they are not in libc source tree. Can someone shed some light on how these system calls are built into libc and what is the different between standard syscall APIs and these __sys_syscall APIs, e.g., __sys_read() vs. read(), etc. Thanks, -Jin nm /usr/lib/libc.a | grep __sys_ 0008 T __sys_sigreturn 0008 T __sys_setlogin 0008 T __sys_reboot ... snapped 0008 T __sys_kse_release 0008 T __sys_kse_thr_interrupt 0008 T __sys_kse_create 0008 T __sys_kse_wakeup ... skipped 0008 T __sys_getdtablesize 0008 T __sys_select 0008 T __sys_ioctl 0008 T __sys_close 0008 T __sys_write 0008 T __sys_read 0008 T __sys___syscall The C standard specifies that namespace of identifiers starting with __ or _UPPERCASE is reserved for implementation. On the other hand, C standard allows for the programs to use any symbol not reserved by standard. The thread libraries (and libc) shall internally use the right implementation of syscalls, as opposed to some symbol supplied by user binary. To achieve this, for each syscall x, libc defines the normal symbol __sys_x, and two weak symbols _x and x. See, for instance, the file lib/libc/select.S from the obj directory, and lib/libc/i386/SYS.h for corresponding include file. Definition of weak symbols is provided by ELF specification. Simplyfing, weakness of the symbol mean that it is used only unless somebody provides the same normal symbol. Normal symbols from text segment are marked by T in nm output, and weak symbols has t mark. pgp6Dcyp1BXUr.pgp Description: PGP signature
Re: attaching a terminal to 'join' another?
Jeremy Gransden wrote: On 8/2/07, Jim Stapleton [EMAIL PROTECTED] wrote: Sorry if my question is a bit confusing - I'm not even sure the proper terminology, so I don't know what the best way to start looking is. I'm rebuilding a system at home, and I'd like to check how the build is going at a slow time at work sometimes. I can connect to the system from work (ssh into my main box, and then from there, ssh to the system I'm working on). I have a terminal opened on that system (actually, another ssh session fron the main box), and I'd like to have my new connection attach to that terminal session, if possible, so that I can just pick up where I left off, and monitor it from here. Is this possible? Maybe your looking for screen. try man screen Also sounds like you could do this with watch man 8 watch for more details. thanks, jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mystery of increasing disk usage
I'm having big problems trying to pin down the cause of spiralling disk usage on a partition. du -sh shows that /usr is using 5.9 GB: $ du -shL /usr 5.9G/usr However, df shows: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1f 47G 43G131M 100%/usr [...] It seems to be eating 3 MB roughly every 4-5 minutes. However, repeated uses of du don't show any increased usage. It only appears in df. defiant:/usr$ du -cksmxL * | sort -rn 6042total 3015home 965 obj 777 local 770 jail 376 share 36 lib 32 X11R6 28 bin 19 libexec 15 sbin 15 include 1 tmp 1 ports 1 openssl 1 libdata 1 games 1 compat My first thought is that the du binary is compromised, but I thought that I may be missing something blindingly obvious. Thanks, -- -Jamie L. Penman-Smithson [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: Mystery of increasing disk usage
Jamie Penman-Smithson [EMAIL PROTECTED] wrote: I'm having big problems trying to pin down the cause of spiralling disk usage on a partition. du -sh shows that /usr is using 5.9 GB: $ du -shL /usr 5.9G/usr However, df shows: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1f 47G 43G131M 100%/usr [...] It seems to be eating 3 MB roughly every 4-5 minutes. However, repeated uses of du don't show any increased usage. It only appears in df. defiant:/usr$ du -cksmxL * | sort -rn 6042total 3015home 965 obj 777 local 770 jail 376 share 36 lib 32 X11R6 28 bin 19 libexec 15 sbin 15 include 1 tmp 1 ports 1 openssl 1 libdata 1 games 1 compat My first thought is that the du binary is compromised, but I thought that I may be missing something blindingly obvious. If I remember correctly, the most common reason for this is files that have been deleted, but have not had all references to them closed (i.e. file descriptors). For example, program creates a temporary file, then deletes it but does not _close_ it. This means the filesystem can't free up the used blocks yet. There's no directory entry, so du doesn't see the usage. One way to tell would be to reboot the system. If it comes up with du and df agreeing, then this problem is occurring somewhere. The trickier step may be to figure out what program is causing it. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling xorg 7.2 issue
On Thu, 02 Aug 2007 02:43:26 +0200 Roberth Sjonøy [EMAIL PROTECTED] wrote: Hello, I have just installed FreeBSD for the first time, and I prefer to just install the kernel and the base system under the installation, now I'm compiling xorg, but I got an issue, === Installing for xorg-7.2 === xorg-7.2 depends on file: /usr/local/lib/dri/r128_dri.so - not found ===Verifying install on /usr/local/lib/dri/r128_dri.so in /usr/ports/graphics/dri === Building for dri-7.0,2 Please run 'make realclean' before changing configs gmake: *** Error code 2 Stop in /usr/ports/graphics/dri. *** Error code 1 Stop in /usr/ports/x11/xorg. How do I solve this? please explain properly im very new to *bsd. Hello Roberth, According to this message, you should cd to the dri working directory (/usr/ports/graphics/dri/work/Mesa-7.0) and run 'make realclean' (actually 'gmake realclean'). 'make realclean' is not the command of the ports system. However, this shouldn't happen, of course. You didn't described how you installed ports collection after you have installed the base system. If in doubt, you might consider to start anew: # rm -rf /usr/ports/* # rm -rf /var/db/portsnap # portsnap fetch # portsnap extract Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB keyboard not recognized at bootup
Oscar Chavarria wrote: On 8/3/07, Bart Silverstrim [EMAIL PROTECTED] wrote: Oscar Chavarria wrote: I have a GENERIC kernel. The /usr/src/sys/i386/conf/GENERIC file contains the following under the USB Support section (among other devices): device usb #USB Bus (required) device uhid#Human Interface Devices device ukbd #Keyboard Nevertheless, the keyboard is useless, not recognized until FreeBSD takes control, for example to choose the type of bootup: safe, single user, reboot, etc. Any help is appreciated. Thanks in advance. How old is the computer? Does the BIOS support USB devices...? You may need a BIOS update, or the system you have just doesn't support USB at bootup... It's quite new, less than a year (Pentium IV, VIA motherboard) and it does support USB. As a matter of fact, the keybr does work after bootup. I also mounted a USB HDD on /usr/home with no problem. Ah. Some motherboards support USB but need to have the OS support them, hence the reason that things would work after bootup and initialization is complete. Other systems have built-in handler code in the BIOS so that you can use USB-based toys for things like booting from USB thumbdrives or USB keyboards to configure BIOS settings. If your system is the former, it would explain why you see things working after the OS takes over (much like some hard disks not being seen correctly until Linux bypasses BIOS code) and you may need an update to the BIOS. If the latter, then I don't know why your system isn't seeing USB toys until after the OS drivers take over. -Bart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: attaching a terminal to 'join' another?
На Friday 03 August 2007 00:02:51 Tim Judd написа: Forgot to CC the questions ML. --- Tim Judd [EMAIL PROTECTED] wrote: From Tim Judd Thu Aug 2 15:01:18 2007 Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via HTTP; Thu, 02 Aug 2007 15:01:18 PDT Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT) From: Tim Judd [EMAIL PROTECTED] Subject: Re: attaching a terminal to 'join' another? To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 2291 I'm on the digest list, so I copy/paste the message to quote: -QUOTE: Message: 16 Date: Thu, 2 Aug 2007 11:19:21 -0400 From: Jim Stapleton [EMAIL PROTECTED] Subject: attaching a terminal to 'join' another? To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Sorry if my question is a bit confusing - I'm not even sure the proper terminology, so I don't know what the best way to start looking is. I'm rebuilding a system at home, and I'd like to check how the build is going at a slow time at work sometimes. I can connect to the system from work (ssh into my main box, and then from there, ssh to the system I'm working on). I have a terminal opened on that system (actually, another ssh session fron the main box), and I'd like to have my new connection attach to that terminal session, if possible, so that I can just pick up where I left off, and monitor it from here. Is this possible? Sessions main desktop terminal A [ssh]-- workstation terminal A (where builds are currently being processed) work desktop terminal [ssh]-- main destop terminal B [ssh]-- workstation terminal B I would like to have workstation terminal B intercept workstation terminal A, or main desktop terminal B intercept main desktop terminal A. Can it be done? Where do I start looking, what are the words and phrases of interest? I tried looking at both the bash and xterm commands/man page, but they are rather long, and I'd miss what I was looking for without having a clue in advance. I'm guessing something like /dev/?tty?? might work, but how do I figure out which tty to use? Thank you, -Jim Stapleton --/QUOTE Can't the OP, Jim, use watch(8) with the -W option to interact w/ the terminal? Nothing wrong with screen, but a built-in utility exists. It`s possible, but he`d better use screen for updating/upgrading, since his ssh session that initiated the process may die and then the process dies. With screen the process will continue if his ssh session dies and he would be able to later reattach to the terminal in question. -- PGP KeyID: 0x3118168B Keyserver: pgp.mit.edu Key fingerprint BB50 2983 0714 36DC D02E 158A E03D 56DA 3118 168B signature.asc Description: This is a digitally signed message part.
Re: Creating an ext2 file system on FreeBSD?
Paul Hoffman wrote: Hi again. Is there a FreeBSD equivalent of Linux's 'mke2fs'? I want to create a disk image that is in ext2 format. On Linux, I would do: dd if=/dev/zero of=some.img bs=1M count=1 seek=1024 /sbin/mke2fs -F -j some.img Can I do something similar on FreeBSD? --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mke2fs is is the port: /usr/ports/sysutils/e2fsprogs cd /usr/ports/sysutils/e2fsprogs make install clean /usr/local/sbin/mke2fs -Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creating an ext2 file system on FreeBSD?
Hi again. Is there a FreeBSD equivalent of Linux's 'mke2fs'? I want to create a disk image that is in ext2 format. On Linux, I would do: dd if=/dev/zero of=some.img bs=1M count=1 seek=1024 /sbin/mke2fs -F -j some.img Can I do something similar on FreeBSD? --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mystery of increasing disk usage
Bill Moran wrote: If I remember correctly, the most common reason for this is files that have been deleted, but have not had all references to them closed (i.e. file descriptors). You remember correctly: I've seen this happening with Apache logfiles that had been deleted but Apache didn't know about that... Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mystery of increasing disk usage
Peter Boosten wrote: Bill Moran wrote: If I remember correctly, the most common reason for this is files that have been deleted, but have not had all references to them closed (i.e. file descriptors). You remember correctly: I've seen this happening with Apache logfiles that had been deleted but Apache didn't know about that... A solution might be searching with fstat or lsof... Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD vs mysql50-server
It should be in /var/db/mysql/my.cnf. HTH Eric Crist On Aug 1, 2007, at 11:04 PMAug 1, 2007, Hartleigh Burton wrote: Hi Guys, I have installed MySQL 5.0.45 server on a new FreeBSD 6.2 boxen, and having some problems restoring a 10GB database backup to the new server. The error I receive is max_allowed_packet too large. When I change the value for max_allowed_packet and set it to 100M, or 500M, or 1G, or 1000M, or 8589934592 (bits), it does not appear to be changing the value in MySQL. I only have one configuration file located in /etc/mysql/my.cnf which is where I am setting the max_allowed_packet value. After altering this value, I restart MySQL (or even the entire server) and then log into mysql and do a show variables; command. The max_allowed_packet variable is ALWAYS set to 1048576 (1M), and has not changed no matter what I try. Is the my.cnf file in the right location (/etc/mysql/)??? How can I check where MySQL is reading the configuration from if there is a possibility it is not coming from this location??? Not sure if this additional information is of any use, in the rc.conf file I have changed the database directory by using mysql_dbdir=/db/mysql. Any help is greatly appreciated. Regards, Hartleigh Burton Resident Geek MRA Entertainment Pty Ltd 5 Dividend St | Mansfield | QLD 4122 | Australia Phone: (07) 3457 5041 Fax: (07) 3349 8806 Mobile: 0421 646 978 www.mraentertainment.com Internal Virus Database was built: Never Checked by MAC OSX... we don't get viruses! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: parformance patch?
-#define MAXPHYS(128 * 1024)/* max raw I/O transfer size */ +#define MAXPHYS(512 * 1024)/* max raw I/O transfer size */ both works for me and gives noticable speedup, when operating on big files and when starting big apps or swapping. There are assumptions about the value of MAXPHYS all through the kernel. I doubt this patch works properly - it is something that should be fixed more completely though. funny but THIS patch (MAXPHYS, not other) is working for me on 4 heavily loaded servers for over a year with FreeBSD 6.2 while vm patch is running on my notebook for 2 days only, ok for now but still testing. other question (swap_pager.c): /* * SWB_NPAGES must be a power of 2. It may be set to 1, 2, 4, 8, or 16 * pages per allocation. We recommend you stick with the default of 8. * The 16-page limit is due to the radix code (kern/subr_blist.c). */ #ifndef MAX_PAGEOUT_CLUSTER #define MAX_PAGEOUT_CLUSTER 16 #endif can this be changed/fixed? 64-128 would be nicer... Why? i.e. what are the implications of this, good and bad? 16*4=64kbytes for modern disk drives 64 kbytes is transferred below 1 milisecond, while seek takes 8-10ms by average. doing so small I/O is inefficient. something like 512kB (128 pages) looks better. patched vm_fault make pageins faster, but not pageout. disks often does write caching clustering pageouts anyway, but probably not that efficient. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: parformance patch?
On Fri, Aug 03, 2007 at 10:04:18PM +0200, Wojciech Puchar wrote: -#define MAXPHYS(128 * 1024)/* max raw I/O transfer size */ +#define MAXPHYS(512 * 1024)/* max raw I/O transfer size */ both works for me and gives noticable speedup, when operating on big files and when starting big apps or swapping. There are assumptions about the value of MAXPHYS all through the kernel. I doubt this patch works properly - it is something that should be fixed more completely though. funny but THIS patch (MAXPHYS, not other) is working for me on 4 heavily loaded servers for over a year with FreeBSD 6.2 Lucky you ;) Doesn't mean that parts of the kernel you're not using can handle it. /* * SWB_NPAGES must be a power of 2. It may be set to 1, 2, 4, 8, or 16 * pages per allocation. We recommend you stick with the default of 8. * The 16-page limit is due to the radix code (kern/subr_blist.c). */ #ifndef MAX_PAGEOUT_CLUSTER #define MAX_PAGEOUT_CLUSTER 16 #endif can this be changed/fixed? 64-128 would be nicer... Why? i.e. what are the implications of this, good and bad? 16*4=64kbytes for modern disk drives 64 kbytes is transferred below 1 milisecond, while seek takes 8-10ms by average. doing so small I/O is inefficient. something like 512kB (128 pages) looks better. patched vm_fault make pageins faster, but not pageout. disks often does write caching clustering pageouts anyway, but probably not that efficient. This is pageout, not pagein. Probably the negative effect is that the when paging out the system does I/O in larger chunks, improving swap throughput but increasing delays for other applications. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD vs mysql50-server
On 8/1/07, Hartleigh Burton [EMAIL PROTECTED] wrote: Hi Guys, snip Is the my.cnf file in the right location (/etc/mysql/)??? How can I check where MySQL is reading the configuration from if there is a possibility it is not coming from this location??? Not sure if this additional information is of any use, in the rc.conf file I have changed the database directory by using mysql_dbdir=/db/ mysql. Any help is greatly appreciated. /usr/local/etc/my.cnf Works for me. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: attaching a terminal to 'join' another?
--- Momchil Ivanov [EMAIL PROTECTED] wrote: Ðа Friday 03 August 2007 00:02:51 Tim Judd напиÑа: Forgot to CC the questions ML. --- Tim Judd [EMAIL PROTECTED] wrote: From Tim Judd Thu Aug 2 15:01:18 2007 Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via HTTP; Thu, 02 Aug 2007 15:01:18 PDT Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT) From: Tim Judd [EMAIL PROTECTED] Subject: Re: attaching a terminal to 'join' another? To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 2291 I'm on the digest list, so I copy/paste the message to quote: -QUOTE: Message: 16 Date: Thu, 2 Aug 2007 11:19:21 -0400 From: Jim Stapleton [EMAIL PROTECTED] Subject: attaching a terminal to 'join' another? To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Sorry if my question is a bit confusing - I'm not even sure the proper terminology, so I don't know what the best way to start looking is. I'm rebuilding a system at home, and I'd like to check how the build is going at a slow time at work sometimes. I can connect to the system from work (ssh into my main box, and then from there, ssh to the system I'm working on). I have a terminal opened on that system (actually, another ssh session fron the main box), and I'd like to have my new connection attach to that terminal session, if possible, so that I can just pick up where I left off, and monitor it from here. Is this possible? Sessions main desktop terminal A [ssh]-- workstation terminal A (where builds are currently being processed) work desktop terminal [ssh]-- main destop terminal B [ssh]-- workstation terminal B I would like to have workstation terminal B intercept workstation terminal A, or main desktop terminal B intercept main desktop terminal A. Can it be done? Where do I start looking, what are the words and phrases of interest? I tried looking at both the bash and xterm commands/man page, but they are rather long, and I'd miss what I was looking for without having a clue in advance. I'm guessing something like /dev/?tty?? might work, but how do I figure out which tty to use? Thank you, -Jim Stapleton --/QUOTE Can't the OP, Jim, use watch(8) with the -W option to interact w/ the terminal? Nothing wrong with screen, but a built-in utility exists. It`s possible, but he`d better use screen for updating/upgrading, since his ssh session that initiated the process may die and then the process dies. With screen the process will continue if his ssh session dies and he would be able to later reattach to the terminal in question. Yes, very true. I think that's a good point and shouldn't be overlooked. If opportunity doesn't knock, build a door. I can is a way of life. More and Bigger is not always Better. The road to success is always uphill. Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545433 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no buffer space
On 2007-08-03 08:31, Mark Busby [EMAIL PROTECTED] wrote: I have a firewall for my pppoe dsl connection that is giving me fits. After a few hours of surfing it runs out of buffer space. I have run memtest on the memory, checked fine. Changed out memory, still locking up. top while out of buffer on ping last pid: 3697; load averages: 0.00, 0.03, 0.03 up 0+17:04:53 07:09:21 47 processes: 1 running, 46 sleeping CPU states: 0.4% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.2% idle Mem: 49M Active, 138M Inact, 49M Wired, 16K Cache, 47M Buf, 132M Free Swap: 231M Total, 231M Free redtick# ping 75.41.xxx.xx PING 75.41.xxx.xx (75.41.xxx.xx): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available [snip vmstat -i output] [snip pciconf output] [snip dmesg output] You forgot to show us your firewall ruleset. ___ 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.2. Can I get 128x48 (or similar) console screens?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nikos Vassiliadis I'm not sure I prefer the alternative, something like Ubuntu or PCLinux, where you just shut your eyes, lie back and think of South Africa, not knowing quite what's getting installed on your PC. That's not a very nice comment to do. Please, keep your feelings about continents/countries/Linux distributions out of here. I really detest the politically correct, particularly the uneducated politically correct. lie back and think of England - From _Dictionary of Catchphrases_ (1995) by Nigel Rees: close your eyes and think of England: traditional advice given to women when confronted with the inevitability of sexual intercourse, or jocular encouragement to either sex about doing anything unpalatable. South Africa is a tourism spot and boasts a number of popular game preserves, it is -the- most advanced and developed country in Africa. As a German it is understandable that he would have vacationed there, he made a rather clever twist on the standard phrase. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]