2003-08-13 20:50:45

by Tom Marshall

[permalink] [raw]
Subject: Problems with PCMCIA (Texas Instruments PCI1410)

I have not been able to get PCMCIA support working in my TI-PCI1410 based
system using the 2.6.0-test3 kernel. It works with 2.4.21, although I have
to do a "cardctl eject; cardctl insert" after the APM suspend/restore cycle.
The main chipset is i830m and the laptop is a Dell C400, if that matters.

In 2.6.0-test3, the syslog shows these messages when inserting my Orinoco
card:

Aug 10 15:55:33 venture cardmgr[312]: socket 0: Anonymous Memory
Aug 10 15:55:33 venture cardmgr[312]: executing: 'modprobe memory_cs'
Aug 10 15:55:33 venture cardmgr[312]: + FATAL: Module memory_cs not found.
Aug 10 15:55:33 venture cardmgr[312]: modprobe exited with status 1
Aug 10 15:55:33 venture cardmgr[312]: module /lib/modules/2.6.0-test3/pcmcia/memory_cs.o not available
Aug 10 15:55:33 venture cardmgr[312]: bind 'memory_cs' to socket 0 failed : Invalid argument

Here's the (hopefully) relevant lspci output:

00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 04)
...
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
...
02:01.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)

This is from another laptop that works fine with both kernels:

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:03.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:03.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
...

I can provide more detailed information on request.

Please cc: me on replies.

--
The intelligence of any discussion diminishes with the square of the
number of participants.
-- Adam Walinsky


Attachments:
(No filename) (1.68 kB)
(No filename) (240.00 B)
Download all attachments

2003-08-13 21:13:01

by Russell King

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

On Wed, Aug 13, 2003 at 01:50:37PM -0700, Tom Marshall wrote:
> I have not been able to get PCMCIA support working in my TI-PCI1410 based
> system using the 2.6.0-test3 kernel. It works with 2.4.21, although I have
> to do a "cardctl eject; cardctl insert" after the APM suspend/restore cycle.
> The main chipset is i830m and the laptop is a Dell C400, if that matters.
>
> In 2.6.0-test3, the syslog shows these messages when inserting my Orinoco
> card:
>
> Aug 10 15:55:33 venture cardmgr[312]: socket 0: Anonymous Memory
> Aug 10 15:55:33 venture cardmgr[312]: executing: 'modprobe memory_cs'
> Aug 10 15:55:33 venture cardmgr[312]: + FATAL: Module memory_cs not found.
> Aug 10 15:55:33 venture cardmgr[312]: modprobe exited with status 1
> Aug 10 15:55:33 venture cardmgr[312]: module /lib/modules/2.6.0-test3/pcmcia/memory_cs.o not available
> Aug 10 15:55:33 venture cardmgr[312]: bind 'memory_cs' to socket 0 failed : Invalid argument

Could you show the kernel messages from boot as well as the above
messages please?

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2003-08-13 21:26:56

by Tom Marshall

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

> Could you show the kernel messages from boot as well as the above
> messages please?

Here it is. Below that is a more complete lspci output.

=== syslog messages ===

Aug 13 14:18:51 venture syslogd 1.4.1#10: restart.
Aug 13 14:18:51 venture kernel: klogd 1.4.1#10, log source = /proc/kmsg started.
Aug 13 14:18:51 venture kernel: Inspecting /boot/System.map-2.6.0-test3
Aug 13 14:18:51 venture modprobe: FATAL: Module apm not found.
Aug 13 14:18:51 venture kernel: Loaded 19452 symbols from /boot/System.map-2.6.0-test3.
Aug 13 14:18:51 venture kernel: Symbols match kernel version 2.6.0.
Aug 13 14:18:51 venture kernel: No module symbols loaded - kernel modules not enabled.
Aug 13 14:18:51 venture kernel: Linux version 2.6.0-test3 (root@venture) (gcc version 2.95.4 20011002 (Debian prerelease)) #8 Mon Aug 11 22:55:07 PDT 2003
Aug 13 14:18:51 venture kernel: Video mode to be used for restore is ffff
Aug 13 14:18:51 venture kernel: BIOS-provided physical RAM map:
Aug 13 14:18:51 venture kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Aug 13 14:18:51 venture kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Aug 13 14:18:51 venture kernel: BIOS-e820: 0000000000100000 - 000000000fedc000 (usable)
Aug 13 14:18:51 venture kernel: BIOS-e820: 000000000fedc000 - 0000000010000000 (reserved)
Aug 13 14:18:51 venture kernel: BIOS-e820: 00000000feda0000 - 00000000fee00000 (reserved)
Aug 13 14:18:51 venture kernel: BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
Aug 13 14:18:51 venture kernel: 254MB LOWMEM available.
Aug 13 14:18:51 venture kernel: On node 0 totalpages: 65244
Aug 13 14:18:51 venture kernel: DMA zone: 4096 pages, LIFO batch:1
Aug 13 14:18:51 venture kernel: Normal zone: 61148 pages, LIFO batch:14
Aug 13 14:18:51 venture kernel: HighMem zone: 0 pages, LIFO batch:1
Aug 13 14:18:51 venture kernel: Dell Latitude with broken BIOS detected. Refusing to enable the local APIC.
Aug 13 14:18:51 venture kernel: ACPI: RSDP (v000 DELL ) @ 0x000fde50
Aug 13 14:18:51 venture kernel: ACPI: RSDT (v001 DELL CPi R 10195.00772) @ 0x000fde64
Aug 13 14:18:51 venture kernel: ACPI: FADT (v001 DELL CPi R 10195.00772) @ 0x000fde90
Aug 13 14:18:51 venture kernel: ACPI: DSDT (v001 INT430 SYSFexxx 00000.04097) @ 0x00000000
Aug 13 14:18:51 venture kernel: ACPI: BIOS passes blacklist
Aug 13 14:18:51 venture kernel: ACPI: MADT not present
Aug 13 14:18:51 venture kernel: Building zonelist for node : 0
Aug 13 14:18:51 venture kernel: Kernel command line: BOOT_IMAGE=Linux-2.6 ro root=303
Aug 13 14:18:51 venture kernel: Initializing CPU#0
Aug 13 14:18:51 venture kernel: PID hash table entries: 1024 (order 10: 8192 bytes)
Aug 13 14:18:51 venture kernel: Detected 797.421 MHz processor.
Aug 13 14:18:51 venture kernel: Console: colour VGA+ 80x25
Aug 13 14:18:51 venture kernel: Calibrating delay loop... 1576.96 BogoMIPS
Aug 13 14:18:51 venture kernel: Memory: 255532k/260976k available (1229k kernel code, 4696k reserved, 626k data, 96k init, 0k highmem)
Aug 13 14:18:51 venture kernel: Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Aug 13 14:18:51 venture kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Aug 13 14:18:51 venture kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Aug 13 14:18:51 venture kernel: -> /dev
Aug 13 14:18:51 venture kernel: -> /dev/console
Aug 13 14:18:51 venture kernel: -> /root
Aug 13 14:18:51 venture kernel: CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000
Aug 13 14:18:51 venture kernel: CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000
Aug 13 14:18:51 venture kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Aug 13 14:18:51 venture kernel: CPU: L2 cache: 512K
Aug 13 14:18:51 venture kernel: CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040
Aug 13 14:18:51 venture kernel: Intel machine check architecture supported.
Aug 13 14:18:51 venture kernel: Intel machine check reporting enabled on CPU#0.
Aug 13 14:18:51 venture kernel: CPU: Intel Mobile Intel(R) Pentium(R) III CPU - M 1200MHz stepping 04
Aug 13 14:18:51 venture kernel: Enabling fast FPU save and restore... done.
Aug 13 14:18:51 venture kernel: Enabling unmasked SIMD FPU exception support... done.
Aug 13 14:18:51 venture kernel: Checking 'hlt' instruction... OK.
Aug 13 14:18:51 venture kernel: POSIX conformance testing by UNIFIX
Aug 13 14:18:51 venture kernel: Initializing RT netlink socket
Aug 13 14:18:51 venture kernel: PCI: PCI BIOS revision 2.10 entry at 0xfc00e, last bus=2
Aug 13 14:18:51 venture kernel: PCI: Using configuration type 1
Aug 13 14:18:51 venture kernel: mtrr: v2.0 (20020519)
Aug 13 14:18:51 venture kernel: BIO: pool of 256 setup, 14Kb (56 bytes/bio)
Aug 13 14:18:51 venture kernel: biovec pool[0]: 1 bvecs: 256 entries (12 bytes)
Aug 13 14:18:51 venture kernel: biovec pool[1]: 4 bvecs: 256 entries (48 bytes)
Aug 13 14:18:51 venture kernel: biovec pool[2]: 16 bvecs: 256 entries (192 bytes)
Aug 13 14:18:51 venture kernel: biovec pool[3]: 64 bvecs: 256 entries (768 bytes)
Aug 13 14:18:51 venture kernel: biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
Aug 13 14:18:51 venture kernel: biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
Aug 13 14:18:51 venture kernel: ACPI: Subsystem revision 20030714
Aug 13 14:18:51 venture kernel: ACPI: Interpreter enabled
Aug 13 14:18:51 venture kernel: ACPI: Using PIC for interrupt routing
Aug 13 14:18:51 venture kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Aug 13 14:18:51 venture kernel: PCI: Probing PCI hardware (bus 00)
Aug 13 14:18:51 venture kernel: Transparent bridge - 0000:00:1e.0
Aug 13 14:18:51 venture kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Aug 13 14:18:51 venture kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
Aug 13 14:18:51 venture kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7, enabled at IRQ 11)
Aug 13 14:18:51 venture kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
Aug 13 14:18:51 venture kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
Aug 13 14:18:51 venture kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
Aug 13 14:18:51 venture kernel: ACPI: Power Resource [PADA] (on)
Aug 13 14:18:51 venture kernel: PCI: Using ACPI for IRQ routing
Aug 13 14:18:51 venture kernel: PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Aug 13 14:18:51 venture kernel: pty: 256 Unix98 ptys configured
Aug 13 14:18:51 venture kernel: Journalled Block Device driver loaded
Aug 13 14:18:51 venture kernel: Initializing Cryptographic API
Aug 13 14:18:51 venture kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Aug 13 14:18:51 venture kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Aug 13 14:18:51 venture kernel: ICH3M: IDE controller at PCI slot 0000:00:1f.1
Aug 13 14:18:51 venture kernel: PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
Aug 13 14:18:51 venture kernel: ICH3M: chipset revision 2
Aug 13 14:18:51 venture kernel: ICH3M: not 100%% native mode: will probe irqs later
Aug 13 14:18:51 venture kernel: ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
Aug 13 14:18:51 venture kernel: ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:pio, hdd:pio
Aug 13 14:18:51 venture kernel: hda: FUJITSU MHS2020AT E, ATA DISK drive
Aug 13 14:18:51 venture kernel: Using anticipatory scheduling elevator
Aug 13 14:18:51 venture kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Aug 13 14:18:51 venture kernel: hda: max request size: 1024KiB
Aug 13 14:18:51 venture kernel: hda: 39070080 sectors (20003 MB) w/2048KiB Cache, CHS=2432/255/63, UDMA(100)
Aug 13 14:18:51 venture kernel: hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
Aug 13 14:18:51 venture kernel: mice: PS/2 mouse device common for all mice
Aug 13 14:18:51 venture kernel: input: PC Speaker
Aug 13 14:18:51 venture kernel: synaptics reset failed
Aug 13 14:18:51 venture last message repeated 2 times
Aug 13 14:18:51 venture kernel: Synaptics Touchpad, model: 1
Aug 13 14:18:51 venture kernel: Firware: 5.7
Aug 13 14:18:51 venture kernel: 180 degree mounted touchpad
Aug 13 14:18:51 venture kernel: Sensor: 27
Aug 13 14:18:51 venture kernel: new absolute packet format
Aug 13 14:18:51 venture kernel: Touchpad has extended capability bits
Aug 13 14:18:51 venture kernel: -> multifinger detection
Aug 13 14:18:51 venture kernel: -> palm detection
Aug 13 14:18:51 venture kernel: input: Synaptics Synaptics TouchPad on isa0060/serio1
Aug 13 14:18:51 venture kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Aug 13 14:18:51 venture kernel: input: AT Set 2 keyboard on isa0060/serio0
Aug 13 14:18:51 venture kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Aug 13 14:18:51 venture kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Aug 13 14:18:51 venture kernel: IP: routing cache hash table of 2048 buckets, 16Kbytes
Aug 13 14:18:51 venture kernel: TCP: Hash tables configured (established 16384 bind 16384)
Aug 13 14:18:51 venture kernel: kjournald starting. Commit interval 5 seconds
Aug 13 14:18:51 venture kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug 13 14:18:51 venture kernel: VFS: Mounted root (ext3 filesystem) readonly.
Aug 13 14:18:51 venture kernel: Freeing unused kernel memory: 96k freed
Aug 13 14:18:51 venture kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Aug 13 14:18:51 venture kernel: version 0 swap is no longer supported. Use mkswap -v1 /dev/hda5
Aug 13 14:18:51 venture kernel: EXT3 FS on hda3, internal journal
Aug 13 14:18:51 venture kernel: drivers/usb/core/usb.c: registered new driver usbfs
Aug 13 14:18:51 venture kernel: drivers/usb/core/usb.c: registered new driver hub
Aug 13 14:18:51 venture kernel: drivers/usb/core/usb.c: registered new driver hiddev
Aug 13 14:18:51 venture kernel: drivers/usb/core/usb.c: registered new driver hid
Aug 13 14:18:51 venture kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Aug 13 14:18:51 venture kernel: IPv6 v0.8 for NET4.0
Aug 13 14:18:51 venture kernel: IPv6 over IPv4 tunneling driver
Aug 13 14:18:51 venture kernel: 3c59x: Donald Becker and others. http://www.scyld.com/network/vortex.html
Aug 13 14:18:51 venture kernel: 0000:02:00.0: 3Com PCI 3c905C Tornado at 0xec80. Vers LK1.1.19
Aug 13 14:18:51 venture kernel: kjournald starting. Commit interval 5 seconds
Aug 13 14:18:51 venture kernel: EXT3 FS on hda6, internal journal
Aug 13 14:18:51 venture kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug 13 14:18:51 venture kernel: kjournald starting. Commit interval 5 seconds
Aug 13 14:18:51 venture kernel: EXT3 FS on hda7, internal journal
Aug 13 14:18:51 venture kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug 13 14:18:51 venture kernel: version 0 swap is no longer supported. Use mkswap -v1 /dev/hda5
Aug 13 14:18:51 venture kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
Aug 13 14:18:51 venture kernel: uhci-hcd 0000:00:1d.0: UHCI Host Controller
Aug 13 14:18:51 venture kernel: PCI: Setting latency timer of device 0000:00:1d.0 to 64
Aug 13 14:18:51 venture kernel: uhci-hcd 0000:00:1d.0: irq 11, io base 0000bf80
Aug 13 14:18:51 venture kernel: uhci-hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
Aug 13 14:18:51 venture kernel: hub 1-0:0: USB hub found
Aug 13 14:18:51 venture kernel: hub 1-0:0: 2 ports detected
Aug 13 14:18:51 venture kernel: Real Time Clock Driver v1.11
Aug 13 14:18:51 venture lpd[279]: restarted
Aug 13 14:18:52 venture kernel: Linux Kernel Card Services 3.1.22
Aug 13 14:18:52 venture kernel: options: [pci] [cardbus] [pm]
Aug 13 14:18:52 venture kernel: PCI: Enabling device 0000:02:01.0 (0000 -> 0002)
Aug 13 14:18:52 venture kernel: Yenta: CardBus bridge found at 0000:02:01.0 [1028:00c8]
Aug 13 14:18:52 venture kernel: Yenta IRQ list 04b8, PCI irq11
Aug 13 14:18:52 venture kernel: Socket status: 30000010
Aug 13 14:18:52 venture cardmgr[310]: watching 1 sockets
Aug 13 14:18:52 venture kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Aug 13 14:18:52 venture kernel: cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x817 0x828-0x837 0x840-0x857 0x860-0x877 0x880-0x88f 0x898-0x89f 0x8a8-0x8af 0x8b8-0x8cf 0x8e0-0x8ff
Aug 13 14:18:52 venture kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x37f 0x3c0-0x3df 0x3f8-0x3ff 0x4d0-0x4d7
Aug 13 14:18:52 venture kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Aug 13 14:18:52 venture cardmgr[311]: starting, version is 3.2.4
Aug 13 14:18:52 venture kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Aug 13 14:18:52 venture cardmgr[311]: socket 0: Anonymous Memory
Aug 13 14:18:52 venture modprobe: FATAL: Module apm not found.
Aug 13 14:18:52 venture cardmgr[311]: executing: 'modprobe memory_cs'
Aug 13 14:18:52 venture cardmgr[311]: + FATAL: Module memory_cs not found.
Aug 13 14:18:52 venture cardmgr[311]: modprobe exited with status 1
Aug 13 14:18:52 venture cardmgr[311]: module /lib/modules/2.6.0-test3/pcmcia/memory_cs.o not available
Aug 13 14:18:52 venture cardmgr[311]: bind 'memory_cs' to socket 0 failed: Invalid argument
Aug 13 14:18:52 venture modprobe: FATAL: Module apm not found.
Aug 13 14:18:52 venture cardmgr[311]: socket 0: Anonymous Memory
Aug 13 14:18:53 venture rpc.statd[330]: Version 1.0.3 Starting
Aug 13 14:18:53 venture ntpd[335]: ntpd 4.1.0 Mon Mar 25 23:39:47 UTC 2002 (2)
Aug 13 14:18:53 venture ntpd[335]: signal_no_reset: signal 13 had flags 4000000
Aug 13 14:18:53 venture ntpd[335]: precision = 8 usec
Aug 13 14:18:53 venture ntpd[335]: kernel time discipline status 0040
Aug 13 14:18:53 venture ntpd[335]: getconfig: Couldn't open </etc/ntp.conf>
Aug 13 14:18:53 venture /usr/sbin/cron[340]: (CRON) INFO (pidfile fd = 3)
Aug 13 14:18:53 venture /usr/sbin/cron[341]: (CRON) STARTUP (fork ok)
Aug 13 14:18:53 venture /usr/sbin/cron[341]: (CRON) INFO (Running @reboot jobs)
Aug 13 14:18:55 venture usb.agent[114]: ... no modules for USB product 0/0/206
Aug 13 14:18:56 venture kernel: Linux agpgart interface v0.100 (c) Dave Jones
Aug 13 14:18:58 venture modprobe: FATAL: Module agpgart already in kernel.

=== lspci output ===

00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 04)
00:02.0 VGA compatible controller: Intel Corp. 82830 CGC [Chipset Graphics Controller] (rev 04)
00:02.1 Display controller: Intel Corp. 82830 CGC [Chipset Graphics Controller]
00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
02:01.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)

=== lspci -vvv output ===

00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 04)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Region 0: Memory at <unassigned> (32-bit, prefetchable)
Capabilities: [40] #09 [0105]

00:02.0 VGA compatible controller: Intel Corp. 82830 CGC [Chipset Graphics Controller] (rev 04) (prog-if 00 [VGA])
Subsystem: Dell Computer Corporation: Unknown device 00c8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
Region 1: Memory at f4f80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.1 Display controller: Intel Corp. 82830 CGC [Chipset Graphics Controller]
Subsystem: Dell Computer Corporation: Unknown device 00c8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (2750ns max)
Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
Region 1: Memory at f4f00000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 4: I/O ports at bf80 [size=32]

00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=02, subordinate=10, sec-latency=32
I/O behind bridge: 0000e000-0000ffff
Memory behind bridge: f6000000-fdffffff
Prefetchable memory behind bridge: fff00000-000fffff
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0

00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4541
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at <ignored>
Region 1: I/O ports at <ignored>
Region 2: I/O ports at <ignored>
Region 3: I/O ports at <ignored>
Region 4: I/O ports at bfa0 [size=16]
Region 5: Memory at 10000000 (32-bit, non-prefetchable) [size=1K]

