Skip to contentSkip to conversation

rtl8180 freeze some i386 systems

DISCUSSION Frantisek Hanzlik 3 participants 4 messages Nov 23, 2010 – Nov 24, 2010

lore
Share & tools
lore
#0 lore raw

On two PCs with Fedora 14/i386 these systems freezes just after command "ip link set wlan0 up" was entered.
"freezes" meant system is totally unuseable, ping to LAN interface hasn't reply, kbd/mouse not work, only way is HW reset/power off.

This hang occurs always independently on system runlevel: when switch to runlevel 1, when only kernel threads + udev + root bash are active, system still hangs.
Systems hangs on all tested kernels 2.6.34, 2.6.35.9 and 2.6.36. Systems hangs with implicit cmdline and too when using "nomodeset", "acpi=noirq", "acpi=off", "pci=biosirq", "pci=routeirq", "pci=noacpi" parameters.

I have two Zyxel "G-302 v3" wifi adapters reported as RTL 8185 rev 20 (10ec:8185), which on other two PCs with F1{3,4}/i386 and same config works well.

Can someone help with? Is some general method for solving this issue?

Thank in advance, Franta Hanzlik

#1 lore raw

I added linux-wireless to the CC list.

If you're on the terminal is anything printed to the screen when the system hangs? echo 7 7 7 7 > /proc/sys/kernel/printk first to get more messages.

If you create a bugzilla entry then you can take a digital photo of the messages and attach it to your bug report. (Although bugzilla is crapping out today so you probably can't do that actually).

regards,
dan carpenter

Quoted 25 lines · Frantisek Hanzlik

On two PCs with Fedora 14/i386 these systems freezes just after command "ip link set wlan0 up" was entered.
"freezes" meant system is totally unuseable, ping to LAN interface hasn't reply, kbd/mouse not work, only way is HW reset/power off.

This hang occurs always independently on system runlevel: when switch to runlevel 1, when only kernel threads + udev + root bash are active, system still hangs.
Systems hangs on all tested kernels 2.6.34, 2.6.35.9 and 2.6.36. Systems hangs with implicit cmdline and too when using "nomodeset", "acpi=noirq", "acpi=off", "pci=biosirq", "pci=routeirq", "pci=noacpi" parameters.

I have two Zyxel "G-302 v3" wifi adapters reported as RTL 8185 rev 20 (10ec:8185), which on other two PCs with F1{3,4}/i386 and same config works well.

Can someone help with? Is some general method for solving this issue?

Thank in advance, Franta Hanzlik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 6 lines · Dan Carpenter

I added linux-wireless to the CC list.

If you're on the terminal is anything printed to the screen when the system hangs? echo 7 7 7 7 > /proc/sys/kernel/printk first to get more messages.

Quoted 28 lines

If you create a bugzilla entry then you can take a digital photo of the messages and attach it to your bug report. (Although bugzilla is crapping out today so you probably can't do that actually).

regards,
dan carpenter

Quoted 20 lines · Frantisek Hanzlik

On two PCs with Fedora 14/i386 these systems freezes just after command "ip link set wlan0 up" was entered.
"freezes" meant system is totally unuseable, ping to LAN interface hasn't reply, kbd/mouse not work, only way is HW reset/power off.

This hang occurs always independently on system runlevel: when switch to runlevel 1, when only kernel threads + udev + root bash are active, system still hangs.
Systems hangs on all tested kernels 2.6.34, 2.6.35.9 and 2.6.36. Systems hangs with implicit cmdline and too when using "nomodeset", "acpi=noirq", "acpi=off", "pci=biosirq", "pci=routeirq", "pci=noacpi" parameters.

I have two Zyxel "G-302 v3" wifi adapters reported as RTL 8185 rev 20 (10ec:8185), which on other two PCs with F1{3,4}/i386 and same config works well.

Can someone help with? Is some general method for solving this issue?

Thank in advance, Franta Hanzlik

Hello Dan,
thank for recommendations. Unfortunately I have no output on terminal (even if printk is set to "7 7 7 7"), systems hangs without any signs.

Some more refines:
- both PCs are older machines:
1) Gigabyte GA-8SQ800 Ultra MB SiS655 and SiS 963 chipset/1GB DDR 266/P4 2.4GHz family 15 model 2/Award BIOS from 2003 year
2) Fujitsu SCENIC T, D1381 MB 845G and 801(ICH4) chipset/512MG DDR 400/P4 2.0GHz family 15 model 2/Phoenix BIOS from 2003 yr

- iwconfig commands (mode,essid,txpower,channel) seems working

- rmmod rtl8180 && modprobe rtl8180 seems working too (in one case PC hung, but it was in runlevel 5, therefore may be some interaction with NetworkManager? etc.) with output as (dmesg part):

[   15.598635] cfg80211: Calling CRDA for country: CZ
[   15.605476] cfg80211: Regulatory domain changed to country: CZ
[   15.605643]     (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[   15.605916]     (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   15.606096]     (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2301 mBm)
[   15.606258]     (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2301 mBm)
[   15.606416]     (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   17.339649] EXT4-fs (sda2): re-mounted. Opts: acl,user_xattr
[   18.546096] Adding 767996k swap on /dev/sda1.  Priority:-1 extents:1
across:767996k
[   19.281947] p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation
available
[   30.188301] rtl8180 0000:02:05.0: PCI INT A disabled
[   40.025122] rtl8180 0000:02:05.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17
[   40.144551] phy1: Selected rate control algorithm 'minstrel_ht'
[   40.145706] phy1: hwaddr 0023f86f0a39, RTL8185vD + rtl8225
[   54.872309] rtl8180 0000:02:05.0: PCI INT A disabled
[   59.033193] rtl8180 0000:02:05.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17
[   59.152603] phy2: Selected rate control algorithm 'minstrel_ht'
[   59.153739] phy2: hwaddr 0023f86f0a39, RTL8185vD + rtl8225
[   70.972359] rtl8180 0000:02:05.0: PCI INT A disabled
[  234.268155] rtl8180 0000:02:05.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17
[  234.387605] phy3: Selected rate control algorithm 'minstrel_ht'
[  234.388820] phy3: hwaddr 0023f86f0a39, RTL8185vD + rtl8225
[  306.957133] rtl8180 0000:02:05.0: PCI INT A disabled
[  312.642921] rtl8180 0000:02:05.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17
[  312.762513] phy4: Selected rate control algorithm 'minstrel_ht'
[  312.763656] phy4: hwaddr 0023f86f0a39, RTL8185vD + rtl8225

- "ip link show wlan0" probably always work, with output as 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

    link/ether 00:23:f8:6f:0a:39 brd ff:ff:ff:ff:ff:ff

- "ip link set wlan0 up" cause system freeze - on FSC HW at 2) above it freeze always. Surprisingly on HW 1) is this command sometimes successful and machine isn't locking - but it occurs cca in one case from ten tries, in nine cases PC hang too. And in case when PC outlive, subsequent command "ip link set wlan0 down" freeze machine (probably always)

- put wlan card into other PCI slot not solve anything
- clear CMOS or reset ESCD PNP data in BIOS not solve anything

- when i tried several Ethernet LAN cards in PCI slots, they was working

- PCI Linksys WMP600N WiFi card (RaLink RT2800 chipset, rt2800pci driver) work on there two PCs.

Please any suggestion? Can I send any other important information or do some other things?

Thanks, Franta Hanzlik

#3 lore raw
In reply to Frantisek Hanzlik
Quoted 13 lines · Frantisek Hanzlik

On two PCs with Fedora 14/i386 these systems freezes just after command "ip link set wlan0 up" was entered.
"freezes" meant system is totally unuseable, ping to LAN interface hasn't reply, kbd/mouse not work, only way is HW reset/power off.

This hang occurs always independently on system runlevel: when switch to runlevel 1, when only kernel threads + udev + root bash are active, system still hangs.
Systems hangs on all tested kernels 2.6.34, 2.6.35.9 and 2.6.36. Systems hangs with implicit cmdline and too when using "nomodeset", "acpi=noirq", "acpi=off", "pci=biosirq", "pci=routeirq", "pci=noacpi" parameters.

Quoted 5 lines

I have two Zyxel "G-302 v3" wifi adapters reported as RTL 8185 rev 20 (10ec:8185), which on other two PCs with F1{3,4}/i386 and same config works well.

Can someone help with? Is some general method for solving this issue?

Sorry for the late reply -- I wanted to attempt to recreate the issue. Unfortunately(?) I am not seeing any such problem. My card is a PCCard apparently sold by CompUSA, but the chipset reported in dmesg matches yours (i.e. RTL8185vD + rtl8225).

I have tried vanilla 2.6.34 and 2.6.35 as well as the Fedora-provided 2.6.35.6-48.fc14 -- all seem to work equally well, despite the annoying warning that continues to pop-up during scans. (I need to get that fixed in Fedora!)

Could you try using netconsole to capture a backtrace over an ethernet connection?

If that doesn't work, you might try doing a git bisect from the last working kernel (2.6.33?) to the first broken one (2.6.34?).

Thanks,

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.