Kernel hangs/freezes during boot because of module 8139too (affected hardware: philips freevents x52, x53, x55, x56, twinhead y12h)

Bug #140477 reported by Mikko Rantalainen
4
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Ubuntu live cd (tested 6.06 LTS and 7.10 from http://cdimage.ubuntu.com/daily-live/current/) fails to boot because 8139too module hangs with following hardware (laptops):
Philips Freevents x52
Philips Freevents x53
Philips Freevents x54 (probably, not sure if this model does exist)
Philips Freevents x55
Philips Freevents x56
Twinhead Y12H (should be identical to x55 above except for branding)

The above laptops differ only in CPU (Core duo or Core 2 duo plus changes in maximum clock) and in the size of the fixed disk (60 - 120 GB).

The problem can be solved by compiling a custom kernel with following changes to .config:
CONFIG_8139TOO=m
CONFIG_8139TOO_PIO=y
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
CONFIG_8139_OLD_RX_RESET=y

I'm not sure if all these are required but at least PIO and OLD_RX_RESET are required for this computer.

However, this (compiling the new kernel) cannot be done on the laptop - at least using Ubuntu - because the Ubuntu stock kernel does not seem to support disablemodules kernel option that would be needed to start the system.

At least the sdhci module from vanilla kernel 2.6.20 used to hang this system too, but obviously I cannot test if the latest Ubuntu kernel has the same problem until the network adapter problem is solved first.

I'll attach more information about the system as an attachment soon.

Some relevant locations:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87932
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/48305
https://launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/48456
http://ubuntuforums.org/showthread.php?t=292408&highlight=Philips+x56
http://ubuntuforums.org/showthread.php?t=287939&highlight=Philips+x56

Revision history for this message
Mikko Rantalainen (mira) wrote :
Revision history for this message
Mikko Rantalainen (mira) wrote :
Revision history for this message
Mikko Rantalainen (mira) wrote :

The comment in https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/98717 seems to suggest that Intel 945GM chipset and a RTL8139 NIC is a troublesome combination without PIO in general. The module 8139too is mentioned there, too.

Revision history for this message
Mikko Rantalainen (mira) wrote :

I'm currently running vanilla 2.6.20.2 with Philips Freevents X55 and dmesg says following about 8139too:

[ 30.020000] 8139too Fast Ethernet driver 0.9.28
[ 30.020000] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 30.020000] eth0: RealTek RTL8139 at 0xc800, 00:40:45:2C:86:19, IRQ 16
[ 30.020000] eth0: Identified 8139 chip type 'RTL-8100B/8139D'

Revision history for this message
Mikko Rantalainen (mira) wrote :

Also affected:
Averatec 2460
Everex Stepnote SA2050

source:
http://www.fitzenreiter.de/averatec/index-e.htm
http://www.poplarware.com/everexlinux.html

Looking through the history of module 8139too it seems that it was changed from PIO mode to MMIO because PIO mode was causing crashes/lockups. I guess the correct fix would be either to change 8139too to decide between MMIO and PIO during runtime or splitting 8139too into two drivers with PIO mode and with MMIO mode and each driver should list only chipsets that are known to work with that config.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.