Lockup/Halt issues on FreeBSD-6.0-RELEASE

2005-11-12 Thread Josh Paetzel
#uname -a
FreeBSD gimpy.tcbug.org 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 11 
20:00:32 CST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

dmesg attached

This box has run 5.4-RELEASE-p(x) for quite some time without issue.  
I cvsupped it to 6.0-RC1 and that worked fine.  I cvsupped to 
6.0-RELEASE and that's when I started getting strange behaviour.

I run Xorg and fluxbox-devel with a large variety of apps. A typical 
mix is gaim, linux-opera, kate, kmail, xmms, xchat, gimp and a half 
dozen xterms for good measure.

Every once in a while the box will hang in a very strange way.  xmms 
plays music, irc stuffs scrolls on xchat, compiles on an xterm keep 
going, and the mouse pointer works.  The mouse buttons won't do 
anything, the keyboard won't do anything, I can't switch to a 
different virtual terminal, nothing is logged, I can't get to a 
debugger.  If I hit the power button (this is an ATX system) the box 
immediately shuts off.  On reboot it doesn't need to do an fsck of 
any kind nor does it complain about filesystems being unmounted 
improperly.  This sort of leads me to believe that somehow parts of 
shutdown are being run (or insert your theoretical theory here) I'm 
willing to do trouble-shooting on this if anyone is interested in 
looking at it.  I may be able to get a serial console when the hang 
occurs. (haven't tried that yet)

-- 
Thanks,

Josh Paetzel
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 6.0-RELEASE #1: Fri Nov 11 20:00:32 CST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm)   2500+ (1767.87-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x681  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow
real memory  = 1072627712 (1022 MB)
avail memory = 1040748544 (992 MB)
ACPI APIC Table: KT600  AWRDACPI
ioapic0 Version 0.3 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: KT600 AWRDACPI on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNKA irq 12 on acpi0
pci_link1: ACPI PCI Link LNKB irq 11 on acpi0
pci_link2: ACPI PCI Link LNKC irq 10 on acpi0
pci_link3: ACPI PCI Link LNKD irq 5 on acpi0
pci_link4: ACPI PCI Link LNKE on acpi0
pci_link5: ACPI PCI Link LNKF on acpi0
pci_link6: ACPI PCI Link LNK0 on acpi0
pci_link7: ACPI PCI Link LNK1 on acpi0
pci_link8: ACPI PCI Link ALKA irq 11 on acpi0
pci_link9: ACPI PCI Link ALKB irq 21 on acpi0
pci_link10: ACPI PCI Link ALKC irq 22 on acpi0
pci_link11: ACPI PCI Link ALKD irq 23 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem 
0xe000-0xe7ff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xb000-0xb03f irq 18 at device 10.0 
on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:97:d8:ad:bd
pcm0: Creative EMU10K1 port 0xb400-0xb41f irq 19 at device 12.0 on pci0
pcm0: eMicro EM28028 AC97 Codec
atapci0: VIA 6420 SATA150 controller port 
0xbc00-0xbc07,0xc000-0xc003,0xc400-0xc407,0xc800-0xc803,0xcc00-0xcc0f,0xd000-0xd0ff
 irq 20 at device 15.0 on pci0
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
atapci1: VIA 8237 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd400-0xd40f at device 15.1 on pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.0 on 
pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.1 on 
pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 16.2 on 
pci0
uhci2: [GIANT-LOCKED]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 

Re: Lockup/Halt issues on FreeBSD-6.0-RELEASE

2005-11-12 Thread Dev Tugnait

Remove device agp from kernel or set it to use freebsd's agp in
xorg.conf. This shouldn't cause the machine to hang though, having no
trouble with nvidia here.

On Sat, 2005-11-12 at 20:09 -0600, Josh Paetzel wrote:
 nvidia0: GeForce 6600 GT mem
 0xe800-0xe8ff,0xd000-0xdfff,0xe900-0xe9ff irq
 16 at device 0.0 on pci1
 nvidia0: [GIANT-LOCKED]
 NVRM: detected agp.ko, aborting NVIDIA AGP setup!
 NVRM: detected agp.ko, aborting NVIDIA AGP setup!
 

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


Re: Lockup/Halt issues on FreeBSD-6.0-RELEASE

2005-11-12 Thread Josh Paetzel
On Saturday 12 November 2005 09:02 pm, Dev Tugnait wrote:
 Remove device agp from kernel or set it to use freebsd's agp in
 xorg.conf. This shouldn't cause the machine to hang though, having
 no trouble with nvidia here.

 On Sat, 2005-11-12 at 20:09 -0600, Josh Paetzel wrote:
  nvidia0: GeForce 6600 GT mem
  0xe800-0xe8ff,0xd000-0xdfff,0xe900-0xe9ff
  irq 16 at device 0.0 on pci1
  nvidia0: [GIANT-LOCKED]
  NVRM: detected agp.ko, aborting NVIDIA AGP setup!
  NVRM: detected agp.ko, aborting NVIDIA AGP setup!

Thanks for your rapid reply.  Here's some more details:

#kldstat
Id Refs AddressSize Name
 1   12 0xc040 63070c   kernel
 21 0xc0a31000 7794 snd_emu10k1.ko
 32 0xc0a39000 1d408sound.ko
 4   16 0xc0a57000 568dcacpi.ko
 51 0xc2755000 37d000   nvidia.ko
 61 0xc2adc000 15000linux.ko

#grep agp /sys/i386/conf/GIMPY

#device agp # support several AGP chipsets

I set Option NvAGP 2 and now it stops complaining about detecting 
agp.ko although I'm curious how it was detecting it in the first 
place since the module wasn't loaded and the device wasn't compiled 
in the kernel.  At any rate I'll give this a go and report back if I 
am still having problems.

-- 
Thanks,

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