RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 662660 - OS halt on the login screen
Summary: OS halt on the login screen
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: x86_64
OS: Linux
medium
urgent
Target Milestone: rc
: ---
Assignee: Jaroslav Kysela
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On: 605742 667460
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-13 14:33 UTC by harris zhu
Modified: 2011-05-23 20:31 UTC (History)
10 users (show)

Fixed In Version: kernel-2.6.32-112.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-23 20:31:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
my hardware info of HD audio (49.60 KB, text/plain)
2010-12-13 14:33 UTC, harris zhu
no flags Details
T410 alsa-info.sh (25.73 KB, text/plain)
2010-12-21 14:27 UTC, Grant Williamson
no flags Details
Disable NVIDIA HDA PCI device for LENOVO models 25223FG and 2522AL3 (1.77 KB, patch)
2011-01-13 13:01 UTC, Jaroslav Kysela
no flags Details | Diff
output of alsa-info.sh (14.70 KB, text/plain)
2011-01-13 14:27 UTC, harris zhu
no flags Details
Disable NVIDIA HDA PCI device for LENOVO ThinkPad T410 (1.99 KB, patch)
2011-01-13 16:49 UTC, Jaroslav Kysela
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 11:58:07 UTC

Description harris zhu 2010-12-13 14:33:59 UTC
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

Comment 2 Grant Williamson 2010-12-20 16:42:45 UTC
At IBM we can reproduce the same issue on a T410.
Do you require any additional information?

Comment 3 Jaroslav Kysela 2010-12-20 21:34:27 UTC
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.

Comment 4 Grant Williamson 2010-12-21 14:27:20 UTC
Created attachment 469992 [details]
T410 alsa-info.sh

Comment 5 Grant Williamson 2010-12-21 14:28:14 UTC
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

Comment 6 Grant Williamson 2010-12-21 14:28:53 UTC
enable_msi=0 allowed the user to login and machine was operational, but there was no sound present.

Comment 7 Jaroslav Kysela 2010-12-21 15:57:05 UTC
"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?

Comment 8 Grant Williamson 2010-12-21 20:32:09 UTC
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.

Comment 9 Jaroslav Kysela 2010-12-21 21:19:29 UTC
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).

Comment 10 RHEL Program Management 2011-01-07 04:29:46 UTC
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.

Comment 11 Suzanne Logcher 2011-01-07 16:03:06 UTC
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.

Comment 12 Grant Williamson 2011-01-10 15:21:17 UTC
Thats good news, will this appear in a kernel update?

Comment 13 Jaroslav Kysela 2011-01-10 15:34:06 UTC
Please, test kernel mentioned in bug#667460 .

Comment 14 Mike Little 2011-01-10 20:08:10 UTC
Tested with kernel from bug#667460...Still hangs..

Comment 15 Jaroslav Kysela 2011-01-11 12:17:26 UTC
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'.

Comment 16 Mike Little 2011-01-11 17:06:58 UTC
I tried with 'single_cmd=1'.  No luck. Still hangs.

Comment 17 Mike Little 2011-01-11 20:02:07 UTC
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

Comment 18 Jaroslav Kysela 2011-01-11 20:58:03 UTC
Does aplay or speaker-test works on command-line without X?

Comment 19 Mike Little 2011-01-12 14:11:02 UTC
aplay will play a wav file but then the system locks up afterwards.

Comment 20 harris zhu 2011-01-13 08:15:57 UTC
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);
         ...
}

Comment 21 harris zhu 2011-01-13 08:18:01 UTC
BTW, you need change "25223FG" according to your laptop model.
In my side, the sound card and speaker work well now.

Comment 22 Jaroslav Kysela 2011-01-13 12:57:20 UTC
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

Comment 23 Jaroslav Kysela 2011-01-13 13:01:51 UTC
Created attachment 473310 [details]
Disable NVIDIA HDA PCI device for LENOVO models 25223FG and 2522AL3

Comment 25 RHEL Program Management 2011-01-13 13:21:14 UTC
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.

Comment 26 harris zhu 2011-01-13 13:41:46 UTC
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.

Comment 27 Jaroslav Kysela 2011-01-13 13:47:06 UTC
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'.

Comment 28 harris zhu 2011-01-13 14:27:58 UTC
Created attachment 473331 [details]
output of alsa-info.sh

OS: RHEL5.5 x86_64

Comment 29 Jaroslav Kysela 2011-01-13 14:34:32 UTC
Ok, thank you. Your dmi model is 2537LN3 . Is your laptop named also T410 ?

Comment 30 harris zhu 2011-01-13 14:42:18 UTC
yes, My laptop is T410. 2537LN3 is product id.

Comment 31 Grant Williamson 2011-01-13 16:19:15 UTC
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.

Comment 32 Jaroslav Kysela 2011-01-13 16:32:31 UTC
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.

Comment 33 Jaroslav Kysela 2011-01-13 16:49:33 UTC
Created attachment 473370 [details]
Disable NVIDIA HDA PCI device for LENOVO ThinkPad T410

Comment 35 Grant Williamson 2011-01-13 17:10:33 UTC
We may also require the same for the T510.
Checking, hopefully can get test results early next week.

Comment 36 Grant Williamson 2011-01-18 12:16:17 UTC
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.

Comment 37 merlinchenx 2011-01-19 01:51:11 UTC
Confirmed on T410 2518A27 , Jaroslav, you can add it to your T410 model list.:)

Comment 38 Vladimir Benes 2011-01-21 11:29:38 UTC
acking .. have the HW 25223FG in hands .. can reproduce.
-> qa_ack

Comment 39 Grant Williamson 2011-02-03 17:07:20 UTC
Will the fix that is in kernel-2.6.32-112.el6 be pushed to 6.0?

Is the fix for the 410 & 510?

Comment 43 errata-xmlrpc 2011-05-23 20:31:52 UTC
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


Note You need to log in before you can comment on or make changes to this bug.