Bug 662660
Summary: | OS halt on the login screen | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | harris zhu <zhuzhzh> | ||||||||||||
Component: | kernel | Assignee: | Jaroslav Kysela <jkysela> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | desktop-bugs <desktop-bugs> | ||||||||||||
Severity: | urgent | Docs Contact: | |||||||||||||
Priority: | medium | ||||||||||||||
Version: | 6.0 | CC: | arozansk, grant_williamson, jkysela, llange, malittle, merlinchenx, peterm, qcai, vbenes, walicki | ||||||||||||
Target Milestone: | rc | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | kernel-2.6.32-112.el6 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2011-05-23 20:31:52 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Bug Depends On: | 605742, 667460 | ||||||||||||||
Bug Blocks: | |||||||||||||||
Attachments: |
|
At IBM we can reproduce the same issue on a T410. Do you require any additional information? Please, attach output from 'alsa-info.sh --no-upload'. Also, try to use the 'enable_msi=0' kernel module parameter for the snd-hda-intel module. Created attachment 469992 [details]
T410 alsa-info.sh
lspci -nn t410 00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02) 00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02) 00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06) 00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 06) 00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) 00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06) 00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06) 00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06) 00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 06) 00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06) 00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6) 00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b07] (rev 06) 00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f] (rev 06) 00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06) 00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 06) 01:00.0 VGA compatible controller [0300]: nVidia Corporation NVS 3100M [10de:0a6c] (rev a2) 01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be3] (rev a1) 03:00.0 Network controller [0280]: Intel Corporation WiFi Link 6000 Series [8086:4239] (rev 35) 0d:00.0 SD Host controller [0805]: Ricoh Co Ltd Device [1180:e822] (rev 01) 0d:00.1 System peripheral [0880]: Ricoh Co Ltd Device [1180:e230] (rev 01) 0d:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd Device [1180:e832] (rev 01) ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02) ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02) ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02) ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02) ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02) ff:02.3 Host bridge [0600]: Intel Corporation Core Processor enable_msi=0 allowed the user to login and machine was operational, but there was no sound present. "no soundcards" errors are strange. According /proc and /dev/snd trees the devices should be available. It looks like a permission issue. Does 'amixer -c 0 contents' (as root) show something useable? Testing this with an end user remotely, ignore last comment. Loading the module with the option enable_msi=0 the machine still crashes. modprobe -r snd-hda-intel echo "options snd-hda-intel enable_msi=0" > /etc/modprobe.d/sound.conf modprobe snd-hda-intel Hangs. Note that it might be required to do a cold boot (turn the machine off and then on or press the hardware reset button) when enable_msi is set (it might be posible that something is corrupted when the snd-hda-intel module is loaded without enable_msi=0 settings). This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. Thats good news, will this appear in a kernel update? Please, test kernel mentioned in bug#667460 . Tested with kernel from bug#667460...Still hangs.. Thank you. Please, try 'single_cmd=1' module option for snd-hda-intel. And try to use ALSA directly using 'aplay <some_wav_file>' or use 'speaker-test'. I tried with 'single_cmd=1'. No luck. Still hangs. Tried with 'single_cmd=1' and enable_msi=0 probe_mask= set to 1 through 8 Tried with 'single_cmd=1' and options snd-hda-intel enable_msi=0 index=-2 Tried with 'single_cmd=1' and options snd-hda-intel enable_msi=0 index=1 Does aplay or speaker-test works on command-line without X? aplay will play a wav file but then the system locks up afterwards. I've resolved the probrem. The probelm does be cuased by alsa driver. I download the newest alsa driver, make some change and compile, install.Then the problem go away. I add the judge statement(see below "LENOVO" part) in function azx_probe in hda_intel.c static int __devinit azx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) { static int dev; struct snd_card *card; struct azx *chip; int err; if (dev >= SNDRV_CARDS) return -ENODEV; if (!enable[dev]) { dev++; return -ENOENT; } if (dmi_name_in_vendors("LENOVO") && dmi_name_in_vendors("25223FG")) { if (pci_id->driver_data == AZX_DRIVER_NVIDIA && probe_mask[dev] < 0) { printk(KERN_ERR SFX "Detected LENOVO 25223FG (T410) system and NVidia PCI HDMI device.\n"); printk(KERN_ERR SFX "Device is not activated. Use probe_mask=0xff to manually enable.\n"); dev++; return -ENOENT; } } err = snd_card_create(index[dev], id[dev], THIS_MODULE, 0, &card); ... } BTW, you need change "25223FG" according to your laptop model. In my side, the sound card and speaker work well now. It's not required to modify the driver. Just use this in your modprobe configuration files for tests: options snd-hda-intel enable=1,0 This should disable the second problematic HDMI HDA device. BTW: Does your laptops have HDMI outputs? Harris, please, attach output from 'alsa-info.sh --no-upload' to this bug. Problematic Lenovo models to be added to the ALSA driver gathered from this bug: 2522AL3 25223FG Created attachment 473310 [details]
Disable NVIDIA HDA PCI device for LENOVO models 25223FG and 2522AL3
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Jaroslav, you can refer to my first attachment "my hardware info of HD audio". my laptop has HDMI interface. I think it's the problem. Sorry, I've uninstalled RHEL6. Now I can't try what you mentioned. BTW: I will re-install RHEL6 in the weekend. The problem is that your attachment does not contain all information. If you have any other Linux distro installed (eventually booted from CD/DVD), please, download the alsa-info.sh script here: http://www.alsa-project.org/alsa-info.sh And attach the output from 'bash alsa-info.sh --no-upload'. Created attachment 473331 [details]
output of alsa-info.sh
OS: RHEL5.5 x86_64
Ok, thank you. Your dmi model is 2537LN3 . Is your laptop named also T410 ? yes, My laptop is T410. 2537LN3 is product id. Why not just use? if (dmi_name_in_vendors("LENOVO") && dmi_name_in_vendors("ThinkPad T410")) { if (pci_id->driver_data == AZX_DRIVER_NVIDIA && This would apply to all T410 with Nvidia. Grant, thank you for your hint. It's probably better. The alsa-info.sh does not provide such information, I'll add output from 'dmidecode -s system-version' there for future. Created attachment 473370 [details]
Disable NVIDIA HDA PCI device for LENOVO ThinkPad T410
We may also require the same for the T510. Checking, hopefully can get test results early next week. Just confirmed the same issue is present on the T510. options snd-hda-intel enable=1,0 also works for the T510. Can the patch be updated with. if (dmi_name_in_vendors("LENOVO") && (dmi_name_in_vendors("ThinkPad T410") | dmi_name_in_vendors("ThinkPad T510"))) Thanks. If you need any more hardware details, please let me know, I can ask the end user. Confirmed on T410 2518A27 , Jaroslav, you can add it to your T410 model list.:) acking .. have the HW 25223FG in hands .. can reproduce. -> qa_ack Will the fix that is in kernel-2.6.32-112.el6 be pushed to 6.0? Is the fix for the 410 & 510? An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html |
Created attachment 468389 [details] my hardware info of HD audio Description of problem: my laptop is t410 2537-ln3 and its sound card is conexant Cx20585. everytime, the laptop halt on the login screen. I found some tricky way. once OS appears the login screen, I press ctrl+alt+f7 and enter into console. I remove snd_hda_intel module (rmmod snd_hda_intel) and come back to login screen. Now I can log in without sound. I change the login runlevel into 3, and do some tries. The only way to start gnome is to remove snd_hda_intel module. In gnome, if I modprobe snd_hda_intel, OS will halt. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.install RHEL6 2.the problem appears 3. Actual results: can't log into GUI directly Expected results: log into GNOME directly with sound Additional info: when OS is booted, below warning is shown: starting udev: hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x000f0000