Re: Mount order for ZFS, jails, and nullfs
On 09/24/2010 11:03 AM, Torbjorn Granlund wrote: ... Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS volumes. Sure, it can: 8 (f84104b2)[r...@akisha ~]# zfs create akisha/mnttmp (f84104b2)[r...@akisha ~]# touch /zfs/akisha/mnttmp/test (f84104b2)[r...@akisha ~]# ls -l /zfs/akisha/mnttmp total 1 -rw-r--r-- 1 root wheel - 0 Sep 25 01:39 test (f84104b2)[r...@akisha ~]# zfs set mountpoint=legacy akisha/mnttmp (f84104b2)[r...@akisha ~]# ls -l /zfs/akisha/mnttmp ls: /zfs/akisha/mnttmp: No such file or directory (f84104b2)[r...@akisha ~]# mount -t zfs akisha/mnttmp /mnt/tmp (f84104b2)[r...@akisha ~]# ls -l /mnt/tmp total 1 -rw-r--r-- 1 root wheel - 0 Sep 25 01:39 test (f84104b2)[r...@akisha ~]# umount /mnt/tmp (f84104b2)[r...@akisha ~]# ls -l /mnt/tmp total 0 (f84104b2)[r...@akisha ~]# 8 On 8.1-RELEASE. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net cyber...@cyberleo.net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Filesystems
On 24-9-2010 23:13, Matthew Seaman wrote: On 24/09/2010 21:05:45, Derek Funk wrote: There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? ZFS or words to that effect. Linux has nothing comparable. http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Media Packages Vs. Ports
On 25/09/2010 01:10:57, Devin Teske wrote: HINT: If you created the package from the ports tree, you can say make describe in the package's top-level port directory (e.g. /usr/ports/pkg_origin/some_pkg). This will produce a line that can be added to the INDEX file without much modification, if any. Not quite. The make describe output differs from the INDEX entry lines in two important ways: * make describe only includes the immediate dependencies of the port. The INDEX contains the sum, recursively, of the ports dependencies, the dependences of the dependencies, etc. etc. There are some subtleties to do with RUN_DEPENDS or LIB_DEPENDS, compared to BUILD_DEPENDS. * The dependency entries produced in the make describe output are directories in the ports tree, whereas the the INDEX uses the corresponding package names. eg. /usr/ports/www/apache22 vs (at the moment) apache-2.2.16_1 When sysinstall is in the process of installing the packages, it first makes sure that all the run-dependencies (listed in the INDEX file for that package) are installed. If a package that is listed in the `run-deps' field is not installed, sysinstall installs it before installing the requested package. After installing any dependent packages (recursively), sysinstall then unpacks the requested package and reads its packing-list (the `+CONTENTS' file within the package tarball). All package dependencies listed inside the package's packing-list MUST be installed before-hand or else sysinstall will generate an error. Therefore, all package dependencies that appear in the packing list MUST be present in the `run-deps' field of the INDEX file. There reverse is not true, however. A dependency may appear in the INDEX file and not in the package's packing-list. It's pkg_add(1) that does the dependency chasing in general -- and it doesn't need access to an INDEX file: pkg dependencies are recorded in the pkg file itself, and pkg_add knows how to fetch the dependencies from the same place the original pkg file came from. See pkg_add(1), particulary the description of the '-r' option and the ENVIRONMENT section. === 3. THE FREEBSD INDEX FILE FORMAT 3a. FREEBSD-5.2 AND FREEBSD-4.10 OR LOWER package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ categories|build-deps|run-deps|www-site 3b. FREEBSD-5.3 AND FREEBSD-4.11 OR HIGHER package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ categories|build-deps|run-deps|www-site|unknown|unknown|unknown I have never seen the 11th, 12th, or 13th field populated. So their purpose remains unknown. 3c. FREEBSD-6.0 OR HIGHER package|port-origin|install-prefix|comment|port-desc-file|maintainer| \ categories|build-deps|run-deps|www-site|unknown|unknown|unknown|disc The unknown fields here are essentially the contents of the following make variables from the port: EXTRACT_DEPENDS PATCH_DEPENDS FETCH_DEPENDS Like the run and build depends, these are expanded to include the sum of all their dependencies. These fields are frequently empty, but they certainly aren't unused: % cut -d '|' -f 11 INDEX-8 | grep '.' | wc -l 7129 % cut -d '|' -f 12 INDEX-8 | grep '.' | wc -l 6173 % cut -d '|' -f 13 INDEX-8 | grep '.' | wc -l 3 (that's out of about 22000 INDEX entries currently) 6. REFERENCES The information in this document is the result of many hours of reverse- engineering and testing. Little or no sources on this topic have been found online. Even when the subject matter was found online, the amount of information on the topic was anemic. I found the best resource was reading the code of the make-index script, here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/Tools/make_index You can also look at my ports-mgmt/p5-FreeBSD-Portindex programs which have quite a lot of explanatory commenting. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Filesystems
On 25/09/2010 08:32:58, Peter Boosten wrote: On 24-9-2010 23:13, Matthew Seaman wrote: On 24/09/2010 21:05:45, Derek Funk wrote: There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? ZFS or words to that effect. Linux has nothing comparable. http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Yes. Quoting that very page: There's still some major work to be done, so this is not production-ready code. The ZFS Posix Layer has not been implemented yet, therefore mounting file systems is not yet possible; direct database access, however, is. Supposedly, KQ Infotech is working on this, but it has been rather quiet around those parts for a while now. What use is a filesystem you can't mount? It might be a work in progress, but it isn't anywhere near done yet. The fact that there is so much enthusiasm for porting the FS despite the license incompatability just underlines the basic contention, that Linux has nothing comparable. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Problems mounting nfs from freebsd to Mac.
I've got an nfs server that's refusing to mount one client - via one route - and it's driving me crazy. The server is running 8.1-RELEASE, exporting a collection of zfs file systems. All the file systems are exported with the exact same flags. The clients are either FreeBSD or OSX boxes. Most of them work fine. One OSX box - updated to the latest snow leopard while trying to fix this - gets permission denied when it tries to mount the interesting fie systems. But only when using it's wired connection. If it connects via wifi to the same router (a cisco WRT610N running dd-wrt) everything works fine. As far as I know, there are only three reasons for an NFS server to refuse a mount request: 1) The exports file is borked somehow, 2) The server insists that the client use a privileged port, or 3) The IP address the request is coming from is disallowed. #1 isn't it - the file systems mount fine on other boxes. And they mount fine on the problem box via Wifi. #2 shouldn't be it - I'm running the server with -n turned on, and the mount works via wifi. #3 seems logical, but I only have one network enabled, and it's a *.0/25. The working addresses include .96, and .106, while the failing address is .105. So I'm not sure what's going on here. Running mountd with a -d flag generates no output at all when the request is denied. This makes me think I'm not looking in the right place. Relevant entries from rc.conf (nothing really fancy): nfs_server_enable=yes nfs_server_flags=-u -t -n 4 -h $MY_IP mountd_enable=yes mountd_flags=-r -n -h $MY_IP rpcbind_enable=YES rpcbind_flags=-h $MY_IP rpc_lockd_enable=YES rpc_lockd_flags=-h $MY_IP rpc_statd_enable=YES rpc_statd_flags=-h $MY_IP So, questions: if mountd isn't the issue (though it's issuing the denied messages), what is? Is there some reason I've overlooked for the permissions to be denied? Anything I can do to get more information out of mountd (or whatever is causing the problem)? Any other things I might try? Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Filesystems
On 9/25/2010 2:45 AM, Matthew Seaman wrote: On 25/09/2010 08:32:58, Peter Boosten wrote: On 24-9-2010 23:13, Matthew Seaman wrote: On 24/09/2010 21:05:45, Derek Funk wrote: There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? ZFS or words to that effect. Linux has nothing comparable. http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Yes. Quoting that very page: There's still some major work to be done, so this is not production-ready code. The ZFS Posix Layer has not been implemented yet, therefore mounting file systems is not yet possible; direct database access, however, is. Supposedly, KQ Infotech is working on this, but it has been rather quiet around those parts for a while now. What use is a filesystem you can't mount? It might be a work in progress, but it isn't anywhere near done yet. The fact that there is so much enthusiasm for porting the FS despite the license incompatability just underlines the basic contention, that Linux has nothing comparable. Cheers, Matthew Thank you both for the replies. I think I remember the response from a time ago as he stated something like: FreeBSD primary focus is server mostly Web and Router builds and a newer pooling journalize FS does not fit with FreeBSD's core of being the most stable and reliable while maintaining security. Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Change CPU
Hi. I am going to upgrade my CPU on a system that I compiled both world and kernel on. The current CPU is Core i5-670 and I'm changing to Xeon X3470. Will I be able to boot my system or has GCC specific flags for i5 that won't work with X3470? Can I prepare the system in any way to make it boot using the new CPU? //JO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Unable to access CDROM device to play music
I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The cdcontrol program worked fine and I was able to play music files while using KDE using its audio player. I now find that I can no-longer achieve that goal. When I place an audio CD into the PC, this error message is displayed: (It will probably wrap) Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) This is from the system log: (Sorry, but it will probably line wrap) Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back I am at a loss here. I don't believe I made any radical changes from the configuration I was using in my older FreeBSD installation. I might add that MPlayer cannot see the drive either; although, it use to work fine. This problem exists whether KDE is running or not. The cdcontrol player will open and close the door on the device; however, no sound is emitted. Normal 'notification' sounds are emitted so I know the speakers, etc. are working correctly. The KDE start-up notifications works just fine. -- Carmel ✌ carmel...@hotmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On 9/25/10, Carmel carmel...@hotmail.com wrote: I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The cdcontrol program worked fine and I was able to play music files while using KDE using its audio player. I now find that I can no-longer achieve that goal. When I place an audio CD into the PC, this error message is displayed: (It will probably wrap) Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) This is from the system log: (Sorry, but it will probably line wrap) Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back I am at a loss here. I don't believe I made any radical changes from the configuration I was using in my older FreeBSD installation. I might add that MPlayer cannot see the drive either; although, it use to work fine. This problem exists whether KDE is running or not. The cdcontrol player will open and close the door on the device; however, no sound is emitted. Normal 'notification' sounds are emitted so I know the speakers, etc. are working correctly. The KDE start-up notifications works just fine. what is mixer output? what sound driver are you using? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sat, 25 Sep 2010 12:51:16 + Paul B Mahol one...@gmail.com articulated: what is mixer output? what sound driver are you using? From the kernel file: ## SOUND device sound # Install sound driver support device snd_hda # nVidia MCP51 sound driver Via mixer: $ mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 42:45 Mixer speaker is currently set to 100:100 Mixer line is currently set to 100:100 Mixer mic is currently set to 0:0 Mixer cd is currently set to 100:100 Mixer mix is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igainis currently set to 0:0 Recording source: mic Via pciconf -lv hd...@pci0:3:0:1: class=0x040300 card=0x chip=0x0be210de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = multimedia subclass = HDA I attached the dmesg output. I don't know if that works on this list or not. I can always supply if separately. What bugs me is that this use to work before I upgraded my system. -- Carmel ✌ carmel...@hotmail.com Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-STABLE #0: Wed Sep 22 21:21:36 EDT 2010 ger...@cyborg.creedmoor.net:/usr/obj/usr/src/sys/CYBORG amd64 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x40fb2 Family = f Model = 4b Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow! AMD Features2=0x1fLAHF,CMP,SVM,ExtAPIC,CR8 real memory = 4294967296 (4096 MB) avail memory = 4084535296 (3895 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: Nvidia AWRDACPI on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, bfef (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: memory, RAM at device 0.0 (no driver attached) pci0: memory, RAM at device 0.1 (no driver attached) pci0: memory, RAM at device 0.2 (no driver attached) pci0: memory, RAM at device 0.3 (no driver attached) pci0: memory, RAM at device 0.4 (no driver attached) pci0: memory, RAM at device 0.5 (no driver attached) pci0: memory, RAM at device 0.6 (no driver attached) pci0: memory, RAM at device 0.7 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 4.0 on pci0 pci3: ACPI PCI bus on pcib3 vgapci0: VGA-compatible display port 0xbc00-0xbc7f mem 0xfb00-0xfbff,0xd000-0xdfff,0xee00-0xefff irq 16 at device 0.0 on pci3 nvidia0: GeForce GT 220 on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [ITHREAD] hdac0: NVidia (Unknown) High Definition Audio Controller mem 0xfcffc000-0xfcff irq 16 at device 0.1 on pci3 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pci0: memory, RAM at device 9.0 (no driver attached) isab0: PCI-ISA bridge at device 10.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 10.1 (no driver attached) pci0: memory, RAM at device 10.2 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21 at device 11.0 on pci0 ohci0: [ITHREAD] usbus0: OHCI (generic) USB controller on ohci0 ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff irq 22 at device 11.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: EHCI (generic) USB 2.0 controller on ehci0 atapci0: nVidia nForce MCP51 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] atapci1: nVidia nForce MCP51 SATA300 controller port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 0xfe02d000-0xfe02dfff irq 23 at device 14.0 on pci0 atapci1: [ITHREAD] ata2: ATA channel 0 on atapci1 ata2: [ITHREAD]
Re: Unable to access CDROM device to play music
Carmel carmel...@hotmail.com writes: I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The cdcontrol program worked fine and I was able to play music files while using KDE using its audio player. If X isn't running, what does cdcontrol do? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Gnash version
Hi, folks. I want to ask you wich version of gnash port is more modern, gnash-0.8.7_4 or, maybe, gnash-devel-20100218_5... Is safe install the devel version?. It have more features than the stable release?. Thanks you very much, in advance. Regards. Jose. -- http://lordofunix.eu5.org/ Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories. You are talking about memories. Rick Deckard. Blade Runner. Online Storage Sharing, Online Backup, FTP / Email Server Hosting and More. Drive Headquarters. Top quality services designed for business. Sign up free at: http://www.drivehq.com/?refID=178949refEmails=refCode=. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Change CPU
On 9/25/10, Jon Otterholm jon.otterh...@ide.resurscentrum.se wrote: Hi. I am going to upgrade my CPU on a system that I compiled both world and kernel on. The current CPU is Core i5-670 and I'm changing to Xeon X3470. Will I be able to boot my system or has GCC specific flags for i5 that won't work with X3470? Can I prepare the system in any way to make it boot using the new CPU? If you never used any flags like CPUTYPE or similar you are pretty safe. But some ports/programs override such stuff, for example disabling runtime CPU detection. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
jailaudit
I've been trying to get jailaudit setup to mail reports daily and I haven't had much luck. It generates reports and I can read them in /usr/local/etc/jailaudit/reports. However when I try # jailaudit mail r...@example.com ALL No email is sent (nothing shows up in the maillog). The only time I've gotten it to send anything is doing # jailaudit generate ALL | mail r...@thelebowski.com However the email just says Downloading a current audit database: New database installed. Database created: Sat Sep 25 08:05:00 PDT 2010 Which doesn't seem right since the reports should show no vulnerable ports (and for what jail). I've checked the jailaudit website and the usage page seems incorrect. Any help would be greatly appreciated as I would like to not have to install portaudit in each jail. Or if anyone has a better way to handle portaudit with multiple jails I'm open to suggestions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Erlang and Java
Quoth Chad Perrin on Friday, 24 September 2010: Does anyone know of a reason that installing lang/erlang would fail if a java/diablo-jdk port failed to install? Correct me if I'm wrong, but the Erlang VM really should *not* depend on Java. Right? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Looking at the Makefile, it appears that WITHOUT_JAVA needs to be defined to avoid a dependency. Looks likle that option is part of the config. make rmconfig make install clean then make sure the first option is unchecked. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgp4g6ZpOdl5H.pgp Description: PGP signature
Re: Unable to access CDROM device to play music
On Sat, 25 Sep 2010 10:28:13 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org articulated: If X isn't running, what does cdcontrol do? Nothing. It will open or close the tray, but that is about it. -- Carmel ✌ carmel...@hotmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Filesystems
On 25 sep 2010, at 09:45, Matthew Seaman wrote: On 25/09/2010 08:32:58, Peter Boosten wrote: On 24-9-2010 23:13, Matthew Seaman wrote: On 24/09/2010 21:05:45, Derek Funk wrote: There was a post some time ago someone was complaining that FreeBSD still uses and archaic filesystem and not a new FS like ext4. Some replied, seeming like a code contributor, with a very sounded reply. What is that reply? ZFS or words to that effect. Linux has nothing comparable. http://www.osnews.com/story/23416/Native_ZFS_Port_for_Linux :-) Yes. Quoting that very page: I know... my reply was just to treat the issue lightly. That's what the smiley was for. Thanks for your reply. -- Peter Boosten http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mount order for ZFS, jails, and nullfs
From owner-freebsd-questi...@freebsd.org Fri Sep 24 11:02:59 2010 To: freebsd-questions@freebsd.org From: Torbjorn Granlund t...@gmplib.org Date: Fri, 24 Sep 2010 18:03:06 +0200 Subject: Mount order for ZFS, jails, and nullfs In jails, I'd like a local ZFS /, a read-only nullfs-mounted /usr, and a local /usr/local. (I'd also have read-only nullfs-mounted /bin, /lib, /libexec, but let's forget about that for now.) This way, I can upgrade the master /usr once, in one place, and have all jails inherit it. And my dear jail inmates can install anything in /usr/local (such as their favourite packages/ports). I.e., things should look like this: /myjail/zfs /myjail/usr nullfs ro /myjail/usr/local zfs There is no problem to make this happen by issuing a handful of commands manually after boot, but I cannot seem to get it to work automatically, with existing boot mechanism. The problem is that the mount of /usr will be attempted before ZFS has mounted /myjail, the jail's root. ZFS maintains its own mount table. It is possible to disable the automated mounting in ZFS by specifying the pseudo mountpoint legacy, and then--according to the FreeBSD manual--mount it with mount(8). Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS volumes. How can I achieve the result I want after a reboot? if the traditional way doesn't work for you, the solution is don't use the traditional way'. grin? Seriously. For the stuff that has to mount _after_ zfs is running (i.e. '/myjail/usr'), mark them as 'noauto' in the fstab. Do the 'equivalent' for any zfs fs that mounts _below_ those points (i.e., '/myjail/user/local'). That way the normal stages in the boot process will _not- mount them prematurely. THEN, add a boot script that requires zfs' and wherever the actual zfs mounts are done. In -that- script, insert 'manual' commands, _in_the_order_ you need things to happen in. It is advisable to drop notes in /etc/fstab and the zfs equivalent, that these filesystems are automatically mounted by the {mumble} script. Such notes save _lots_ of hair-tearing in the future, when you have to trouble- shoot something you don't remember the details of doing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Erlang and Java
On Sat, Sep 25, 2010 at 09:50:02AM -0700, Chip Camden wrote: Quoth Chad Perrin on Friday, 24 September 2010: Does anyone know of a reason that installing lang/erlang would fail if a java/diablo-jdk port failed to install? Correct me if I'm wrong, but the Erlang VM really should *not* depend on Java. Right? Looking at the Makefile, it appears that WITHOUT_JAVA needs to be defined to avoid a dependency. Looks likle that option is part of the config. make rmconfig make install clean then make sure the first option is unchecked. Hmm. This did not come up in any configuration screens when I used portinstall to try installing it, as far as I recall. Annoying. Thanks. It seems to be working now. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp0geNWyRIOV.pgp Description: PGP signature
Re: GUI Suggested?
On 23/09/2010 04:29, Jorge Biquez wrote: Hello all. In all these years I have been working with FreeBSd under terminal/shell mode. Since all my needs to solve have been solved that way I have never tried any graphical interface. I was wondering if you can tell suggest me based on yoru experience on what path to follow? KDE? any other? I would like to test what you suggest is the best for you and if possible that it is not TOO complicated to setup. The idea is to use it as my desktop plattfor (documents, browser, email, etc) Thanks in advance Jorge Biquez Locally, on the desktop I use windowmaker. It's fast, simple and very customisable. Loads of little wm apps to help you along. Thousands of themes, easily themeable. When I need a graphical environment remotely, I tunnel a vnc connection through ssh and the desktop there is blackbox. Simple colours, no eye candy. Reasonably responsive even through an ISDN connection. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems mounting nfs from freebsd to Mac.
From owner-freebsd-questi...@freebsd.org Sat Sep 25 03:29:33 2010 Date: Sat, 25 Sep 2010 04:01:18 -0400 From: Mike Meyer mike.w.me...@gmail.com To: questi...@freebsd.org Cc: Subject: Problems mounting nfs from freebsd to Mac. I've got an nfs server that's refusing to mount one client - via one route - and it's driving me crazy. First question, are you _SURE_ that it's a server-side problem? I under- stand that things are failing in one situation and not others, but there are about -five- possible causations, only one of which is a server-side NFS configuration. The server is running 8.1-RELEASE, exporting a collection of zfs file systems. All the file systems are exported with the exact same flags. The clients are either FreeBSD or OSX boxes. Most of them work fine. One OSX box - updated to the latest snow leopard while trying to fix this - gets permission denied when it tries to mount the interesting fie systems. But only when using it's wired connection. If it connects via wifi to the same router (a cisco WRT610N running dd-wrt) everything works fine. That elimintes NFS on the client, and -most- of the NFS config on the server. As far as I know, there are only three reasons for an NFS server to refuse a mount request: 1) The exports file is borked somehow, 2) The server insists that the client use a privileged port, or 3) The IP address the request is coming from is disallowed. There _are_ others, depending on how access controls are specified in the exports file. #1 isn't it - the file systems mount fine on other boxes. And they mount fine on the problem box via Wifi. #2 shouldn't be it - I'm running the server with -n turned on, and the mount works via wifi. #3 seems logical, but I only have one network enabled, and it's a *.0/25. The working addresses include .96, and .106, while the failing address is .105. So I'm not sure what's going on here. Running mountd with a -d flag generates no output at all when the request is denied. This makes me think I'm not looking in the right place. First thing, what does 'showmount -a', run on the misbehaving client show? And are there differences, depending on being on the wired vs wireless link? Check how the client resolves the server hostname on both the wireless and wired links. make sure the _server_ name (in the form used in the nfs mount) is resolving in the same way -- to the same address -- when the client is on thee wireless and wired links. (an 'unqualified' hostname, and a lack of a default domain in the wired setup _could_ cause what you are seeing. Check to make sure you've got network connectivity both ways on both the wired and wireless links. Does traceroute work in both directions on both links? does it show the _same_names_? You've say you've got a WRT610N in the middle of things. Is it actually playing _router_ on all ports, or switch/hub on the lan side with routing on the external interface. If it's actually -routing- on all ports, check _both_ the client and server routing tables to make sure they're pointing in the right plac, when the client is connected on both paths. Also double-check the router itself for any access-control and/or filtering rules. If nothing has shown up so far, an obvious next step is to look at the data 'on the wire' between the machines. e.g., tcpdump/etherfind/netshark etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sat, 25 Sep 2010 08:09:23 -0400, Carmel carmel...@hotmail.com wrote: I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The cdcontrol program worked fine and I was able to play music files while using KDE using its audio player. I now find that I can no-longer achieve that goal. When I place an audio CD into the PC, this error message is displayed: (It will probably wrap) Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) You cannot mount audio CDs. The important lines from your system log are: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 SCSI status: Check Condition SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) This seems to indicate that the CD cannot be read. Can it be read with a different drive? Maybe the drive is faulty. Or the media is. Can you check the media in a hardware CD player? I am at a loss here. I don't believe I made any radical changes from the configuration I was using in my older FreeBSD installation. First of all, HAL seems to be interfering. To check, make sure HAL is not running, then do cdcontrol play 1. Have the mixer program push all volumes up. I might add that MPlayer cannot see the drive either; although, it use to work fine. In how far does mplayer see a drive? This problem exists whether KDE is running or not. The cdcontrol player will open and close the door on the device; however, no sound is emitted. Does the drive have a phones connector at the front? Does it maybe play from there? Playing audio CDs is a feature of drives that does not neccessarily need CPU / system attention (except for starting the playback by a drive command). Are you accessing the drive by ATAPI or ATAPICAM? Normal 'notification' sounds are emitted so I know the speakers, etc. are working correctly. The KDE start-up notifications works just fine. So no problem on this side. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On 25.09.2010 22:31, Polytropon wrote: On Sat, 25 Sep 2010 08:09:23 -0400, Carmelcarmel...@hotmail.com wrote: I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The cdcontrol program worked fine and I was able to play music files while using KDE using its audio player. I now find that I can no-longer achieve that goal. When I place an audio CD into the PC, this error message is displayed: (It will probably wrap) Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) You cannot mount audio CDs. The important lines from your system log are: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 SCSI status: Check Condition SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) This seems to indicate that the CD cannot be read. Can it be read with a different drive? Maybe the drive is faulty. Or the media is. Can you check the media in a hardware CD player? I am at a loss here. I don't believe I made any radical changes from the configuration I was using in my older FreeBSD installation. First of all, HAL seems to be interfering. To check, make sure HAL is not running, then do cdcontrol play 1. Have the mixer program push all volumes up. I might add that MPlayer cannot see the drive either; although, it use to work fine. In how far does mplayer see a drive? This problem exists whether KDE is running or not. The cdcontrol player will open and close the door on the device; however, no sound is emitted. Does the drive have a phones connector at the front? Does it maybe play from there? Playing audio CDs is a feature of drives that does not neccessarily need CPU / system attention (except for starting the playback by a drive command). Are you accessing the drive by ATAPI or ATAPICAM? Normal 'notification' sounds are emitted so I know the speakers, etc. are working correctly. The KDE start-up notifications works just fine. So no problem on this side. If you are accessing ATAPI device using the SCSI subsystem make sure the user has all the required permissions to read/write xpt* pass* cd*. Run camcontrol devlist as a normal user and see if it shows you any drive (http://www.freebsd.org/doc/en/books/handbook/creating-cds.html Section 18.6.9). If this matters somehow I get many of the following messages (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 2 99 77 0 0 1 0 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST csi:28,a,1,20 asc:64,0 (Illegal mode for this track) (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 20 0 0 4 0 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (...) when an audio cd is pre-loaded at bootup into my external dvd rewriter. But the drive is functional (or at least seems to be... :-D). d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sat, 25 Sep 2010 22:31:39 +0200 Polytropon free...@edvax.de articulated: On Sat, 25 Sep 2010 08:09:23 -0400, Carmel carmel...@hotmail.com wrote: I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had the 7.3 /32 bit version installed. I completely erased the HD prior to installed the newer version so as to eliminate any accumulated garbage that might be hanging around. Previously, I was able to play CD Audio files without any problem. The cdcontrol program worked fine and I was able to play music files while using KDE using its audio player. I now find that I can no-longer achieve that goal. When I place an audio CD into the PC, this error message is displayed: (It will probably wrap) Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) You cannot mount audio CDs. The important lines from your system log are: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 SCSI status: Check Condition SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) This seems to indicate that the CD cannot be read. Can it be read with a different drive? Maybe the drive is faulty. Or the media is. Can you check the media in a hardware CD player? I have tries several different disks, all with the same results. These CDs work fine on my Windows machines. I used information at URL: http://www.freebsd.org/doc/handbook/creating-cds.html 18.6.9 Using the ATAPI/CAM Driver This worked fine on my previous version of FreeBSD. Now, entering the command: mount -t cd9660 /dev/cd0 /mnt Gets me this error message: mount_cd9660: /dev/cd0: Input/output error I am at a loss here. I don't believe I made any radical changes from the configuration I was using in my older FreeBSD installation. First of all, HAL seems to be interfering. To check, make sure HAL is not running, then do cdcontrol play 1. Have the mixer program push all volumes up. I might add that MPlayer cannot see the drive either; although, it use to work fine. In how far does mplayer see a drive? MPlayer cannot play a file from a CD because it never finds a CD to use. It did work previously. This problem exists whether KDE is running or not. The cdcontrol player will open and close the door on the device; however, no sound is emitted. Does the drive have a phones connector at the front? Does it maybe play from there? Playing audio CDs is a feature of drives that does not neccessarily need CPU / system attention (except for starting the playback by a drive command). Are you accessing the drive by ATAPI or ATAPICAM? ATAPICAM Normal 'notification' sounds are emitted so I know the speakers, etc. are working correctly. The KDE start-up notifications works just fine. So no problem on this side. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sat, 25 Sep 2010 17:32:27 -0400, Carmel carmel...@hotmail.com wrote: I have tries several different disks, all with the same results. These CDs work fine on my Windows machines. I used information at URL: http://www.freebsd.org/doc/handbook/creating-cds.html 18.6.9 Using the ATAPI/CAM Driver This worked fine on my previous version of FreeBSD. I'm also using this setup for many years now. Now, entering the command: mount -t cd9660 /dev/cd0 /mnt Gets me this error message: mount_cd9660: /dev/cd0: Input/output error Does this refer to an audio CD? In that case: Won't work. Mounting a data CD (ISO-9660 filesystem) _should_ work. From the error message, I don't think you have permission problems, but make sure that - as you're using ATAPICAM - have sufficient permissions for /dev/cd*, /dev/xpt* and /dev/pass*. Have you tried mounting using the ATAPI driver? # mount -o ro -t cd9660 /dev/acd0 /mnt Does this work for data CDs? MPlayer cannot play a file from a CD because it never finds a CD to use. It did work previously. Okay, seems that you're accessing the audio CD by mplayer, I now understand. You can specify -dvd-device dev as a command line parameter for mplayer to indicate which drive to use. Oh, and many programs use $CDROM and $CDPLAYER environment variables. Are you accessing the drive by ATAPI or ATAPICAM? ATAPICAM To make sure there are no other problems, try with ATAPI, too, as shown above. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sun, 26 Sep 2010 00:49:16 +0200 Polytropon free...@edvax.de articulated: Have you tried mounting using the ATAPI driver? # mount -o ro -t cd9660 /dev/acd0 /mnt Does this work for data CDs? I get this error message: mount_cd9660: /dev/acd0: Invalid argument -- Carmel ✌ carmel...@hotmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to access CDROM device to play music
On Sat, 25 Sep 2010 19:46:08 -0400, Carmel carmel...@hotmail.com wrote: On Sun, 26 Sep 2010 00:49:16 +0200 Polytropon free...@edvax.de articulated: Have you tried mounting using the ATAPI driver? # mount -o ro -t cd9660 /dev/acd0 /mnt Does this work for data CDs? I get this error message: mount_cd9660: /dev/acd0: Invalid argument This seems to show that there's no ISO-9660 file system on the (data) CD, or the session is not finished, or any other problem on file system level. Can you check % file - /dev/acd0 % cdcontrol info Here's an example for the output for a data CD: % file - /dev/acd0 /dev/stdin: ISO 9660 CD-ROM filesystem data 'FreeBSD_Install' (bootable) % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type - 1 0:02.00 57:57.56 0 260831 data 170 57:59.56 - 260831 - - And for an audio CD: % file - /dev/acd0 /dev/stdin: ERROR: cannot read `(null)' (Invalid argument) % cdcontrol info Starting track = 1, ending track = 18, TOC size = 154 bytes track start duration block length type - 1 0:02.00 3:31.03 0 15828 audio 2 3:33.03 2:52.67 15828 12967 audio ... 17 52:24.53 7:27.30 235703 33555 audio 18 59:52.08 2:48.67 269258 12667 audio 170 62:41.00 - 281925 - - Do you get the same results for the respective CD content types? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org