2.4.10: Crash on boot with trident driver non-module

From: Trever L. Adams (vichu@digitalme.com)
Date: Mon Sep 24 2001 - 02:40:03 EST


As promised, here we go. This problem exists in 2.4.9 and all
.10preXX. I believe 2.4.8 was fine.

[1.] One line summary of the problem:

2.4.10: Crash on boot with trident driver non-module

[2.] Full description of the problem/report:

If I compile the trident sound driver in, then my kernel crashes on
boot. If I make it a module, it works ok.

[3.] Keywords (i.e., modules, networking, kernel):

module, trident, sound, oops, crash

[4.] Kernel version (from /proc/version):

Linux version 2.4.10 (root@aurora) (gcc version 2.96 20000731 (Red Hat
Linux 7.1 2.96-85)) #1 Sun Sep 23 20:48:58 EDT 2001

[5.] Output of Oops.. message (if applicable) with symbolic information
     resolved (see Documentation/oops-tracing.txt)

See attached 2.4.10-trouble-resolved

[6.] A small shell script or example program which triggers the
     problem (if possible)

Simply boot.

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)

Linux aurora 2.4.10 #1 Sun Sep 23 20:48:58 EDT 2001 i686 unknown

Gnu C 2.96
Gnu make 3.79.1
binutils 2.10.91.0.2
util-linux 2.10s
mount 2.11b
modutils 2.4.2
e2fsprogs 1.19
PPP 2.4.0
Linux C Library 2.2.2
Dynamic linker (ldd) 2.2.2
Procps 2.0.7
Net-tools 1.57
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded sr_mod cdrom trident ac97_codec soundcore
af_packet

[7.2.] Processor information (from /proc/cpuinfo):

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 2
model name : AMD Athlon(tm) Processor
stepping : 1
cpu MHz : 798.478
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1592.52

[7.3.] Module information (from /proc/modules):

sr_mod 13008 0 (autoclean)
cdrom 27136 0 (autoclean) [sr_mod]
trident 26768 0
ac97_codec 9088 0 [trident]
soundcore 3344 2 [trident]
af_packet 11808 0 (autoclean)

[7.4.] Loaded driver and hardware information (/proc/ioports,
/proc/iomem)

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0400-040f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
0cf8-0cff : PCI conf1
6000-607f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
8000-8fff : PCI Bus #01
c000-c0ff : Symbios Logic Inc. (formerly NCR) 53c875
  c000-c07f : sym53c8xx
cc00-ccff : Trident Microsystems 4DWave NX
  cc00-ccff : Trident 4DWave NX
d000-d07f : Digital Equipment Corporation DECchip 21140 [FasterNet]
  d000-d07f : tulip