00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
Subsystem: Cirrus Logic: Unknown device 5959
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at d800 [size=256]
Region 1: I/O ports at dc80 [size=64]

00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02) (prog-if 00 [Generic])
Subsystem: PCTel Inc Dell Inspiron 2100 internal modem
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at d400 [size=256]
Region 1: I/O ports at dc00 [size=128]

02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
Subsystem: Dell Computer Corporation: Unknown device 00c8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (2500ns min, 2500ns max), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ec80 [size=128]
Region 1: Memory at fafffc00 (32-bit, non-prefetchable) [size=128]
Expansion ROM at fb000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

02:01.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
Subsystem: Dell Computer Corporation: Unknown device 00c8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00001000-000010ff
I/O window 1: 00001400-000014ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001


--
One good reason why computers can do more work than people is that they
never have to stop and answer the phone.


Attachments:
(No filename) (20.74 kB)
(No filename) (240.00 B)
Download all attachments

2003-08-26 14:07:51

by Tom Marshall

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

On Wed, Aug 13, 2003 at 02:26:10PM -0700, Tom Marshall wrote:
> > Could you show the kernel messages from boot as well as the above
> > messages please?
>
> Here it is. Below that is a more complete lspci output.
>
> [...]

Is there any more information on this problem? Is it a problem with the
PCI1410 chip or the way it's integrated? I would really like to get this
working. I can run test builds, or perhaps even try to find the problem
myself if someone can verify that the chip should work with yenta_socket.

--
Happiness isn't something you experience; it's something you remember.
-- Oscar Levant


Attachments:
(No filename) (621.00 B)
(No filename) (240.00 B)
Download all attachments

2003-08-26 14:23:14

by Russell King

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

