Re: Installing a new system....
I've tried LILO for multi-boot Windows/Linux/FBSD, and have found it to be a headache. You're better off with GRUB, in my opinion. A decent introductory article about GRUB can be found here: http://www2.linuxjournal.com/lj-issues/issue85/4622.html regards, Robert On Thu, 6 May 2004 12:00:47 +0200 Willem Jan Withagen [EMAIL PROTECTED] wrote: - Original Message - From: Steven Hartland [EMAIL PROTECTED] Planning to just add FreeBSD to the grub boot menu. Steve - Original Message - From: Willem Jan Withagen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:50 PM Subject: Installing a new system When thing go as planned I'm getting my dual opteron system this week. So it is time to start planning What I'm wanting to dump on it: FBSD AMD64 FBSD i386 Win2K i386 Win2k x86_ Beta perhaps linux-amd64 (note it has a 200Gb disk) What bootmanager should I use. Anybody tried LILO for these kinds of excercises?? --WjW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Connecting to a Headless machine, after install
I have setup a headless machine via a null modem cable. Instalation went fine. The only problem now, is connecting to the machine after the install. When I #cu -l /dev/cuaao/ I see the boot process, but it gets to the date prompt but doesn't show the login: i did install ssh, but won't let me login with the password I set for root. Any other methods for connecting? This system is connected in my local network, with a firewall protecting my systems. - i am not running xserver on this system Any comments welcomed. Thanks Bruce ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Plod-like tool in ports
On Thu, 6 May 2004, Joshua Lokken wrote: * Kris Kennaway [EMAIL PROTECTED] [2004-05-06 14:25]: On Thu, May 06, 2004 at 02:08:21PM -0700, Joshua Lokken wrote: Does anyone out there use a tool similar to plod for personal logging of administrative tasks? I've looked through /usr/ports/sysutils, and didn't see anything that caught my eye. Perhaps if you explained in more detail what plod does, someone might be able to suggest something. PLOD is a tool designed to help administrators (and others) keep track of their daily activities. Since your management will typically have no idea what you are doing to justify such an exorbitant salary (any amount of money they may be paying you being classified as exorbitant), and since most people forget what they do themselves, it's good to keep a record. Trot your logs out around performance review time, and show them to your management (after suitable sanitization) on a regular basis. The interface is designed to make it quick to dash off a simple note to yourself. Since most folks who are going to use PLOD also use email, I've based the interface on Berkeley mail-- tilde escapes and all (for a list of escapes, try ~h or ~?). By default, your logs will be encrypted using the /bin/crypt command-- not secure in the least, but marginally safe from casual browsing (I tend to vent into my logs sometimes rather than at those who might be offended and fire me). You can turn off the encryption if you find it more a hassle than a comfort. Why not just use plod then? It works fine under both FreeBSD and Linux. Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting OpenBSD partitions
Hi list, I have a multiboot system which includes OpenBSD and FreeBSD. In FreeBSD, how do I mount OpenBSD partitions? Below are the relevant details of my system:- 1. In FreeBSD:- --- (i) fdisk:- Disk name: ad0 FDISK Partition Editor DISK Geometry: 4864 cyls/255 heads/63 sectors = 78140160 sectors(38154MB) Offset Size(ST)End Name PType Desc Subtype Flags 0 63 62- 12 unused0 63 80262 80324ad0s1 7fat6 80325 10442250 10522574ad0s2 4 OpenBSD FFS 166 10522575 28820610 39343184ad0s3 8freebsd 165 39343185 38796975 78140159ad0s4 4 extended DOS, LBA 15 (ii) disklabel ad0s2:- disklabel: /dev/ad0s2: no valid label found (iii) disklabel ad0s3:- # /dev/ad0s3: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 102400004.2BSD 2048 16384 64008 b: 1171456 1024000 swap c: 288206100unused0 0 d: 12582912 21954564.2BSD 2048 16384 28552 e: 14042242 147783684.2BSD 2048 16384 28552 (iv) fstab:- /dev/ad0s3a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3d on /usr (ufs, local, soft-updates) /dev/ad0s3e on /var (ufs, local, soft-updates) 2. In OpenBSD:- -- (i) fdisk:- Disk: wd0 geometry: 4864/255/63 [78140160 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] 0: 060 1 1 -4 254 63 [ 63: 80262 ] DOS 32MB *1: A65 0 1 - 654 254 63 [ 80325:10442250 ] OpenBSD 2: A5 655 0 1 - 2448 254 63 [10522575:28820610 ] FreeBSD 3: 0F 2449 0 1 - 4863 254 63 [39343185:38796975 ] Extended LBA snipped (ii) disklabel wd0:- 16 partitions: #sizeoffset fstype [fsize bsize cpg] a: 614187 80325 4.2BSD 2048 16384 328 # (Cyl. 79*- 688) b: 1125936 694512swap # (Cyl. 689 - 1805) c: 78140160 0 unused 0 0 # (Cyl.0 - 77519) d: 6291936 1820448 4.2BSD 2048 16384 328 # (Cyl. 1806 - 8047) e: 2410191 8112384 4.2BSD 2048 16384 328 # (Cyl. 8048 - 10439*) i:80262 63 MSDOS # (Cyl.0*- 79*) j: 28820610 10522575 unknown# (Cyl. 10439*- 39030*) k: 14378112 39343248 unknown# (Cyl. 39031 - 53294) (iii) fstab:- /dev/wd0a / ffs rw 1 1 /dev/wd0d /usr ffs rw,nodev 1 2 /dev/wd0e /var ffs rw,nodev,nosuid 1 2 One other thing, though not related to FreeBSD: I can't mount FreeBSD partitions in OpenBSD as well. UFS2 related issue? Thanks. --mendonan Yang mimpikan secangkir kopi panas dengan selimut.. (Dreaming of a cup of hot coffee, and a blanket..) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing a new system....
On Fri, May 07, 2004 at 09:17:01AM +0800 or thereabouts, Robert Storey wrote: I've tried LILO for multi-boot Windows/Linux/FBSD, and have found it to be a headache. You're better off with GRUB, in my opinion. A decent introductory article about GRUB can be found here: http://www2.linuxjournal.com/lj-issues/issue85/4622.html - Original Message - From: Steven Hartland [EMAIL PROTECTED] What I'm wanting to dump on it: FBSD AMD64 FBSD i386 Win2K i386 Win2k x86_ Beta perhaps linux-amd64 (note it has a 200Gb disk) there is also a relatively new boot mgr that is gaining in popularity, being able to handle 9 different OSs at once, including the above.. http://gag.sourceforge.net/ -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with FreeBSD 4.8, ipf, ipfnat and forwarding for pcAnywhere
This shouldn't be that hard, but I can't get it working. I have a FreeBSD firewall with three NICs (Internet, LAN, DMZ). I have bridging enabled between the Internet and DMZ interfaces. I now have an internal computer (LAN) that needs to be accessible via pcAnywhere. I can telnet to the pcAnywhere ports on the internal computer fine from the firewall or the LAN. So that works. However, when I configured ipnat to forward my pcAnywhere ports a telnet from the Internet just stalls. My ipnat configuration: # cat /etc/ipnat.conf (xl0 = internet, xl1 = lan, xl2 = dmz) # pcAnywhere # normal nat for office disabled - this is all i have in ipnat.conf rdr xl0 public-ip/32 port 5631 - 192.168.99.9 port 5631 rdr xl0 public-ip/32 port 5632 - 192.168.99.9 port 5632 And I am allowing in accessing via ipf: pass in quick proto tcp from any to public-ip port = 5631 group 200 pass in quick proto udp from any to public-ip port = 5631 group 200 pass in quick proto tcp from any to public-ip port = 5632 group 200 pass in quick proto udp from any to public-ip port = 5632 group 200 (If I take these out I see the ipmon block messages, but with these they go away, so it's not ipf I don't think.) Am I missing something here? This should work! A tcpdump. I am remote (remote-client): %telnet public-ip 5631 Trying public-ip... (just sits there) On the FreeBSD box: # tcpdump -n -i xl0 port 5631 tcpdump: listening on xl0 23:26:41.772801 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460,nop,wscale 0,nop,nop,timestamp 99416198 0 (DF) [tos 0x10] 23:26:44.772018 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460,nop,wscale 0,nop,nop,timestamp 99416498 0 (DF) [tos 0x10] 23:26:48.013346 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460,nop,wscale 0,nop,nop,timestamp 99416818 0 (DF) [tos 0x10] 23:26:51.230241 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10] 23:26:54.429267 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10] 23:26:57.596288 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10] 23:27:03.809921 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10] 23:27:16.050057 remote-client.3755 public-ip.5631: S 2174885259:2174885259(0) win 57344 mss 1460 (DF) [tos 0x10] ^C 48 packets received by filter 0 packets dropped by kernel Oh, and again, I do have bridging enabled between Internet and DMZ: My bridge script: #!/bin/sh echo -n Enabling bridging: if sysctl -w net.link.ether.bridge=1 /dev/null 21; then echo activated. else echo failed. fi echo -n Enabling bridging between xl0 and xl2 interfaces: if sysctl -w net.link.ether.bridge_cfg=xl0,xl2 /dev/null 21; then echo activated. else echo failed. fi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
memory 'leak' with 5.2.1?
That does seem excessive. From my -CURRENT system (admittedly up less that 24 hours): Mem: 179M Active, 190M Inact, 93M Wired, 25M Cache, 60M Buf, 7044K Indeed :\ After a reboot, it was great. The system became all responsive again, and it didn't swap anymore (applications were actually going into RAM and not into swap..). I have no idea at all why this behavior occured. -- Regards, wK (www.doubleukay.com) smime.p7s Description: S/MIME Cryptographic Signature
Re: Ports Index Update Error - mail/lmtpd Failure
On Wed, May 05, 2004 at 10:40:39PM -0400, E. Eusey wrote: 2. Realizing that DB3 was a 'leaf package' (nothing depended on it), I simply You check dependancies by running 'pkg_info -a | grep -A 15 db3' at the command line. Look for a Required By: line. That's rather more neatly expressed as: % pkg_info -R db3-\* Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Installing portaudit from ports
On Wed, May 05, 2004 at 11:25:35PM -0400, R. M. Los wrote: Dependency error: this port wants the OpenSSL library from the FreeBSD base system. You can't build against it, while a newer version is installed by a port. Please deinstall the port or undefine WITH_OPENSSL_BASE. Since I obviously don't want to do the first option, how would I go about doing the 2nd option? Where do you undefine WITH_OPENSSL_BASE?? It's undefined by default, but if you'ld defined it you have put the definition into /etc/make.conf or /usr/local/etc/pkgtools.conf WITH_OPENSSL_BASE is a flag for the security/openssl port which causes that port to overwrite the SSL shlibs and applications in the base system. That's not something to do without due care and attention as it can cause various problems. If you need the openssl port (which you probably don't as openssl is in the base system) think first of installing it under /usr/local. In this case, probably all you need to do is: # pkg_delete security/openssl then install portaudit, and then (if you're sure you need it) re-install security/openssl. Be warned: you might have to repeat that whole rigmarole every time an upgrade to portaudit comes out. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
any way to recover root password on 5.2
Hello, I forgot root pasword on my just installed server. I've tryed to recover it by going to single user, then doing mount -a; passwd root, but no success. It says entropy device blocking. Dance fandago on keyboard to unlock. what can I do? -- With best regards, Gregory Edigarov -- profi.kharkov.uaSystems Administrator -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Max size of file on ISO filesystem?
I used to think that ISO filesystems were limited to a maximum size of 2 Gb for each file, but now I'm not sure sure. mkisofs from sysutils/mkisofs will not accept files over 2 Gb but the one in syutils/mkisofs-devel will without a problem. So if you install mkisofs-devel you can then use growisofs to make a DVD with a file over 2 Gb on it. The fun starts when you try to read the DVD! On a 4.9 machine, doing a ls -l shows the file size as negative, presumably just the result of using a signed 32-bit quantity to hold the size in bytes. However a 5.1 machine generates an error, something like value too large for data type. I presume this is coming from the iso9660 filesystem layer. So there seems to be a discrepancy between what the latest mkisofs and the latest iso9660 filesystem code regards as acceptable. Which is right? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any way to recover root password on 5.2
On Thu, May 06, 2004 at 12:28:18PM +0300, Gregory Edigarov wrote: Hello, I forgot root pasword on my just installed server. I've tryed to recover it by going to single user, then doing mount -a; passwd root, but no success. It says entropy device blocking. Dance fandago on keyboard to unlock. what can I do? Type random stuff on the keyboard to generate entropy. Kris pgpxKoOi57ugj.pgp Description: PGP signature
Re: any way to recover root password on 5.2
On Thu, May 06, 2004 at 12:28:18PM +0300, Gregory Edigarov wrote: I forgot root pasword on my just installed server. I've tryed to recover it by going to single user, then doing mount -a; passwd root, but no success. It says entropy device blocking. Dance fandago on keyboard to unlock. what can I do? Like it says, type a lot of gibberish into the keyboard. One of the places the system can derive randomness from is the time interval between key presses. If you're worried about accidentally typing a command and hosing your system, then you can start by doing: # cat /dev/null type arbitrary stuff for a few minutes, and then hit Ctrl-D. Then try re-running passwd(1). Alternatively you can edit /etc/master.passwd using vipw(1) and simply delete the crypttext of the password for the root account. Then boot back into multi user, and immediately log in as root and set a new password. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpgWWIBWTqve.pgp Description: PGP signature
Re: Installing a new system....
- Original Message - From: Steven Hartland [EMAIL PROTECTED] Planning to just add FreeBSD to the grub boot menu. Steve - Original Message - From: Willem Jan Withagen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:50 PM Subject: Installing a new system When thing go as planned I'm getting my dual opteron system this week. So it is time to start planning What I'm wanting to dump on it: FBSD AMD64 FBSD i386 Win2K i386 Win2k x86_ Beta perhaps linux-amd64 (note it has a 200Gb disk) What bootmanager should I use. Anybody tried LILO for these kinds of excercises?? --WjW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: any way to recover root password on 5.2
On Thursday 06 May 2004 11:28, Gregory Edigarov wrote: Hello, I forgot root pasword on my just installed server. I've tryed to recover it by going to single user, then doing mount -a; passwd root, but no success. It says entropy device blocking. Dance fandago on keyboard to unlock. what can I do? on newer 5.2-CURRENT systems type # /etc/rc.d/preeseedrandom regards ch pgpvjNFNk1aiP.pgp Description: signature
Re: any way to recover root password on 5.2
On Thursday 06 May 2004 12:03, Christian Hiris wrote: On Thursday 06 May 2004 11:28, Gregory Edigarov wrote: Hello, I forgot root pasword on my just installed server. I've tryed to recover it by going to single user, then doing mount -a; passwd root, but no success. It says entropy device blocking. Dance fandago on keyboard to unlock. what can I do? on newer 5.2-CURRENT systems type # /etc/rc.d/preeseedrandom uhhh, typo ! # /etc/rc.d/preseedrandom regards ch pgp7tzRJV5dUp.pgp Description: signature
Re: Sound server issue
On Wednesday 05 May 2004 18:06, David Wassman wrote: I finally got it working using the manual settings in the LINT file. My last question is how to configure the secondary DMA channel. The man pages for sbc: The value of flags specifies the secondary DMA channel. If the secondary DMA channel is C, set the flags to (C | 0x10). For a sound card without the secondary DMA channel, the flags should be set to zero. This is the sbc0 I am using device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 I know the settings for the card (they are set in the BIOS). It has a 8 bit channel at DMA 1 and a 16-bit at DMA 5. Am I right in guessing that [drq 1] is the DMA designation? And then how do you get the second DMA channel active? man device.hints explains that drq is the DMA channel number. You enable the secondary DMA channel 5 by passing flags 0x15 to the sound driver. If i read the ess.c source correctly, for pcm-playback, the secondary DMA channel only will be used in duplex mode. The interesting point is that duplex mode is disabled by default in the ess driver. The author of the program writes: /* audio2 never generates irqs and sounds very noisy */ I think I only have 8-bit sound as wav files are sounding pretty crappy. Am I right in thinking that the man page should read like this: Did you try to overide the default sound device in your apps to /dev/dspW0.0 or /dev/dspW0.1? man pcm describes how to play around with the DMA bufferspace size. Details of the ESS1869 are available in the chipset specs: http://www.diamondsystems.com/files/binaries/ES1869techmanual.pdf If the secondary DMA channel is C (where C is the number of the DMA channel) then set the flags to (C | 0x10) Yes, the bitwise or ensures that bit 4 in flags is set. Or is C a DMA channel of some weird type? no :-) maybe C means Channel. regards ch Again thanks for the help. David Wassman Halcyon DIR Dive Systems Director of Technical Services and Quality Control Office: 1-800-425-2966 ext 315 Fax: 386-454-0815 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpg0auWogHmb.pgp Description: signature
RE: spppcontrol
Andy In 5 years this is the first time for question about spppcontrol. I had not known it even existed. Went and read the man info on it and still I am unclear of it's purpose. Is this something new in 5.2.1? Is this just for ADSL PCI cards? Can you give some info or point me to an link that has more details? In the way of help, all I can say is the 'Network device is not UP!' message for pppoe means you need the following statements added to rc.conf. ifconfig_wpaadsl0=up ifconfig_tun0=DHCP Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 6:34 AM To: [EMAIL PROTECTED] Subject: spppcontrol I am trying to build a router based on the following components: 1.ADSL Pci card 2.FreeBSD 5.2.1 3.IPFilter The card gets configured by the driver, and I am able to connect the ADSL link, but I can't get authenticated to my ISP. I am trying to use a spppcontrol script to negotiate the connection manually. So, after I start the ADSL card service I run the script, but it doesn't seem to do anything. Here is the script, and the response I get when I execute it: ]# cat sppp.sh #!/bin/sh #-- # ppp example setup # last edit-date: [Tue May 4 21:18:13 2004 ] #-- echo Enable Debug for wpaadsl0: ifconfig wpaadsl0 debug echo echo echo setting PPP options spppcontrol wpaadsl0 disable-ipv6 spppcontrol wpaadsl0 myauthproto=pap spppcontrol wpaadsl0 [EMAIL PROTECTED] spppcontrol wpaadsl0 myauthsecret=xx echo echo finished [EMAIL PROTECTED] ~]# ./sppp.sh Enable Debug for wpaadsl0: setting PPP options finished --- The following is from /var/log/messages: May 5 12:58:54 duron kernel: WANPIPE Hardware Support Module v2.7.2 (c) 1995-2002 Sangoma Technologies Corp. May 5 12:58:54 duron kernel: WANPIPE(tm) Multiprotocol Driver v2.7.2 (c) 1995-2001 Sangoma Technologies Inc. May 5 12:58:54 duron kernel: wanpipe: S518 PCI ADSL card found, cpu(s) 1, bus #0, slot #11, irq #3 May 5 12:58:54 duron kernel: WANPIPE: Allocating maximum 1 devices: May 5 12:58:54 duron kernel: WANPIPE: wanpipe1-wanpipe1. May 5 12:58:54 duron kernel: Processing WAN device wanpipe1... May 5 12:58:54 duron kernel: wanpipe1: Locating: ADSL card, CPU , PciSlot=11, PciBus=0 May 5 12:58:54 duron kernel: wanpipe1: Found: ADSL card, CPU , PciSlot=11, PciBus=0 May 5 12:58:54 duron kernel: wanpipe1: Starting hardware setup... May 5 12:58:54 duron kernel: wanpipe1: ADSL PCI memory at 0xcffb May 5 12:58:54 duron kernel: wanpipe1: IRQ 3 allocated to the ADSL card May 5 12:58:54 duron kernel: wanpipe1: Set interrupt handler... May 5 12:58:54 duron kernel: wanpipe1: Starting ADSL device. May 5 12:58:54 duron kernel: wanpipe1: Initializing S518 ADSL card... May 5 12:58:54 duron kernel: wanpipe1: Initializing LAN Interface May 5 12:58:54 duron kernel: wanpipe1: Enabling ADSL (ATM OAM) Watchdog May 5 12:58:54 duron kernel: wanpipe1: ADSL HW Addr: 00:77:77:77:78:e6 May 5 12:58:54 duron kernel: wanpipe1: Creating new WAN interface wpaadsl0... May 5 12:58:54 duron kernel: wanpipe1: Configuring Interface: wpaadsl0 May 5 12:58:54 duron kernel: wanpipe1: ATM configured for PPP (VC) over ATM May 5 12:58:54 duron kernel: wanpipe1: ADSL Link connecting... May 5 12:58:54 duron kernel: wanpipe1: Attaching SPPP protocol May 5 12:58:54 duron kernel: wanpipe1: Attaching network interface wpaadsl0... May 5 12:59:22 duron kernel: wanpipe1: Cell Delination successful May 5 12:59:22 duron kernel: wanpipe1: GP_LINK_UP, State Trained May 5 12:59:22 duron kernel: wanpipe1: ADSL Link connected (Down 1856 kbps, Up 128 kbps) May 5 12:59:30 duron kernel: wanpipe1: Link connected! May 5 12:59:32 duron kernel: wanpipe1: Network device is not UP! May 5 12:59:42 duron kernel: wanpipe1: Network device is not UP! Not sure what to do now, any advice would be really appreciated. Thanks in advance. Andy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.10 stable release info
The official 4.10 schedule says 4.10 stable release was scheduled for May 5. The FTP sites still have RC2 and the 4.10 to-do list talks about RC3. Anybody from the release team care to comment on what is the holdup and when 4.10 going to be updated to the mirror FTP sites? http://www.freebsd.org/releases/4.10R/schedule.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Netfinity 5000 and 5.2.1-RELEASE
Disclaimer: I know that 5.2.1 is not a production release. However, I can't use 4.x if I want to use IBM ServeRAID controller... So, I'm trying to install 5.2.1 on IBM Netfinity 5000 and I'm not having much luck. Before going into great technical detail (ha!) and frustrating stories of my failures, I just thought to ask, is anyone at all running this combination successfully? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * I take my wife everywhere, but she keeps finding her way back. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Restoring system files from CD
How can I restore some lost system files from the original 5.2.1-RELEASE CD-ROM? Is there somewhere in the handbook to discuss this? -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setting up FreeBSD-server - space for /usr, swap,...?
Hi, I'm about to set up a server under 4.x (later to be converted to 5.x once it becomes stable). Hardware: HP DL360 2xXeon 3GHz CPUs 1GB RAM 2x146GB SCSI-HDs (in RAID1-config) Usage: Generating logs of MTRG-statistics (i.e. gathering data via snmp and producing graphics out of the data) These statistics are to be viewed via http (that's simple http-traffic - just viewing web-pages; no user interaction in terms of users entering data) My questions is on how to set up filesystems, i.e. how much space out of the 146GB should I give to o) /usr o) /home o) swap o) /var o) /tmp o) /usr/tmp Besides the suggestions in tuning(7) - is there anything additional to consider? Any caveats pitfalls? TIA for your help, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mylex RAID management on FreeBSD?
Hello, I haven't been able to find much up-to-date info with Google on this. Is there currently a way to manage a Mylex AcceleRAID in FreeBSD? We are currently looking at either using an Adaptec RAID card or a Mylex AcceleRAID. Previous experience with Mylex has been good, but we have not used one on FreeBSD - only Linux. Are Mylex cards stable under FreeBSD? Any opinions would be welcome. Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.10 stable release info
ehm... just my 2 pence: i'm as eager as you to see new features implemented (the completion of ACPI support in the 5.x version, for example), but i really don't think this is an acceptable way to address people who are putting their skills and their time at the service of the FreeBSD community. please, watch your attitude. thanks ulisse bemer IT consultant ( FreeBSD user) - Original Message - From: JJB [EMAIL PROTECTED] To: [EMAIL PROTECTED] ORG [EMAIL PROTECTED] Sent: Thursday, May 06, 2004 2:36 PM Subject: 4.10 stable release info The official 4.10 schedule says 4.10 stable release was scheduled for May 5. The FTP sites still have RC2 and the 4.10 to-do list talks about RC3. Anybody from the release team care to comment on what is the holdup and when 4.10 going to be updated to the mirror FTP sites? http://www.freebsd.org/releases/4.10R/schedule.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LG DVD writer (internal) with External USB Adapter case
I have been offered an internal IDE, LG DVD-Writer. As I want an external drive, the seller offers an external adapter case with an USB 2 output (case provides housing, energy and IDE-USB 2 adapter). Has anybody tried such a device? Does it work with FreeBSD 4.9? Well and easily? And with MacOS X? Comments or warnings? Bernardo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restoring system files from CD
On Thursday 06 May 2004 15:10, Robert Fitzpatrick wrote: How can I restore some lost system files from the original 5.2.1-RELEASE CD-ROM? Is there somewhere in the handbook to discuss this? I did this once under 5.1 release. I think it's still the same procedere: Insert the 5.2.1-RELEASE CD-ROM and boot into the installation menu. Then select the 'Fixit' option from the install menu. Next select option 2 CDROM/DVD (you need the 5.2.1-RELEASE-i386-disc2.iso handy or download it from a freebsd ftp server). The fixit shell starts on terminal 4, where you can fsck and mount your damaged filesystem. cd to /dist, there you may find the files you are looking for. regards ch pgpRQWgH2dLaY.pgp Description: signature
Re: Restoring system files from CD
First, check the live filesystem cd to see if the one you want is on there. If not, you'll have to extract the files you want out of the distribution tar files. There are quite a few of them so you'll have to try to figure out which tar file holds the particular file you are interested in. It would be nice if the FreeBSD web site held a master inventory of each tar file and the system files within it, for reference purposes. How can I restore some lost system files from the original 5.2.1-RELEASE CD-ROM? Is there somewhere in the handbook to discuss this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restoring system files from CD
On Thu, 2004-05-06 at 10:21, Christian Hiris wrote: Insert the 5.2.1-RELEASE CD-ROM and boot into the installation menu. Then select the 'Fixit' option from the install menu. Next select option 2 CDROM/DVD (you need the 5.2.1-RELEASE-i386-disc2.iso handy or download it from a freebsd ftp server). The fixit shell starts on terminal 4, where you can fsck and mount your damaged filesystem. cd to /dist, there you may find the files you are looking for. I would hate for something to go wrong with my production server. Do you think it is OK to just load the same version of FreeBSD on another machine and then copy over the files I need? I made a mistake installing the Heimdal port into /usr instead of the default /usr/local and then when I realized it, I did a deinstall and it took out Kerberized files like ftpd, su, login, etc. from /usr/bin that it had replaced. I have the list of files in the ports distfiles and just need to get them back. -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Sound server issue
Thanks again and for all the help. I will mess around with it. I am sure I can figure it out now that I no where to look. I appreciate all the help/ David Wassman Halcyon DIR Dive Systems Director of Technical Services and Quality Control Office: 1-800-425-2966 ext 315 Fax: 386-454-0815 Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Hiris Sent: Thursday, May 06, 2004 6:41 AM To: David Wassman Cc: [EMAIL PROTECTED] Subject: Re: Sound server issue On Wednesday 05 May 2004 18:06, David Wassman wrote: I finally got it working using the manual settings in the LINT file. My last question is how to configure the secondary DMA channel. The man pages for sbc: The value of flags specifies the secondary DMA channel. If the secondary DMA channel is C, set the flags to (C | 0x10). For a sound card without the secondary DMA channel, the flags should be set to zero. This is the sbc0 I am using device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 I know the settings for the card (they are set in the BIOS). It has a 8 bit channel at DMA 1 and a 16-bit at DMA 5. Am I right in guessing that [drq 1] is the DMA designation? And then how do you get the second DMA channel active? man device.hints explains that drq is the DMA channel number. You enable the secondary DMA channel 5 by passing flags 0x15 to the sound driver. If i read the ess.c source correctly, for pcm-playback, the secondary DMA channel only will be used in duplex mode. The interesting point is that duplex mode is disabled by default in the ess driver. The author of the program writes: /* audio2 never generates irqs and sounds very noisy */ I think I only have 8-bit sound as wav files are sounding pretty crappy. Am I right in thinking that the man page should read like this: Did you try to overide the default sound device in your apps to /dev/dspW0.0 or /dev/dspW0.1? man pcm describes how to play around with the DMA bufferspace size. Details of the ESS1869 are available in the chipset specs: http://www.diamondsystems.com/files/binaries/ES1869techmanual.pdf If the secondary DMA channel is C (where C is the number of the DMA channel) then set the flags to (C | 0x10) Yes, the bitwise or ensures that bit 4 in flags is set. Or is C a DMA channel of some weird type? no :-) maybe C means Channel. regards ch Again thanks for the help. David Wassman Halcyon DIR Dive Systems Director of Technical Services and Quality Control Office: 1-800-425-2966 ext 315 Fax: 386-454-0815 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bind 8 slow when resolving new domains!
I am having a big problem with slow internal DNS (bind 8 on FreeBSD 4.9). If we do a query against a local domain (our DNS server is authoratative) then the response is fast. If we do a query against anything in bind's cache the resp. is fast. If we do a query for a new non-local domain then the resp is SLOW or times-out. FYI, we are behind a NetScreen firewall at a colo. The colo promises it is not them. Also, we are using their two DNS servers as forwarders. The colo promises it's not them, but frankly I can't see how it's us. # tcpdump -n host ns2 and \( icmp or udp \) 10:07:37.832611 192.168.42.78.53 isp-dns1.53: 4240+ [1au] A? www.altavista.com. (46) 10:07:51.013213 192.168.42.78.53 isp-dns2.53: 4240+ [1au] A? www.altavista.com. (46) 10:07:51.074160 isp-dns2.53 192.168.42.78.53: 4240 2/9/10 CNAME[|domain] (DF) 10:07:51.074476 192.168.42.78.53 isp-dns1.53: 17509+ [1au] A? avatw.search.yahoo2.akadns.net. (59) 10:07:51.131568 isp-dns1.53 192.168.42.78.53: 17509 1/9/10 (393) (DF) That's a query for www.altavista.com. That took around 13 seconds. I'm surprised it didn't time-out! Here is my options {} (more to follow after this): options { directory /etc/namedb; listen-on { 192.168.42.78; }; forward only; // added while troubleshooting forward first; // added while troubleshooting forwarders { isp-dns1; isp-dns2; }; allow-transfer { 127.0.0.1; 192.168.42.0/24; }; fetch-glue no; // we have a firewall between us and the Internet, so let's // go ahead and define our query source port query-source address 192.168.42.78 port 53; named-xfer /usr/libexec/named-xfer; }; Okay, so what happens if I try to disable my forwarders? I now have: ... // forward only; // forward first; //forwarders { //isp-dns1; //isp-dns2; //}; ... So let's try a random domain name: ns2# nslookup www.looser.com Server: ns2 Address: 192.168.42.78 *** ns2 can't find www.looser.com: Non-existent host/domain ns2# nslookup www.looser.com Server: ns2 Address: 192.168.42.78 Name:www.looser.com Address: 217.8.158.117 # tcpdump -n host ns2 and \( icmp or udp \) tcpdump: listening on rl0 10:13:50.515557 192.168.42.78.53 192.33.4.12.53: 21568 [1au] A? www.looser.com. (43) 10:13:50.562594 192.33.4.12.53 192.168.42.78.53: 21568- 0/13/14 (475) 10:13:50.563816 192.168.42.78.53 192.33.14.30.53: 39445 [1au] A? www.looser.com. (43) 10:13:50.619570 192.33.14.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:13:50.619641 192.168.42.78.53 192.33.14.30.53: 39445 A? www.looser.com. (32) 10:13:58.018699 192.168.42.78.53 192.55.83.30.53: 39445 [1au] A? www.looser.com. (43) 10:13:58.249039 192.55.83.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:13:58.249153 192.168.42.78.53 192.55.83.30.53: 39445 A? www.looser.com. (32) 10:14:06.018825 192.168.42.78.53 192.41.162.30.53: 39445 [1au] A? www.looser.com. (43) 10:14:06.051960 192.41.162.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:14:06.052112 192.168.42.78.53 192.41.162.30.53: 39445 A? www.looser.com. (32) 10:14:09.431353 192.168.42.78.53 192.33.14.30.53: 7462 A? www.looser.com. (32) 10:14:09.489141 192.33.14.30.53 192.168.42.78.53: 7462- 0/2/2 (109) (DF) 10:14:09.489528 192.168.42.78.53 64.247.9.98.53: 56483 [1au] A? www.looser.com. (43) 10:14:09.544852 64.247.9.98.53 192.168.42.78.53: 56483*- 1/2/1 A 217.8.158.117 (104) (DF) 10:14:14.018941 192.168.42.78.53 192.43.172.30.53: 39445 [1au] A? www.looser.com. (43) 10:14:14.160251 192.43.172.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:14:14.160333 192.168.42.78.53 192.43.172.30.53: 39445 A? www.looser.com. (32) 10:14:22.019082 192.168.42.78.53 192.54.112.30.53: 39445 [1au] A? www.looser.com. (43) 10:14:22.147459 192.54.112.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:14:22.147543 192.168.42.78.53 192.54.112.30.53: 39445 A? www.looser.com. (32) 10:14:30.019186 192.168.42.78.53 192.42.93.30.53: 39445 [1au] A? www.looser.com. (43) 10:14:30.071152 192.42.93.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:14:30.071232 192.168.42.78.53 192.42.93.30.53: 39445 A? www.looser.com. (32) 10:14:38.019329 192.168.42.78.53 192.31.80.30.53: 39445 [1au] A? www.looser.com. (43) 10:14:38.052275 192.31.80.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:14:38.052367 192.168.42.78.53 192.31.80.30.53: 39445 A? www.looser.com. (32) 10:14:46.019458 192.168.42.78.53 192.52.178.30.53: 39445 [1au] A? www.looser.com. (43) 10:14:46.155902 192.52.178.30.53 192.168.42.78.53: 39445 FormErr- [0q] 0/0/0 (12) (DF) 10:14:46.156056 192.168.42.78.53 192.52.178.30.53: 39445 A? www.looser.com. (32) 10:14:54.019582 192.168.42.78.53 192.12.94.30.53: 39445 [1au] A? www.looser.com.
Re: Restoring system files from CD
You don't have to install the entire OS to another machine if you have a medium to large area on your disk. Mount up the #1 CDROM and then create a scratch directory somewhere on your system. Go to the distribution that you think contains the files you are missing (sounds like base to me) and cat() the install.sh script. You'll see that you can execute the script and send it a DESTINATION argument on the command line. That script will extract that particular distribution to what ever directory you include on the command line. Do you think it is OK to just load the same version of FreeBSD on another machine and then copy over the files I need? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mylex RAID management on FreeBSD?
Just FYI, I _LOVE_ the Mylex cards. They are good stuff and rock solid. But be aware that they got bought and shut down by LSI. Everyone got laid off. LSI is just selling off old inventory. Once the inventory is gone, Mylex will not exist. There are two guys on their support line, and they are friendly and helpful. They are the last Mylex employees. On Thu, May 06, 2004 at 04:11:18PM +0200, Peter Schuller wrote: Hello, I haven't been able to find much up-to-date info with Google on this. Is there currently a way to manage a Mylex AcceleRAID in FreeBSD? We are currently looking at either using an Adaptec RAID card or a Mylex AcceleRAID. Previous experience with Mylex has been good, but we have not used one on FreeBSD - only Linux. Are Mylex cards stable under FreeBSD? Any opinions would be welcome. Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: KVM Switches
I am willing to wager that it is the KVM switch itself that is the problem. I have had a few problems KVM switches before. 1) We have a Compaq Proliant 1600. On certain KVMs, the keyboard world drop keystrokes. It was impossible to use. I switched the KVM out with a cheap 2 port Hawking unit and it worked fine. 2) We have a Compaq KVM (a very expensive rack-mountable server class unit). It works great, or so we thought. The other day, we swapped out a two button mouse with a wheel-mouse. Guess what? Doesn't work at all. The mouse is fine, it just won't work through the expensive Compaq KVM. Are you using Compaq hardware at all? Maybe that is your problem :) Another thing to mention... When you are booting your FreeBSD box, make sure you are switched to that box and watch it boot. If you are switched to another computer when the mouse daemon loads, I have found that the mouse won't function at all. Brent. -Original Message- From: Ron [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 5:20 PM To: [EMAIL PROTECTED] Subject: KVM Switches Need information on how to get a KVM switch to work with the FreeBSD mouse driver. The Monitor and keyboard work fine but I have to hook a mouse directly to the box for it to work. Thanks, Ron Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
winmodem
Hello list! I have an internal winmodem in my laptop, it is a smartlink modem, and currently works with the linux driver sources provided at smlink.com. I would like to run FreeBSD on my laptop, but I am unsure how to get this winmodem working. One possibility I thought of is to use the new NDIS wrapper in 5.2-CURRENT with the windows drivers. I only find examples of using this with WiFi cards, how can I find out if the windows drivers for my modem use NDIS, and whether or not this is possible? Is there another way to make this thing work? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.9 kernel panics and crashes
I've got a server that has been rebuilt from the board up that is crashing every few hours with various page faults. This is a FreeBSD 4.9 system with a P4 3.2G HT processor, 2G of DDR, 3ware 6400 controller, 2 Intel Fast100 ethernet cards on an Intel D865PERL motherboard. The server runs Exim 4.30 and clamav-devel out of a current ports cvs update. Here is one the current crashes: May 6 08:15:14 mail /kernel: May 6 08:15:14 mail /kernel: May 6 08:15:14 mail /kernel: Fatal trap 12: page fault while in kernel mode May 6 08:15:14 mail /kernel: fault virtual address = 0x8018 May 6 08:15:14 mail /kernel: fault code= supervisor read, page not present May 6 08:15:14 mail /kernel: instruction pointer = 0x8:0xc017aab8 May 6 08:15:14 mail /kernel: stack pointer = 0x10:0xe911acc8 May 6 08:15:14 mail /kernel: frame pointer = 0x10:0xe911acd4 May 6 08:15:14 mail /kernel: code segment = base 0x0, limit 0xf, type 0x1b May 6 08:15:14 mail /kernel: = DPL 0, pres 1, def32 1, gran 1 May 6 08:15:14 mail /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 May 6 08:15:14 mail /kernel: current process = 7035 (tar) May 6 08:15:14 mail /kernel: interrupt mask= none May 6 08:15:14 mail /kernel: trap number = 12 May 6 08:15:14 mail /kernel: panic: page fault May 6 08:15:14 mail /kernel: May 6 08:15:14 mail /kernel: syncing disks... 128 14 1 May 6 08:15:14 mail /kernel: done May 6 08:15:14 mail /kernel: Uptime: 8m40s May 6 08:15:14 mail /kernel: twe0: failed to delete unit 0 May 6 08:15:14 mail /kernel: Automatic reboot in 15 seconds - press a key on the console to abort If anyone can offer advice, please email me. I am willing to try anything at this point. A side note, acpi has not been built into this kernel per warnings of instability. Many thanks in advance, Jeffrey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stop. in installworld (4.9)
Hi, Upon trying to upgrade a 4.9 system to the most recent version I ended up with a Stop. during make installworld. Here's what I did: cvsup ... stable-supfile cd /usr/src make buildworld make buildkernel KERNCONF=... (Kernel-config-file below) make installkernel KERNCONF=... reboot to single-mode (no errors booting with the new kernel) mergemaster -p cd /usr/src make installworld Installworld ends with a Stop. (see below). Anybody else already seen this? What can I do against it? BTW, cvsup-ing again about an hour later didn't help. TIA for your help, -ewald PS: I'm including the full text of the error message as well as my kernel config and the /var/log/messages below. -- Cut here -- # cd /usr/src # make installworld mkdir -p /tmp/install.42 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.42; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.42 make -f Makefile.inc1 reinstall -- Making hierarchy -- cd /usr/src; make -f Makefile.inc1 hierarchy cd /usr/src/etc;make distrib-dirs set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`; while [ $# -gt 0 ] ; do for dir in /usr/share/locale /usr/share/nls /usr/local/share/nls; do test -d /${dir} cd /${dir}; test -L $2 rm -rf $2; test \! -L $1 test -d $1 mv $1 $2; done; shift; shift; done mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/libdata/perl/5.00503/mach mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done cd /usr/share/locale; set - `grep ^[a-zA-Z] /usr/src/etc/locale.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh;echo $COPYRIGHT osreldate.h;echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # exit Script done on Wed Jan 28 04:57:15 2004 -- Cut here -- Kernel-config-file: machine i386 # cpu I386_CPU # cpu I486_CPU # cpu I586_CPU cpu I686_CPU ident EJ maxusers0 #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options MATH_EMULATE#Support for x87 emulation options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS
Re: Restoring system files from CD
On Thu, 2004-05-06 at 11:27, Incoming Mail List wrote: You don't have to install the entire OS to another machine if you have a medium to large area on your disk. Mount up the #1 CDROM and then create a scratch directory somewhere on your system. Go to the distribution that you think contains the files you are missing (sounds like base to me) and cat() the install.sh script. You'll see that you can execute the script and send it a DESTINATION argument on the command line. That script will extract that particular distribution to what ever directory you include on the command line. Thanks, works great. But not all are system files. Like I said, a deinstall of the Heimdal port after setting HEIMDAL_HOME to /usr seems to have taken out this list of files below. The only ones I have seen an immediate need for so far are /usr/bin/su and /usr/bin/login, but I'm sure more are needed. Most or all of the bin/ files I'm sure I will need and hope to find in the 'base'. Do you think I should restore all of the files listed? And how can I determine the location of the other files on the CD that are not in 'base'? I have Heimdal now installed under /usr/local, so maybe I do not need to put back those related files? esmtp# cat /usr/ports/security/heimdal/pkg-plist bin/afslog bin/ftp bin/kauth bin/kdestroy bin/kf bin/kgetcred bin/kinit bin/klist bin/kpasswd bin/krb5-config bin/login bin/mk_cmds bin/otp bin/otpprint bin/pagsh bin/pfrom bin/rcp bin/rsh bin/string2key bin/su bin/telnet bin/verify_krb5_conf etc/rc.d/kdc.sh.sample include/asn1_err.h include/base64.h include/der.h include/editline.h include/fnmatch.h include/getarg.h include/gssapi.h include/hdb-private.h include/hdb-protos.h include/hdb.h include/hdb_asn1.h include/hdb_err.h include/heim_err.h include/k524_err.h include/kadm5/admin.h include/kadm5/kadm5-private.h include/kadm5/kadm5-protos.h include/kadm5/kadm5_err.h include/kadm5/private.h include/kafs.h include/krb5-private.h include/krb5-protos.h include/krb5-types.h include/krb5.h include/krb5_asn1.h include/krb5_err.h include/otp.h include/parse_bytes.h include/parse_time.h include/parse_units.h include/resolve.h include/roken-common.h include/roken.h include/rtbl.h include/sl.h include/ss/ss.h include/xdbm.h info/dir lib/libasn1.a lib/libasn1.so lib/libasn1.so.6 lib/libeditline.a lib/libgssapi.a lib/libgssapi.so lib/libgssapi.so.5 lib/libhdb.a lib/libhdb.so lib/libhdb.so.7 lib/libkadm5clnt.a lib/libkadm5clnt.so lib/libkadm5clnt.so.6 lib/libkadm5srv.a lib/libkadm5srv.so lib/libkadm5srv.so.7 lib/libkafs.a lib/libkafs.so lib/libkafs.so.4 lib/libkrb5.a lib/libkrb5.so lib/libkrb5.so.20 lib/libotp.a lib/libotp.so lib/libotp.so.1 lib/libroken.a lib/libroken.so lib/libroken.so.16 lib/libsl.a lib/libsl.so lib/libsl.so.1 lib/libss.a lib/libss.so lib/libss.so.1 libexec/ftpd libexec/hprop libexec/hpropd libexec/ipropd-master libexec/ipropd-slave libexec/kadmind libexec/kdc libexec/kfd libexec/kpasswdd libexec/popper libexec/push libexec/rshd libexec/telnetd sbin/dump_log sbin/kadmin sbin/kstash sbin/ktutil sbin/replay_log sbin/truncate_log @dirrm include/kadm5 @dirrm include/ss -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stop. in installworld (4.9)
On Thursday 06 May 2004 09:45 am, Ewald Jenisch wrote: Hi, Upon trying to upgrade a 4.9 system to the most recent version I ended up with a Stop. during make installworld. When ever touch gets involved in an installworld, your computer's clock is usually off and make thinks it needs to recreate something. Set the clock to the proper time and rebuild your world and then try the install. Kent Here's what I did: cvsup ... stable-supfile cd /usr/src make buildworld make buildkernel KERNCONF=... (Kernel-config-file below) make installkernel KERNCONF=... reboot to single-mode (no errors booting with the new kernel) mergemaster -p cd /usr/src make installworld Installworld ends with a Stop. (see below). Anybody else already seen this? What can I do against it? BTW, cvsup-ing again about an hour later didn't help. TIA for your help, -ewald PS: I'm including the full text of the error message as well as my kernel config and the /var/log/messages below. -- Cut here -- # cd /usr/src # make installworld mkdir -p /tmp/install.42 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.42; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/us r/obj/usr/src/i386/usr/games:/tmp/install.42 make -f Makefile.inc1 reinstall -- Making hierarchy -- cd /usr/src; make -f Makefile.inc1 hierarchy cd /usr/src/etc; make distrib-dirs set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`; while [ $# -gt 0 ] ; do for dir in /usr/share/locale /usr/share/nls /usr/local/share/nls; do test -d /${dir} cd /${dir}; test -L $2 rm -rf $2; test \! -L $1 test -d $1 mv $1 $2; done; shift; shift; done mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/libdata/perl/5.00503/mach mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done cd /usr/share/locale; set - `grep ^[a-zA-Z] /usr/src/etc/locale.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf $1; ln -s $2 $1; shift; shift; done -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h; echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # exit Script done on Wed Jan 28 04:57:15 2004 -- Cut here -- Kernel-config-file: machine i386 # cpu I386_CPU # cpu I486_CPU # cpu I586_CPU cpu I686_CPU ident EJ maxusers 0 #makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols options MATH_EMULATE#Support for x87 emulation options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT
Re: Restoring system files from CD
I'm not familiar with the heimdal port. If you've got the list of files that it touches, you can write a small shell program to check if all those files are on the system or not. Based upon your description of the port and the fact you have reinstalled it, I suspect you've got the files you need. Do you think I should restore all of the files listed? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Netfinity 5000 and 5.2.1-RELEASE
Hello! Earlier today, I wrote: So, I'm trying to install 5.2.1 on IBM Netfinity 5000 and I'm not having much luck. Before going into great technical detail (ha!) and frustrating stories of my failures, I just thought to ask, is anyone at all running this combination successfully? I can now report that it's working. At least so far. The key to success was a tip I found after digging the IBM website - to make sure in BIOS setup that *both* Planar SCSI INTA and Planar SCSI INTB are routed to IRQ15 and none of the adapters in any of the PCI slots are routed to IRQ15. In my case I only had to change Planar SCSI INTB from IRQ11 (Automatic) to 15 and the system is now happily humming along with the minimal install that I had somehow actually managed to complete even before posting my original message. I haven't done any real stress-testing yet but at least I'm past the stage where the system could consistently be forced to reboot by running top :-) I hope this piece of information saves someone some grief. Other notes: 1. I need to boot with ACPI disabled, otherwise the boot process never completes (freezes hard after the line 'Timecounters tick every 10.000 msec', even NumLock key doesn't work). 2. The server's IDE CD-ROM (LG CRD-8400B) doesn't seem to be detected by the FeeBSD 5.2.1 install CD. When booting from the install CD, dmesg lists two IDE channels, but doesn't list the CD-ROM device, and later in the install process when you try to select CD/DVD as the install medium, you get a message that no CD/DVD drives were found. I ended up attaching an old SCSI CD-ROM to server's integrated AIC7895 controller and could successfully install from that. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Laughing stock: cattle with a sense of humor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: KVM Switches
Does your mouse exhibit the behavior of spitting out sync errors from the console and sticking in the upper corner of your monitor? I had this exact problem with an Intellimouse Optical and an Apex Outlook KVM. There seems to be an issue with most KVMs not passing the protocol correctly when being switched, and psm has issues resyncing. I finally resolved the issue by adding the following flags to my device hints file for my specific kernel: hint.psm.0.flags=0x100 I then enabled device hints in my kernel conf: hints mycustomkernel.hints I recompiled my kernel and have had no problems since. My mouse now works great between my FreeBSD server and my Linux Workstation on the Apex KVM. Hope this helps. Thomas Foster http://www.section6.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Macnaughton Sent: Thursday, May 06, 2004 8:42 AM To: 'Ron'; [EMAIL PROTECTED] Subject: RE: KVM Switches I am willing to wager that it is the KVM switch itself that is the problem. I have had a few problems KVM switches before. 1) We have a Compaq Proliant 1600. On certain KVMs, the keyboard world drop keystrokes. It was impossible to use. I switched the KVM out with a cheap 2 port Hawking unit and it worked fine. 2) We have a Compaq KVM (a very expensive rack-mountable server class unit). It works great, or so we thought. The other day, we swapped out a two button mouse with a wheel-mouse. Guess what? Doesn't work at all. The mouse is fine, it just won't work through the expensive Compaq KVM. Are you using Compaq hardware at all? Maybe that is your problem :) Another thing to mention... When you are booting your FreeBSD box, make sure you are switched to that box and watch it boot. If you are switched to another computer when the mouse daemon loads, I have found that the mouse won't function at all. Brent. -Original Message- From: Ron [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 5:20 PM To: [EMAIL PROTECTED] Subject: KVM Switches Need information on how to get a KVM switch to work with the FreeBSD mouse driver. The Monitor and keyboard work fine but I have to hook a mouse directly to the box for it to work. Thanks, Ron Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
realplay: spawns 7 processes after one call?
Hi, I'm confused by my call to realplay: $ realplay http://my.music.site/realplay.rm; will spawn this process over 7 different PIDs. Is that normal? Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntfs mount
Ok, either I'm missing something very basic or I'm trying to mount a w2k ntfs file system with: mount_ntfs /dev/ad0s1 /C and I get back: mount_ntfs: /dev/ad0s1: Invalid Argument I'm told this is an ntfs5 file system, could it be that FreeBSD doesn't grok this type of fs or am I missing something really basic?? For ad0 there is only s1,s2,s3,s4; nots5 or above. This is on a 4.10-prerelease system. Thanks for any and all thoughts Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stop. in installworld (4.9)
On Thu, May 06, 2004 at 10:30:33AM -0700, Kent Stewart wrote: On Thursday 06 May 2004 09:45 am, Ewald Jenisch wrote: Hi, Upon trying to upgrade a 4.9 system to the most recent version I ended up with a Stop. during make installworld. When ever touch gets involved in an installworld, your computer's clock is usually off and make thinks it needs to recreate something. Set the clock to the proper time and rebuild your world and then try the install. Hi Kent, Thanks very much for the hint. As it turns out the clock of the system was completely off - it's a new system that I set up today which out of the box had the clock months (!) off... Changed date/time, remade everything and make installworld ran without problems. Thanks again! -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs mount
J. W. Ballantine wrote: Ok, either I'm missing something very basic or I'm trying to mount a w2k ntfs file system with: mount_ntfs /dev/ad0s1 /C and I get back: mount_ntfs: /dev/ad0s1: Invalid Argument Is the filesystem you are trying to mount the first _primary_ partition on the first (i.e. the one jumpered Master) hard disk? I'm told this is an ntfs5 file system, could it be that IIRC, W2K uses NTFS4; NTFS5 is XP. FreeBSD doesn't grok this type of fs Yes, it does. or am I missing something really basic?? Possibly, depends on the answer to the location of the filesystem. For ad0 there is only s1,s2,s3,s4; nots5 or above. This is on a 4.10-prerelease system. Thanks for any and all thoughts Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stop. in installworld (4.9)
On Thursday 06 May 2004 11:04 am, Ewald Jenisch wrote: On Thu, May 06, 2004 at 10:30:33AM -0700, Kent Stewart wrote: On Thursday 06 May 2004 09:45 am, Ewald Jenisch wrote: Hi, Upon trying to upgrade a 4.9 system to the most recent version I ended up with a Stop. during make installworld. When ever touch gets involved in an installworld, your computer's clock is usually off and make thinks it needs to recreate something. Set the clock to the proper time and rebuild your world and then try the install. Hi Kent, Thanks very much for the hint. As it turns out the clock of the system was completely off - it's a new system that I set up today which out of the box had the clock months (!) off... Changed date/time, remade everything and make installworld ran without problems. One of the first things I setup on a computer is ntpd and then I let it run. Sometimes, you have to manually set the clock but it is part of my install first list. The hardest part is finding a public time server than you can access. Computer clocks are notorious for being in another world but now I joke that my computer's clock is more accurate than my digital wristwatch. They always gain or lose time but my computer is always accurate within a fraction of a second. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: athlon-mp daily hang 5.2.1
Bill Moran ([EMAIL PROTECTED]) wrote: Patrick Crosby wrote: Be aware that this is still somewhat experimental, and commits to the source tree may occasionally break this feature. If the world fails to compile using this parameter try again without it before you report any problems. this isn't for a 'make -j4 buildworld', it's for compilation of the software i'm developing...i got two cpu's to speed up a 45 minute build process... and, it hangs at other times as well, just most consistently during compilation. i'm trying to help find what is causing this so that freebsd can improve. This is the standard weird hangs answer, forgive me if you've already checked these: 1) Does is hang on other hardware as well or just this machine? i'm the only one in the office running CURRENT, and since it is hanging more than 5.1 was, i told everyone else to wait before upgrading. but a coworker (with different hardware [single processor], but also AMD-based) does get hangs like mine. 2) Have you checked the RAM with memtest86 or similar? yes. 3) Have you ensured the hardware isn't overheating? i've checked the cpu temp and it is fine. 4) Is the box in question on a UPS? yes. These seem to be the most common problems with FreeBSD hanging. I know none of them have much to do with FreeBSD, but that's just the statistical reality of it. If the answer to #1 indicates an issue with this particular machine, it could still be a problem with FreeBSD on that particular hardware. #4 is a rarity, but I've seen crappy power cause weird problems. Undersized power supplies can cause similar problems. so i should try running with it off the UPS? the power supply should be ok. fwiw, the coworker who also gets hangs is *not* on a UPS. it could be a building power weirdness (which is why i plugged into the UPS to begin with)... would rebuilding the kernel with INVARIANTS or WITNESS help at all? thanks. patrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restoring system files from CD
Incoming Mail List [EMAIL PROTECTED] writes: You don't have to install the entire OS to another machine if you have a medium to large area on your disk. Mount up the #1 CDROM and then create a scratch directory somewhere on your system. Go to the distribution that you think contains the files you are missing (sounds like base to me) and cat() the install.sh script. You'll see that you can execute the script and send it a DESTINATION argument on the command line. That script will extract that particular distribution to what ever directory you include on the command line. Given that the needed files are already listed in a file, you could do it directly and just unpack those particular files. Something along the lines of cat /mnt/cdrom/bin/* | tar -xzT listingFile -f - should do it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs mount
-- In Response to your message - Date: Thu, 06 May 2004 19:28:27 +0100 To: [EMAIL PROTECTED] From: Mark Ovens [EMAIL PROTECTED] Subject: Re: ntfs mount J. W. Ballantine wrote: Ok, either I'm missing something very basic or I'm trying to mount a w2k ntfs file system with: mount_ntfs /dev/ad0s1 /C and I get back: mount_ntfs: /dev/ad0s1: Invalid Argument Is the filesystem you are trying to mount the first _primary_ partition on the first (i.e. the one jumpered Master) hard disk? yes, there is only one hard disk. I'm told this is an ntfs5 file system, could it be that IIRC, W2K uses NTFS4; NTFS5 is XP. FreeBSD doesn't grok this type of fs Yes, it does. or am I missing something really basic?? Possibly, depends on the answer to the location of the filesystem. For ad0 there is only s1,s2,s3,s4; nots5 or above. This is on a 4.10-prerelease system. Thanks for any and all thoughts Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
segmentation fault-- is my array too long?
Hello, This short program below represents a problem I am having with segmentation faults in a much larger C program that has numerous arrays. Seems as though when I increase the number of elements in an array (here, for example, beyond 130,000) a seg fault occurs. Any idea on what I should change to make the program run with large numbers of elements in my arrays? Thanks. #include stdlib.h #include stdio.h #include math.h #define td 365 /* # days in trxn season */ #define lifetab 94 /* enter 94 lines from life table, corresponds to 27-120 years */ /* # persons in run */ #define persons 15 #define scens 4 int main() { long int j, person=0; double ncost[persons][scens]; double nuts[persons][scens]; printf(check ); printf(\n); for (person=0; personpersons; person++) { ncost[person][0]=0.00; ncost[person][1]=0.00; ncost[person][2]=0.00; ncost[person][3]=0.00; nuts[person][0]=0.00; nuts[person][1]=0.00; nuts[person][2]=0.00; nuts[person][3]=0.00; } printf(persons ); printf(%d\n, persons); return 0; } _ [1]FREE pop-up blocking with the new MSN Toolbar get it now! References 1. http://g.msn.com/8HMAENUS/2728??PS=47575 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs mount
J. W. Ballantine wrote: yes, there is only one hard disk. What does the output from `fdisk ad0' show? Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: segmentation fault-- is my array too long?
This doesn't have much to do with FreeBSD, but... On May 6, 2004, at 2:58 PM, Caroline Korves wrote: Any idea on what I should change to make the program run with large numbers of elements in my arrays? Automatic variables get allocated from the stack, which can only grow to handle 8 MB or so by default. If you dynamicly allocate these arrays using malloc(), or else add the static keyword before the following declarations, you can probably increase the size of persons by a factor of 10 or more: double ncost[persons][scens]; double nuts[persons][scens]; -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Interpreting `pkgdb -F' output
I've run `pkgdb -F' prior to using portupgrade to update some ports. The obvious stuff, such as dependency versions being bumped, I've dealt with as they were pretty much self-explanatory but I'm left with these few. The manpage doesn't offer any explanation and I can't find anything else useful. How do I interpret this output? The first one for example seems to me to be telling me that digikam-0.5.1 depends on openldap-client-2.1.23 but it wants to change that dependency to open-motif-2.2.2_2, which doesn't make much sense. /home/mark{36}# pkgdb -F --- Checking the package registry database Stale dependency: digikam-0.5.1 - openldap-client-2.1.23 (net/openldap21-client): open-motif-2.2.2_2 (score:23%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: kdesdk-3.1.4 - openldap-client-2.1.23 (net/openldap21-client): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdesdk-3.1.4 - samba-libsmbclient-3.0.0 (net/samba-libsmbclient): samba-2.2.8a (score:31%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: xnview-1.50 - compat4x-i386-5.0.20030328 (misc/compat4x): compupic-5.1.1063 (score:17%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. /home/mark{37}# TIA Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: winmodem
If your winmodem uses Lucent chips the ltmdm port may work for you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ben Timby Sent: Thursday, May 06, 2004 11:48 AM To: [EMAIL PROTECTED] Subject: winmodem Hello list! I have an internal winmodem in my laptop, it is a smartlink modem, and currently works with the linux driver sources provided at smlink.com. I would like to run FreeBSD on my laptop, but I am unsure how to get this winmodem working. One possibility I thought of is to use the new NDIS wrapper in 5.2-CURRENT with the windows drivers. I only find examples of using this with WiFi cards, how can I find out if the windows drivers for my modem use NDIS, and whether or not this is possible? Is there another way to make this thing work? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interpreting `pkgdb -F' output
On Thursday 06 May 2004 12:14 pm, Mark Ovens wrote: I've run `pkgdb -F' prior to using portupgrade to update some ports. The obvious stuff, such as dependency versions being bumped, I've dealt with as they were pretty much self-explanatory but I'm left with these few. The manpage doesn't offer any explanation and I can't find anything else useful. That usually means that you don't have the port it want to link to installed. Install what it wants and the message will go away :). Portugrade uusally takes care of this problems but, like all computer problems, you can bet money on it :). Kent How do I interpret this output? The first one for example seems to me to be telling me that digikam-0.5.1 depends on openldap-client-2.1.23 but it wants to change that dependency to open-motif-2.2.2_2, which doesn't make much sense. /home/mark{36}# pkgdb -F --- Checking the package registry database Stale dependency: digikam-0.5.1 - openldap-client-2.1.23 (net/openldap21-client): open-motif-2.2.2_2 (score:23%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: kdesdk-3.1.4 - openldap-client-2.1.23 (net/openldap21-client): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: kdesdk-3.1.4 - samba-libsmbclient-3.0.0 (net/samba-libsmbclient): samba-2.2.8a (score:31%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: xnview-1.50 - compat4x-i386-5.0.20030328 (misc/compat4x): compupic-5.1.1063 (score:17%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. /home/mark{37}# TIA Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs mount
J. W. Ballantine wrote: when I do a properties under w2k it says file system is ntfs, fdisk on bsd show partition 1 is sysid 45,(unknown) Hmm, should be sysid 7. I can't remember if the NTFS driver is built into the kernel (by default) or it's a kld module under 4.x, I'm running -CURRENT, but I'm sure I never had to do anything special for NTFS support in 4.x and the Handbook and FAQ only mention mount_ntfs. FWIW, here's what I get (single partition, C:, on the first drive). Note mine is 'da0', not 'ad0', as it's SCSI not IDE: /home/mark{38}# fdisk da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 143347932 (69994 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED /home/mark{39}# -- In Response to your message - Date: Thu, 06 May 2004 20:01:24 +0100 To: J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED] From: Mark Ovens [EMAIL PROTECTED] Subject: Re: ntfs mount J. W. Ballantine wrote: yes, there is only one hard disk. What does the output from `fdisk ad0' show? Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs mount
Seems our friends in redmond have done something strange with the fs type. both w2k partitions on the disk show a type of 45 and both freebsd show 165. Thanks Jim -- In Response to your message - Date: Thu, 06 May 2004 20:40:45 +0100 To: J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED] From: Mark Ovens [EMAIL PROTECTED] Subject: Re: ntfs mount J. W. Ballantine wrote: when I do a properties under w2k it says file system is ntfs, fdisk on bsd show partition 1 is sysid 45,(unknown) Hmm, should be sysid 7. I can't remember if the NTFS driver is built into the kernel (by default) or it's a kld module under 4.x, I'm running -CURRENT, but I'm sure I never had to do anything special for NTFS support in 4.x and the Handbook and FAQ only mention mount_ntfs. FWIW, here's what I get (single partition, C:, on the first drive). Note mine is 'da0', not 'ad0', as it's SCSI not IDE: /home/mark{38}# fdisk da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 143347932 (69994 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED /home/mark{39}# -- In Response to your message - Date: Thu, 06 May 2004 20:01:24 +0100 To: J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED] rg From: Mark Ovens [EMAIL PROTECTED] Subject: Re: ntfs mount J. W. Ballantine wrote: yes, there is only one hard disk. What does the output from `fdisk ad0' show? Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: athlon-mp daily hang 5.2.1
What I can say to this problem is : - I've open a bug report : 66098 mainly for the same reason : I'm running FreeBSD 5.2.1 patch 5 with a fresh build world (it took me 3 days to have world since gcc was hanging the machine all 5 minutes approximatly) on an SMP machine with two PIII 733 and a BIOS compatible SMP 1.4 specs (the motherboard is an MSI board) with feature like PM enable and APIC enable. The first think I face out was when I shutdown the machine shutdown -h or -r my machine hangs at stopping .. vnlru stopped after nothing I 've seen that this allways hang when boot() is called on cpu1 and that when sometime when boot is called from cpu0 my machine can stop or reboot correctly. But boot on cpu1 represent 98% of my tests. Some days after, when I was running an heavy compilation, I face out severals machine hangs. So I've started to investigate temperature problem, RAM problem disk, etc... Just to be sure, I've reinstall this machine under Linux with a 2.6 Kernel. No problems. So I come back to FreeBSD from a fresh install and start investigating acpi. Since now 2 weeks, the machine never hangs with just one trick (a bad trick for sure) : acpiconf -d . I've disabled acpi management. I let boot the machine and setting up acpi conf since the acpi.ko module is load at boot time and in the final boot process I disable acpi with this command. May be you could test to see if you experience allways the same problem or if that's solved the problem and report here the problem. I think acpi code witch seems to be recent in FreeBSD have some problem may be due to specific management or bugs of our cheapset : mine is a VIA694. I remember that under Linux it took a long time to have a stable machine with acpi enable (in fact this was stabilize when IBM and Intel provide some code to handle acpi) : acpi code was clean but this was how specs were implemented on cheapset that was breaking code So they had to handle some specific chipset feature ... Another way to test could be to disable PM in Bios for a limited time to know if the problem persist. just my two cents. Thierry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
inodes for mailing list archive filesystem?
I'm creating a large new filesystem for an html mailing list archive... I think I need to create more inodes than the default 'newfs' does (?). Does something like 'newfs -i 4096 ...' seem reasonable? Thanks. - Rob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntfs mount
J. W. Ballantine wrote: Seems our friends in redmond have done something strange with the fs type. both w2k partitions on the disk show a type of 45 Hmm, it's not a brand-name PC that came with Windows pre-installed is it? If so there may be a hidden recovery/diagnostics partition that is confusing fdisk. Do you have anything like OnTrack Disk Manager installed to get round disk size limitations in the BIOS? Unlikely with a machine that runs W2K, but I do know someone that installed in on a P-III machine when he built it, using an old 6.5Gbyte disk, because it came with the disk? Since you have 2 Windows partitions, you haven't installed any form of multi-OS boot manager have you? You wouldn't need it with W2K but you may have had if you had 2 different versions of Win9x on there once over? Can you post the whole output of `fdisk ad0', it may just give someone a clue? and both freebsd show 165. Which is correct. Regards, Mark Thanks Jim -- In Response to your message - Date: Thu, 06 May 2004 20:40:45 +0100 To: J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED] From: Mark Ovens [EMAIL PROTECTED] Subject: Re: ntfs mount J. W. Ballantine wrote: when I do a properties under w2k it says file system is ntfs, fdisk on bsd show partition 1 is sysid 45,(unknown) Hmm, should be sysid 7. I can't remember if the NTFS driver is built into the kernel (by default) or it's a kld module under 4.x, I'm running -CURRENT, but I'm sure I never had to do anything special for NTFS support in 4.x and the Handbook and FAQ only mention mount_ntfs. FWIW, here's what I get (single partition, C:, on the first drive). Note mine is 'da0', not 'ad0', as it's SCSI not IDE: /home/mark{38}# fdisk da0 *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 143347932 (69994 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED /home/mark{39}# -- In Response to your message - Date: Thu, 06 May 2004 20:01:24 +0100 To: J. W. Ballantine [EMAIL PROTECTED], [EMAIL PROTECTED] rg From: Mark Ovens [EMAIL PROTECTED] Subject: Re: ntfs mount J. W. Ballantine wrote: yes, there is only one hard disk. What does the output from `fdisk ad0' show? Regards, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inodes for mailing list archive filesystem?
That should give you double the default number of inodes. To find out how many files that will allow on the file system, divide the size of the file system by 4096. Don't forget meta-data (superblock, etc) overhead will reduce the actual amount of data space available in the file system. If you subtract 10% from your final figure you will have covered the overhead more than enough. I'm creating a large new filesystem for an html mailing list archive... I think I need to create more inodes than the default 'newfs' does (?). Does something like 'newfs -i 4096 ...' seem reasonable? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Plod-like tool in ports
Does anyone out there use a tool similar to plod for personal logging of administrative tasks? I've looked through /usr/ports/sysutils, and didn't see anything that caught my eye. -- Joshua Is there no place for the man with 105 IQ?! --Homer Simpson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Plod-like tool in ports
On Thu, May 06, 2004 at 02:08:21PM -0700, Joshua Lokken wrote: Does anyone out there use a tool similar to plod for personal logging of administrative tasks? I've looked through /usr/ports/sysutils, and didn't see anything that caught my eye. Perhaps if you explained in more detail what plod does, someone might be able to suggest something. Kris pgpavzjfZ5pUw.pgp Description: PGP signature
Re: segmentation fault-- is my array too long?
Subject: segmentation fault-- is my array too long? From: Caroline Korves [EMAIL PROTECTED] Date: Thu, 06 May 2004 14:58:43 -0400 To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello, This short program below represents a problem I am having with segmentation faults in a much larger C program that has numerous arrays. Seems as though when I increase the number of elements in an array (here, for example, beyond 130,000) a seg fault occurs. Any idea on what I should change to make the program run with large numbers of elements in my arrays? Thanks. #include stdlib.h #include stdio.h #include math.h #define td 365 /* # days in trxn season */ #define lifetab 94 /* enter 94 lines from life table, corresponds to 27-120 years */ /* # persons in run */ #define persons 15 #define scens 4 int main() { long int j, person=0; double ncost[persons][scens]; double nuts[persons][scens]; printf(check ); printf(\n); for (person=0; personpersons; person++) { ncost[person][0]=0.00; ncost[person][1]=0.00; ncost[person][2]=0.00; ncost[person][3]=0.00; nuts[person][0]=0.00; nuts[person][1]=0.00; nuts[person][2]=0.00; nuts[person][3]=0.00; } printf(persons ); printf(%d\n, persons); return 0; } _ [1]FREE pop-up blocking with the new MSN Toolbar get it now! References 1. http://g.msn.com/8HMAENUS/2728??PS=47575 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Greetings, Caroline. It could be that your array is too long. I managed to run the program (straight copy and paste), but it could be that your program isn't allocated enough memory initially to hold those two huge arrays. I might be off here, but I think a double is 8 bytes long. That means you're trying to allocate 2 * 8 * 4 * 150,000 = 9,600,000 B = 9.6 MB of memory off the heap. Seeing as how you're program is assigned a fixed amount of memory upon execution (and it seems your program isn't assigned enough), you sometimes need to allocate memory on the heap if you are to operate on arrays that big. malloc() is your friend! :-) -- double *ncost = malloc(sizeof (double) * persons * scens); -- This ought to do the trick. Just remember to make sure that malloc returns a valid pointer, otherwise you'll have another seg fault. I'm pretty sure you can adress the pointer like you do with the array there (ncost[persons][0], etc...); if not, you can always do ncost(sizeof(double) * persons + 0), etc... Hope this helps! -Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Plod-like tool in ports
* Kris Kennaway [EMAIL PROTECTED] [2004-05-06 14:25]: On Thu, May 06, 2004 at 02:08:21PM -0700, Joshua Lokken wrote: Does anyone out there use a tool similar to plod for personal logging of administrative tasks? I've looked through /usr/ports/sysutils, and didn't see anything that caught my eye. Perhaps if you explained in more detail what plod does, someone might be able to suggest something. PLOD is a tool designed to help administrators (and others) keep track of their daily activities. Since your management will typically have no idea what you are doing to justify such an exorbitant salary (any amount of money they may be paying you being classified as exorbitant), and since most people forget what they do themselves, it's good to keep a record. Trot your logs out around performance review time, and show them to your management (after suitable sanitization) on a regular basis. The interface is designed to make it quick to dash off a simple note to yourself. Since most folks who are going to use PLOD also use email, I've based the interface on Berkeley mail-- tilde escapes and all (for a list of escapes, try ~h or ~?). By default, your logs will be encrypted using the /bin/crypt command-- not secure in the least, but marginally safe from casual browsing (I tend to vent into my logs sometimes rather than at those who might be offended and fire me). You can turn off the encryption if you find it more a hassle than a comfort. -- Joshua You can't treat the working man this way! One day we'll form a union, and get the fair and equitable treatment we deserve! Then, we'll get corrupt and shiftless, and the Japanese will eat us alive!--Anonymous Simpsons character ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quick question about apache on freebsd4.9
Installed apache on freebsd 4.9. Installed several virtual hosts with ssl support. When I browse the one of them with internet explorer I have to click yes over 30 times in The browser security certificate. Anyone have any ideas why this would be happening??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KVM Switches
Please excuse my top-posting. But again, the following messages show why this list is a major *plus++. I spent hours digging into various protocols trying to figure out why my mouse went heywire on my new platform. From what I read below, it may be my KVM switch. I've got a Belkin KVM, Logitech 3-buttom mouse, and IBM keybd. Go figure... gary On Thu, May 06, 2004 at 10:51:53AM -0700, Foster, ThomasX wrote: Does your mouse exhibit the behavior of spitting out sync errors from the console and sticking in the upper corner of your monitor? I had this exact problem with an Intellimouse Optical and an Apex Outlook KVM. There seems to be an issue with most KVMs not passing the protocol correctly when being switched, and psm has issues resyncing. I finally resolved the issue by adding the following flags to my device hints file for my specific kernel: hint.psm.0.flags=0x100 I then enabled device hints in my kernel conf: hints mycustomkernel.hints I recompiled my kernel and have had no problems since. My mouse now works great between my FreeBSD server and my Linux Workstation on the Apex KVM. Hope this helps. Thomas Foster http://www.section6.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Macnaughton Sent: Thursday, May 06, 2004 8:42 AM To: 'Ron'; [EMAIL PROTECTED] Subject: RE: KVM Switches I am willing to wager that it is the KVM switch itself that is the problem. I have had a few problems KVM switches before. 1) We have a Compaq Proliant 1600. On certain KVMs, the keyboard world drop keystrokes. It was impossible to use. I switched the KVM out with a cheap 2 port Hawking unit and it worked fine. 2) We have a Compaq KVM (a very expensive rack-mountable server class unit). It works great, or so we thought. The other day, we swapped out a two button mouse with a wheel-mouse. Guess what? Doesn't work at all. The mouse is fine, it just won't work through the expensive Compaq KVM. Are you using Compaq hardware at all? Maybe that is your problem :) Another thing to mention... When you are booting your FreeBSD box, make sure you are switched to that box and watch it boot. If you are switched to another computer when the mouse daemon loads, I have found that the mouse won't function at all. Brent. -Original Message- From: Ron [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 5:20 PM To: [EMAIL PROTECTED] Subject: KVM Switches Need information on how to get a KVM switch to work with the FreeBSD mouse driver. The Monitor and keyboard work fine but I have to hook a mouse directly to the box for it to work. Thanks, Ron Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: segmentation fault-- is my array too long?
Subject: segmentation fault-- is my array too long? From: Caroline Korves [EMAIL PROTECTED] Date: Thu, 06 May 2004 14:58:43 -0400 To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello, This short program below represents a problem I am having with segmentation faults in a much larger C program that has numerous arrays. Seems as though when I increase the number of elements in an array (here, for example, beyond 130,000) a seg fault occurs. Any idea on what I should change to make the program run with large numbers of elements in my arrays? Thanks. #include stdlib.h #include stdio.h #include math.h #define td 365 /* # days in trxn season */ #define lifetab 94 /* enter 94 lines from life table, corresponds to 27-120 years */ /* # persons in run */ #define persons 15 #define scens 4 int main() { long int j, person=0; double ncost[persons][scens]; double nuts[persons][scens]; printf(check ); printf(\n); for (person=0; personpersons; person++) { ncost[person][0]=0.00; ncost[person][1]=0.00; ncost[person][2]=0.00; ncost[person][3]=0.00; nuts[person][0]=0.00; nuts[person][1]=0.00; nuts[person][2]=0.00; nuts[person][3]=0.00; } printf(persons ); printf(%d\n, persons); return 0; } _ [1]FREE pop-up blocking with the new MSN Toolbar get it now! References 1. http://g.msn.com/8HMAENUS/2728??PS=47575 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Greetings, Caroline. It could be that your array is too long. I managed to run the program (straight copy and paste), but it could be that your program isn't allocated enough memory initially to hold those two huge arrays. I might be off here, but I think a double is 8 bytes long. That means you're trying to allocate 2 * 8 * 4 * 150,000 = 9,600,000 B = 9.6 MB of memory off the heap. Seeing as how you're program is assigned a fixed amount of memory upon execution (and it seems your program isn't assigned enough), you sometimes need to allocate memory on the heap if you are to operate on arrays that big. malloc() is your friend! :-) -- double *ncost = malloc(sizeof (double) * persons * scens); -- This ought to do the trick. Just remember to make sure that malloc returns a valid pointer, otherwise you'll have another seg fault. I'm pretty sure you can adress the pointer like you do with the array there (ncost[persons][0], etc...); if not, you can always do ncost(sizeof(double) * persons + 0), etc... /* AMENDMENT!!! */ In my haste, I totally forgot my pointer dereferencing. The correct way to reference a pointer as a two dimensional array is, of course, thus: *(ncost + (sizeof(double) * persons) + 0)) = 0.00; Silly me. Anyway, this should work. /* END AMMENDMENT */ Hope this helps! -Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help! -- acroread failing to launch
hi, i recently uninstalled almost all of my programs, cleaned out the cruft, and re-installed only the programs i was actually using. +2Gb yay! well, since reinstalling acroread, i'm having problems getting it to run. i vaguely recall having the same issue, when i first installed the program many moons ago, but do not recall what to do to fix. here is the error message: acroread /usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory locate libXt.so.6 /usr/X11R6/lib/libXt.so.6 i have tried with and without the following paths in my rc.conf file (with reboot, naturally). ldconfig_paths=/usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg/ /u sr/compat/linux/lib /usr/compat/linux/usr/lib /usr/compat/linux/usr/X11R6/lib ldconfig_paths_aout=/usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout this is the version i have installed: acroread-5.08 View, distribute and print PDF documents finally, the program was installed with portinstall, so all dependencies should also have been installed. i do have linux_base_8 installed *instead* of 7, but i fixed that dependency through pkgdb -Fu. (also, i have had it working this way in the past, so this shouldn't be the problem). if anyone has any idea what might be wrong, please let me know. thank you very much, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Quick question about apache on freebsd4.9
On May 6, 2004, at 3:57 PM, Jeronimo Romero wrote: Installed apache on freebsd 4.9. Installed several virtual hosts with ssl support. When I browse the one of them with internet explorer I have to click yes over 30 times in The browser security certificate. Anyone have any ideas why this would be happening??? SSL is IP based. You can only have one SSL certificate per IP address so if you have multiple virtual hosts on one IP, and they are in different domain names, your cert will not match the site name for most of your hosts and hence you get the dialogs from IE Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help! -- acroread failing to launch
On Friday 07 May 2004 02:29, [EMAIL PROTECTED] wrote: hi, i recently uninstalled almost all of my programs, cleaned out the cruft, and re-installed only the programs i was actually using. +2Gb yay! well, since reinstalling acroread, i'm having problems getting it to run. i vaguely recall having the same issue, when i first installed the program many moons ago, but do not recall what to do to fix. here is the error message: acroread /usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory locate libXt.so.6 /usr/X11R6/lib/libXt.so.6 i have tried with and without the following paths in my rc.conf file (with reboot, naturally). ldconfig_paths=/usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg/ /u sr/compat/linux/lib /usr/compat/linux/usr/lib /usr/compat/linux/usr/X11R6/lib ldconfig_paths_aout=/usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout this is the version i have installed: acroread-5.08 View, distribute and print PDF documents finally, the program was installed with portinstall, so all dependencies should also have been installed. i do have linux_base_8 installed *instead* of 7, but i fixed that dependency through pkgdb -Fu. (also, i have had it working this way in the past, so this shouldn't be the problem). if anyone has any idea what might be wrong, please let me know. from /ports/emulators/linux_base-8/pkg-descr: If you want to run X11 applications, install the x11/linux-XFree86-libs port. hth ch thank you very much, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgpqW7WnYX1Vz.pgp Description: signature
Re: Source code of ln command
On Wednesday, 5 May 2004 at 9:10:27 -0400, Bill Moran wrote: Thuan Truong wrote: I would like to have the source code of 'ln' (make hard or symbolic links to files) command from Free-BSD ftp site. Please let me know how and where to unload it. If you installed source on your FreeBSD system, it's in /usr/src/bin/ln Otherwise, you can download any version you want from cvs: http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/ln/ Note that ln(1) is a relatively simple interface to link(2), which is in the kernel. Here's the complete source of the version supplied with the Sixth Edition of UNIX: main(argc, argv) char **argv; { static struct ibuf statb; register char *np; if (argc2) { write(1, Usage: ln target [ newname ]\n, 29); exit(1); } if (argc==2) { np = argv[1]; while(*np++); while (*--np!='/' npargv[1]); np++; argv[2] = np; } stat(argv[1], statb); if ((statb.iflagsFMT) == DIR) { write(1, No directory link\n, 18); exit(1); } if (link(argv[1], argv[2])0) { write(1, Can't link\n, 11); exit(1); } exit(0); } Greg -- Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgpeA4RmV3yXs.pgp Description: PGP signature
Odd DNS/DHCP behavior
Hello everyone, I've got a computer with FreeBSD 4.9 and it's connected vía LAN, to a gate2wire broadband módem/router/etc The computer configures itself correctly vía the DHCP server inside the modem, and everything seems to work fine, but I get these odd messages and sometimes it can't resolve names until I try several times. It isn't much of a problem, but I'd like to know what it means.. (btw, the machine's name is angel (it wasn't my idea :P) and the domain is the modem's default: 2wire.net. The modem itself is accessible at gateway.2wire.net from inside the LAN). [...] May 5 09:47:58 angel dhclient: New Network Number: 172.16.0.0 May 5 09:47:58 angel dhclient: New Broadcast Address: 172.16.255.255 May 5 10:12:00 angel dhclient: New Network Number: 172.16.0.0 May 5 10:12:00 angel dhclient: New Broadcast Address: 172.16.255.255 May 5 10:36:38 angel dhclient: New Network Number: 172.16.0.0 May 5 10:36:38 angel dhclient: New Broadcast Address: 172.16.255.255 [...] May 5 12:29:20 angel lynx: gethostby*.getanswer: asked for gateway.2wire.net IN , got type A [...] May 5 12:24:44 angel ftpd: gethostby*.getanswer: asked for angel.gateway.2wire.net IN , got type A May 5 12:24:44 angel ftpd: gethostby*.getanswer: asked for angel.gateway.2wire.net IN , got type A May 5 12:25:11 angel ftpd: gethostby*.getanswer: asked for angel.gateway.2wire.net IN , got type A May 5 12:25:47 angel last message repeated 4 times ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]