From owner-freebsd-mobile Sun Jul 21 6:52:26 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F52337B400 for ; Sun, 21 Jul 2002 06:52:22 -0700 (PDT) Received: from nuit.iteration.net (nuit.iteration.net [198.92.249.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32E5543E42 for ; Sun, 21 Jul 2002 06:52:22 -0700 (PDT) (envelope-from keichii@nuit.iteration.net) Received: by nuit.iteration.net (Postfix, from userid 1001) id 4F6A111B57D; Sun, 21 Jul 2002 06:49:52 -0700 (PDT) Date: Sun, 21 Jul 2002 06:49:52 -0700 From: "Michael C. Wu" To: "M. Warner Losh" Cc: tony@valemount.com, mobile@FreeBSD.ORG Subject: Re: pcmcia support with no ISA bus? Message-ID: <20020721134952.GA70862@nuit.iteration.net> Reply-To: "Michael C. Wu" References: <09f301c22f87$05d23d70$114c35d1@tonyxp> <20020719.231116.78708067.imp@bsdimp.com> <005d01c22fb4$0bac86b0$8a4c35d1@master> <20020720.004449.29960453.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020720.004449.29960453.imp@bsdimp.com> User-Agent: Mutt/1.3.28i X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Warner, I currently have an IBM S31 that could not function with oldcard. It seems to be resource conflicts. How should I find out the available IRQ's and IOMEM's on -current? Also, I have attached the necessary info in this url: http://people.freebsd.org/~keichii/ibm_s31_info.tgz The problem is that no matter what IRQ i assign the cards, wi0 never attached in the CF slot. And putting any card in pcic0 (the normal pcmcia form factor) panics or freezes the system. It looks like a IRQ storm, but I am not sure. Will your patch work with my system? It also contains the dumpcis that you requested a long time ago for the CF form factor wlan card. Thanks, Michael On Sat, Jul 20, 2002 at 12:44:49AM -0600, M. Warner Losh scribbled: | well, the following is completely untested. Lemme know if it works. | It is too green to go into the tree as-is, but will (if it works) get | you up and running. It won't work for anything but a real pci cardbus | bridge (or the wannabe cardbus bridge the ti-1031). Some ISA based | chips can also do it, but I don't plan on supporting those because | there are too many different ways to do it, it won't work on real ISA | cards, just funky wired chips in laptops, and there's little demand. | | this patch should also apply to -stable cleanly. | | Warner | | Index: pcic.c | =================================================================== | RCS file: /home/imp/FreeBSD/CVS/src/sys/pccard/pcic.c,v | retrieving revision 1.176 | diff -u -r1.176 pcic.c | --- pcic.c 18 Jul 2002 08:13:45 -0000 1.176 | +++ pcic.c 20 Jul 2002 06:42:01 -0000 | @@ -232,6 +232,14 @@ | pcic_putw(sp, reg+2, (sys_addr + (mp->size >> 12) - 1) & 0xFFF); | pcic_putw(sp, reg+4, ((mp->card >> 12) - sys_addr) & 0x3FFF); | /* | + * Speical kludge for those users that need somewhere out of | + * the ISA window for their mapping who are using a cardbus | + * bridge. This will fail for those folks not using a yenta | + * bridge. XXX cleanup XXX | + */ | + if ((mp->start >> 24) != 0) | + sp->putb(sp, 0x40 + win, mp->start >> 24); | + /* | * Each 16 bit register has some flags in the upper bits. | */ | if (mp->flags & MDF_16BITS) | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-mobile" in the body of the message ------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jul 21 6:58:32 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6117437B400 for ; Sun, 21 Jul 2002 06:58:30 -0700 (PDT) Received: from nuit.iteration.net (nuit.iteration.net [198.92.249.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14AA343E42 for ; Sun, 21 Jul 2002 06:58:30 -0700 (PDT) (envelope-from keichii@nuit.iteration.net) Received: by nuit.iteration.net (Postfix, from userid 1001) id 27B2E11B5E5; Sun, 21 Jul 2002 06:56:00 -0700 (PDT) Date: Sun, 21 Jul 2002 06:56:00 -0700 From: "Michael C. Wu" To: "M. Warner Losh" Cc: tony@valemount.com, mobile@FreeBSD.ORG Subject: Re: pcmcia support with no ISA bus? Message-ID: <20020721135600.GA70904@nuit.iteration.net> Reply-To: "Michael C. Wu" References: <09f301c22f87$05d23d70$114c35d1@tonyxp> <20020719.231116.78708067.imp@bsdimp.com> <005d01c22fb4$0bac86b0$8a4c35d1@master> <20020720.004449.29960453.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020720.004449.29960453.imp@bsdimp.com> User-Agent: Mutt/1.3.28i X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adding some information, During a very short window of -current, I actually got both card slots to function correctly, attaching two different cards to pcic0 the normal pcmcia slot and pcic1 the CF slot. IBM's BIOS is quite weird, it allows me to pick devices for PCI slots1-4, and makes the cards share the IRQ's if you assign them the same IRQ. Does anybody have experience with this type of stupid BIOS? It doesn't even allow me to pick ACPI or APM modes. On Sat, Jul 20, 2002 at 12:44:49AM -0600, M. Warner Losh scribbled: | well, the following is completely untested. Lemme know if it works. | It is too green to go into the tree as-is, but will (if it works) get | you up and running. It won't work for anything but a real pci cardbus | bridge (or the wannabe cardbus bridge the ti-1031). Some ISA based | chips can also do it, but I don't plan on supporting those because | there are too many different ways to do it, it won't work on real ISA | cards, just funky wired chips in laptops, and there's little demand. | | this patch should also apply to -stable cleanly. | | Warner | | Index: pcic.c | =================================================================== | RCS file: /home/imp/FreeBSD/CVS/src/sys/pccard/pcic.c,v | retrieving revision 1.176 | diff -u -r1.176 pcic.c | --- pcic.c 18 Jul 2002 08:13:45 -0000 1.176 | +++ pcic.c 20 Jul 2002 06:42:01 -0000 | @@ -232,6 +232,14 @@ | pcic_putw(sp, reg+2, (sys_addr + (mp->size >> 12) - 1) & 0xFFF); | pcic_putw(sp, reg+4, ((mp->card >> 12) - sys_addr) & 0x3FFF); | /* | + * Speical kludge for those users that need somewhere out of | + * the ISA window for their mapping who are using a cardbus | + * bridge. This will fail for those folks not using a yenta | + * bridge. XXX cleanup XXX | + */ | + if ((mp->start >> 24) != 0) | + sp->putb(sp, 0x40 + win, mp->start >> 24); | + /* | * Each 16 bit register has some flags in the upper bits. | */ | if (mp->flags & MDF_16BITS) | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-mobile" in the body of the message ------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jul 21 10:16:26 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7D3737B400 for ; Sun, 21 Jul 2002 10:16:19 -0700 (PDT) Received: from mta.outof.ch (mta.outof.ch [62.2.169.75]) by mx1.FreeBSD.org (Postfix) with SMTP id D67C243E31 for ; Sun, 21 Jul 2002 10:16:18 -0700 (PDT) (envelope-from haupt@outof.ch) Received: (qmail 92668 invoked from network); 21 Jul 2002 17:16:17 -0000 Received: from unknown (HELO beaver.critical.ch) (217.162.248.99) by 0 with SMTP; 21 Jul 2002 17:16:17 -0000 From: Emanuel Haupt To: freebsd-mobile@freebsd.org Subject: dialup question Date: Sun, 21 Jul 2002 19:16:16 +0200 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_4ZZLYU2B3GVLGCRLL3IP" Message-Id: <200207211916.16856.haupt@outof.ch> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --------------Boundary-00=_4ZZLYU2B3GVLGCRLL3IP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable i am using the following network/modem (all in 1) card on my dell=20 latitude cpx laptop (running fbsd 5.0-DP1 newcard kernel): 3com 3c3fem656 c the xl0 network interface works without any problems. but now i want to=20 use the included modem. i have absolutely no clue which device that would be. attached is the=20 complete dmesg output. does anyone know which device i have to configure in my ppp.conf? thanks in advance emanuel --------------Boundary-00=_4ZZLYU2B3GVLGCRLL3IP Content-Type: text/plain; charset="us-ascii"; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2002 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-DP1 #0: Sun Jul 21 17:43:29 CEST 2002 root@snood.critical.ch:/usr/src/sys/i386/compile/SNOOD2 Preloaded elf kernel "/boot/kernel/kernel" at 0xc063b000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc063b0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 498470166 Hz CPU: Pentium III/Pentium III Xeon/Celeron (498.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 134066176 (130924K bytes) avail memory = 123580416 (120684K bytes) Pentium Pro MTRR support enabled Using $PIR table, 6 entries at 0xc00fbd20 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pccbb0: at device 3.0 on pci0 cardbus0: on pccbb0 pccard0: <16-bit PCCard bus> on pccbb0 acpi_pcib0: device is routed to IRQ 11 pccbb1: at device 3.1 on pci0 cardbus1: on pccbb1 pccard1: <16-bit PCCard bus> on pccbb1 acpi_pcib0: device is routed to IRQ 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x860-0x86f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xdce0-0xdcff irq 11 at device 7.2 on pci0 usb0: cannot stop 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) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x280-0x287,0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: