public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* oops on 2.4.20-pre5-ac2
@ 2002-09-09 18:28 Dan Eaton
  2002-09-09 20:28 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Eaton @ 2002-09-09 18:28 UTC (permalink / raw)
  To: linux-kernel

Encountered the following oops on pre5-ac2:

--------------------------------------------------------------------
ALI15X3: IDE controller at PCI slot 00:0f.0
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
Unable to handle kernel NULL pointer dereference at virtual address
00000024
 printing eip:
c031f886
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c031f886>]    Not tainted
EFLAGS: 00010086
eax: 00000000   ebx: 00000246   ecx: 80007848   edx: 00000cff
esi: dffebf1b   edi: dffe0c00   ebp: 00000000   esp: dffebf18
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, stackpage=dffeb000)
Stack: c1329ee8 dffe0c00 c0299a4f c038f0f0 c0329ee8 c01d9837 dffe0c00
c0299a4f
       00000000 0000000e 00000001 00000000 c037fa20 00000001 00000000
dffe0c00
       c038e7a0 c038ec30 0008e000 c01d9a47 dffebf78 dffe0c00 c0329ee8
00000001
Call Trace:    [<c01d9837>] [<c01d9a47>] [<c0105000>] [<c0105078>]
[<c0105000>]
  [<c0105676>] [<c0105050>]

Code: 66 81 7d 24 b9 10 74 04 53 9d eb 54 56 a1 cc 15 39 c0 6a 79
 <0>Kernel panic: Attempted to kill init!

(c031f886 is at offset 0xb6 in the init_chipset_ali15x3() in
drivers/ide/pci/alim15x3.c.  I may be wrong but it appears that the
struct pci_dev *north pointer is the issue.)
--------------------------------------------------------------------


Did not see this problem on the straight 2.4.20-pre5 patch.
Unfortunately, the "ac" patch has some ide fixes that I need to correct
some 24 vs 48 bit addressing issues.  Anyone else seeing this issue?  I
would be glad to provide more information if needed.  Please CC me
personally on replies.


Below is the output of 'lspci -v -x' on my system:


00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge
[Aladdin IV]
        Subsystem: Unknown device 1749:1010
        Flags: bus master, medium devsel, latency 0
        Capabilities: [a0] Power Management version 1
00: b9 10 33 15 0f 00 10 02 00 00 01 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 17 10 10
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00

00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 08)
        Subsystem: Unknown device 1749:2010
        Flags: bus master, medium devsel, latency 66, IRQ 11
        Memory at fe800000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 1000 [size=64]
        Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at <unassigned> [disabled] [size=1M]
        Capabilities: [dc] Power Management version 2
00: 86 80 29 12 17 00 90 02 08 00 00 02 08 42 00 00
10: 00 00 80 fe 01 10 00 00 00 00 90 fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 17 10 20
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 08 38

00:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 08)
        Subsystem: Unknown device 1749:2010
        Flags: bus master, medium devsel, latency 66, IRQ 10
        Memory at fe801000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 1040 [size=64]
        Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at <unassigned> [disabled] [size=1M]
        Capabilities: [dc] Power Management version 2
00: 86 80 29 12 17 00 90 02 08 00 00 02 08 42 00 00
10: 00 10 80 fe 41 10 00 00 00 00 a0 fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 17 10 20
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0a 01 08 38

00:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100]
(rev 08)
        Subsystem: Unknown device 1749:2010
        Flags: bus master, medium devsel, latency 66, IRQ 7
        Memory at fe802000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 1080 [size=64]
        Memory at feb00000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at <unassigned> [disabled] [size=1M]
        Capabilities: [dc] Power Management version 2
00: 86 80 29 12 17 00 90 02 08 00 00 02 08 42 00 00
10: 00 20 80 fe 81 10 00 00 00 00 b0 fe 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 17 10 20
30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 08 38

00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c3)
(prog-if fa)
        Subsystem: Unknown device 1749:1020
        Flags: bus master, medium devsel, latency 64, IRQ 14
        I/O ports at 10c0 [size=16]
        Capabilities: [60] Power Management version 2
00: b9 10 29 52 05 00 90 02 c3 fa 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: c1 10 00 00 00 00 00 00 00 00 00 00 49 17 20 10
30: 00 00 00 00 60 00 00 00 00 00 00 00 0e 01 02 04

00:11.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU
        Subsystem: Unknown device 1749:1040
        Flags: medium devsel
