From owner-freebsd-current Tue Oct 16 2:46: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from teletubbie.het.net.je (teletubbie.het.net.je [192.87.110.29]) by hub.freebsd.org (Postfix) with ESMTP id 50C0D37B407 for ; Tue, 16 Oct 2001 02:45:45 -0700 (PDT) Received: by teletubbie.het.net.je (Postfix, from userid 500) id D1CFD1B251; Tue, 16 Oct 2001 11:45:43 +0200 (CEST) To: current@freebsd.org Subject: pcmcia cdrom/irq sharing problem? Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline X-Mutt-Fcc: =current Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I've just upgraded my system to today's -CURRENT (I was running a -CURRENT from April 2001). Although I encountered some problems, the UPDATING file got me through (I love the way FreeBSD documents stuff) and my system is running fine (background fsck, great!) except for my PCMCIA CDROM player. I have a Sony VAIO Z600 laptop by the way. I was hoping somebody can point me in the right direction (searching the web/mailinglist archives didn't help). My CDROM player was always correctly identified with my previous install as NinjaATA on irq 3 (slot 0 on pccard0). After the upgrade, it is recognised, but assigned irq 9 (which is not in pccard.conf) after which the system hangs until the card is removed. This irq is (and was) shared with fxp0, pcm0. I've turned off PnP in the BIOS to no avail. I've tried a NEWCARD kernel, which does not even recognise the card. My PCMCIA wireless card works fine (also on irq 9). Attached are kernel messages when inserting the card (with the april 2001 -CURRENT, today's -CURRENT with oldcard and today's -CURRENT with newcard), dmesg output and kernel config file. Regards, Walter. -- Walter Belgers "Si hoc signum legere potes, operis boni in rebus walter@belgers.com Latinis alacribus et fructuosis potiri potes!" --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=cdrommsgs_april_oldcard kernel messages with April 2001 kernel Sep 19 20:18:32 bwerk /boot/kernel/kernel: pccard: card inserted, slot 0 Sep 19 20:18:31 bwerk pccardd[178]: Card " "("NinjaATA-") [V1.0] [AP00 ] matched " " ("NinjaATA-") [(null)] [(null)] Sep 19 20:18:37 bwerk /boot/kernel/kernel: ata4 at port 0x180-0x187,0x386 iomem 0xd4000-0xd4fff irq 3 slot 0 on pccard0 Sep 19 20:18:37 bwerk /boot/kernel/kernel: ata4-slave: identify retries exceeded Sep 19 20:18:37 bwerk /boot/kernel/kernel: acd0: CDROM at ata4-master BIOSPIO Sep 19 20:18:37 bwerk pccardd[178]: ata4: NinjaATA inserted. --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=cdrommsgs_today_newcard Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb0: card inserted: event=0x00000000, state=30000510 Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccard0: chip_socket_enable Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb_pcic_socket_enable: Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_5V and CARD_VPP_VCC [15] Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb0: pccbb_pcic_wait_ready: status 0x7f Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb0: card type is mem Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccard0: read_cis Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb_pcic_mem_map window 0 bus 10001000+400+effff000 card addr 0 Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb_pcic_do_mem_map window 0: 8001 8001 3fff 10 (10001000+00000400.00001000*effff000) Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccbb_pcic_do_mem_map window 0: 8001 8001 7fff 10 (10001000+00000400.00001000*effff000) Oct 16 10:59:37 bwerk /boot/kernel/kernel: cis mem map c8569000 Oct 16 10:59:37 bwerk /boot/kernel/kernel: pccard0: CIS tuple chain: Oct 16 10:59:37 bwerk /boot/kernel/kernel: CISTPL_DEVICE type=funcspec speed=100ns Oct 16 10:59:37 bwerk /boot/kernel/kernel: 01 03 dc 00 ff Oct 16 10:59:37 bwerk /boot/kernel/kernel: CISTPL_VERS_1 Oct 16 10:59:37 bwerk /boot/kernel/kernel: 15 1a 04 01 20 00 4e 69 6e 6a 61 41 54 41 2d 00 Oct 16 10:59:37 bwerk /boot/kernel/kernel: 56 31 2e 30 00 41 50 30 30 20 00 ff Oct 16 10:59:37 bwerk /boot/kernel/kernel: CISTPL_CONFIG Oct 16 10:59:37 bwerk /boot/kernel/kernel: 1a 05 01 23 00 02 03 Oct 16 10:59:37 bwerk /boot/kernel/kernel: CISTPL_CFTABLE_ENTRY Oct 16 10:59:37 bwerk /boot/kernel/kernel: 1b 15 e1 01 3d 11 55 1e fc 23 f0 61 80 01 07 86 Oct 16 10:59:37 bwerk /boot/kernel/kernel: 03 01 30 68 d0 10 00 Oct 16 10:59:37 bwerk /boot/kernel/kernel: CISTPL_CFTABLE_ENTRY Oct 16 10:59:37 bwerk /boot/kernel/kernel: 1b 0f 22 38 f0 61 90 01 07 96 03 01 30 68 d0 10 Oct 16 10:59:37 bwerk /boot/kernel/kernel: 00 Oct 16 10:59:37 bwerk /boot/kernel/kernel: CISTPL_CFTABLE_ENTRY Oct 16 10:59:37 bwerk /boot/kernel/kernel: 1b 0f 23 38 f0 61 a0 01 07 a6 03 01 30 68 d0 10 Oct 16 10:59:38 bwerk /boot/kernel/kernel: 00 Oct 16 10:59:38 bwerk /boot/kernel/kernel: CISTPL_NO_LINK Oct 16 10:59:38 bwerk /boot/kernel/kernel: 14 00 Oct 16 10:59:38 bwerk /boot/kernel/kernel: CISTPL_END Oct 16 10:59:38 bwerk /boot/kernel/kernel: ff Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: check_cis_quirks Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: CIS version PCCARD 2.0 or 2.1 Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: CIS info: , NinjaATA-, V1.0, AP00 Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: Manufacturer code 0xffffffff, product 0xffffffff Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: function 0: unspecified, ccr addr 200 mask 3 Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: function 0, config table entry 33: I/O card; irq mask d068; iomask 10, iospace 180-187 386-387; memspace 0-fff; rdybsy_active wp_active bvd_active io8 io16 irqlevel Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: function 0, config table entry 34: I/O card; irq mask d068; iomask 10, iospace 190-197 396-397; memspace 0-fff; rdybsy_active wp_active bvd_active io8 io16 irqlevel Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: function 0, config table entry 35: I/O card; irq mask d068; iomask 10, iospace 1a0-1a7 3a6-3a7; memspace 0-fff; rdybsy_active wp_active bvd_active io8 io16 irqlevel Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: functions scanning Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb_pcic_socket_enable: Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_5V and CARD_VPP_VCC [15] Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb0: pccbb_pcic_wait_ready: status 0x7f Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb0: card type is io Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb_pcic_mem_map window 0 bus 10001000+400+effff000 card addr 0 Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb_pcic_do_mem_map window 0: 8001 8001 3fff 10 (10001000+00000400.00001000*effff000) Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: ccr_res == 10001000-100013ff, base=200 Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb_pcic_do_mem_map window 0: 8001 8001 7fff 10 (10001000+00000400.00001000*effff000) Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb_pcic_do_mem_map window 0: 8001 8001 7fff 10 (10001000+00000400.00001000*effff000) Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccard0: function 0 CCR at 0 offset 200: 61 0 ff ff, ff ff ff ff, ff Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb_pcic_socket_disable Oct 16 10:59:38 bwerk /boot/kernel/kernel: pccbb0: pccbb_power: CARD_VCC_0V and CARD_VPP_0V [44] --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=cdrommsgs_today_oldcard kernel messages with latest -CURRENT, classic pcmcia kernel INSERTING Oct 14 15:44:35 bwerk /boot/kernel/kernel: pccard: card inserted, slot 0 Oct 14 15:44:40 bwerk pccardd[182]: Card " "("NinjaATA-") [V1.0] [AP00 ] matched " " ("NinjaATA-") [(null)] [(null)] Oct 14 15:44:45 bwerk /boot/kernel/kernel: ata4 at port 0x180-0x187,0x386 iomem 0xd4000-0xd4fff irq 9 slot 0 on pccard0 -system hangs- REMOVING Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-slave: no status, reselecting device Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-slave: no status, reselecting device Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-slave: timeout waiting to give command=a1 s=ff e=04 Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-slave: ATAPI identify failed Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-master: no status, reselecting device Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-master: timeout waiting to givecommand=a1 s=ff e=04 Oct 14 15:45:18 bwerk /boot/kernel/kernel: ata4-master: ATAPI identify failed Oct 14 15:45:18 bwerk /boot/kernel/kernel: pccard: delete of ata4 failed: 6 Oct 14 15:45:18 bwerk /boot/kernel/kernel: pccard: card removed, slot 0 Oct 14 15:45:17 bwerk pccardd[182]: ata4: NinjaATA inserted. Oct 14 15:45:18 bwerk pccardd[182]: ata4: NinjaATA removed. --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #3: Tue Oct 16 10:28:16 CEST 2001 walter@bwerk.giga.nl:/usr/obj/usr/src/sys/BWERK Timecounter "i8254" frequency 1193160 Hz CPU: Pentium III/Pentium III Xeon/Celeron (496.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 134152192 (131008K bytes) avail memory = 125673472 (122728K bytes) Preloaded elf kernel "/boot/kernel/kernel" at 0xc04c3000. Preloaded elf module "/boot/kernel/splash_bmp.ko" at 0xc04c30a8. Preloaded splash_image_data "/boot/splash_matrix.bmp" at 0xc04c3158. Pentium Pro MTRR support enabled VESA: v2.0, 2496k memory, flags:0x0, mode table:0xc03777a2 (1000022) VESA: MagicMedia 256AV 48K Using $PIR table, 8 entries at 0xc00fdf40 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfc90-0xfc9f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xfca0-0xfcbf irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pci0: at device 8.0 (no driver attached) pcm0: port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0 fxp0: port 0xfc40-0xfc7f mem 0xfec00000-0xfecfffff,0xfedf6000-0xfedf6fff irq 9 at device 11.0 on pci0 fxp0: Ethernet address 08:00:46:06:84:f2 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci_cfgintr_linked: linked (61) to hard-routed irq 9 pci_cfgintr: 0:12 INTA routed to irq 9 pcic0: irq 9 at device 12.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pccard0: on pcic0 pci0: at device 13.0 (no driver attached) orm0: