Re: small x11 desktop problem
On Sunday 20 October 2002 09:55 am, Rotaru Razvan wrote: I have FreeBSD 4.7 with X Server and KDE. The problem: only root has KDE as default desktop set. How do i do it for other users (the equivalent of switchdesk from linux). PS: Can I make FreeBSD to automaticly boot to graphics mode? Thanks Create a file in the user's home directory named .xinitrc and put the following line in it: exec startkde This will give individual users KDE as a default desktop. For more details on this and booting into graphics mode check out the relevent portion of the handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html Hope this helps, Ju To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problem with slice.
Hello, We are building a new webserver for our customers. We'll be hosting alot of domains with this webserver, using apache with mod ssl, mod frontpage, and pgp. We've been setting it up for a couple months now (a back burner project). But we've run into a problem. One of the slices has stopped responding to us a couple times. The first time it happened it was completely spontaneous. A reboot into single usermod and newfs the slice seemed to have fixed it. The second time it happened we umounted the slice and remounted it on a different name. That time I tried shutting of softupdates 'tunefs -n disable'. That seemed to have worked, we emailed the company that we bought the server from and asked for any input. They recommended disabling tagged queueing on our RAID card. But it turned out we couldn't do that using camcontrol, we would have to do it from the Option ROM Bootup screen. I have since then reenabled softupdates and it seems to be working, I've even moved the slice around without any problems. We are just concerned that after we put this server into production we're going to run into even more problems with this slice. Onces it's in production it will be a very active slice. I was wondering if anyone had any similar problems and/or any known fixes. Here is some system info, along with a dmesg: FreeBSD 4.5 p20 2 x Pentium 3 1.27GHz Adaptec 2100s Raid Card, 6 drives w/ 1host spare RAID-5 ---DMESG START--- cpu_reset called on cpu#0 cpu_reset: Stopping other CPUs Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-RELEASE-p20 #1: Mon Sep 30 09:25:04 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XXX-XXX Timecounter i8254 frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1262.67-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b1 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 1073741824 (1048576K bytes) avail memory = 1041268736 (1016864K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 - irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee0 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec0 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel kernel at 0xc03d. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00f51c0 apm0: APM BIOS on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: math processor on motherboard npx0: INT 16 interface pcib0: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard IOAPIC #1 intpin 6 - irq 2 IOAPIC #1 intpin 4 - irq 5 IOAPIC #1 intpin 5 - irq 9 pci0: PCI bus on pcib0 pci0: ATI Mach64-GR graphics accelerator at 1.0 irq 2 fxp0: Intel Pro 10/100B/100+ Ethernet port 0xc400-0xc43f mem 0xfe80-0xfe8f,0xfe9fe000-0xfe9fefff irq 5 at device 4.0 on pci0 fxp0: Ethernet address 00:e0:81:04:a4:72 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Intel Pro 10/100B/100+ Ethernet port 0xc000-0xc03f mem 0xfe60-0xfe6f,0xfe9fd000-0xfe9fdfff irq 9 at device 5.0 on pci0 fxp1: Ethernet address 00:e0:81:04:a4:73 inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: ServerWorks IB6566 PCI to ISA bridge at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks ROSB4 ATA33 controller port 0xffa0-0xffaf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfe9fc000-0xfe9fcfff irq 10 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: ServerWorks NB6635 3.0LE host to PCI bridge on motherboard IOAPIC #1 intpin 13 - irq 11 pci1: PCI bus on pcib1 pcib2: PCI to PCI bridge (vendor=1044 device=a500) at device 5.0 on pci1 pci2: PCI bus on pcib2 asr0: Adaptec Caching SCSI RAID mem 0xfa00-0xfbff irq 11 at device 5.1 on pci1 asr0: major=154 asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xc on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x100 sio0
Monitor Refresh Rate
How do you increase your monitor refresh rate running FBSD 4.6.2? __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
User name length
The most recent releases of FreeBSD appear to support user names of up to 16 characters. However, the documentation and man pages are confusing on the issue. In some places reference is made to 16 character user names, in others it is implied or outright stated that the limit is 8 characters. Can anyone shed some light on this matter? Is is safe to use 16 character user names? Do all of the utilities and/or ports support the longer user names? Are there caveats associated with using 16 character user names? Any input will be appreciated. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: User name length
I wouldn't like to remember a user name of: DavidSompianLloyd1 ...and type it in. Remember humans are using this DSL To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel builds but won't link
adrian wrote: HI, Sorry if this is not the right place for this question, but the online handbook says to post build problem questions here and i can't find anywhere online with a reference to this problem. The kernel seems to compile fine but I get undefined reference to xpt_*, when it tries to link where * is done, periph etc... dose anyone know how i get these libs installed. Usually these types of messages are caused by an incomplete networking or scsi definition. Check your required bys in your kernel def. -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: fmt(1) inside vi
On 2002-10-20 19:49, Jon Nathan [EMAIL PROTECTED] wrote: I'm trying to create a macro to justify a paragraph in vi. Something similar to ctrl-j in pico. I found fmt(1). In its manpage, it says that !}fmt will justify a paragraph. I can't get this to work though. This is my .exrc: :map v ^i# ^[j0 :set wm=10 :map E !}fmt :map F !Gfmt So, E should justify the current paragraph. F is supposed to justify from the cursor position until the end of the file. They both work in that they justify the text, but they add this: stty: stdin isn't a terminal in the file. This is usually an indication of a common abuse of the shell startup files. You have used biff(1) or mesg(1) in a startup file that is run by non-interactive sessions of your shell. Normally, users of csh(1) should avoid using biff(1) or mesg(1) in their .cshrc files, or when they do use these commands in .cshrc (which is used both by login and non-login csh instances), they should attempt to protect the non-interactive invocations of the shell from running these two commands by wrapping them in if-endif blocks: if ($?prompt) then biff n mesg y endif Note the difference between the following two csh subshells: keramida@hades[03:17]/tmp$ touch empty keramida@hades[03:17]/tmp$ csh -c tty /dev/ttyp2 keramida@hades[03:17]/tmp$ csh -c tty empty not a tty How can I make this work in vi (notwithstanding that vim is a workaround)? By removing the offending commands from .cshrc (or the equivalent startup file, for your shell), or properly checking that you are running on a tty before attempting to use them. Giorgos. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Install problem -- can't mount disk
Hi! This is my first experience with FreeBSD, although I've been running Linux for seven years now, so I have some clue about UNIX-like OSes. I'm trying to install FreeBSD 4.7 on an old Pentium 90, and when the install is completed and the machine reboots, it can't find the root partition. I've installed Linux on this box with no problems, so the hardware is basically OK. The only drive in the machine is a 6 Gb Seagate IDE. The BIOS is so old that it doesn't identify the disk size correctly, but I don't know if that matters. (It doesn't to Linux.) I'm doing the install with floppy images since this box is too old to boot a CD. The first thing that seems weird to me is in the FDISK Partition Editor -- here's what it tells me: Disk name:ad0FDISK Partition Editor DISK Geometry: 784 cyls/255 heads/63 sectors = 12594960 sectors (6149MB) Offset Size(ST) EndName PType Desc Subtype Flags 06362 - 6 unused0 63 12257532 12257594 ad0s1 3freebsd 165 C 12257595337365 12594959 ad0s2 1 ext2fs 131 For LBA addressing, the geometry looks right. The geometry shows up the same whether or not I have LBA enabled in the BIOS. (The ad0s2 partition is actually a minefield of bad blocks. It needs its own partition only to ensure that part of the disk isn't used. It's an ext2 partition because this used to be a Linux box, and I haven't messed with it.) No matter what I do, I can't seem to get rid of the unused cylinder at the beginning of the disk. I try deleting the freebsd partition and creating a new partition starting at offset 0, but it always inserts that empty cylinder. That's just weird. Neither Linux nor DOS fdisk show this. When I use Linux fdisk to create a FreeBSD partition, the FreeBSD partition editor will still show that there's an empty first cylinder. The rest of the install seems to go OK: I've tried both BootMgr and Standard for the MBR; they both boot, but neither can find the root partition. I've taken all the defaults - Auto in the Disklabel Editor, Minimal install from CD image ... that seems to go smoothly. When I get to the prompt Visit the general configuration menu for a chance to set any last options?, I take the default No, then exit install. The machine boots, but when it gets to the disk mounting part, here's what I see: Mounting root from ufs:/dev/ad0s1a no such device 'ad' setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Then I get taken to the mountroot prompt. What's going on here? FDISK and the Disklabel Editor both see my hard disk fine, and ad0s1a is correct name for my root partition. I've tried at least a half dozen times now, with different variations on BIOS settings and using Linux and DOS fdisk programs to prep the disk. I keep running into the same problem. Any help would be most appreciated. -- | Forrest Cahoon | [EMAIL PROTECTED] | To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
samba PDC for WIN2K clients?
Hello, I've got 2 WIN2K Pro workstations on my home lan that I'd like to enable network logon for. I've been banging my head against a wall for the last four hours trying to get this sorted, but to no avail. I keep getting the same error when trying to enter the Domain name into the WORKGROUP field in Win2K network properties: The following error occured validating the name my_domainname, This condition may be caused by a DNS lookup problem. For more information about troubleshooting common DNS lookup problems see the following Microsoft blah., blah.., blah.., The specified domain either does not exist or could not be contacted. Here's what I've got in smb.conf: Global Settings: [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4 workgroup = my_domain # server string is the equivalent of the NT Description field server string = Samba Server hosts allow = 192.168.1 127. domain admin group = wheel security = user encrypt passwords = yes socket options = TCP_NODELAY local master = yes os level = 255 preferred master = yes domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) #%L substitutes for this servers netbios name, %U is username #You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server wins support = yes [homes] comment = Home Directories browseable = no writeable = yes # Un-comment the following and create the netlogon directory for Domain Logons [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/netlogon guest ok = no writeable = no share modes = no To begin with I added a user in /etc/passwd for one of the machines: winbox$:*:1003:1000:winbox$:/non:/nonexistent Here's what smbstatus gives: # smbstatus Samba version 2.2.6 Service uid gid pid machine -- No locked files # And this is what syslog has: # tail /var/log/log.smbd [2002/10/20 23:36:24, 0] smbd/server.c:main(707) smbd version 2.2.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2002/10/20 23:36:24, 0] printing/print_cups.c:cups_printer_fn(110) Unable to connect to CUPS server localhost - Connection refused [2002/10/20 23:36:34, 0] smbd/server.c:main(707) smbd version 2.2.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2002/10/20 23:36:34, 0] printing/print_cups.c:cups_printer_fn(110) Unable to connect to CUPS server localhost - Connection refused # I've not got printing set up on the FBSD box as yet, so I'm thinking that the above errors for CUPS aren't a problem, but I could be wrong.., I've tried googling, and checking samba's docs (mostly for £inux), and Microsoft help, but I'm not any clearer on how to proceed. I'd appreciate any assistance, pointers to a the secret FBSD doc somewhere that gives at least a minimal setup from which to start.., TIA Stacey -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com signature.asc Description: This is a digitally signed message part
Re: Security! Please help newbie
Robin Schilham wrote: The type is supposed to be open, close, simple, and etc. It depends on which type you are using in rc.firewall. Look for [Ss][Ii] and etc. According to the comments in /etc/rc.firewall firewall_type can also be a file name. Anyway, it might be better to start with one of the example rule sets in /etc/rc.firewall and adapt them to your needs. Good idea. Also don't forget to check the handbook and FAQ for relevent information and have a good Google around because I remember people putting information onto websites about locking down FreeBSD boxes. Also remember it is important to read understand and act on all FreeBSD security advisories, so make sure you are on the security-adivsories mailing list. It's probably best to install the most recent -release and then track the relevent security update branch to keep yourself secure. Read the handbook for more info. You also might want to read http://www.cert.org as I find that a good site for more general security information. Good luck, Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Install problem -- can't mount disk
Forrest Cahoon wrote: The machine boots, but when it gets to the disk mounting part, here's what I see: Mounting root from ufs:/dev/ad0s1a no such device 'ad' setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Then I get taken to the mountroot prompt. Do you see your IDE controllers (ad devices) appear during the boot? Are there any other messages related to the controllers that get displayed? I guess the, no such device 'ad', error is pretty self-explanatory it can't find your IDE controller. Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
User name length
The most recent releases of FreeBSD appear to support user names of up to 16 characters. However, the documentation and man pages are confusing on the issue. In some places reference is made to 16 character user names, in others it is implied or outright stated that the limit is 8 characters. Can anyone shed some light on this matter? Is is safe to use 16 character user names? Do all of the utilities and/or ports support the longer user names? Are there caveats associated with using 16 character user names? Any input will be appreciated. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: samba PDC for WIN2K clients?
Stacey Roberts wrote: Hello, I've got 2 WIN2K Pro workstations on my home lan that I'd like to enable network logon for. I've been banging my head against a wall for the last four hours trying to get this sorted, but to no avail. I keep getting the same error when trying to enter the Domain name into the WORKGROUP field in Win2K network properties: The following error occured validating the name my_domainname, This condition may be caused by a DNS lookup problem. For more information about troubleshooting common DNS lookup problems see the following Microsoft blah., blah.., blah.., The specified domain either does not exist or could not be contacted. Have you added machine accounts to the FreeBSD box for the client boxes? You need machine accounts that look like clientname$ (dollar sign at end) added both as local accounts and then again with smbpasswd passing whatever the appropriate switch is to create a machine account. I have a FreeBSD box here acting as a PDC so we should be able to find the problem. Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: User name length
16 character names is and has been the limit. 8 characters is playing it safe, where there may be some programs that won't accept more than that but I believe it is only the older programs that you will find a problem with that. For and program that is current 16 characters should be no problem. Dave [EMAIL PROTECTED] wrote: The most recent releases of FreeBSD appear to support user names of up to 16 characters. However, the documentation and man pages are confusing on the issue. In some places reference is made to 16 character user names, in others it is implied or outright stated that the limit is 8 characters. Can anyone shed some light on this matter? Is is safe to use 16 character user names? Do all of the utilities and/or ports support the longer user names? Are there caveats associated with using 16 character user names? Any input will be appreciated. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ogle-gui problem
I try to buil ogle-gui from ports FreeBsd4.7 and I get this error. I read the mailing list and I know there are other persons that have my same problem but there are not answers Thanks rOger gmake[1]: Entering directory `/usr/ports/graphics/ogle/work/ogle-0.8.5/mpeg2_video' /bin/sh ../libtool --mode=link cc -march=i686 -O -fforce-mem -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -pipe -Wall -fomit-frame-pointer -funroll-loops -march=i686 -O -fforce-mem -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -pipe -Wall -fomit-frame-pointer -funroll-loops -march=i586 -mcpu=pentiumpro -o ogle_mpeg_vs video_stream.o video_mpeg1.o video_mpeg2.o video_motion.o c_getbits.o video_tables.o yuv2rgb_mmx.o idct_mmx.o mmx_mlib.o ../common/libcommon.a ../ogle/libmsgevents.la cc -march=i686 -O -fforce-mem -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -pipe -Wall -fomit-frame-pointer -funroll-loops -march=i686 -O -fforce-mem -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -pipe -Wall -fomit-frame-pointer -funroll-loops -march=i586 -mcpu=pentiumpro -o .libs/ogle_mpeg_vs video_stream.o video_mpeg1.o video_mpeg2.o video_motion.o c_getbits.o video_tables.o yuv2rgb_mmx.o idct_mmx.o mmx_mlib.o ../common/libcommon.a ../ogle/.libs/libmsgevents.so -Wl,--rpath -Wl,/usr/local/lib/ogle video_stream.o: In function `get_vlc': video_stream.o(.text+0x1c7): undefined reference to `swap32' video_stream.o: In function `next_start_code': video_stream.o(.text+0x50f): undefined reference to `swap32' video_stream.o(.text+0x5ab): undefined reference to `swap32' video_stream.o: In function `resync': video_stream.o(.text+0x627): undefined reference to `swap32' video_stream.o: In function `drop_to_next_picture': video_stream.o(.text+0x6a3): undefined reference to `swap32' video_stream.o(.text+0xb8f): more undefined references to `swap32' follow gmake[1]: *** [ogle_mpeg_vs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/ogle/work/ogle-0.8.5/mpeg2_video' gmake: *** [all-recursive] Error 1 *** Error code 2 __ Mio Yahoo!: personalizza Yahoo! come piace a te http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vinum - A Way to Create Without Losing Data?
At 2002-10-21T01:15:48Z, Greg 'groggy' Lehey [EMAIL PROTECTED] writes: I have one 80G archive drive and have filled it. I added another and would like to have both drives seen by the system as one 160G drive. You can't do that. UFS won't let you coalesce two file systems. Neither will any other file system that I can think of. It sounded like he was asking about growfs(8). I haven't used it, but wouldn't that work? -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vinum - A Way to Create Without Losing Data?
On Sunday, 20 October 2002 at 20:47:08 -0500, Kirk Strauser wrote: At 2002-10-21T01:15:48Z, Greg 'groggy' Lehey [EMAIL PROTECTED] writes: I have one 80G archive drive and have filled it. I added another and would like to have both drives seen by the system as one 160G drive. You can't do that. UFS won't let you coalesce two file systems. Neither will any other file system that I can think of. It sounded like he was asking about growfs(8). I haven't used it, but wouldn't that work? growfs will allow you to keep the contents of the first file system (i.e. the one at the beginning of the new plex), but it would destroy the contents of the second file system. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD as nfs server for multiple linux clients
On Sun, Oct 20, 2002 at 04:31:27PM -0400, vr wrote: I need to set up a streaming video system in my network and order to make efficient use of resourses I want to have a FreeBSD NFS server with a huge storage for the video content, and then have multiple Real server linux machines mounting the same content off the BSD via nfs. I chose linux as realservers because there is better support for that particular application. Now the question is, are there any known NFS issues between FreeBSD and Linux that I should know about where BSD is the server and linux is the client? The Linux NFS implementation is kind of flaky..you'll need to limit the performance of your FreeBSD server in order to have stable clients (e.g. using NFSv2 instead of NFSv3). Kris msg05763/pgp0.pgp Description: PGP signature
Re: Install problem -- can't mount disk
From: Andrew Boothman [EMAIL PROTECTED] Subject: Re: Install problem -- can't mount disk Date: Mon, 21 Oct 2002 02:28:46 +0100 Forrest Cahoon wrote: The machine boots, but when it gets to the disk mounting part, here's what I see: Mounting root from ufs:/dev/ad0s1a no such device 'ad' setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Then I get taken to the mountroot prompt. Do you see your IDE controllers (ad devices) appear during the boot? Since I really don't know what I'm looking for here, I've just typed in the entire boot sequence; there are a few things that look suspicious, but I have no clue what's related to the disk: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Pentium/P54C (90.20-MHz 586-class CPU) Origin = GenuineIntel Id = 0x525 Stepping = 5 Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8 real memory = 16777216 (16384K bytes) config di sn0 config di lnc0 config di ie0 config di fe0 config di cs0 config di bt0 config di aic0 config di aha0 config di adv0 config q avail memory = 11362304 (11096K bytes) bios32: Bad BIOS32 Service Directory Preloaded elf kernel kernel at 0xc050f000. Preloaded userconfig_script /boot/kernel.conf at 0xc050f09c. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk pcibios: No call entry point npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 isab0: Intel 82378ZB PCI to ISA bridge at device 2.0 on pci0 isa0: ISA bus on isab0 atapci0: RZ 100? ATA controller !WARNING! buggy chip data loss possible port 0 x364-0x367,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 10.0 on pci0 atapci0: Busmastering DMA not supported atapci0: Busmastering DMA disabled ata2: at 0x1f0 on atapci0 ata2: unable to allocate interrupt device_probe_and_attach: ata2 attach returned 6 ata3: at 0x170 on atapci0 ata3: unable to allocate interrupt device_probe_and_attach: ata3 attach returned 6 orm0: Option ROM at iomem 0xc-0xc7fff on isa0 ep0: 3Com #C509-TP EtherLink III at port 0x310-0x31f irq 11 on isa0 ep0: Ethernet address 00:a0:24:3a:84:33 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at prot 0x60,0x64 on isa0 atkbd0: AT keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: Generic ISA VGA at port 0x3b0-0x3cf iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA (mono) 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: cannot reserve I/O port range Mounting root from ufs:/dev/ad0s1a no such device 'ad' setrootbyname failed ffs_rootmount: can't mount rootvp Root mount failed: 6 Manual root filesystem specification: fstype:device Mount device using filesystem fstype eg. ufs:/dev/da0s1a ?List valid disk boot devices empty line Abort manual input mountroot Are there any other messages related to the controllers that get displayed? I guess the, no such device 'ad', error is pretty self-explanatory it can't find your IDE controller. Well, yeah. But why the heck would this be? Am I not booting the same kernel that's on kern.flp? When I booted from the floppy for the install, it certainly sees the hard disk. Fdisk sees it; the partitions get formatted; a bunch of stuff gets copied from CD onto it. So why can't it see the hard disk partitions when it's booting from ... hey waitaminnit ... the hard disk? The mind boggles. Andrew. Forrest -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: authentication server with group permissions?
If you internal LAN is relatively secure you probably want to use NIS to give out the maps for master.passwd and group. To be extra safe, I would setup the maps so that all the passwords in the NIS master.passwd are '*' and use pam_smb or some such critter against your Samba PDC if you need UNIX login capabilities. (This presumes you are using windows workstations). You an also use other pam_* modules for the actual authentication, allowing you to keep the NIS passwords as '*'s so that if someone ever sniffs your lan traffic, etc, the NIS maps don't contain passwords. David Loszewski wrote: basically what we are trying to accomplish is that I'm in an office with may employees. Say we have 5 different servers, and I have files on the servers that I want all the employees in a specific group have read access to those files, or write access depending on permissions for that group. So when an employee logs into a server I want it to go to some internal authentication server and tell the server that it's k for that person to access that file. I want to do this without copying to passwd file to each server. Dave wolf wrote: could you be more specific? sharing files via NFS? transparent logging to other servers? other? What you are trying to do in particular affects how you accomplish your goal. [EMAIL PROTECTED] wrote: Could someone point me in the right direction to find information on creating an authentication server in such a way that if some user logs in on a particular machine, as long as he is in a certain group he will have read access to all/or certain files as well on other servers depending on the group and rules set for that group? Dave To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Michael Joyner FreeBSD System Administrator http://manhattan.hq.dyns.cx/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Anybody notice ping -t switch doesn't appear to do what its supposed to in 4.6.2Rp2 ?
Expected behavior. read this: -i wait Wait wait seconds between sending each packet. The default is to wait for one second between each packet. The wait time may be fractional, but only the super-user may specify values less then 1 second. This option is incompatible with the -f option. Therefore ping -c 4 yahoo.com and ping -t 4 yahoo.com, (as an example) would produce the same result. Cheers, Kevin Kinsey DaleCo, S.P. - Original Message - From: Sean O'Neill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 20, 2002 9:58 PM Subject: Anybody notice ping -t switch doesn't appear to do what its supposed to in 4.6.2Rp2 ? ping -t switch appears to do exactly with -c switch does. I looked in the Bugs repos and I didn't see anything on this. Anyone else notice this ? -- . ..- -. .. -..- .-. ..- .-.. . ... .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... Sean O'Neill To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Anybody notice ping -t switch doesn't appear to do what its supposed to in 4.6.2Rp2 ?
ping -t switch appears to do exactly with -c switch does. I looked in the Bugs repos and I didn't see anything on this. Anyone else notice this ? -- . ..- -. .. -..- .-. ..- .-.. . ... .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... Sean O'Neill To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Stray IRQ 7 problem.
I know I've seen this problem with IRQ 7 addressed before and it seems like the problem was IRQ 7 being in the kernel. I don't have anything in my kernel using IRQ 7 but yet I keep getting Stray IRQ 7 errors and now today I got /kernel: too many stray irq 7's; not logging any more. The only thing I could find on the net was http://www.faqchest.com/linux/freeBSD/fbsd-99/fbsd-9907/fbsd-990760/fbsd99072815_23213.html; I'm running 4.7-PRERELEASE on a Dell Deminsion L1000R. I've been running FreeBSD on this box since 4.3-Stable and I didn't start seeing these errors until after I upgraded from 4.5-Stable. Sorry if this issue has already been addressed. Respectfully, Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Stray IRQ 7 problem.
On Sun, Oct 20, 2002 at 11:44:25PM -0400, Daemon wrote: I know I've seen this problem with IRQ 7 addressed before and it seems like the problem was IRQ 7 being in the kernel. I don't have anything in my kernel using IRQ 7 but yet I keep getting Stray IRQ 7 errors and now today I got /kernel: too many stray irq 7's; not logging any more. The only thing I could find on the net was http://www.faqchest.com/linux/freeBSD/fbsd-99/fbsd-9907/fbsd-990760/fbsd99072815_23213.html; [Next time, wrap your emails at 70 chars or so.] Check the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#STRAY-IRQ -- Jonathan Chen [EMAIL PROTECTED] -- char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FTP Server Configuration
Tony M. wrote: Hi again everyone - Thanks for all the previous help, it's worked great :) At this point, could someone point me to the right place to figure out how to configure the FTP server/users and etc? I've already enabled it in the /etc/inetd.conf file. for user ftp, you might be already in business. try accessing your machine as a user (like yourself) and see what happens. for anonymous ftp, the fine handbook, er, manual, has this to say about it. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html#ANON-FTP2 -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ ... I told my doctor I got all the exercise I needed being a pallbearer for all my friends who run and do exercises! -- Winston Churchill To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: favorite security software
# [EMAIL PROTECTED] / 2002-10-19 02:02:10 +0200: Saturday, October 19, 2002, 1:40:42 AM, you wrote: RM do people have any favorite security software that they always run in addition to ipfw or ipfilter? My favorite firewall is ipfilter. Mainly because it doesn't run in userland like ipfw does. hrmm, this is nonsense. ipfw sits in kernel of course. what runs in userland is its companion, natd(8). if you don't nat you don't need to care. if you don't nat on a very slow/loaded box, that is. as has been said on the list, the fact that natd is a userland process has its ups as well: a bug in natd won't panic your gateway (i gathered from the lists that there used to be a bug in ipnat that caused just that). n.b.: i'm an ipfilter user. -- If you cc me or take the list(s) out completely I'll most likely ignore your message. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Vinum - A Way to Create Without Losing Data?
From what I've read, it appears that if I create a concatenated volume using vinum or ccd, I will destroy whatever data I already have on the disks. Is this correct? Is there anyway to do it without destroying the data? I have one 80G archive drive and have filled it. I added another and would like to have both drives seen by the system as one 160G drive. Thanks, Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
subscribe
subscribe -- Your Rights Are Your Security. When you, give up your Rights for Security, it's not Security you get, but Slavery . -- [EMAIL PROTECTED] -- http://vetzine.blogspot.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vinum - A Way to Create Without Losing Data?
On Sunday, 20 October 2002 at 17:52:52 -0700, Drew Tomlinson wrote: From what I've read, it appears that if I create a concatenated volume using vinum or ccd, I will destroy whatever data I already have on the disks. Is this correct? Sometimes. Is there anyway to do it without destroying the data? Yes. If you have 265 sectors free space before a partition, you can start a Vinum drive at that point, overlapping the partition, and define the space taken by that partition to be a single subdisk. I have one 80G archive drive and have filled it. I added another and would like to have both drives seen by the system as one 160G drive. You can't do that. UFS won't let you coalesce two file systems. Neither will any other file system that I can think of. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Lose 26 Pounds In 26 Days, NO DIET PLAN 1504ZnRW3-606VhHE-16
Warning Unable to process data: multipart/mixed;boundary==_NextPart_000_00C4_04A25A5E.A0262E35