Skip to contentSkip to conversation

Random problems with 2.6.28-rc1-git1

DISCUSSION Mikko C. 3 participants 5 messages Oct 25, 2008 – Oct 26, 2008

lore
Share & tools
lore

Mikko C.

author
#0 lore raw

Hi,
Today I tried upgrading to 2.6.28-rc1-git1 (-rc1 couldn't even mount the disk). I'm having some problems with it :)

1) Whenever I try to unload (rmmod or modprobe -r) *any* modules (even if not used), the system hangs. I can still move the mouse and see the cursor moving, but I can't type, can't switch console, nothing. Because of this, I can't shutdown the system properly because it hangs when "Unloading ALSA modules"

2) Sometimes (randomly it seems) the system doesn't detect any usb devices:
I have an external HD and a Logitech mouse. Sometimes they are recognized, sometimes not. Unplugging and re-plugging them doesn't help. lsusb shows no attached device.

3) Sometimes (randomly) the wireless doesn't work: it can associate to the AP, but it can't receive an IP in any way: both dhcp and static ip don't work. The rate is fixed to 1Mb/s, instead of 54, and changing it manually doesn't work. Restarting the wifi service doesn't help.
Reloading the module isn't an option, because of 1)

There can be different combinations of 2) and 3):
- wifi works / usb doesn't
- disk is recognized / mouse isn't
- everything works (rarely), etc...

4) Applications that use sound don't work:
-Mozilla Thunderbird freezes whenever I receive a message
-Amarok crashes at start
-mplayer doesn't work
The thing is, if I try to kill them, I can't, no matter what. KSysguard says they are in "disk sleep", see: http://i34.tinypic.com/eg390j.png

None of these problems are present in 2.6.27.2 and previous. My .config is very similar to 2.6.27.2 (see the diff below).

Laptop is a Dell Inspiron 6400.

dmesg when both usb and wifi don't work: http://zlin.dk/p/?OGRmMjQz.txt
dmesg when both usb and wifi work: http://zlin.dk/p/?NzIxMzZh.txt

$ cat /proc/version
Linux version 2.6.28-rc1-git1 (root@gentoo) (gcc version 4.3.2 (Gentoo 4.3.2 p1.0) ) #10 SMP PREEMPT Sat Oct 25 13:17:27 CEST 2008
$ uname -a
Linux gentoo 2.6.28-rc1-git1 #10 SMP PREEMPT Sat Oct 25 13:17:27 CEST 2008 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
$ cat /proc/modules
usb_storage 53504 1 - Live 0xffffffffa0196000
radeon 152032 1 - Live 0xffffffffa016e000
drm 179616 2 radeon, Live 0xffffffffa0140000
snd_seq 56224 0 - Live 0xffffffffa0130000
snd_seq_device 7252 1 snd_seq, Live 0xffffffffa012c000
vfat 12352 1 - Live 0xffffffffa0126000
fat 53048 1 vfat, Live 0xffffffffa0117000
coretemp 6400 0 - Live 0xffffffffa0113000
hwmon 2888 1 coretemp, Live 0xffffffffa0059000
cpufreq_ondemand 8400 1 - Live 0xffffffffa010e000
fan 4096 0 - Live 0xffffffffa000f000
snd_hda_intel 127688 1 - Live 0xffffffffa00ec000
snd_pcm 73288 1 snd_hda_intel, Live 0xffffffffa00d8000
psmouse 46108 0 - Live 0xffffffffa00ca000
iwl3945 177912 0 - Live 0xffffffffa0099000
snd_timer 22608 2 snd_seq,snd_pcm, Live 0xffffffffa008e000
evdev 11936 9 - Live 0xffffffffa0086000
uhci_hcd 25176 0 - Live 0xffffffffa007a000
button 7392 0 - Live 0xffffffffa0073000
battery 7680 0 - Live 0xffffffffa006c000
ac 3840 0 - Live 0xffffffffa0066000
thermal 18784 1 - Live 0xffffffffa005c000
snd 55368 7 snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer, Live 0xffffffffa0049000
soundcore 1736 1 snd, Live 0xffffffffa0043000
snd_page_alloc 9680 2 snd_hda_intel,snd_pcm, Live 0xffffffffa003b000
mac80211 145616 1 iwl3945, Live 0xffffffffa0012000
led_class 4296 1 iwl3945, Live 0xffffffffa000b000
cfg80211 34208 2 iwl3945,mac80211, Live 0xffffffffa0000000
$ cat /proc/cpuinfo
processor       : 0                        vendor_id       : GenuineIntel             cpu family      : 6                        model           : 15                       model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6                                             cpu MHz         : 1000.000                                      cache size      : 4096 KB                                       physical id     : 0                                             siblings        : 2                                             core id         : 0                                             cpu cores       : 2                                             apicid          : 0                                             initial apicid  : 0                                             fpu             : yes                                           fpu_exception   : yes                                           cpuid level     : 10                                            wp              : yes                                           flags           : 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 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm                                                                                                                     

bogomips : 3994.55

clflush size : 64

cache_alignment : 64

address sizes : 36 bits physical, 48 bits virtual

power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
stepping : 6
cpu MHz : 1000.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : 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 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtprlahf_lm
bogomips : 3994.45
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

2.6.28-rc1-git .config: http://zlin.dk/p/?OGY2NWM5.txt
Diff between 2.6.27.2 .config and 2.6.28-rc1-git1: http://zlin.dk/p/?NWUwZDEz.txt

I'd be glad to give more info if needed, please let me know.

Thanks!

P.S: I'm not subscribed, can you please CC me if answering?

#1 lore raw
Quoted 7 lines · Mikko C.

