mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.12 vs. /sbin/cardmgr
@ 2005-07-09  5:12 Bob Tracy
  2005-07-10 18:46 ` Dominik Brodowski
  0 siblings, 1 reply; 8+ messages in thread
From: Bob Tracy @ 2005-07-09  5:12 UTC (permalink / raw)
  To: linux-pcmcia; +Cc: linux-kernel

I've got a Mandrake 10.0 system with a 2.6.12 kernel presently.
Somewhere between 2.6.11 and 2.6.12, /sbin/cardmgr from the
pcmcia-cs-3.2.5-3mdk package decided it needs to consume incredible
amounts of CPU time when invoked the first time following a boot.
You can definitely notice the load on the system.

Stopping cardmgr requires a "kill -9": softer kills are ignored.
Restarting cardmgr produces the following output:

cardmgr[3731]: watching 2 sockets
cardmgr[3731]: could not adjust resource: IO ports 0xc00-0xcff: Device or resource busy
cardmgr[3731]: could not adjust resource: IO ports 0x100-0x4ff: Device or resource busy
cardmgr[3731]: could not adjust resource: memory 0xc0000-0xfffff: Input/output error
cardmgr[3731]: could not adjust resource: memory 0x60000000-0x60ffffff: Input/output error
cardmgr[3731]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Input/output error
cardmgr[3731]: could not adjust resource: IO ports 0x1000-0x1fff: Device or resource busy
cardmgr[3731]: could not adjust resource: IO ports 0xa00-0xaff: Device or resource busy

But at least it doesn't seem to be running around in tight circles at
this point :-).

System is a Dell Latitude CPxJ notebook that continues to work fine
with 2.6.11 and older kernels.  Any idea what changed between 2.6.11
and 2.6.12 that might be causing this problem?  I can probably provide
more info on request.

As usual, thanks in advance.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

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

* Re: 2.6.12 vs. /sbin/cardmgr
  2005-07-09  5:12 2.6.12 vs. /sbin/cardmgr Bob Tracy
@ 2005-07-10 18:46 ` Dominik Brodowski
  2005-07-10 20:37   ` Bob Tracy
  0 siblings, 1 reply; 8+ messages in thread
From: Dominik Brodowski @ 2005-07-10 18:46 UTC (permalink / raw)
  To: Bob Tracy; +Cc: linux-pcmcia, linux-kernel

Hi,

On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
> I've got a Mandrake 10.0 system with a 2.6.12 kernel presently.
> Somewhere between 2.6.11 and 2.6.12, /sbin/cardmgr from the
> pcmcia-cs-3.2.5-3mdk package decided it needs to consume incredible
> amounts of CPU time when invoked the first time following a boot.
> You can definitely notice the load on the system.
> 
> Stopping cardmgr requires a "kill -9": softer kills are ignored.
> Restarting cardmgr produces the following output:
> 
> cardmgr[3731]: watching 2 sockets
> cardmgr[3731]: could not adjust resource: IO ports 0xc00-0xcff: Device or resource busy
> cardmgr[3731]: could not adjust resource: IO ports 0x100-0x4ff: Device or resource busy
> cardmgr[3731]: could not adjust resource: memory 0xc0000-0xfffff: Input/output error
> cardmgr[3731]: could not adjust resource: memory 0x60000000-0x60ffffff: Input/output error
> cardmgr[3731]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Input/output error
> cardmgr[3731]: could not adjust resource: IO ports 0x1000-0x1fff: Device or resource busy
> cardmgr[3731]: could not adjust resource: IO ports 0xa00-0xaff: Device or resource busy
> 
> But at least it doesn't seem to be running around in tight circles at
> this point :-).
> 
> System is a Dell Latitude CPxJ notebook that continues to work fine
> with 2.6.11 and older kernels.  Any idea what changed between 2.6.11
> and 2.6.12 that might be causing this problem?  I can probably provide
> more info on request.

Please post the output of "lspci" and "lsmod" as I'd like to know which
kind of PCMCIA bridge is in your notebook.

	Dominik

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

* Re: 2.6.12 vs. /sbin/cardmgr
  2005-07-10 18:46 ` Dominik Brodowski
