From owner-freebsd-questions Mon Feb 19 10:13:58 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA13200 for questions-outgoing; Mon, 19 Feb 1996 10:13:58 -0800 (PST) Received: from uswat.advtech.uswest.com (uswat.advtech.uswest.com [130.13.16.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA13187 for ; Mon, 19 Feb 1996 10:13:48 -0800 (PST) Received: from egate.mnet.uswest.com ([151.116.23.138]) by uswat.advtech.uswest.com (8.7.3/8.7.3) with ESMTP id LAA27827 for ; Mon, 19 Feb 1996 11:13:45 -0700 (MST) Received: from westhub (westhub.mnet.uswest.com [148.156.21.6]) by egate.mnet.uswest.com (8.7.1/8.7.1) with SMTP id LAA04446 for ; Mon, 19 Feb 1996 11:21:44 -0700 (MST) Received: by westhub.mnet.uswest.com (M-Net Hub.951228) Message-Id: Date: 18 Feb 1996 21:27:17 -0700 From: "MNET" Subject: Please resend due to networ To: "freebsd-questions-digest@FreeBS" X-Mailer: Mail*Link SMTP-QM 3.0.2 GM Sender: owner-questions@FreeBSD.ORG Precedence: bulk Mail*Link(r) SMTP questions-digest V1 #524 questions-digest Sunday, 18 February 1996 Volume 01 : Number 524 In this issue: Error running FIPS, Last cylinder not free... Error when compiling Re: CTM files printing Hard drive magically doubled?? Re: Error when compiling Re: Hard drive magically doubled?? Re: printing booting from primary wd on wdc1 Re: CTM files Re: Hard drive magically doubled?? Usernames longer than 8 chars? Re: tc* questions... Re: COM ports and fast modems Re: Hard drive magically doubled?? Re: printing sendmail questions adding a disk Re: Crack freeBSD password file Test message. Re: NexGen CPU? ---------------------------------------------------------------------- From: Pete Gallo Date: Sun, 18 Feb 1996 17:14:04 -0500 Subject: Error running FIPS, Last cylinder not free... I degragged my disk (running Windows 95, it is compressed) and re-booted under MS-DOS, hoever FIPS won't run says there is an error the last cynlder isn't free, then exits. Any help would be appreciated. ------------------------------ From: gregkopp@en.com (Greg Kopp) Date: Sun, 18 Feb 1996 17:18:52 -0500 Subject: Error when compiling - --============_-1387440564==_============ Content-Type: text/plain; charset="us-ascii" When I attempt to re-compile the FreeBSD Kernel, I get the following error: cc -o -w -w ..... vers.c loading kernel kern_sysctl.o: undefined symbol '_hw_float' referenced from text segment *** Error code 1 I've attached my configuration file (copied from GENERIC and modified) to this message. Thanks for your help. - --============_-1387440564==_============ Content-Type: text/plain; name="TJP"; charset="us-ascii" Content-Disposition: attachment; filename="TJP" # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # $Id: GENERIC,v 1.46.2.6 1995/10/25 17:29:51 jkh Exp $ # machine "i386" cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" ident TJP maxusers 10 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 tape ft0 at fdc0 drive 2 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 #options ATAPI #Enable ATAPI support for IDE bus #device wcd0 #IDE CD-ROM controller ncr0 #controller ahc0 #controller bt0 at isa? port "IO_BT0" bio irq ? vector btintr #controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr #controller ahc1 at isa? bio irq ? vector ahcintr #controller ahb0 at isa? bio irq ? vector ahbintr #controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr #controller aic0 at isa? port 0x340 bio irq 11 vector aicintr #controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr #controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr #controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr controller scbus0 device sd0 device st0 device cd0 #Only need one of these, the code dynamically grows device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr device mcd1 at isa? port 0x340 bio irq 11 vector mcdintr controller matcd0 at isa? port 0x230 bio device scd0 at isa? port 0x230 bio # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 #options XSERVER # include code for XFree86 #device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr #device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr #device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr #device lpt1 at isa? port? tty #device lpt2 at isa? port? tty #device mse0 at isa? port 0x23c tty irq 5 vector mseintr # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. #device de0 device ed0 at isa? port 0x340 net irq 11 vector edintr #device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr #device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr #device ep0 at isa? port 0x300 net irq 10 vector epintr #device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr #device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr #device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr #device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-devi ce sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo- device gzip # Exec gzipped a.out's pseudo-device speaker - --============_-1387440564==_============ Content-Type: text/plain; charset="us-ascii" - -- ****************************************************************** * Greg Kopp - Garfield Heights, Ohio * * Gun Owner-Ham Radio Operator-Model Railroader-Graphic Artist * ****************************************************************** - --============_-1387440564==_============-- ------------------------------ From: Steve Emmert Date: Sun, 18 Feb 1996 06:19:53 -0800 (PST) Subject: Re: CTM files On Sun, 18 Feb 1996, Melvin Deloyd Robinson wrote: > Where are the CTM files src-2.1.0031.gz and src-2.1.0032.gz on the FTP > site? I'm afraid to upgrade my source tree without them and noticed that > the files jump from src-2.1.0030.gz to src-2.1.0033.gz. The directory that > I'm talking about is pub/FreeBSD/FreeBSD-stable/ctm > > Melvin > Hi Melvin, They are in /incoming along with 0034 to 0038, I asked this same question last week 8). They really should be put in /ctm (hint - hint). Last time I checked ftp.freebsd.org it was down 8(. - --Steve Steve Emmert steve@emmert.com - ------------------------------------------------------------------------- Powered by FreeBSD -- The Daemon is FREE!!! ------------------------------ From: Adam Mitchell Date: Sun, 18 Feb 1996 17:31:22 +0000 Subject: printing what do people use to format print jobs for canon bubble jets? ------------------------------ From: Keith Leonard Date: Sun, 18 Feb 1996 17:47:56 -0500 (EST) Subject: Hard drive magically doubled?? Any body have any idea why when I did an 'df' I got a reading of 103000 blocks used and 302000 available giving me 25% (approx.)used - This was yesterday. This morning I ran pkg_manage and added latex. latter I decided that it wasn't necessary and ran pkg_manage to deinstall it. When I ran 'df' about an hour latter I got 205000 blocks used 609000 blocks free and of course still only approx. 25% used?????? Now I'm concerned that something else may not be reported right to the system. Any ideas?? Keith - ---------------------------------------------------- common sense and common courtesy - aren't, are they? keithl@gil.net adolesent flamers need not reply. ------------------------------ From: se@zpr.uni-koeln.de (Stefan Esser) Date: Sun, 18 Feb 1996 23:57:49 +0100 Subject: Re: Error when compiling On Feb 18, 17:18, Greg Kopp wrote: } Subject: Error when compiling } } } --============_-1387440564==_============ } Content-Type: text/plain; charset="us-ascii" } } When I attempt to re-compile the FreeBSD Kernel, I get the following error: } } cc -o -w -w ..... vers.c } loading kernel } kern_sysctl.o: undefined symbol '_hw_float' referenced from text segment } *** Error code 1 } } I've attached my configuration file (copied from GENERIC and modified) to } this message. } #device npx0 at isa? Remove the '#' and everything will be well again :) npx0 is mandatory ! Regards, STefan - -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se ------------------------------ From: "Jonathan M. Bresler" Date: Sun, 18 Feb 1996 15:16:38 -0800 (PST) Subject: Re: Hard drive magically doubled?? Keith Leonard wrote: > > > Any body have any idea why when I did an 'df' I got a reading of 103000 > blocks used and 302000 available giving me 25% (approx.)used - This was > yesterday. This morning I ran pkg_manage and added latex. latter I > decided that it wasn't necessary and ran pkg_manage to deinstall it. When > I ran 'df' about an hour latter I got 205000 blocks used 609000 blocks > free and of course still only approx. 25% used?????? the two sets of numbers are about 2:1 ratio. df will report in either 512 byte blocks or 1kB units depending upon command line flags (-k) and enviroment variabless (BLOCKSIZE=1k) could be the source of your confusion ------------------------------ From: "Binh Do" Date: Sun, 18 Feb 1996 15:17:03 -0800 Subject: Re: printing On Feb 18, 5:31pm, Adam Mitchell wrote: > Subject: printing ": "what do people use to format print jobs for canon bubble jets? >-- End of excerpt from Adam Mitchell Install apsfilter-4.9.3.tar.gz (it will install ghostscript and so on), then choose the driver, BJ10e or BJ200, depending on your printer. Good luck - -- Binh Do Department Of Computer Science University Of BC, Canada ------------------------------ From: "Peter Stubbs" Date: Mon, 19 Feb 1996 09:28:45 -1000 Subject: booting from primary wd on wdc1 I've been trying to install freeBSD at home for some time now. I have OS/2 on the primary drive on the 1st hard disk controller. The second disk is on the second controller, and has a 50M DOS partition (for games) and 350M for FBSD. When I install from floppy all goes well. I select wd2 for the install, then I build a new kernel from the shell on F4. At boot time it claims it's booting from wd1a, yet at the drive detection time it finds the drive & calls it wd2. Then panics when it can't mount root. I have tried putting "root on wd1", and on wd2 in the new kernel. The /etc/fstab entries all point to slices on wd2. I'm using the default boot manager, I can't remember its name. It has the F1 F5 style options. Any ideas? Peter Stubbs, St Aidan's AGS. ph +61-07-3379-9911, fax +61-07-3379-9432 ------------------------------ From: rkw@dataplex.net (Richard Wackerbarth) Date: Sun, 18 Feb 1996 17:35:30 -0600 Subject: Re: CTM files Steve wrote: >On Sun, 18 Feb 1996, Melvin Deloyd Robinson wrote: > >> Where are the CTM files src-2.1.0031.gz and src-2.1.0032.gz on the FTP >> site? I'm afraid to upgrade my source tree without them and noticed that >> the files jump from src-2.1.0030.gz to src-2.1.0033.gz. The directory that >> I'm talking about is pub/FreeBSD/FreeBSD-stable/ctm >> >> Melvin >> >Hi Melvin, > >They are in /incoming along with 0034 to 0038, I asked this same question >last week 8). They really should be put in /ctm (hint - hint). Last time >I checked ftp.freebsd.org it was down 8(. They were in the process of getting moved when it went down. If you need them before ftp.freebsd.org comes back, they are available at the source (ftp.dataplex.net) However, it is sometimes difficult to get in. Let me know if you need a special password to bypass the quota on anonymous. ------------------------------ From: "Mike Pritchard" Date: Sun, 18 Feb 1996 17:38:17 -0600 (CST) Subject: Re: Hard drive magically doubled?? Keith Leonard wrote: > > > Any body have any idea why when I did an 'df' I got a reading of 103000 > blocks used and 302000 available giving me 25% (approx.)used - This was > yesterday. This morning I ran pkg_manage and added latex. latter I > decided that it wasn't necessary and ran pkg_manage to deinstall it. When > I ran 'df' about an hour latter I got 205000 blocks used 609000 blocks > free and of course still only approx. 25% used?????? > > Now I'm concerned that something else may not be reported right to the > system. > > Any ideas?? Do you have the BLOCKSIZE environment variable set? See "man environ" for more information. - -- Mike Pritchard mpp@minn.net "Go that way. Really fast. If something gets in your way, turn" ------------------------------ From: Bernardo Lam Date: Sun, 18 Feb 1996 18:50:21 -0500 (EST) Subject: Usernames longer than 8 chars? Is there anyway to get usernames longer than 8 chars?. I need to share a BSD/OS password file with FreeBSD 2.1R. Thanks, Bernardo ------------------------------ From: "Lenzi, Sergio" Date: Sun, 18 Feb 1996 21:24:42 -0300 (EST) Subject: Re: tc* questions... On Sun, 18 Feb 1996, Brian J. McGovern wrote: > > I have been playing with tcgetattr and tcsetattr with some reasonable > success. However, I'm now curious how to do it the "right" way. > > What flags should I set to put a terminal in such a mode so that > characters aren't echo'ed, and characters typed are returned > immediately? I've played with ECHO, CLOCAL, and ICANON to some success. use the c_lflags &= (~ECHO | ~ICANON) c_cc[VMIN]=1; c_cc[V_TIME]=1; after... tcsetattr(file_handler,TCSANOW,&termios) I prefer: if (fork() == 0) { execlp("stty","stty","-echo", "-icanon", "time","1", "min","1", "clocal",NULL); } wait(NULL); ... ... > > What flags should I set for a modem for a "normal dialout"? > ie - port doesn't echo (the device will echo the characters) > - characters should be read() immediately (again, no waiting for CR) > - -echo, -icanon,min 1, time 1. > Any changes for inbound calls? I use the ttydx device with a direct rs232 cable and a modem initialized with: at&c1&d2s0=1&w > > Lastly, is there any way to directly look at some of the line signals (CD,DTR, > etc)? > there is an ioctl in the termios.h.... ------------------------------ From: "Lenzi, Sergio" Date: Sun, 18 Feb 1996 21:29:41 -0300 (EST) Subject: Re: COM ports and fast modems On Sun, 18 Feb 1996, Greenstein Jacob wrote: > Dear sirs, > > I would be very grateful if you can explain me the following. > Is it possible to use ports COM with baud rate >57600 with standard > FreeBSD slattach/tty drivers (version 2.1.0-RELEASE)? > I use it regurlary in a gateway ,printer server and name server routing from ethernet to slip on com2 at 57600kbps and a pair of AT&T paradyne modens. It is fast and reliable. ------------------------------ From: Keith Leonard Date: Sun, 18 Feb 1996 19:38:37 -0500 (EST) Subject: Re: Hard drive magically doubled?? Thanks, Must have inadvertanly commented out the line in .cshrc about BLOCKSIZE about 3 this morning. Really feel like a dummy. Much thanks to all. Keith On Sun, 18 Feb 1996, Mike Pritchard wrote: > Keith Leonard wrote: > > > > > > Any body have any idea why when I did an 'df' I got a reading of 103000 > > blocks used and 302000 available giving me 25% (approx.)used - This was > > yesterday. This morning I ran pkg_manage and added latex. latter I > > decided that it wasn't necessary and ran pkg_manage to deinstall it. When > > I ran 'df' about an hour latter I got 205000 blocks used 609000 blocks > > free and of course still only approx. 25% used?????? > > > > Now I'm concerned that something else may not be reported right to the > > system. > > > > Any ideas?? > > Do you have the BLOCKSIZE environment variable set? See "man environ" > for more information. > -- > Mike Pritchard > mpp@minn.net > "Go that way. Really fast. If something gets in your way, turn" > ------------------------------ From: John Brann Date: Sun, 18 Feb 1996 20:05:08 -0500 (EST) Subject: Re: printing Adam Mitchell wrote... > what do people use to format print jobs for canon bubble jets? > Ghostscript. I have a Canon BJ-10e (1991 vintage) which works perfectly using the ghostscript bj10e driver. John - -- Beavis and Butt-Head; Vladimir and Estragon for the '90s. ------------------------------ From: David Hovemeyer Date: Sun, 18 Feb 1996 10:19:14 -0500 (EST) Subject: sendmail questions Howdy sendmail gurus, This is at least sort of FreeBSD-specific. I am sending mail from a FreeBSD box that is intermittently connected to an ISP that dynamically assigns IP addresses. When my mail goes out, I would like sendmail to change the address in the "From:" header from "daveho@roo" (my local username and hostname) to "Hovemeyer_D@mediasoft.net" (the address of my POP3 account at the ISP). Right now I am using a "Reply-to:" header to at least insure that replies come back to the right place, but I would like to have the "real" headers be correct instead. I looked at the sendmail FAQ, which mentions the "user database" feature of sendmail to allow rewriting of From: headers. Is this feature enabled in FreeBSD's sendmail? (I am using 2.1.0R.) I tried the canned example in the FAQ, and it seems to have no effect. Assuming that I can use the user database, will it do what I want, maybe in conjunction with the "DMsome.domain" masquerading feature? Any insight appreciated. Dave - -- "Everybody dies frustrated and sad, and that is beautiful." -- They Might Be Giants ------------------------------ From: Adam Mitchell Date: Sun, 18 Feb 1996 20:22:22 +0000 Subject: adding a disk I have a blank IDE drive (wd1). I want to use 96MB for SWAP and the rest as /mnt_whatever. How do I initialize this blank disk? Here is my current "/etc/fstab" and "fdisk wd1" Thanks VERY much. AM /dev/wd0a / ufs rw 1 1 /dev/wd0s3b none swap sw 0 0 proc /proc procfs rw 0 0 /dev/wd0s1 /dos msdos rw ******* Working on device /dev/rwd1 ******* parameters extracted from in-core disklabel are: cylinders=2100 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=2100 heads=16 sectors/track=63 (1008 blks/cyl) Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: ------------------------------ From: Michael Smith Date: Mon, 19 Feb 1996 12:46:09 +1030 (CST) Subject: Re: Crack freeBSD password file Andre' Carvalho stands accused of saying: > > I would like to know if I can use a program like "crack" to try to break = > my users' passwords. This is very important because I do not want to = > have security holes in this machine. > > I tried a lot, but it says that the crypt() function is not standard and = > that the encrypted passwords are too long. You will have to modify the 'crack' program to understand the longer MD5 encrypted passwords that FreeBSD uses. I would expect that this should be a relatively straightforward task, but I'm not familiar with 'crack'. Anyone else done this already and can supply Andre' with the diffs? > Andre' Esteves de Carvalho - -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "I seek PEZ!" - The Tick [[ ------------------------------ From: Pete Gallo Date: Sun, 18 Feb 1996 22:06:26 -0500 Subject: Test message. Did this make it to the list, please disregard... From: Pete Gallo, ISSC Project Executive Custom Open Systems, Tampa Florida (813)-878-5572 Mail: APEXLATE@DIGITAL.NET "If you are under control you're going too slow." -Parnelli Jones ------------------------------ From: dkelly@hiwaay.net (David Kelly) Date: Sun, 18 Feb 1996 22:01:46 -0600 Subject: Re: NexGen CPU? Gary Roberts replied: >The NExtGEN cpu are junk. They are faster in some cases then the intel, >but they do not have an floating point chips or whatnot, you have to use >'emulators' that emulate floating point processes. FPU NexGens have been available for the past couple of months. Non-FPU NexGens perform sometimes a bit better, sometimes a bit worse, than comparable Pentium CPUs on non-FPU tasks. I don't have a NexGen with FPU so I don't know how well it works. FreeBSD 2.1R runs just fine on my NexGen PCI-90. The standard FreeBSD FPU emulator also works fine but it *is* slower than Christmas. Otherwise my NexGen is quite a screamer and has totally lived up to my expectations. The term "junk" used above is totally out of place. One rainy day I plan on testing the Pentium-specific optimizations in gcc and see if they help a NexGen. - -- David Kelly N4HHE, n4hhe@amsat.org, dkelly@hiwaay.net ============================================================= To invent, you need a good imagination and a pile of junk. - Thomas Edison ------------------------------ End of questions-digest V1 #524 ******************************* ------------------ RFC822 Header Follows ------------------ Received: by denitqm.ecte.uswc.uswest.com with SMTP;18 Feb 1996 21:25:46 -0700 Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [192.216.222.4]) by uswat.advtech.uswest.com (8.7.3/8.7.3) with ESMTP id VAA03133 for ; Sun, 18 Feb 1996 21:21:45 -0700 (MST) From: owner-questions-digest@freefall.freebsd.org Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA25478 for freebsd-questions-digest-outgoing; Sun, 18 Feb 1996 20:02:00 -0800 (PST) Date: Sun, 18 Feb 1996 20:02:00 -0800 (PST) Message-Id: <199602190402.UAA25478@freefall.freebsd.org> To: freebsd-questions-digest@FreeBSD.ORG Subject: questions-digest V1 #524 Reply-To: questions@freefall.freebsd.org Errors-To: owner-questions-digest@freefall.freebsd.org Precedence: bulk