lkml.org 
[lkml]   [2004]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.8.1: System hangs on shutdown, trying to stop pcmcia services. Maybe ISDN/Hisax related.
Hi,

running SuSE9.1 with kernel 2.6.8.1 on a HP/Omnibook 6100. Problem is
that shutdown/reboot hangs while trying to stop the PCMCIA card
services. Sysrq-E lets the shutdown/reboot complete.

Last working kernel version is (for me) 2.6.6 or 2.6.6-mm5. I reported
this problem a few times already, but got no feedback.

So, I tried to find a few more bits of information. Seems I can
reproduce the problem by just doing "/etc/init.d/pcmcia stop".

mkn5833l1:~ # /etc/init.d/pcmcia stop
Shutting down PCMCIA
-> Hangs forever


Doing a "ps" in another windows shows:


0 0 10810 10791 19 0 2528 1204 wait4 S+ pts/6 0:00
/bin/bash /etc/init.d/pcmcia stop
4 0 10819 10810 19 0 1364 424 handle S+ pts/6 0:00
/sbin/cardctl eject
4 0 10980 1689 22 0 2816 1284 pipe_w S ? 0:00
hwscan --pcmcia
0 0 10983 10980 22 0 2296 984 wait4 S ? 0:00 sh
-c /sbin/cardctl ident 2>/dev/null
4 0 10984 10983 22 0 1368 432 text.l D ? 0:00
/sbin/cardctl ident

Seems that "cardctl ident" is in D state. Sysrq-T for the process
shows:

cardctl D 00000015 2104 10984 10983 (NOTLB)
dca44c74 00000082 00000000 00000015 00000000 00000064 d4ceaef0 001e8480
dc914b00 000f4231 d3b66ac8 dd6b3d84 00000001 dca44000 dca44cb0
c02fbf9c
dd6b3d8c d3b66920 00000001 d3b66920 c0118180 dd6b3d8c dd6b3d8c
dca44ed8
Call Trace:
[<c02fbf9c>] __down+0x8c/0x130
[<c02fc1a3>] __down_failed+0xb/0x14
[<e0f0780e>] .text.lock.rsrc_mgr+0x19/0xeb [pcmcia_core]
[<e0eccf6d>] ds_ioctl+0x1cd/0x650 [ds]
[<c0166b61>] sys_ioctl+0x1e1/0x280
[<c0105e47>] syscall_call+0x7/0xb


In the messgaes file I find the following messages as a result of
stopping PCMCIA:

Aug 17 10:42:00 mkn5833l1 cardmgr[1689]: executing: './isdn stop A1
2>&1'
Aug 17 10:42:00 mkn5833l1 cardmgr[1689]: + ippp1
Aug 17 10:42:01 mkn5833l1 ipppd[2656]: Terminating on signal 15.
Aug 17 10:42:01 mkn5833l1 ipppd[2656]: closing fd 7 from unit 0
Aug 17 10:42:01 mkn5833l1 ipppd[2656]: link 0 closed , linkunit: 0
Aug 17 10:42:01 mkn5833l1 ipppd[2656]: Exit.
Aug 17 10:42:01 mkn5833l1 kernel: ippp_ccp: freeing reset data
structure dd026800
Aug 17 10:42:01 mkn5833l1 cardmgr[1689]: + ippp0
Aug 17 10:42:01 mkn5833l1 ipppd[2506]: Terminating on signal 15.
Aug 17 10:42:01 mkn5833l1 ipppd[2506]: closing fd 7 from unit 0
Aug 17 10:42:01 mkn5833l1 kernel: ippp_ccp: freeing reset data
structure ddb40800
Aug 17 10:42:01 mkn5833l1 ipppd[2506]: link 0 closed , linkunit: 0
Aug 17 10:42:01 mkn5833l1 ipppd[2506]: Exit.
Aug 17 10:42:01 mkn5833l1 cardmgr[1689]: + Unloading ISDN driver .
hisax..failed
Aug 17 10:42:01 mkn5833l1 kernel: HiSax module removed
Aug 17 10:42:01 mkn5833l1 kernel: ISDN-subsystem unloaded
Aug 17 10:49:34 mkn5833l1 kernel: spurious 8259A interrupt: IRQ7.
Aug 17 10:53:43 mkn5833l1 kernel: 0454780 dfbfbe20

So, I suspect a problem with the ISDN subsystem or the HiSax driver.

.config and lspci appended.

Cheers
Martin

mkn5833l1:/var/log # lspci -v
0000:00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge
(rev 02)
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable)
Capabilities: [40] #09 [0105]
Capabilities: [a0] AGP version 2.0

0000:00:01.0 PCI bridge: Intel Corp. 82830 830 Chipset AGP Bridge (rev
02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 96
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d0100000-d01fffff
Prefetchable memory behind bridge: d8000000-dfffffff
Expansion ROM at 00002000 [disabled] [size=4K]

0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev
01) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at 1800 [size=32]

0000:00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 41)
(prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d0200000-d02fffff

0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 01)
Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 01)
(prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 1820 [size=16]
Memory at d0000000 (32-bit, non-prefetchable) [size=1K]

0000:00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller (rev 01)
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: medium devsel, IRQ 10
I/O ports at 1840 [size=32]

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon
Mobility M6 LY (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, stepping, fast Back2Back, 66Mhz, medium
devsel, latency 66, IRQ 10
Memory at d8000000 (32-bit, prefetchable)
I/O ports at 2000 [size=256]
Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

0000:02:03.0 Multimedia audio controller: ESS Technology ES1988
Allegro-1 (rev 12)
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 3000
Capabilities: [c0] Power Management version 2

0000:02:04.0 Communication controller: Lucent Microelectronics LT
WinModem (rev 02)
Subsystem: AMBIT Microsystem Corp.: Unknown device 0450
Flags: medium devsel, IRQ 10
Memory at d0201000 (32-bit, non-prefetchable)
I/O ports at 3840 [size=8]
I/O ports at 3400 [size=256]
Capabilities: [f8] Power Management version 2

0000:02:05.0 CardBus bridge: Texas Instruments PCI1420
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 20000000 (32-bit, non-prefetchable)
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 20400000-207ff000 (prefetchable)
Memory window 1: 20800000-20bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001

0000:02:05.1 CardBus bridge: Texas Instruments PCI1420
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 20001000 (32-bit, non-prefetchable)
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: 20c00000-20fff000 (prefetchable)
Memory window 1: 21000000-213ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001

0000:02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100
VM (KM) Ethernet Controller (rev 41)
Subsystem: Hewlett-Packard Company: Unknown device 001a
Flags: bus master, medium devsel, latency 66, IRQ 10
Memory at d0200000 (32-bit, non-prefetchable)
I/O ports at 3800 [size=64]
Capabilities: [dc] Power Management version 2

=====
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.040 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site