Project

General

Profile

Actions

Bug #2815

closed

Ralink wireless card fails on boot - ral0: timeout waiting for NIC to initialize

Added by sjb.00.01 almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/17/2015
Due date:
% Done:

0%

Estimated time:

Description

Using Dragonfly 4.0.5 release with X86_64_GENERIC kernel, Ralink based wireless card (Linksys WMP600n-pci) fails to initialize. Error received is "ral0: timeout waiting for NIC to initialize" followed by "device_probe_and_attach: ral0 attach returned 5".
This same card works without issue on both FreeBSD and OpenBSD.

dmesg follows:

Copyright (c) 2003-2014 The DragonFly Project.
Copyright (c) 1992-2003 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.
MPTABLE: warning duplicated PCI int entry for bus 0, dev 29, pin 0
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
DragonFly v4.0.5-RELEASE #29: Sun Mar 22 17:42:50 PDT 2015
:/usr/obj/build/home/justin/src/sys/X86_64_GENERIC
TSC clock: 2667414070 Hz, i8254 clock: 1193177 Hz
CPU: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz (2667.44-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
Thermal and PM Features=0x1<SENSOR>
MONITOR/MWAIT Features=0x3<CST,INTBRK>
real memory = 3748130816 (3574 MB)
avail memory = 3513544704 (3350 MB)
lapic: divisor index 0, frequency 133371479 Hz
Initialize MI interrupts
VMM: PROCBASED_ACTIVATE_SECONDARY_CONTROLS not supported by this CPU
FQ scheduler policy version 1.1 loaded
wdog: In-kernel automatic watchdog reset enabled
kbd1 at kbdmux0
disk scheduler: set policy of vn0 to noop
disk scheduler: set policy of vn1 to noop
disk scheduler: set policy of vn2 to noop
disk scheduler: set policy of vn3 to noop
disk scheduler: set policy of md0 to noop
md0: Malloc disk
cryptosoft0: <software crypto> on motherboard
aesni0: No AESNI support.
padlock0: No ACE support.
rdrand0: No RdRand support.
pcib0: <MPTABLE Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xff00-0xff07 mem 0xfdf80000-0xfdfbffff,0xe0000000-0xefffffff,0xfdf00000-0xfdf7ffff irq 16 at device 2.0 on pci0
agp0: <Intel 82945G (945G GMCH) SVGA controller> on vgapci0
agp0: aperture size is 256M, detected 7932k stolen memory
vgapci0: Boot video device
pci0: <multimedia, HDA> (vendor 0x8086, dev 0x27d8) at device 27.0 irq 16
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xfe00-0xfe1f irq 23 at device 29.0 on pci0
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xfd00-0xfd1f irq 19 at device 29.1 on pci0
usbus0: 12Mbps Full Speed USB v1.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xfc00-0xfc1f irq 18 at device 29.2 on pci0
usbus1: 12Mbps Full Speed USB v1.0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xfb00-0xfb1f irq 16 at device 29.3 on pci0
usbus2: 12Mbps Full Speed USB v1.0
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
pci0: <serial bus, USB> (vendor 0x8086, dev 0x27cc) at device 29.7 irq 23
pcib1: <MPTABLE PCI-PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
ral0: <Ralink Technology RT2860> mem 0xfdef0000-0xfdefffff irq 19 at device 3.0 on pci1
ral0: timeout waiting for NIC to initialize
device_probe_and_attach: ral0 attach returned 5
pci1: <simple comms> (vendor 0x14f1, dev 0x2f20) at device 4.0 irq 16
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 0xfa00-0xfa0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
usbus3: 12Mbps Full Speed USB v1.0
uhub0: 2 ports with 2 removable, self powered
ad0: DMA limited to UDMA33, controller found non-ATA66 cable
disk scheduler: set policy of ad0 to noop
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ad0: 19092MB <Seagate ST320413A 3.39> at ata0-master UDMA33
ata1: <ATA channel 1> on atapci0
ahci0: <AHCI-PCI-SATA> port 0xf500-0xf50f,0xf600-0xf603,0xf700-0xf707,0xf800-0xf803,0xf900-0xf907 mem 0xfdffe000-0xfdffe3ff irq 19 at device 31.2 on pci0
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
ugen3.2: <Generic> at usbus3
umass0: <Bulk-In, Bulk-Out, Interface> on usbus3
ahci0: AHCI 1.1 cap 0xd3201f03<S64A,NCQ,SMPS,SAL,SCLO>, 4 ports, 32 tags/port, gen 2 (3Gbps)
ahci0.0: Caps 2006<MPSS,POD,SUD>
ahci0.1: Caps 2006<MPSS,POD,SUD>
ahci0.2: Caps 2006<MPSS,POD,SUD>
ugen2.2: <HP> at usbus2
umass1: <HP v165w, class 0/0, rev 2.00/16.38, addr 2> on usbus2
ugen3.3: <Logitech> at usbus3
ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/24.00, addr 3> on usbus3
kbd2 at ukbd0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/24.00, addr 3> on usbus3
ums0: 16 buttons and [XYZT] coordinates ID=2
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/24.00, addr 3> on usbus3
ahci0.3: Caps 2006<MPSS,POD,SUD>
ahci0.0: Found DISK "ST3320820AS 3.AHG" serial="9QF1B7SA"
ahci0.0: tags=32/32 satacap=0506 satacap2=0000 satafea=0048 NCQ=YES capacity=305245.33MB
ahci0.0: f85=3069 f86=3c01 f87=4023 WC=enabled RA=enabled SEC=notsupp
ahci0.1: Found ATAPI "HL-DT-STDVDRRW GSA-H30L S655" serial=""
ahci0.1: tags=0/32 satacap=0002 satacap2=0000 satafea=0040 NCQ=NO capacity=1.00MB
ahci0.1: f85=0000 f86=0000 f87=0000 WC=notsupp RA=notsupp SEC=notsupp
ahci0.2: No device detected
ahci0.3: Found DISK "Hitachi HTS725050A9A364 PC4OC70E" serial="110510PCK404GLHKLMBJ"
ahci0.3: tags=32/32 satacap=1706 satacap2=0000 satafea=005e NCQ=YES capacity=476940.02MB
ahci0.3: f85=7469 f86=be49 f87=6163 WC=enabled RA=enabled SEC=frozen
pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x27da) at device 31.3 irq 19
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> 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: can't drain, serial port might not exist, disabling
sio1: can't drain, serial port might not exist, disabling
ppc0: cannot reserve I/O port range
hpt27xx: no controller detected.
CAM: Configuring 8 busses
CAM: finished configuring all busses
disk scheduler: set policy of da8 to noop
disk scheduler: set policy of da9 to noop
disk scheduler: set policy of da10 to noop
disk scheduler: set policy of da11 to noop
disk scheduler: set policy of da12 to noop
disk scheduler: set policy of da0 to noop
disk scheduler: set policy of da1 to noop
disk scheduler: set policy of cd0 to noop
da0 at ahci0 bus 0 target 0 lun 0
da0: <SATA ST3320820AS 3.AH> Fixed Direct Access SCSI-4 device
da0: Serial Number 9QF1B7SA
da0: 300.000MB/s transfers
da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)
da1 at ahci0 bus 3 target 0 lun 0
da1: <SATA Hitachi HTS72505 PC4O> Fixed Direct Access SCSI-4 device
da1: Serial Number 110510PCK404GLHKLMBJ
da1: 300.000MB/s transfers
da1: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)
da12 at umass-sim1 bus 1 target 0 lun 0
da12: <hp v165w 1638> Removable Direct Access SCSI-4 device
da12: Serial Number AA2A1E4C00000195
da12: 1.000MB/s transfers
da12: 15600MB (31950720 512 byte sectors: 255H 63S/T 1988C)
da8 at umass-sim0 bus 0 target 0 lun 0
da8: <Generic- Compact Flash 1.00> Removable Direct Access SCSI-0 device
da8: Serial Number 20021111153705700
da8: 1.000MB/s transfers
da8: Attempt to query device size failed: NOT READY, Medium not present
can't re-use a leaf (20021111153705700)!
da9 at umass-sim0 bus 0 target 0 lun 1
da9: <Generic- SM/xD-Picture 1.00> Removable Direct Access SCSI-0 device
da9: Serial Number 20021111153705700
da9: 1.000MB/s transfers
da9: Attempt to query device size failed: NOT READY, Medium not present
can't re-use a leaf (20021111153705700)!
da10 at umass-sim0 bus 0 target 0 lun 2
da10: <Generic- SD/MMC 1.00> Removable Direct Access SCSI-0 device
da10: Serial Number 20021111153705700
da10: 1.000MB/s transfers
da10: Attempt to query device size failed: NOT READY, Medium not present
can't re-use a leaf (20021111153705700)!
da11 at umass-sim0 bus 0 target 0 lun 3
da11: <Generic- MS/MS-Pro 1.00> Removable Direct Access SCSI-0 device
da11: Serial Number 20021111153705700
da11: 1.000MB/s transfers
da11: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahci0 bus 1 target 0 lun 0
cd0: <HL-DT-ST DVDRRW GSA-H30L S655> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Logical unit is in process of becoming ready
no B_DEVMAGIC (bootdev=0)
Mounting root from hammer:serno/110510PCK404GLHKLMBJ.s3d
HAMMER recovery check seqno=001b90cf
HAMMER recovery range 3000000014d8b708-3000000014d8b708
HAMMER recovery nexto 3000000014d8b708 endseqno=001b90d0
HAMMER mounted clean, no recovery needed
DMA space used: 6160k, remaining available: 16384k
Mounting devfs

Actions #1

Updated by swildner almost 8 years ago

  • Target version deleted (4.0)

We updated our 802.11 stack and drivers in master and this issue seems to no longer occur.

May 26 22:51:34 <kern.crit> zoot kernel: ral1: <Ralink Technology RT2790> [attached!] mem 0xfebf0000-0xfebfffff irq 19,19 at device 0.0 on pci6

I've not tested it further yet, but if you still have the box, please test too.

Actions #2

Updated by dragonflybsd1 over 7 years ago

  • Status changed from New to Closed

no feedback, assume closed.

Actions

Also available in: Atom PDF