View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jul 04, 2007 3:29 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
Okay so I finally got fed up w/ my via chipset booting whenever it fealt like it and decided to get a new mobo/cpu for my mythbox. Everything seems to be working fine w/ my new hardare except for sound. The only way I can get the box to boot at all is to disable onboard sound. If I leave integrated sound ("HD Audio" option) enabled in the bios I get the following kernel Oops right out of the gate:

Code:
Waiting for /dev to be fully populated...BUG: unable to handle kernel NULL pointer dereference at virtrual address 00000000 printing eip:
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
Modules linked in: snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_psm snd_timer snd soundcore snd_page_alloc 8250_pnp parport_pc parport 8250 serial_core serio_raw ivtv saa7115 msp3400 tuner firmware_class i2c_algo_bit cx2341x tveeprom i2c_core videodev v4l2_common v4l1_compat ehci_hcd ohci_hcd usbcore evdev
CPU:    0
EIP:    0060:[<dd9c4013>]   Not tainted VLI
EFLAGS: 00010202   (2.6.18-chw-13 #1)
EIP is at get_input_type+0x83/0x90 [snd_hda_codec]
eax: 00000007  ebx: daadcb40  ecx: 00000001  edx: 00000000
esi: daadcb64  edi: dad57080  ebp: daadcf00  esp: da81dcfc
ds: 007b  es: 007b  ss: 0068
Process modprobe (pid: 2037, ti=da81c000 task=dbb20950 task.ti=da81c000)


Followed by a call trace which I can retrieve on request. Keep in mind this is hand typed so their may be a typo here or there, but it's pretty accurate.

I've never had such a low level problem, and a little unsure what to do. Any suggestions?

Here's my hardware setup:
Audio Chipset: ALC861VD
AMD Athlon 64 3800+
Biostar NF61S Motherboard
Geforce 6100 (MCP61S) Chipset
256 MB x2 DDR
Seagate 200 GB PATA HD
PVR-350 using TV-OUT
PVR-250


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 04, 2007 6:47 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
What version of kernel and KM are you using.

According to this, Ubuntu Hoary had a problem similar to this with kernel 2.6.12.
Though doing a bit more of a search, it seems to appear in 2.6.2x in Fiesty, as referred to here. So it does not appear to fixed yet, so the only thing is to black list the driver as mentioned in the first URL.
Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 04, 2007 10:15 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
Hey Bruce,
Wow thanks for digging up that thread for me. I'll give the suggestions therein a try, and hopefully get something working.

To answer your question, I'm running R5F1 which uses 2.6.18-chw-13.

Thanks for your response, --scott


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 9:09 am 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
Trying to blacklist the driver, with the hopes of installing some new or different driver after boot. I can't seem to blacklist the offending module though. I've tried adding a line to /etc/modprobe.d/blacklist for snd_hda_codec but for some reason it still loads...

Also tried to blacklist cx88_alsa as described here:
http://mysettopbox.tv/phpBB2/viewtopic.php?p=84896&highlight=blacklist#84896
just to see if it happened to be the same problem but no dice.

Any thoughts on how to get this driver to stop loading?

One of the threads above also mentions a kernel patch. I suppose a last resort would be to patch and recompile the kernel. Or maybe get a cheapo USB soundcard from newegg (~$25) until the bug eventually gets patched into a later kernel. Any other options I'm missing?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 7:21 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
Quote:
Any thoughts on how to get this driver to stop loading?

Someone mentioned about renaming a particular kernel module to stop it loading.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 9:51 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
Quote:
Someone mentioned about renaming a particular kernel module to stop it loading.

right, I had tried that but couldn't find a file called snd-hda-codec. after reading your post, however, i remembered that some files actually have these things called extensions. der. anyway I found snd-hda-codec.ko and renamed it, thus allowing me to boot. I guess now if i can get another driver going or something or perhaps find a way to invoke alsa then i'll be good to go.

just for point of reference I tried a couple other things as well, such as:
recompiling latest version of alsa drivers (1.0.14rc4), various alsa module options as discussed here
passing acpi=off noapic to kernel as discussed here

so far no luck... There seems to be a similar problem w/ intel audio sets that use the same realtek phy so that's why i referenced the above urls. Anyway I'll post any discoveries I make...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 06, 2007 9:21 am 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
ok that didn't work... I was able to successfully blacklist the offending driver (even though it says snd_hda_codec caused a panic, snd-hda-codec is what actually has to be on the blacklist), download the realtek driver from here and install but no dice. The kernel still panics while filling /dev. This is likely because the realtek driver is just a customized version of alsa 1.0.9.

At this point I'm starting to think about giving up and getting a new mobo that matches the reference platform more closely. I'll try the kernel patch first though as a last resort.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 07, 2007 11:39 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
This sucks. I guess compiling a new kernel is currently over my head. I can do it successfully using various tutorials, but the kernel inevitably crashes and burns when I try to actually use it.

On top of that, there doesn't appear to be any microATX mobo options besides the geforce 6100 chipset that fit my processor (socket 754). At least none on newegg anyway.

anybody have any ideas on the easiest possible way to get the latest kernel going? Do I have to compile or are there precompiled binaries out there that will work? I found some here but they had some initrd weirdness when I tried to use one. Anyone know if these ~should work? Or am I wasting my time with this direction?

Thanks, --scott


Top
 Profile  
 
PostPosted: Sun Aug 05, 2007 12:04 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
OK I got things working (finally!). I guess recompiling the kernel wasn't over my head, thanks largely to this post.

I ended up using the above instructions to compile a vanilla 2.6.21.6 kernel, with assistance from this URL for newer kernel configurations (as more and more modules get rolled into the kernel).

Also after I got the kernel to boot I couldn't get sound to come out despite the volume being up, which was resolved by doing to following:
Code:
echo options snd-hda-intel model=3stack >> /etc/modprobe.d/alsa-base

I think what was basically happening as the system was defaulting to digital audio out instead of analog. The above option disables digital out more or less. Not elegant but works for me.

BTW For all those at my experience level you can check for audio output devices with
Code:
aplay -l


So anyway there it is. I think I may do Tier 2 post so if anyone ends up down this same road keep a look out there for helpful hints. Thanks again Bruce for pointing me down the right path.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu