Bug 13925

Summary: BUG: unable to handle kernel paging request at 41509d64
Product: IO/Storage Reporter: Kai Wasserbäch (debian)
Component: AIOAssignee: Badari Pulavarty (pbadari)
Status: CLOSED OBSOLETE    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.30.4 Subsystem:
Regression: No Bisected commit-id:

Description Kai Wasserbäch 2009-08-06 01:21:01 UTC
While watching a short film with mplayer, I got the following:
BUG: unable to handle kernel paging request at 41509d64
IP: [<c015a1cd>] find_get_page+0x3d/0xb0
*pde = 00000000
Oops: 0000 [#1]
last sysfs file: /sys/devices/pci0000:00/0000:00:01.1/i2c-adapter/i2c-1/name
Modules linked in: radeon drm ipv6 af_packet aes_i586 aes_generic sd_mod scsi_mod psmouse snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss joydev snd_pcm snd_page_alloc snd_util_mem snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device emu10k1_gp gameport usbhid snd soundcore pcspkr button processor ext3 jbd ohci_hcd ohci1394 nvidia_agp ieee1394 ide_cd_mod cdrom ehci_hcd usbcore agpgart thermal fan thermal_sys unix

Pid: 3759, comm: mplayer Not tainted (2.6.30.4-cabal #1) A7N8X-X
EIP: 0060:[<c015a1cd>] EFLAGS: 00210203 CPU: 0
EIP is at find_get_page+0x3d/0xb0
EAX: 41509d5f EBX: 41509d60 ECX: 41509d60 EDX: 00000000
ESI: f6515edc EDI: f35fed0c EBP: d6542ce4 ESP: f6515e38
 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Process mplayer (pid: 3759, ti=f6514000 task=f653c000 task.ti=f6514000)
Stack:
 d6542ce8 f6515ea8 00000211 41509d60 00000000 f6515edc 00000001 d6542ce4
 c015bdb0 00000001 14bdd6c2 0000395f 00211000 00000000 f6515f60 f3313580
 00000000 f6515f24 00000000 00000000 00000210 00000212 f33135c0 d6542c3c
Call Trace:
 [<c015bdb0>] ? generic_file_aio_read+0x1f0/0x690
 [<c01806a5>] ? do_sync_read+0xd5/0x120
 [<c0133250>] ? autoremove_wake_function+0x0/0x50
 [<c0261653>] ? tty_write+0x1a3/0x1e0
 [<c01de11c>] ? security_file_permission+0xc/0x10
 [<c018074a>] ? rw_verify_area+0x5a/0xd0
 [<c01805d0>] ? do_sync_read+0x0/0x120
 [<c018132d>] ? vfs_read+0x9d/0x140
 [<c01814a1>] ? sys_read+0x41/0x80
 [<c0102d44>] ? sysenter_do_call+0x12/0x22
Code: b4 26 00 00 00 00 8b 54 24 08 8b 04 24 e8 4c 5b 0b 00 85 c0 89 c7 74 66 8b 18 f6 c3 01 75 e7 8d 43 ff 89 5c 24 0c 83 f8 fd 77 db <8b> 53 04 85 d2 74 d4 8d 42 01 8d 73 04 89 44 24 04 89 d0 8b 6c
EIP: [<c015a1cd>] find_get_page+0x3d/0xb0 SS:ESP 0068:f6515e38
CR2: 0000000041509d64
---[ end trace 301922c48df410cd ]---

It sounds somewhat like #13364, but no video driver is mentioned in the trace and I2C is, so I thought it to be better to open a new bug report. If it's the same issue, feel free to merge them.

I'm running a vanilla 2.6.30.4, no patches applied.

lspci -vvv output:
$ lspci -vvv  
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device 80ac         
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0                                                                                           
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]                                       
        Capabilities: <access denied>                                                                        
        Kernel driver in use: agpgart-nvidia                                                                 

00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 0 (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device 80ac                       
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 

00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device 80ac                       
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 

00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device 80ac                       
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 

00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device 80ac                       
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 

00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
        Subsystem: ASUSTeK Computer Inc. Device 80ac                       
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 

00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
        Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard          
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0                                                                                           
        Capabilities: <access denied>                                                                        

00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 0c11          
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Interrupt: pin A routed to IRQ 12                                                                    
        Region 0: I/O ports at e000 [size=32]                                                                
        Capabilities: <access denied>                                                                        
        Kernel driver in use: nForce2_smbus                                                                  

00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard                                      
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0 (750ns min, 250ns max)                                                                    
        Interrupt: pin A routed to IRQ 20                                                                    
        Region 0: Memory at e7001000 (32-bit, non-prefetchable) [size=4K]                                    
        Capabilities: <access denied>                                                                        
        Kernel driver in use: ohci_hcd                                                                       

00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard                                      
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0 (750ns min, 250ns max)                                                                    
        Interrupt: pin B routed to IRQ 22                                                                    
        Region 0: Memory at e7002000 (32-bit, non-prefetchable) [size=4K]                                    
        Capabilities: <access denied>                                                                        
        Kernel driver in use: ohci_hcd                                                                       

00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard                                      
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0 (750ns min, 250ns max)                                                                    
        Interrupt: pin C routed to IRQ 21                                                                    
        Region 0: Memory at e7003000 (32-bit, non-prefetchable) [size=256]                                   
        Capabilities: <access denied>                                                                        
        Kernel driver in use: ehci_hcd                                                                       

00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard onboard nForce2 Ethernet   
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0 (250ns min, 5000ns max)                                                                   
        Interrupt: pin A routed to IRQ 22                                                                    
        Region 0: Memory at e7000000 (32-bit, non-prefetchable) [size=4K]                                    
        Region 1: I/O ports at e400 [size=8]                                                                 
        Capabilities: <access denied>                                                                        
        Kernel driver in use: forcedeth                                                                      

00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0                                                                                           
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32                                        
        I/O behind bridge: 0000c000-0000cfff                                                                 
        Memory behind bridge: e6000000-e6ffffff                                                              
        Prefetchable memory behind bridge: fff00000-000fffff                                                 
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+     
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-                                        
                PriDiscTmr- SecDiscTmr+ DiscTmrStat- DiscTmrSERREn-                                          

00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if 8a [Master SecP PriP])
        Subsystem: ASUSTeK Computer Inc. Device 0c11                                          
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0 (750ns min, 250ns max)                                                                    
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]                           
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]                           
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]                           
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]                           
        Region 4: I/O ports at f000 [size=16]                                                                
        Capabilities: <access denied>                                                                        
        Kernel driver in use: AMD_IDE                                                                        

