From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14005 invoked from network); 25 Jul 2000 04:35:16 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Jul 2000 04:35:16 -0000 Received: from acestes-fe0.ultra.net (acestes-fe0.ultra.net [146.115.9.54]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA16249 for ; Mon, 24 Jul 2000 21:47:00 -0400 Received: from ma.ultranet.com (root@207-172-65-220.s220.tnt6.sbo.ma.dialup.rcn.com [207.172.65.220]) by acestes-fe0.ultra.net (8.8.8/ult/n20340/mtc.v2) with ESMTP id VAA10357 for ; Mon, 24 Jul 2000 21:46:57 -0400 (EDT) Received: (from rmp@localhost) by ma.ultranet.com (8.9.3/8.9.3) id VAA00942 for axp-list@redhat.com; Mon, 24 Jul 2000 21:41:56 -0400 From: Robert Praetorius Date: Mon, 24 Jul 2000 21:41:54 -0400 To: axp-list@redhat.com Subject: pcmcia serial problems in Multia with RH 6.2, pcmcia 3.1.18 Message-ID: <20000724214154.A897@popj1.ma.ultranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Organization: ask Prigogine the short of it: anybody know of any obvious reasons why, with no hardware changes, my PCMCIA modem would quit working with RH 6.2 and pcmcia-cs 3.1.18? longer version: I've been running with a Hayes PCMCIA modem on my UDB across a number of versions of RH and pcmcia-cs. After upgrading to 6.2 (with pcmcia-cs 3.0.11), I began to have intermittent problems, usually register_serial(): autoconfig failed serial_cs: register_serial() at 0x03e8, irq 5 failed (but sometimes 0x02e8, irq 15 - and one evening I got "Problem: all had bit 7 set to 0" from pppd a number of times in a row). The failures gradually became more common than the successes. So I decided to upgrade to the latest pcmcia. Then the problem went solid. I was momentarily discouraged, but, what the heck, a solid problem is better than a flaky problem. I fell back to my (t)rusty old 14.4K RS-232 modem and starting surfing for answers. But I haven't found any yet, either at http://www.alphalinux.org/archives/search.shtml or http://pcmcia.sourceforge.org although the chain of notes at http://pcmcia.sourceforge.org/cgi-bin/HyperNews/get/pcmcia/serial/9.html has given me some ideas about how to go about debugging. . . But before I embark on throwing printks into code, I thought I'd check and see if anybody knew of any obvious reasons why, with no hardware changes, my PCMCIA modem would quit working with RH 6.2 and pcmcia-cs 3.1.18. I've tried the card in both sockets. I've tried ejecting and reinserting in & using cardctl eject. I've waited for cooler weather (my Multia sometimes dislikes not being air-conditioned). I've changed my /etc/rc.d/init.d/kudzu file to invoke kudzu with -s so it doesn't probe serial ports. I've checked for .rpmsave or .rpmorig files that would seem to have something to do with pcmcia or serial configuration that get clobbered (well, moved aside) in the upgrade, but haven't found any. I tried the unreset_delay=400 mention by Mr. Hinds in the note chain above, to no avail. Here are some of the bits of info that PCMCIA-HOWTO leads me to think might be relevant: [root@popj1 pcmcia-cs-3.1.18]# cardctl ident Socket 0: no product info available Socket 1: product info: "Hayes", "Accura 56K PC CARD", "021", "A" manfid: 0x0013, 0x0000 function: 2 (serial) [root@popj1 pcmcia-cs-3.1.18]# cardctl config Socket 0: not configured Socket 1: Vcc 5.0V Vpp1 0.0V Vpp2 0.0V [root@popj1 pcmcia-cs-3.1.18]# dmesg Linux version 2.2.14-6.0 (root@astro.devel.redhat.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Tue Mar 28 16:56:56 EST 2000 Booting GENERIC on Noname using machine vector Noname from MILO . . . Serial driver version 4.27 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A . . . eth0: DE434/5 at 0x8800 (PCI bus 0, device 8), h/w address 08:00:2b:e2:b7:70, and requires IRQ10 (provided by PCI BIOS). de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com CSLIP: code copyright 1989 Regents of the University of California PPP: version 2.3.7 (demand dialling) PPP line discipline registered. eth0: media is EXT SIA. Linux PCMCIA Card Services 3.1.18 kernel build: 2.2.14-6.0 #1 Tue Mar 28 16:56:56 EST 2000 options: [pci] [cardbus] Intel PCIC probe: Intel i82365sl B step rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00 host opts [0]: none host opts [1]: none ISA irqs (scanned) = 5,7,15 polling interval = 1000 ms cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x1f0-0x1f7 0x268-0x26f 0x3b8-0x3e7 0x3f0-0x3ff 0x408-0x40f 0x418-0x43f 0x480-0x48f 0x4d0-0x4d7 cs: memory probe 0x008000-0x0dffff: excluding 0x8000-0x13fff register_serial(): autoconfig failed serial_cs: register_serial() at 0x03e8, irq 5 failed registered device ppp0 . . .