On Tue, Aug 26, 2003 at 07:05:41AM -0700, Tom Marshall wrote:
> On Wed, Aug 13, 2003 at 02:26:10PM -0700, Tom Marshall wrote:
> > > Could you show the kernel messages from boot as well as the above
> > > messages please?
> >
> > Here it is. Below that is a more complete lspci output.
> >
> > [...]
>
> Is there any more information on this problem? Is it a problem with the
> PCI1410 chip or the way it's integrated? I would really like to get this
> working. I can run test builds, or perhaps even try to find the problem
> myself if someone can verify that the chip should work with yenta_socket.

I'm waiting for more people to send me problem reports. Currently, it
looks like PCI1410 and OZ6912 cardbus controllers, and one VG469 ISA
PCMCIA controller are affected.

If there's anyone who has found this problem and hasn't reported it, it
would be most useful if they could put together a report (containing the
requested information.) so we get more datapoints.

Someone else mentioned that the problem occurred (iirc) sometime between
2.5.70 and 2.5.75, which is when the bulk of the major pcmcia changes
went in... so it isn't that useful.

Also note that I'm unable to reproduce the problem on either my ARM
system containing a CL6833 Cardbus controller nor my IBM Thinkpad
with a TI PCI1250, so I'm completely dependent on getting reports from
the community to solve this issue.

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2003-08-26 22:58:43

by Sven Dowideit

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

On Wed, 2003-08-27 at 00:20, Russell King wrote:
> I'm waiting for more people to send me problem reports. Currently, it
> looks like PCI1410 and OZ6912 cardbus controllers, and one VG469 ISA
> PCMCIA controller are affected.
>
> If there's anyone who has found this problem and hasn't reported it, it
> would be most useful if they could put together a report (containing the
> requested information.) so we get more datapoints.
>
> Someone else mentioned that the problem occurred (iirc) sometime between
> 2.5.70 and 2.5.75, which is when the bulk of the major pcmcia changes
> went in... so it isn't that useful.
yep, thats me :) thought i have a PCI1450 (as i think the other reports
from Thinkpad t21 are..)
>
> Also note that I'm unable to reproduce the problem on either my ARM
> system containing a CL6833 Cardbus controller nor my IBM Thinkpad
> with a TI PCI1250, so I'm completely dependent on getting reports from
> the community to solve this issue.
Other than these reports, what else can we do to help? If this is
something that can ease me into some kernel debugging, where should i
look first?

cheers
Sven

2003-08-26 22:56:21

by Daniel Ritz

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

can you please retest with -test4 and russell's yenta patches?
http://patches.arm.linux.org.uk/pcmcia/yenta-20030817.tar

if that doesn't work out: could you please add these lines to in yenta_socket.c?

in yenta_events(), before return:
printk("yenta_events: socket %p, cb: %x, csc: %x\n", socket, cb_event, csc);

in yenta_get_status(), before return:
printk("yenta_get_status: socket %p, state: %x\n", socket, state);


and then report the output on boot, when removig, inserting, cardctl eject, cardctl insert?
this could give an idea what's going on....

rgds
-daniel

2003-08-27 12:59:46

by Russell King

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

On Wed, Aug 27, 2003 at 12:56:33AM +0200, Daniel Ritz wrote:
> can you please retest with -test4 and russell's yenta patches?
> http://patches.arm.linux.org.uk/pcmcia/yenta-20030817.tar

I've just created http://pcmcia.arm.linux.org.uk/ to document the
currently known problems and to contain patches for them.

> if that doesn't work out: could you please add these lines to in
> yenta_socket.c?

What seems to happen is that some peoples cardbus bridges don't report
the "card insert" interrupt, or they do and the socket status does not
report that the card is inserted.

I'll review all the reports thus far this afternoon and expand the
problem description on the website.

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2003-08-27 13:10:47

by Sven Dowideit

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1410)

On Wed, 2003-08-27 at 08:56, Daniel Ritz wrote:
> can you please retest with -test4 and russell's yenta patches?
> http://patches.arm.linux.org.uk/pcmcia/yenta-20030817.tar
>
> if that doesn't work out: could you please add these lines to in yenta_socket.c?
(this is the TI PCI1450)
mmm it seems to work fine every time except if i boot with the card
inserted. (same result as test4 only)

this log (with the yenta patch) is from insertting and removing the card
- cardctl insert and remove look the same..

sven......

Linux version 2.6.0-test4 (root@sven) (gcc version 3.3.2 20030812
(Debian prerelease)) #5 Thu Aug 28 08:02:48 EST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fffec00 (ACPI data)
BIOS-e820: 000000001fffec00 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
IBM machine detected. Enabling interrupts during APM calls.
IBM machine detected. Disabling SMBus accesses.
ACPI: RSDP (v000 PTLTD ) @
0x000f7120
ACPI: RSDT (v001 PTLTD RSDT 0x06041150 LTP 0x00000000) @
0x1fff4c5d
ACPI: FADT (v001 IBM TP-T21 0x06041150 0x00000000) @ 0x1fffeb65
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06041150 LTP 0x00000001) @
0x1fffebd9
ACPI: DSDT (v001 IBM TP-T21 0x06041150 MSFT 0x0100000c) @
0x00000000
ACPI: MADT not present
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=linux26 ro root=303
Local APIC disabled by BIOS -- reenabling.
Could not enable APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 846.433 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1675.26 BogoMIPS
Memory: 515036k/524224k available (2045k kernel code, 8444k reserved,
788k data, 160k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: After generic identify, caps: 0383f9ff 00000000 00000000
00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000
00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PM: Adding info for No Bus:legacy
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfd94f, last bus=7
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]: 1 bvecs: 256 entries (12 bytes)
biovec pool[1]: 4 bvecs: 256 entries (48 bytes)
biovec pool[2]: 16 bvecs: 256 entries (192 bytes)
biovec pool[3]: 64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PM: Adding info for No Bus:pci0000:00
PM: Adding info for pci:0000:00:00.0
PM: Adding info for pci:0000:00:01.0
PM: Adding info for pci:0000:00:02.0
PM: Adding info for pci:0000:00:02.1
PM: Adding info for pci:0000:00:03.0
PM: Adding info for pci:0000:00:03.1
PM: Adding info for pci:0000:00:05.0
PM: Adding info for pci:0000:00:07.0
PM: Adding info for pci:0000:00:07.1
PM: Adding info for pci:0000:00:07.2
PM: Adding info for pci:0000:00:07.3
PM: Adding info for pci:0000:01:00.0
PM: Adding info for No Bus:pci0000:08
PCI: Discovered primary peer bus 08 [IRQ]
PCI: Using IRQ router PIIX [8086/7110] at 0000:00:07.0
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb0: VGA16 VGA frame buffer device
pty: 256 Unix98 ptys configured
SBF: ACPI BOOT descriptor is wrong length (39)
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
cpufreq: Intel(R) SpeedStep(TM) for this chipset not (yet) available.
ikconfig 0.5 with /proc/ikconfig
VFS: Disk quotas dquot_6.5.1
Journalled Block Device driver loaded
Limiting direct PCI/PCI transfers.
Real Time Clock Driver v1.11a
Using anticipatory scheduling elevator
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
PM: Adding info for platform:floppy0
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1c00-0x1c07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1c08-0x1c0f, BIOS settings: hdc:DMA, hdd:pio
hda: IC25T048ATDA05-0, ATA DISK drive
PM: Adding info for No Bus:ide0
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
PM: Adding info for ide:0.0
hdc: MATSHITADVD-ROM SR-8175, ATAPI CD/DVD-ROM drive
PM: Adding info for No Bus:ide1
ide1 at 0x170-0x177,0x376 on irq 15
PM: Adding info for ide:1.0
hda: max request size: 128KiB
hda: 93759120 sectors (48004 MB) w/1806KiB Cache, CHS=65535/16/63
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
end_request: I/O error, dev hdc, sector 0
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
mice: PS/2 mouse device common for all mice
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
I2O Core - (C) Copyright 1999 Red Hat Software
I2O: Event thread created as pid 10
i2o: Checking for PCI I2O controllers...
I2O configuration manager v 0.04.
(C) Copyright 1999 Red Hat Software
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 160k freed
EXT3 FS on hda3, internal journal
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/core/usb.c: registered new driver usbkbd
drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver
airo: Probing for PCI adapters
airo: Finished probing for PCI adapters
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
PCI: Found IRQ 11 for device 0000:00:03.0
PCI: Sharing IRQ 11 with 0000:00:03.1
3c59x: Donald Becker and others. http://www.scyld.com/network/vortex.html
0000:00:03.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800. Vers LK1.1.19
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
Intel PCIC probe: not found.
PCI: Found IRQ 9 for device 0000:00:02.0
PCI: Sharing IRQ 9 with 0000:00:05.0
PCI: Sharing IRQ 9 with 0000:01:00.0
Yenta: CardBus bridge found at 0000:00:02.0 [1014:0130]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ list 00b8, PCI irq9
Socket status: 30000010
PCI: Found IRQ 9 for device 0000:00:02.1
Yenta: CardBus bridge found at 0000:00:02.1 [1014:0130]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ list 00b8, PCI irq9
Socket status: 30000006
yenta_get_status: socket dfafdc00, state: 30000410
yenta_get_status: socket dfafdc00, state: 30000410
yenta_get_status: socket dfafd000, state: 30000086
yenta_get_status: socket dfafdc00, state: 30000410
yenta_get_status: socket dfafdc00, state: 30000419
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3c0-0x3df
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
yenta_get_status: socket dfafdc00, state: 30000419
yenta_get_status: socket dfafdc00, state: 30000419
yenta_get_status: socket dfafdc00, state: 30000419
yenta_get_status: socket dfafdc00, state: 30000459
yenta_get_status: socket dfafdc00, state: 30000459
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000011f
yenta_events: socket dfafdc00, cb: c, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 30000086
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 30000410
yenta_get_status: socket dfafdc00, state: 30000410
yenta_get_status: socket dfafdc00, state: 30000410
yenta_get_status: socket dfafdc00, state: 30000419
yenta_get_status: socket dfafdc00, state: 30000419
yenta_get_status: socket dfafdc00, state: 30000419
yenta_get_status: socket dfafdc00, state: 30000459
yenta_get_status: socket dfafdc00, state: 30000459
yenta_get_status: socket dfafdc00, state: 30000459
airo: Doing fast bap_reads
airo: MAC enabled eth1 0:40:96:33:e:a4
eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000001f
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000028a
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000028e
yenta_events: socket dfafdc00, cb: c, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 30000286
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 30000610
yenta_get_status: socket dfafdc00, state: 30000610
yenta_get_status: socket dfafdc00, state: 30000610
yenta_get_status: socket dfafdc00, state: 30000619
yenta_get_status: socket dfafdc00, state: 30000619
yenta_get_status: socket dfafdc00, state: 30000619
yenta_get_status: socket dfafdc00, state: 30000659
yenta_get_status: socket dfafdc00, state: 30000659
yenta_get_status: socket dfafdc00, state: 30000659
airo: Probing for PCI adapters
kobject_register failed for airo (-17)
Call Trace:
[<c0201f59>] kobject_register+0x59/0x60
[<c02281b2>] bus_add_driver+0x52/0xb0
[<c022862f>] driver_register+0x2f/0x40
[<c0184094>] create_proc_entry+0x84/0xd0
[<c020bd5c>] pci_register_driver+0x5c/0x90
[<e08790e8>] airo_init_module+0xe8/0x10d [airo]
[<c0133d98>] sys_init_module+0x118/0x230
[<c010ae9b>] syscall_call+0x7/0xb

airo: Finished probing for PCI adapters
airo: Doing fast bap_reads
airo: MAC enabled eth1 0:40:96:33:e:a4
eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000021f
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000028a
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000028e
yenta_events: socket dfafdc00, cb: c, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 4, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 30000286
yenta_get_status: socket dfafdc00, state: 30000286
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 30000610
yenta_get_status: socket dfafdc00, state: 30000610
yenta_get_status: socket dfafdc00, state: 30000610
yenta_get_status: socket dfafdc00, state: 30000619
yenta_get_status: socket dfafdc00, state: 30000619
yenta_get_status: socket dfafdc00, state: 30000619
yenta_get_status: socket dfafdc00, state: 30000659
yenta_get_status: socket dfafdc00, state: 30000659
airo: Probing for PCI adapters
kobject_register failed for airo (-17)
Call Trace:
[<c0201f59>] kobject_register+0x59/0x60
[<c02281b2>] bus_add_driver+0x52/0xb0
[<c022862f>] driver_register+0x2f/0x40
[<c0184094>] create_proc_entry+0x84/0xd0
[<c020bd5c>] pci_register_driver+0x5c/0x90
[<e08790e8>] airo_init_module+0xe8/0x10d [airo]
[<c0133d98>] sys_init_module+0x118/0x230
[<c010ae9b>] syscall_call+0x7/0xb

airo: Finished probing for PCI adapters
airo: Doing fast bap_reads
airo: MAC enabled eth1 0:40:96:33:e:a4
eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f
yenta_events: socket dfafdc00, cb: 0, csc: 8
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_events: socket dfafdc00, cb: 6, csc: 0
yenta_events: socket dfafd000, cb: 0, csc: 0
yenta_get_status: socket dfafdc00, state: 3000021f


2003-09-05 11:59:14

by Sven Dowideit

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1450)

On Wed, 2003-08-27 at 22:59, Russell King wrote:
> I've just created http://pcmcia.arm.linux.org.uk/ to document the
> currently known problems and to contain patches for them.
>
ok, I've built and booted linux 2.5.70 to 2.5.75, and it seems that the
detecting the aironet card as a memory_cs device happens in 2.5.74

_but_ I did come across a number of other weirdnesses on the way.
1. 2.5.71 was missing a #include <linux/cpu.h> in flow.c
2. when i patched 2.5.70 to 2.5.71 and then 2.5.72 somehow SMP became
enabled, and this stopped pcmcia from working at all
3. my /etc/defaults/pcmcia contained the line PCIC-i82365, which seemed
not tp cause 2.5.70 any problems, but after that i had to change that to
yenta before pcmicia started successfully

I assume the next step is to apply the 2.5.74 patch in pieces ?

cheers
Sven

-----------------
from dmesg 2.5.73

Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 9 for device 00:02.0
PCI: Sharing IRQ 9 with 00:05.0
PCI: Sharing IRQ 9 with 01:00.0
Yenta IRQ list 00b8, PCI irq9
Socket status: 30000006
PCI: Found IRQ 9 for device 00:02.1
Yenta IRQ list 00b8, PCI irq9
Socket status: 30000010
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3c0-0x3df
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
airo: Doing fast bap_reads
airo: MAC enabled eth1 0:40:96:33:e:a4
eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f
bad: scheduling while atomic!
Call Trace:
[<c0117666>] schedule+0x3b6/0x3c0
[<e0852bea>] sendcommand+0xaa/0xe0 [airo]
[<e0852b0c>] issuecommand+0x5c/0x90 [airo]
[<e08530ca>] PC4500_accessrid+0x4a/0x90 [airo]
[<e0853177>] PC4500_readrid+0x67/0x120 [airo]
[<c0175118>] padzero+0x28/0x30

-----------------
dmesg from 2.5.74

Yenta IRQ list 0000, PCI irq9
Socket status: 30000006
PCI: Found IRQ 9 for device 0000:00:02.1
ti113x: Routing card interrupts to PCI
Yenta IRQ list 0000, PCI irq9
Socket status: 30000010
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3c0-0x3df
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.


----------------
the differences between the 2 .config files

root@sven:/usr/src/2.5# diff linux-2.5.73/.config linux-2.5.74/.config
174d173
< CONFIG_BINFMT_AOUT=m
175a175
> CONFIG_BINFMT_AOUT=m
178a179,183
> # Generic Driver Options
> #
> # CONFIG_FW_LOADER is not set
>
> #
350d354
< # CONFIG_SCSI_NCR53C7xx is not set
352d355
< # CONFIG_SCSI_NCR53C8XX is not set
711d713
< # CONFIG_MOUSE_PS2_SYNAPTICS is not set
747a750
> # CONFIG_I2C_PROSAVAGE is not set
758a762
> # CONFIG_I2C_ALI1535 is not set
774a779
> # CONFIG_SENSORS_LM78 is not set
1266a1272
> # CONFIG_USB_AX8817X is not set




2003-09-05 17:58:34

by Russell King

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1450)

On Sat, Sep 06, 2003 at 07:53:42AM +1000, Sven Dowideit wrote:
> On Wed, 2003-08-27 at 22:59, Russell King wrote:
> > I've just created http://pcmcia.arm.linux.org.uk/ to document the
> > currently known problems and to contain patches for them.
> >
> ok, I've built and booted linux 2.5.70 to 2.5.75, and it seems that the
> detecting the aironet card as a memory_cs device happens in 2.5.74

