From owner-freebsd-mobile Tue May 29 20: 6:28 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id 0164637B423 for ; Tue, 29 May 2001 20:06:19 -0700 (PDT) (envelope-from freebsd_mail@yahoo.com) Received: from adsl-63-195-114-87.dsl.snfc21.pacbell.net (HELO gregsIBM) (63.195.114.87) by smtp.mail.vip.sc5.yahoo.com with SMTP; 30 May 2001 03:06:18 -0000 X-Apparently-From: Message-ID: <200105292006180010.00BF0A68@smtp.mail.yahoo.com> In-Reply-To: <3B143E0A.1060702@telocity.com> References: <3B143E0A.1060702@telocity.com> X-Mailer: Calypso Version 3.20.02.00 (2) Date: Tue, 29 May 2001 20:06:18 -0700 Reply-To: freebsd_mail@yahoo.com From: "Greg Smith" To: "Mark DuPrey" Cc: freebsd-mobile@freebsd.org Subject: Re: Vaio with TI-1131 Cardbus problems - IRQs? Content-Type: text/plain; charset="us-ascii" 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 Mark, Unlike IBM's, Sony's and Dell's require that you take the pcic out of "polling" mode by giving pcic an IRQ of its own. You can do this by rebuilding your kernel with an IRQ on device pcic0. Or you can use two other ways to set it outside the kernel, of which I only know one: put "ir pcic0 9", or whatever IRQ you choose, in a file called /boot/kernel.conf and make sure /boot/loader.conf includes userconfig_script_load="YES". See the list archives for the other way to do this, although this should be sufficient. BTW, IRQs 0, 1, 2, 8, and 13 are never available to the end user. HTH, Greg -----Original Message----- >This is an appeal for assistance from those more learned than I. I >recently purchased a Sony Vaio PCG-729 with a TI-1131 PCI-Cardbus >bridge. According to the newsgroups this should work with the 4.2 kernel >I have loaded on it but I'll be darned if I can get it to work. I'm >trying to use a Linksys EC2T ethernet card (ed driver). Both the Cardbus >bridge and the Linksys card work in Windows on the machine (and the card >works in an older IBM laptop running 4.3) so its not a hardware problem. >I believe its an IRQ problem but I'm not sure. Below are possibly useful >snippets of various configuration files and a list of the known used >IRQ's on the laptop. > >Problem description: >If I insert the card with pccardd running then I get the following: > >pccard: card inserted, slot 1 >May29 19:56;48 mnemosyne pccard[55]: Card "Linksys"("Combo PCMCIA >EthernetCard (EC2T)") [2.0] [(null)] matched "Linksys" ("Combo PCMCIA >EthernetCard (EC2T)") [(null)] [(null)] > >sometimes the above lines are echoed more than once (the card inserted >line a couple of times then the identification line 2-3 times). Then I >get a nice lockup which requires a hard reset and a couple minutes of >fsck-ing. If pccardd is NOT running then I get the above lines and the >laptop continues to run leading me to believe the problem occurs when >pccardd attempts to configure the thing. Any pointers in the right >direction or other assistance will be greatly appreciated. TIA and all >that. > >Mark DuPrey >http://skippy.dyndns.org >skippyd@telocity.com > > > >List of known used IRQ's: >##################################################### >1 keyboard >2 >3 internal winmodem (assigned by bios can't be disabled :-() >4 serial port >5 internal soundcard (can be sacrificed if needed) >6 fdc0 >7 lpt0 >8 >9 >10 IrDA (also can't be disabled) >11 NeoMagic vid card >12 mouse >13 >14 ata0 >15 ata1 > > > >relevent portions of my kernel config (4.2 kernel): >##################################################### ># PCCARD (PCMCIA) support >device card >device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 >device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable > ># ISA Ethernet NICs. ># changed from irq 10 in generic kernel since I don't believe its available >device ed0 at isa? port 0x280 irq 9 iomem 0xd8000 > > > >/etc/pccardd.conf: >##################################################### ># Generally available IO ports >io 0x240-0x360 ># Generally available IRQs (Built-in sound-card owners remove 5) >irq 8 9 ># Available memory slots >memory 0xd4000 96k > ># Include user configration file ># This allow you to override or add configurations. >include /etc/pccard.conf > >########## ed ########## > ># Linksys Combo PCMCIA EthernetCard (model EC2T on box) >card "Linksys" "Combo PCMCIA EthernetCard (EC2T)" > config 0x1 "ed" ? > insert /etc/pccard_ether $device start > remove /etc/pccard_ether $device stop > > > >relevent section of /var/log/messages: >##################################################### >May 28 20:51:51 mnemosyne /kernel: Copyright (c) 1992-2000 The FreeBSD >Project. >May 28 20:51:51 mnemosyne /kernel: Copyright (c) 1979, 1980, 1983, 1986, >1988, 1989, 1991, 1992, 1993, 1994 >May 28 20:51:51 mnemosyne /kernel: The Regents of the University of >California. All rights reserved. >May 28 20:51:51 mnemosyne /kernel: FreeBSD 4.2-RELEASE #2: Mon May 28 >11:52:41 EDT 2001 >May 28 20:51:51 mnemosyne /kernel: >root@mnemosyne.skippy.dyndns.org:/usr/src/sys/compile/MNEMOSYNE >May 28 20:51:51 mnemosyne /kernel: Timecounter "i8254" frequency 1193182 >Hz >May 28 20:51:51 mnemosyne /kernel: CPU: Pentium/P55C (quarter-micron) >(263.97-MHz 586-class CPU) >May 28 20:51:51 mnemosyne /kernel: Origin = "GenuineIntel" Id = 0x581 >Stepping = 1 >May 28 20:51:51 mnemosyne /kernel: >Features=0x8001bf >May 28 20:51:51 mnemosyne /kernel: real memory = 33554432 (32768K bytes) >May 28 20:51:51 mnemosyne /kernel: config> di bt0 >May 28 20:51:51 mnemosyne /kernel: No such device: bt0 >May 28 20:51:51 mnemosyne /kernel: Invalid command or syntax. Type `?' >for help. >May 28 20:51:51 mnemosyne /kernel: config> di aic0 >May 28 20:51:51 mnemosyne /kernel: No such device: aic0 >May 28 20:51:51 mnemosyne /kernel: Invalid command or syntax. Type `?' >for help. >May 28 20:51:51 mnemosyne /kernel: config> di aha0 >May 28 20:51:51 mnemosyne /kernel: No such device: aha0 >May 28 20:51:51 mnemosyne /kernel: Invalid command or syntax. Type `?' >for help. >May 28 20:51:51 mnemosyne /kernel: config> di adv0 >May 28 20:51:51 mnemosyne /kernel: No such device: adv0 >May 28 20:51:51 mnemosyne /kernel: Invalid command or syntax. Type `?' >for help. >May 28 20:51:51 mnemosyne /kernel: config> q >May 28 20:51:51 mnemosyne /kernel: avail memory = 29487104 (28796K bytes) >May 28 20:51:51 mnemosyne /kernel: Preloaded elf kernel "kernel" at >0xc0353000. >May 28 20:51:51 mnemosyne /kernel: Preloaded userconfig_script >"/boot/kernel.conf" at 0xc035309c. >May 28 20:51:51 mnemosyne /kernel: Intel Pentium detected, installing >workaround for F00F bug >May 28 20:51:51 mnemosyne /kernel: md0: Malloc disk >May 28 20:51:51 mnemosyne /kernel: npx0: on motherboard >May 28 20:51:51 mnemosyne /kernel: npx0: INT 16 interface >May 28 20:51:51 mnemosyne /kernel: pcib0: on >motherboard >May 28 20:51:51 mnemosyne /kernel: pci0: on pcib0 >May 28 20:51:51 mnemosyne /kernel: isab0: bridge> at device 1.0 on pci0 >May 28 20:51:51 mnemosyne /kernel: isa0: on isab0 >May 28 20:51:51 mnemosyne /kernel: atapci0: controller> port 0xfcd0-0xfcdf at device 1.1 on pci0 >May 28 20:51:51 mnemosyne /kernel: ata0: at 0x1f0 irq 14 on atapci0 >May 28 20:51:51 mnemosyne /kernel: ata1: at 0x170 irq 15 on atapci0 >May 28 20:51:51 mnemosyne /kernel: uhci0: controller> at device 1.2 on pci0 >May 28 20:51:51 mnemosyne /kernel: uhci0: Invalid irq 255 >May 28 20:51:51 mnemosyne /kernel: uhci0: Please switch on USB support >and switch PNP-OS to 'No' in BIOS >May 28 20:51:51 mnemosyne /kernel: device_probe_and_attach: uhci0 attach >returned 6 >May 28 20:51:51 mnemosyne /kernel: chip1: management controller> port 0x2180-0x218f at device 1.3 on pci0 >May 28 20:51:51 mnemosyne /kernel: pci0: controller> at 2.0 irq 11 >May 28 20:51:51 mnemosyne /kernel: pcic-pci0: Bridge> at device 10.0 on pci0 >May 28 20:51:51 mnemosyne /kernel: pcic-pci0: TI113X PCI Config Reg: >[clkrun irq 10][ring enable][speaker enable][CSC serial isa irq] >May 28 20:51:51 mnemosyne /kernel: pcic-pci1: Bridge> at device 10.1 on pci0 >May 28 20:51:51 mnemosyne /kernel: pcic-pci1: TI113X PCI Config Reg: >[clkrun irq 10][ring enable][speaker enable][CSC serial isa irq] >May 28 20:51:51 mnemosyne /kernel: fdc0: at port >0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 >May 28 20:51:51 mnemosyne /kernel: fdc0: FIFO enabled, 8 bytes threshold >May 28 20:51:51 mnemosyne /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive >0 >May 28 20:51:51 mnemosyne /kernel: atkbdc0: (i8042)> at port 0x60,0x64 on isa0 >May 28 20:51:51 mnemosyne /kernel: atkbd0: flags 0x1 irq 1 >on atkbdc0 >May 28 20:51:51 mnemosyne /kernel: kbd0 at atkbd0 >May 28 20:51:51 mnemosyne /kernel: psm0: irq 12 on atkbdc0 >May 28 20:51:51 mnemosyne /kernel: psm0: model Generic PS/2 mouse, >device ID 0 >May 28 20:51:51 mnemosyne /kernel: vga0: at port >0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >May 28 20:51:51 mnemosyne /kernel: sc0: at flags 0x100 >on isa0 >May 28 20:51:51 mnemosyne /kernel: sc0: VGA <16 virtual consoles, >flags=0x300> >May 28 20:51:51 mnemosyne /kernel: pcic0: at port 0x3e0 >iomem 0xd0000 on isa0 >May 28 20:51:51 mnemosyne /kernel: pcic0: Polling mode >May 28 20:51:51 mnemosyne /kernel: pccard0: version> on pcic0 >May 28 20:51:51 mnemosyne /kernel: pccard1: version> on pcic0 >May 28 20:51:51 mnemosyne /kernel: ppc0: at port >0x378-0x37f irq 7 on isa0 >May 28 20:51:51 mnemosyne /kernel: ppc0: Generic chipset (EPP/NIBBLE) in >COMPATIBLE mode >May 28 20:51:51 mnemosyne /kernel: lpt0: on ppbus0 >May 28 20:51:51 mnemosyne /kernel: lpt0: Interrupt-driven port >May 28 20:51:51 mnemosyne /kernel: ad0: 3909MB >[7944/16/63] at ata0-master UDMA33 >May 28 20:51:51 mnemosyne /kernel: Mounting root from ufs:/dev/ad0s2a > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-mobile" in the body of the message _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message