00: b9 10 01 71 00 00 00 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 17 40 10
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:14.0 PCI bridge: Crucial Technology: Unknown device 3330 (rev 03)
(prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
        Capabilities: [40] Power Management version 2
        Capabilities: [50] PCI-X non-bridge device.
00: 44 13 30 33 17 00 b0 02 03 00 04 06 08 40 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 44 f0 00 a0 22
20: f0 ff 00 00 f0 ff 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 04 00

00:18.0 Host bridge: Crucial Technology: Unknown device 3320 (rev 03)
        Subsystem: Micron: Unknown device 1042
        Flags: bus master, 66Mhz, medium devsel, latency 32
00: 44 13 20 33 07 01 a0 02 03 00 00 06 08 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 42 10 42 10
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:18.1 RAM memory: Crucial Technology: Unknown device 3321 (rev 03)
        Subsystem: Micron: Unknown device 1042
        Flags: 66Mhz, medium devsel
00: 44 13 21 33 02 00 a0 02 03 00 00 05 08 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 42 10 42 10
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



Thanks,

Dan

-- 
Dan Eaton



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oops on 2.4.20-pre5-ac2
  2002-09-09 18:28 oops on 2.4.20-pre5-ac2 Dan Eaton
@ 2002-09-09 20:28 ` Alan Cox
  2002-09-09 21:51   ` Dan Eaton
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2002-09-09 20:28 UTC (permalink / raw)
  To: Dan Eaton; +Cc: linux-kernel

Thats a very very strange machine 8). Your diagnosis is correct. We are
assuming conventional PC north bridge behaviour. I take it this is your
blade systems. 

As far as I can make out from the ALi docs you can't get an ALi north
bridge at anywhere but 0:0.0 in which case making the check

       if(north && north->vendor == ...)

should do the trick.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oops on 2.4.20-pre5-ac2
  2002-09-09 20:28 ` Alan Cox
@ 2002-09-09 21:51   ` Dan Eaton
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Eaton @ 2002-09-09 21:51 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel


On Mon, 2002-09-09 at 15:28, Alan Cox wrote:
> Thats a very very strange machine 8). Your diagnosis is correct. We are
> assuming conventional PC north bridge behaviour. I take it this is your
> blade systems. 
Your diagnosis is correct.  This is one of our blade servers. :)
> 
> As far as I can make out from the ALi docs you can't get an ALi north
> bridge at anywhere but 0:0.0 in which case making the check
> 
>        if(north && north->vendor == ...)
> 
> should do the trick.
Our north bridge is a Micron north bridge (see lspci output below).  As
you can see it is not in the "expected" pci bus location.  The fix you
listed above did the trick as you expected.  The server booted fine,
but (there's always a but).....the two drives came up in PIO mode and 
could not even be forced (hdparm -d1 /dev/hd?) into DMA mode.  Looking
at dmesg, I got the following message associated with IDE
configuration:

     ALi15x3:  simplex device with no drives: DMA disabled

The __init ide_get_or_set_dma_base() function in
drivers/ide/setup-pci.c is generating this error.  I noticed in the
source code a "FIXME" comment that seemed to indicate the problem I was
having is a potential shortcoming in the current implementation.  I 
added the PCI_DEVICE_ID_AL_M5229 (my IDE controller) as a case to the
switch construct and this seemed to fix me completely up.  Both drives
came up in udma4 mode (as expected).  My contribution to the "FIXME"
effort would be to suggest that this mod be maded to this function (but
I'm no ide expert).

Thanks for your help,

Dan

lscpi output:

00:18.0 Host bridge: Crucial Technology: Unknown device 3320 (rev 03)
        Subsystem: Micron: Unknown device 1042
        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, cache line size 08
00: 44 13 20 33 07 01 a0 02 03 00 00 06 08 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 42 10 42 10
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 07 00 00 00 38 00 00 80 ff 00 00 00 03 00 00 00
50: 94 00 01 00 00 00 10 01 00 00 00 00 02 30 20 22
60: 00 00 ff 0f 00 00 ff 0f 00 00 ff 0f f0 f0 ec 0f
70: a8 8c 47 8b 00 00 20 00 20 00 20 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 f4 82 9c c0
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 5b 36 04 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 02 42 00 00 00 00 00 00 03 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 80 00 00 00 80 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: fc 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00


-- 
Dan Eaton
RLX Technologies, Inc.
25231 Grogan's Mill Rd - Suite 600
The Woodlands, TX 77380
281.863.2100 Main
281.863.2126 Direct
281.863.2104 Fax
dan.eaton@rlxtechnologies.com
http://www.rlxtechnologies.com 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-09 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-09 18:28 oops on 2.4.20-pre5-ac2 Dan Eaton
2002-09-09 20:28 ` Alan Cox
2002-09-09 21:51   ` Dan Eaton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox