Bug 134507
| Summary: | Hang at "Initializing hardware... storage network" caused by snd-maestro3 driver load. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charles R. Anderson <cra> | ||||||||||
| Component: | kernel | Assignee: | Dave Jones <davej> | ||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | medium | ||||||||||||
| Version: | rawhide | CC: | elias, gnarvaez, henro, idonaldson0, jorge_aquino, pfrields, tbuck, wtogami | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Linux | ||||||||||||
| URL: | https://bugtrack.alsa-project.org/alsa-bug/bug_view_advanced_page.php?bug_id=376 | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2005-11-28 19:27:28 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: | |||||||||||||
| Bug Blocks: | 123268, 136451, 150221 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Charles R. Anderson
2004-10-04 05:38:49 UTC
Created attachment 104704 [details]
Full lscpi listing
I have the same problem -- with Toshiba Satellite 2805-S201. Upgraded to FC3, booted, and hung up on udev initializing hardware .... storage network audio tried to find way to update the udev package, but could not access the cdrom to install the rpm. Same problem with Toshiba Tecra 8200 Same problem on a Toshiba Tecra 8200. I meant same on a Tecra 8100. Same problem on a Toshiba Tecra 8200. FC2 worked fine and install flawlessly, but FC3 does not. Tried a clean install, as well as upgrading from FC2. Upgraded to FC3, booted, and hung up on udev initializing hardware .... storage network audio Exactly same thing is happening on a Toshiba Tecra 8100 I had the exact same problem on my Tecra 8100 -- a fresh install on a 20GB partition of a 60G drive. by chance from something I read, i tried to boot without acpi support in grub, I edited the kernel line to add acpi=off ie: kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVo100 rhgb quiet acpi=off and everything worked fine after that Similar to the above with one difference: After "Initializing hardware ... storage network audio" the booting freezes. But if I turn off electricity and boot immediately again, it boots properly and works fine. I tried to remove rhgb from grub command line or add acpi=off without any effect. Reproducable: Always Motherboard: Intel GA-8PE667, Chipset: 845G Sound card: Intel 82801DB AC'97 audio controller, module: snd-intel8x0 I have a Shuttle XPC SN95G5 desktop system which boots fine in FC3, and booted fine with fedora-development kernels until the 2.6.10-... series. With the new kernels, my boot process stops at the same point. kernel-2.6.8-1.624 ** All these OK ** kernel-2.6.9-1.639 kernel-2.6.9-1.640 kernel-2.6.9-1.649 kernel-2.6.9-1.667 kernel-2.6.9-1.1008_FC4 kernel-2.6.9-1.1009_FC4 kernel-2.6.9-1.1020_FC4 kernel-2.6.9-1.1021_FC4 kernel-2.6.9-1.1032_FC4 kernel-2.6.9-1.1037_FC4 kernel-2.6.9-1.1047_FC4 kernel-2.6.10-1.1089_FC4 ** Stopped working here ** kernel-2.6.10-1.1105_FC4 kernel-2.6.10-1.1107_FC4 kernel-2.6.10-1.1109_FC4 kernel-2.6.10-1.1110_FC4 Would lshal or lspci output help? Sorry, please ignore the last message. It is unrelated (my machine stops after "storage network audio done"). It is actually only a problem when my USB Microsoft Natural Keyboard Pro is plugged in. Unplugging it fixes the problem. I will create a different Bugzilla entry for this. Comment #12 continued: I upgraded the system with "yum update", now it runs kernel vmlinuz-2.6.10-1.741_FC3 (instead vmlinuz-2.6.9-1.667 before) and the problem disappeared. Same problem on Tectra 8200 How do you install vmlinuz-2.6.10-1.741_FC3 to a system that won't boot RBoot into Rescue mode ? I have fixed broken installs before by booting off the Fedora install or rescue CD using "linux rescue", then following the directions to mount the regular filesystem hierarchy (I think it's "chroot /mnt/sysimage"). From that point on RPM seems to work just fine. You can use the programs "links" or "wget" (if you know the URL, in the latter case) to actually get the packages you need to install. Thanks - I think I have discovered a workaround
I cannot take all the credit - in fact none really.
As this workaround is a combination of 2 separate fixes from
different sources (none which are mine).
1 - To get the Tecra 8200 laptop to boot do -
Boot with the FC3 disk1 into Rescue mode (linux rescue).Then
vi /etc/rc.sysinit (i.e. /mnt/sysimage/etc/rc.sysinit) and comment
out the part that reads:
# Sound
# for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+snd-card-
[[:digit:]]+[[:space:]]/ { print $3 }'` $audio; do
# load_module $module
# done
#
# echo -n $" audio"
Save and reboot without CD...
You can now boot without sound
2- Download kernel-2.6.10-1.741_FC3.nogin RPM for i686
from
http://rpmbin.nogin.org/regularly_built/fedora-3/kernel-2.6.10-
1.741_FC3.nogin.i686.rpm
Install as root using
rpm -iv kernel-2.6.10-1.741_FC3.nogin.i686.rpm
Then amend /etc/rc.sysinit back to the original state ( i.e. take the
comments out that you added in step 1)
Then reboot and pick the new kernel via grub
All seems to work for me.
Hope it helps ?
I had just about given up on FC3 for my laptop -- until reading daryl's post above about leaving acpi=off That appears to have done the trick for me. Thanks for this tip. Any improvement on this issue with the latest errata kernel ? 2.6.10-1.766_FC3 still had the original problem. 2.6.12-1.1378_FC3 also still has the original problem. 2.6.12-1.1378_FC3 reports these messages upon module load, with the exact same symptoms as reported initially. insmod was used instead of modprobe to prevent any other modprobe.conf actions from running. Boot with "init=/bin/sh" instead of "rhgb quiet". sh-3.00# cd /lib/modules/2.6.12-1.1378_FC3/kernel/sound sh-3.00# /sbin/insmod soundcore.ko sh-3.00# /sbin/insmod core/snd.ko sh-3.00# /sbin/insmod core/snd-timer.ko sh-3.00# /sbin/insmod core/snd-page-alloc.ko sh-3.00# /sbin/insmod core/snd-hwdep.ko sh-3.00# /sbin/insmod core/snd-pcm.ko sh-3.00# /sbin/insmod pci/ac97/snd-ac97-codec.ko sh-3.00# /sbin/insmod pci/snd-maestro3.ko ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5 PCI: setting IRQ 5 as level-triggered ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 Kernel hangs at this point. No sysrq keys work. Created attachment 119690 [details]
ACPI dmidecode output
Here is the output of dmidecode on this HP Omnibook 6000 under kernel
2.6.12-1.1378_FC3.
Cold booting from a power-off state with acpi=off does not make any difference for my HP Omnibook 6000. I get the same hang. Found similar hang on 2.6.13-1.1526_FC4smp on 3.06GHz P4 with HT enabled; was with a Microsoft Wheel Optical mouse on USB. Moved it to a different USB port and the hang vanished. I updated the HP Omnibook 6000 to FC4 and it's latest kernel 2.6.13-1.1526_FC4. The same problem exists with this release and kernel. I updated to rawhide. Kernel 2.6.13-1.1600_FC5 has the same problem. Upstream bug report: https://bugtrack.alsa-project.org/alsa-bug/bug_view_advanced_page.php?bug_id=376 Created attachment 120074 [details]
candidate fix
The attached patch linux-2.6-maestro3-assp-init.patch fixes this issue for me.
It seems that the driver tries to start the ASSP before downloading the DSP
code to it, which explains why booting Windows before warm-booting Linux works.
A warm boot must not clear the DSP memory, which allows the ASSP startup to
succeed.
The fix is to call the snd_m3_assp_init function to write the DSP firmware into
the ASSP chip before sending the RUN_ASSP command. I also made the same fix in
the OSS driver, but I did not test the OSS fix since it is disabled in Fedora.
Kernel packages for FC3, FC4, and development containing this fix are available for testing. If you have a maestro3 sound card with this problem, please test these packages and report your results in this bug: http://angus.ind.wpi.edu/~cra/fedora/core/kernel/maestro3/ yum repo: [cra-maestro3] name=Charles R. Anderson - $releasever - maestro3 fix baseurl=http://angus.ind.wpi.edu/~cra/fedora/core/kernel/maestro3/$releasever/ enabled=1 gpgcheck=1 gpgkey=http://angus.ind.wpi.edu/~cra/fedora/RPM-GPG-KEY-cra@wpi.edu Thanks. Created attachment 120311 [details]
patch as applied to ALSA CVS
Here is the patch as it was applied to ALSA CVS. Can this be added to the
development kernel RPM until it propagates into Linus' tree?
Thanks.
I had the exact same problem on my OB 6000 and patch fix maestro3 module. I have linux-2.6-maestro3-assp-init.patch + linux 2.6.14-rc4 and snd_maestro3 as module. lspci: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator Big THX for this patch. faber that patch is merged upstream, and is present in the current FC4 update, as well as rawhide kernels. |