From owner-freebsd-newbies@FreeBSD.ORG Sun Apr 18 00:10:09 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A40316A4CE; Sun, 18 Apr 2004 00:10:09 -0700 (PDT) Received: from nezlok.unixathome.org (nezlok.unixathome.org [66.154.97.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4DAA43D31; Sun, 18 Apr 2004 00:10:08 -0700 (PDT) (envelope-from dan@nezlok.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nezlok.unixathome.org (Postfix) with ESMTP id C5FFAAE0BC; Sun, 18 Apr 2004 00:10:04 -0700 (PDT) Received: from nezlok.unixathome.org ([127.0.0.1]) by localhost (nezlok.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 61247-02; Sun, 18 Apr 2004 00:10:03 -0700 (PDT) Received: by nezlok.unixathome.org (Postfix, from userid 1000) id B4340AE0AB; Sun, 18 Apr 2004 00:10:02 -0700 (PDT) From: Dan Langille To: freebsd-newbies@freebsd.org, freebsd-questions@freebsd.org Message-Id: <20040418071002.B4340AE0AB@nezlok.unixathome.org> Date: Sun, 18 Apr 2004 00:10:02 -0700 (PDT) X-Virus-Scanned: by amavisd-new at unixathome.org Subject: The FreeBSD Diary: 2004-03-28 - 2004-04-17 X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 07:10:09 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 1-Apr : Building a new box from scratch I need a new high end box http://freebsddiary.org/antec.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-newbies@FreeBSD.ORG Sat Apr 17 14:23:34 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE73016A4CE for ; Sat, 17 Apr 2004 14:23:34 -0700 (PDT) Received: from relay4.aport.ru (relay4.aport.ru [194.67.18.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DE7043D5D for ; Sat, 17 Apr 2004 14:23:34 -0700 (PDT) (envelope-from adiemus@omen.ru) Received: (qmail 3785 invoked from network); 17 Apr 2004 21:23:30 -0000 Received: from clusterfw.beeline3g.net (HELO kenguru2) ([217.118.66.232]) (envelope-sender ) by relay4.aport.ru for ; 17 Apr 2004 21:23:30 -0000 Message-ID: <002501c424c1$d4d71510$3ae413ac@kenguru2> From: =?koi8-r?B?99HexczTzMHXIO/C1cjP1w==?= To: Date: Sun, 18 Apr 2004 01:20:24 +0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Mailman-Approved-At: Sun, 18 Apr 2004 04:56:12 -0700 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: need BSD X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 21:23:34 -0000 Hello I need BSD news & questions Sloan Moscow Russia From owner-freebsd-newbies@FreeBSD.ORG Tue Apr 20 11:44:18 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB49A16A4CF for ; Tue, 20 Apr 2004 11:44:18 -0700 (PDT) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAEAA43D31 for ; Tue, 20 Apr 2004 11:44:17 -0700 (PDT) (envelope-from jfm@blueyonder.co.uk) Received: from lexx ([82.37.145.193]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 20 Apr 2004 19:44:18 +0100 From: John Murphy To: newbies@freebsd.org Date: Tue, 20 Apr 2004 19:44:14 +0100 Message-ID: References: <3a8q70tlt97mcr8llt61ff158gtudful25@4ax.com> In-Reply-To: <3a8q70tlt97mcr8llt61ff158gtudful25@4ax.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 20 Apr 2004 18:44:19.0091 (UTC) FILETIME=[7D22E630:01C42707] Subject: Re: Going small X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jfm@blueyonder.co.uk List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 18:44:18 -0000 The net 4801 arrived well wrapped and boxed but it was soon lidless. I noticed a 32M flashcard fitted and read about the OpenBSD-3.4 OS installed thereon. A nice touch to have a minimal working BSD of some kind pre-installed. The card is to be returned to Wim when finished with. The first power supply I tried (after checking correct polarity/ voltage etc.) failed because the inner sleeve was too wide for the pin in the socket. Made a better null serial lead, connected the soekris to a 4.9 box on the LAN, ran 'cu -l /dev/cuaa0 -s 19200' as root and powered on. comBIOS ver. 1.24 20040312 Copyright (C) 2000-2004 Soekris Engineering. net4801 0128 Mbyte Memory CPU Geode 266 Mhz Pri Mas TOSHIBA THNCF032MBA LBA 496-4-32 31 Mbyte PXE-M00: BootManage UNDI, PXE-2.0 (build 082) etc. Pressed ^p within the 5 second countdown for the BIOS prompt and had a look at some settings. Quickly forgetting where I was, I tried up arrow for history and lost keyboard input (or echo). "~." or reboot got it going again. Watched OpenBSD boot on the serial console until cu disconnected as the OS took over the port. But cu again connected to a ksh shell in the <32M install. It's cheating but I took the easier way and put the laptop drive in the desktop, with one of those handy adaptor leads, for faster kernel builds. Installed 5.2.1 minimal and sys (kernel sources). After a few mistakes (one error was 'unknown option "SHED_4BSD"':)) and the addition of the two options described at: http://phk.freebsd.dk/soekris/kern48xx.html the kernel built and installed. It was odd leaving out vga, fdc and vt devices. I was surprised to find no sign of the drive when fitted to the soekris. 'set FLASH=3DSecondary' soon fixed that. If I'd remembered to change the ifconfig line to sis0 it would have worked first time. Setting the ttyd0 line in /etc/ttys to 'on' would have helped too. The kernel is about 3Mbyte smaller than generic: chucky# ll /boot/kernel.old/kernel -r-xr-xr-x 1 root wheel 5940286 Feb 23 20:45 /boot/kernel.old/kernel chucky# ll /boot/kernel/kernel -r-xr-xr-x 1 root wheel 2734753 Apr 19 19:42 /boot/kernel/kernel The HD mounting bracket only leaves room for the lowest profile drives. Anything fatter than 10mm and the case top cannot be fitted. The board is < 5.5" wide and a 2.5" HD is < 3" wide. Room for two of each side by side in a 19" 1U case. John. The kernel configuration file is below: chucky# cat /sys/i386/conf/SOEKRIS #------------------------------------------------------------------------= ----- # FreeBSD 5.2.1 kernel configuration for my Soekris net4801 2004/04/19 # # adapted from SOEKRIS_NET48xx,v 1.2 2003/09/07 14:07:05 edwin Exp (FBSD = 4.8) # # additions: # options CPU_GEODE # Mandatory # options CPU_SOEKRIS # Recommended (not used yet though) # #------------------------------------------------------------------------= ----- machine i386 cpu I586_CPU ident SOEKRIS maxusers 0 options SCHED_4BSD #4BSD scheduler options INET #InterNETworking #options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options UFS_ACL #Support for access control lists options MD_ROOT #MD is a potential root device options PROCFS #Process filesystem (Requires PSEUDOFS) options PSEUDOFS #Pseudo filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING options CPU_GEODE # Mandatory options CPU_SOEKRIS # Recommended device isa device pci # Floating point support - do not disable. device npx # ATA (IDE) disk - required for CompactFlash too device ata device atadisk # ATA disk drives # Serial (COM) ports device sio # MII bus support is required for some PCI 10/100 ethernet NICs device miibus # MII bus support device sis # NS DP83815 Fast Ethernet device driver=20 device wlan # 802.11 support device wi # WaveLAN/Intersil/Symbol 802.11 wireless= NICs. # Soekris vpn1211 #device hifn # Hifn 7951, 7781, etc. device random # Entropy device device loop # Loopback device ether # Ethernet device pty # Pseudo-TTY device md # Memory "disk" device tun # Packet tunnel (required by PPP) device bpf # Berkeley packet filter # USB support device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and= da # SCSI peripherals (required by USB) device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) chucky# uname -a =46reeBSD chucky.my.domain 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Mon = Apr 19 19:42:06 BST 2004 = john@chucky.my.domain:/usr/src/sys/i386/compile/SOEKRIS i386 From owner-freebsd-newbies@FreeBSD.ORG Thu Apr 22 15:19:09 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA50216A4CE for ; Thu, 22 Apr 2004 15:19:09 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7680743D39 for ; Thu, 22 Apr 2004 15:19:07 -0700 (PDT) (envelope-from freebsd@nbritton.org) Received: from dsc01-chc-il-209-109-240-21.rasserver.net ([209.109.240.21] helo=nbritton.org) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BGmXB-0002Ge-00; Thu, 22 Apr 2004 15:19:06 -0700 Message-ID: <408844D5.9090709@nbritton.org> Date: Thu, 22 Apr 2004 17:19:01 -0500 From: Nikolas Britton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jfm@blueyonder.co.uk, freebsd-newbies@freebsd.org References: <3a8q70tlt97mcr8llt61ff158gtudful25@4ax.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Going small X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 22:19:09 -0000 John Murphy wrote: >options CPU_GEODE # Mandatory > I checked in NOTES and it says nothing of this option, how and where did you get it, I thought /usr/src/sys/i386/conf/NOTES contained all valid options? >options SYSVSHM #SYSV-style shared memory >options SYSVMSG #SYSV-style message queues >options SYSVSEM #SYSV-style semaphores > You might be able to remove those options, if I remember right it explains in the freebsd handbook why you don't (and do) need these options. >device isa > Arn't you dealing with a pci only board and chipset, why do you need isa support? Also setting make options will make things leaner and meaner too. something like (this is just an example, don't build anything with this set of options and expect it to work): CPUTYPE=i585/mmx MAKEOPTS="-j2" CFLAGS= -march=pentium-mmx -Os -pipe -s -fomit-frame-pointer -ffast-math COPTFLAGS= -march=pentium-mmx -Os -pipe -s -fomit-frame-pointer -ffast-math read this paper for a starting point on this stuff: http://silverwraith.com/papers/freebsd-tuning.php Have fun with your new toy :-), I'd love to have one of these but can't justify the cost. From owner-freebsd-newbies@FreeBSD.ORG Thu Apr 22 16:40:08 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70B9C16A4CE for ; Thu, 22 Apr 2004 16:40:08 -0700 (PDT) Received: from smtp-out1.blueyonder.co.uk (smtp-out1.blueyonder.co.uk [195.188.213.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C8243D39 for ; Thu, 22 Apr 2004 16:40:07 -0700 (PDT) (envelope-from jfm@blueyonder.co.uk) Received: from lexx ([82.37.145.193]) by smtp-out1.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Fri, 23 Apr 2004 00:40:09 +0100 From: John Murphy To: newbies@freebsd.org Date: Fri, 23 Apr 2004 00:40:05 +0100 Message-ID: References: <3a8q70tlt97mcr8llt61ff158gtudful25@4ax.com> <408844D5.9090709@nbritton.org> In-Reply-To: <408844D5.9090709@nbritton.org> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 22 Apr 2004 23:40:09.0201 (UTC) FILETIME=[25DA3E10:01C428C3] Subject: Re: Going small X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jfm@blueyonder.co.uk List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 23:40:08 -0000 Nikolas Britton wrote: >John Murphy wrote: > >>options CPU_GEODE # Mandatory >> >I checked in NOTES and it says nothing of this option, how and where did= =20 >you get it, I thought /usr/src/sys/i386/conf/NOTES contained all valid=20 >options? http://phk.freebsd.dk/soekris/kern48xx.html No idea why it's not mentioned in NOTES though, perhaps it will be in = 5.3. >>options SYSVSHM #SYSV-style shared memory >>options SYSVMSG #SYSV-style message queues >>options SYSVSEM #SYSV-style semaphores > >You might be able to remove those options, if I remember right it=20 >explains in the freebsd handbook why you don't (and do) need these = options. Yep just had a look in the manual. The second two are only "a few = hundred bytes" each though. >>device isa >> >Arn't you dealing with a pci only board and chipset, why do you need isa= =20 >support? The serial ports require the isa bus: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio1 at port 0x2f8-0x2ff irq 3 on isa0 And there's a bridge too: isab0: port 0x6200-0x623f,0x6100-0x613f at device 18.0 = on pci0 isa0: on isab0 >Also setting make options will make things leaner and meaner too.=20 >something like (this is just an example, don't build anything with this=20 >set of options and expect it to work): >CPUTYPE=3Di585/mmx Hadn't realised the importance of that one, thanks. I'll look into the others. >Have fun with your new toy :-) Seems the amount of time to play is inversely proportional to how interesting the new toy ;) >I'd love to have one of these but can't justify the cost. If you run a normal PC which uses say 0.1KWH it would cost =A370 pa. to run it 24/7 (In the UK). The soekris at 0.01KWH would cost =A37. (May help the justification :)) --=20 John. From owner-freebsd-newbies@FreeBSD.ORG Fri Apr 23 17:00:25 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE4CF16A4CE for ; Fri, 23 Apr 2004 17:00:24 -0700 (PDT) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDD2643D31 for ; Fri, 23 Apr 2004 17:00:23 -0700 (PDT) (envelope-from jfm@blueyonder.co.uk) Received: from lexx ([82.37.145.193]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Sat, 24 Apr 2004 01:00:25 +0100 From: John Murphy To: newbies@freebsd.org Date: Sat, 24 Apr 2004 01:00:22 +0100 Message-ID: <523j80dedv1lqpnmpphkfv80vguaqh2hp4@4ax.com> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 24 Apr 2004 00:00:25.0571 (UTC) FILETIME=[25475330:01C4298F] Subject: New day, new drive (Was 'going small') X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jfm@blueyonder.co.uk List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 00:00:25 -0000 I said "It's pointless to have such a nice new thing spoilt by a clunky old 1.3GByte disk drive which is so fat I can't get the lid on" She said "Well what about that one you said you could use?" "It's broken" I exclaimed. "You are supposed to be able to fix things" She continued... Anyway, the 40G Fujitsu arrived double bubble wrapped today so I went ahead and attempted to re-install 5.2.1 and got very similar errors to the ones I saw on the "broken" drive. The messages were the same but the locations were slightly different. I remembered something about creating a small =46AT16 slice helping in such situations so I verified all the partitions/slices with Ranish Partition Manager[1] and then deleted all the partition records and created a 64K or so partition. No improvement. I'm doing this on my main (only) desktop therefore no resources available for consultation without using hers. No means of copying error messages[2] but it was something like: ad0:WARNING - write UDMA ICRC error ad0:FAILURE - write dma status=3D51 error 84 ad0:FAILURE - write dma status=3D51LBA=3D65 (to) ad0:FAILURE - write dma status=3D51LBA=3D78 and so on; each time four blocks possibly located at slice boundaries. My first thought was to write to questions@freebsd.org and CC hackers@ and a few others, but thought I'd better consult the documentation first ;) In Section 3 Open issues at: http://www.uk.freebsd.org/releases/5.2.1R/errata.html It says: (9 Jan 2004, updated 28 Feb 2004) In some cases, ATA devices may behave erratically, particularly SATA devices. Reported symptoms include command timeouts or missing interrupts. These problems appear to be timing-dependent, making them rather difficult to isolate. Workarounds include: * Turn off ATA DMA using the ``safe mode'' option of the bootloader or the hw.ata.ata_dma sysctl variable. * Use the host's BIOS setup options to put the ATA controller in its ``legacy mode'', if available. * Disable ACPI, for example using the ``safe mode'' option of the bootloader or using the hint.acpi.0.disabled kernel environment variable. So I tried the middle way first as the BIOS had certainly got the drive geometry wrong anyway - so I set it to the C/H/S fbsd fdisk & ranish had calculated. No change. The 5.2.1 boot process draws an ASCII beastie and gives several boot options triggerable by a number key press, so I pressed 3 for safe mode. Entered ufs:ad0s1a at the next prompt and installed without error. Getting somewhere at last, or so I thought, the first attempt to boot the installation was riddled with UDMA IRC errors. I let the errors run and eventually they stopped at a login prompt. So I logged in as rad0:WARNING - write UDMA ICRC erroroad0:FAILURE - write dma status=3D51 error 84oad0:FAILURE - write dma status=3D51LBA=3D65t Managed to re-boot or re-set, can't remember which, and tried booting in safe mode but the file system was truly trashed. Re-installed (in safe (no dma) mode) and booted the installed OS in safe mode - whoopee, five vr0 watchdog timeouts after starting sshd but stability at last. So where's the sysctl to turn off dma setable from? /etc/sysctl.conf? Nope. It's not writeable from there. Added 'hw.ata.ata_dma=3D"0"' to /boot/loader.conf and the rest was easy. It's just sitting on the LAN, it's as quiet as a Lamb. Should I enable dma?[3] NO DON'T! I hear you say. [1] Ranish Partition Manager http://www.ranish.com/part/ is just so handy sometimes. Boots swiftly from a floppy and even recognises freebsd partitions. Ranish failed to verify partitions on the "broken" drive. [2] There's probably a way to write all error messages to a file on a floppy or to some other safe media. I bet developers do it all the time. [3] Yeah I know - I shouldn't ask technical questions on newbies@. :) --=20 John. From owner-freebsd-newbies@FreeBSD.ORG Fri Apr 23 19:10:21 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B00216A4CF for ; Fri, 23 Apr 2004 19:10:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8437943D39 for ; Fri, 23 Apr 2004 19:10:21 -0700 (PDT) (envelope-from sue@FreeBSD.org) Received: from freefall.freebsd.org (sue@localhost [127.0.0.1]) i3O2ALbv068116 for ; Fri, 23 Apr 2004 19:10:21 -0700 (PDT) (envelope-from sue@freefall.freebsd.org) Received: (from sue@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3O2ALnU068104 for freebsd-newbies@freebsd.org; Fri, 23 Apr 2004 19:10:21 -0700 (PDT) (envelope-from sue) Date: Fri, 23 Apr 2004 19:10:21 -0700 (PDT) From: Sue Blake Message-Id: <200404240210.i3O2ALnU068104@freefall.freebsd.org> To: freebsd-newbies@freebsd.org Subject: FreeBSD Newbies FAK X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 02:10:21 -0000 FreeBSD-Newbies First Aid Kit This is a regular posting to the FreeBSD-Newbies mailing list. It is also available at http://people.freebsd.org/~sue/newbies/fak.html FreeBSD-Questions@FreeBSD.ORG is the place to send all questions about installing, configuring, running and using FreeBSD. All help requests are handled by FreeBSD-Questions, including newbies questions. It is particularly important to send all installation questions and answers to FreeBSD-Questions so that they only appear in one place. FreeBSD-Newbies is different. We don't ask for FreeBSD help or answer how-to questions. It is a discussion forum for newbies. FreeBSD-Newbies provides a place for new FreeBSD users to meet and covers any of the activities of newbies that are not already dealt with elsewhere. Examples include helping each other to learn more on our own, finding and using resources, problem solving techniques, how to seek help elsewhere, how to use mailing lists and which lists to use, general chat, making mistakes, boasting, sharing ideas, stories, moral (but not technical) support, and taking an active part in the FreeBSD community. We take our problems and support questions to freebsd-questions, and use freebsd-newbies to meet others who are doing the same things that we do as newbies. We can help people to use the FreeBSD mailing lists and resources, or to interact more productively with the broader FreeBSD community. These are not support questions, and not technical, so we deal with them here. Everyone can help with these new user orientation requests. One of the things we do together is learn more effective ways to find help when we need it. Here are some suggestions: When something doesn't work the way you expect 1. First look at the errata for your release of FreeBSD at http://www.FreeBSD.ORG/releases/ for the latest information and security advisories. 2. Search the Handbook, FAQ, and mail archives at http://www.FreeBSD.ORG/search/search.html 3. If you still have a question or problem, collect the output of `uname -a' and of any relevant program(s) and email your question to FreeBSD-questions@FreeBSD.ORG. Mailing lists When you have a problem that you can't solve by yourself, there's only one support mailing list and that's FreeBSD-questions@FreeBSD.ORG. FreeBSD-questions helps with installation and basic setup as well as more general and advanced questions. You don't have to actually join freebsd-questions before asking a question there. Replies to your question will normally be sent to you personally as well as to the list. Just make sure you have read and followed the guidelines for posting, because you might find them different to what you're used to. If you do subscribe to freebsd-questions you'll have the advantage of seeing all of the recent questions and their answers. Before you post to FreeBSD-questions, please read the guidelines at http://www.lemis.com/questions.html Many of the people who answer FreeBSD-questions are very knowledgeable, but they get frustrated when they get questions which are difficult to understand. http://www.lemis.com/email.html is worth reading too. If you're not sure that you can follow these guidelines, come back and ask the other newbies for help on how to post an effective question to the support mailing list. Maybe your question has been asked before. If you search the mailing list archives at http://www.freebsd.org/search/search.html first you might get the answer right away. It's always worth trying. Other mailing lists (http://www.freebsd.org/handbook/eresources.html#ERESOURCES-CHARTERS) cover specialised areas and many are more developer-oriented. You'll need to read their charters carefully before participating, but it's probably a good idea to ask on either -newbies or -questions for advice about where to post a more specialised question. FreeBSD-announce is a very low volume read-only list for occasional announcements, such as notice of new releases, and the Really Quick Newsletter. It's worth subscribing to FreeBSD-announce too. Manuals You'll always be expected to show that you have made some effort to use the available documentation before asking for help. That's not always as easy as it sounds! If you know what documentation you need but can't locate it, send a brief query to FreeBSD-questions. If you don't know what you need, always have trouble finding it, or can't make any sense of it when you do, ask some patient newbies to steer you in the right direction. Anyone interested in writing or reviewing documentation for FreeBSD is encouraged to join the FreeBSD Documentation Project. Details are at http://www.freebsd.org/docproj/docproj.html Other resources A resource list is available at http://www.freebsd.org/projects/newbies.html to help new and inexperienced FreeBSD users to find relevant information quickly. It includes books, on line documents and tutorials, and links to web pages that other newbies have found useful for learning. If you have a suggestion for good material to be included, please write to freebsd-newbies and tell us about it. But I have seen people asking questions here! It is quite common for people to send the wrong kind of post to a mailing list. Because we're newbies it'll certainly happen here from time to time. The best thing to do if you see a message that doesn't belong on a list is to ignore it. There's always someone around whose job it is to sort these problems out privately. The posts to the lists go straight through, whatever their content. It is going to be confusing for a little while because we're all newbies so we all make mistakes. That's OK. One thing we're going to see a fair bit is people posting questions, believing they're doing the right thing by posting here as newbies, not realising how it works. If someone answers those questions the situation will snowball. There's nothing wrong with helping someone to redirect their question to freebsd-questions, but please do so gently. There's nothing wrong with the occasional mistake either. So all questions, requests for help, etc still go to freebsd-questions as usual. Ours is more of a discussion group, a place where newbies can relax with other newbies and focus more on our successes than on our temporary imperfection. We can talk about things here that are not allowed on freebsd-questions. We're also a bit freer to make the mistakes that we need to make in order to learn. _________________________________________________________________ Mailing list membership To Subscribe to FreeBSD-Newbies: Use the easy form at http://lists.freebsd.org/mailman/listinfo/freebsd-newbies to subscribe to the FreeBSD-Newbies mailing list, or to change your subscription details if you are already a member. To Unsubscribe from FreeBSD-Newbies: To stop receiving list emails, simply follow the unsubscribe link that appears at the bottom of each email you receive from the mailing list. Mail sent to freebsd-newbies@freebsd.org is distributed to all members of the FreeBSD-Newbies mailing list. _________________________________________________________________ From owner-freebsd-newbies@FreeBSD.ORG Fri Apr 23 19:18:40 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7BA816A4CE for ; Fri, 23 Apr 2004 19:18:40 -0700 (PDT) Received: from hotmail.com (bay18-dav60.bay18.hotmail.com [65.54.187.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96A3043D5D for ; Fri, 23 Apr 2004 19:18:40 -0700 (PDT) (envelope-from mattslight@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Apr 2004 19:18:40 -0700 Received: from 212.159.59.107 by bay18-dav60.bay18.hotmail.com with DAV; Sat, 24 Apr 2004 02:18:40 +0000 X-Originating-IP: [212.159.59.107] X-Originating-Email: [mattslight@hotmail.com] X-Sender: mattslight@hotmail.com Message-ID: <4089CE13.4080604@incite-ict.com> Date: Sat, 24 Apr 2004 03:16:51 +0100 From: Matthew Paul Slight User-Agent: Mozilla Thunderbird 0.5 (X11/20040419) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-newbies@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Apr 2004 02:18:40.0675 (UTC) FILETIME=[758BBF30:01C429A2] Subject: Java VM Plugin Firefox X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 02:18:40 -0000 I've just installed jdk14 from ports on my FreeBSD 5.2.1 system, thus I have linux compatibility and linprocfs installed and mounted. I want to enable a Java VM plugin in firefox 0.8. After some trouble with flash (which I have now managed to get working) I discovered libmap.conf. Currently when viewing Java content I am prompted to install the x-java-vm plugin yet I have the jdk installed. Do I need to add an entry into libmap.conf to enable firefox to recongnise the java vm plugin? Or is there something else I should be doing? Currently my libmap.conf reads as follows (althought the last 3 lines seem to have no effect and firefox displays no mention of Java VM in about:plugins): # Flash6 with Mozilla/Firebird/Galeon/Epiphany [/usr/local/lib/linux-flashplugin6/libflashplayer.so] libpthread.so.0 pluginwrapper/flash6.so libdl.so.2 pluginwrapper/flash6.so libz.so.1 libz.so.2 libstdc++-libc6.2-2.so.3 libstdc++.so.4 libm.so.6 libm.so.2 libc.so.6 pluginwrapper/flash6.so # Acrobat with Mozilla/Firebird/Galeon/Epiphany [/usr/local/Acrobat5/Browsers/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so [/usr/local/jdk1.4.2/bin/java] libkse.so.1 libc_r.so.5 libkse.so libc_r.so Regards, Matthew Paul Slight www.incite-ict.com From owner-freebsd-newbies@FreeBSD.ORG Fri Apr 23 20:33:25 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F273B16A4CE for ; Fri, 23 Apr 2004 20:33:24 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id C073143D49 for ; Fri, 23 Apr 2004 20:33:22 -0700 (PDT) (envelope-from freebsd@nbritton.org) Received: from dsc01-chc-il-209-109-227-15.rasserver.net ([209.109.227.15] helo=nbritton.org) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BHDuj-0000ef-00; Fri, 23 Apr 2004 20:33:13 -0700 Message-ID: <4089DFF6.1020504@nbritton.org> Date: Fri, 23 Apr 2004 22:33:10 -0500 From: Nikolas Britton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jfm@blueyonder.co.uk References: <523j80dedv1lqpnmpphkfv80vguaqh2hp4@4ax.com> In-Reply-To: <523j80dedv1lqpnmpphkfv80vguaqh2hp4@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: New day, new drive (Was 'going small') X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 03:33:25 -0000 John Murphy wrote: >I said "It's pointless to have such a nice new thing spoilt by >a clunky old 1.3GByte disk drive which is so fat I can't get >the lid on" > >She said "Well what about that one you said you could use?" > >"It's broken" I exclaimed. > >"You are supposed to be able to fix things" She continued... > >Anyway, the 40G Fujitsu arrived double bubble wrapped today so >I went ahead and attempted to re-install 5.2.1 and got very >similar errors to the ones I saw on the "broken" drive. > >The messages were the same but the locations were slightly >different. I remembered something about creating a small >FAT16 slice helping in such situations so I verified all the >partitions/slices with Ranish Partition Manager[1] and then >deleted all the partition records and created a 64K or so >partition. No improvement. > >I'm doing this on my main (only) desktop therefore no resources >available for consultation without using hers. No means of >copying error messages[2] but it was something like: > >ad0:WARNING - write UDMA ICRC error >ad0:FAILURE - write dma status=51 error 84 >ad0:FAILURE - write dma status=51LBA=65 (to) >ad0:FAILURE - write dma status=51LBA=78 >and so on; each time four blocks possibly located at slice >boundaries. > >My first thought was to write to questions@freebsd.org and CC >hackers@ and a few others, but thought I'd better consult the >documentation first ;) In Section 3 Open issues at: >http://www.uk.freebsd.org/releases/5.2.1R/errata.html >It says: (9 Jan 2004, updated 28 Feb 2004) >In some cases, ATA devices may behave erratically, particularly >SATA devices. Reported symptoms include command timeouts or >missing interrupts. These problems appear to be timing-dependent, >making them rather difficult to isolate. Workarounds include: > >* Turn off ATA DMA using the ``safe mode'' option of the > bootloader or the hw.ata.ata_dma sysctl variable. >* Use the host's BIOS setup options to put the ATA controller in > its ``legacy mode'', if available. >* Disable ACPI, for example using the ``safe mode'' option of the > bootloader or using the hint.acpi.0.disabled kernel environment > variable. > >So I tried the middle way first as the BIOS had certainly got the >drive geometry wrong anyway - so I set it to the C/H/S fbsd fdisk & >ranish had calculated. No change. > >The 5.2.1 boot process draws an ASCII beastie and gives several boot >options triggerable by a number key press, so I pressed 3 for safe >mode. Entered ufs:ad0s1a at the next prompt and installed without >error. Getting somewhere at last, or so I thought, the first attempt >to boot the installation was riddled with UDMA IRC errors. > >I let the errors run and eventually they stopped at a login prompt. >So I logged in as rad0:WARNING - write UDMA ICRC erroroad0:FAILURE >- write dma status=51 error 84oad0:FAILURE - write >dma status=51LBA=65t > >Managed to re-boot or re-set, can't remember which, and tried booting >in safe mode but the file system was truly trashed. > >Re-installed (in safe (no dma) mode) and booted the installed OS in >safe mode - whoopee, five vr0 watchdog timeouts after starting sshd >but stability at last. > >So where's the sysctl to turn off dma setable from? /etc/sysctl.conf? >Nope. It's not writeable from there. Added 'hw.ata.ata_dma="0"' to >/boot/loader.conf and the rest was easy. > >It's just sitting on the LAN, it's as quiet as a Lamb. >Should I enable dma?[3] NO DON'T! I hear you say. > >[1] Ranish Partition Manager http://www.ranish.com/part/ is just so > handy sometimes. Boots swiftly from a floppy and even recognises > freebsd partitions. > Ranish failed to verify partitions on the "broken" drive. > >[2] There's probably a way to write all error messages to a file on a > floppy or to some other safe media. I bet developers do it all > the time. > >[3] Yeah I know - I shouldn't ask technical questions on newbies@. :) > > > Donno.....Download/Install m0n0wall (5MB) (Uses FreeBSD 4.9, and fully supports the net48xx boards) or FreeBSD 4.9 (don't get 4.10-RC) (Mini ISO, 200MB) to diagnoise weather its a software or a hardware issue, it's probable that its a freebsd 5 issue. Basic steps for m0n0wall test: 1. download the m0n0wall build for the net48xx board: http://www.m0n0.ch/wall/download.php?file=net48xx-1.0.img 2. pop the notebook drive in a normal pc (*nix or windows). 3. follow this short guide and image the notebook drive with the file you downloaded: http://www.m0n0.ch/wall/installation_embedded.php 4. pop the drive back into the net4801 and boot it. 5. scroll lock and check the freebsd bootup msgs. From owner-freebsd-newbies@FreeBSD.ORG Sat Apr 24 06:14:30 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC45F16A4CE for ; Sat, 24 Apr 2004 06:14:30 -0700 (PDT) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D251A43D3F for ; Sat, 24 Apr 2004 06:14:29 -0700 (PDT) (envelope-from jfm@blueyonder.co.uk) Received: from lexx ([82.37.145.193]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Sat, 24 Apr 2004 14:14:31 +0100 From: John Murphy To: newbies@freebsd.org Date: Sat, 24 Apr 2004 14:14:28 +0100 Message-ID: <5rok80135jfpq3rhoe82b74pgk93j01vua@4ax.com> References: <523j80dedv1lqpnmpphkfv80vguaqh2hp4@4ax.com> <4089DFF6.1020504@nbritton.org> In-Reply-To: <4089DFF6.1020504@nbritton.org> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 24 Apr 2004 13:14:31.0987 (UTC) FILETIME=[14C17030:01C429FE] Subject: Re: New day, new drive (Was 'going small') X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jfm@blueyonder.co.uk List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 13:14:30 -0000 Nikolas Britton wrote: >John Murphy wrote: >>Should I enable dma? > >Donno.....Download/Install m0n0wall (5MB) (Uses FreeBSD 4.9, and fully=20 >supports the net48xx boards) or FreeBSD 4.9 (don't get 4.10-RC) (Mini=20 >ISO, 200MB) to diagnoise weather its a software or a hardware issue,=20 >it's probable that its a freebsd 5 issue. Well as I hadn't done much more than a basic install, and having had a little practice already, I decided to risk just switching dma on. No problems whatsoever so it must've been a conflict between 5.2.1 and the desktop ata controller. And Jensen Button's just won pole for tomorrow's F1 at Imola! It's been a good day already :) --=20 John. From owner-freebsd-newbies@FreeBSD.ORG Sat Apr 24 20:18:48 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FCA516A4CE for ; Sat, 24 Apr 2004 20:18:48 -0700 (PDT) Received: from hotmail.com (bay2-f51.bay2.hotmail.com [65.54.247.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E07843D3F for ; Sat, 24 Apr 2004 20:18:48 -0700 (PDT) (envelope-from dmwassman@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 24 Apr 2004 20:18:48 -0700 Received: from 24.250.252.89 by by2fd.bay2.hotmail.msn.com with HTTP; Sun, 25 Apr 2004 03:18:47 GMT X-Originating-IP: [24.250.252.89] X-Originating-Email: [dmwassman@hotmail.com] X-Sender: dmwassman@hotmail.com From: "David Wassman" To: freebsd-newbies@freebsd.org Date: Sat, 24 Apr 2004 23:18:47 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Apr 2004 03:18:48.0089 (UTC) FILETIME=[06253090:01C42A74] Subject: Compaq Presario 1610 known problems with X? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 03:18:48 -0000 I don't know if this is the correct list. Here is my question: I am trying to install FreeBSD (version 5.2.1 but I am going to try and install 4.8 later tonight). I am having problems installing either kde or Gnome because files for X are not be installed. I am trying this on a Compaq 1610 (P1MMX, 1.5G HD, 80M RAM). I known its an old system but I want to get it up as a web browser/wordprocessor. Any idea why this is not working would be helpful. _________________________________________________________________ Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! http://toolbar.msn.com/go/onm00200414ave/direct/01/ From owner-freebsd-newbies@FreeBSD.ORG Sat Apr 24 22:00:35 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED2D416A4CE for ; Sat, 24 Apr 2004 22:00:35 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0D7743D58 for ; Sat, 24 Apr 2004 22:00:20 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Sun, 25 Apr 2004 00:01:12 -0500 Message-ID: <408B45E2.40906@daleco.biz> Date: Sun, 25 Apr 2004 00:00:18 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Wassman References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Apr 2004 05:01:12.0609 (UTC) FILETIME=[54908910:01C42A82] cc: freebsd-newbies@freebsd.org Subject: Re: Compaq Presario 1610 known problems with X? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 05:00:36 -0000 David Wassman wrote: > I don't know if this is the correct list. Here is my question: > It's OK not to know, if you don't know. Just so you know, it should probably be "freebsd-questions@freebsd.org", y'know? :-) Who knows, if I know anything, I might even answer you over there .... > I am trying to install FreeBSD (version 5.2.1 but I am going to try > and install > 4.8 later tonight). I am having problems installing either kde or > Gnome because > files for X are not be installed. I am trying this on a Compaq 1610 > (P1MMX, > 1.5G HD, 80M RAM). I known its an old system but I want to get it up as a > web browser/wordprocessor. Any idea why this is not working would be > helpful. When you post to the freebsd-questions list, include not only the information you have above, but also things like: 1. What procedure are you following to install FreeBSD, and at what point does your procedure fail? Are there any error messages? 2. What steps are you taking to install KDE or Gnome? How do you know that "files for X are not be(ing?) installed? Error messages? Messages in logs, or to console? The general procedure for installation is to get FreeBSD installed first, and then add 3rd party programs like X and GNOME or KDE (probably not both on a box like that; AAMOF, something lighterweight like blackbox/fluxbox or fvwm, or maybe even XFCE would probably run better on a Pentium 1).... HTH, Kevin Kinsey DaleCo, S.P.