Ok, there's two sets of changes between .73 and .74 which touch PCMCIA.
The first is 2.5.73-bk1-bk2 and the second is 2.5.73-bk8-bk9.

ftp.kernel.org:/pub/linux/kernel/v2.5/snapshots/incr/patch-2.5.73-bk1-bk2.bz2
ftp.kernel.org:/pub/linux/kernel/v2.5/snapshots/incr/patch-2.5.73-bk8-bk9.bz2

I'm not going to try to guess which caused the problem, but I'm intrigued
to know which is causing the problems.

Thanks for your efforts so far tracking the problem down.

--
Russell King ([email protected]) http://www.arm.linux.org.uk/personal/
Linux kernel maintainer of:
2.6 ARM Linux - http://www.arm.linux.org.uk/
2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core

2003-09-05 18:20:54

by Daniel Ritz

[permalink] [raw]
Subject: Re: Problems with PCMCIA (Texas Instruments PCI1450)

ok, now i can reproduce the problem on my ti1410 too. on boot detection
works fine with an UP kernel and fails with an SMP kernel. thanx for the
hint.

i go to look at the csets a bit and try to find out more....
(i think i know which change...)


On Fri September 5 2003 23:53, Sven Dowideit wrote:
> On Wed, 2003-08-27 at 22:59, Russell King wrote:
> > I've just created http://pcmcia.arm.linux.org.uk/ to document the
> > currently known problems and to contain patches for them.
> >
> ok, I've built and booted linux 2.5.70 to 2.5.75, and it seems that the
> detecting the aironet card as a memory_cs device happens in 2.5.74
>
> _but_ I did come across a number of other weirdnesses on the way.
> 1. 2.5.71 was missing a #include <linux/cpu.h> in flow.c
> 2. when i patched 2.5.70 to 2.5.71 and then 2.5.72 somehow SMP became
> enabled, and this stopped pcmcia from working at all
> 3. my /etc/defaults/pcmcia contained the line PCIC-i82365, which seemed
> not tp cause 2.5.70 any problems, but after that i had to change that to
> yenta before pcmicia started successfully
>
> I assume the next step is to apply the 2.5.74 patch in pieces ?
>
> cheers
> Sven
>
> -----------------
> from dmesg 2.5.73
>
> Linux Kernel Card Services 3.1.22
> options: [pci] [cardbus] [pm]
> PCI: Found IRQ 9 for device 00:02.0
> PCI: Sharing IRQ 9 with 00:05.0
> PCI: Sharing IRQ 9 with 01:00.0
> Yenta IRQ list 00b8, PCI irq9
> Socket status: 30000006
> PCI: Found IRQ 9 for device 00:02.1
> Yenta IRQ list 00b8, PCI irq9
> Socket status: 30000010
> cs: IO port probe 0x0c00-0x0cff: clean.
> cs: IO port probe 0x0800-0x08ff: clean.
> cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3c0-0x3df
> 0x4d0-0x4d7
> cs: IO port probe 0x0a00-0x0aff: clean.
> cs: memory probe 0xa0000000-0xa0ffffff: clean.
> airo: Doing fast bap_reads
> airo: MAC enabled eth1 0:40:96:33:e:a4
> eth1: index 0x05: Vcc 5.0, Vpp 5.0, irq 3, io 0x0100-0x013f
> bad: scheduling while atomic!
> Call Trace:
> [<c0117666>] schedule+0x3b6/0x3c0
> [<e0852bea>] sendcommand+0xaa/0xe0 [airo]
> [<e0852b0c>] issuecommand+0x5c/0x90 [airo]
> [<e08530ca>] PC4500_accessrid+0x4a/0x90 [airo]
> [<e0853177>] PC4500_readrid+0x67/0x120 [airo]
> [<c0175118>] padzero+0x28/0x30
>
> -----------------
> dmesg from 2.5.74
>
> Yenta IRQ list 0000, PCI irq9
> Socket status: 30000006
> PCI: Found IRQ 9 for device 0000:00:02.1
> ti113x: Routing card interrupts to PCI
> Yenta IRQ list 0000, PCI irq9
> Socket status: 30000010
> cs: IO port probe 0x0c00-0x0cff: clean.
> cs: IO port probe 0x0800-0x08ff: clean.
> cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3c0-0x3df
> 0x4d0-0x4d7
> cs: IO port probe 0x0a00-0x0aff: clean.
> cs: memory probe 0xa0000000-0xa0ffffff: clean.
>
>
> ----------------
> the differences between the 2 .config files
>
> root@sven:/usr/src/2.5# diff linux-2.5.73/.config linux-2.5.74/.config
> 174d173
> < CONFIG_BINFMT_AOUT=m
> 175a175
> > CONFIG_BINFMT_AOUT=m
> 178a179,183
> > # Generic Driver Options
> > #
> > # CONFIG_FW_LOADER is not set
> >
> > #
> 350d354
> < # CONFIG_SCSI_NCR53C7xx is not set
> 352d355
> < # CONFIG_SCSI_NCR53C8XX is not set
> 711d713
> < # CONFIG_MOUSE_PS2_SYNAPTICS is not set
> 747a750
> > # CONFIG_I2C_PROSAVAGE is not set
> 758a762
> > # CONFIG_I2C_ALI1535 is not set
> 774a779
> > # CONFIG_SENSORS_LM78 is not set
> 1266a1272
> > # CONFIG_USB_AX8817X is not set
>
>
>
>
>