Today I tried upgrading to 2.6.28-rc1-git1 (-rc1 couldn't even mount the disk). I'm having some problems with it :)
1) Whenever I try to unload (rmmod or modprobe -r) *any* modules (even if not used), the system hangs. I can still move the mouse and see the cursor moving, but I can't type, can't switch console, nothing. Because of this, I can't shutdown the system properly because it hangs when "Unloading ALSA modules"

If rmmod never returns, alt-sysrq-t output should show us where it got stuck.

Quoted 4 lines

2) Sometimes (randomly it seems) the system doesn't detect any usb
devices: I have an external HD and a Logitech mouse. Sometimes they are recognized, sometimes not. Unplugging and re-plugging them doesn't help. lsusb shows no attached device.

Compiling with CONFIG_USB_DEBUG and sending report to [email protected] with the output included might be a good start.

Signature · 2 lines
Jiri Kosina
SUSE Labs
author
#2 lore raw

Jiri Kosina ha scritto:

Quoted 10 lines · Mikko C.
Quoted 8 lines

Today I tried upgrading to 2.6.28-rc1-git1 (-rc1 couldn't even mount the disk). I'm having some problems with it :)
1) Whenever I try to unload (rmmod or modprobe -r) *any* modules (even
if not used), the system hangs. I can still move the mouse and see
the cursor moving, but I can't type, can't switch console, nothing.
Because of this, I can't shutdown the system properly because it
hangs when "Unloading ALSA modules"

Quoted 3 lines

If rmmod never returns, alt-sysrq-t output should show us where it got stuck.

Thanks for your answer
I tried Alt-Sysrq-T after a rmmod, but all I get is:
"SysRq : Show State"

Is it normal? Does it dump the information to a log? Sorry but I never used sysrq in the past.

Quoted 8 lines
Quoted 5 lines

2) Sometimes (randomly it seems) the system doesn't detect any usb
devices: I have an external HD and a Logitech mouse. Sometimes they are recognized, sometimes not. Unplugging and re-plugging them doesn't help. lsusb shows no attached device.

Compiling with CONFIG_USB_DEBUG and sending report to [email protected] with the output included might be a good start.

Ok, done: http://marc.info/?l=linux-usb&m=122500580917403&w=2

Thanks

#3 lore raw

Hi,

Quoted 7 lines · On Sunday 26 October 2008 08:25:39 Mikko C. wrote:
Quoted 2 lines

If rmmod never returns, alt-sysrq-t output should show us where it got stuck.

Thanks for your answer
I tried Alt-Sysrq-T after a rmmod, but all I get is:
"SysRq : Show State"
Is it normal? Does it dump the information to a log? Sorry but I never used sysrq in the past.

You propably have to set the loglevel to something higher before. Either use dmesg -n 6 or so or sysrq-6.

Andres

author
#4 lore raw

Andres Freund ha scritto:

Quoted 13 lines

Hi,

Quoted 9 lines · On Sunday 26 October 2008 08:25:39 Mikko C. wrote:
Quoted 3 lines

If rmmod never returns, alt-sysrq-t output should show us where it got stuck.

Thanks for your answer
I tried Alt-Sysrq-T after a rmmod, but all I get is:
"SysRq : Show State"
Is it normal? Does it dump the information to a log? Sorry but I never used sysrq in the past.

Quoted 4 lines

You propably have to set the loglevel to something higher before. Either use dmesg -n 6 or so or sysrq-6.

Andres

Ok, got it.

Oct 26 12:39:56 gentoo rmmod         D ffffffff80532a80     0  5264   5088
Oct 26 12:39:56 gentoo ffff880079b5bd78 0000000000000082 0000000000000000 ffff880079b5bd3c
Oct 26 12:39:56 gentoo ffffffff806d3000 ffff88007fafb600 ffff88007f863000 ffff88007fafb850
Oct 26 12:39:56 gentoo 00000001895a50c0 00000000fffe90e8 ffff88007fafb850 00000000000160d1
Oct 26 12:39:56 gentoo Call Trace:
Oct 26 12:39:56 gentoo [<ffffffff8052332d>] schedule_timeout+0xad/0xf0
Oct 26 12:39:56 gentoo [<ffffffff80522578>] wait_for_common+0x148/0x170
Oct 26 12:39:56 gentoo [<ffffffff80231770>] default_wake_function+0x0/0x10
Oct 26 12:39:56 gentoo [<ffffffff8022da33>] __wake_up+0x43/0x70
Oct 26 12:39:56 gentoo [<ffffffff8024a464>] flush_cpu_workqueue+0x44/0x90
Oct 26 12:39:56 gentoo [<ffffffff8024a690>] wq_barrier_func+0x0/0x10
Oct 26 12:39:56 gentoo [<ffffffff8025e150>] __try_stop_module+0x0/0x30
Oct 26 12:39:56 gentoo [<ffffffff8024a5cb>] flush_workqueue+0x3b/0x60
Oct 26 12:39:56 gentoo [<ffffffff8025e150>] __try_stop_module+0x0/0x30
Oct 26 12:39:56 gentoo [<ffffffff8026997c>] __stop_machine+0x10c/0x130
Oct 26 12:39:56 gentoo [<ffffffff80261ced>] sys_delete_module+0x17d/0x290
Oct 26 12:39:56 gentoo [<ffffffff80288c68>] do_munmap+0x348/0x390
Oct 26 12:39:56 gentoo [<ffffffff803a0d51>] __up_write+0x21/0x150
Oct 26 12:39:56 gentoo [<ffffffff8020b94b>] system_call_fastpath+0x16/0x1b

Let me know if it's enough.
Thanks