• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Problems with Ubuntu 7.04

Schadenfroh

Elite Member
Machine: Toshiba P105 S921 (nvidia graphics, Conexant HD audio chip)

I am getting this error message when I first start it up:
http://ubuntuforums.org/showthread.php?t=418515

The thread I found in a search describes what is happening to me perfectly, but does not offer a resolution, it really slows down my boot time.

Also, no sound.....

Ubuntu detects and "seems" to install the correct drivers and all for my sound chip (at least according to its device manager), but yet, no sound.

This guy appears to have my problem as well, again I can find others with my problem, yet no solutions:

http://www.linuxquestions.org/questions/showthread.php?p=2728764


Any thoughts on what could be up? I am a linux noob and I was jumping for joy when I was able to get the thing working with my "unsupported" dell laser printer and got past the wireless driver "issues"

I need to get these bugs worked out so I can get Maple up and running, not going to buy and download it until these issues are resolved or I give up and just get the windows version.
 
Please don't take this as thread crapping, but...I installed Ubuntu 7.04 and when I auto-updated to my 8800 graphics driver it borked the entire install...the software feels unfinished and I wouldn't use it if I were you.
 
For the 'failed to allocate memory resource' check the output of dmesg and paste exactly what it says, and what it says around the time it prints that out. Especially the text directly before it. A one liner is not usefull for troubleshooting in this context.

And when you says it slows down your bootup proccess, you mean it sits and hangs on this issue for a long time?

It's not uncommon for the kernel to spit out errors like this for different things. It may not be a problem.

To find the error in dmesg output open up a terminal and go like this:
dmesg |less

Then when viewing the output you can scroll up and down with the arrow keys. While at the top of the output hit the / button. That will perform a search. Type in one of the words of the error message and you can find it quickly.

The dmesg output does not hold everything though. If the machine was on for a long time then old messages will disappeer. check /var/log/messages and such files then.

You can easily copy and paste out of the terminal by highlighting the text and then middle clicking into the browser or a text editor like Gedit. This is the traditional way to 'copy and paste' in Linux. Simply highlight to copy, and middle click to paste. It doesn't work consistantly between applications so most new users should stick to windows-style copy and paste, but it works good for terminals. Be aware that if you close out the terminal before pasting you'll loose the copy buffer and it won't paste anything.



For the sound issue.

Open up the terminal and type:
alsamixer

This should open up a sound mixer. This sound mixer is very low level and different inputs corispond to actual hardware mixing features on your sound card.

If it fails to open then your sound card was not correctly configured and you'll need to do some work to set it up.

If it does open then it could be that your initial mixing settings were not correctly setup. It may have your pcm channel muted or something like that. You can play around with it, but don't go crazy.

This simple test is what you do to see if your card was detected and setup correctly.


What sound card are you working with? It's impossible to help realy without knowing that.
 
Sorry.

I didn't notice that you posted your laptop model above.

So searching around it apparently uses the snd-hda-intel driver.

This is from the kernel documentation:
Module snd-hda-intel
--------------------

Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8),
ATI SB450, SB600, RS600,
VIA VT8251/VT8237A,
SIS966, ULI M5461

model - force the model name
position_fix - Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size)
single_cmd - Use single immediate commands to communicate with
codecs (for debugging only)
enable_msi - Enable Message Signaled Interrupt (MSI) (default = off)

This module supports one card and autoprobe.

Each codec may have a model table for different configurations.
If your machine isn't listed there, the default (usually minimal)
configuration is set up. You can pass "model=<name>" option to
specify a certain model in such a case. There are different
models depending on the codec chip.

Model name Description
---------- -----------
ALC880
3stack 3-jack in back and a headphone out
3stack-digout 3-jack in back, a HP out and a SPDIF out
5stack 5-jack in back, 2-jack in front
5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
6stack 6-jack in back, 2-jack in front
6stack-digout 6-jack with a SPDIF out
w810 3-jack
z71v 3-jack (HP shared SPDIF)
asus 3-jack (ASUS Mobo)
asus-w1v ASUS W1V
asus-dig ASUS with SPDIF out
asus-dig2 ASUS with SPDIF out (using GPIO2)
uniwill 3-jack
F1734 2-jack
lg LG laptop (m1 express dual)
lg-lw LG LW20/LW25 laptop
tcl TCL S700
clevo Clevo laptops (m520G, m665n)
test for testing/debugging purpose, almost all controls can be
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC260
hp HP machines
hp-3013 HP machines (3013-variant)
fujitsu Fujitsu S7020
acer Acer TravelMate
basic fixed pin assignment (old default model)
auto auto-config reading BIOS (default)

ALC262
fujitsu Fujitsu Laptop
hp-bpc HP xw4400/6400/8400/9400 laptops
benq Benq ED8
basic fixed pin assignment w/o SPDIF
auto auto-config reading BIOS (default)

ALC882/885
3stack-dig 3-jack with SPDIF I/O
6stck-dig 6-jack digital with SPDIF I/O
arima Arima W820Di1
auto auto-config reading BIOS (default)

ALC883/888
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
auto auto-config reading BIOS (default)

ALC861/660
3stack 3-jack
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack with SPDIF I/O
3stack-660 3-jack (for ALC660)
uniwill-m31 Uniwill M31 laptop
auto auto-config reading BIOS (default)