@ 2005-07-10 20:37   ` Bob Tracy
  2005-07-15 17:23     ` Dominik Brodowski
  0 siblings, 1 reply; 8+ messages in thread
From: Bob Tracy @ 2005-07-10 20:37 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: linux-pcmcia, linux-kernel

Dominik Brodowski wrote:
> On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
> > (/sbin/cardmgr chewing up lots of CPU cycles with 2.6.12 kernel)
> 
> Please post the output of "lspci" and "lsmod" as I'd like to know which
> kind of PCMCIA bridge is in your notebook.

====-- lspci -v --====

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
	Flags: bus master, medium devsel, latency 32
	Memory at f4000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 1.0

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, medium devsel, latency 32
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: fc000000-feffffff

00:03.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
	Subsystem: Dell Computer Corporation: Unknown device 00bb
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 10100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 10400000-107ff000 (prefetchable)
	Memory window 1: 10800000-10bff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	16-bit legacy interface ports at 0001

00:03.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
	Subsystem: Dell Computer Corporation: Unknown device 00bb
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 10101000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
	Memory window 0: 10c00000-10fff000 (prefetchable)
	Memory window 1: 11000000-113ff000
	I/O window 0: 00004800-000048ff
	I/O window 1: 00004c00-00004cff
	16-bit legacy interface ports at 0001

00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
	Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
	Flags: bus master, medium devsel, latency 32
	I/O ports at 0860 [size=16]

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
	Flags: bus master, medium devsel, latency 32, IRQ 11
	I/O ports at dce0 [size=32]

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
	Flags: medium devsel, IRQ 9

00:08.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 10)
	Subsystem: Dell Computer Corporation: Unknown device 00bb
	Flags: bus master, medium devsel, latency 32, IRQ 5
	I/O ports at d800 [size=256]
	Memory at faffe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [c0] Power Management version 2

01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64) (prog-if 00 [VGA])
	Subsystem: Dell Computer Corporation: Unknown device 00bb
	Flags: bus master, stepping, medium devsel, latency 32, IRQ 11
	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	I/O ports at ec00 [size=256]
	Memory at fcfff000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [50] AGP version 1.0
	Capabilities: [5c] Power Management version 1

06:00.0 Ethernet controller: Galileo Technology Ltd.: Unknown device 1fa6 (rev 07)
	Subsystem: D-Link System Inc: Unknown device 3b08
	Flags: bus master, 66Mhz, medium devsel, latency 168, IRQ 11
	Memory at 11000000 (32-bit, non-prefetchable) [size=64K]
	Memory at 11010000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 2

====-- lsmod --====
Module                  Size  Used by
parport_pc             37252  1 
lp                     12132  0 
parport                39048  2 parport_pc,lp
irda                  132120  0 
crc_ccitt               1984  1 irda
snd_seq_oss            37376  0 
snd_seq_midi_event      8320  1 snd_seq_oss
snd_seq                61552  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8876  2 snd_seq_oss,snd_seq
snd_pcm_oss            62784  0 
snd_mixer_oss          21440  1 snd_pcm_oss
snd_maestro3           24836  0 
snd_ac97_codec         85432  1 snd_maestro3
snd_pcm               107012  3 snd_pcm_oss,snd_maestro3,snd_ac97_codec
snd_timer              27972  2 snd_seq,snd_pcm
snd_page_alloc         10564  1 snd_pcm
snd                    61060  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_maestro3,snd_ac97_codec,snd_pcm,snd_timer
soundcore              10272  1 snd
ide_cd                 44196  0 
cdrom                  42752  1 ide_cd
pcmcia                 28552  2 
yenta_socket           23720  3 
rsrc_nonstatic         13952  1 yenta_socket
pcmcia_core            52580  3 pcmcia,yenta_socket,rsrc_nonstatic
driverloader          337488  0 
intel_agp              23708  1 
agpgart                36648  1 intel_agp
uhci_hcd               34384  0 
usbcore               127100  3 driverloader,uhci_hcd
genrtc                 10440  0 
joydev                  9952  0 
evdev                   9408  0 

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

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

