Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 14:27:12 -0700
From:      "Lucas Sweany" <lucas@omsoft.com>
To:        freebsd-questions@freebsd.org
Subject:   4.9 disk related system hang
Message-ID:  <418101C0.32008.1035C41@localhost>

next in thread | raw e-mail | index | archive | help
I have a Sun LX50 running FreeBSD 4.9. Its primary function is a Squid 
caching proxy. It has 2 10k RPM SCSI-3 disks, 74GB each. It has 2 
processors, each a P3-1400, and the kernel is SMP enabled.

The problem is that every time I start using the second disk for 
anything significant, like logging or caching files for squid, the 
system locks up after some hours or days. There are no unusual messages 
in the syslog, it just locks up completely and unexpectedly. It has been 
running fine for quite a while now with the second disk mounted, but doing 
nothing.

Can anyone help me find the root of the problem? I don't even know how to begin 
to troubleshoot this. My next step was going to be to upgrade to 4.10, but I 
would prefer not to at this point.

Thanks,

Lucas


---
Here is my dmesg.boot:

Copyright (c) 1992-2003 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.9-RELEASE #2: Tue Feb  3 16:17:11 PST 2004
    root@hostname.domain.ext:/usr/obj/usr/src/sys/HOSTNAME
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) III CPU family      1400MHz (1396.45-MHz \
	686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR, \
	PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1039577088 (1015212K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0555000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 13 entries at 0xc00f3b70
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib1: <ServerWorks host to PCI bridge> on motherboard
IOAPIC #1 intpin 11 -> irq 2
IOAPIC #1 intpin 10 -> irq 5
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x2400-0x24ff mem 0xfebe0000-
0xfebe0fff irq 2 at device 7.0 on pci1
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x2000-0x20ff mem 0xfebf0000-
0xfebf0fff irq 5 at device 7.1 on pci1
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
pcib0: <ServerWorks host to PCI bridge> on motherboard
IOAPIC #1 intpin 5 -> irq 7
IOAPIC #1 intpin 4 -> irq 9
IOAPIC #1 intpin 2 -> irq 10
IOAPIC #0 intpin 10 -> irq 11
pci0: <PCI bus> on pcib0
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x1400-0x143f mem \
	0xfe8a0000-0xfe8bffff,0xfe8e0000-0xfe8e0fff irq 7 at device 3.0 on pci0
fxp0: Ethernet address 00:03:47:f1:72:39
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82550 Pro/100 Ethernet> port 0x1440-0x147f mem \
	0xfe860000-0xfe87ffff,0xfe880000-0xfe880fff irq 9 at device 4.0 on pci0
fxp1: Ethernet address 00:03:47:f1:72:3a
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <ATI Mach64-GR graphics accelerator> at 12.0 irq 10
isab0: <PCI to ISA bridge (vendor=1166 device=0201)> at device 15.0 on \
	pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks CSB5 ATA100 controller> port 0x410-0x413,0x3a0-0x3af,0-
0x3,0-0x7,0-0x3,0-0x7 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 0xfe840000-0xfe840fff irq 11 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: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib2: <ServerWorks host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib2
pcib3: <ServerWorks host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
pcib4: <Host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib4
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-
0xcafff,0xcb000-0xd0fff,0xe4000-0xe7fff on isa0
pmtimer0 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
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <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: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 \
	intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
IP packet filtering initialized, divert disabled, rule-based forwarding 
enabled, default to deny, logging disabled
SMP: AP CPU #1 Launched!
acd0: CDROM <SAMSUNG CD-ROM SN-124> at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
pass2 at ahc1 bus 0 target 6 lun 0
pass2: <ESG-SHV SCA HSBP M18 0.07> Fixed Processor SCSI-2 device 
pass2: 3.300MB/s transfers
da0 at ahc1 bus 0 target 0 lun 0
da0: <SEAGATE ST373405LC 0003> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged \
	Queueing Enabled
da0: 70007MB (143374741 512 byte sectors: 255H 63S/T 8924C)
da1 at ahc1 bus 0 target 1 lun 0
da1: <SEAGATE ST373405LC 0003> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged \
	Queueing Enabled
da1: 70007MB (143374741 512 byte sectors: 255H 63S/T 8924C)
Mounting root from ufs:/dev/da0s1a
---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418101C0.32008.1035C41>