i386/51338: random system hangs;
system hangs because of the ICH sound driver
User Mitica
mitica at moldnet.md
Thu Apr 24 01:10:16 PDT 2003
>Number: 51338
>Category: i386
>Synopsis: random system hangs; system hangs because of the ICH sound driver
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 24 01:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: User Mitica
>Release: FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD mitica.cd 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #6: Tue Apr 22 11:36:56 EEST 2003 root at mitica.cd:/usr/src/sys/i386/compile/myKERN i386
>Description:
the system hangs without any dump/message; today i was on ttyv0 and caught a message just before
it hang:
Kernel trap 9 with interrupts disabled.
IP = 0x8:0xc03926f2
SP = 0x10:0xde0f79dc
FP = 0x10:0xde0f7a2c
CS = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
CPU Flags = resume, IOPL = 0
current process = 7714 (psi) <-- this process was run by an unprivileged user
the file is not setuid
trap number = 9
panic: general protection fault
i watched the CPU temperature with "healthd"; it was not higher than 56 deg. celsius (pIII 1Ghz)
also the system hangs when i "kldload", "kldunload" then again "kldload" the sound driver (snd_ich)
with 4.6 - 4.8 i had no problem on the same PC; they all began to appear when i installed 5.0 Release;
i did the cvsup thinking it was fixed, but i had no luck :(
the hangs not releated to sound may be because of me running the NVidia driver (which is for <5.0 FreeBSDs),
but i'm not sure about this, i'll check it... (try not to use it for a week or so; max uptime was 9 days)
below i give the dmesg and kernel config:
FreeBSD 5.0-RELEASE-p7 #6: Tue Apr 22 11:36:56 EEST 2003
root at mitica.cd:/usr/src/sys/i386/compile/myKERN
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0617000.
Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc06170a8.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 1004833171 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1004.83-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x68a Stepping = 10
Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory = 536805376 (511 MB)
avail memory = 514752512 (490 MB)
Initializing GEOMetry subsystem
netsmb_dev: loaded
Pentium Pro MTRR support enabled
VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc045f062 (1000022)
VESA: NVidia
acpi0: <IntelR MSI ACPI> on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
Using $PIR table, 10 entries at 0xc00fdeb0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x4000-0x40f7,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xd0000000-0xd1ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <RIVA TNT2 Model 64> mem 0xd4000000-0xd5ffffff,0xd6000000-0xd6ffffff irq 10 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xc000-0xc03f mem 0xd9000000-0xd90fffff,0xd9100000-0xd9100fff irq 11 at device 3.0 on pci2
fxp0: Ethernet address 00:02:b3:3e:eb:48
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xf000-0xf00f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xd000-0xd01f irq 11 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) 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
ugen0: American Power Conversion Back-UPS 500 FW: 6.2.I USB FW: c1, rev 1.10/1.00, addr 2
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 3, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xd400-0xd41f irq 5 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) 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
pci0: <multimedia, audio> at device 31.5 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xd0000-0xd0fff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
DUMMYNET initialized (011031)
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
IP Filter: v3.4.29 initialized. Default = pass all, Logging = enabled
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%
ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA100
acd0: CD-RW <TEAC CD-W552E> at ata1-slave UDMA33
---------------------------------
machine i386
cpu I686_CPU
ident myKERN
maxusers 0
#hints "GENERIC.hints" #Default places to look for devices.
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options NFSCLIENT #Network Filesystem Client
options NFSSERVER #Network Filesystem Server
options NFS_ROOT #NFS usable as root device, requires NFSCLIENT
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem (requires PSEUDOFS)
options PSEUDOFS #Pseudo-filesystem framework
options EXT2FS
options LINPROCFS
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_AOUT
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options COMPAT_LINUX
options SCSI_DELAY=3000 #Delay (in ms) before probing SCSI
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
device isa
device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapicam
options ATA_STATIC_ID #Static device numbering
#device ahc # AHA2940 and onboard AIC7xxx devices
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
#device ses # SCSI Environmental Services (and SAF-TE)
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
device sc
device agp # support several AGP chipsets
device npx
device pmtimer
device sio # 8250, 16[45]50 based serial ports
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
#device plip # TCP/IP over parallel
#device ppi # Parallel port interface device
#device vpo # Requires scbus and da
#device de # DEC/Intel DC21x4x (``Tulip'')
#device txp # 3Com 3cR990 (``Typhoon'')
#device vx # 3Com 3c590, 3c595 (``Vortex'')
device miibus # MII bus support
#device dc # DEC/Intel 21143 and various workalikes
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
#device rl # RealTek 8129/8139
#device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
device random # Entropy device
device loop # Network loopback
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device snp
device bpf # Berkeley packet filter
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
##device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
#device urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
device gzip
device acpi
options VESA
options SC_ALT_MOUSE_IMAGE
options SC_HISTORY_SIZE=1800
options SC_MOUSE_CHAR=0x3
options SC_PIXEL_MODE
options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_RED)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_WHITE|BG_RED)
options UDF
options SMBFS
options NTFS
options NETSMB
options NETSMBCRYPTO
options LIBMCHAIN #mbuf management library
options LIBICONV
device ef
options ETHER_II # enable Ethernet_II frame
options ETHER_8023 # enable Ethernet_802.3 (Novell) frame
options ETHER_8022 # enable Ethernet_802.2 frame
options ETHER_SNAP # enable Ethernet_802.2/SNAP frame
options IPX
options IPXIP
options IPTUNNEL
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_FORWARD #enable transparent proxy support
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPDIVERT #divert sockets
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
#options IPFILTER_DEFAULT_BLOCK #block all packets by default
options IPSTEALTH #support for stealth forwarding
options RANDOM_IP_ID
options DUMMYNET
#options DEVICE_POLLING
#options SHMALL=8192
#options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
#options SHMMAXPGS=8192
#options SHMMIN=2
#options SHMMNI=512
#options SHMSEG=1024
options QUOTA
#options MAXDSIZ="(1024UL*1024*1024)"
#options MAXSSIZ="(1024UL*1024*1024)"
#options DFLDSIZ="(1024UL*1024*1024)"
device ucom
>How-To-Repeat:
to hang the system with the sound driver, just do:
# kldload snd_ich
# kldunload snd_ich
# kldload snd_ich
(on a system with ICH sound on board)
the other hangs i can't reproduce because everything is frozen and i don't even get any log... :(
>Fix:
have no ideea
regards,
Mitica
--h3NN51el030723.1051139114/mitica.cd--
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list