|
Hello everybody,
I'm having a terrible time setting up PCMCIA on my Fujitsu LifeBook 585Tx. The problem is even if everything seems ok, when trying to ping I get first a series of "Destination Host Unreachable" then "eth0: transmit timed out, tx_status 00 status e681. eth0: Interrupt posted but not delivered -- IRQ blocked by another device?" then I get replies after 35 to 5 seconds (35000 - 5000 ms). Here come the dumps: "/etc/sysconfig/pcmcia" PCMCIA=yes PCIC=i82365 PCIC_OPTS= CORE_OPTS= PCI_INT=1 PCI_CSC=1 "/etc/pcmcia/config.opts" # # Local PCMCIA Configuration File # # System resources available for PCMCIA devices #include irq 11 include port 0x1080-0x10ff include memory 0x04000000-0x04040fff # # Extra port range for IBM Token Ring # # include port 0xa00-0xaff # # Resources we should not use, even if they appear to be available # # First built-in serial portexclude irq 4 # Second built-in serial port exclude irq 3 # First built-in parallel port exclude irq 7 exclude irq 0 exclude irq 1 exclude irq 2 exclude irq 5 exclude irq 6 exclude irq 8 exclude irq 10 #exclude irq 11 exclude irq 12 exclude irq 13 exclude irq 14 exclude irq 15 # # Examples of options for loadable modules # # To fix sluggish network with IBM ethernet adapter... #module "pcnet_cs" opts "mem_speed=600" # # Options for Xircom Netwave driver... #module "netwave_cs" opts "domain=0x100 scramble_key=0x0" # # Options for IBM Token Ring adapters #module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000"
"/etc/pcmcia/network.opts"
# Network Device Configuration
#
# The address format is "scheme,socket,instance".
#
case "$ADDRESS" in
*,*,*,*)
IF_PORT="100baseT4"
PUMP="n"
BOOTP="n"
DHCP="n"
IPADDR="192.168.1.236"
NETMASK="255.255.255.0"
BROADCAST="192.168.1.255"
NETWORK="192.168.1.0"
GATEWAY="192.168.1.236"
DOMAIN="tofan.ro"
DNS_1="192.168.1.237"
DNS_2="192.168.1.2"
;;
esac
"dmesg" Linux version 2.2.12-20 (root@porky.devel.redhat.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Sep 27 10:25:54 EDT 1999 Detected 233866125 Hz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 466.94 BogoMIPS Memory: 62780k/65536k available (1008k kernel code, 412k reserved, 992k data, 64k init) DENTRY hash table entries: 262144 (order: 9, 2097152 bytes) Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) VFS: Diskquotas version dquot_6.4.0 initialized CPU: Intel Mobile Pentium MMX stepping 01 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. Intel Pentium with F0 0F bug - workaround enabled. POSIX conformance testing by UNIFIX PCI: PCI BIOS revision 2.10 entry at 0xfd9f0 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Enabling I/O for device 00:0a Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 65536 bhash 65536) Initializing RT netlink socket Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A pty: 256 Unix98 ptys configured apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9) Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 4096K size PIIX4: IDE controller on PCI bus 00 dev 09 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:pio, hdd:pio hda: IBM-DTCA-24090, ATA DISK drive hdc: UJDA110, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: IBM-DTCA-24090, 3909MB w/468kB Cache, CHS=993/128/63 hdc: ATAPI 14X CD-ROM drive, 128kB Cache Uniform CDROM driver Revision: 2.56 Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12 raid5: measuring checksumming speed raid5: MMX detected, trying high-speed MMX checksum routines pII_mmx : 352.425 MB/sec p5_mmx : 421.005 MB/sec 8regs : 253.365 MB/sec 32regs : 188.214 MB/sec using fastest function: p5_mmx (421.005 MB/sec) scsi : 0 hosts. scsi : detected total. md.c: sizeof(mdp_super_t) = 4096 Partition check: hda: hda1 hda2 < hda5 hda6 > RAMDISK: Compressed image found at block 0 autodetecting RAID arrays autorun ... ... autorun DONE. VFS: Mounted root (ext2 filesystem). autodetecting RAID arrays autorun ... ... autorun DONE. VFS: Mounted root (ext2 filesystem) readonly. change_root: old root has d_count=1 Trying to unmount old root ... okay Freeing unused kernel memory: 64k freed Adding Swap: 16088k swap-space (priority -1) Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996 SB 3.01 detected OK (220) ESS chip ES1878 detected YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996 Linux PCMCIA Card Services 3.0.14 kernel build: 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 options: [pci] [cardbus] [apm] Intel PCIC probe: O2Micro OZ6832 PCI-to-CardBus at bus 0 slot 16, mem 0x68000000, 2 sockets host opts [0]: [a 40] [b 01] [c 00] [d 02] [mhpg 18] [fifo 00] [e 02] [no pci irq] [lat 168/176] [bus 32/34] host opts [1]: [a 40] [b 01] [c 50] [d 02] [mhpg 18] [fifo 00] [e 02] [no pci irq] [lat 168/176] [bus 35/37] ISA irqs (default) = 3,4,7,10,11,12 polling interval = 1000 ms cs: IO port probe 0x1080-0x10ff: clean. unloading PCMCIA Card Services Linux PCMCIA Card Services 3.0.14 kernel build: 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 options: [pci] [cardbus] [apm] Intel PCIC probe: O2Micro OZ6832 PCI-to-CardBus at bus 0 slot 16, mem 0x68000000, 2 sockets host opts [0]: [a 40] [b 01] [c 00] [d 02] [mhpg 18] [fifo 00] [e 02] [no pci irq] [lat 168/176] [bus 32/34] host opts [1]: [a 40] [b 01] [c 50] [d 02] [mhpg 18] [fifo 00] [e 02] [no pci irq] [lat 168/176] [bus 35/37] ISA irqs (default) = 3,4,7,10,11 polling interval = 1000 ms cs: IO port probe 0x1080-0x10ff: clean. 3c59x.c:v0.99L 5/28/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html cs: cb_config(bus 32): vendor 0x10b7, device 0x5157 fn 0 bar 1: io 0x1080-0x10ff fn 0 bar 2: mem 0x4021000-0x402107f fn 0 bar 3: mem 0x4020000-0x402007f fn 0 rom: mem 0x4000000-0x401ffff cs: cb_enable(bus 32) bridge io map 0 (flags 0x21): 0x1080-0x10ff bridge mem map 0 (flags 0x1): 0x4000000-0x4021fff vortex_attach(bus 32, function 0, device 5157) eth0: 3Com 3CCFE575 Cyclone CardBus at 0x1080, 00:10:4b:a5:87:ad, IRQ 11 eth0: CardBus functions mapped 04020000->c4856000 8K byte-wide RAM 5:3 Rx:Tx split, MII interface. MII transceiver found at address 0, status 7809. Enabling bus-master transmits and whole-frame receives. cat uses obsolete /proc/pci interface
"cat /proc/interrupts"
CPU0
0: 154397 XT-PIC timer
1: 549 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 1 XT-PIC soundblaster
8: 1 XT-PIC rtc
11: 2 XT-PIC eth0
12: 12 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 46621 XT-PIC ide0
15: 4 XT-PIC ide1
NMI: 0
"cat /proc/pci"
PCI devices found:
Bus 32, device 0, function 0:
Ethernet controller: 3Com Unknown device (rev 1).
Vendor id=10b7. Device id=5157.
Medium devsel. IRQ 11.
Non-prefetchable 32 bit memory at 0x1080 [0x1080].
Non-prefetchable 32 bit memory at 0x4021000 [0x4021000].
Non-prefetchable 32 bit memory at 0x4020000 [0x4020000].
Bus 0, device 0, function 0:
Host bridge: Intel 82439TX (rev 1).
Medium devsel. Master Capable. Latency=32.
Bus 0, device 1, function 0:
ISA bridge: Intel 82371AB PIIX4 ISA (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 1, function 1:
IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
I/O at 0xfcf0 [0xfcf1].
Bus 0, device 1, function 2:
USB Controller: Intel 82371AB PIIX4 USB (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
I/O at 0xfcc0 [0xfcc1].
Bus 0, device 1, function 3:
Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
Medium devsel. Fast back-to-back capable.
Bus 0, device 16, function 0:
CardBus bridge: O2 Micro 6832 (rev 2).
Medium devsel. Master Capable. No bursts. Min Gnt=128.Max Lat=4.
Bus 0, device 16, function 1:
CardBus bridge: O2 Micro 6832 (rev 2).
Medium devsel. Master Capable. No bursts. Min Gnt=128.Max Lat=4.
Bus 0, device 20, function 0:
VGA compatible controller: Trident TG 9660 / Cyber9385 (rev 211).
Medium devsel. Fast back-to-back capable. IRQ 9.
Non-prefetchable 32 bit memory at 0xfe400000 [0xfe400000].
Non-prefetchable 32 bit memory at 0xfedf0000 [0xfedf0000].
Non-prefetchable 32 bit memory at 0xfe800000 [0xfe800000].
"cat /proc/ioports" 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0220-022f : soundblaster 0376-0376 : ide1 0388-038b : Yamaha OPL3 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 1080-10ff : cb_enabler fcf0-fcf7 : ide0 fcf8-fcff : ide1 "cat /proc/modules" 3c575_cb 18792 2 cb_enabler 2104 2 [3c575_cb] ds 5740 2 [cb_enabler] i82365 22640 2 pcmcia_core 39912 0 [cb_enabler ds i82365] opl3 11208 0 (unused) sb 33620 0 uart401 5968 0 [sb] sound 57240 0 [opl3 sb uart401] soundlow 300 0 [sound] soundcore 2372 5 [sb sound]
"cardctl config"
Socket 0:
Vcc = 3.3, Vpp1 = 3.3, Vpp2 = 3.3
Interface type is cardbus
IRQ 11 is exclusive, level mode, enabled
Function 0:
I/O window 1: 0x1080 to 0x10ff, 32 bit
Socket 1:
not configured
"/sbin/ifconfig"
eth0 Link encap:Ethernet HWaddr 00:10:4B:A5:87:AD
inet addr:192.168.1.236 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:172 errors:0 dropped:0 overruns:571 frame:0
TX packets:70 errors:4 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x1080
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ANY help is highly appreciated. Cristian Grigoriu
|
Messages