Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2001 20:06:18 -0700
From:      "Greg Smith" <freebsd_mail@yahoo.com>
To:        "Mark DuPrey" <skippyd@telocity.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Vaio with TI-1131 Cardbus problems - IRQs?
Message-ID:  <200105292006180010.00BF0A68@smtp.mail.yahoo.com>
In-Reply-To: <3B143E0A.1060702@telocity.com>
References:  <3B143E0A.1060702@telocity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
>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: <math processor> on
motherboard
>May 28 20:51:51 mnemosyne /kernel: npx0: INT 16 interface
>May 28 20:51:51 mnemosyne /kernel: pcib0: <Host to PCI bridge> on 
>motherboard
>May 28 20:51:51 mnemosyne /kernel: pci0: <PCI bus> on pcib0
>May 28 20:51:51 mnemosyne /kernel: isab0: <Intel 82371AB PCI to ISA 
>bridge> at device 1.0 on pci0
>May 28 20:51:51 mnemosyne /kernel: isa0: <ISA bus> on isab0
>May 28 20:51:51 mnemosyne /kernel: atapci0: <Intel PIIX4 ATA33 
>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: <Intel 82371AB/EB (PIIX4)
USB 
>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: <Intel 82371AB Power 
>management controller> port 0x2180-0x218f at device 1.3 on pci0
>May 28 20:51:51 mnemosyne /kernel: pci0: <NeoMagic MagicGraph 128XD
SVGA 
>controller> at 2.0 irq 11
>May 28 20:51:51 mnemosyne /kernel: pcic-pci0: <TI PCI-1131 PCI-CardBus

>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: <TI PCI-1131 PCI-CardBus

>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: <NEC 72065B or clone> 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: <Keyboard controller 
>(i8042)> at port 0x60,0x64 on isa0
>May 28 20:51:51 mnemosyne /kernel: atkbd0: <AT Keyboard> flags 0x1 irq
1 
>on atkbdc0
>May 28 20:51:51 mnemosyne /kernel: kbd0 at atkbd0
>May 28 20:51:51 mnemosyne /kernel: psm0: <PS/2 Mouse> 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: <Generic ISA VGA> at port 
>0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>May 28 20:51:51 mnemosyne /kernel: sc0: <System console> 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: <VLSI 82C146> 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: <PC Card bus -- kludge 
>version> on pcic0
>May 28 20:51:51 mnemosyne /kernel: pccard1: <PC Card bus -- kludge 
>version> on pcic0
>May 28 20:51:51 mnemosyne /kernel: ppc0: <Parallel port> 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: <Printer> on ppbus0
>May 28 20:51:51 mnemosyne /kernel: lpt0: Interrupt-driven port
>May 28 20:51:51 mnemosyne /kernel: ad0: 3909MB <IBM-DTCA-24090> 
>[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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105292006180010.00BF0A68>