From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270764AbTHCUxU (ORCPT ); Sun, 3 Aug 2003 16:53:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271007AbTHCUxU (ORCPT ); Sun, 3 Aug 2003 16:53:20 -0400 Received: from mtiwmhc13.worldnet.att.net ([204.127.131.117]:457 "EHLO mtiwmhc13.worldnet.att.net") by vger.kernel.org with ESMTP id S270764AbTHCUw5 (ORCPT ); Sun, 3 Aug 2003 16:52:57 -0400 From: jt.holmes@att.net To: linux-kernel@vger.kernel.org Subject: Pcmcia Insertion causes Scheduler to hard Loop Date: Sun, 03 Aug 2003 20:52:54 +0000 X-Mailer: AT&T Message Center Version 1 (Jul 29 2003) X-Authenticated-Sender: anQuaG9sbWVzQGF0dC5uZXQ= Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This post may be a little long but to the best of my knowledge it follows the entire posting script rules, which say to include 99% of the following I only have dial-up line so cannot take the lkml feed, but just post the reply in the lkml and I will look for it, but a CC would also be nice. jt Problem: 2.6.0-test1 w/gregs 2.6.0-test2 pci patches (8 of them) Insert Pcmcia card attached to external IDE drive enclosure and scheduler goes into an unstoppable hard loop. Description: DnBoy Pcmcia card attached to IDE enclosure, with 12G Toshiba 2.5 inch drive, worked fine in 2.4.18-3 (RH) and did not encounter this problem until 2.6.0-test1 I can see some of what is happening in kernel/sched.c, but it is a little too deep for me just yet. Did apply Greg's pci patches 01 thru 08 Latest July, 2003 Output captured and is at the end of this post. cat /proc/version Linux version 2.6.0-test3 (root@jtlin60) (gcc version 2.95.3 20010315 (release)) #1 Sun Aug 3 07:14:31 EDT 2003 OOPS No oops, this is not that sort of problem Output of ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux jtlin60 2.6.0-test3 #1 Sun Aug 3 07:14:31 EDT 2003 i686 unknown Gnu C 2.95.3 Gnu make 3.79.1 util-linux 2.11n mount 2.11n e2fsprogs 1.27 reiserfsprogs 3.x.0j pcmcia-cs 3.1.22 quota-tools 3.01. PPP 2.4.1 isdn4k-utils 3.1pre1 Linux C Library 2.2.5 Dynamic linker (ldd) 2.2.5 Procps 2.0.7 Net-tools 1.60 Console-tools 0.3.3 Sh-utils 2.0.11 Modules Loaded binfmt_misc ds yenta_socket pcmcia_core parport_pc parport Output of cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 361.530 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 684.03 Output of cat /proc/modules binfmt_misc 7816 0 - Live 0xcc894000 ds 10464 4 - Live 0xcc8ad000 yenta_socket 9696 1 - Live 0xcc890000 pcmcia_core 54208 2 ds,yenta_socket, Live 0xcc8b9000 parport_pc 22436 0 - Live 0xcc8a1000 parport 33408 1 parport_pc, Live 0xcc897000 Output of cat /proc/ioports 0000-001f : dma1 0020-0021 : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : Lucent Microelectron 56k WinModem 0376-0376 : ide1 0378-037a : parport0 037b-037f : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 0cf8-0cff : PCI conf1 1000-10ff : PCI CardBus #02 1000-107f : 3Com Corporation 3CCFE575CT Cyclone C 1400-14ff : PCI CardBus #02 1800-18ff : PCI CardBus #06 1c00-1cff : Lucent Microelectron 56k WinModem 2000-20ff : PCI CardBus #06 fe00-fe3f : Intel Corp. 82371AB/EB/MB PIIX4 fe60-fe7f : Intel Corp. 82371AB/EB/MB PIIX4 fefc-feff : Yamaha Corporation YMF-744B [DS-1S Audi ff00-ff3f : Yamaha Corporation YMF-744B [DS-1S Audi ff60-ff7f : Toshiba America Info FIR Port Type-DO ff80-ff9f : Intel Corp. 82371AB/EB/MB PIIX4 fff0-ffff : Intel Corp. 82371AB/EB/MB PIIX4 fff0-fff7 : ide0 fff8-ffff : ide1 Output of cat /proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000e8000-000ebfff : reserved 000f0000-000fffff : System ROM 00100000-0bfdffff : System RAM 00100000-0023d76f : Kernel code 0023d770-002e417f : Kernel data 0bfe0000-0bfeffff : ACPI Tables 0bff0000-0bffffff : reserved 10000000-10000fff : Toshiba America Info ToPIC95 PCI to Cardb 10001000-10001fff : Toshiba America Info ToPIC95 PCI to Cardb (#2) 100a0000-100b6dff : reserved 100b6e00-100b6fff : ACPI Non-volatile Storage 100b7000-100fffff : reserved 10400000-107fffff : PCI CardBus #02 10400000-1041ffff : 3Com Corporation 3CCFE575CT Cyclone C 10800000-10bfffff : PCI CardBus #02 10800000-1080007f : 3Com Corporation 3CCFE575CT Cyclone C 10800080-108000ff : 3Com Corporation 3CCFE575CT Cyclone C 10c00000-10ffffff : PCI CardBus #06 11000000-113fffff : PCI CardBus #06 e0000000-e7ffffff : Intel Corp. 440BX/ZX/DX - 82443B efff8000-efffffff : Yamaha Corporation YMF-744B [DS-1S Audi f0000000-f7ffffff : PCI Bus #01 f0000000-f7ffffff : S3 Inc. 86C270-294 Savage/MX ffefff00-ffefffff : Lucent Microelectron 56k WinModem fff80000-ffffffff : reserved Output of lspci -vvv 00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03) Subsystem: Toshiba America Info Systems Toshiba Tecra 8100 Laptop System Chipset Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (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=medium >TAbort- SERR- Reset- FastB2B+ 00:05.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- 16bInt- PostWrite+ 16-bit legacy interface ports at 0001 00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 20) Subsystem: Toshiba America Info Systems: Unknown device 0001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- SERR- Reset- 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02) Subsystem: Toshiba America Info Systems: Unknown device 0001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- 02:00.0 Ethernet controller: 3Com Corporation 3CCFE575CT Cyclone CardBus (rev 10) Subsystem: 3Com Corporation FE575C-3Com 10/100 LAN CardBus-Fast Ethernet Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 1 Aug 3 07:42:02 jtlin60 kernel: hde: 23579136 sectors (12073 MB), CHS=23392/16/63 Aug 3 07:42:02 jtlin60 kernel: hde:<3>bad: scheduling while atomic! Aug 3 07:42:02 jtlin60 kernel: Call Trace: Aug 3 07:42:02 jtlin60 kernel: [] schedule+0x2d/0x2ec Aug 3 07:42:02 jtlin60 kernel: [] blk_run_queues+0x68/0x7c Aug 3 07:42:02 jtlin60 kernel: [] io_schedule+0xe/0x18 Aug 3 07:42:02 jtlin60 kernel: [] __wait_on_buffer+0x98/0xb0 Aug 3 07:42:02 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:02 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:02 jtlin60 kernel: [] sync_dirty_buffer+0x7f/0x90 Aug 3 07:42:02 jtlin60 kernel: [] journal_commit_transaction+0x9b9/0xe30 Aug 3 07:42:02 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:02 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:02 jtlin60 kernel: [] update_wall_time+0xd/0x38 Aug 3 07:42:03 jtlin60 kernel: [] do_timer+0x4d/0xec Aug 3 07:42:03 jtlin60 kernel: [] timer_interrupt+0x1f/0x100 Aug 3 07:42:03 jtlin60 kernel: [] do_softirq+0x51/0xac Aug 3 07:42:03 jtlin60 kernel: [] do_IRQ+0xdd/0xf0 Aug 3 07:42:03 jtlin60 kernel: [] default_wake_function+0x16/0x18 Aug 3 07:42:03 jtlin60 kernel: [] schedule+0x285/0x2ec Aug 3 07:42:03 jtlin60 kernel: [] kjournald+0xa7/0x1c8 Aug 3 07:42:03 jtlin60 kernel: [] kjournald+0x0/0x1c8 Aug 3 07:42:04 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:04 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:04 jtlin60 kernel: [] commit_timeout+0x0/0x10 Aug 3 07:42:04 jtlin60 kernel: [] kernel_thread_helper+0x5/0xc Aug 3 07:42:02 jtlin60 cardmgr[641]: executing: './ide start hde' Aug 3 07:42:04 jtlin60 kernel: Aug 3 07:42:04 jtlin60 kernel: bad: scheduling while atomic! Aug 3 07:42:04 jtlin60 kernel: Call Trace: Aug 3 07:42:05 jtlin60 kernel: [] schedule+0x2d/0x2ec Aug 3 07:42:05 jtlin60 kernel: [] kjournald+0x166/0x1c8 Aug 3 07:42:05 jtlin60 kernel: [] kjournald+0x0/0x1c8 Aug 3 07:42:05 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:05 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:05 jtlin60 kernel: [] commit_timeout+0x0/0x10 Aug 3 07:42:05 jtlin60 kernel: [] kernel_thread_helper+0x5/0xc Aug 3 07:42:06 jtlin60 kernel: Aug 3 07:42:06 jtlin60 kernel: ke_function+0x0/0x38 Aug 3 07:42:06 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:06 jtlin60 kernel: [] journal_commit_transaction+0x757/0xe30 Aug 3 07:42:06 jtlin60 kernel: [] __print_symbol+0x103/0x110 Aug 3 07:42:06 jtlin60 kernel: [] vt_console_print+0x2b0/0x2c4 Aug 3 07:42:07 jtlin60 kernel: [] __call_console_drivers+0x3b/0x50 Aug 3 07:42:07 jtlin60 kernel: [] _call_console_drivers+0x50/0x58 Aug 3 07:42:07 jtlin60 kernel: [] call_console_drivers+0xdc/0xe4 Aug 3 07:42:07 jtlin60 kernel: [] release_console_sem+0x31/0x8c Aug 3 07:42:07 jtlin60 kernel: [] printk+0xff/0x110 Aug 3 07:42:07 jtlin60 kernel: [] show_trace+0x84/0x8c Aug 3 07:42:07 jtlin60 kernel: [] schedule+0x285/0x2ec Aug 3 07:42:08 jtlin60 kernel: [] kjournald+0xa7/0x1c8 Aug 3 07:42:08 jtlin60 kernel: [] kjournald+0x0/0x1c8 Aug 3 07:42:08 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:08 jtlin60 kernel: [] autoremove_wake_function+0x0/0x38 Aug 3 07:42:08 jtlin60 kernel: [] commit_timeout+0x0/0x10 Aug 3 07:42:08 jtlin60 kernel: [] kernel_thread_helper+0x5/0xc Aug 3 07:42:08 jtlin60 kernel: Aug 3 07:42:09 jtlin60 kernel: bad: scheduling while atomic! Aug 3 07:42:09 jtlin60 kernel: Call Trace: Aug 3 07:42:09 jtlin60 kernel: [] schedule+0x2d/0x2ec Aug 3 07:42:09 jtlin60 kernel: [] blk_run_queues+0x68/0x7c Aug 3 07:42:09 jtlin60 kernel: [] io_sc