* Re: 2.6.12 vs. /sbin/cardmgr
  2005-07-10 20:37   ` Bob Tracy
@ 2005-07-15 17:23     ` Dominik Brodowski
  2005-07-16  4:01       ` Bob Tracy
  0 siblings, 1 reply; 8+ messages in thread
From: Dominik Brodowski @ 2005-07-15 17:23 UTC (permalink / raw)
  To: Bob Tracy; +Cc: linux-pcmcia, linux-kernel

Hi,

On Sun, Jul 10, 2005 at 03:37:22PM -0500, Bob Tracy wrote:
> Dominik Brodowski wrote:
> > On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
> > > (/sbin/cardmgr chewing up lots of CPU cycles with 2.6.12 kernel)
> > 
> > Please post the output of "lspci" and "lsmod" as I'd like to know which
> > kind of PCMCIA bridge is in your notebook.

OK, it's a plain TI1225. Could you try whether the bug is still existent in
2.6.13-rc3, please?

Thanks,
	Dominik

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

* Re: 2.6.12 vs. /sbin/cardmgr
  2005-07-15 17:23     ` Dominik Brodowski
@ 2005-07-16  4:01       ` Bob Tracy
  0 siblings, 0 replies; 8+ messages in thread
From: Bob Tracy @ 2005-07-16  4:01 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: linux-pcmcia, linux-kernel

Dominik Brodowski wrote:
> On Sun, Jul 10, 2005 at 03:37:22PM -0500, Bob Tracy wrote:
> > Dominik Brodowski wrote:
> > > On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
> > > > (/sbin/cardmgr chewing up lots of CPU cycles with 2.6.12 kernel)
> > > 
> > > Please post the output of "lspci" and "lsmod" as I'd like to know which
> > > kind of PCMCIA bridge is in your notebook.
> 
> OK, it's a plain TI1225. Could you try whether the bug is still existent in
> 2.6.13-rc3, please?

2.6.13-rc3 works fine here.  The "cardmgr" process is no longer chewing
up lots of CPU time, and otherwise seems to be working correctly.  Thanks!

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

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

* Re: 2.6.12 vs. /sbin/cardmgr
  2005-07-16 16:36 Bob Tracy
  2005-07-16 21:28 ` Dominik Brodowski
