Hi,
Well, I think you did a great job with this post; simply sending the information you gathered here suffices. I suppose there will be some replies for more information from the Linux kernel mailing list, so it's better to send the e-mail yourself.
The part where you insmod the modules separately is really smart. It helps a lot to pinpoint the exact module.
To subscribe to the Linux Kernel Mailing list (LKML), see
http://www.kernel.org/pub/linux/docs/lkml/#s3-1
The LKML mailing list is a high-volume mailing list, so you can subscribe for the duration of this issue, or simply put a filter to accept only the relevant e-mails. If someone wants to follow the discussion, they can read from
http://lkml.org/
When you send the e-mail to LKML, please CC: the authors of the two modules. You get their e-mail address through the "modinfo" command. For example, "modinfo 8139too".
Thus, your e-mail can look like:
======================
Subject: Kernel freeze with modules 8139too and sdhci (Twinhead H12Y laptop)
Dear All,
I am experiencing kernel freezes with my new laptop which is produced by Twinhead. The model of the laptop is H12Y, and there is a big group of users with that laptop who are unable to install any distribution of Linux due to the problem. (I installed by erasing the offending kernel modules from the ISO image). Our discussion thread is at
http://www.linuxquestions.org/questi...15#post2778515
The following commands have been tried with Linux kernel:
----- el_tomasin, here you put the output of the command "cat /proc/version" -----
The module 8139too depends on the module "mii". When insmod-ing the two modules separately, the freeze happens on the second insmod (for "8139too").
I have tried different flags that the two modules support (enable debug, disable dma) or send any information to syslog. In all cases no information was collected and there is no output whatsoever.
Any help would be greatly appreciated.
Thanks.
Here is the output of
# lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffe80000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at ffe40000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 2
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0
Memory at ffd80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffe34000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ff200000-ff2fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Capabilities: [a0] Power Management version 2
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fef00000-ff1fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Capabilities: [a0] Power Management version 2
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at e000 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at dc00 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at d880 [size=32]
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at d800 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 21
Memory at ffe3b800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=04, sec-latency=32
I/O behind bridge: 0000b000-0000cfff
Memory behind bridge: ff300000-ffbfffff
Prefetchable memory behind bridge: 00000000bdf00000-00000000bfefffff
Capabilities: [50] Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at ffa0 [size=16]
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at e880 [size=8]
I/O ports at e800 [size=4]
I/O ports at e480 [size=8]
I/O ports at e400 [size=4]
I/O ports at e080 [size=16]
Memory at ffe3bc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [70] Power Management version 2
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: medium devsel, IRQ 5
I/O ports at 0400 [size=32]
01:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Subsystem: Intel Corporation Unknown device 1001
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ff2ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [e0] Express Legacy Endpoint IRQ 0
03:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at c800 [size=256]
Memory at ffbffc00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
03:06.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02) (prog-if 10 [OHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at ff300000 (32-bit, non-prefetchable) [size=4K]
Memory at ffbff000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [60] Power Management version 2
03:06.2 Generic system peripheral [0805]: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: slow devsel, IRQ 5
Memory at ffbff800 (32-bit, non-prefetchable) [size=256]
Capabilities: [a0] Power Management version 2
03:06.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: slow devsel, IRQ 5
Memory at ffbfd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [a0] Power Management version 2[/CODE]
======= End of output of lspci -v ========
Quote:
Originally Posted by el_tomasin
Well, this is getting a little frustrating.
I tried both modprobe suggestions with debug options and got the same total freeze... and no log at all of what happened.
I tried again adding -s option which, according to modprobe manpage, " causes any error messages to go through the syslog mechanism rather than to standard error" but still not any log information about this very annoying bug.
Then I tried adding -n (dry run) option for each module and here is what I got:
Code:
# modprobe -snv 8139too
insmod /lib/modules/2.6.17-14mdv/kernel/drivers/net/mii.ko.gz
insmod /lib/modules/2.6.17-14mdv/kernel/drivers/net/8139too.ko.gz
and
Code:
# modprobe -snv sdhci
insmod /lib/modules/2.6.17-14mdv/kernel/drivers/mmc/mmc_core.ko.gz
insmod /lib/modules/2.6.17-14mdv/kernel/drivers/mmc/sdhci.ko.gz
Don't ask me why, all of a sudden I felt like trying to load modules separately, just to see if it would make any difference.
So first:
Code:
# modprobe -sv mii
insmod /lib/modules/2.6.17-14mdv/kernel/drivers/net/mii.ko.gz
And then:
Code:
# modprobe -sv 8139too
And guess what...
Freeeeeeeeeeeeeeeeeeeeeeeeeeeeeze!!!
Same thing, after doing a
Code:
# modprobe -sv mmc_core
insmod /lib/modules/2.6.17-14mdv/kernel/drivers/mmc/mmc_core.ko.gz
followed by a
Code:
# modprobe -sv sdhci
All I could obtain was another freeze.
Sadly I was not able to obtain any log information.
Again.
Despite the -s option...
As you told be it might be of some interest, here is my lspci -v output:
Code:
# lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffe80000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at ffe40000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 2
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0
Memory at ffd80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffe34000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ff200000-ff2fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Capabilities: [a0] Power Management version 2
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fef00000-ff1fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [90] Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Capabilities: [a0] Power Management version 2
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at e000 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at dc00 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at d880 [size=32]
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at d800 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 21
Memory at ffe3b800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=04, sec-latency=32
I/O behind bridge: 0000b000-0000cfff
Memory behind bridge: ff300000-ffbfffff
Prefetchable memory behind bridge: 00000000bdf00000-00000000bfefffff
Capabilities: [50] Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at ffa0 [size=16]
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at e880 [size=8]
I/O ports at e800 [size=4]
I/O ports at e480 [size=8]
I/O ports at e400 [size=4]
I/O ports at e080 [size=16]
Memory at ffe3bc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [70] Power Management version 2
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: medium devsel, IRQ 5
I/O ports at 0400 [size=32]
01:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Subsystem: Intel Corporation Unknown device 1001
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ff2ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [e0] Express Legacy Endpoint IRQ 0
03:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at c800 [size=256]
Memory at ffbffc00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
03:06.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02) (prog-if 10 [OHCI])
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at ff300000 (32-bit, non-prefetchable) [size=4K]
Memory at ffbff000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [60] Power Management version 2
03:06.2 Generic system peripheral [0805]: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: slow devsel, IRQ 5
Memory at ffbff800 (32-bit, non-prefetchable) [size=256]
Capabilities: [a0] Power Management version 2
03:06.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
Subsystem: TWINHEAD INTERNATIONAL Corp Unknown device a003
Flags: slow devsel, IRQ 5
Memory at ffbfd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [a0] Power Management version 2
Now I really don't know what else I could do to gather more information for a bug report.
Any suggestions?
If none, well, dear simosx, yes I'd rather let you write the email to the kernel mailing list on behalf of every Twinhead H12Y based laptop owner. Not that I feel lazy but I'm not very confident about my ability to make an understandable description of this bug in English. Actually I'm not sure I'd be able to make one in french, so... I gladly accept your offer
|