On Wed, 7 Dec 2005, Denny White wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> I was hoping someone could shed some light with some good
> links, sample configurations, etc., that might help me
> with the following. Not looking for someone to "fix it"
> for me or anything like that. Maybe the following will show
> that I have tried reading, googling, experimenting, etc.,
> before asking. I don't want to have any settings too high
> to cause other problems, just to change what's neccessary.
> When I'd drag & drop files to copy from a windows xp box
> to an nfs share on the obsd box, the obsd system would
> reboot. I thought at first that it was either something
> conflicting from the xp box, or that I had a hardware
> problem on the obsd box. That had happened once with a
> bad simm, but I had replaced it & had had no further
> problems until now. Before running a time consuming
> memory test on the obsd box, I did some reading on obsd
> tunables, and am now able to copy a file over from the
> xp box without the system rebooting. Below is a list of
> the changes:
> 
> net.inet.tcp.keepinittime=600
> net.inet.tcp.keepidle=28800
> net.inet.tcp.keepintvl=600
> net.inet.tcp.recvspace=65536 net.inet.tcp.sendspace=32768
> net.inet.udp.recvspace=83200 net.bpf.bufsize=65536 vfs.nfs.iothreads=4

What type of nfs mount are you using? v2 or v3; udp or tcp?

Any info on the console the moment the machine reboots? What is the
value of tyhe ddb.panic sysctl? Anything in the logs?

        -Otto


> Before the problem started occurring, I was using softupdates. I tried running
> without them, thinking maybe that had some bearing on
> the problem. Apparently it didn't. The only thing that helped was the
> changes listed above. I read that if you increase the tcp.recvspace &
> tcp.sendspace too high, you can cause a kernel panic when booting.
> That hasn't happened so far, with the above values. Exactly how high
> I can go without problems, I don't know. The obsd box is used for email
> & learning, mostly. No high usage production server. The largest file
> I've tried to copy to the nfs share since making the changes was about
> 26mb. No reboot this time. Before the changes, about the largest I could
> copy without trouble was 2mb. Right now, I'm limited on memory. There's
> only 256mb on the obsd box. That might be a problem, too, if I keep
> increasing the above values. There is no problem with file sizes when
> using scp across the network. Forgot to mention that I had tested it
> too, by mounting an obsd nfs share over on a fbsd box & had tried to
> copy a large file over, resulting in a reboot. That was when I figured
> I had it narrowed down to hardware or an obsd settings problem, the
> latter apparently being the case. Thanks for any answers & advice.
> Below is output of uname -a & dmesg.
> 
> OpenBSD badboybox.cableone.net 3.8 GENERIC#0 i386
> 
> OpenBSD 3.8-stable (GENERIC) #0: Fri Dec  2 01:25:13 CST 2005
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 601 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> real mem  = 267952128 (261672K)
> avail mem = 237613056 (232044K)
> using 3296 buffers containing 13500416 bytes (13184K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(a7) BIOS, date 01/31/02, BIOS32 rev. 0 @ 0xfb4f0
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 70102 dobusy 1 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb970
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd90/144 (7 entries)
> pcibios0: PCI Exclusive IRQs: 5 9 10 11
> pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0x8000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "VIA VT82C691 PCI" rev 0xc4
> ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00
> pci1 at ppb0 bus 1
> pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x22
> pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66, channel 0
> configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <WDC WD300BB-00AUA1>
> wd0: 16-sector PIO, LBA, 28629MB, 58633344 sectors
> wd1 at pciide0 channel 0 drive 1: <WDC WD400BB-00AUA1>
> wd1: 16-sector PIO, LBA, 38166MB, 78165360 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HP, CD-Writer+ 9500b, 1.06> SCSI0 5/cdrom
> removable
> atapiscsi1 at pciide0 channel 1 drive 1
> scsibus1 at atapiscsi1: 2 targets
> cd1 at scsibus1 targ 0 lun 0: <ASUS, CD-S500/A, 1.0K> SCSI0 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
> uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x10: irq 9
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x10: irq 9
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x30
> auvia0 at pci0 dev 7 function 5 "VIA VT82C686 AC97" rev 0x20: irq 5
> ac97: codec id 0x83847644 (SigmaTel STAC9744/45)
> ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
> audio0 at auvia0
> fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x08, i82559: irq 11, address
> 00:d0:b7:ba:15:09
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> vga1 at pci0 dev 15 function 0 "3DFX Interactive Voodoo3" rev 0x01
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> isa0 at pcib0
> isadma0 at isa0
> 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
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> sysbeep0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask e745 netmask ef45 ttymask ffc7
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: wd0 matches BIOS drive 0x80
> wd1: no disk label
> dkcsum: wd1 matches BIOS drive 0x81
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> wsdisplay0: screen 6 added (80x25, vt100 emulation)
> wsdisplay0: screen 7 added (80x25, vt100 emulation)
> 
> GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
> Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
> iD8DBQFDloAEy0Ty5RZE55oRAjHJAJ4hFYrfcqgSJ+W1RmZS6tTeAAoWLwCfTc3w
> gxdHda2UjS06pBL0NZBswcU=
> =f/XC
> -----END PGP SIGNATURE-----

Reply via email to