Date: Fri, 04 Jan 2002 00:35:04 +0000 From: Pete French <pfrench@firstcallgroup.co.uk> To: freebsd-stable@FreeBSD.ORG Subject: PCMCIA card problems with 4.5-PRERELEASE Message-ID: <E16MIK8-0003Bp-00@mailhost.firstcallgroup.co.uk>
next in thread | raw e-mail | index | archive | help
So, for the first time I actually have a laptop that I can play with to try out FreeBSD on. It has a single PCMCIA slot, and requires the ISA bus interrupt routing which has been mentioned here many times. I couldnt work out a way to set these variables as part of the install process, so I installed 4.3 first and then upgraded to 4.5-PRE by copying over a compiled up /usr/src and /usr/obj tar file via the widdows partition and mount_msdos. This is very successful and the laptop now runs 4.5-PRE quite happily. But even with the IRQ routing set to ISA then I still cannot make PCMCIA cards work. Insreting or removing cards will lock the machine, O.K. I can live with that as long as they work when I boot with them. Booting with a card seems to be fine. The system detects it, and apparently runs the correct commands to try and configure it. I have two cards to try - an Etherlink III 3C589D and an Adaptec SlimSCSI APA-1460A. Firstly the ether card. This is recognised, an ifconfig appears to tell me that the interface is correctly up. If I try and ppin any other achines on the nwtwork I see packets being transmitted. However no packets are ever received by the machine. With the card in the ifconfig on the interface is as follows... ep0: flags=a843<UP,BROADCAST,RUNNING,SIMPLEX,LINK1,MULTICAST> mtu 1500 inet 192.168.3.3 netmask 0xffffff00 broadcast 192.168.3.255 inet6 fe80::260:97ff:fe8e:e04%ep0 prefixlen 64 scopeid 0x6 ether 00:60:97:8e:0e:04 media: Ethernet 10baseT/UTP Secondly the SCSI card (this is connected to an external Yamaha CDW4416SX). This also appears to be detected correctly and boots. So I tried a quick scan of the bus using 'camcontrol rescan 0'. This pauses for some time and then generates the following error message repeatedly: (probe0:aic1:0:0:0): ccb 0x0b90800 - timed out, phase 0x0, state 1 So, any ideas anyone ? To my untrained eye it looks like the cards are having [problems communicating back to the system (received backets, indications of completed SCSi commands ?). I have included below the dmesg outputs, firstly from a boot with the ether card, secondly from a boot with the scsi card. cheers, -pete french. PS: The laptop is a Palmax PD-1100 if that helps... ----------------------------- dmesg.ether ------------------------------- 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 4.5-PRERELEASE #0: Sat Dec 29 18:57:01 GMT 2001 pete@skerry:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Cyrix GXm (262.39-MHz 586-class CPU) Origin = "CyrixInstead" Id = 0x540 DIR=0x6347 Stepping=6 Revision=3 real memory = 64487424 (62976K bytes) avail memory = 58077184 (56716K bytes) Preloaded elf kernel "kernel" at 0xc0490000. md0: Malloc disk Using $PIR table, 2 entries at 0xc00fdfa0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcic0: <TI PCI-1211 PCI-CardBus Bridge> at device 11.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: Polling mode pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC parallel isa irq] pccard0: <PC Card bus (classic)> on pcic0 isab0: <Cyrix Cx5530 PCI-ISA bridge> at device 18.0 on pci0 isa0: <ISA bus> on isab0 chip1: <PCI to Other bridge (vendor=1078 device=0101)> mem 0x40012000-0x400120ff at device 18.1 on pci0 atapci0: <Cyrix 5530 ATA33 controller> port 0xfc00-0xfc0f at device 18.2 on pci0 atapci0: Busmastering DMA not supported pci0: <unknown card> (vendor=0x1078, dev=0x0103) at 18.3 pci0: <VGA-compatible display device> at 18.4 ohci0: <OHCI (generic) USB controller> mem 0xfedff000-0xfedfffff irq 11 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 9590MB <FUJITSU MHN2100AT> [19485/16/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0s2a pccard: card inserted, slot 0 ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 5 slot 0 on pccard0 ep0: Ethernet address 00:60:97:8e:0e:04 ----------------------------- dmesg.scsi -------------------------------- 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 4.5-PRERELEASE #0: Sat Dec 29 18:57:01 GMT 2001 pete@skerry:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Cyrix GXm (262.39-MHz 586-class CPU) Origin = "CyrixInstead" Id = 0x540 DIR=0x6347 Stepping=6 Revision=3 real memory = 64487424 (62976K bytes) avail memory = 58077184 (56716K bytes) Preloaded elf kernel "kernel" at 0xc0490000. md0: Malloc disk Using $PIR table, 2 entries at 0xc00fdfa0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcic0: <TI PCI-1211 PCI-CardBus Bridge> at device 11.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: Polling mode pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC parallel isa irq] pccard0: <PC Card bus (classic)> on pcic0 isab0: <Cyrix Cx5530 PCI-ISA bridge> at device 18.0 on pci0 isa0: <ISA bus> on isab0 chip1: <PCI to Other bridge (vendor=1078 device=0101)> mem 0x40012000-0x400120ff at device 18.1 on pci0 atapci0: <Cyrix 5530 ATA33 controller> port 0xfc00-0xfc0f at device 18.2 on pci0 atapci0: Busmastering DMA not supported pci0: <unknown card> (vendor=0x1078, dev=0x0103) at 18.3 pci0: <VGA-compatible display device> at 18.4 ohci0: <OHCI (generic) USB controller> mem 0xfedff000-0xfedfffff irq 11 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 9590MB <FUJITSU MHN2100AT> [19485/16/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0s2a pccard: card inserted, slot 0 aic1: <Adaptec 6260/6360 SCSI controller> at port 0x340-0x35f irq 5 slot 0 on pccard0 aic1: aic6360, dma, disconnection, parity check (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 (probe0:aic1:0:0:0): ccb 0xc0b90800 - timed out, phase 0x0, state 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16MIK8-0003Bp-00>