00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32                                                                                           
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: e4000000-e5ffffff
        Prefetchable memory behind bridge: d0000000-dfffffff
        Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

01:08.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
        Subsystem: Creative Labs Device 1008
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (500ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at c000 [size=64]
        Capabilities: <access denied>
        Kernel driver in use: EMU10K1_Audigy

01:08.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
        Subsystem: Creative Labs SB Audigy2 MIDI/Game Port
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32
        Region 0: I/O ports at c400 [size=8]
        Capabilities: <access denied>
        Kernel driver in use: Emu10k1_gameport

01:08.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04) (prog-if 10 [OHCI])
        Subsystem: Creative Labs SB Audigy FireWire Port
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (500ns min, 1000ns max), Cache Line Size: 32 bytes
        Interrupt: pin B routed to IRQ 19
        Region 0: Memory at e6004000 (32-bit, non-prefetchable) [size=2K]
        Region 1: Memory at e6000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: ohci1394

02:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 NE [Radeon 9500 Pro] (prog-if 00 [VGA controller])
        Subsystem: ATI Technologies Inc Radeon R300 NE [Radeon 9500 Pro]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 32 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at d000 [size=256]
        Region 2: Memory at e5000000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at e4000000 [disabled] [size=128K]
        Capabilities: <access denied>

02:00.1 Display controller: ATI Technologies Inc Radeon R300 [Radeon 9500 Pro] (Secondary)
        Subsystem: ATI Technologies Inc Radeon R300 NE [Radeon 9500 Pro]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Region 0: Memory at d8000000 (32-bit, prefetchable) [disabled] [size=128M]
        Region 1: Memory at e5010000 (32-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: <access denied>

If you should need further information, feel free to ask me for it.

Kind regards,
Kai Wasserbäch
Comment 1 Jean Delvare 2009-08-29 19:53:18 UTC
The only reference to i2c is the last sysfs file. I'm not even sure why mplayer would read i2c adapter names.

How reproducible is this bug?

Does a mere "cat /sys/devices/pci0000:00/0000:00:01.1/i2c-adapter/i2c-1/name" trigger it?
Comment 2 Kai Wasserbäch 2009-08-30 13:20:14 UTC
It's not very reproducible, it happend from time to time with random clips and actually, it seems to have gone away since 2.6.30.5, therefore I would be ok with closing this bug.

No, »cat /sys/devices/pci0000:00/0000:00:01.1/i2c-adapter/i2c-1/name« doesn't trigger it.

Thank you for looking into this!

Kind regards,
Kai Wasserbäch
Comment 3 Jean Delvare 2009-08-30 14:16:54 UTC
This doesn't look like an I2C issue, so I'm moving it to a more suitable product.