--- Begin Message ---
Package: PCMCIA
Version: 2.6.8.1
Hi friends
I have a problem loading the yenta_socket.ko under
"Linux winter-lnx 2.6.8.1 #2 Fri Oct 8 00:11:44 PDT
2004 i686 i686 i386 GNU/Linux". From dmesg outtput it
gave me an error like
" Unable to handle kernel NULL pointer dereference at
virtual address 00000008" Can anyone give me some
pointer on why I'm seeing this error?
Thanks in advance,
Todd Nguyen
============== Output from dmesg ===========
Linux Kernel Card Services
options: [pci] [cardbus]
PCI: Found IRQ 11 for device 0000:02:01.0
PCI: Sharing IRQ 11 with 0000:00:1d.1
PCI: Sharing IRQ 11 with 0000:02:01.1
Yenta: CardBus bridge found at 0000:02:01.0
[1028:011d]
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000820
PCI: Found IRQ 11 for device 0000:02:01.1
PCI: Sharing IRQ 11 with 0000:00:1d.1
PCI: Sharing IRQ 11 with 0000:02:01.0
Yenta: CardBus bridge found at 0000:02:01.1
[1028:011d]
Yenta: ISA IRQ mask 0x06b8, PCI irq 11
Socket status: 30000410
Unable to handle kernel NULL pointer dereference at
virtual address 00000008
printing eip:
c017d8bb
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: yenta_socket pcmcia_core radeon
agpgart autofs4 tg3 microcode ide_scsi ide_cd cdrom
CPU: 0
EIP: 0060:[<c017d8bb>] Not tainted
EFLAGS: 00010292 (2.6.8.1)
EIP is at sysfs_add_file+0x1b/0xb0
eax: 00000000 ebx: f7f4c8c0 ecx: c0334e08 edx:
f7f4c900
esi: f7f4c880 edi: 00000000 ebp: c02ff0dc esp:
f4921e64
ds: 007b es: 007b ss: 0068
Process pccardd (pid: 27091, threadinfo=f4920000
task=f4d91420)
Stack: c02ff060 c01ed3f9 f7f4c900 f7f4c8c0 f7f4c880
f7f4c980 00000004 c01ecf63
00000000 c02ff0dc c01c9003 f7f4c8f8 c02ff0dc
00000000 00000004 f7012000
00000000 00000004 00000000 c01c92a6 f7f4c980
f7012000 00000004 00000004
Call Trace:
[<c01ed3f9>] class_device_add+0x129/0x140
[<c01ecf63>] class_device_create_file+0x23/0x30
[<c01c9003>] pci_alloc_child_bus+0x93/0xe0
[<c01c92a6>] pci_scan_bridge+0x206/0x240
[<c01c9959>] pci_scan_child_bus+0xa9/0xb0
[<c01c9263>] pci_scan_bridge+0x1c3/0x240
[<f898b17e>] cb_alloc+0xde/0xf0 [pcmcia_core]
[<f8987d99>] socket_insert+0xd9/0x170 [pcmcia_core]
[<f8988048>] socket_detect_change+0x58/0x90
[pcmcia_core]
[<f89881fd>] pccardd+0x17d/0x1f0 [pcmcia_core]
[<c0110920>] default_wake_function+0x0/0x20
[<c0110920>] default_wake_function+0x0/0x20
[<f8988080>] pccardd+0x0/0x1f0 [pcmcia_core]
[<c0104065>] kernel_thread_helper+0x5/0x10
Code: 8b 47 08 8d 48 68 ff 48 68 0f 88 a0 01 00 00 8b
45 00 89 3c
=lspci -vv output after yenta_socket module install ==
======================================================
Control: I/O- Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Region 0: Memory at e0000000 (32-bit,
prefetchable) [size=128M]
Capabilities: <available only to root>
00:01.0 PCI bridge: Intel Corp. 82855PM Processor to
AGP Controller (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Bus: primary=00, secondary=01, subordinate=01,
sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fc000000-fdffffff
Prefetchable memory behind bridge:
e8000000-efffffff
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort-
>Reset- FastB2B-
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub
#1) (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
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
Interrupt: pin A routed to IRQ 11
Region 4: I/O ports at bf80 [size=32]
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub
#2) (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
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
Interrupt: pin B routed to IRQ 11
Region 4: I/O ports at bf40 [size=32]
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub
#3) (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
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
Interrupt: pin C routed to IRQ 11
Region 4: I/O ports at bf20 [size=32]
00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev
01) (prog-if 20 [EHCI])
Subsystem: Dell Computer Corporation: Unknown
device 011d
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
Interrupt: pin D routed to IRQ 11
Region 0: Memory at f4fffc00 (32-bit,
non-prefetchable) [size=1K]
Capabilities: <available only to root>
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI
Bridge (rev 81) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 0
Bus: primary=00, secondary=02, subordinate=02,
sec-latency=32
I/O behind bridge: 0000d000-0000efff
Memory behind bridge: f6000000-fbffffff
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort-
>Reset- FastB2B-
00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface
Controller (rev 01)
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:1f.1 IDE interface: Intel Corp. 82801DBM Ultra ATA
Storage Controller (rev 01) (prog-if 8a [Master SecP
PriP])
Subsystem: Intel Corp.: Unknown device 4541
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
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at <ignored>
Region 1: I/O ports at <ignored>
Region 2: I/O ports at <ignored>
Region 3: I/O ports at <ignored>
Region 4: I/O ports at bfa0 [size=16]
Region 5: Memory at 40000000 (32-bit,
non-prefetchable) [size=1K]
00:1f.5 Multimedia audio controller: Intel Corp.
82801DB AC'97 Audio Controller (rev 01)
Subsystem: Dell Computer Corporation: Unknown
device 011d
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
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at b800 [size=256]
Region 1: I/O ports at bc40 [size=64]
Region 2: Memory at f4fff800 (32-bit,
non-prefetchable) [size=512]
Region 3: Memory at f4fff400 (32-bit,
non-prefetchable) [size=256]
Capabilities: <available only to root>
01:00.0 VGA compatible controller: ATI Technologies
Inc Radeon R250 Lf [Radeon Mobility 9000 M9] (rev 02)
(prog-if 00 [VGA])
Subsystem: Dell Computer Corporation: Unknown
device 011d
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 (2000ns min), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e8000000 (32-bit,
prefetchable) [size=128M]
Region 1: I/O ports at c000 [size=256]
Region 2: Memory at fcff0000 (32-bit,
non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled]
[size=128K]
Capabilities: <available only to root>
02:00.0 Ethernet controller: Broadcom Corporation
NetXtreme BCM5705M Gigabit Ethernet (rev 01)
Subsystem: Dell Computer Corporation: Unknown
device 865d
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 (16000ns min), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at faff0000 (64-bit,
non-prefetchable) [size=64K]
Capabilities: <available only to root>
02:01.0 CardBus bridge: O2 Micro, Inc.: Unknown device
7113 (rev 20)
Subsystem: Dell Computer Corporation: Unknown
device 011d
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr-
DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 40001000 (32-bit,
non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06,
sec-latency=176
Memory window 0: 40400000-407ff000
(prefetchable)
Memory window 1: 40800000-40bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort-
>Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001
02:01.1 CardBus bridge: O2 Micro, Inc.: Unknown device
7113 (rev 20)
Subsystem: Dell Computer Corporation: Unknown
device 011d
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr-
DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 40002000 (32-bit,
non-prefetchable) [size=4K]
Bus: primary=02, secondary=07, subordinate=0a,
sec-latency=176
Memory window 0: 40c00000-40fff000
(prefetchable)
Memory window 1: 41000000-413ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort-
>Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
==========================================================
Hardware attached to the CardBus controller which is
pci-to-pci bridge.
======================================================
Hi,
I would recommend a) upgrading to the latest 2.6.9-rc*
kernel and
seeing
if it still happens, and b) following the instructions
here:
<http://kerneltrap.org/node/view/3648> if you want to
debug it
yourself.
The kernel team isn't prepared to debug problems in
unreleased kernels,
as we've got enough on our hands making released
kernels stable. :)
If it turns out that this problem occurs in our 2.6.8
packages, feel
free to open a bug; however, I'm going to close this
one since we don't
support 2.6.9-rc*.
--=20
Andres Salomon <dilinger@voxel.net>
--- End Message ---
--- Begin Message ---
- To: 275582-done@bugs.debian.org
- Cc: todd nguyen <toddnguyen@yahoo.com>
- Subject: Re: Oops in loading cardbus bridge drivers in kernel version 2.6.8.1
- From: Moritz Muehlenhoff <jmm@inutil.org>
- Date: Sat, 25 Jul 2009 11:25:10 +0200
- Message-id: <20090725092510.GA26335@galadriel.inutil.org>
- In-reply-to: <20081224151835.GA4259@galadriel.inutil.org>
- References: <20041008232139.20406.qmail@web11205.mail.yahoo.com> <20081224151835.GA4259@galadriel.inutil.org>
On Wed, Dec 24, 2008 at 04:18:35PM +0100, Moritz Muehlenhoff wrote:
> On Fri, Oct 08, 2004 at 04:21:39PM -0700, todd nguyen wrote:
> > Package: PCMCIA
> > Version: 2.6.8.1
> >
> >
> > Hi friends
> > I have a problem loading the yenta_socket.ko under
> > "Linux winter-lnx 2.6.8.1 #2 Fri Oct 8 00:11:44 PDT
> > 2004 i686 i686 i386 GNU/Linux". From dmesg outtput it
> > gave me an error like
> > " Unable to handle kernel NULL pointer dereference at
> > virtual address 00000008" Can anyone give me some
> > pointer on why I'm seeing this error?
>
> Does this error still occur with more recent kernel versions?
No further feedback, closing the bug.
If anyone reencounters the problem, please reopen this bug.
Cheers,
Moritz
--- End Message ---