* [Bug 1068] New: Errors when loading airo module
@ 2003-08-10 14:07 Martin J. Bligh
2003-08-10 15:33 ` Russell King
0 siblings, 1 reply; 6+ messages in thread
From: Martin J. Bligh @ 2003-08-10 14:07 UTC (permalink / raw)
To: linux-kernel; +Cc: kernelbugzilla
http://bugme.osdl.org/show_bug.cgi?id=1068
Summary: Errors when loading airo module
Kernel Version: 2.6.0-test3
Status: NEW
Severity: normal
Owner: rmk@arm.linux.org.uk
Submitter: kernelbugzilla@kuntnet.org
Distribution: Red Hat 9
Hardware Environment: Dell Inspiron 7500 P3-600. Cisco Aironet AIR-PCM340.
Software Environment:
Problem Description:
Steps to reproduce:
Insert card ... voila
Aug 10 00:53:52 hordurlap cardmgr[878]: socket 1: Aironet PC4800
Aug 10 00:53:52 hordurlap cardmgr[878]: executing: 'modprobe airo_cs'
Aug 10 00:53:52 hordurlap kernel: airo: Probing for PCI adapters
Aug 10 00:53:52 hordurlap kernel: kobject_register failed for airo (-17)
Aug 10 00:53:52 hordurlap kernel: Call Trace:
Aug 10 00:53:52 hordurlap kernel: [<c01b9eb0>] kobject_register+0x50/0x60
Aug 10 00:53:52 hordurlap kernel: [<c0210482>] bus_add_driver+0x52/0xb0
Aug 10 00:53:52 hordurlap kernel: [<c021092f>] driver_register+0x2f/0x40
Aug 10 00:53:52 hordurlap kernel: [<c018d793>] create_proc_entry+0x83/0xd0
Aug 10 00:53:52 hordurlap kernel: [<c01c0f42>] pci_register_driver+0x72/0xa0
Aug 10 00:53:52 hordurlap kernel: [<d08b00d3>] airo_init_module+0xd3/0xfa [airo]
Aug 10 00:53:52 hordurlap kernel: [<c013a92c>] sys_init_module+0x12c/0x250
Aug 10 00:53:52 hordurlap kernel: [<c010b349>] sysenter_past_esp+0x52/0x71
Aug 10 00:53:52 hordurlap kernel:
Aug 10 00:53:52 hordurlap kernel: airo: Finished probing for PCI adapters
Aug 10 00:53:52 hordurlap kernel: airo_cs: RequestIRQ: Unsupported mode
Aug 10 00:53:53 hordurlap cardmgr[878]: get dev info on socket 1 failed:
Resource temporarily unavailable
If i then take it out and try to reinsert it, I only get RequestIRQ: Unsupported
mode. If I then try it once again I get the oops.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [Bug 1068] New: Errors when loading airo module 2003-08-10 14:07 [Bug 1068] New: Errors when loading airo module Martin J. Bligh @ 2003-08-10 15:33 ` Russell King 2003-08-12 8:46 ` Rob Landley 0 siblings, 1 reply; 6+ messages in thread From: Russell King @ 2003-08-10 15:33 UTC (permalink / raw) To: Martin J. Bligh; +Cc: linux-kernel, kernelbugzilla On Sun, Aug 10, 2003 at 07:07:02AM -0700, Martin J. Bligh wrote: > http://bugme.osdl.org/show_bug.cgi?id=1068 > > Summary: Errors when loading airo module > Kernel Version: 2.6.0-test3 > Status: NEW > Severity: normal > Owner: rmk@arm.linux.org.uk > Submitter: kernelbugzilla@kuntnet.org This needs to go to the airo maintainers, not me - the oops is caused by buggy airo.c. The IRQ problem is the result of bad configuration - you must enable CONFIG_ISA if you're going to use non-Cardbus PCMCIA cards. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bug 1068] New: Errors when loading airo module 2003-08-10 15:33 ` Russell King @ 2003-08-12 8:46 ` Rob Landley 2003-08-12 11:32 ` Russell King 0 siblings, 1 reply; 6+ messages in thread From: Rob Landley @ 2003-08-12 8:46 UTC (permalink / raw) To: Russell King, Martin J. Bligh; +Cc: linux-kernel, kernelbugzilla On Sunday 10 August 2003 11:33, Russell King wrote: > On Sun, Aug 10, 2003 at 07:07:02AM -0700, Martin J. Bligh wrote: > > http://bugme.osdl.org/show_bug.cgi?id=1068 > > > > Summary: Errors when loading airo module > > Kernel Version: 2.6.0-test3 > > Status: NEW > > Severity: normal > > Owner: rmk@arm.linux.org.uk > > Submitter: kernelbugzilla@kuntnet.org > > This needs to go to the airo maintainers, not me - the oops is caused > by buggy airo.c. > > The IRQ problem is the result of bad configuration - you must enable > CONFIG_ISA if you're going to use non-Cardbus PCMCIA cards. Do you mean something like: --- linux-2.6.0-test3/drivers/pcmcia/Kconfig 2003-08-09 00:39:25.000000000 -0400 +++ temp/drivers/pcmcia/Kconfig 2003-08-12 04:44:03.000000000 -0400 @@ -86,7 +86,7 @@ config PCMCIA_SA1100 tristate "SA1100 support" - depends on ARM && ARCH_SA1100 && PCMCIA + depends on ARM && ARCH_SA1100 && PCMCIA && ISA help Say Y here to include support for SA11x0-based PCMCIA or CF sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/ @@ -96,7 +96,7 @@ config PCMCIA_SA1111 tristate "SA1111 support" - depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA + depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA && ISA help Say Y here to include support for SA1111-based PCMCIA or CF sockets, found on the Jornada 720, Graphicsmaster and other Rob ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bug 1068] New: Errors when loading airo module 2003-08-12 8:46 ` Rob Landley @ 2003-08-12 11:32 ` Russell King 2003-08-12 11:38 ` Rob Landley 0 siblings, 1 reply; 6+ messages in thread From: Russell King @ 2003-08-12 11:32 UTC (permalink / raw) To: Rob Landley; +Cc: Martin J. Bligh, linux-kernel, kernelbugzilla On Tue, Aug 12, 2003 at 04:46:56AM -0400, Rob Landley wrote: > On Sunday 10 August 2003 11:33, Russell King wrote: > > On Sun, Aug 10, 2003 at 07:07:02AM -0700, Martin J. Bligh wrote: > > > http://bugme.osdl.org/show_bug.cgi?id=1068 > > > > > > Summary: Errors when loading airo module > > > Kernel Version: 2.6.0-test3 > > > Status: NEW > > > Severity: normal > > > Owner: rmk@arm.linux.org.uk > > > Submitter: kernelbugzilla@kuntnet.org > > > > This needs to go to the airo maintainers, not me - the oops is caused > > by buggy airo.c. > > > > The IRQ problem is the result of bad configuration - you must enable > > CONFIG_ISA if you're going to use non-Cardbus PCMCIA cards. > > Do you mean something like: No. Its legal to enable PCMCIA without ISA. The patch below is wrong in any case - the SA11xx stuff should not depend on ISA. > --- linux-2.6.0-test3/drivers/pcmcia/Kconfig 2003-08-09 00:39:25.000000000 -0400 > +++ temp/drivers/pcmcia/Kconfig 2003-08-12 04:44:03.000000000 -0400 > @@ -86,7 +86,7 @@ > > config PCMCIA_SA1100 > tristate "SA1100 support" > - depends on ARM && ARCH_SA1100 && PCMCIA > + depends on ARM && ARCH_SA1100 && PCMCIA && ISA > help > Say Y here to include support for SA11x0-based PCMCIA or CF > sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/ > @@ -96,7 +96,7 @@ > > config PCMCIA_SA1111 > tristate "SA1111 support" > - depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA > + depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA && ISA > help > Say Y here to include support for SA1111-based PCMCIA or CF > sockets, found on the Jornada 720, Graphicsmaster and other > > Rob > > -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bug 1068] New: Errors when loading airo module 2003-08-12 11:32 ` Russell King @ 2003-08-12 11:38 ` Rob Landley 2003-08-12 12:07 ` Russell King 0 siblings, 1 reply; 6+ messages in thread From: Rob Landley @ 2003-08-12 11:38 UTC (permalink / raw) To: Russell King; +Cc: Martin J. Bligh, linux-kernel, kernelbugzilla On Tuesday 12 August 2003 07:32, Russell King wrote: > On Tue, Aug 12, 2003 at 04:46:56AM -0400, Rob Landley wrote: > > On Sunday 10 August 2003 11:33, Russell King wrote: > > > On Sun, Aug 10, 2003 at 07:07:02AM -0700, Martin J. Bligh wrote: > > > > http://bugme.osdl.org/show_bug.cgi?id=1068 > > > > > > > > Summary: Errors when loading airo module > > > > Kernel Version: 2.6.0-test3 > > > > Status: NEW > > > > Severity: normal > > > > Owner: rmk@arm.linux.org.uk > > > > Submitter: kernelbugzilla@kuntnet.org > > > > > > This needs to go to the airo maintainers, not me - the oops is caused > > > by buggy airo.c. > > > > > > The IRQ problem is the result of bad configuration - you must enable > > > CONFIG_ISA if you're going to use non-Cardbus PCMCIA cards. > > > > Do you mean something like: > > No. Its legal to enable PCMCIA without ISA. > > The patch below is wrong in any case - the SA11xx stuff should not depend > on ISA. Okay, so which non-Cardbus PCMCIA slections, which are not legal to enable without CONFIG_ISA, are missing a kconfig dependency on CONFIG_ISA? (I guessed it was the ARM specific ones, but it was just a guess...) Or are you suggesting they didn't run make oldconfig? Rob ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bug 1068] New: Errors when loading airo module 2003-08-12 11:38 ` Rob Landley @ 2003-08-12 12:07 ` Russell King 0 siblings, 0 replies; 6+ messages in thread From: Russell King @ 2003-08-12 12:07 UTC (permalink / raw) To: Rob Landley; +Cc: Martin J. Bligh, linux-kernel, kernelbugzilla On Tue, Aug 12, 2003 at 07:38:00AM -0400, Rob Landley wrote: > Okay, so which non-Cardbus PCMCIA slections, which are not legal to enable > without CONFIG_ISA, are missing a kconfig dependency on CONFIG_ISA? (I > guessed it was the ARM specific ones, but it was just a guess...) If you have PCMCIA enabled, but CONFIG_ISA disabled and it discovers that you have ISA interrupts, then Bad Things Will Happen. Howver, if you have PCMCIA enabled and it doesn't find any ISA interrupts, we couldn't care less about the setting of CONFIG_ISA. We should probably force the per-socket irq_mask to zero if CONFIG_ISA isn't set... I'll look into that once the hot weather has abaited. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-08-12 12:09 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-08-10 14:07 [Bug 1068] New: Errors when loading airo module Martin J. Bligh 2003-08-10 15:33 ` Russell King 2003-08-12 8:46 ` Rob Landley 2003-08-12 11:32 ` Russell King 2003-08-12 11:38 ` Rob Landley 2003-08-12 12:07 ` Russell King
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox