Re: Horrible: Apache corrupting files?

2006-04-26 Thread Thomas Ludwig
 If the problem is Apache, though, it doesn't explain the other problems I've 
 been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or 
 perhaps Apache is not the problem?

I recommend checking your hardware.  I had a similar problem with huge
files, although unrelated to Apache.  Files bigger than ~2GB would
*seem* to be corrupted.  I suspect its the hard disk drive, because
lowering the ATA bus speed (atacontrol mode ad0 UDMA33) made this
problem go away (the drive is a SAMSUNG SP1614N TM100-24).  This
problem occurred with different motherboard chipsets and different
versions of FreeBSD (5-stable, 6-PRERELEASE), so I really think it is
the hard disk drive.

Bye,
Thomas

 Cheers,
 Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SATA timeout problems

2005-07-01 Thread Thomas Ludwig
Hi,

I have timeout problems with SATA.  I have searched the archives and
the net and found that I am not alone, but I could not find any useful
answers on what to do about it.

I am running 5-STABLE (from yesterday) on an Intel 916PCM (ICH6).  I
have a Plextor DVD burner (As for the hard drive, I still use an IDE
model).  With the DVD device, I get two kinds of timeouts:
ATAPI_IDENTIFY and READ_BIG.

The ATAPI_IDENTIFY timeouts I get when SATA cable is plugged in at
either the motherboard's sata0 or sata1 connector.


Jun 22 09:12:33 pingu kernel: ata2-slave: FAILURE - ATAPI_IDENTIFY timed out
Jun 22 09:12:33 pingu last message repeated 2 times
Jun 22 09:12:33 pingu kernel: acd0: DVDR PLEXTOR DVDR PX-712A/1.05 at 
ata2-master SATA150


If I plug the cable instead in either the sata2 or the sata3 connector
on the motherboard, the identify timeout messages vanish, and the
device is recognized as 'slave':


acd0: DVDR PLEXTOR DVDR PX-712A/1.05 at ata2-slave SATA150


So far so good.  However, when attempting to actually mount a CD or a
DVD, I get READ_BIG timeouts and interrupt storms, and this regardless where I
have plugged the cable in.


Jul  1 14:38:15 pingu kernel: acd0: TIMEOUT - READ_BIG retrying (2 retries left)
Jul  1 14:38:16 pingu kernel: Interrupt storm detected on irq19: uhci1+; throt


These messages repeat and repeat... the systems gets very
unresponsive, but I can get it to reboot.  Attached are the dmesg, the
output of sysctl, and the kernel config file.

Any ideas?

Thomas

Copyright (c) 1992-2005 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 5.4-STABLE #14: Thu Jun 30 15:42:32 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PINGU
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.00-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 2145579008 (2046 MB)
avail memory = 2094141440 (1997 MB)
ACPI APIC Table: INTEL  D915PCM 
ioapic0 Version 2.0 irqs 0-23 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: INTEL D915PCM on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
nvidia0: Quadro PCI-E Series mem 
0xfc00-0xfcff,0xc000-0xcfff,0xfd00-0xfdff irq 16 at 
device 0.0 on pci1
pci0: multimedia at device 27.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 28.0 on pci0
pci5: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 28.1 on pci0
pci4: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 28.2 on pci0
pci3: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 28.3 on pci0
pci2: ACPI PCI bus on pcib5
uhci0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A port 0xcc00-0xcc1f 
irq 23 at device 29.0 on pci0
usb0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B port 0xd000-0xd01f 
irq 19 at device 29.1 on pci0
usb1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C port 0xd400-0xd41f 
irq 18 at device 29.2 on pci0
usb2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D port 0xd800-0xd81f 
irq 16 at device 29.3 on pci0
usb3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib6: ACPI PCI-PCI bridge at device 30.0 on pci0
pci6: ACPI PCI bus on pcib6
pci6: network, ethernet