CMI9880
minimal 3-jack in back
min_fp 3-jack in back, 2-jack in front
full 6-jack in back, 2-jack in front
full_dig 6-jack in back, 2-jack in front, SPDIF I/O
allout 5-jack in back, 2-jack in front, SPDIF out
auto auto-config reading BIOS (default)

AD1981
basic 3-jack (default)
hp HP nx6320
thinkpad Lenovo Thinkpad T60/X60/Z60

AD1986A
6stack 6-jack, separate surrounds (default)
3stack 3-stack, shared surrounds
laptop 2-channel only (FSC V2060, Samsung M50)
laptop-eapd 2-channel with EAPD (Samsung R65, ASUS A6J)

AD1988
6stack 6-jack
6stack-dig ditto with SPDIF
3stack 3-jack
3stack-dig ditto with SPDIF
laptop 3-jack with hp-jack automute
laptop-dig ditto with SPDIF
auto auto-config reading BIOS (default)

STAC9200/9205/9220/9221/9254
ref Reference board
3stack D945 3stack
5stack D945 5stack + SPDIF

STAC9227/9228/9229/927x
ref Reference board
3stack D965 3stack
5stack D965 5stack + SPDIF

STAC9872
vaio Setup for VAIO FE550G/SZ110
vaio-ar Setup for VAIO AR

If the default configuration doesn't work and one of the above
matches with your device, report it together with the PCI
subsystem ID (output of "lspci -nv") to ALSA BTS or alsa-devel
ML (see the section "Links and Addresses").

Note 2: If you get click noises on output, try the module option
position_fix=1 or 2. position_fix=1 will use the SD_LPIB
register value without FIFO size correction as the current
DMA pointer. position_fix=2 will make the driver to use
the position buffer instead of reading SD_LPIB register.
(Usually SD_LPLIB register is more accurate than the
position buffer.)

NB: If you get many "azx_get_response timeout" messages at
loading, it's likely a problem of interrupts (e.g. ACPI irq
routing). Try to boot with options like "pci=noacpi". Also, you
can try "single_cmd=1" module option. This will switch the
communication method between HDA controller and codecs to the
single immediate commands instead of CORB/RIRB. Basically, the
single command mode is provided only for BIOS, and you won't get
unsolicited events, too. But, at least, this works independently
from the irq. Remember this is a last resort, and should be
avoided as much as possible...

The power-management is supported.


What is the output of:
sudo lspci -v

For example my sound card shows up as:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: ASUSTeK Computer Inc. Unknown device 817f
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at cfdf8000 (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



People are reporting success by rmmod'ng the sound module and loading it up using the reference model.


See this:
<a target=_blank class=ftalternatingbarlinklarge href="https://help.ubuntu.com/community/HdaIntelSoundHowto"><a target=_blank class=ftalternatingbarlinklarge href="https://help.ubuntu.com/community/HdaIntelSoundHowto">https://help.ubuntu.com/community/HdaIntelSoundHowto</a></a>

So to use the reference model you edit /etc/modprobe.d/alsa-base

and add the line:
options snd-hda-intel model=ref

And then reboot.

If you like instead of rebooting you can probably go:
sudo rmmod intel-hda-intel
sudo modporbe intel-hda-intel model=ref

Some sound applications like the gnome-mixer may interfer with unloading of the module. So you may want to log out first and do this from the terminal.



edit:

If any programs are causing you to not be able to unload the module then do this command:
sudo kill $(lsof -t /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*)
 
I get the same error message on my laptop. In my case it's referring to the TI cardbus controller. I've just been ignoring it and not had any problems, but I don't use (nor have I tried to use) any cardbus cards. 😉

As drag mentioned, run dmesg to figure out which device it's grumbling about. It should say directly after the "failed to allocate..." line(s) (the slot# will match).
 
Thanks for all of the help guys, I will try to follow those steps to fix the sound when I have more time, in the meantime, here is the failed to allocate message from dmesg:

[ 0.336602] PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.0
[ 0.336605] PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.0
[ 0.336607] PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.0
[ 0.336609] PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.1
[ 0.336611] PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.1
[ 0.336613] PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.1
[ 0.336616] PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.2
[ 0.336618] PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.2
[ 0.336620] PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.2
[ 0.367355] NET: Registered protocol family 8
[ 0.367357] NET: Registered protocol family 20
[ 0.367825] PCI: Failed to allocate mem resource #6:20000@d0000000 for 0000:01:00.0
[ 0.367918] PCI: Bridge: 0000:00:01.0

xcript, I have a TI cardbus controller in this thing as well, I bet we are having identical problems.
 
Well, so much for that install.... the LCD screen on the thing died 🙁

I recall the days when IBM and Toshiba notebooks NEVER died.

Glad I had the extended warranty. Guess my linux woes are over, time to pay a visit to the UPS store and RMA it.
 
Laptop is back in my hands (Toshiba's RMA was good, but not as good as IBM back in the day) and fixed.

Drag, thanks for all your help and time, I have updated Alsa (following directions indicated to the letter) to its latest version and I have tried every "flavor" mentioned in the article you linked, still does not work 🙁

Any more ideas?

Specific Chipset: Intel HD Audio by Conexant CX20551 (Waikiki)

But here is the output of the command you requested:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: Toshiba America Info Systems Unknown device ff31
Flags: bus master, fast devsel, latency 0, IRQ 21
Memory at d2500000 (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
 
Back
Top