On 07/10/10 01:04, Corey J. Bukolt wrote: > On Fri, 2010-07-09 at 16:01 +0200, Jan Stary wrote: > On Jul 09 04:56:38, Corey J. Bukolt wrote: >> > On Mon, 2010-07-05 at 08:28 +0200, Alexandre Ratchov wrote: >> > > On Sat, Jul 03, 2010 at 02:53:01AM -0400, Corey J. Bukolt wrote: >> > > > Hi list, >> > > > >> > > > So far I have been able to get OpenBSD running nicely as my primary >> > > > desktop >> > > > with the only hitch being my NFS mounted music skips occasionally. I'm >> > > > pretty sure it's not the NFS server since my Linux laptop has the same >> > > > setup >> > > > and doesn't skip. I'm using mpd to play the music, with a gigbit >> > > > connection >> > > > leading to a dedicated file server which has practically no load. >> > > > Already >> > > > gone over mount_nfs(8) and tried a whole bunch of different options >> > > > with no >> > > > luck. >> >> What NFS server is it? >> How exactly is the NFS share exported on the server side? >> How exactly is the share mounted on your clients? > > The NFS server is FreeNAS (FreeBSD 7.2). > > Exports line: > /mnt/tank/main/home/corey/media/music -alldirs,ro -maproot=root -network > 192.168.0.250 -mask 255.255.255.255 > > Linux client fstab entry: > fileserver:/mnt/tank/main/home/corey/media/music /mnt/music nfs user 0 0 > > OpenBSD client fstab entry: > fileserver:/mnt/tank/main/home/corey/media/music /mnt/music nfs > ro,noexec,nodev,nosuid 0 0 > > The OpenBSD client is 4.7-stable AMD64 GENERIC.MP
You have some local debugging to do. I've run music over NFS for close to ten years, with servers (all OpenBSD) ranging from 133MHz P-I to 1GHz P3, workstations running from 266MHz PIIs to 2.3GHz AMD64x3 processors. Never had gigabit links. Early on, it was probably a 100mbps hub, maybe even 10mbps (can't remember when I installed my 100mbps infrastructure, or when I went to switches, I do remember ripping CDs directly on my 166MHz server because it was faster than alternatives). Audio devices ranged from old ISA devices to quite modern hardware. No NFS-related problems here. Therefore, I conclude that it isn't an intrinsic OpenBSD problem (and I'm pretty sure you and I aren't the only ones running mp3 files over NFS). There's either something about your PARTICULAR system (which you STILL refuse to describe, please go smack your hand with a ruler), or something wrong with your infrastructure. Go get yourself an old three-digit clock speed machine with 128m of RAM or more, put OpenBSD on it, put some mp3 files on it, set up NFS, put it on a different switch and different wires than you are currently using and see if it works. If so, look over everything else. If not, provide a useful problem report (which is NOT what you have been doing). Nick. Hint, this works: OpenBSD 4.7-current (GENERIC.MP) #94: Wed Jul 7 01:22:26 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP (note that I didn't stop here...) real mem = 3486384128 (3324MB) avail mem = 3379736576 (3223MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (46 entries) bios0: vendor Award Software International, Inc. version "FB" date 03/03/2009 bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP SSDT HPET MCFG APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE8(S4) PS2M(S5) PS2K(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) 8650 Triple-Core Processor, 2316.66 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 201MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) 8650 Triple-Core Processor, 2316.33 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) 8650 Triple-Core Processor, 2316.33 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P2P_) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus -1 (PCE4) acpiprt5 at acpi0: bus -1 (PCE5) acpiprt6 at acpi0: bus 2 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (AGP_) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpibtn0 at acpi0: PWRB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "ATI RS740 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 "ATI Radeon 2100" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 6 function 0 "ATI RS690 PCIE" rev 0x00 pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C (0x3c00), apic 2 int 18 (irq 10), address 00:24:1d:2c:0a:01 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22 (irq 11), AHCI 1.1 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, InneRAID Duo, 1.04> SCSI3 0/direct fixed sd0: 476938MB, 512 bytes/sec, 976771055 sec total cd0 at scsibus0 targ 3 lun 0: <PIONEER, DVD-RW DVR-212D, 1.24> ATAPI 5/cdrom removable ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16 (irq 3), version 1.0, legacy support ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16 (irq 3), version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 10), version 1.0, legacy support ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 10), version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 (irq 10) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5 pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 (irq 3) azalia0: codecs: Realtek/0x0887 audio0 at azalia0 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 pci3 at ppb2 bus 3 "NetMos Nm9835" rev 0x01 at pci3 dev 6 function 0 not configured rl0 at pci3 dev 7 function 0 "Realtek 8139" rev 0x10: apic 2 int 21 (irq 5), address 00:e0:4c:15:4d:e6 rlphy0 at rl0 phy 0: RTL internal PHY ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 10), version 1.0, legacy support pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci2: USB revision 1.0 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci3: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x2e/2: IT8718F rev 5, EC port 0x228 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb6 at ohci4: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support umass0 at uhub1 port 2 configuration 1 interface 0 "Generic Mass Storage Device" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0 0/direct removable sd1: drive offline sd2 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0 0/direct removable sd2: drive offline sd3 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0 0/direct removable sd3: drive offline sd4 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0 0/direct removable sd4: drive offline sd5 at scsibus1 targ 1 lun 4: <Generic, Mini SD Reader, 1.06> SCSI0 0/direct removable sd5: drive offline uhidev0 at uhub2 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/11.10 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root root on sd0a swap on sd0b dump on sd0b