d400-d403 : Advanced Micro Devices [AMD] AMD-751 [Irongate] System
Controller
d800-d8ff : Symbios Logic Inc. (formerly NCR) 53c875 (#2)
  d800-d87f : sym53c8xx
ffa0-ffaf : VIA Technologies, Inc. Bus Master IDE
  ffa0-ffa7 : ide0
  ffa8-ffaf : ide1

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-07feffff : System RAM
  00100000-001fd54d : Kernel code
  001fd54e-002499f7 : Kernel data
07ff0000-07ff7fff : ACPI Tables
07ff8000-07ffffff : ACPI Non-volatile Storage
e9c00000-e9cfffff : PCI Bus #01
ea000000-ebffffff : Advanced Micro Devices [AMD] AMD-751 [Irongate]
System Controller
eddff000-eddfffff : Advanced Micro Devices [AMD] AMD-751 [Irongate]
System Controller
ede00000-efefffff : PCI Bus #01
  ee800000-eeffffff : Texas Instruments TVP4020 [Permedia 2]
  ef000000-ef7fffff : Texas Instruments TVP4020 [Permedia 2]
  efee0000-efefffff : Texas Instruments TVP4020 [Permedia 2]
efffc000-efffcfff : Symbios Logic Inc. (formerly NCR) 53c875
efffd000-efffdfff : Trident Microsystems 4DWave NX
efffe000-efffefff : Symbios Logic Inc. (formerly NCR) 53c875 (#2)
effffd00-effffdff : Symbios Logic Inc. (formerly NCR) 53c875
effffe80-effffeff : Digital Equipment Corporation DECchip 21140
[FasterNet]
  effffe80-effffeff : tulip
efffff00-efffffff : Symbios Logic Inc. (formerly NCR) 53c875 (#2)
ffff0000-ffffffff : reserved

[7.5.] PCI information ('lspci -vvv' as root)

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate]
System Controller (rev 25)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at ea000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at eddff000 (32-bit, prefetchable) [size=4K]
        Region 2: I/O ports at d400 [disabled] [size=4]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=15 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP
Bridge (rev 01) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00008000-00008fff
        Memory behind bridge: ede00000-efefffff
        Prefetchable memory behind bridge: e9c00000-e9cfffff
        BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

00:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140
[FasterNet] (rev 22)
        Subsystem: Netgear FA310TX Fast Ethernet
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (5000ns min, 10000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at d000 [size=128]
        Region 1: Memory at effffe80 (32-bit, non-prefetchable)
[size=128]
        Expansion ROM at eff80000 [disabled] [size=256K]

00:06.0 Multimedia audio controller: Trident Microsystems 4DWave NX (rev
02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (500ns min, 1250ns max)
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at cc00 [size=256]
        Region 1: Memory at efffd000 (32-bit, non-prefetchable)
[size=4K]
        Capabilities: [48] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 1b)
        Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping+ SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
(prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 4: I/O ports at ffa0 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev
20)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

00:09.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR)
53c875 (rev 14)
        Subsystem: Diamond Multimedia Systems FirePort 40 Dual SCSI
Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+
Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 144 (4250ns min, 16000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at c000 [size=256]
        Region 1: Memory at effffd00 (32-bit, non-prefetchable)
[size=256]
        Region 2: Memory at efffc000 (32-bit, non-prefetchable)
[size=4K]
        Expansion ROM at effd0000 [disabled] [size=64K]

00:09.1 SCSI storage controller: Symbios Logic Inc. (formerly NCR)
53c875 (rev 14)
        Subsystem: Diamond Multimedia Systems FirePort 40 Dual SCSI
Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+
Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 144 (4250ns min, 16000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at d800 [size=256]
        Region 1: Memory at efffff00 (32-bit, non-prefetchable)
[size=256]
        Region 2: Memory at efffe000 (32-bit, non-prefetchable)
[size=4K]
        Expansion ROM at <unassigned> [disabled] [size=64K]

01:05.0 Display controller: Texas Instruments TVP4020 [Permedia 2] (rev
01)
        Subsystem: LeadTek Research Inc.: Unknown device 2633
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (48000ns min, 48000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at efee0000 (32-bit, non-prefetchable)
[size=128K]
        Region 1: Memory at ef000000 (32-bit, non-prefetchable)
[size=8M]
        Region 2: Memory at ee800000 (32-bit, non-prefetchable)
[size=8M]
        Expansion ROM at efed0000 [disabled] [size=64K]
        Capabilities: [40] AGP version 1.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

[7.6.] SCSI information (from /proc/scsi/scsi)

Attached devices:
Host: scsi1 Channel: 00 Id: 05 Lun: 00
  Vendor: NEC Model: CD-ROM DRIVE:464 Rev: 1.05
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: RICOH Model: MP6200S Rev: 2.40
  Type: CD-ROM ANSI SCSI revision: 02

[7.7.] Other information that might be relevant to the problem
       (please look in /proc and include all information that you
       think to be relevant):

See 09-23 for my config file for working setup. Remove SysRQ (last bad
run I left it out) and make sound and trident modules. Symbols attached
are that of the bad kernel. (config and symbols available upon request
since LKM filtered my message with them).

[X.] Other notes, patches, fixes, workarounds:

Just make trident and sound a module.





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:19 EST