Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 22:44:46 -0500
From:      Scott W <wegster@mindcore.net>
To:        Christopher Nehren <apeiron@comcast.net>
Cc:        current@freebsd.org
Subject:   Re: Strange X freezes, system otherwise responsive
Message-ID:  <3FE90BAE.40504@mindcore.net>
In-Reply-To: <20031224020506.GA627@prophecy.dyndns.org>
References:  <20031223030133.GA8132@prophecy.dyndns.org> <20031223190753.R48511@alpha.siliconlandmark.com> <20031224020506.GA627@prophecy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Nehren wrote:

> On Tue, Dec 23, 2003 at 19:15:31 EST, Andre Guibert de Bruet scribbled these curious markings:
> 
>>There's a number of things that you can supply that would help diagnose
>>this problem:
>>
>>- What revision level of the XFree86-Server and XFree86-libraries ports
>>are you running?
> 
> 
> [(20:41:26) apeiron@prophecy ~] pkg_info -x XFree86 | egrep 'Information
> for XFree86-(libraries|Server)'
> Information for XFree86-Server-4.3.0_12:
> Information for XFree86-libraries-4.3.0_6:
> 
> 
>>- uname -a
> 
> 
> FreeBSD prophecy.dyndns.org 5.2-RC FreeBSD 5.2-RC #0: Fri Dec 19 
> 10:53:00 EST 2003     
> root@prophecy.dyndns.org:/usr/obj/usr/src/sys/PROPHECY  i386
> 
[dmesg snipped]
> Accounting enabled
> 
> 
>>- Have you recently upgraded your kernel across versions of current and
>>forgotten to rebuild affected ports. See src/UPDATING for details.
> 
> 
> I'm not running -CURRENT proper, but actually RELENG_5_1 and now
> RELENG_5_2. I've seen the problem in both _5_1 and _5_2. I've looked at
> UPDATING, and can't see anything that appears to be remotely relevant. I
> have ACPI disabled, I don't use netgraph, I don't have SMP, or a 
> processor capable of Hyperthreading, and if X depends on the 
> API and ABI of struct ifnet, then I'd be very surprised. My upgrade from
> _5_1 to _5_2 is the only cross-release upgrade that I've done
> (everything else was just patches to _5_1), and the problem existed
> before this upgrade. 
> 
> 
>>- When you say the "nVidia drivers" you're using the official nVidia
>>driver and not XFree86's nv(4) driver, correct?
> 
> 
> [(20:49:03) apeiron@prophecy ~] pkg_info -x nvidia | head -1
> Information for nvidia-driver-1.0.4365_1:
> [(20:49:36) apeiron@prophecy ~] grep -A1 -B2 nvidia
> /usr/X11R6/lib/X11/XF86Config
> Section "Device"
>         Identifier  "Card0"
>         Driver      "nvidia"
> EndSection
>  
> 
> I very much appreciate your looking at this. It's become rather
> frustrating, and I very much look forward to resolving it. If
> any other information is needed, I will provide it.
> 

FWIW, I missed the original thread, but have seen similar behavior- X 
locks completely, system has remained responsive via ping etc.  Nothing 
unusual being logged in messages nor in X error log.

System is IBM Netfinity 4500R, dual 667MHz CPUs, 1G RAM, ServeRAID 3L 
(2x 9G striped SCSI disks), S3-Savage 4 Video, saw with CURRENT 
kernel/system approx a week ago, rebuild current snapshot from today to 
see if it's still happening or not.

Don't recall if it happened back at 5.1R, but definitely did happen 
prior to 5.2 Beta and RCs with 5.1 CURRENT, and including 5.2 RCs/CURRENT

System's been religiously rebuilt ensuring kernel and source/base are in 
sync, and also did a complete ports forced rebuild as of last kernel 
build of the entire system to see if some odd dependency problem got 
introduced, still locked up..

following versions of XFree and friends:

[0] # pkg_info -x XFree86 | grep 'Information'
Information for XFree86-FontServer-4.3.0_3:
Information for XFree86-Server-4.3.0_12:
Information for XFree86-clients-4.3.0_6:
Information for XFree86-documents-4.3.0:
Information for XFree86-font100dpi-4.3.0:
Information for XFree86-font75dpi-4.3.0:
Information for XFree86-fontDefaultBitmaps-4.3.0:
Information for XFree86-fontEncodings-4.3.0:
Information for XFree86-fontScalable-4.3.0:
Information for XFree86-libraries-4.3.0_6:
Information for XFree86-manuals-4.3.0:


dmesg for system as follows:
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 5.2-CURRENT #0: Tue Dec 16 19:18:17 EST 2003
     root@freeb.swtechnical.com:/usr/src/sys/i386/compile/SMP52
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0816000.
MPTable: <IBM GNK  Teton SMP   >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (664.57-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x681  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  = 1073725440 (1023 MB)
avail memory = 1033568256 (985 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 16
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: <MPTable Host-PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib0: slot 2 INTA routed to irq 27
pcib0: slot 9 INTA routed to irq 16
pcib0: slot 15 INTA routed to irq 9
pci0: <display, VGA> at device 1.0 (no driver attached)
pcn0: <AMD PCnet/PCI 10/100BaseTX> port 0x2000-0x201f mem 
0xfeb7fc00-0xfeb7fc1f irq 27 at device 2.0 on pci0
pcn0: Ethernet address: 00:02:55:91:b1:fb
miibus0: <MII bus> on pcn0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x2040-0x207f mem 
0xfea00000-0xfeafffff,0xfeb7e000-0xfeb7efff irq 16 at device 9.0 on pci0
fxp0: Ethernet address 00:06:29:0f:89:d8
miibus1: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> port 0xfe00-0xfe0f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x840-0x84f at 
device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
ohci0: <OHCI (generic) USB controller> mem 0xff700000-0xff700fff irq 9 
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
ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
pcib1: <MPTable Host-PCI bridge> at pcibus 1 on motherboard
pci1: <PCI bus> on pcib1
pcib1: slot 3 INTA routed to irq 28
pcib1: slot 3 INTB routed to irq 29
pcib1: slot 5 INTA routed to irq 20
pcib1: slot 7 INTA routed to irq 24
pci1: <mass storage, SCSI> at device 3.0 (no driver attached)
pci1: <mass storage, SCSI> at device 3.1 (no driver attached)
ips0: <IBM ServeRAID Adapter> port 0x2300-0x23ff mem 
0xefe00000-0xefefffff irq 20 at device 5.0 on pci1
pci1: <network, ethernet> at device 7.0 (no driver attached)
orm0: <Option ROMs> at iomem 
0xca800-0xd27ff,0xca000-0xca7ff,0xc0000-0xc9fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> flags 0x1000 irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 10.000 msec
acd0: CDROM <CRN-8241B> at ata0-master PIO4
ips0: reinitializing adapter, this could take several minutes.
ips0: adapter type: ServeRAID 3L (clarinet lite)
ips0: logical drives: 1
ips0: Logical Drive 0: RAID1 sectors: 17772544, state OK
ipsd0: <Logical Drive> on ips0
GEOM: create disk ipsd0 dp=0xc6b10190
ipsd0: Logical Drive  (8678MB)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ipsd0s1a

The only other 'oddity' I've seen is a TON of 'usb0: 1 scheduling 
overruns' messages, but the frequency seems to come and go...only thing 
using USB is a printer which currently isn't configured for this system.

Scott




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FE90BAE.40504>