@ 2005-07-17  2:30 ` Grant Coady
  1 sibling, 0 replies; 8+ messages in thread
From: Grant Coady @ 2005-07-17  2:30 UTC (permalink / raw)
  To: Bob Tracy; +Cc: linux, linix-pcmcia, linux-kernel

On Sat, 16 Jul 2005 11:36:45 -0500 (CDT), rct@gherkin.frus.com (Bob Tracy) wrote:

>rct wrote:
>> Dominik Brodowski wrote:
>> > On Sun, Jul 10, 2005 at 03:37:22PM -0500, Bob Tracy wrote:
>> > > Dominik Brodowski wrote:
>> > > > On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
>> > > > > (/sbin/cardmgr chewing up lots of CPU cycles with 2.6.12 kernel)
>> > > > 
>> > > > Please post the output of "lspci" and "lsmod" as I'd like to know which
>> > > > kind of PCMCIA bridge is in your notebook.
>> > 
>> > OK, it's a plain TI1225. Could you try whether the bug is still existent in
>> > 2.6.13-rc3, please?
>> 
>> 2.6.13-rc3 works fine here.  The "cardmgr" process is no longer chewing
>> up lots of CPU time, and otherwise seems to be working correctly.  Thanks!
>
>I spoke too soon :-(.  The first boot on 2.6.13-rc3 was fine.  Every
>boot since then has reflected no change relative to the 2.6.12 behavior.
>The "cardmgr" process racks up CPU time almost as fast as time
>elapses: it's at the top of the "top" list.

I turned off cardmgr for 2.6, CardBus works without it on slackware 
'cos pciutils is patched to provide a helper, what is 'correct' way 
to test this?  

Toshiba laptop with ToPIC100 bridge, currently not working for 
PCCard 16-bit things because I turned off cardmgr.  CardBus NIC 
works in 2.4 + 2.6 series.

--Grant.



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

* Re: 2.6.12 vs. /sbin/cardmgr
  2005-07-16 16:36 Bob Tracy
@ 2005-07-16 21:28 ` Dominik Brodowski
  2005-07-17  2:30 ` Grant Coady
  1 sibling, 0 replies; 8+ messages in thread
From: Dominik Brodowski @ 2005-07-16 21:28 UTC (permalink / raw)
  To: Bob Tracy; +Cc: linix-pcmcia, linux-kernel

Hi!

On Sat, Jul 16, 2005 at 11:36:45AM -0500, Bob Tracy wrote:
> rct wrote:
> > Dominik Brodowski wrote:
> > > On Sun, Jul 10, 2005 at 03:37:22PM -0500, Bob Tracy wrote:
> > > > Dominik Brodowski wrote:
> > > > > On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
> > > > > > (/sbin/cardmgr chewing up lots of CPU cycles with 2.6.12 kernel)
> > > > > 
> > > > > Please post the output of "lspci" and "lsmod" as I'd like to know which
> > > > > kind of PCMCIA bridge is in your notebook.
> > > 
> > > OK, it's a plain TI1225. Could you try whether the bug is still existent in
> > > 2.6.13-rc3, please?
> > 
> > 2.6.13-rc3 works fine here.  The "cardmgr" process is no longer chewing
> > up lots of CPU time, and otherwise seems to be working correctly.  Thanks!
> 
> I spoke too soon :-(.  The first boot on 2.6.13-rc3 was fine.  Every
> boot since then has reflected no change relative to the 2.6.12 behavior.
> The "cardmgr" process racks up CPU time almost as fast as time
> elapses: it's at the top of the "top" list.

Can you send me a dmesg of 2.6.13-rc3, please?

Thanks,
	Dominik

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

* Re: 2.6.12 vs. /sbin/cardmgr
@ 2005-07-16 16:36 Bob Tracy
  2005-07-16 21:28 ` Dominik Brodowski
  2005-07-17  2:30 ` Grant Coady
  0 siblings, 2 replies; 8+ messages in thread
From: Bob Tracy @ 2005-07-16 16:36 UTC (permalink / raw)
  To: linux; +Cc: linix-pcmcia, linux-kernel

rct wrote:
> Dominik Brodowski wrote:
> > On Sun, Jul 10, 2005 at 03:37:22PM -0500, Bob Tracy wrote:
> > > Dominik Brodowski wrote:
> > > > On Sat, Jul 09, 2005 at 12:12:17AM -0500, Bob Tracy wrote:
> > > > > (/sbin/cardmgr chewing up lots of CPU cycles with 2.6.12 kernel)
> > > > 
> > > > Please post the output of "lspci" and "lsmod" as I'd like to know which
> > > > kind of PCMCIA bridge is in your notebook.
> > 
> > OK, it's a plain TI1225. Could you try whether the bug is still existent in
> > 2.6.13-rc3, please?
> 
> 2.6.13-rc3 works fine here.  The "cardmgr" process is no longer chewing
> up lots of CPU time, and otherwise seems to be working correctly.  Thanks!

I spoke too soon :-(.  The first boot on 2.6.13-rc3 was fine.  Every
boot since then has reflected no change relative to the 2.6.12 behavior.
The "cardmgr" process racks up CPU time almost as fast as time
elapses: it's at the top of the "top" list.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

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

end of thread, other threads:[~2005-07-17  2:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-09  5:12 2.6.12 vs. /sbin/cardmgr Bob Tracy
2005-07-10 18:46 ` Dominik Brodowski
2005-07-10 20:37   ` Bob Tracy
2005-07-15 17:23     ` Dominik Brodowski
2005-07-16  4:01       ` Bob Tracy
2005-07-16 16:36 Bob Tracy
2005-07-16 21:28 ` Dominik Brodowski
2005-07-17  2:30 ` Grant Coady

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

all inboxes | Powered by JetHome®