Re: plx card problem, dmesg and messages


From: Ka Chun, Cheng (kccheng_at_biblecrawler.com)
Date: 2002-09-05 04:19:41 UTC



> It looks like the driver is able to read one RID (i.e., the primary
> firmware version), but fails with others and the card ends up confused.
> This might be related to the CmdCompl changes I have made in the CVS
> version. Please send the kernel messages including all debug output
> related to such initialization attempt. You should be able to see these,
> e.g., with 'dmesg'. There should be some more debug info telling what
> failed.

-----------------------------------------------kernel
messages----------------------------------------
first trial

Sep 5 21:42:50 earth kernel: hostap_plx: hostap_plx.c 0.0.0 CVS (SSH Communications Security Corp, Jouni $
Sep 5 21:42:50 earth kernel: hostap_plx: (c) SSH Communications Security Corp <jkm_at_ssh.com>
Sep 5 21:42:50 earth kernel: PCI: Found IRQ 5 for device 00:09.0 Sep 5 21:42:50 earth kernel: PLX9052 PCI/PCMCIA adapter: mem=0xd900c000, plx_io=0x0, irq=5, pccard_io=0xb$

Sep  5 21:42:50 earth kernel: hostap_plx: Registered netdevice wlan0
Sep  5 21:42:50 earth kernel: wlan0: PRI: id=0x15 v0.3.0
Sep  5 21:42:50 earth kernel: wlan0: could not get own MAC address
Sep  5 21:42:50 earth /etc/hotplug/net.agent: invoke ifup wlan0

and then wlan0 is there, but with all 0 MAC address

second trial..

Sep 5 21:48:38 earth kernel: hostap_plx: hostap_plx.c 0.0.0 CVS (SSH Communications Security Corp, Jouni $
Sep 5 21:48:38 earth kernel: hostap_plx: (c) SSH Communications Security Corp <jkm_at_ssh.com>
Sep 5 21:48:38 earth kernel: PCI: Found IRQ 5 for device 00:09.0 Sep 5 21:48:38 earth kernel: PLX9052 PCI/PCMCIA adapter: mem=0xd9000000, plx_io=0x0, irq=5, pccard_io=0xd$

Sep  5 21:48:38 earth kernel: hostap_plx: Registered netdevice wlan0
Sep  5 21:48:38 earth kernel: wlan0: PRI: id=0x15 v0.3.0
Sep  5 21:48:38 earth kernel: wlan0: could not get own MAC address
Sep  5 21:48:38 earth /etc/hotplug/net.agent: invoke ifup wlan0
Sep  5 21:48:40 earth kernel: wlan0: MAC port 0 reseting failed
Sep  5 21:48:40 earth kernel: hostap_plx: Netdevice wlan0 unregistered
Sep  5 21:48:40 earth kernel: prism2_plx: No devices found, driver not
installed.
-------------------------------------------------dmesg----------------------
------------------------------

[root_at_earth log]# cat dmesg
Linux version 2.4.18-Newnat13+Helpers (root_at_earth) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #32 SMP Sat Aug 3 05:50:33 HKT 2002 BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.

Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC!
Kernel command line: ro root=/dev/hda1
Initializing CPU#0
Detected 733.385 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1461.45 BogoMIPS Memory: 512024k/524224k available (1883k kernel code, 11816k reserved, 1024k data, 256k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0387fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0387fbff 00000000 00000000 00000000
CPU serial number disabled.
Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch_at_atnf.csiro.au) mtrr: detected mtrr type: Intel
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel Pentium III (Coppermine) stepping 01 per-CPU timeslice cutoff: 731.61 usecs.
SMP motherboard not detected.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 733.3753 MHz.
..... host bus clock speed is 133.3408 MHz. cpu: 0, clocks: 1333408, slice: 666704
CPU0<T0:1333408,T1:666704,D:0,S:666704,C:1333408> Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfb4c0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
Unknown bridge resource 1: assuming transparent Unknown bridge resource 2: assuming transparent PCI: Using IRQ router VIA [1106/0686] at 00:07.0 PCI: Disabling Via external APIC routing isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket
IA-32 Microcode Update Driver: v1.09 <tigran_at_veritas.com> apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16) Starting kswapd
Journalled Block Device driver loaded
udf: registering filesystem
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport_pc: Via 686A parallel port: io=0x378 Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
Real Time Clock Driver v1.10e
block: 128 slots per queue, batch=32
Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt82c686a (rev 1b) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pio
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
hda: WDC WD400BB-00CAA1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(66) Partition check:
 hda: hda1 hda2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option.
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP Deflate Compression module registered PPP BSD Compression module registered
8139too Fast Ethernet driver 0.9.24
PCI: Found IRQ 12 for device 00:08.0
eth0: RealTek RTL8139 Fast Ethernet at 0xe080d000, 00:c0:df:0c:9b:c9, IRQ 12 eth0: Identified 8139 chip type 'RTL-8139C' PCI: Found IRQ 10 for device 00:0a.0
PCI: Sharing IRQ 10 with 00:07.5
eth1: RealTek RTL8139 Fast Ethernet at 0xe080f000, 00:c0:df:0c:9b:c8, IRQ 10 eth1: Identified 8139 chip type 'RTL-8139C' Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 64M @ 0xd0000000
SCSI subsystem driver Revision: 1.00
PCI: Found IRQ 11 for device 00:0b.0
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:07.3
PCI: Sharing IRQ 11 with 00:0c.0
sym53c8xx: at PCI bus 0, device 11, function 0
sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up) sym53c8xx: 53c810a detected with Symbios NVRAM
sym53c810a-0: rev 0x23 on pci bus 0 device 11 function 0 irq 11
sym53c810a-0: Symbios format NVRAM, ID 7, Fast-10, Parity Checking
sym53c810a-0: restart (scsi reset).

scsi0 : sym53c8xx-1.7.3c-20010512
Via 686a audio driver 1.9.1
PCI: Found IRQ 10 for device 00:07.5
PCI: Sharing IRQ 10 with 00:0a.0
ac97_codec: AC97 Audio codec, id: 0x4943:0x4511 (ICE1232) via82cxxx: board #1 at 0xCC00, IRQ 10
Linux Kernel Card Services 3.1.22
  options: [pci] [cardbus] [pm]
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:07.3
PCI: Sharing IRQ 11 with 00:0b.0
PCI: Sharing IRQ 11 with 00:0c.0

uhci.c: USB UHCI at I/O 0xc400, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:07.3
PCI: Sharing IRQ 11 with 00:07.2

PCI: Sharing IRQ 11 with 00:0b.0
PCI: Sharing IRQ 11 with 00:0c.0
uhci.c: USB UHCI at I/O 0xc800, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.0 (4095 buckets, 32760 max) - 312 bytes per conntrack
ip_conntrack_pptp.c:init: ip_conntrack_pptp.c: registering helper
ip_nat_pptp.c:init: init_module
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0
ds: no socket drivers loaded!
kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 256k freed Adding Swap: 1052248k swap-space (priority -1) EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal

This archive was generated by hypermail 2.1.4.